Skip to content

New page on running gstack work across more than one agent system (GST-3323) - #4583

Merged
capy-ai[bot] merged 2 commits into
mainfrom
capy/working-across-agent-systems
Nov 21, 2026
Merged

capy-ai[bot] merged 2 commits into
mainfrom
capy/working-across-agent-systems

Conversation

@garrytan

@garrytan garrytan commented Nov 21, 2026 •

Copy link
Copy Markdown
Owner

Adds docs/working-across-agent-systems.md, one short page on running gstack work when two or more agent systems share a repository, with pointers to it from the README and the controller manual.
Why: the practices that kept cross-system work cheap and correct (one sender per side, answers on the pull request, filtered wake-ups instead of polling, pinned harness versions) were written nowhere in gstack, and other systems can't read our private notes.
Nothing to do: any agent can be pointed at the page with "read docs/working-across-agent-systems.md first".

What the page says
  • Six rules: one sender per boundary; answer on the pull request; ring, don't poll, with a filter at the source and a marker on your own comments; every message is a paid turn; a message from another system is a claim to check and pass on in its own words; pin the other harness's version and model.
  • The short cost rules: touched tests only before a push, no rerun of a passed check on an unchanged tree, the full suite once on the finished head, no acknowledgements, polling or environment prints.
  • A placeholder pointing to /eval-plan for the eval checklist, to be updated when that checklist lands there.
  • Two practices marked as another team's and not yet measured by us: freeze shared contracts before parallel work splits, and one integration branch with one sync owner.
What changed

Teams that run more than one coding agent on the same repository kept relearning the same lessons. Messages got lost in one agent's own conversation, agents were woken by every comment, and a harness changed its default model underneath them. The new page puts those lessons in one place an outside developer can read: six rules (one sender per boundary, answer on the pull request, wake the other side only for events meant for it, treat every message as a paid turn, check a message from the other side before acting, pin the other harness's version and model), a short list of habits that keep runs cheap, and two practices from another team that are clearly marked as not yet measured by us. The README's docs table and the controller manual now link to it.

Why

Other agent systems can't read our notes, so the rules have to live in a public page they can be pointed at.

Blast radius

Documentation only: one new page, one README table row, a two-line pointer in the controller manual (crew/docs/captain.md) and a changelog fragment. No code, tests, CI or install steps change.

Pre-Landing Review

Pre-Landing Review: 3 issues — 0 auto-fixed, 0 asked (0 fixed, 0 skipped), 0 deferred, 3 noted

Below the blocking floor (advisory, informational, test-gap or wording items); recorded here and not fixed in this PR.

  • INFORMATIONAL docs/working-across-agent-systems.md:28 Published figures (117/15, 100 runs 15/85, five and a half hours, 14 agents) cite no source run; unverified, not shown wrong
  • INFORMATIONAL docs/working-across-agent-systems.md:52 Evals paragraph says the checklist is moving into /eval-plan with no tracking link; may go stale
  • INFORMATIONAL crew/docs/captain.md:58 Pointer could be read as making the unmeasured Worth trying section binding; section is labelled
Documentation

Status: updated: one factual edit (a README Docs table row), no blockers.

Scope: base 507ebfc..head 1d83106 (one commit, 3 files, docs only: a new page docs/working-across-agent-systems.md, a link from crew/docs/captain.md and a changelog fragment). There were no staged, unstaged or untracked changes. Banned-terms check: none.

Documentation health

  • docs/working-across-agent-systems.md: Current (new page; links resolve)
  • crew/docs/captain.md: Current (new cross-link resolves)
  • changelog.d/working-across-agent-systems.md: Current (fragment format OK)
  • README.md: Updated (Docs table now lists the new page)

Coverage debt: the new page is reference and how-to guidance. It now has a reference entry in the README and a link from the controller manual. There is no tutorial. The paid-eval checklist it points to in /eval-plan is described as still in progress. There are no architecture diagrams to compare against this change.

