Repository navigation
docs(census): CEN-01 crosswalk integrity checker, evidence timestamps, 3572 count (#9500) - #10678
Conversation
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 55 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
Codex disposition (task 16095, lane code-a): the Codex code review on this PR failed to run — Codex usage limits reached (review summary, commit a5efde0) — and posted zero inline findings. There is no undispositioned Codex finding; merging under the standing criteria (checker + tests verified on the laptop worktree, diff matches the CEN-01 packet scope). |
CEN-01 — requirement/source-occurrence crosswalk integrity (#9500, task 16095)
Implements the CEN-01 slice (marker
pmo-9196:CEN-01) now that its gate PR #9225 has merged.Added
census/check_requirements_crosswalk.py(--check/--self-test): validates the 389 semantic IDs occurring exactly once and matchinginventory/requirements.jsonl; every occurrence citation resolving to theinventory/dispositions.jsonlledger with matching source file + line; group/alias edges (child_requirement_ids,duplicate_of); the exact 8-value status vocabulary; modality preservation; full evidence objects (pin/path/symbol/lines/test/timestamp at the census pin) onverified existing/partially implementedrows; real design anchors (file + heading slug); the 215-key command inventory and slice map (identical key sets, no wildcard, slice assignments consistent). Occurrences no crosswalk row cites are emitted as explicit per-class unmapped rows (metadata 69, heading 52, formatting 25, candidate_link 1 — S-066, which carries semantic_refs).census/test_requirements_crosswalk.py: 3 tests, including the named oracletest_requirements_crosswalk_rejects_missing_duplicate_occurrence_and_unresolved_design_anchor, the remaining negative classes (wrong span, status typo, partial row without evidence, missing group child, wildcard mapping), and a live-data pass over the real ledgers.Fixed (found by the new checker on its first run)
partially implementedrows (C-R106, C-R107, C-R109, C-R133, C-R138, C-R142, C-R144, C-R155) hadexisting_evidence.timestamp: null; set to the census snapshot value2026-11-13T04:00Z census snapshot (code pinned to SHA)their pinned evidence was taken at.requirements-crosswalk.mdstated 3,571 disposition rows in two places; the ledger carries 3,572 since the recovered S-066 occurrence (see design(pm-orchestration): Requirement/source-occurrence crosswalk integrity #9500). Corrected, with a validation note naming the checker.Verification
check_requirements_crosswalk.py --check→ OK (389 IDs, 3572 dispositions, 215 command keys); before the data fixes it failed with exactly the 9 defects above.python3 -m unittest test_requirements_crosswalk -v→ 3 passed (oracle test listed by exact name in the run).check_requirements_crosswalk.py --self-test→ OK.inventory/check_inventory.py --checkandinventory/check_requirements.py --check: outputs byte-identical to their pre-existing failures on cleanmainat f05ec2b (source-hash/segmentation drift in the inventory snapshot) — no regression from this change; that drift is inventory-slice scope, not CEN-01's.No production adoption, migration, deployment, or live acceptance is claimed.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.