Skip to content

docs: restructure firstmate documentation - #82

Merged
kunchenguid merged 7 commits into
mainfrom
fm/readme-restructure-d3
Jun 25, 2026
Merged

kunchenguid merged 7 commits into
mainfrom
fm/readme-restructure-d3

Conversation

@kunchenguid

Copy link
Copy Markdown
Owner

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

  • Restructured the top-level README into a concise overview that links to new detailed docs for architecture, configuration, and scripts.
  • Moved contributor development and validation guidance into CONTRIBUTING.md, including targeted test command references corrected during review.
  • Replaced the README banner JPG with the new PNG asset and updated documentation references accordingly, captain.

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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>README rendered evidence - firstmate</title>
<style>
:root { color-scheme: light; --fg: #24292f; --muted: #57606a; --border: #d0d7de; --bg: #ffffff; --accent: #0969da; }
* { box-sizing: border-box; }
body { margin: 0; background: #f6f8fa; color: var(--fg); font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
main { max-width: 980px; margin: 32px auto; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 40px 48px; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.25; margin: 24px 0 12px; }
h1 { font-size: 2rem; margin-top: 0; }
h2 { border-bottom: 1px solid #d8dee4; padding-bottom: .3em; font-size: 1.5rem; }
p { margin: 0 0 16px; }
ul { padding-left: 1.5rem; }
li + li { margin-top: 6px; }
img { max-width: 100%; height: auto; }
pre { background: #f6f8fa; border-radius: 6px; padding: 16px; overflow: auto; border: 1px solid #d8dee4; }
code { font: 85% ui-monospace, SFMono-Regular, SFMono-Regular, Consolas, monospace; background: rgba(175,184,193,.2); padding: .2em .4em; border-radius: 6px; }
pre code { background: transparent; padding: 0; }
table { width: 100%; border-collapse: collapse; margin: 16px 0; table-layout: fixed; }
th, td { border: 1px solid var(--border); padding: 8px 10px; vertical-align: top; }
th { background: #f6f8fa; text-align: left; }
.note { margin: -16px 0 24px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 6px; background: #fff8c5; color: #3b2f00; }
</style>
</head>
<body>
<main>
<div class="note">Rendered local README evidence for commit 5c20d7f8da7efbfd8e2c3f1808c7b0e00d154cb7. The banner below is loaded from the copied evidence asset <code>banner.png</code>; local documentation links are preserved.</div>
<h1 align="center">firstmate</h1>
<p align="center">
  <a
<p>href=&quot;https://img.shields.io/badge/platform-macOS%20%7C%20Linux-blue?style=flat-square&quot;</p>
    ><img
<p>alt=&quot;Platform&quot; src=&quot;https://img.shields.io/badge/platform-macOS%20%7C%20Linux-blue?style=flat-square&quot; /&gt;&lt;/a&gt;</p>
  <a href="https://x.com/kunchenguid"
    ><img
<p>alt=&quot;X&quot; src=&quot;https://img.shields.io/badge/X-@kunchenguid-black?style=flat-square&quot; /&gt;&lt;/a&gt;</p>
  <a href="https://discord.gg/Wsy2NpnZDu"
    ><img
<p>alt=&quot;Discord&quot; src=&quot;https://img.shields.io/discord/1439901831038763092?style=flat-square&amp;label=discord&quot; /&gt;&lt;/a&gt;</p>
</p>
<h3 align="center">Talk to one agent. Ship with a crew.</h3>
<p align="center">
  <img alt="firstmate - talk to one agent, ship with a crew" src="banner.png" width="100%" />
</p>
<h2>What it is</h2>
<p>You can run one coding agent easily. But the moment you want three project tasks done in parallel - fixes, investigations, plans, audits - you become a tab-juggler: babysitting sessions, copy-pasting context between repos, forgetting which terminal had the failing test.</p>
<p>firstmate flips the model. You talk to a single agent - the first mate - and it runs the crew for you: spawning autonomous agents in tmux windows, giving each a clean git worktree, supervising them to completion, and handing you finished PRs, approved local merges, or standalone investigation reports. For larger fleets, you can opt in to persistent secondmates: domain supervisors that are still ordinary direct reports, but run from their own isolated firstmate homes. There is no app to install; the orchestrator is <code>AGENTS.md</code>, bundled skills, and helper scripts that any terminal coding agent can follow.</p>
<p>This is not an agent harness. This is not a single skill. This is not a CLI. This is.. a directory that turns any agent into your firstmate, and you the captain.</p>
<h2>Features</h2>
<ul>
<li><strong>One liaison</strong> - you talk only to the first mate; it dispatches, supervises, escalates only real decisions, and reports plain outcomes.</li>
<li><strong>A visible crew</strong> - every crewmate works in its own tmux window you can watch or type into; the first mate reconciles.</li>
<li><strong>Disposable worktrees</strong> - each task runs in a clean <a href="https://github.com/kunchenguid/treehouse">treehouse</a> git worktree, so parallel work on one repo never collides.</li>
<li><strong>Two task shapes</strong> - ship tasks deliver a change; scout tasks investigate, plan, reproduce, or audit and leave a report.</li>
<li><strong>Explicit project modes</strong> - each project ships via <code>no-mistakes</code>, <code>direct-PR</code>, or <code>local-only</code>, with an optional <code>+yolo</code> autonomy flag.</li>
<li><strong>Optional secondmates</strong> - opt in to persistent domain supervisors that run from isolated firstmate homes with their own <code>FM_HOME</code>, state, projects, and session lock.</li>
<li><strong>Event-driven, zero-token supervision</strong> - a bash watcher sleeps on the fleet and wakes the first mate only when something needs you.</li>
<li><strong>Guarded by construction</strong> - the first mate is read-only over your projects outside clean default-branch refreshes, safe branch pruning, and approved <code>local-only</code> fast-forward merges; crewmates make every project change behind your merge approval.</li>
<li><strong>Restart-proof</strong> - all state lives on disk and in tmux; kill the session anytime and the next one reconciles and carries on.</li>
</ul>
<p>Full detail on every feature lives in <a href="../../../../../../../Users/kunchen/.no-mistakes/worktrees/016d88035d58/01KVZTXYT0D019265RPJJPA4RM/docs/architecture.md">docs/architecture.md</a>.</p>
<h2>Quick Start</h2>
<p><strong>Requirements:</strong> a verified agent harness (claude, codex, opencode, or pi), git with GitHub auth, and tmux for the crew windows. The first mate detects and offers to install everything else.</p>
<pre><code>gh auth login
git clone https://github.com/kunchenguid/firstmate
cd firstmate &amp;&amp; claude   # launch your harness here; AGENTS.md takes over</code></pre>
<p>Then just talk:</p>
<pre><code>&gt; ahoy! look at my github project xyz, then fix the flaky login test and add dark mode

# firstmate checks its toolchain (asking your consent before installing anything),
# clones the project under projects/, and spawns two crewmates in tmux windows
# fm-fix-login-k3 and fm-dark-mode-p7.
# Minutes later:

  PR ready for review, captain: https://github.com/you/xyz/pull/42
  (fix flaky login test - risk: low - CI green)

&gt; alright merge it</code></pre>
<p>Run it inside tmux for the best experience: launching your harness from inside tmux puts every crewmate window in your own session, where you can watch the crew work in real time or type into any window to intervene. Outside tmux, crewmates land in a detached <code>firstmate</code> session you can attach to.</p>
<h2>How It Works</h2>
<pre><code>            you (the captain)
                  │  chat: requests, decisions, &quot;merge it&quot;
                  ▼
 ┌─────────────────────────────────────┐
 │ firstmate            (this repo)    │
 │ reads projects/ + firstmate routes  │
 │ writes guarded backlog/briefs/state │
 └──┬──────────────┬───────────────┬───┘
    │ tmux send-keys / status files │
    ▼              ▼               ▼
 ┌────────┐   ┌────────┐      ┌────────┐
 │fm-task1│   │fm-task2│  ... │fm-taskN│   tmux windows you can watch
 │crewmate│   │crewmate│      │crewmate│   one autonomous agent each
 └───┬────┘   └───┬────┘      └───┬────┘
     ▼            ▼               ▼
  treehouse worktree or isolated secondmate home
     │
     ├─ ship: project mode ► PR/local merge ► teardown
     │
     └─ scout: report at data/&lt;id&gt;/report.md ► relay findings ► teardown</code></pre>
<p>You chat with the first mate. It routes each request to a crewmate in its own tmux window and git worktree, supervises the fleet with a zero-token event-driven watcher, and brings you finished PRs, approved local merges, or investigation reports. A presence-gated sub-supervisor (<code>/afk</code>) can self-handle routine events and batch only what matters while you step away.</p>
<p>Full architecture - the supervision engine, secondmates, project modes, fleet sync, and self-update - is in <a href="../../../../../../../Users/kunchen/.no-mistakes/worktrees/016d88035d58/01KVZTXYT0D019265RPJJPA4RM/docs/architecture.md">docs/architecture.md</a>.</p>
<h2>Built-in skills</h2>
<p>Firstmate ships these user-invocable built-in skills. Claude uses the slash form shown here; codex uses the same names with <code>$</code>, such as <code>$afk</code>.</p>
<table><thead><tr><th>Skill</th><th>What it does</th></tr></thead><tbody><tr><td><code>/afk</code></td><td>Enter away-mode supervision: the sub-supervisor self-handles routine wakes in bash and escalates only captain-relevant events as one batched digest, cutting supervision cost while you step away</td></tr><tr><td><code>/updatefirstmate</code></td><td>Self-update the running firstmate and its secondmates to the latest from origin with fast-forward-only pulls, then re-read instructions and nudge secondmates</td></tr></tbody></table>
<p>Agent-only reference skills live under <code>.agents/skills/</code> and are loaded by firstmate at the trigger points named in <a href="../../../../../../../Users/kunchen/.no-mistakes/worktrees/016d88035d58/01KVZTXYT0D019265RPJJPA4RM/AGENTS.md"><code>AGENTS.md</code></a>.</p>
<h2>Documentation</h2>
<ul>
<li><a href="../../../../../../../Users/kunchen/.no-mistakes/worktrees/016d88035d58/01KVZTXYT0D019265RPJJPA4RM/docs/architecture.md">docs/architecture.md</a> - how the crew, supervision, worktrees, secondmates, and project modes work.</li>
<li><a href="../../../../../../../Users/kunchen/.no-mistakes/worktrees/016d88035d58/01KVZTXYT0D019265RPJJPA4RM/docs/configuration.md">docs/configuration.md</a> - environment variables, <code>FM_HOME</code>, the files you set, and harness support.</li>
<li><a href="../../../../../../../Users/kunchen/.no-mistakes/worktrees/016d88035d58/01KVZTXYT0D019265RPJJPA4RM/docs/scripts.md">docs/scripts.md</a> - the <code>bin/</code> toolbelt reference.</li>
<li><a href="../../../../../../../Users/kunchen/.no-mistakes/worktrees/016d88035d58/01KVZTXYT0D019265RPJJPA4RM/AGENTS.md"><code>AGENTS.md</code></a> - firstmate's full operating manual for the orchestrator agent.</li>
<li><a href="../../../../../../../Users/kunchen/.no-mistakes/worktrees/016d88035d58/01KVZTXYT0D019265RPJJPA4RM/CONTRIBUTING.md">CONTRIBUTING.md</a> - how to contribute, including the dev/test commands.</li>
</ul>
<h2>Contributing</h2>
<p>Contributions are welcome - see <a href="../../../../../../../Users/kunchen/.no-mistakes/worktrees/016d88035d58/01KVZTXYT0D019265RPJJPA4RM/CONTRIBUTING.md">CONTRIBUTING.md</a> for the workflow, repo conventions, and how to run the tests.</p>
<h2>License</h2>
<p>MIT - see <a href="../../../../../../../Users/kunchen/.no-mistakes/worktrees/016d88035d58/01KVZTXYT0D019265RPJJPA4RM/LICENSE">LICENSE</a>.</p>
</main>
</body>
</html>
- Evidence: README banner image evidence (local file: /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.png

{
  "checkedAt": "2026-06-25T17:17:46.986Z",
  "commit": "5c20d7f8da7efbfd8e2c3f1808c7b0e00d154cb7",
  "readmeLineCount": 141,
  "builtInSkillRows": [
    "/afk",
    "/updatefirstmate"
  ],
  "banner": {
    "readmeSrc": "assets/banner.png",
    "pngExists": true,
    "jpgExists": false
  },
  "localLinks": [
    {
      "from": "README.md",
      "href": "assets/banner.png",
      "target": "assets/banner.png",
      "exists": true
    },
    {
      "from": "README.md",
      "href": "docs/architecture.md",
      "target": "docs/architecture.md",
      "exists": true
    },
    {
      "from": "README.md",
      "href": "docs/architecture.md",
      "target": "docs/architecture.md",
      "exists": true
    },
    {
      "from": "README.md",
      "href": "AGENTS.md",
      "target": "AGENTS.md",
      "exists": true
    },
    {
      "from": "README.md",
      "href": "docs/architecture.md",
      "target": "docs/architecture.md",
      "exists": true
    },
    {
      "from": "README.md",
      "href": "docs/configuration.md",
      "target": "docs/configuration.md",
      "exists": true
    },
    {
      "from": "README.md",
      "href": "docs/scripts.md",
      "target": "docs/scripts.md",
      "exists": true
    },
    {
      "from": "README.md",
      "href": "AGENTS.md",
      "target": "AGENTS.md",
      "exists": true
    },
    {
      "from": "README.md",
      "href": "CONTRIBUTING.md",
      "target": "CONTRIBUTING.md",
      "exists": true
    },
    {
      "from": "README.md",
      "href": "CONTRIBUTING.md",
      "target": "CONTRIBUTING.md",
      "exists": true
    },
    {
      "from": "README.md",
      "href": "LICENSE",
      "target": "LICENSE",
      "exists": true
    },
    {
      "from": "docs/architecture.md",
      "href": "../README.md",
      "target": "README.md",
      "exists": true
    },
    {
      "from": "docs/architecture.md",
      "href": "../AGENTS.md",
      "target": "AGENTS.md",
      "exists": true
    },
    {
      "from": "docs/architecture.md",
      "href": "configuration.md",
      "target": "docs/configuration.md",
      "exists": true
    },
    {
      "from": "docs/architecture.md",
      "href": "../AGENTS.md",
      "target": "AGENTS.md",
      "exists": true
    },
    {
      "from": "docs/architecture.md",
      "href": "../AGENTS.md",
      "target": "AGENTS.md",
      "exists": true
    },
    {
      "from": "docs/configuration.md",
      "href": "../AGENTS.md",
      "target": "AGENTS.md",
      "exists": true
    },
    {
      "from": "docs/configuration.md",
      "href": "../.agents/skills/harness-adapters/SKILL.md",
      "target": ".agents/skills/harness-adapters/SKILL.md",
      "exists": true
    },
    {
      "from": "docs/configuration.md",
      "href": "../bin/fm-spawn.sh",
      "target": "bin/fm-spawn.sh",
      "exists": true
    }
  ],
  "contributingDevCommandsPresent": [
    "bash -n bin/*.sh",
    "shellcheck bin/*.sh tests/*.sh",
    "for test_script in tests/*.test.sh; do \"$test_script\"; done",
    "[ \"$(readlink CLAUDE.md)\" = \"AGENTS.md\" ]",
    "[ \"$(readlink .claude/skills)\" = \"../.agents/skills\" ]",
    "FM_HEARTBEAT=2 FM_POLL=1 bin/fm-watch-arm.sh"
  ],
  "failures": []
}

Pipeline

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 run tests/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.sh and tests/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 in AGENTS.md, but the authoritative supervision facts live in .agents/skills/harness-adapters/SKILL.md while launch mechanics live in bin/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 to tests/fm-wake-queue.test.sh, but that file explicitly says those live in tests/fm-watcher-lock.test.sh and tests/fm-daemon.test.sh, with lifecycle coverage in tests/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 drops tests/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...5c20d7f8da7efbfd8e2c3f1808c7b0e00d154cb7 and git 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.md to verify the restructured README size and new docs files.
  • file assets/banner.png plus targeted rg checks across README.md, CONTRIBUTING.md, and docs/ for assets/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, asserted assets/banner.png exists while assets/banner.jpg is absent, asserted the README built-in skills table contains only /afk and /updatefirstmate, verified CONTRIBUTING contains the moved dev/test command block, and generated reviewer evidence files.
  • rg -n &#34;&lt;table|&lt;td&gt;&lt;code&gt;/afk|&lt;td&gt;&lt;code&gt;/updatefirstmate|src=\&#34;banner\.png\&#34;&#34; /var/folders/5x/4nqprlbx0518k3ybcb1sz6gr0000gn/T/no-mistakes-evidence/01KVZTXYT0D019265RPJJPA4RM/README-rendered.html to confirm the evidence preview renders the banner and command table visibly.
  • git status --short and find . -maxdepth 2 \( -name &#39;.DS_Store&#39; -o -name &#39;node_modules&#39; -o -name &#39;.cache&#39; -o -name &#39;coverage&#39; -o -name &#39;dist&#39; -o -name &#39;tmp&#39; \) -print to verify no transient working-tree artifacts were left behind.
✅ **Document** - passed

✅ No issues found.

✅ **Lint** - passed

✅ No issues found.

✅ **Push** - passed

✅ No issues found.

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.
@kunchenguid
kunchenguid merged commit 49caf3d into main Jun 25, 2026
4 checks passed
@kunchenguid
kunchenguid deleted the fm/readme-restructure-d3 branch June 25, 2026 17:49
leo1oel added a commit to leo1oel/nemo that referenced this pull request Jun 26, 2026
…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.
@Przyval

Przyval commented Oct 14, 2026

Copy link
Copy Markdown

Read first: GitHub Actions is currently disabled for this organization

Every job of this workflow fails to start with "recent account payments have failed or your spending limit needs to be increased".
That is the billing lock on the account, not a defect in this change, so the five red checks on this PR are expected until it is lifted.
Nothing here can be proven on GitHub until one of the two settings below is flipped.

Settings to flip (none of them were changed by this PR):

  1. Run the workflow, one of:
    • Fix the account billing or spending limit so hosted runners start again.
    • Register the self-hosted VPS runner, then set the Actions variable E2E_RUNNER to its labels as JSON, for example ["self-hosted","snc-ci"]. The runner needs Docker (the PostgreSQL service), git and gh.
  2. Optional Actions variable E2E_SHARDS (default [1,2,3,4]) to change the number of parallel shards.
  3. Branch protection on hybrid-webview: require a pull request, require the single status check e2e-ok (not the per-shard e2e (N) checks), and require branches to be up to date.

After that, re-run this PR's workflow once to confirm e2e-ok goes green and to read the real per-shard wall time.
Details: kelava-clone/tests/ci/README.md

@noppGithub

Copy link
Copy Markdown

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
@noppGithub

Copy link
Copy Markdown

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).

fritznoff pushed a commit to fritznoff/starship that referenced this pull request Nov 2, 2026
)

* 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
fritznoff pushed a commit to fritznoff/starship that referenced this pull request Nov 18, 2026
… 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
@shaka727

Copy link
Copy Markdown

Added in f63fc93: when the backlog line has no Menu: <kind>. note, the kind of work is read from the brief's own Menu: <Kind>. Chain: … line (data/<id>/brief.md).

  • Either source is matched to the menu's own kinds, longest name first, so "Big feature" is never read as "Feature".
  • When neither names a kind the menu has, the page still says « Recette inconnue ».
  • Four new fixture tests cover the brief, the longest name, the backlog winning, and an unknown or indented line. scripts/check task is green.

On today's real data, 8 of the 132 tasks behind recent messages get a recipe. No brief written on 28 Nov has a Menu: line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants