Bound newsroom context and resume accepted filings

This commit is contained in:
Meta Vens 2026-08-30 07:42:06 +02:00
commit 139b8a69bc
7 changed files with 1032 additions and 103 deletions

View file

@ -116,6 +116,15 @@ pub trait ModelAgentTool: Send {
/// rejected action can narrow the next call to the exact repair surface.
fn action_schema(&self) -> std::result::Result<serde_json::Value, String>;
/// Projects the private workbench state needed for the next semantic step.
/// Tools that return a snapshot replace accumulated model chatter and old
/// observations with this bounded state. The harness preserves the stable
/// instruction prefix, while the tool remains the owner of what working
/// memory the agent actually needs.
fn context_snapshot(&self) -> Option<serde_json::Value> {
None
}
async fn invoke(
&mut self,
action: Self::Action,
@ -147,10 +156,20 @@ pub async fn run_model_agent_progress<Tool: ModelAgentTool>(
}
let mut receipts = Vec::new();
let mut input = vec![ModelInputItem::user(format!(
"{}\n\nAGENT STEP: 1 of {}. Choose one typed tool action admitted by the current output schema. The harness will execute it against the frozen state and return the real tool observation. Do not claim success yourself; only an accepted tool result can end the task.",
spec.instructions, spec.max_steps
))];
let mut input = if tool.context_snapshot().is_some() {
vec![
ModelInputItem::user(spec.instructions.clone()),
ModelInputItem::user(format!(
"AGENT STEP: 1 of {}. Choose one typed tool action admitted by the current output schema. The harness will execute it against the frozen state and return the real tool observation. Do not claim success yourself; only an accepted tool result can end the task.",
spec.max_steps
)),
]
} else {
vec![ModelInputItem::user(format!(
"{}\n\nAGENT STEP: 1 of {}. Choose one typed tool action admitted by the current output schema. The harness will execute it against the frozen state and return the real tool observation. Do not claim success yourself; only an accepted tool result can end the task.",
spec.instructions, spec.max_steps
))]
};
let mut last_observation = None;
for step in 0..spec.max_steps {
let action_schema = match tool.action_schema() {
@ -259,13 +278,14 @@ pub async fn run_model_agent_progress<Tool: ModelAgentTool>(
return Err(ModelAgentFailure { message, receipts });
}
};
append_agent_observation(
update_agent_context(
&mut input,
&stage.narrative,
step,
spec.max_steps,
"continued",
&observation,
tool.context_snapshot(),
);
last_observation = Some(observation);
receipts.push(stage.receipt);
@ -300,13 +320,14 @@ pub async fn run_model_agent_progress<Tool: ModelAgentTool>(
}
};
mark_model_receipt_semantic_invalid(&mut stage.receipt, &finding);
append_agent_observation(
update_agent_context(
&mut input,
&stage.narrative,
step,
spec.max_steps,
"rejected",
&finding,
tool.context_snapshot(),
);
last_observation = Some(finding);
receipts.push(stage.receipt);
@ -367,6 +388,37 @@ fn append_agent_observation(
}
}
fn update_agent_context(
input: &mut Vec<ModelInputItem>,
assistant_output: &str,
step: usize,
max_steps: usize,
status: &str,
observation: &serde_json::Value,
context_snapshot: Option<serde_json::Value>,
) {
match context_snapshot {
Some(snapshot) if step + 1 < max_steps => {
input.truncate(1);
input.push(ModelInputItem::user(format!(
"AGENT STEP: {} of {max_steps}. Return the next complete typed tool action. The private workbench has replaced prior model chatter with its current bounded state. Preserve frozen identity and useful admitted work; change only what the latest observation actually rejects or requests.\n\nCURRENT WORKBENCH STATE:\n{}\n\nLATEST TOOL OBSERVATION AFTER AGENT STEP {} ({status}):\n{}",
step + 2,
serde_json::to_string(&snapshot).unwrap_or_else(|_| "null".into()),
step + 1,
serde_json::to_string(observation).unwrap_or_else(|_| "null".into()),
)));
}
_ => append_agent_observation(
input,
assistant_output,
step,
max_steps,
status,
observation,
),
}
}
#[cfg(test)]
mod tests {
use super::*;

File diff suppressed because it is too large Load diff

View file

@ -1409,8 +1409,34 @@ Live cache evidence is mixed, not acceptance: all work used 208,480 prompt
tokens, with 79,616 hits and 128,864 misses. The selector alone used 189,548
tokens across ten calls, with 77,824 hits, 111,724 misses, and 714,366 serialized
input characters. Stable prefixes eventually hit, but selector context remains
too large and needs a later ownership cut. No v9 front page or reverse-Turing
result is accepted yet.
too large. Run 60 attempt 5 then passed the same-phrase checklist boundary but
failed deterministic dateline validation on Mera Quill's article. No pre-copy
stage output was durable, so the attempt replayed the selector instead of
resuming the admitted agenda and accepted reporter work. No world or per-wave
work replayed, but no v9 front page or reverse-Turing result is accepted.
The live `character-newsroom.v10` cut owns that boundary. The generic agent
harness now lets a tool project one bounded current workbench snapshot while
preserving the stable instruction prefix. Veyra uses that seam for a compact
inspected-record index and bounded exact-ID fetch instead of accumulated full
tool chatter. Any query or fetch retires a pending agenda, so retrieval can
never leave an old proof eligible for delayed commit.
One exact task/editorial-bound production checkpoint persists the admitted
agenda before any reporter runs. Each accepted article then persists its own
checkpoint with article slot, assignment, complete embodied reporter profile,
and receipt chain. Deterministic cited-place enums own dateline admission. The
context membranes remain person-shaped and bounded: Veyra sees her own profile
and the journalist roster; each reporter sees only their profile, assignment,
and cited facts; Dalen owns the factual page desk; Meret sees only the queried
articles, affected assignments/reporters, cited facts, and one checklist.
The affected
`newspaper::tests::narrative_workbench_queries_foundational_context_by_stable_record_id`
rerun passes. A fresh full library run passes 479/479, strategic-smoke passes
16/16, and all-target checks pass with only the pre-existing native-client
unused `path` warning. Provider cache efficiency and reverse-Turing acceptance
remain unproven.
Run 54 exposed one separate upstream publicity defect: a public strategic
activity propagates its channel to private `MemberMemory` outcomes, which is
@ -1421,11 +1447,11 @@ materializing a `NewsIssue`.
1. Preserve immutable Run 59 and its later-publication correction debt; do not
rewrite or resimulate it.
2. Commit and push the verified checklist-admission fix. Resume the same Run 60 root as attempt 5
without simulation or per-wave replay; do not launch a fresh campaign.
Freeze the resulting reader-facing v9 front page. Keep selector context
reduction as a later ownership cut; partial cache hits do not close it.
3. Dispatch an independent blind reviewer with only that fantasy newspaper and
2. Commit and push the verified v10 cut, then resume the same Run 60 root
without world or per-wave replay. Its exact agenda and accepted-article
checkpoints must prevent selector or completed reporter replay.
3. Freeze the resulting reader-facing v10 front page, then dispatch an
independent blind reviewer with only that fantasy newspaper and
a request for its journalistic opinion. Do not expose generation mechanics,
prompts, receipts, provenance, or the acceptance hypothesis. Pass only if
the reviewer is not immediately tipped that the page is procedurally

View file

@ -1292,8 +1292,12 @@ The deliberative newsroom boundary is live under this authority map:
journalist, focal record, exact citation grouping, throughline, tension, and
reader question. Its
deterministic workbench owns query admission, inspected-record membership,
agenda validation, focus-record dereferencing, candidate identity, and exact
commit admission. Each assigned in-world journalist owns one reader-facing
the bounded working-context projection, exact-ID fetch, agenda validation,
focus-record dereferencing, candidate identity, and exact commit admission.
The production-checkpoint validator owns whether an admitted agenda or
accepted reporter filing is exact enough to resume; `CampaignStore` owns its
immutable storage, not its editorial judgment. Each assigned in-world
journalist owns one reader-facing
story and receives only that pitch, its exact records, and that journalist's
character, biases, and preferences. The copy editor owns one complete factual
query report over the assembled page; it neither rewrites nor accepts
@ -1302,17 +1306,20 @@ The deliberative newsroom boundary is live under this authority map:
press witness owns structural admission, lineage, and exact before/after
evidence for what printed; it does not judge prose. Errors discovered after
close belong to a later edition's correction memory, not a same-edition
repair loop. V9 defines that ownership boundary but does not yet persist a
repair loop. V10 defines that ownership boundary but does not yet persist a
typed correction record. Publication employees are not world actors or event
writers. `WorldKernel` remains the only world-event writer.
- **Inputs:** one exact campaign revision, publication title and voice, article
budget, a validated embodied newsroom roster, source-receipt ancestry, and
`character-newsroom.v9` contract. Through the
`character-newsroom.v10` contract. The assignment editor receives its own
staff profile plus the complete journalist roster; it does not receive the
copy editor or Night Editor profiles. Through the
existing generic agent harness, the selector issues deterministic bounded
queries over stable `NewsIssue` IDs using literal terms, exact asserted
public entity names, assertion statuses, channels, newest/oldest ordering,
and an already-inspected cursor. An empty query browses. Each response returns
at most 24 exact projections and the agent has at most twelve semantic steps;
and an already-inspected cursor. An empty query browses. It may also fetch at
most 24 complete records by exact stable ID. Each response returns at most 24
exact projections and the agent has at most twelve semantic steps;
the complete immutable ledger remains queryable rather than being split into
privileged recent and foundational windows.
- **Outputs:** an agenda proposal does not finish selection. It yields one exact
@ -1322,7 +1329,8 @@ The deliberative newsroom boundary is live under this authority map:
tensions and public questions, and explicit comparison questions. The agent
may query again or replace the candidate. Selection finishes only when it
submits `commit_agenda` with the exact digest of the current reviewed
candidate. The committed agenda carries one dominant throughline, reader
candidate. The committed agenda is immediately stored as one immutable
production checkpoint before any reporter runs. It carries one dominant throughline, reader
stake, and ordered story pitches. Every pitch names stable public-record IDs,
chooses one focus record, section, and journalist, and supplies bounded
narrative claim, tension, and public question. Article count plus bounded paragraphs and output tokens
@ -1330,7 +1338,12 @@ The deliberative newsroom boundary is live under this authority map:
record may support several continuing stories when each pitch uses it for a
distinct throughline. One journalist agent files each assigned story and the
page is assembled deterministically from assignment-owned section, byline,
and citations plus journalist-owned prose. The copy desk emits one
and citations plus journalist-owned prose. Every accepted filing is stored as
its own immutable production checkpoint before the next reporter runs. Its
dateline comes from a deterministic action-schema enum compiled from places
asserted by that filing's cited records: the lead must choose a cited place
when one exists, while a later article may choose a cited place or remain
blank. The copy desk emits one
assessment plus the complete bounded set of exact factual query passages;
the Night Editor emits one close action; and accepted composition v3 carries
the printed issue, copy report, press-close witness, and exact receipt chain.
@ -1340,7 +1353,14 @@ The deliberative newsroom boundary is live under this authority map:
institutions, populations, places, and identity attributes asserted by the
account. Query pages, the visible-ID set, pending agenda, candidate digest,
front-page proof, review questions, and late reader-facing citation numbers
are transparent derived views. The query-index set, query-bearing article
are transparent derived views. After each nonterminal selector step, the
workbench derives a compact inspected-record index containing only record ID,
time, channel, headline, and asserted named entities, plus query/record counts
and the pending candidate token; full fact bodies return only through the
bounded query or exact-ID fetch. Production checkpoint IDs, reporter-assignment
digests, receipt-chain and complete checkpoint-content digests, and cited-place
dateline enums are also derived.
The query-index set, query-bearing article
set, changed-article set, source-page digest, printed-page digest, and
receipt-chain digest are also derived. None is a persisted world subject,
fact bundle, relevance authority, prose judge, or event writer.
@ -1352,11 +1372,15 @@ The deliberative newsroom boundary is live under this authority map:
would bury, and returns the exact candidate digest. This is an observation,
not acceptance. The agent must reconsider the actual consequences in that
proof and explicitly commit the current digest; a replacement proposal
retires the prior candidate as commit authority. Each assigned journalist
retires the prior candidate as commit authority. Once committed, the exact
task/editorial-bound agenda checkpoint is the sole reporter-assignment source
on retry. Each assigned journalist
sees only the publication voice, shared reporting contract, their own
character, the page throughline, one pitch, and that pitch's exact records.
They center their story on its focus record and may not widen or regroup the
selection. Record bookkeeping, memory retention, maintained
selection. Each accepted filing is bound to that agenda checkpoint, article
index, exact pitch, journalist identity and profile, and local reporter
snapshot binding before it becomes reusable. Record bookkeeping, memory retention, maintained
warnings, and procedure are not automatically the lede merely because they
are recent. The copy editor sees the assembled page and selected facts. The
Night Editor sees only queried articles, their assignments and cited facts,
@ -1379,18 +1403,26 @@ The deliberative newsroom boundary is live under this authority map:
membership, not whether the final language is true or compelling. A structurally invalid
close exhausts the one action and prints the checkpointed journalist page with an
explicit non-applied close witness. There is no post-close model reread.
- **Agent context and cache path:** the generic harness sends typed append-only
user/assistant items instead of flattening every turn into one new user
transcript. Selector query, proposal, and commit share one stable structured
action schema, so each later provider request preserves the exact previous
prefix. The Night close schema is likewise stable across checklist contents;
its private workbench enforces the exact queried set. Tool schemas stay in the
provider output contract rather than being duplicated in prompt text.
- **Agent context and cache path:** the generic harness keeps the stable
instruction item as the first prefix. A tool may own a bounded current
context snapshot; after each nonterminal action the harness then discards old
model chatter and observations and sends only that snapshot plus the latest
finding. Tools that publish no snapshot retain the ordinary append-only
conversation path. The assignment workbench uses this seam for its compact
inspected-record index and pending candidate token, while exact-ID fetch
restores only the requested full records. Selector query, fetch, proposal, and
commit share one stable structured action schema. The Night close schema is
likewise stable across checklist contents; its private workbench enforces the
exact queried set. Tool schemas stay in the provider output contract rather
than being duplicated in prompt text.
Prompt-cache routing binds stage, model class, and exact output schema;
changing world context does not mint another routing key, while changing the
contract does. Each journalist receives only one pitch and its records. Copy
receives the complete selected desk because it alone checks the page; Night
receives only the subset named by Copy's checklist.
contract does. Each journalist receives only its own embodied profile, one
pitch, and that pitch's records; it does not receive other reporters or desk
staff. Copy receives its own embodied profile plus the complete selected fact
desk and assembled page because it alone checks the page. Night receives its
own embodied profile plus only the queried articles, affected assignments and
facts, numbered checklist, and affected reporter profiles.
- **Invariants:** private events do not enter the query surface; every selected
stable ID resolves at the bound revision; story order, selection, citation
grouping, focus, section, and journalist remain agenda-owned; no proposal reaches the journalists
@ -1402,7 +1434,10 @@ The deliberative newsroom boundary is live under this authority map:
and no external evaluation can reopen an immutable edition. The witness must
preserve exact source and printed page digests, receipt ancestry, every query
disposition, every changed article index, and deterministic re-derivation of
the printed issue.
the printed issue. Admitted agenda and accepted filing checkpoints survive a
later reporter or copy failure without becoming printed truth; reuse requires
exact current task, editorial, assignment, stage, snapshot, and receipt
bindings.
- **Forbidden writers:** the selector and query workbench cannot create,
mutate, deduplicate, summarize into, or reclassify `NewsIssue` or `Event`
state. The deterministic proof cannot rank stories or commit an agenda; it
@ -1419,6 +1454,13 @@ The deliberative newsroom boundary is live under this authority map:
The press witness cannot certify
factual or editorial quality; it can only prove the exact admitted process and
bytes.
A context snapshot cannot create or summarize facts into authority, and an
exact-ID fetch cannot mutate the ledger. A production checkpoint cannot change
the roster, agenda, pitch, reporter, article slot, section, byline, citations,
source campaign, or receipt ancestry; a checkpoint from another contract,
task, or editorial binding cannot resume current production. The dateline
schema cannot admit an uncited place, and blank cannot evade an available
cited place on the lead.
Renderers, strategic smoke, Registry, external blind reviewers, and grounding
reviewers cannot write the page, desk report, close, correction, world state,
or acceptance state. Caches cannot decide record equivalence, assertion
@ -1430,15 +1472,25 @@ The deliberative newsroom boundary is live under this authority map:
pitch, deterministic page assembly, copy report, immutable close checkpoint,
one Night Editor action, deterministic press witness, lowering, persistence.
Registry, live per-wave composition, missing-issue recovery, and final digest
all delegate to `advance_world_newspaper`. Resume begins from the immutable
close checkpoint and does not rerun assignment, journalists, or copy desk. A
all delegate to `advance_world_newspaper`. Resume checks, in order, an accepted
composition, an exact-current close checkpoint, the exact agenda production
checkpoint, and each reporter filing checkpoint. It reruns only the first
missing stage: an interrupted reporter pass resumes at that reporter; a later
copy failure reuses assignment and every accepted filing; a close resume does
not rerun assignment, journalists, or copy desk. A
persisted composition is revalidated against its close checkpoint and exact
stored receipts, then returned without model work. Every caller receives one
completed `WorldNewspaperComposition` or an error; there is no pending
reconciliation result for a caller to interpret or advance.
- **Persistence and compatibility:** the live internal contract is
`character-newsroom.v9`. Public request schema v3 carries the publication
roster and binds it into the task and editorial identities. Close checkpoint
`character-newsroom.v10`. Public request schema v3 carries the publication
roster and binds it into the task and editorial identities. Private production
checkpoint v1 stores either the admitted agenda or one accepted reporter
filing. Agenda identity binds the exact task and editorial identities; filing
identity additionally binds its agenda checkpoint, article index, exact pitch,
complete journalist profile, assignment digest, local reporter snapshot, and
receipt chain. These checkpoints are durable production inputs, not copy-desk
acceptance, press authority, or world facts. Close checkpoint
v1 binds the assigned agenda, assembled page, single copy report, task and
exact editorial bindings, and immutable receipt chain. Its only valid origin
is `InitialCopyDesk`, and its compatibility-shaped `source_checkpoint_id`
@ -1447,17 +1499,17 @@ The deliberative newsroom boundary is live under this authority map:
receipt loading, validation, or close authority.
Composition v3 stores
the printed issue, copy report, press-close witness, and receipts. Public issue
schema v3 remains unchanged. Candidate agendas and front-page proofs remain
ephemeral. Historical v7 reconciliation rows may remain in archived or
schema v3 remains unchanged. Uncommitted candidate agendas and front-page
proofs remain ephemeral. Historical v7 reconciliation rows may remain in archived or
resumed stores as inert provenance, but the live newspaper module defines no
reconciliation loader, import envelope, or conversion path and does not
rebind them. Historical strategic recomposition v1/v2 receipts
are a separate acceptance-driver verification surface; their typed validators
can prove original artifacts but cannot write newsroom state. Resume authority
belongs only to an exact-current close checkpoint bound to the same v9 task,
newsroom, facts, page, copy report, and receipt prefix. Run 58's v7 tip and Run
59's printed edition remain immutable evidence in their original artifacts,
not v9 close inputs.
belongs only to exact-current v10 production and close checkpoints bound to
the same task, newsroom, facts, assignment, article slot, and receipt prefix.
Run 58's v7 tip and Run 59's printed edition remain immutable evidence in
their original artifacts, not v10 resume inputs.
- **Cut line:** the generic byline list and one-shot whole-page writer are
deleted. Assignment-owned section, journalist, byline, citations, and order
are no longer regenerated in prose output. Tool schema text and prior-action
@ -1473,13 +1525,16 @@ The deliberative newsroom boundary is live under this authority map:
not migrated or erased; nothing in the live path can make them decide a close.
The roster, query projection, front-page proof, and article assembly reuse the
generic agent harness and existing public-record, agenda, accepted issue, and
audit shapes. No dependency, crate, binary, daemon, persistent schema,
service, cache, event writer, target platform, code-generation path, or
world-simulation pass was added.
audit shapes. One private persistent production-checkpoint schema buys exact
pre-copy resume; no dependency, crate, binary, daemon, service, cache, event
writer, target platform, code-generation path, or world-simulation pass was
added.
- **Verification and build budget:** focused newspaper tests retain query
admission, exact focus proof, agenda commit, selected-record alignment, and
audit grounding. V9 gates prove stable selector and Night schemas plus
append-only provider prefixes, assignment-aware reporter context isolation, one complete
audit grounding. V10 gates prove the stable selector instruction prefix with
old record bodies absent from later snapshots, the compact inspected-record
index, bounded exact-ID refetch, stable selector and Night schemas,
assignment-aware reporter context isolation, one complete
copy report, exact single-occurrence query targets, multiple categorical
objections to the same phrase, one Night Editor action over only the queried
articles and facts, complete query disposition, preservation of
@ -1487,10 +1542,12 @@ The deliberative newsroom boundary is live under this authority map:
stage, deterministic source/printed digests, exact receipt ancestry,
close-checkpoint resume without reporter or copy replay, idempotent persisted
composition validation, printing the checkpointed page after a structurally
rejected close, and a fresh v9 close in a store containing a matching inert
rejected close, a fresh v10 close in a store containing a matching inert
v7 tombstone. The close validator admits only `InitialCopyDesk` checkpoints
with no source ancestry, while exact-current resume and idempotence regressions
exercise the only surviving resume path. Strategic recomposition v3 binds the
exercise the close resume path. Dedicated regressions prove cited-place
dateline enums and validation, plus agenda-and-filing checkpoint recovery at
the first failed reporter without replaying accepted production. Strategic recomposition v3 binds the
copy report and press witness by digest while v1/v2 remain historical
validation inputs. Independent blind editorial and grounding reviews evaluate the
resulting artifact for the acceptance experiment only; they are deliberately
@ -1499,6 +1556,12 @@ The deliberative newsroom boundary is live under this authority map:
state, and system-map gates. The cut adds no service, crate, dependency,
event authority, or simulation pass.
The bounded selector snapshot retains a pending agenda's exact token while its
front-page proof is the latest observation. Any later query or exact-ID fetch
retires that candidate; the assignment editor must propose the page again and
receive a fresh proof before commit. Retrieval cannot leave a proofless agenda
eligible for delayed admission.
Run 54 is immutable mechanically complete evidence at exact source
`01581b8576774f370884e331558605e7ef5e1b9b`, implementation
`2ac74abf12612b2c38b04acd6fcb604acd1c9d28`, and world revision 27.

View file

@ -231,4 +231,5 @@
{"note": "Newsroom contract v8 replaces the v7 copy/Night accept-reject tribunal and iterative rewrite loop with one complete copy-desk query report, one max_steps=1 Night Editor close, and a deterministic press witness. Every queried article must be rewritten; unqueried articles may receive optional deadline polish while selection, order, sections, bylines, citations, and agenda stay frozen. Exact v7 copy-tip import resumes Run 58 without replaying narrative selection, writer, copy desk, world, or waves. External reviews are post-press evidence rather than vetoes; typed later-correction memory remains pending. Verified 20/20 newspaper, 475/475 library, and 16/16 strategic-smoke tests.", "status": "ok", "ts": "2026-08-29T19:12:02+00:00", "type": "implementation"}
{"note": "Exact-source Run 59 at pushed 161ff2f19021249563e192cce9e6f76f00429d48 printed from immutable Run 58/revision 27 without upstream replay. The press witness binds one copy report with five queries, one applied Night close, three changed articles, and unchanged live services; archive SHA-256 ecb4db41e9a40ee4db8b0f83dce42d74e40f940e5930b1d3c1ced227dfec76b3 matches. Newspaper ee2ce08ceb627d433ac2d4ff7e1ebecb1437bf28b1399d23bfb3d5b066c8ab27 and audit b210d50d4ef1a350315d528f6d37e1e7b618926346713f737c4169c49df26b49 are frozen. A finalizer schema expectation was corrected and finalization resumed without a model call. Post-press editorial and two grounding diagnostics are later publication debt and do not reopen or block delivery of this edition.", "status": "ok", "ts": "2026-08-29T19:50:00+00:00", "type": "verification"}
{"note": "Run 59 prompt audit falsifies v8 as the target newsroom/cache architecture: narrative selection made ten provider calls over 1,373,208 input characters and 582,184 prompt tokens with zero cached tokens. The generic agent harness places changing action schema before stable work and replays the accumulated tool transcript; selector, whole-page writer, and Night Editor duplicate editorial doctrine. Operator-authorized owners are story-and-journalist assignment from the frozen ledger, bounded personality-bearing journalist drafting, copy desk as sole semantic factual query owner, one Night Editor checklist repair preserving narrative, and deterministic structural/provenance/query-disposition press admission. Exact schema and cache cuts remain pending bounded source inspection.", "status": "ok", "ts": "2026-08-29T20:29:24+00:00", "type": "research"}
{"ts": "2026-08-29T21:42:15+00:00", "type": "implementation", "status": "ok", "note": "character-newsroom.v9 replaces the monolithic page writer with an embodied assignment editor and one bounded journalist agent per assigned story, preserves exact assignment-owned structure, bounds Night Editor context to copy-queried articles and facts, and makes generic agent requests append-only with stable schemas and cache routing. Verified 475/475 library tests, 16/16 strategic-smoke tests, and ghostlight-dungeon all-target checks; no provider or simulation run was launched."}
{"note": "character-newsroom.v9 replaces the monolithic page writer with an embodied assignment editor and one bounded journalist agent per assigned story, preserves exact assignment-owned structure, bounds Night Editor context to copy-queried articles and facts, and makes generic agent requests append-only with stable schemas and cache routing. Verified 475/475 library tests, 16/16 strategic-smoke tests, and ghostlight-dungeon all-target checks; no provider or simulation run was launched.", "status": "ok", "ts": "2026-08-29T21:42:15+00:00", "type": "implementation"}
{"ts": "2026-08-30T05:37:54+00:00", "type": "implementation", "status": "ok", "note": "character-newsroom.v10 gives the assignment editor a stable-prefix bounded workbench projection with compact inspected-record index and exact-ID refetch; retrieval retires any pending agenda. Exact task/editorial-bound agenda and per-article production checkpoints preserve accepted work before copy, and cited datelines compile into the reporter action schema. Verified 479/479 library tests, 16/16 strategic-smoke tests, and all-target check with only the pre-existing native-client unused-path warning."}

View file

@ -233,3 +233,4 @@
{"key": "2026-08-29T195000Z0000-0231-c1dcff35845b", "payload": "eyJub3RlIjogIkV4YWN0LXNvdXJjZSBSdW4gNTkgYXQgcHVzaGVkIDE2MWZmMmYxOTAyMTI0OTU2M2UxOTJjY2U5ZTZmNzZmMDA0MjlkNDggcHJpbnRlZCBmcm9tIGltbXV0YWJsZSBSdW4gNTgvcmV2aXNpb24gMjcgd2l0aG91dCB1cHN0cmVhbSByZXBsYXkuIFRoZSBwcmVzcyB3aXRuZXNzIGJpbmRzIG9uZSBjb3B5IHJlcG9ydCB3aXRoIGZpdmUgcXVlcmllcywgb25lIGFwcGxpZWQgTmlnaHQgY2xvc2UsIHRocmVlIGNoYW5n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-08-29T214215Z0000-0233-cdea7f28b17e", "payload": "eyJub3RlIjogImNoYXJhY3Rlci1uZXdzcm9vbS52OSByZXBsYWNlcyB0aGUgbW9ub2xpdGhpYyBwYWdlIHdyaXRlciB3aXRoIGFuIGVtYm9kaWVkIGFzc2lnbm1lbnQgZWRpdG9yIGFuZCBvbmUgYm91bmRlZCBqb3VybmFsaXN0IGFnZW50IHBlciBhc3NpZ25lZCBzdG9yeSwgcHJlc2VydmVzIGV4YWN0IGFzc2lnbm1lbnQtb3duZWQgc3RydWN0dXJlLCBib3VuZHMgTmlnaHQgRWRpdG9yIGNvbnRleHQgdG8gY29weS1xdWVyaWVkIGFydGljbGVzIGFuZCBmYWN0cywgYW5kIG1ha2VzIGdlbmVyaWMgYWdlbnQgcmVxdWVzdHMgYXBwZW5kLW9ubHkgd2l0aCBzdGFibGUgc2NoZW1hcyBhbmQgY2FjaGUgcm91dGluZy4gVmVyaWZpZWQgNDc1LzQ3NSBsaWJyYXJ5IHRlc3RzLCAxNi8xNiBzdHJhdGVnaWMtc21va2UgdGVzdHMsIGFuZCBnaG9zdGxpZ2h0LWR1bmdlb24gYWxsLXRhcmdldCBjaGVja3M7IG5vIHByb3ZpZGVyIG9yIHNpbXVsYXRpb24gcnVuIHdhcyBsYXVuY2hlZC4iLCAic3RhdHVzIjogIm9rIiwgInRzIjogIjIwMjYtMDgtMjlUMjE6NDI6MTUrMDA6MDAiLCAidHlwZSI6ICJpbXBsZW1lbnRhdGlvbiJ9", "stored_at": "2026-08-29T21:42:15.490465+00:00", "type": "ghostlight.evidence_record.v0"}
{"key": "2026-08-30T053754Z0000-0234-3f241b6ff6fc", "payload": "eyJub3RlIjogImNoYXJhY3Rlci1uZXdzcm9vbS52MTAgZ2l2ZXMgdGhlIGFzc2lnbm1lbnQgZWRpdG9yIGEgc3RhYmxlLXByZWZpeCBib3VuZGVkIHdvcmtiZW5jaCBwcm9qZWN0aW9uIHdpdGggY29tcGFjdCBpbnNwZWN0ZWQtcmVjb3JkIGluZGV4IGFuZCBleGFjdC1JRCByZWZldGNoOyByZXRyaWV2YWwgcmV0aXJlcyBhbnkgcGVuZGluZyBhZ2VuZGEuIEV4YWN0IHRhc2svZWRpdG9yaWFsLWJvdW5kIGFnZW5kYSBhbmQgcGVyLWFydGljbGUgcHJvZHVjdGlvbiBjaGVja3BvaW50cyBwcmVzZXJ2ZSBhY2NlcHRlZCB3b3JrIGJlZm9yZSBjb3B5LCBhbmQgY2l0ZWQgZGF0ZWxpbmVzIGNvbXBpbGUgaW50byB0aGUgcmVwb3J0ZXIgYWN0aW9uIHNjaGVtYS4gVmVyaWZpZWQgNDc5LzQ3OSBsaWJyYXJ5IHRlc3RzLCAxNi8xNiBzdHJhdGVnaWMtc21va2UgdGVzdHMsIGFuZCBhbGwtdGFyZ2V0IGNoZWNrIHdpdGggb25seSB0aGUgcHJlLWV4aXN0aW5nIG5hdGl2ZS1jbGllbnQgdW51c2VkLXBhdGggd2FybmluZy4iLCAic3RhdHVzIjogIm9rIiwgInRzIjogIjIwMjYtMDgtMzBUMDU6Mzc6NTQrMDA6MDAiLCAidHlwZSI6ICJpbXBsZW1lbnRhdGlvbiJ9", "stored_at": "2026-08-30T05:37:54.505622+00:00", "type": "ghostlight.evidence_record.v0"}

View file

@ -194,7 +194,7 @@ live_architecture:
- Institution, faction, and consumer decision models
active_subgoals:
- Pass the active narrative reverse-Turing acceptance with `character-newsroom.v9`: an independently dispatched reviewer sees only the procedurally generated fantasy front page and journalistically plausible editorializing, receives no generation mechanics or provenance, and does not immediately identify it as procedurally generated. A merely improved or less-bad score is not passage. Preserve Run 59 as closed evidence and later-publication debt; do not replay world simulation.
- Pass the active narrative reverse-Turing acceptance with `character-newsroom.v10`: an independently dispatched reviewer sees only the procedurally generated fantasy front page and journalistically plausible editorializing, receives no generation mechanics or provenance, and does not immediately identify it as procedurally generated. A merely improved or less-bad score is not passage. Preserve Run 59 and Run 60 attempts 1 through 5 as closed evidence; do not replay world simulation or per-wave publications.
- Connect a Delvehold-owned adapter to the admitted generic consumer contract: shared compiler/consumer WorldSeed admission, externally authoritative institution-or-Gestalt snapshots, attributed proposal acknowledgement, and committed-event newspaper composition over typed CultNet, without consumer-specific IDs or schemas in Ghostlight.
- Extend strategic/offscreen named-person individuation beyond the proven emerge-then-act path so people plot across sustained political waves, acquire relationships, fold, and return without granting a cell, arena, or model commit authority.
- Pressure the proven 200-cell dispatcher with authored consumer hierarchies and measure provider cost; the active budget ceiling is 240 while provider concurrency remains separately capped at 32.
@ -325,7 +325,7 @@ data_flow:
current_status:
summary: Ghostlight's generic consumer boundary admits sparse WorldSeeds, runs the hundreds-class parallel cell machinery used by Dungeon, and projects grounded newspapers from committed public events. Local acceptance proves 1,000 subjects across 200 cells and two-wave durable named-person emergence. Exact-source provider run 38 at `596e50679244b5d42b4cfdf70d723f815751b8ff` resumed the preserved world at revision 8 without replaying compilation or four committed locality elaborations, recovered 51 of 52 strategic-wave cells on pulse three and the final cell on pulse four, then committed all six waves through revision 14. Pushed commit `3a69306f3004e4af2cd57bba612a6ad8d1b8132f` implements the mapped clock-consequence owner and is verified locally: world clocks own declared consequence text and exact observable scope; a bounded agent may propose legacy scope binding, while `WorldKernel` alone admits it and materializes stable threshold-crossing events and public news through the common mutation path. Binding, emitted-event ancestry, mutation receipts, and the next newspaper boundary persist atomically. Exact-source run 39 resumed run 38 without replaying its six committed waves, bound clock consequences, committed six new waves through revision 21, and emitted Issues 7 through 12 plus a final digest. This completes the mechanical provider acceptance path; all inherited wave 1-6 checkpoint hashes match run 38 exactly and live services were unchanged. Independent blind editorial review returns FAIL: only Issue 7 approaches spicy, while Issues 8-12 are dominated by plans, filings, inspections, warnings, and abstract relationship deltas without betrayal, scandal, public reaction, sustained reversal, or material lived cost. That run-39 diagnosis is superseded for the current phase: run 51 closes the world and reconciliation mechanics, and the active defect belongs to newsroom narrative selection and self-contained semantic provenance over immutable facts. Independent grounding review also returns FAIL: Issue 9 inflates a planned expedited agenda into completion, while Issue 8 assigns unsupported feminine pronouns to Sela Venn and Eryn Tal. Other grounding mechanics pass: 208/208 citations resolve, no future events appear, no replay occurred, the player remained unchanged, all 116/116 manifest entries verify, the archive is exact, and root independently confirmed the live service PIDs and invocation IDs remained unchanged. Editorial and grounding acceptance are terminally failed for run 39. Eight titled elaborators use the generic agent harness under deterministic weighted scheduling, bounded parallelism, and Luna/Terra/Sol routing. Workers remain proposal-only; deterministic admission binds exact frozen schedules, dispatch, receipts, conflicts, and semantic verification, and `WorldKernel` alone owns atomic CultCache persistence. Destination reconciliation is a private transactional workbench, provider schema compatibility is lowered once at the shared model-connector boundary, and durable elaboration and strategic-pulse checkpoints bind to their canonical mutation proofs. The generic ModelAgent harness remains consumer-neutral transport. Provider run 23 remains stopped; earlier failed runs and checkpoint archives remain immutable provenance. The live daemons remain outside the acceptance body. Dungeon play remains regression pressure, the Delvehold game-side adapter remains unimplemented, and unpublished Mars and Kalsa destination previews remain unapproved.
provider_acceptance_checkpoint: Run 60 attempt 4 at exact pushed `26d1d87` passed the historical tombstone and reached live `character-newsroom.v9` provider work with no world or per-wave replay. Ten Sol selector actions assigned Mera Quill, Ossan Reed, and Lysa Fen; each reporter needed one semantic correction. The copy-desk inference completed on its second transport attempt after the first timed out at 300 seconds. Deterministic admission then rejected two distinct checklist objections that named the same exact article phrase. Total prompt use was 208,480 tokens: 79,616 cache hits and 128,864 misses. The selector alone used 189,548 tokens across ten calls, with 77,824 hits, 111,724 misses, and 714,366 serialized input characters. Stable prefixes now produce real hits, but selector context remains excessive; no front page or reverse-Turing evidence is accepted yet.
implementation_checkpoint: Exact pushed `26d1d87` owns the inert historical tombstone and exact-current close resume boundary. `character-newsroom.v9` retains its embodied assignment editor, bounded assigned journalists, single factual copy checklist, checklist-bound Night close, typed append-only prompt history, stable action schemas, and deterministic press admission. The current tiny uncommitted fix removes only the false checklist-phrase uniqueness rule while preserving exact single-occurrence target validation: a copy editor may lodge distinct factual or copy objections against the same phrase, and the Night Editor must address every query index once. Verification passes 21/21 focused newspaper tests, 476/476 library tests, 16/16 strategic-smoke tests, and all-target checks. Provider execution and partial cache reuse are proven, but caching and reverse-Turing acceptance are not solved.
next_action: Commit and push the verified checklist-admission fix. Resume the same Run 60 root as attempt 5 without replaying simulation or per-wave publications; capture the immutable v9 front page and dispatch the independent blind journalistic review under the exact reverse-Turing criterion. Preserve attempts 1 through 4. Do not weaken exact phrase occurrence, let one objection erase another, claim caching solved from partial hits, launch a fresh campaign, or redefine a merely less-bad review as passage. Treat selector context size as a later ownership cut after this acceptance boundary.
provider_acceptance_checkpoint: Run 60 attempt 5 passed the same-phrase checklist boundary but failed deterministic dateline validation on Mera Quill's article before a page could close. Because no pre-copy newsroom output was durable, the attempt replayed the expensive selector instead of resuming its admitted agenda and accepted reporter work. No world or per-wave work replayed, but no immutable v9 front page or reverse-Turing evidence exists. Attempt 4's cache evidence remains judgment-changing: 208,480 total prompt tokens with 79,616 hits and 128,864 misses; the selector alone consumed 189,548 tokens across ten calls, 77,824 hits, 111,724 misses, and 714,366 serialized input characters. Stable prefixes hit, but assignment context and resume ownership remain unsolved.
implementation_checkpoint: The uncommitted `character-newsroom.v10` cut implements a generic tool-owned bounded context-snapshot seam: the harness preserves the stable instruction prefix while the tool replaces accumulated chatter with exact current workbench state. Veyra uses it for a compact inspected-record index and bounded exact-ID fetch; any query or fetch retires a pending agenda and requires a fresh proposal and proof. Exact task/editorial-bound production checkpoints persist the admitted agenda before reporters and each accepted article with its assignment, embodied reporter profile, and receipt chain. Reporter datelines are deterministic cited-place enums. Context membranes expose Veyra's own profile plus the journalist roster, each reporter's own profile/assignment/cited facts, Dalen's factual page desk, and Meret's queried subset; roles do not receive one omniscient newsroom packet. The affected `newspaper::tests::narrative_workbench_queries_foundational_context_by_stable_record_id` rerun passes; a fresh full library run passes 479/479, strategic-smoke passes 16/16, and all-target checks pass with only the pre-existing native-client unused `path` warning. Provider cache efficiency and reverse-Turing acceptance remain unproven.
next_action: Commit and push the verified v10 cut, then resume the same Run 60 root without world or per-wave replay. The exact task/editorial-bound agenda and accepted-article checkpoints must prevent replay of Veyra or completed reporters; only a resulting immutable v10 page proceeds to blind reverse-Turing review. Preserve attempts 1 through 5, do not launch a fresh campaign, and do not treat local cache structure or a merely less-bad review as passage.
gestalt_population: Gestalt Personas own shared population baselines; persistent member deltas own named individuality; WorldKernel materialization and approval-gated fission preserve lineage and identity. Materialisation/folding changes only representation and the exact member delta, advances resolution epoch, and retires the old cover; it has no Gestalt-wide effect authority. Selected actionable member exceptions are mandatory Projector perspective owners, so aggregation cannot silently erase their decision. Presence projection is limited to nearby active leaves and exact-location dormant members, includes reciprocal player relationship evidence, and may propose an earned cast without committing it. Simulation cells are derived covers only.