Skip to content

A reported-only sentinel call is no effect: stop-drain S2 never marks one (card 286af878) - #5515

Merged
joelteply merged 1 commit into
canaryfrom
286af878/stop-drain-s2-a-reported-only-sentinel-c
Oct 27, 2026
Merged

joelteply merged 1 commit into
canaryfrom
286af878/stop-drain-s2-a-reported-only-sentinel-c

Conversation

@joelteply

@joelteply joelteply commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Why

Stop-drain S3 (#5497) hands back an interrupted turn only when it recorded no effect. The first live read on enrico, after the 02:54Z deploy of e653e46, shows S3 working:

  • 4 interrupted turns reported (persona.obligation.interrupted; ages 460 s to 2,810 s);
  • the untouched ones handed back and their rows reconciled (admit writes of 36 ms and 1 ms).

But one row read uncertain (persona.obligation.uncertain, Eitan). Its recorded effect was ToolBatch [(tool-attempt-cut-at-limit, tools/<cut at the output limit>)], the cut-at-limit sentinel, which command_executor documents as "REPORTED, never executed". apply.rs built the S2 effect from every call, so a turn that never acted was never handed back. Card 286af878.

What

  • command_executor::is_reported_sentinel(name) is the one owner of "a reserved tools/<…> pseudo-call". The refusal probe, which skipped them with an inline starts_with, now uses it.
  • apply.rs leaves sentinel calls out of the S2 effect. A batch of only sentinels takes no mark, because nothing runs.

Verified (enrico, at the content of this head before its rebase onto e1b9716)

  • cargo check -p continuum-cognition --lib and --profile test (--features metal): exit 0.
  • New a_sentinel_only_batch_is_no_effect_and_takes_no_mark: under a gate that refuses every mark, a sentinel-only batch still reaches the executor and leaves no [not run] notice. act_observe: 77 passed.
  • Mutation: with the filter removed (every call in the effect again), that test FAILS. Restored, it passes.
  • source-hygiene ratchets -- origin/canary: exit 0, no row changed.

Measured after deploy

Owner Cormac, by 10-28 18:00Z, on enrico: after the next restart, no persona.obligation.uncertain row whose effects contain only tools/<…> names. A cut turn is re-admitted instead.

🤖 Generated with Claude Code

https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE

… one (card 286af878)

Serves residents through stop-drain: S3 hands back an interrupted turn only when it recorded no
effect. Live on enrico after the 02:54Z deploy (S3 working: 4 interrupted turns reported, the
untouched ones handed back), Eitan's turn read as UNCERTAIN because its only "call" was
`tools/<cut at the output limit>`, a sentinel the executor REPORTS and never runs. apply.rs
built the S2 effect from every call.

command_executor::is_reported_sentinel is the one owner of "a reserved tools/<...> pseudo-call"
(the refusal probe now uses it too); apply.rs leaves sentinels out of the effect, and a
sentinel-only batch takes no mark.

Fixture: a sentinel-only batch under a gate that refuses every mark still reaches the executor
and leaves no "[not run]" notice. Mutation: restoring the unfiltered effect fails it.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
@joelteply

Copy link
Copy Markdown
Contributor Author

Fable: exact-head source PASS at ad49309. Verified: is_reported_sentinel (the tools/<…> prefix) is now the one owner, used by both the refusal probe and S2's mark. A batch of only sentinels takes no mark, so Eitan's cut-at-limit turn is handed back as untouched instead of read as uncertain. A mixed batch marks only its real calls. Live context noted: S3 reported 4 interrupted turns at enrico's 02:54Z boot and handed the untouched ones back, which is the S1-S3 live receipt. Merge on green.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

@joelteply
joelteply merged commit 8d6656f into canary Oct 27, 2026
17 checks passed
@joelteply
joelteply deleted the 286af878/stop-drain-s2-a-reported-only-sentinel-c branch October 27, 2026 04:00
joelteply added a commit that referenced this pull request Oct 27, 2026
…e (card 28463ba7) (#5521)

Serves every node's residents: a node runs the fixes only once its deploy tracker authorizes a
published build. On enrico 2026-10-27 no canary commit after e653e46 could be authorized while
#5506/#5508/#5510/#5515 merged.

The cause: "Warm the shared Rust build cache" was a job of Continuum Rust Tests, with a job-level
concurrency group per branch. A newer canary push cancels the older queued warm-up, and that job's
check run concludes `cancelled`, which parse_tip_checks counts as Red (hard_fail), so a commit
whose real tests were green read red (791328a, 8d6656f). The warm-up gates nothing ("a failed
warm-up only leaves the previous cache").

The job moves unchanged into its own workflow, .github/workflows/rust-warm-cache.yml (same
trigger: push to canary; same CARGO_INCREMENTAL), and that path joins NON_DEPLOY_WORKFLOW_PATHS
beside core-binaries and promote-main: excluded by its own suite, the existing rule.

Fixtures: cancelled warm-up + green tests = Green; queued warm-up + green tests = Green; green
warm-up + CANCELLED real test = Red; warm-up as the only suite = Unknown. Mutation: with the path
removed from NON_DEPLOY_WORKFLOW_PATHS the test fails at its first assertion.


Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant