Skip to content

Shift watcher: question sidecars hold no worker slot, settled carry-overs, Opus adversary default, RAL ssh probe - #699

Merged
Jammy2211 merged 3 commits into
mainfrom
ccr-8a668897-mkcl3u
Nov 22, 2026
Merged

Jammy2211 merged 3 commits into
mainfrom
ccr-8a668897-mkcl3u

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

From the review of shifts 2026-11-19-pm, 2026-11-19-pm2 and 2026-11-20-am.

The bug

A parked worker writes {task}.question.json into leases/, and leases() read every *.json there as a lease. The phantom had no pid, _alive(0) returned True, so it never ended and held a worker slot until review-at:.

On 2026-11-20-am four workers parked, all four slots filled with phantoms, 11 tasks were refused on max-workers 157 times, and the shift could not close early. It delivered 1/5. 2026-11-16-pm shows one phantom too.

leases() and the digest's held_leases() now skip the sidecar. The new test fails on the old code.

Digest and merge order

  • A carried-over PR the human merged between shifts is settled: no "Needs you — not merged unattended" entry and no empty proof packet, one line in the carry-over summary ("N PR(s) you had already merged — nothing to do").
  • An earlier PR GitHub reads MERGED or CLOSED leaves the ### Merge order list (2026-11-19-pm2 listed one as "▶ … — open" twenty minutes after its merge).
  • A task the spawn gate refused all shift says why: not started — refused: max-workers 4 reached (last …).

Adversary model default (doctrine)

AUTONOMY.md gains "Adversary model default — 2026-11-22", the human's ruling: every review and adversary pass the orchestrator starts is an independent Opus session or sub-agent, also when the chat that starts it is on Fable. Fable reads only when asked. The review faculty, the batch skill, the cockpit skill and MODEL_DELEGATION.md point at it.

batch collect followed: an adversary row whose model equals its author_model passes only with "independent_session": true. A self-run pass still fails.

The cockpit skill also says a finding that touches only the PR description is a note for the human and does not hold /prm.

RAL probe

For a live brief whose lanes: include ral, batch brief --check runs one ssh -o BatchMode=yes -o ConnectTimeout=10 <host> true and warns when it fails (shift 2026-11-20-am granted ral and its worker parked on "Too many authentication failures"). A warning, never a refusal; launch chat only, never the watcher. The host comes from PYAUTO_RAL_SSH_HOST or the Mind's policy/hpc_ral.md, so organ code names none. PYAUTO_RAL_PROBE=off skips it. AUTONOMY.md "The watcher's network surface" records it.

Evidence

  • python3 -m pytest -q tests: 2557 passed, 3 skipped (2548 before).
  • Tenant firewall (organ code): OK.
  • Not checked: no live shift has run on this branch, and the ssh probe has only run against a fake ssh.

Generated by Claude Code

…s; Opus adversary default

Review of shifts 2026-11-19-pm, -pm2 and 2026-11-20-am.

- A parked worker's {task}.question.json sits in leases/ and was read as a
  lease with no pid; _alive(0) called it running, so it held a worker slot
  until review-at. On 2026-11-20-am four sidecars filled max-workers 4,
  11 tasks waited all shift and the shift could not close early.
- A carried-over PR the human merged between shifts is settled: no
  "Needs you" entry and no empty proof packet, one line in the carry-over
  summary, and it leaves the merge order with any earlier PR GitHub reads
  MERGED or CLOSED.
- A task the spawn gate refused all shift says why it never started.
- AUTONOMY.md "Adversary model default - 2026-11-22" (the human's ruling):
  review and adversary passes the orchestrator starts are an independent
  Opus session; Fable only when asked. batch collect accepts a same-model
  adversary only with independent_session: true.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016nhQ8QZALxF5uDjEVDTqWX
…the ral lane

Shift 2026-11-20-am granted `ral` and its one worker that needed the cluster
parked on "Too many authentication failures". For a live brief whose lanes
include ral, `brief --check` now runs one `ssh -o BatchMode=yes <host> true`
and warns when it fails. A warning, never a refusal; launch chat only, never
the watcher. The host comes from PYAUTO_RAL_SSH_HOST or the Mind's
policy/hpc_ral.md, so organ code names none; PYAUTO_RAL_PROBE=off skips it.

Also drops two tenant repo names the firewall flagged in the previous commit.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016nhQ8QZALxF5uDjEVDTqWX
@Jammy2211
Jammy2211 merged commit 58372ad into main Nov 22, 2026
2 checks passed
@Jammy2211
Jammy2211 deleted the ccr-8a668897-mkcl3u branch November 22, 2026 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants