Repository navigation
feat(census): JSON Lines, with the source commit and census time of each row (WO 2.1) - #67
Merged
Merged
Conversation
Each census file now holds one I-JSON/JCS record on each line (standards JSON-POLICY J-2), so a change to one row changes one line only: - catalogue-rows.json -> catalogue-rows.jsonl (byte order of repo) - repos.json -> repos.jsonl (byte order of full_name) - unreachable.json -> unreachable.jsonl (now sorted by repo) build-rows.sh writes JSON Lines in C-locale order. run-census.sh, update-rows.sh and render-catalogue.sh read and write the new files. The atlas and the registry read them with one strict reader (parseJsonl): LF at the end, no blank line. The tests read the new format. Check: `jq -cS -s .` over each new file equals the old array, sorted by repository, for every field. The catalogue changes in one line only: the "Not reached" list is now in byte order. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0136P7ZnDRsCLfZcFcEzvPcM
census-repo.sh records the commit that it read and the UTC time it read it (out/<repo>.meta.jsonl). build-rows.sh adds `commit` and `censused_at` to each row and refuses a row without them. The atlas validator refuses a row without a 40-hex commit or a UTC time. The tests cover each case, and census_rust_test checks the commit against the fixture forge. One full census (`just census`, 2026-11-10 21:44 to 22:40 UTC) fills both fields for every row, with the scanner rules of 2026-11-10 for every row. Against the census of 2026-11-09: 110 rows change, 6 leave and 6 come in. Most changes come from the rules that changed since then (the SPARK gate, the status-document rank, template blobs, Rust provers). Two repositories have no row: - hyperpolymath/sinople-theme has no commits. - hyperpolymath/proven-cicd is public in repos.jsonl, but it cannot be cloned now. It is in the "not reached" list. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0136P7ZnDRsCLfZcFcEzvPcM
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
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. |
The three findings are on lines that WO 2.1 changed. The tests pass. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0136P7ZnDRsCLfZcFcEzvPcM
|
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
Work order 2.1 of the re-anchoring plan: the census data moves to JSON Lines, and each row records where its counts come from.
Changes
catalogue-rows.jsonbecomescatalogue-rows.jsonl, in byte order ofrepo.repos.jsonbecomesrepos.jsonl, in byte order offull_name.unreachable.jsonbecomesunreachable.jsonl, now sorted byrepo.parseJsonl): LF at the end, no blank line.census-repo.shrecords the commit that it read and the UTC time.build-rows.shaddscommitandcensused_atto each row, and refuses a row without them. The atlas validator refuses a row without a 40-hex commit or a UTC time.just census) fills both fields for every row, with the scanner rules of 2026-11-10.Checks
jq -cS -s .over each new file equals the old array, sorted by repository, for every field.Census result
One full census, 2026-11-10 21:44 to 22:40 UTC, with the scanner rules of 2026-11-10 for every row. Against the census of 2026-11-09:
hyperpolymath/sinople-themehas no commits, so it has no row (as before).hyperpolymath/proven-cicdis public inrepos.jsonl, but it cannot be cloned now. It moves to the "not reached" list. The frame is a listing of an earlier date, so this repository either became private, moved or was deleted.RSR Quality Checklist
tests/census/*.sh), atlas and registry tests (bun test tests/atlas tests/registry): pass.just catalogue-check,census-atlas.mjs check,claims-registry.mjs check: pass.scripts/check-ijson-jcs.sh --enforce: the three census files are canonical JSON Lines.docs/status/ROADMAP.adocrecords this row change under "Open census work", as the one-writer rule asks.Generated by Claude Code