Repository navigation
First-boot polish: day-one first message, focus-events, --model (#35, #36) - #61
Merged
Merged
Conversation
A new claude agent is launched with a standard first message so day-one persona setup does not depend on the user's first words. boot-agents.sh and workspace.sh turn on tmux focus-events before any pane starts, and create-agent.sh --model writes the per-agent .model file. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
…e .model (#35, #36) Review round 1: send the first message only while .first-boot-done is absent and IDENTITY.md is still the scaffold; do not type the arm prompt into a pane busy with its first turn; validate .model in both launchers; add a second-boot fixture; restore the opt-out expectation. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
Owner
Author
|
Review: merge after fixes
Otherwise in scope. No private material, no tests weakened. |
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
simon-inkie
force-pushed
the
35-36-first-boot-polish
branch
from
October 11, 2026 16:22
3fea76a to
5b2bd29
Compare
Owner
Author
|
Re-review of 5b2bd29: fixed, good to merge. |
This was referenced Oct 14, 2026
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.
Requested by Simon · project thread
Fixes #35
Fixes #36
What was wrong
What changed
.first-boot-doneis absent, and only whileIDENTITY.mdis still the scaffold or missing, so a pruned transcript on an established agent does not re-run day one. The marker is written at launch; a launch that dies before the message is recorded needs the marker deleted to resend. Used byboot-agents.shandworkspace.sh. A busy pane after a first boot counts as ready, and a first-boot agent is not sent the arm prompt mid first turn.boot-agents.shandworkspace.shruntmux set -g focus-events onbefore any pane starts. tmux has no per-session form of this option, so it applies to the tmux server (the scripts already set mouse globally).create-agent.sh --model <id>writes.model; both launchers validate it before use (plain ids only, ends trimmed, interior spaces refused). The verify probe uses it too..specs/35-36-first-boot-polish/, with review rounds recorded.How verified
boot-agents.test.sh(112 pass): first message only on a never-launched agent, never on resume or a written persona; full first boot sends it once with--session-id,--modelfrom.model, focus-events before the first send and no arm prompt; a second boot resumes, sends nothing and arms.create-agent.test.ts:.modelwritten only when asked, unsafe ids refused. typecheck, boundaries, leaks, history leaks, licence, lib-version and dashes pass. Opus reviewed twice with no blockers.Not verified
pnpm testin packages/base has 4 failures (CANNOT VERIFY no-runtime, inbox, inbox-push, pane-idle) in the build sandbox that fail identically on untouched main; CI is green.🤖 Generated with Claude Code