Let the newsroom retrieve its own archive

This commit is contained in:
Meta Vens 2026-08-29 13:58:41 +02:00
commit bd323664b7
7 changed files with 483 additions and 105 deletions

View file

@ -1207,31 +1207,70 @@ vague angle and travels with the exact admitted plan the editor receives. A
read-only serde alias/default exists solely so unrelated historical checkpoint
rows deserialize; it is not active compatibility authority. Gates pass 24/24
newspaper tests, 479/479 library tests, and 15/15 strategic-smoke tests. Run 52
remains immutable; run 53 has not launched.
remains immutable.
Exact-source run 53 at
`d42caca278c467573f0a4b810d562bd86d29a3f1` uses newsroom implementation
`6a045bc3327860483f71abd5546b7b215e45a3e5` and is mechanically complete at
world revision 27 with 18 waves, no world or wave replay, and exact live
services unchanged. Immutable root is
`/var/lib/gamecult/ghostlight-dungeon/acceptance/elven-realms-autonomous-d42caca-53`.
SHA-256: newspaper
`0358c4e82fa716f0364976aabe3ac79a1426596d9bd9eb4f8f4f61654bceb7e2`;
audit `19b9cfa5da0eb3d20614905b68338e071eeaeb076d803cb87832ba0c9592e34f`;
result `dbc1048e7f77db3b7fc7a77c31f03a7af562e90027ac5f0c8c47789266cb7a38`;
archive `F8940F1EEC46344E2D041022B22A52E36F52907AF88F1A7CB992E098BCF8B60D`.
Every manifest row passes and independent grounding review passes.
Independent blind editorial review fails. The paper leads with one
five-citation conduit/severed-hands dossier, then falls into cordons, reports,
and reviews without responsibility, opposing motive or countermove, scandal,
lived consequence, or a next-issue hook.
Source inspection of run 53's exact implementation overturns post-compose
self-review as the current hypothesis. That source caps dossiers at 32, sorts
newest-first, and silently skips each later unique source. Run 53's committed
result still contains the original public `strategic_pressure` complex: the
speaking child, murderer-of-river accusation, forest sale, severed delegation
hands and court seals, pump failures, legion refusal, and bridge seizure. That
material was outside the selector's desk. Post-copy review is not disproven
forever, but it was premature for run 53 because archive context was missing.
The current uncommitted newsroom archive-context contract v3 retains the
complete deduplicated public source archive inside the existing narrative
workbench while exposing only the 32 newest dossiers initially. The same
narrative-selection agent may spend bounded semantic steps requesting exact
12-item `preceding_recent` and `foundational` windows before agenda submission.
Deterministic admission permits only citations actually retrieved; editor, copy
desk, and reconciliation receive only the exact selected-source projection. No
new agent or event authority is added. Gates pass 25/25 newspaper tests, 480/480
library tests, and 15/15 strategic-smoke tests. Run 53 and its hashes and review
verdicts remain immutable.
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. Launch one new immutable run 53 from run 52's revision-27 checkpoint with
final-only newsroom composition. Do not invoke compilation, elaboration,
Nemesis, strategic cells, outcomes, clocks, or per-wave publication.
Preserve runs 51 and 52 and unchanged live services.
2. Require final newspaper and archive hashes, exact provenance,
1. Review the newsroom archive-context v3 structural diff, then commit and push
it.
2. Launch one new immutable run 54 from revision 27 with final-only newsroom
composition and no strategic or per-wave replay. Preserve runs 51 through
53 and unchanged live services.
3. Require final newspaper and archive hashes, exact provenance and manifest,
unchanged-service proof, independent grounding, and blind editorial
acceptance before delivery.
3. Defer multiple publication Personas, TeX layout, and engraved cuts until the
4. Defer multiple publication Personas, TeX layout, and engraved cuts until the
single Canopy Ledger copy passes.
4. Have the game-side adapter lower its authored hierarchy into the published
5. Have the game-side adapter lower its authored hierarchy into the published
generic schemas; keep projection and economy translation consumer-owned.
5. Prove one consumer-owned effect crosses that public API, changes two foreign
6. Prove one consumer-owned effect crosses that public API, changes two foreign
political layers, causes one durable named figure to emerge and later act,
and returns attributed news or intent without mutating Delvehold-owned truth.
6. Measure provider cost and continuity on the existing 200-cell authored-world
7. Measure provider cost and continuity on the existing 200-cell authored-world
path without coupling wave width to the provider concurrency ceiling.
7. Leave the unpublished Mars seed and Kalsa refuge expansion unapproved unless
8. Leave the unpublished Mars seed and Kalsa refuge expansion unapproved unless
the operator explicitly admits either; retain Kalsa as regression evidence.
8. Keep `gamecult-ops` synchronized with every executable deployment and model
9. Keep `gamecult-ops` synchronized with every executable deployment and model
transport change. Use Idunn on Yggdrasil for all builds and deployments.
Do not weaken actor custody, private projection, unanimous approval,

