Repository navigation
Act on the fleet-run feedback: thread wakes, rotation, handoffs, guards - #78
Merged
Merged
Conversation
A room reply wakes only the seats that wrote a waking post in that thread and the seats it names as @name; a new post still wakes every other alive seat. Rotation over a role's pair list now counts that role's spawns in the fleet, stored in the registry's rotation record, so each lead respawn takes the next entry and an edited list starts at its first entry. Spawn and roster add/update warn when a model is not in that harness's models. The lead can answer the human with `foil send user`, read outside the fleet with `foil mail list`. Each seat's git runs Foil's pre-commit and pre-push hooks, set only in the seat's environment, which refuse a commit outside the seat's worktree and private text in a commit or push, then run the repository's own hooks. The skills describe a handoff file for a seat near a full context. Refs #69. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01C1NdtWX7xJPttvLUXwm4Xk
…rough Compute the repository's own hooks path at hook time without Foil's GIT_CONFIG variables, so a seat spawned by the lead still chains them. Run the checks only where the common dir is the project's, write a pass-through hook for every client hook name, replace a hook only when its text changed, anchor the token patterns, skip trailer lines for the email check, and bound the push scan by the remote's old tip. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01C1NdtWX7xJPttvLUXwm4Xk
…ks race-free Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01C1NdtWX7xJPttvLUXwm4Xk
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.
Closes #69.
What changes
foil post --rewakes only the seats that wrote a waking post in that thread and the seats its text names as@name. A new post still wakes every other alive seat. A decline, and a hand-written file withoutcontract: room/v1, do not join a thread. No hard cap.rotationrecord with the lists it counts for. A killed or archived seat still counts, every lead respawn takes the next entry, and an edited list (mapping or fleet overrides) starts again at its first entry. Resume does not advance it. The viewer's Rotation line marks the entry the next seat takes.roster add/updateprint one warning line when a model is not in that harness'smodels, naming the ids it lists, and still launch or write it (there is no--forceflag in the fixed command surface).foil send user. That mail lands inboard/mail/user/and nudges nothing. Outside the fleet,foil mail listlists that mailbox. The operator skill reads it at each check-in.--name useris refused.GIT_CONFIG_COUNT/KEY/VALUEin the seat's environment only. Nothing is written to the repository, its config, or its hooks (F7). In the project's repository,pre-commitrefuses a commit outside the seat's worktree and staged lines that add a home directory path, the hostname, a non-noreply git email, or a token.pre-pushscans each pushed commit that is on no remote (at most 200 per ref). Every client hook name passes through to the repository's own hook, found without Foil's variables. Other repositories a seat creates or tests get pass-through only.board/handoffs/<name>.mdand mails the lead, which kills it and spawns a new seat from the file. The lead writesboard/handoffs/lead.mdand sendsuser, and the operator replaces the lead. Foil does not read context use.docs/requirements.md (F3, F14, F21, F23, F30, F33, F38 info texts, new F40, sections 6, 7, 8, 11), the three skills, both READMEs, docs/architecture.md, and CHANGELOG.md are updated.
Verification
pytest -m "not e2e_live"withouttests/test_view_browser.py: 563 passed. The browser tests were not run here because this container's Playwright Chromium build does not match the locked version. CI runs them.ruff check .is clean.usermailbox and its authority, and the hooks against real git: refusals, chaining (including from a seat that spawned a seat), another repository, and false positives such asrisk-assessment-...and aSigned-off-bytrailer.Generated by Claude Code