feat: Support tracking issue impact over time (#156)#177
feat: Support tracking issue impact over time (#156)#177
Conversation
ca15f1a to
965bee3
Compare
0b0ff52 to
78cdc9d
Compare
2e64332 to
46a53bb
Compare
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Add one-off collapse tooling that clusters maintenance/infra issues by slug, type, and overlapping or adjacent time ranges, then merges into deterministic canonical issues. Apply the merge to current duplicate groups and persist audit artifacts for traceability. Made-with: Cursor
Drop the temporary collapse scripts and generated reports now that the one-off maintenance/infra merge has been applied to the data files. Made-with: Cursor
Update multilingual render text and translation source metadata for evidence rows that were rewritten from verifiable source articles, and keep deduped entries consistent with the revised text. Made-with: Cursor
Ensure service-impact claims without time hints are anchored to the evidence timestamp so impact events are not dropped, while still allowing maintenance/infra metadata-only cause updates to persist without requiring service periods. Made-with: Cursor
Add a deterministic relative-date tool with RRULE-style weekday inputs and tighten extraction guidance so planned weekend constraints become explicit timed claims instead of being dropped as advisory text. Also bump the OpenAI SDK to the latest workspace version. Made-with: Cursor
Persist regenerated impact events from the latest empty-impact replay run, including recovered weekend maintenance windows and related issue updates that now produce concrete events. Made-with: Cursor
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Delete the three CCL no-mobile-signals issue bundles to simplify the current cleanup pass and reduce unresolved issue validation failures. Made-with: Cursor
Strengthen extraction guidance for single-platform degraded-service evidence, replay the affected bucket 2/3 issues, and update the temporary validation report to reflect the reduced failure count and remaining buckets. Made-with: Cursor
Remove the temporary validation findings report from version control so it stays local-only and out of committed changes. Made-with: Cursor
Prevent `mrtdown-cli show` from crashing when derived service/facility state omits a `causes` array by defaulting to an empty list before rendering. Made-with: Cursor
Capture the source article's station-by-station rollout schedule in evidence and align impact periods so facilities are modeled in phased windows rather than one concurrent multi-year window. Made-with: Cursor
f2d526d to
e29fd65
Compare
|
@codex review |
💡 Codex Review
mrtdown-data/packages/fs/src/repo/issue/IssueRepository.ts Lines 177 to 180 in e29fd65 The Fuse search keys target ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Summary
Overhauls
mrtdown-datainto the canonical reviewed data repository for MRTDown, with typed packages, deterministic file-backed tooling, and a migrated append-only issue dataset.What Changed
data/layout:data/{station,line,service,operator,town,landmark}data/issue/YYYY/MM/<issue_id>/evidence.ndjsonandimpact.ndjsonper issue@mrtdown/corefor schemas and shared period/state helpers@mrtdown/fsfor file-backed repositories and writers@mrtdown/clifor creation, validation, manifest, listing, show, and repair tooling@mrtdown/triagefor LLM-assisted evidence triage and replay utilitiesmrtdown-site.mrtdown-data/mrtdown-sitemodel.Breaking Changes
src/api,src/db, or legacy schema paths.Review Notes
This is a large structural migration. The most important review areas are:
mrtdown-siteValidation
TODO before merge:
npm cinpm run buildnpm run testnpm run cli -- -- validatenpm run cli -- -- manifestandnpm run cli -- -- pages-indexFixes #156