Repository navigation
A worktree runs the main checkout's kit; a move names missing pinned tools - #92
Merged
Merged
Conversation
…tools A branch that forked before a kit upgrade carried the old devteam.mjs, so a worker resumed on it after a move got "unknown command" for `handoff`, which worker.md names, and folded the shared live log by the old schema and trust ladder. In a project, a worktree's copy now re-execs the main checkout's when they differ (DEVTEAM_OWN_KIT=1 opts out), and the rules and dashboard always come from the kit that runs. The kit's own repo is untouched: it has no project/, and its worktrees are where the kit is changed. On a fresh machine worktree_setup failed under the system Ruby because the pinned one wasn't installed yet, which read like a project bug. The new-machine prompt, fleet unpark, and a failed worktree_setup now name the .tool-versions pins that asdf or mise hasn't installed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nothing Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A random port in 4400-5399 could land on a listener the machine already has: macOS's AirPlay receiver holds 5000 and answers 403, which passed the startup probe and failed the dashboard review test on a Mac. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Member
Author
|
Review (upstream loop), as author, so it was adversarial on purpose:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two problems from moving the Stacks fleet to a new machine (parity 4d61afac671e9c09 matched; the restarts didn't go cleanly).
What
docs/devteam/project), a worktree's copy of the script re-execs the main checkout's copy when the two differ.DEVTEAM_OWN_KIT=1opts out. The kit's own repo is untouched: it has noproject/, and its worktrees are where the kit is changed.kitDir(the running kit). The schema, the constitution's ladder and the dashboard are read from it.devteamDirstays the checkout's, forproject/(the branch's tickets and plans) andkitRel.missingPins/pinsHint: the.tool-versionspins this machine's asdf, or else mise, hasn't installed. A manager that isn't installed (ENOENT) passes to the next; a probe that times out counts as installed. The hint is named in three places: the new-machine supervisor prompt (step 0),fleet unpark(before the restart commands), and a failedworktree_setup.handoff) fails as it should underDEVTEAM_OWN_KIT=1and runs main's kit by default. A fake asdf reports a missing pin in the prompt and in unpark. Dashboard tests take a free port from the OS: macOS's AirPlay receiver holds 5000 and answers 403, which flaked the review test on a Mac.Why
devteam.mjs. After the move, a worker resumed on such a branch gotunknown command "handoff"for a command worker.md names. It also folded the shared live log under the old schema and trust ladder. Every session writes one live log, so every session should run main's rules.worktree_setupfailed under the system Ruby 2.6, because the pinned 3.4.12 wasn't installed yet. It read like a project bug. The move checklist says toasdf install, but nothing checked it.Authority
The re-exec only ever moves toward the main checkout's kit. A worker can't pick its branch's rules except through
DEVTEAM_OWN_KIT=1, and the rules it gets that way are what the branch's script ran before this change. Reading the constitution from the running kit rather than the checkout means a branch that edits its ownconstitution.mdno longer changes the ladder the main checkout's script applies.Migration
None. A session that deliberately runs a branch's newer kit from a worktree (a kit-sync chore trying its new commands before merge) sets
DEVTEAM_OWN_KIT=1.Tests
Run sequentially on this machine: Node 20.19.6 42/42. Node 18.20.4 40/42 before the port fix, and both failures were the AirPlay port collision. Node 24.14.1 running.
🤖 Generated with Claude Code