You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
runtime(queue): publish terminal work queue without overwriting planner intent #1305
work_queue.json is emitted while sensors and proof tasks are still planner-time intent. Later successful, failed, timed-out, skipped, missing, and receipt-backed terminal facts do not update that artifact. Treating it as execution truth leaves successful sensors planned, omits executed impact proof, and makes queue reconciliation contradictory.
Contract
Publish two explicitly different surfaces without rewriting planner intent:
work_queue_plan.json
work_events_plan.ndjson
immutable byte-identical planner intent
work_queue_terminal.json
work_events_terminal.ndjson
deterministic terminal projection after final sensor/proof receipts
The terminal projection must preserve legacy planner artifacts, validate versioned schemas, retain plan and terminal status separately, join receipts only through explicit identity, reject ambiguous or malformed identity, represent unplanned execution exactly once, bind to the immutable plan digest, and publish fail-closed.
Publication boundary
work_queue_terminal.json is the commit marker. Before replacing proof receipts, any prior marker must be invalidated. A new projection stages both terminal files, publishes terminal events first, and publishes the queue marker last. Validation or filesystem failure must remove partial or stale terminal output.
Acceptance
Regression coverage for all sensor terminal classes, proof joins, impact receipts, unexecuted and multiple-receipt proof, malformed/duplicate/ambiguous identity, deterministic replay, and publication failures.
Retained packet inspection proves terminal artifacts bind final receipts.
Independent review is complete.
Non-goals
No scheduler activation, fuzzy deduplication, Required-consumer authority migration, proof-portfolio or fill-ledger repair, gate-enforcement change, or claim that #957 is complete.
Activity
runtime(queue): publish terminal queue projection
test(queue): reject unversioned proof catalog receipt joins
fix(queue): validate proof task catalog schema before receipt joins
test(queue): reject foreign sensor receipt paths
fix(queue): admit only packet-local sensor receipt paths
test(queue): fence stale terminal generations across receipt write fa…
fix(queue): complete terminal cleanup and retain publication failures
runtime(queue): publish terminal queue projection
test(queue): reject unversioned proof catalog receipt joins
fix(queue): validate proof task catalog schema before receipt joins
test(queue): reject foreign sensor receipt paths
fix(queue): admit only packet-local sensor receipt paths
test(queue): fence stale terminal generations across receipt write fa…
fix(queue): complete terminal cleanup and retain publication failures
fix(runtime): publish terminal work queue projection (#1306)
test(ripr): prepare PR1401 source-role counterparts for #813 adjudica…