Repository navigation
Re-lay out the fixtures under ns/<namespace>/; the re-founding note (issue 9) - #163
Conversation
|
CI, standing down on one step. The The remedy the gate names is Generated by Claude Code |
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GgRcHXmnAu43hChNxhnqxU
ccf8a0c to
0fafebc
Compare
011a721 to
72cebea
Compare
0fafebc to
f85d4d5
Compare
72cebea to
7766d21
Compare
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GgRcHXmnAu43hChNxhnqxU
Issue #152 (PRD issue 9, §3.11; rulings 63 and 68). The fifteen committed fixture stores under `ledger-cli/tests/fixtures/` move their `sets/` and `log/` under `.decisions/ns/<namespace>/` with `git mv` — `fixture.ledger` for the twelve class fixtures and `pass`, `fixture.coverage`, `fixture.forked`, `fixture.two-clocks` for the rest — no file's content changed, and `UPDATE_FIXTURES=1 cargo test -p ledger-cli --test gate` finds nothing to refresh (checked: no fixture file modified). The staging shim issue 1 left in the test helpers goes: `stage_fixture`, `stage_fixture_into`, `stage_workspace` and the flat branch of `stage_store_into` become plain copies (`fixture_copy`, `copy_fixture_into`, `workspace_copy`, `copy_store_into`), and the flat fallbacks in `gate.rs`'s and `digests.rs`'s fixture walkers go. `legacy_layout.rs` lays the `pass` fixture flat itself, byte for byte, to build its v1.8 history; `scalars.rs` reads the fixture's set from its namespace directory. The tests of §3.11: item 1 (flat paths) was done by issue 1, with the shim removed here; item 2 (meaning changed under rulings 47 and 68) by issues 5, 6 and 8; item 3 (the flat era in history) by issue 2; item 4 (D6 by landing) is issue 12's. A grep over the test sources finds no flat path left. Protocol: the Appendix C note "Namespaces become independent; a store with shared authority is re-founded" lands as the PRD drafted it, headed with no format number (no format bump here; the draft said "and format 8"); the v1.9 note's two sentences that pointed at this issue now point at the note and at the fixtures; Appendix B row. No class added; no digest moves. Stacked on #162 (issue 8). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GgRcHXmnAu43hChNxhnqxU
Files the signed bindings the contract-surface gate demands for this step's eight exposed Rust surface changes, all test helpers in ledger-cli/tests/common/mod.rs: the four staging-shim helpers removed and the four copy helpers that replace them. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GgRcHXmnAu43hChNxhnqxU
f85d4d5 to
5f23b62
Compare
7766d21 to
a3f3d54
Compare
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GgRcHXmnAu43hChNxhnqxU
Closes #152 — PRD
ledger/prd/namespace-independence-prd.md§6 issue 9 (§3.11; rulings 63 and 68).Stacked on #162 (issue 8). Review the last commit alone,
011a7218.What lands
The fifteen committed fixture stores under
ledger-cli/tests/fixtures/move theirsets/andlog/under.decisions/ns/<namespace>/withgit mv—fixture.ledgerfor the twelve class fixtures andpass, andfixture.coverage,fixture.forked,fixture.two-clocksfor the rest. No file's content changed:UPDATE_FIXTURES=1 cargo test -p ledger-cli --test gatefinds nothing to refresh (checked: no fixture file modified after the run).The staging shim issue 1 left in the test helpers goes:
stage_fixture,stage_fixture_into,stage_workspaceand the flat branch ofstage_store_intobecome plain copies (fixture_copy,copy_fixture_into,workspace_copy,copy_store_into); the flat fallbacks ingate.rs's anddigests.rs's fixture walkers go.legacy_layout.rslays thepassfixture flat itself, byte for byte, to build its v1.8 history;scalars.rsreads the fixture's set from its namespace directory.The tests of §3.11: item 1 (flat paths) was done by issue 1, with the shim removed here; item 2 (meaning changed under rulings 47 and 68) by issues 5, 6 and 8; item 3 (the flat era in history) by issue 2; item 4 (D6 by landing) is issue 12's. A grep over the test sources finds no flat path left.
Protocol
The Appendix C note "Namespaces become independent; a store with shared authority is re-founded" lands as the PRD drafted it, headed with no format number (no format bump happens in this series; the draft said "and format 8" — noted in the note's last line); the v1.9 note's two sentences that pointed at this issue now point at the note and at the fixtures; Appendix B row. No class added; no digest moves.
Checks
cargo build,cargo t,cargo clippy --workspace -- -D warnings -D clippy::unwrap_used, the quality scripts, andledger verify --exporton this repository (same output as onmain).🤖 Generated with Claude Code
https://claude.ai/code/session_01GgRcHXmnAu43hChNxhnqxU
Generated by Claude Code