View file

@ -1294,8 +1294,9 @@ citations. A deterministic workbench owns the article budget, exact citation
membership, uniqueness, lead selection, and bounded reader-facing framing
fields. The agenda is interpretation and selection, never evidence: it cannot
create an event, person, institution, place, motive, quotation, outcome, or
world mutation. The editor receives the admitted agenda plus the same desk and
may compose only from the agenda's selected citations. It owns headline, deck,
world mutation. The editor receives the admitted agenda plus a deterministic
projection of only the citations selected by that agenda and may compose only
from those selected citations. It owns headline, deck,
byline class, dateline, and article prose as a proposal; it does not silently
recover citations the narrative owner omitted. Edition chrome is
contract-derived, not model copy. Local validation binds every article to
@ -1342,33 +1343,44 @@ The newsroom narrative-selection boundary has this authority map:
the single publication's current editorial agenda. The editor owns prose
proposal, the copy desk owns factual judgment, and `WorldKernel` remains the
only world-event authority.
- **Inputs:** exact immutable newsroom desk, publication title and voice,
article budget, source receipt ancestry, and the newsroom contract version.
The deterministic workbench derives a total news hole of at most two selected
desk citations per available article, capped at six citations in any one
story. It may inspect only those inputs and the typed agenda action.
- **Inputs:** the exact complete deduplicated public-news archive, publication
title and voice, article budget, source receipt ancestry, and the newsroom
contract version. The agent initially sees at most the 32 newest sources.
Through the same workbench it may request `preceding_recent`, the next up to
12 older sources after that initial viewport, or `foundational`, the oldest
up to 12 sources beyond the initial viewport. Each exact window is available
at most once and only while it contains a citation not already visible. The
deterministic workbench derives a total news hole of at most two selected
citations per available article, capped at six citations in any one story.
- **Outputs:** one typed agenda with a dominant throughline, reader stake, and
one or more ordered story pitches. Each pitch declares whether it is the lead,
names exact citation IDs, chooses one of them as its focal citation, and
supplies bounded narrative claim, tension, and public-question fields. The
editor schema exposes only the union of citations selected by the agenda;
deterministic post-inference alignment, not the schema alone, requires each
article to use exactly its corresponding pitch's citation set. Valid but
omitted desk notes remain true and unreported rather than being forced into
the issue.
editor schema and prompt expose only the union of citations selected by the
agenda; deterministic post-inference alignment, not the schema alone,
requires each article to use exactly its corresponding pitch's citation set.
The copy desk and grounding reconciler receive the same exact selected-source
projection, and lowering resolves only the article citations against the
complete archive. Valid but omitted archive notes remain true and unreported
rather than being forced into the issue.
- **Derived state:** salience, juxtaposition, pitch order, rhetorical
interpretation, and insinuation are editorial framing. They are not committed
events or source evidence. Semantic audit rows are a deterministic projection
of the selected frozen sources and do not become another desk.
of the selected frozen sources and do not become another desk. Archive-window
observations change only the agent's private visible citation set; they do
not publish, mutate, or summarize new world facts.
- **Forbidden writers:** the narrative agent cannot write campaign state,
events, `NewsIssue`, copy-desk verdicts, copy, checkpoints, or accepted
compositions. The editor owns prose only: it cannot choose or widen the
admitted citations, change their pitch grouping or order, replace the focal
citation, or replace the narrative claim. Renderers cannot infer missing
provenance or change assertion status.
provenance or change assertion status. Neither the selector nor its archive
workbench may read private events, model memories, or unpublished world state.
- **Shared paths:** fresh composition runs narrative selection once, then editor
and copy desk. A rejected page persists the complete receipt ancestry before
reconciliation. Resume starts from that checkpoint and never reruns narrative
and copy desk over the selected-source projection. A rejected page persists
the admitted agenda and complete receipt ancestry before reconciliation.
Resume deterministically reconstructs that same projection from the
checkpointed agenda and complete bound archive; it never reruns narrative
selection or the editor. Accepted-composition idempotence returns the exact
stored issue.
- **Persistence and ancestry:** reconciliation checkpoint v2 binds the admitted
@ -1382,9 +1394,11 @@ The newsroom narrative-selection boundary has this authority map:
legacy-import validator does not independently reconstruct every historical
`source_receipt_ids` edge; that older chain remains bounded by the explicit
typed import witness rather than being generalized as current newsroom state.
- **Schema/version cut:** `canopy-ledger-narrative-selection.v2` participates in
- **Schema/version cut:** `canopy-ledger-narrative-selection.v3` participates in
publication-task and exact editorial bindings plus article and empty-issue
identity. New issues and CultMesh/native publication use
identity, while the exact editorial binding covers the complete deduplicated
archive and its provenance rather than only the initial or selected viewport.
New issues and CultMesh/native publication use
`ghostlight.world_newspaper_issue.v3`; resumable state uses
`ghostlight.world_newspaper_reconciliation_checkpoint.v2`. The accepted
composition envelope remains v1 but its contract-versioned key and editorial
@ -1396,19 +1410,20 @@ The newsroom narrative-selection boundary has this authority map:
agenda rows can be deserialized. Neither compatibility value appears as an
alternative in the current action schema: a current agenda must provide both
`narrative_claim` and a focal citation drawn from its exact story dossier, and
must pass v2 agenda validation and binding. Historical decoding therefore
cannot authorize a fresh v2 selection or composition.
- **Cut line:** the existing deterministic selection workbench owns the news
hole and focal-citation constraints; the selector still owns which admitted
facts become stories and the editor still owns only prose. The overlapping
`angle` field is replaced by an explicit `narrative_claim`; no second quality
agent, multi-publication Persona, publication memory, layout engine, new
service, second event authority, or alternate audit store is added in this
cut.
- **Verification and build budget:** 24 focused `ghostlight-dungeon` newspaper
must pass v3 agenda validation and binding. Historical decoding therefore
cannot authorize a fresh v3 selection or composition.
- **Cut line:** the global 32-source truncation is deleted. Thirty-two is now a
bounded initial-view limit, not an archive-deletion rule; the complete archive
remains prepared and bound. The existing selection workbench owns exact archive
window retrieval, visible-citation admission, the news hole, and focal-source
constraints; the selector owns which visible facts become stories and the
editor owns only prose. No post-copy quality agent, multi-publication Persona,
publication memory, layout engine, new service, second event authority, or
alternate audit store is added in this cut.
- **Verification and build budget:** 25 focused `ghostlight-dungeon` newspaper
tests prove deterministic agenda admission, citation restriction,
receipt/checkpoint ancestry, semantic audit projection, and existing
reconciliation resume; the complete library gate is 479/479. The 15/15
reconciliation resume; the complete library gate is 480/480. The 15/15
strategic-smoke binary tests prove that its bounded recovery and checkpoint
helpers remain compatible, not the newsroom semantics themselves. The cut
adds no dependency, crate, binary, daemon, target platform, code-generation