Skip to content

Chronicle naming: align prose surfaces (fixes #83) - #94

Merged
MaxGhenis merged 2 commits into
mainfrom
chronicle-prose-83
Aug 25, 2026
Merged

Chronicle naming: align prose surfaces (fixes #83)#94
MaxGhenis merged 2 commits into
mainfrom
chronicle-prose-83

Conversation

@MaxGhenis

Copy link
Copy Markdown
Contributor

Implements #83 exactly as proposed there: prose surfaces say Chronicle; frozen machine surfaces keep their legacy ledger names.

Renamed (prose)

  • Docstrings/comments across scorecard_db/ (ingest_uk_externals, models, relationships, build_db, ingest_uk_deductions) and be/ingest_jrc_country_report.py
  • Boundary-rule wording (module docstring now reads: outturns are Chronicle material for Microcosm calibration, never scorecard claims)
  • Routing/annotation strings: "ledger: …""chronicle: …" on staged facts (both data/ledger/*.jsonl regenerated via build_db)
  • Lane feed: catalog lane source label + regenerated "N Chronicle facts" notes (data/lanes.json + app copy, dual-copy test green)
  • App empty-state copy (BE), docs/mechanics-audit.md, docs/SCHEMA_NOTES.md, both READMEs
  • Two test string pins updated in lockstep (startswith("chronicle"), error-message match)

Frozen (unchanged, per #83)

  • data/ledger/ committed paths; ledger_fact column/field names; uk-admin-*/be-admin-* fact-id prefixes
  • Python identifiers (LEDGER_PATH, _ledger_row) and machine summary keys ("ledger", "ledger_facts", "ledger_path")
  • sources/ archives (sha-pinned manifests) and diagnosis/ audit records — recorded text stays verbatim
  • app/src/globals.css "every figure in the ledger" — generic English, not the product

Verified

  • fact_id stability: routing strings are outside the identity hash; row-for-row fact_id diff across the 1,080 regenerated facts is empty
  • 260 passed / 2 skipped locally; ruff format --check clean; post-suite tree drift zero (no-drift gates should pass)
  • README shape bullets also modernize Populace-targets → Microcosm-targets (tracked by microcosm#639)

Post-merge: redeploy both Vercel projects (repo-linked + the dual-mount proxied one, #84 recipe) so the app copy updates.

🤖 Generated with Claude Code

#83)

Ledger -> Chronicle across docstrings, comments, doctrine wording,
routing/annotation strings, regenerated lane notes, and app copy.
Frozen per the issue: data/ledger/ paths, the ledger_fact column and
field names, uk-admin-*/be-admin-* fact-id prefixes, Python
identifiers, and machine summary keys. Routing strings sit outside the
fact_id hash (verified: zero fact-id drift across the 1,080 regenerated
rows). The two Populace-targets shape headers modernize to Microcosm
per microcosm#639. sources/ archives and diagnosis/ audit records stay
verbatim.

Fixes #83

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Test comments/heading and the accounting-drift diagnostic now say
Chronicle (machine keys stay frozen); new
test_fact_accounting_drift_fails_loudly exercises the fact-list branch
of the drift gate, mirroring the claims case.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@MaxGhenis
MaxGhenis merged commit c3e54ac into main Aug 25, 2026
3 checks passed
@MaxGhenis
MaxGhenis deleted the chronicle-prose-83 branch August 25, 2026 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant