Repository navigation
docs: restructure firstmate agent guidance - #79
Merged
Merged
Conversation
leo1oel
added a commit
to leo1oel/nemo
that referenced
this pull request
Jun 26, 2026
Port upstream kunchenguid#79's agent-guidance restructure, adapted to the Claude-only herdr fork: relocate the detailed, situation-specific guidance out of AGENTS.md into on-demand skill files, leaving slim pointers in the manual. - .agents/skills/harness-adapters (new): the Claude Code adapter facts (busy signature, exit, interrupt, skill invocation, trust/bypass dialog, root/sudo IS_SANDBOX forwarding, ghost-text quirk + detector). Claude-only, herdr terminology - not upstream's four-harness, tmux version. - .agents/skills/stuck-crewmate-recovery (new): the stuck-direct-report playbook. - .agents/skills/secondmate-provisioning (new): routing table, fm-home-seed, idle-by-default contract, and fm-backlog-handoff. - AGENTS.md sections 4/6/8 slimmed to pointers (624 -> 589 lines); fm-spawn.sh comment refs now point at the harness-adapters skill. The agent-only skills carry user-invocable: false. No functional change. Validation: shellcheck clean, full suite green (88 checks), no dangling refs.
This was referenced Aug 9, 2026
This was referenced Aug 11, 2026
This was referenced Aug 12, 2026
This was referenced Oct 7, 2026
|
From #55 (sign-in, PR pending): |
fritznoff
pushed a commit
to fritznoff/starship
that referenced
this pull request
Nov 2, 2026
* Split the portable-serial CI lane so new tests stop tripping the hang cap. The unsharded remainder was running ~19-20 minutes on main; two LPT-balanced serial shards land near 10 minutes each and restore headroom under the original 20m tripwire. Co-authored-by: Cursor <[email protected]> * no-mistakes(document): Clarify the retired unsharded serial lane * no-mistakes: apply CI fixes --------- Co-authored-by: Cursor <[email protected]>
fritznoff
pushed a commit
to fritznoff/starship
that referenced
this pull request
Nov 18, 2026
starship layout no longer asks Terminal off macOS, where there is no osascript, and layout --save writes config/desk-layout only once the reading succeeded, so a failed reading never leaves an empty file the way the documented redirect did. starship installs the bridge strip or Factory pane plugin itself when Herdr lists none by that id, before showing its pane. This sits in the desk rather than the setup scripts because the desk already needs Herdr running and the owner's home, covers homes set up before this change, and works the same on every platform.
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.
Intent
Restructure firstmate's safety-critical AGENTS.md to be tighter and partly skill-extracted without behavioral loss, following the audit report at /Users/kunchen/github/kunchenguid/firstmate/data/agents-trim-a3/report.md plus the captain's deviations. Implement all lossless consolidation in AGENTS.md; create exactly three new agent-only skills with user-invocable: false for harness-adapters, stuck-crewmate-recovery, and secondmate-provisioning; fold afk daemon internals into the existing user-invocable /afk skill instead of creating afk-supervision; keep backlog/tasks-axi command mapping and project clone/create/init mechanics inline; preserve load-bearing safety reinforcements for never writing projects, yolo escalation limits, teardown protection, secondmate idle behavior, afk approval authority, and watcher drain-first/re-arm-last behavior. Preserve CLAUDE.md and .claude/skills symlinks, validate shell syntax and tests, then publish through no-mistakes as a PR for captain review.
What Changed
AGENTS.mdinto dedicated agent-only skills for harness adapters, stuck crewmate recovery, and secondmate provisioning, while retaining the existing user-invocable/afkskill for away-mode supervision internals.Risk Assessment
✅ Low: Captain, risk is low because this is a docs-only extraction and the load-bearing procedures are either still inline or moved into explicitly triggered, non-user-invocable skills.
Testing
Inspected the target/base diff, ran the full existing shell behavior suite live and again into an evidence transcript, then generated a contract evidence report for the doc and skill surfaces; all checks passed, the worktree stayed clean, and separate shell syntax/static checks were not run because the prompt forbade static analysis.
Evidence: Behavior test transcript
Evidence: AGENTS restructure contract evidence
Pipeline
Updates from git push no-mistakes
✅ **intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
✅ **Review** - passed
✅ No issues found.
✅ **Test** - passed
✅ No issues found.
git status --short && git rev-parse HEAD && git merge-base HEAD e4d236bdc96be74863fe59b0a333bb94fb4cf3ddgit diff --stat e4d236bdc96be74863fe59b0a333bb94fb4cf3dd..HEADgit diff --name-status e4d236bdc96be74863fe59b0a333bb94fb4cf3dd..HEADfind . -maxdepth 3 -type l -lsandreadlinkchecks forCLAUDE.mdand.claude/skillsfor t in tests/*.test.sh; do bash "$t"; donefor t in tests/*.test.sh; do bash "$t"; done > /var/folders/5x/4nqprlbx0518k3ybcb1sz6gr0000gn/T/no-mistakes-evidence/01KVYS9QTF0ZWS5K5TEVQMHYQA/behavior-test-transcript.txt 2>&1Generated/var/folders/5x/4nqprlbx0518k3ybcb1sz6gr0000gn/T/no-mistakes-evidence/01KVYS9QTF0ZWS5K5TEVQMHYQA/agents-restructure-contract-evidence.mdto verify the three new agent-only skills, retained/afkuser-invocable skill, symlinks, and inline safety anchors.✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.