Scope resumed newspaper recovery explicitly
This commit is contained in:
parent
8a971daab8
commit
fb8f467067
6 changed files with 133 additions and 48 deletions
|
|
@ -1027,29 +1027,42 @@ verification. Its defining regression, all newspaper tests, the full 468-test
|
|||
library gate, and `git diff --check` pass. Provider and editorial acceptance
|
||||
remain open.
|
||||
|
||||
The current uncommitted strategic-smoke runner diff adds a presentation-only
|
||||
recovery seam for missing per-wave editions. It derives each absent issue from
|
||||
that wave's immutable committed campaign snapshot and exact prior committed news
|
||||
boundary, publishes an immutable recomposition receipt, and skips accepted
|
||||
issues such as Issue 14. It fails closed when the exact prior boundary is
|
||||
unavailable, including a missing first-wave issue. Every recomposition receipt
|
||||
binds source, contract, issue, typed model receipts, rendered content, and file
|
||||
digests; typed receipt JSON roundtrip is covered. The complete local gate passes
|
||||
12/12 strategic-smoke binary tests, 468/468 library tests, and
|
||||
`git diff --check`. It cannot replay or mutate world mechanics and is not yet
|
||||
committed, pushed, or provider-proven.
|
||||
Pushed `8a971da` adds a presentation-only recovery seam for missing per-wave
|
||||
editions. It derives each absent issue from that wave's immutable committed
|
||||
campaign snapshot and exact prior committed news boundary, publishes an
|
||||
immutable recomposition receipt, and skips accepted issues such as Issue 14. It
|
||||
fails closed when the exact prior boundary is unavailable, including a missing
|
||||
first-wave issue. Every recomposition receipt binds source, contract, issue,
|
||||
typed model receipts, rendered content, and file digests; typed receipt JSON
|
||||
roundtrip is covered. Its local gate passed 12/12 strategic-smoke binary tests,
|
||||
468/468 library tests, and `git diff --check`.
|
||||
|
||||
Exact-source run 42 at
|
||||
`8a971daab8d3dfc77c29d69b3d139ff71d53314a` cloned run 41 at revision
|
||||
27 without replaying or mutating world mechanics. Recovery selected historical
|
||||
missing Issue 2 before the requested run-41 editions; the copy desk rejected
|
||||
unsupported `prepares`. Issues 13 and 15 through 18 and the final digest were
|
||||
not reached. Issue 14, canonical world state, and all wave checkpoints remain
|
||||
unchanged.
|
||||
|
||||
The current uncommitted runner cut adds an explicit bounded newspaper recovery
|
||||
start wave. Run 43 will set it to 13 so recovery selects only missing Issues 13
|
||||
and 15 through 18, preserving accepted Issue 14 and older newspaper history.
|
||||
The complete local gate passes 13/13 strategic-smoke binary tests, 468/468
|
||||
library tests, and `git diff --check`.
|
||||
|
||||
Pushed `af749de` routes a provider timeout through the shared model transport's
|
||||
existing one same-request retry and records attempt telemetry. Run 36 crossed
|
||||
that boundary; timeout retry is not its active blocker.
|
||||
|
||||
1. Commit and push the locally verified missing-edition recomposition boundary.
|
||||
2. Launch exact-source run 42 from run 41's committed revision 27 to compose only missing Issues 13
|
||||
1. Commit and push the explicit bounded newspaper recovery start-wave cut.
|
||||
2. Launch exact-source run 43 from run 41's committed revision 27 with recovery
|
||||
start wave 13 to compose only missing Issues 13
|
||||
and 15 through 18 plus the final digest. Preserve accepted Issue 14, every
|
||||
completed wave checkpoint, and canonical world state; do not replay any
|
||||
mechanics. Require the resulting unedited publications and final digest to
|
||||
pass fresh independent editorial and provenance review before claiming
|
||||
acceptance. Preserve runs 38/39/40, the run-41 root and committed world
|
||||
acceptance. Preserve runs 38/39/40/42, the run-41 root and committed world
|
||||
lineage, stopped run 23, exact acceptance conditions, and unchanged live
|
||||
daemons.
|
||||
3. Have the game-side adapter lower its authored hierarchy into the published
|
||||
|
|
|
|||
|
|
@ -1347,20 +1347,28 @@ receipt persistence can write world state.
|
|||
the wave nor the newspaper's factual or editorial judgment.
|
||||
- **Inputs:** the missing wave's immutable checkpoint and committed `Campaign`
|
||||
snapshot, the preceding wave checkpoint's committed news-ledger boundary,
|
||||
the configured title and voice, and the same campaign receipt store used by
|
||||
ordinary newspaper composition.
|
||||
the configured title and voice, the explicit resume recovery boundary
|
||||
(`GHOSTLIGHT_STRATEGIC_NEWSPAPER_RECOVERY_START_WAVE`, defaulting to wave one
|
||||
and validated within `1..=wave_count`), and the same campaign receipt store
|
||||
used by ordinary newspaper composition.
|
||||
- **Output:** one separately named immutable recomposition checkpoint containing
|
||||
the accepted issue, grounding verdict, and newspaper model receipts, plus the
|
||||
rendered reader and audit files. Its receipt binds the narrowed source
|
||||
campaign, title/voice/article-budget contract, issue, model-receipt collection,
|
||||
expected filenames, and both rendered byte streams by digest. The driver fills
|
||||
only the missing newspaper fields in its in-memory result projection. Existing
|
||||
successful issues and original wave checkpoints remain unchanged.
|
||||
campaign, recovery boundary, title/voice/article-budget contract, issue,
|
||||
model-receipt collection, expected filenames, and both rendered byte streams
|
||||
by digest. The configured boundary is also projected through run status and
|
||||
success or failure result artifacts. The driver fills only the missing
|
||||
newspaper fields in its in-memory result projection. Existing successful
|
||||
issues and original wave checkpoints remain unchanged.
|
||||
- **Derived state:** the newsroom receives a clone of the completed wave's
|
||||
campaign whose news ledger is narrowed to rows appended since the preceding
|
||||
committed boundary. All events and canonical names remain available only so
|
||||
those exact news rows can resolve their sources; the clone is a consumer view,
|
||||
not a campaign mutation.
|
||||
not a campaign mutation. Before that handoff, the driver validates that wave
|
||||
reports form a contiguous prefix and selects only reports at or after the
|
||||
configured recovery boundary whose issue is absent. Earlier missing reports
|
||||
remain historical gaps, while any already successful issue inside the selected
|
||||
range is left untouched.
|
||||
- **Forbidden writers:** recovery cannot rerun a strategic tick, Nemesis,
|
||||
simulation cells, outcome resolution, clocks, or `WorldKernel`, and it cannot
|
||||
alter campaign, event, or news state. A failed recomposition stops consumer
|
||||
|
|
@ -1370,8 +1378,9 @@ receipt persistence can write world state.
|
|||
same grounding/copy-desk path and idempotent model-receipt persistence. A
|
||||
later resume consumes the successful recomposition checkpoint instead of
|
||||
paying for the newspaper again, but only after recomputing its source and
|
||||
contract bindings, deserializing the issue, regenerating reader and audit copy,
|
||||
and comparing the exact stored files and digests.
|
||||
contract bindings, checking the exact recovery boundary, deserializing the
|
||||
issue, regenerating reader and audit copy, and comparing the exact stored files
|
||||
and digests.
|
||||
- **Verification layer:** the focused boundary regression proves that a second
|
||||
wave is recomposed from only its newly appended news row while retaining the
|
||||
committed event ledger needed to resolve that row. It also rejects prior-news
|
||||
|
|
@ -1380,16 +1389,19 @@ receipt persistence can write world state.
|
|||
overwrite and publishes by synchronized temporary-file rename. A typed
|
||||
receipt-digest regression proves that checkpoint JSON is deserialized back to
|
||||
`Vec<ModelStageReceipt>` before hashing and rejects an invalid receipt shape,
|
||||
so creation and verification share one representation. The current binary and
|
||||
so creation and verification share one representation. A scope-selection
|
||||
regression proves that earlier missing issues and successful issues are
|
||||
skipped while later missing issues are selected. The current binary and
|
||||
library test suites pass.
|
||||
|
||||
The first-wave limit is now an explicit closed boundary rather than inferred
|
||||
recovery: without a preserved pre-run news prefix the driver refuses to compose.
|
||||
Run 41 already has its first issue, so the bounded recovery set is later missing
|
||||
issues only. The remaining limitation is verification breadth, not split
|
||||
authority: no focused test yet executes the complete resume orchestration from
|
||||
fresh recomposition through later reuse while asserting successful-issue
|
||||
preservation, exact rendered-file validation, and absence of mechanics calls.
|
||||
recovery: when wave one is selected, the driver refuses to compose without a
|
||||
preserved pre-run news prefix. A later explicit boundary can instead define an
|
||||
acceptance continuation whose older missing issues are intentionally out of
|
||||
scope. The remaining limitation is verification breadth: no focused test yet
|
||||
executes the complete resume orchestration from fresh recomposition through
|
||||
later reuse while asserting successful-issue preservation, exact rendered-file
|
||||
validation, and absence of mechanics calls.
|
||||
|
||||
Session Zero compilation, expansion, and fission follow the same projection
|
||||
rule. Review projections expose topology, pressures, source-use coverage, gaps,
|
||||
|
|
|
|||
Loading…
Reference in a new issue