Repository navigation
docs: restructure firstmate documentation - #82
Conversation
Trim README from 267 to 138 lines by relocating reference material into a new docs/ tree and CONTRIBUTING, with no information loss: - docs/architecture.md: the How It Works internals (supervision engine, secondmates, project modes, fleet sync, self-update, dev notes). - docs/configuration.md: config prose, FM_HOME, harness support, the full toolchain list, and the env-var reference block (verbatim). - docs/scripts.md: the bin/ toolbelt table (verbatim). - CONTRIBUTING.md: fold in the foreground/no-mistakes-gate prose and the dev/test command block (verbatim), which it previously lacked. Rewrite README to: tightened pitch, one-line feature bullets, merged Quick Start + Install, How It Works reduced to diagram + synopsis, a Documentation section linking the new docs, and Contributing + License sections. Keep the user-invocable slash-command table front-and-center. Reference AGENTS.md by topic, not section number, so it stays robust to the AGENTS restructure.
…chenguid#82) (#9) Port upstream kunchenguid#82, adapted to the herdr fork. Trim the README from 233 to ~143 lines by relocating reference material into a new docs/ tree, with no info loss. - docs/architecture.md: the How It Works internals (event-driven supervision, away-mode, worktrees, task shapes, project modes, secondmates incl. the spawn-time local-HEAD sync, project memory, fleet sync, self-update, restart). - docs/configuration.md: AGENTS.md, the tasks-axi backend, captain prefs, secondmate routes, FM_HOME, harness support, and the full env-var reference (now including FM_SEND_SETTLE and FM_MAX_DEFER_SECS). - docs/scripts.md: the bin/ toolbelt table (now lists fm-ff-lib, fm-tangle-lib, fm-tasks-axi-lib, fm-backend). - README: tightened How It Works to diagram + synopsis, added a Documentation section linking the tree, noted the agent-only reference skills, and a Contributing section. - CONTRIBUTING: folded in the Development/dev-test block from the README. - docs/ added to the tracked shared-material lists (AGENTS.md, CONTRIBUTING) and the layout map. Docs-only; shellcheck clean, full suite green (88 checks), all internal links resolve.
Read first: GitHub Actions is currently disabled for this organizationEvery job of this workflow fails to start with "recent account payments have failed or your spending limit needs to be increased". Settings to flip (none of them were changed by this PR):
After that, re-run this PR's workflow once to confirm |
|
Completed by https://github.com/noppGithub/tourround/pull/156 (tee-time and shotgun generation seat every player once honouring division, team, handicap balance, requested partners and keep-apart rules; manual moves persist with undo, locks and a keyboard alternative). |
1 similar comment
|
Completed by https://github.com/noppGithub/tourround/pull/156 (tee-time and shotgun generation seat every player once honouring division, team, handicap balance, requested partners and keep-apart rules; manual moves persist with undo, locks and a keyboard alternative). |
) * fix(watch): survive an interrupted PR check migration sweep An interrupted migration left a state where every watcher start took the full sweep before it could take the lock or beat. That lost the arm's confirmation race every time and reported a generic confirmation timeout, so supervision stayed down for 30 minutes behind a message that pointed at an external killer. - fm-pr-check-migrate.sh publishes state/.pr-check-migration.progress naming the live sweep process for the whole full-sweep path, and clears it on every exit path. The record is advisory, so failing to write it never stops a migration. - fm-watch-arm.sh extends its confirmation window by FM_ARM_MIGRATION_GRACE while that sweep is provably running, instead of stopping its own healthy child, and names the sweep when it still cannot confirm within the extension. A record naming a dead pid buys nothing and keeps the missing-beacon wording. - fm-wake-lib.sh gains fm_lock_reclaim_orphans, run at watcher and arm startup: it drops a lock whose recorded holder is provably dead and removes owner staging dirs no lock points at whose recorded holder is dead, which a process killed mid-acquire otherwise leaves behind for good. It reuses the steal path's staleness proof, so a live holder or an acquire still in flight is never touched. Regression coverage in tests/fm-watcher-lock.test.sh parks a real migration mid-sweep to prove the extended window and the new wording, interrupts a real sweep and re-arms to prove recovery, and drives the startup reclaim through both the watcher and the arm while artifacts still in use survive. * no-mistakes(review): Captain: fix migration confirmation and cleanup races * no-mistakes(review): Use per-process migration progress records * no-mistakes(document): Document adapter timeout limit and regression coverage
… step (kunchenguid#82) * chore(no-mistakes): run only the branch's own tests in the local test step The local test step now runs the test files a branch adds or changes plus tests/<name>.test.sh for each changed script, and leaves the wider changed-file selection and the complete suite to the hosted checks. It falls back to the previous judgment-led run when the change touches the test runner, its selection data or a shared library, or touches code with no local test. The contract test checks that every path the instructions name exists. * no-mistakes(review): map backend tests and correct the hosted CI claim * no-mistakes(lint): silence SC2016 on embedded Ruby in test contract
|
Added in f63fc93: when the backlog line has no
On today's real data, 8 of the 132 tasks behind recent messages get a recipe. No brief written on 28 Nov has a |
Intent
Two related docs-only changes shipped together in one PR. CHANGE 1 (README restructure): Restructure firstmate's README.md from a bloated 267-line document into a tight ~138-line overview that links out to detailed docs, with zero information loss, following an audit report's relocation map exactly. Created a new docs/ tree - docs/architecture.md, docs/configuration.md, docs/scripts.md - and moved the flagged reference chunks there verbatim before tightening prose. Folded the dev/test command block and the foreground-discipline / no-mistakes-gate prose into CONTRIBUTING.md, which previously lacked the actual test/lint commands. Rewrote README to: tightened pitch, one-line feature bullets, merged Quick Start + Install, How It Works reduced to the ASCII diagram plus a short synopsis, a new Documentation section linking the new docs, a Contributing pointer, and a new License section (LICENSE file existed but README never mentioned it). Constraint: relocate never delete - every relocated chunk stays reachable from the README via a working link. CAPTAIN'S EXPLICIT REQUIREMENT: the user-invocable slash-command table (/afk, /updatefirstmate) stays as a real readable TABLE in the top-level README, scoped to user-invocable skills only. COORDINATION with an in-flight AGENTS.md restructure: reference AGENTS.md by TOPIC never by section number - deliberately dropped the old hardcoded section 4 harness reference and used topic-based links so either change can land first without breaking a cross-reference. CHANGE 2 (banner swap): replaced the README hero banner with a new image - copied a new assets/banner.png, updated the README img src from assets/banner.jpg to assets/banner.png, and git-rm'd the old assets/banner.jpg. No remaining references to the old jpg. This is entirely a docs/assets change (README.md, CONTRIBUTING.md, docs/*.md, assets/banner.png); no code or behavior changes.
What Changed
Risk Assessment
✅ Low: Captain, this is a docs and asset restructure with relocated links and named test references checked, and I found no material merge-blocking risks.
Testing
Captain, I exercised the docs change end to end by confirming the committed diff scope, validating the README restructure, banner swap, reachable local links, slash-command table, and CONTRIBUTING command relocation, then produced rendered README evidence and left the worktree clean; no failures or missing evidence remain.
Evidence: Rendered README preview
/var/folders/5x/4nqprlbx0518k3ybcb1sz6gr0000gn/T/no-mistakes-evidence/01KVZTXYT0D019265RPJJPA4RM/banner.png)Evidence: Docs validation output
README docs validation passed: 141 README lines, 19 local links/assets resolved, skill table rows = /afk, /updatefirstmate, banner = assets/banner.pngPipeline
Updates from git push no-mistakes
✅ **intent** - passed
✅ No issues found.
🔧 **Rebase** - 1 issue found → auto-fixed ✅
README.md- merge conflict rebasing onto origin/main🔧 Fix applied.
✅ Re-checked - no issues remain.
🔧 **Review** - 1 issue found → auto-fixed (4) ✅
CONTRIBUTING.md:67- The contributor checklist now tells users to runtests/fm-secondmate.test.sh, but that file does not exist in this tree. Replace it with the current secondmate suites,tests/fm-secondmate-lifecycle-e2e.test.shandtests/fm-secondmate-safety.test.sh, or rely only on the glob loop.🔧 Fix: Fix stale secondmate test checklist
1 warning still open:
docs/configuration.md:40- The relocated harness support docs now say the adapter tables live inAGENTS.md, but the authoritative supervision facts live in.agents/skills/harness-adapters/SKILL.mdwhile launch mechanics live inbin/fm-spawn.sh. Point this section back to those files so future harness changes land in the right place.🔧 Fix: Fix harness documentation ownership
1 warning still open:
CONTRIBUTING.md:62- The targeted test checklist now attributes watcher-lock, daemon classifier, /afk/max-defer, and fm-send submit coverage totests/fm-wake-queue.test.sh, but that file explicitly says those live intests/fm-watcher-lock.test.shandtests/fm-daemon.test.sh, with lifecycle coverage intests/fm-wake-daemon-lifecycle-e2e.test.sh. Contributors validating those areas from the checklist will run the wrong targeted suite; restore the individual commands/descriptions or limit this line to actual wake-queue coverage.🔧 Fix: Correct targeted test checklist
1 warning still open:
CONTRIBUTING.md:62- The relocated targeted test checklist dropstests/fm-spawn-batch.test.sh, even though the old README block named it and the test still exists. The glob loop still runs it, but contributors validating batch dispatch or FM_HOME project-path scoping from this checklist will miss the targeted suite; add the missing line back.🔧 Fix: Restore spawn batch checklist reference
✅ Re-checked - no issues remain.
✅ **Test** - passed
✅ No issues found.
git diff --stat ff353de41ef33dea70a3726900543c04f97c4e4d...5c20d7f8da7efbfd8e2c3f1808c7b0e00d154cb7andgit diff --name-status ...to confirm the change surface was docs and assets only.wc -l README.md CONTRIBUTING.md docs/architecture.md docs/configuration.md docs/scripts.mdto verify the restructured README size and new docs files.file assets/banner.pngplus targetedrgchecks acrossREADME.md,CONTRIBUTING.md, anddocs/forassets/banner.png,banner.jpg, docs links, license link, and slash-command entries.Ad-hoc Node docs validation script that resolved all local README/docs/CONTRIBUTING links and image targets, assertedassets/banner.pngexists whileassets/banner.jpgis absent, asserted the README built-in skills table contains only/afkand/updatefirstmate, verified CONTRIBUTING contains the moved dev/test command block, and generated reviewer evidence files.rg -n "<table|<td><code>/afk|<td><code>/updatefirstmate|src=\"banner\.png\"" /var/folders/5x/4nqprlbx0518k3ybcb1sz6gr0000gn/T/no-mistakes-evidence/01KVZTXYT0D019265RPJJPA4RM/README-rendered.htmlto confirm the evidence preview renders the banner and command table visibly.git status --shortandfind . -maxdepth 2 \( -name '.DS_Store' -o -name 'node_modules' -o -name '.cache' -o -name 'coverage' -o -name 'dist' -o -name 'tmp' \) -printto verify no transient working-tree artifacts were left behind.✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.