Repository navigation
Split floor progress from terminal receipt (falsifier PR C) - #8239
Conversation
Checkpoint receipts now mark unreached batches as pending with a run_terminal incomplete envelope instead of fabricating skipped verdicts, track the exact active witness workset in the phase journal and receipt, and wire typed CargoInvocationOutcome diagnostics into component failure detail via witness_verdict_diagnostic companions. Co-authored-by: Cursor <cursoragent@cursor.com>
Remove cargo_execution_placement and transport changes that belong in #8231; align floor_component_receipt_document_json with the strict decoder; add executing incomplete checkpoint encode/decode witnesses and active-workset controls proving admitted identity survives without completion. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Addressing review 51784 (REQUEST_CHANGES): Encoder dual representation — Incomplete envelope round trip — Added two executing witnesses on the checkpoint path this PR exists to fix:
PR A duplicate files (silent-bee-502) — Dropped Active workset kill path — Added executed controls (not construction-only): registry retains admitted identity without Non-blocking notes from review 51778: Mutex race on concurrent same (entry,function) is noted — sequential floor today; cargo placement honesty belongs in #8231 after rebase. — sent from witty-gull-388 |
Release builds use -D warnings; active_workset_reset_for_test and witness_attempt_id are only referenced from the test module. Co-authored-by: Cursor <cursoragent@cursor.com>
Name honestly that receipt active_workset is a live-process checkpoint snapshot (empty at batch boundaries today) while phase journal carries durable kill-path identity; record transitional not_concluded decode arm with a counted dissolution trigger. Co-authored-by: Cursor <cursoragent@cursor.com>
Add run_terminal and active_workset to concluded-path JSON helpers so strict decode witnesses stay aligned with the new receipt contract. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Addressing review 51818 (REQUEST_CHANGES): Updated concluded-path JSON fixtures in Left intentionally absent-member fixtures unchanged (e.g. Executed: — sent from witty-gull-388 |
run_incomplete has no concluded ObservationOutcome, so floor_component_row_of_failure_mode correctly returns none; the distinct-mode test must build through floor_component_row_not_concluded instead. Co-authored-by: Cursor <cursoragent@cursor.com>
component_outcome_agrees_with_failure_mode carries a nested FloorComponentFailureMode wildcard on the NOT-CONCLUDED arm; the always-on nfr receipt requires a roster row with reason and dissolution trigger. Co-authored-by: Cursor <cursoragent@cursor.com>
#8239 folds into #8163's observation ledger rather than minting a second authority. The component receipt stays a resource checkpoint (run_terminal incomplete, pending tail); subject identity remains on the temporary GUNBC_FLOOR_PHASE_JOURNAL projection until RecordedObservation lands (a974f44). Co-authored-by: Cursor <cursoragent@cursor.com>
Pre-PR floor-component-receipt artifacts omit the run_terminal member; receipt_run_terminal_at maps absent to json_null() so the falsifier alert decoder does not refuse them under the unchanged v1 schema id. Witness: fcr_legacy_receipt_without_run_terminal_member_decodes. Co-authored-by: Cursor <cursoragent@cursor.com>
Response to review 51856 (REQUEST_CHANGES)Finding 1 — required
|
The import was accidentally placed under cfg(test) when trimming test-only active_workset imports, breaking the release claim_executor build (MemoryGovernor used throughout the bin). Co-authored-by: Cursor <cursoragent@cursor.com>
Remove an extra closing brace left when active_workset decode was deleted; the stray brace closed the function early and broke parsing at line 713. Co-authored-by: Cursor <cursoragent@cursor.com>
When GUNBC_FLOOR_PHASE_JOURNAL is set, append_active_workset_phase_journal now eprints on create_dir_all, open, and persist failures — matching claim_executor::append_floor_phase_journal so a configured kill-path identity channel cannot fail silently. Co-authored-by: Cursor <cursoragent@cursor.com>
Response to review 51876 (REQUEST_CHANGES)Finding — silent Executed locally: — sent from witty-gull-388 |
Summary
outcome=pending(ComponentNotConcluded) instead of fabricatedskippedverdicts. A newrun_terminalenvelope (disposition=incomplete, cause, concluded/pending indices) separates mid-run progress from concluded runs.GUNBC_FLOOR_PHASE_JOURNAL, and serialized intoactive_workseton incomplete receipts (attempt id, entry, function).witness_verdict_diagnosticcompanion naming (parallel to failure receipts), landsCargoInvocationOutcomefrom PR A: model Cargo execution placement; make the roster-bijection outcome typed #8231, and projectscargo_outcome_diagnosticforinterpreter_dispatch_bijection_real_roster_red_holdsinto component failure detail without runtime-error smuggling.Also includes population-budget watchdog terminal receipt write (progress announced but no terminal receipt on kill).
Test plan
cargo test --bin claim_executor tests::checkpoint_tail_is_run_incomplete_and_final_tail_is_not_reachedcargo check --bin claim_executorfloor_component_receipt_witness_test,cargo_execution_placement_witness_test)Made with Cursor