Repository navigation
Conversation
An owner thread's own agent session writes as session-<thread id>, a class of its own with a ticket's rank (x-authority). It replies in its own thread only (--asks for a clarifying question), hands that thread to the supervisor, and sends nothing else. logWriter, sessionBranch and supervisorOnly learn session/ branches and DEVTEAM_ROLE=session; ownerWriter refuses DEVTEAM_THREAD too. The integrity check and the log schema hold a session's lines to its thread and accept proof on the owner's own turn and thread line only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A thread session's PR (branch session/<t>, home only) merges with no spec, plan or review records, held instead to: every gate in a clean worktree at the exact head (no --no-gates, no gates no landing), the log rule, a protected set no --approved lets through (the kit's folder but artifacts, root dotfiles and dot-folders, root scripts/, agent instructions, manifests and lockfiles, test-runner config and setup files, flaky lists, forge/CI files, lint/type/format config, deploy config, secret files, any path a gate's command names, and no deleted test), the forge's checks reported where the repo has CI, and only between ticket merges: an up-to-date ticket PR with a final at its head or an open merge request holds it, for 30 minutes at most. Logged as a merge-session act (constitutional). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
merge (every kind) and pinRecords refuse a branch whose origin tip isn't this box's local ref, unless origin's tip is that ref brought up to date with main by the forge (one clean two-parent merge of main per step, main read with ls-remote) or the local ref is merely ahead (not pushed yet). Tests: a pushed chore commit, a moved ref, a pushed review record, a record pushed to home's ticket/<id>, an update-branch merge accepted, an edited, three-parent or conflicted merge refused. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…d sessions Signed owner turns: the gateway signs the owner's /api/thread-say and /api/thread-new (ownerTurnSignature, devteam-owner-turn-v1, the signer's role in the bytes) for the box's owner alone, and drops any signature headers anyone sends; the dashboard puts the signature on thread say's and thread new's stdin; they check it for this press and dashboard, take its nonce once and keep it on the turn (and thread) line when the line fits. thread ask --turn --paths binds such a turn and the exact paths on the question line; answer --from-turn on that question needs --said and re-checks the proof at the turn's own time, refusing an unsigned, forged or off-box turn. merged-without-merge reads merge-session acts, and where every landing is a merge commit (forge git, merge_method merge) raises any commit on main's first-parent line that is no merge (a push to main). Thread sessions: owner_sessions (off while IT-1 lands dark), session_idle_minutes, session_max_live; process/session.md and prompt session --thread; session start|stop|resume|state --thread; routing rule 3 to the thread's own session, artifact notes included, unless overdue; delivery started or woken by the turn, held while it starts or is busy (busy marker or 10 s of output), typed after 2 minutes at most, released by the owner's next turn; the live cap and its hard ceiling; the tick sleeps idle ones (and all with owner_sessions off) and removes an asleep worktree after 7 days once its branch is pushed; the session's deny rules on top of worker_denied_commands. quality.md §3 and §4 (Q2). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… thread wording; seams for IT-3; CI fixes - process/session.md becomes process/thread.md, rendered by `prompt thread --thread <t>`; user-facing words say "this thread's agent" - cmdMerge's role check is mergeRoleCheck(), the seam IT-3 opens for merge --session --turn; --turn is refused by name until then - ownerTurnSignature/ownerTurnSigned take optional extra fields after the role (IT-3's merge:); none signs the v1 bytes unchanged - a session whose agent is still starting (pane at a shell within 2 minutes of launch) is live and busy: a turn then is held, never a second launch typed - tests: the starting race, the --turn refusal, the fields seam; the same-second race in the push-to-main test; the left test, session-threads message, dashboard-data counts, the G1 goldens and the split IMAGE_RUNS override follow the change Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ol slot, held-turn timer, close cleanup, IT-S1/S2 - owner_sessions defaults to true, as the design has it (false is the off switch); the test fixtures made by init (fleetFixture, bareProject, the machine fixture) set it false, since their tests read the routing before thread sessions - merge-session moves out of governance/constitution.md into the kit's own KIT_ACT_CLASSES, added to the ladder's constitutional list where it is read; constitution.md is untouched - a live thread session holds a worker slot toward max_active_tickets: ready (and --json thread_sessions), next-step's waits-for-slot, metrics' idle-capacity and the auto-start - a turn held for a session gets a timer: session watch, started detached, types it once the session is idle (busy marker, 10 s of silence) or at the 2-minute bound - a closed thread's worktree is removed once its PR is merged, its branch is all on main, or its PR was closed unmerged (abandoned); work not on origin, or uncommitted, keeps it - metrics' latency gains thread_sessions: IT-S1 (warm) and IT-S2 (cold start or resume) first replies over the last 50 session-routed owner turns, with their targets Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
PR #1006 review a: IT-1 walls hold for refs, signing and roles; the wall misses
|
| File | Result |
|---|---|
| interactive-sessions.wall | 8/8 pass |
| interactive-sessions.pushed | 4/4 pass |
| interactive-sessions.signed | 8/8 pass |
| interactive-sessions.roles | 12/12 pass |
| interactive-sessions.sessions | 7 pass, 4 fail, twice (subtests 7 to 9: the cap, stop/resume, owner_sessions off). See Notes: it is timing on a loaded box, not the code |
| gateway-terminal | 10 pass, 1 fail: A9 only, the known box failure the PR names. The IT-1 case passes |
Probe (a scratch test, not committed): gates { test, grad: 'sh ./gradlew check' }, main has gradlew. A session PR that rewrites gradlew to exit 0: merge --session <t> --dry-run exits 0 (F1).
Mutations (each restored after):
- gateway: drop
isOwner(person)from the owner-turn route: gateway-terminal's IT-1 case goes red. - integrity: drop the turn/thread
proofrule: roles subtest 11 goes red. signedTurnProblem: drop the twin-nonce check: signed subtest 5 goes red ("a nonce reused").pushedFromOwnerFails: drop themerge-treeexit-status check: pushed subtest 2 goes red. The conflicted merge is still refused, by the tree comparison, so only the message changes. Two layers, and that is fine.sessionWallFails: drop the deleted-test check: wall test "the protected set" goes red (7 pass, 1 fail).
CI at the head: box-image, test and test-stress all succeeded.
Findings
| Id | Severity | Rule | Where | Finding |
|---|---|---|---|---|
| F1 | Important | design "The wall" item 4; quality.md §4 ("any file a gate's or release's command names") |
devteam.mjs sessionGateNamed |
defect: the leading ./ is removed before the /[./]/ filter, so a gate's extensionless script run as ./gradlew, ./mvnw, sh ./run-tests or ./check is never named. A session PR can rewrite that script to exit 0, and the gate it is meant to answer to then passes with no review. Shown by the probe above. Fix: decide the path test before stripping, e.g. keep any word that began with ./. The cat-file -e existence check already keeps out words like npm. Add a test case for it. |
| F2 | Important | design "The wall" bullet 1 ("needs the forge's checks green where the repo has CI"); quality.md §4 | devteam.mjs cmdMerge session block (ci.ci && !(pr.statusCheckRollup …).length) |
defect: one reported check is enough. A session controls its head commit message, and [skip ci] there stops GitHub Actions from making any pull_request runs. Any other status still reports: a Vercel or Netlify preview, a bot, an external CI. The rollup is then non-empty and green, forgeCheckFails passes, and the PR lands without the repo's CI having run. A partly reported head (a fast external check green, Actions not yet queued) gets through the same way. Fix: on a repo with CI, require each check name the forge reports on main's head (less ignored_checks) to be present and green at the PR head. This is from reading the code: it can't be probed without GitHub. |
Notes
Minor and Suggestion items (non-blocking):
- harness:
interactive-sessions.sessions"the cap" depends on the first session still counting as busy (output in the last 10 s) when T2 starts. On this loaded box the 10 s pass first, sothreadSessionRoomsleeps it as the longest idle (correct behaviour). T2's start then succeeds, and subtests 7, 8 and 9 fail in a chain. It failed the same way in two runs here and passes on CI. Keep the first session busy explicitly, e.g. make the stand-in print every second. cmdSession's guard reads onlyDEVTEAM_ROLE. A checkout onsession/<t>with its environment dropped, or any process withoutDEVTEAM_ROLE, cansession start|stopany thread's session, which writesworker-slotsacts as the supervisor. CheckingwriterClass(logWriter())as well would close that.- The schema text for
question.pathssays "a chore it approves lands no other path", andprocess/thread.mdsays the supervisor "lands only those". Neither is enforced in IT-1: the paths refusal is IT-3's, as the PR says. The wording should say "from IT-3", or say nothing yet. - At answer time,
signedTurnProblemdoesn't re-checkproof.portagainst this dashboard. Another instance on the same box shares the gateway key. The thread id in the signed body makes a cross-instance replay practically impossible, so this is very low risk. ladder()addsmerge-sessiontoconstitutionaleven when an owner's constitution.md lists it underowner_only. It should skip a class the owner has placed anywhere.- The wall's diff base uses
mainRef(), the tracking ref, which any worktree'sgit fetchcan move.checkedMainis already pinned. This is only a race, butmerge-base(checkedMain, sha)is the tighter choice. - Deny rules (design constants, matching worker parity, not blocking): the list is porous.
git fetch . X:ticket/yfollowed bygit push --allmoves a ref withoutupdate-reforbranch -f.git -C . push …gets past everygit push*pattern. A tag push (git push origin vX) is not denied, and the defaultrelease: "tag"deploys from tags. Workers have the same openings today, and the design names them as honest limits, but sessions now carry them too. - Edges outside the design's lists:
.circleci/isn't a CI signal when main's head reports no checks.vite.config.*(often the vitest config),cypress.json,*_test.go,test_*.pyandspec/*_spec.rbdeletions are not protected. - Checked and found holding:
- the protected set, every group, CODEOWNERS and CI files outside
.github/; - deleted tests, with renames read as a delete;
--approved,--no-gatesand--turnrefused;- the ref check: exactly two parents, the second on the
ls-remotemain,merge-treeexit 0 plus tree equality, and the behind/ahead cases; - owner-only signing, with
x-devteam-gateway-*stripped on every proxied request; - the role fixed as
ownerin the signed bytes on both sides; - nonce reuse refused at say time and at answer time;
- the proof re-checked at the turn's own time;
- an unsigned turn sent to the Inbox;
- integrity and schema accept
proofonly on the owner's turn or thread line; - a session can't write as the owner through the CLI (
ownerWriterrefuses its env, its branch and its worktree) and can't merge (supervisorOnly).
- the protected set, every group, CODEOWNERS and CI files outside
- Pre-existing limit, unchanged by IT-1: a session, like any worker, can POST an unsigned owner turn to the local dashboard, which says so (kit-324). The signature closes this only on the owner's-word path.
- Not checked: a real Claude Code session (whether the deny patterns match as intended), and the gateway → real dashboard →
thread saypath end to end.
Opened by the box operator.
Verdict: CHANGES 38380f6
… the head; skip-ci refused - sessionGateNamed: any word of a gate's command that is a file in the tree is named, with or without ./ (./gradlew, sh ./run-tests, node tools/x.mjs, sh run-tests); a folder only when the word reads as a path, so `npm test` doesn't name test/ - a session's PR on a repo with CI: each check the forge reports on main's head (less ignored_checks) must report green at the PR's head; a commit on the PR with a skip-ci marker ([skip ci], [ci skip], [no ci], skip-checks: true) is refused - the wall diffs against the main read from the forge (checkedMain), not the tracking ref - CI folders .circleci/, .buildkite/, .woodpecker/ and .travis/.drone/appveyor files count as CI; vite/webpack/rollup/esbuild/tsup/babel/next/nuxt/svelte config and .babelrc are protected - the owner's constitution wins over KIT_ACT_CLASSES (owner-only or a ladder class stays there) - session start|stop: the supervisor's from home's own checkout, never a worktree's environment - tests: interactive-sessions.wall-ci (new); the cap subtest keeps the first session busy explicitly instead of relying on timing Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
PR #1006 review b: IT-1's session start races its own setup, the default-on route breaks the thread card, and spin-down kills sessions mid-command
Scope: the session lifecycle, and regressions for existing fleets now that What I ran vs only readEvery test ran through Results:
Probes: a test file of my own in the scratch clone, using
Mutations, each restored afterwards:
Checked by reading or by hand:
CI at 38380f6: box-image, test and test-stress all succeeded. Findings
NotesMinor:
Could not check:
Opened by the box operator. Verdict: CHANGES 38380f6 |
…; sleep only when idle - A session start is marked (run/session-start) for as long as it runs, setup and the agent's trust command included, outside the short launch lock: a turn meanwhile is held, never a second start. A failed setup is said in the thread, exits 0, and runs again at the next start; only a worktree whose agent launched is resumed. - At the hard ceiling, a drained or parked fleet, or memory at its ceiling, the turn is held, the thread says it waits, and the tick starts the session once there is room. A held turn is never typed into a pane still at its shell. - Sessions sleep only as workers suspend: idle at the prompt, no child process. - The dashboard and its app copies read "this thread's agent" sends in plain words. - Close cleanup is judged on the worktree's HEAD and keeps detached, uncommitted or ignored work; the 7-day bound counts from the last start, sleep or turn; another harness is never resumed with the default claude --continue. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Implements ticket IT-1 of the approved design "interactive threads" (claude-in-a-thread.md rev 10.2, plan head 4dbe951d) in sanctuarycomputer/devteam-dev#840.
Merge condition: devteam-dev#840 merged (done).
What it does (stacked commits)
session-<thread id>, ranked like a ticket. It may writeturn,messageandobservationlines. The kit treats a process as that writer whenDEVTEAM_ROLE=sessionwithDEVTEAM_THREADis set, or when the checkout is on branchsession/<t>and no environment is set.thread reply(and--asks) works only in the session's own thread.supervisorOnlyandownerWriterrefuse it.asks,routed_session(own thread only) andproof(the owner's own turn and thread lines only).merge --session <t>: the wall.--approvedand--no-gates.scripts/, agent instructions, manifests and lockfiles, test-runner config and setup files, flaky lists, forge, bot and CI config, lint, type-check and format config, deploy config, secret files, gate-named paths, and a deleted test.ignored_checks) must report green at the PR's head. A green preview or bot status never stands in for the rest, and a head with none reported is refused. Checks from outside.github/count. CI files and folders count too:.github/workflows/,.circleci/,.buildkite/,.woodpecker/, Jenkinsfile,*-pipelines.yml, cloudbuild,.gitlab-ci.yml,.travis.yml,.drone.ymland appveyor. On forge git, a repo with CI refuses session PRs.[skip ci],[ci skip],[no ci],[skip actions],skip-checks: true) is refused../, as the program or as an argument (./gradlew,sh ./run-tests,node tools/x.mjs). A word names a folder only when it reads as a path, sonpm testdoesn't protecttest/. Build-tool config is protected too: vite, webpack, rollup, esbuild, tsup, babel, next, nuxt and svelte config, and.babelrc.merge-session, one of the kit's own act classes (KIT_ACT_CLASSESindevteam.mjs, added to the ladder's constitutional list where it is read). If the owner's constitution places the class anywhere, as owner-only or on the ladder, that placement wins.governance/constitution.mdis untouched.merge(every kind) andpinRecordsrefuse a branch whose origin tip isn't this box's local ref. One exception: origin's tip is that ref brought up to date with main the forge's way, meaning each step is one clean two-parent merge of main, with main read byls-remote.ownerTurnSignature(devteam-owner-turn-v1\n<port>\nowner\n…) signs/api/thread-sayand/api/thread-new, for the box's owner only.upstreamHeadersnow drops anyx-devteam-gateway-*header a client sends.thread sayandthread newcheck it against this press and this dashboard, accept each nonce once, and store the proof on the line.thread ask --turn <u> --paths <p,…>records one path list on the question line.answer --from-turnon such a question needs--said, re-checks the proof at the turn's own time, and refuses an unsigned, forged or off-box turn.merged-without-mergenow readsmerge-sessionacts. Where every landing is a merge commit (forge git, ormerge_methodmerge), it also raises any non-merge commit on main's first-parent line, i.e. a push to main.owner_sessions(default true, as the design has it;falseis the off switch),session_idle_minutes(20) andsession_max_live(2), with validation.docs/devteam/process/thread.mdandprompt thread --thread <t>. User-facing words say "thread" ("this thread's agent"); internal names stayDEVTEAM_ROLE=session,session/<t>,merge --sessionand thesessionwriter class.session start|stop|resume|state --thread <t>(start, stop and resume: the supervisor's, or the owner's own terminal, from home's own checkout; never another role or a worktree's environment) runs the session in tmux windowsession-<t>, worktree.worktrees/session-<t>, branchsession/<t>. On Claude Code, the session's deny rules are added on top ofworker_denied_commands:git update-ref*,git branch -f*, andgit pushtoticket/*,plan/*orchore-*.session watch --thread <t>starts (one per session, by a heartbeat file underrun/session-watch/). It checks every second and types the held turns once the session is idle (no busy marker and 10 s of silence) or at the 2-minute limit. It exits once nothing is held. The owner's next turn and the accounts tick still flush as before, as a backstop.session_max_livelive sessions, plus one more while every live session is mid-task.run/session-start/<name>.json, 20 minutes at most), worktree_setup andagent_trust_commandincluded, outside the short launch lock. A turn during a slow setup is held at once ("it is starting"), never a second start. A start in progress holds its place in the cap.run/session-launched/<name>) is resumed.session stop) only whenpaneIdleAtPromptholds andpaneAgentChildrenis 0; one starting never; one whose agent exited may be closed.session stopon one that isn't idle says it is kept.resume_commandat the kit's (Claude Code's) default and anagent_commandthat isn't Claude Code, the session restarts withagent_command, neverclaude --continue.max_active_tickets. This shows inready("N live thread sessions among them", andthread_sessionsin--json), next-step's "Waits for a worker slot", metrics' idle-capacity finding and the auto-start's room check. An asleep session holds none. The ceiling's extra session therefore takes the slot the next ticket would have started in.owner_sessionsis off. It removes an asleep worktree 7 days after its last start, sleep or thread turn (so a window that died unslept is bounded too), once its branch is pushed.merge-sessionact at the branch's tip), everything on its branch already on main, or (on GitHub) its PR closed unmerged with no open one (abandoned). This is judged on the worktree itself: a detached HEAD or one on another branch, a tip origin doesn't have, uncommitted or untracked work, or ignored files outsideworktree_files,worktree_copyand common dependency and build folders each keep the worktree. With forge git, a branch with unmerged work is never treated as abandoned; it waits for the 7-day limit.session-t-…is named "this thread's agent", never its raw id.metricsgainslatency.thread_sessions, also printed in its text. It covers the last 50 answered owner turns routed to their thread's own session: from the turn to that session's first reply, split into warm (IT-S1, target p50 ≤ 10 s, p90 ≤ 30 s) and cold, where the turn started or woke the session (IT-S2, target p50 ≤ 30 s, p90 ≤ 60 s). It also counts turns still waiting.cmdMerge's role check is nowmergeRoleCheck(): stillsupervisorOnly('merge'), the one place IT-3 opens formerge --session <own t> --turn <u>. Until then--turnis refused by name ("IT-3 of devteam-dev#840, not in this kit yet"), never ignored.ownerTurnSignature(gateway) andownerTurnSigned(kit) take an optional list of extra fields, bound into the signed bytes after the role, so IT-3 can add itsmerge:field. With none, the bytes are the v1 bytes unchanged (tested).IMAGE_RUNSoverride listsownerTurnSignedandownerTurnProofProblemand is re-pinned; G1's goldens are re-recorded (the three new settings, themerge-sessionlabel, and two push-to-main findings the G1 fixture's own direct commits cause).Departures from the design, and why
initsetowner_sessions: false(fleetFixture,bareProject, the machine fixture). Their tests check routing as it was before thread sessions, and with the setting on, the defaultagent_command(a real Claude Code) would be started in them. The interactive-sessions tests turn it on.merge-sessionis a kit act class, not a constitution entry. It is inKIT_ACT_CLASSES, whichladder()adds to the constitutional list it reads. Any act class needs to be on that list to count as the supervisor's own act, and constitution.md is governance, so this way needs no governance edit.LINE_MAX(4096 bytes). A 2000-byte turn plus its base64 body can exceed it. When it doesn't fit, the kit warns and keeps the turn unsigned, so it falls back to the Inbox. Nothing is ever signed wrongly.test/multirepo-home.records.test.mjshas a case where the records worktree pushed, then reset itself. That case is now refused by the ref check instead of by the records verdict, and its assertion is updated.merged-without-mergeruns only where every landing is a merge commit. With squash or rebase, a landing is a single commit that no act names by its sha. There, only merges are read, as before. Three existing tests filter out the new push-to-main findings that their own fixture setup commits cause:multirepo-landing,multirepo-home.workerandmultirepo-home.records. It is raised only for commits after the check reached main (upgradeAt).send supervisor --kind handoff. It does not usesession land --pr, because that command and thelandmessage kind are IT-3.agent_commandnamesclaudeby name or by path (/^(\S*\/)?claude/). This applies to sessions only; workers are unchanged.session watch), not a timer inside the dashboard. The kit already starts its detached work this way (the auto-start's worker launch). It needs nothing running beyond the turn that held the line, and stops when nothing is held.ignored_checks. That is the safe side of "every check green". The refusal names the check and says so.max_active_ticketsslot. The box-levelpool.json(pool@1) has no writer in the kit to add sessions to; itsworkerslist is unchanged.threadSessionsTick) and its ownworker-slotsacts (made|resumed|slept session …). It does not run throughsessionMarksandholdForSuspended, which are tied to the worker and planner roles. A turn for an asleep session wakes it directly.pathsare not treated as command-named paths in the protected set: the release setting has no command to read them from.Left undone (listed, not cut silently)
The hub's own window count (
ourWindows) doesn't yet tell thread sessions from workers; the project's ready/metrics/auto-start counts do.Warm or cold is decided from the session's state at the turn; a session put to sleep between the turn and its typing counts as warm.
The live/asleep/closed badge on the thread is IT-2's ("the thread's state badge" in IT-2's row). Here only
session state --thread <t>shows the state.IT-2 and IT-3 parts mentioned near IT-1 in the text:
session land, start/land/close messages, the owner's-wordmerge --chore --approvedpaths refusal, and the matching quality.md §4 and supervisor.md §5 paragraphs (IT-3).Tests
New:
test/interactive-sessions.roles.test.mjs: the writer class and the role check, by role and bysession/worktree;--asks; send rules; the integrity cases.test/interactive-sessions.wall.test.mjs:CODEOWNERS, a gate's script, a deleted test);--approvedand--no-gatesrefused;--turnrefused as IT-3's;gh: checks from outside.github/, none reported refused, green passes, no CI passes;test/interactive-sessions.pushed.test.mjs:ticket/<id>;test/interactive-sessions.signed.test.mjs:thread ask --turn --pathsandanswer --from-turn --said;ask --pathswithout--turn;merged-without-mergeon a push to main.test/interactive-sessions.sessions.test.mjs(tmux, a stand-in agent):prompt threadrenders;ready,ready --json);resume_command;owner_sessionsis off;test/interactive-sessions.wall-ci.test.mjs(new, from review a):./gradlew,./check,node tools/lint.mjsandsh run-tests;npm testnaming no folder;.circleci/counted as CI; build-tool config refused;merge-sessionconstitutional by default, and the owner'sowner_onlywinning.test/interactive-sessions.start.test.mjs(new, from review b): a slow setup held past the 10 s lock bound with a turn meanwhile held at once and one launch; a failed setup said in the thread, exit 0, then set up again and made afresh; another harness resumed withoutclaude --continue; memory at its ceiling: the turn waits, said in the thread, and the tick starts it once there is room; a dead window's worktree removed 7 days after the thread's last turn.test/interactive-sessions.card.test.mjs(new, from review b): the send parser and the card's plain lines for this thread's agent (sent, starting, at work, waits, couldn't start, landed, overdue), never a raw id.test/interactive-sessions.sessions.test.mjsgains (review b): the hard ceiling now waits, said in the thread, and the tick starts it once one is idle; a session running a quiet child process at its prompt is never put to sleep; close cleanup keeps a detached HEAD and ignored work.claude --continueinto the fixture's pane.test/auto-start.rules.test.mjs(new case): live thread sessions fill the cap with the workers, and the refusal names them.test/gateway-terminal.test.mjs(new case): the owner's turns are signed underdevteam-owner-turn-v1with the role in the bytes; a full-level non-owner's turns go unsigned, with their forged headers dropped.Updated:
test/multirepo-landing.test.mjs,test/multirepo-home.worker.test.mjs,test/multirepo-home.records.test.mjs,test/multirepo-home.left.test.mjs(a local ref reset behind origin is now refused by the ref check; the case then deletes the local ref so the PR head alone decides, as before),test/session-threads.test.mjs(the integrity message names the thread's own session; its split overlay copy and ledger entry follow),test/dashboard-data.test.mjs(settings 71 → 74, value-kind 54 → 57),test/lib/kit.mjsandtest/lib/machine-fixture.mjs(sessionsOff),test/fixtures/g1/*andtest/split/overlay/apps-serve/overrides/IMAGE_RUNS.mjs.Run here (on the box, through the test slots,
DEVTEAM_BOX=off, own hub port): every file above, plus the merge, records and session-thread files near the change. On this box,gateway-terminal(A9),owner-setting.page(cases 2–4) andcompound-box.filesfail on an untouched origin/main in the same way, because of the box's own hub. CI runs the whole suite.Could not be tested here:
thread saypath end to end (the gateway's signing and the CLI's checks are tested separately, and the dashboard's forwarding of the headers is not covered by a test);session_idle_minutes(1 minute at least), and the 7-day removal of a slept session (the dead-window case is tested with a turn written 8 days back);Opened by the box operator.
🤖 Generated with Claude Code