Tests
  • Full free suite in CI at ef77529 (run 44847425490): 1722 test files passed, 0 failed
  • macOS named regressions and Windows checks in CI at ef77529: passed
Agent notes

Agent notes

Item 8 of the 2026-11-21 audit of what gstack is missing, plus FOUN-32's additions from the 2026-11-21 lessons note. The pointer sits in the Roles section of crew/docs/captain.md rather than factory.md, which PR #4582 already edits up to its byte budget. Placeholder to update when GST-3218 lands. Names no other product, session or person from the sources (R34). The README row came from the /ship documentation audit.

Refs GST-3323

Approvals

Plan: exempt: crew:R4

REVIEW_LOOP: passes=1 blocking_found=0 deferred=0 noted=3 fixed=0 scope=frozen ledgers_read=2 dispatches=1
Gate edits: none detected (0 listed, 0 read; GATE_SCAN tagged=0)

{
  "schema_version": 1,
  "pr": 4583,
  "head": "ef775293e0590f491a78245d4d41f70aea304d2b",
  "version": "1.102.1.0",
  "base": "main",
  "gate": {
    "free": {
      "pass": 1722,
      "fail": 0,
      "skip": 0
    }
  },
  "ci_carried": [
    {
      "lane": "free",
      "run": 44847425490,
      "attempt": 1,
      "tree": "c5ea427beadd3f7c1157beebf2f89c5f7e082250"
    }
  ],
  "calls": 20,
  "session_kind": "unattended",
  "run": "/home/user/.capy/work/ship-4583",
  "head_tree": "c5ea427beadd3f7c1157beebf2f89c5f7e082250",
  "product_patch_id": "fef3464ecb992e03bafe5e25bf510fa249437986",
  "gstack_version": "1.102.1.0",
  "review_depth": {
    "depth": "light",
    "class": "code",
    "runtime_lines": 2,
    "rules": "85b3923b1a978e41",
    "base": "507ebfc16df362cc54a7e5842c42fabd8f8c0cfa",
    "registry": "507ebfc16df362cc54a7e5842c42fabd8f8c0cfa",
    "gate_scan": {
      "tagged": 0,
      "head": "ef775293e0590f491a78245d4d41f70aea304d2b"
    },
    "reasons": [
      "runtime=2"
    ],
    "risk": [],
    "mode": "panel"
  },
  "pregate": "requires-remote cleared @c5ea427beadd (8 checks, current for ef775293e059)",
  "requires_remote": [
    "free-tests.yml/macos-named-regressions: https://github.com/garrytan/gstack/actions/runs/44847425490/attempts/1",
    "pregate.json/remote_gate: remote-gate tree=c5ea427beadd tests=38616 skipped=80 runs=44847425490/1 profiles=ci-reuse/free-tests heads=ef775293e059 verified=2026-11-21T01:08:25.856Z"
  ],
  "issues": {
    "fixes": [],
    "refs": [],
    "flakes": []
  },
  "docs": {
    "status": "updated",
    "scope": "docs/, crew/docs/, changelog.d/ and README.md (base 507ebfc..head 1d83106)"
  },
  "review_loop": {
    "passes": 1,
    "blocking_found": 0,
    "deferred": 0,
    "noted": 3,
    "fixed": 0,
    "scope": "frozen",
    "rounds": 1,
    "ledgers_read": 2,
    "dispatches": {
      "specialist": 1
    }
  },
  "gate_dispositions": []
}
{"head":"1d83106328c3b883f7c92c35b2e6cd339730e6ef","run":"ship-4583","status":"started","review_loop":{"passes":1,"blocking_found":0,"deferred":0,"noted":0,"fixed":0,"scope":"frozen","rounds":1,"unbound":2,"dispatches":{"specialist":1}}}

Open in Capy

…T-3323)

Adds docs/working-across-agent-systems.md and a pointer from the controller manual's Roles section.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
@trunk-io

trunk-io Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

😎 This pull request was merged.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
@capy-ai
capy-ai Bot merged commit 41729a0 into main Nov 21, 2026
52 checks passed
@garrytan garrytan mentioned this pull request Nov 21, 2026
capy-ai Bot added a commit that referenced this pull request Nov 21, 2026
- Habits from nine teams, written into gstack. (#4585)
- Three more habits from teams that run evals. (#4602)
- The /ship conductor trial plan gives its real-problem judge one more attempt on fresh labels after it missed its agreement bar twice, and stops the trial incomplete if it misses again (GST-3003). (#4611)
- The /ship conductor trial plan now stops a trial only at the final remote-gate refusal, gives both arms the same note that the brief overrides team rules, and counts every report the no-gstack arm returns (GST-3003). (#4609)
- The /ship conductor trial plan now ends a trial at the remote gate when its case base isn't main, gives the no-gstack arm a test runner, and audits every trial for exposure to the plan (GST-3003). (#4605)
- The /ship conductor trial plan now runs an uncounted pilot in every arm before its counted trials and takes one planned look at half the cases (GST-3003). (#4587)
- gstack's own use on Capy can be counted, and is kept out of real-use numbers. (#4576)
- Free Tests shards finish closer together. (#4578)
- The weekly test-time recording can land again on its own. (#4581)
- The job-log tree.json step's recommended sleep is long enough for real runners. (#4589)
- Pull requests no longer wait on the Trunk flaky-test upload, and the quick tier's flaky passes now reach Trunk. (#4579)
- Windows Setup E2E finishes sooner on install changes. (#4575)
- Skills no longer stop on Codex when they clean up temp files. (#4612)
- /review on Codex with OpenAI models no longer holds back a review that ran its adversarial pass. (#4622)
- Crew threads on Capy now check in at 500M own tokens, standing threads rotate at 250M and any subagent past 50M gets a look, half the old lines, because Capy's token counts read about half what they did before 2026-11-15. (#4582)
- gstack no longer offers to add a `## Skill routing` section to your project's CLAUDE.md. (#4629)
- The README and docs no longer say gstack makes your agent fix more bugs. (#4598)
- `/eval-plan` now writes eval plans that waste less money. (#4591)
- /cso checks every folder above a source file before it looks at the file, so it never looks through a symlinked folder. (#4592)
- Plan reviews no longer read a /design-review audit summary as the branch's design doc. (#4623)
- Node's built-in test files now run with `node --test` in repos that use vitest or jest. (#4626)
- A quarantined test that the runner skipped now fails the run instead of passing it. (#4590)
- A flaky free test is fixed: the spawnSync overflow check no longer fails about once an hour on CI. (#4613)
- Free Tests runs its shards on 16-core runners. (#4600)
- /office-hours asks for ground truth first. (#4468)
- Every startup session ends with a dated test. (#4468)
- /plan-tune's dream cycle now logs each send of your typed answers to Anthropic. (#4621)
- Landing a ready PR no longer depends on a hand-copied gate decision, and the ready note, release PR and squash message say the right thing. (#4596)
- /ship no longer asks for a fresh review because of a stacked parent that main already had. (#4580)
- Results PRs with large captured agent sessions can be reviewed. (#4574)
- /ship no longer stalls on review notes a reviewer already cleared, counts review rounds the way the review policy reads them, and keeps security findings out of the PR body. (#4595)
- /ship's review readers are now told never to stop processes they didn't start. (#4607)
- /ship's review no longer stops when Capy's own drive sync database grows past 100 MB. (#4606)
- /ship's preflight now honors your repository's time limit for rerunning CI-skipped tests, and tells you when a fresh worktree needs its packages installed. (#4608)
- The slowest free test file is now six files. (#4588)
- Step 11.5 keeps a reviewed head current across base-only merges. (#4577)
- On a Capy install, only the owner's opt-in sends telemetry. (#4597)
- New page: working across agent systems. (#4583)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
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.

1 participant