Skip to content

v1.91.347.0 docs(captain): a Captain archives only its own crew's threads (R39 amended, GST-211) - #3657

Merged
capy-ai[bot] merged 3 commits into
mainfrom
garrytan/gst-211-archive-own-crew
Oct 31, 2026
Merged

capy-ai[bot] merged 3 commits into
mainfrom
garrytan/gst-211-archive-own-crew

Conversation

@garrytan

@garrytan garrytan commented Oct 30, 2026 •

Copy link
Copy Markdown
Owner
{
  "schema_version": 1,
  "pr": 3657,
  "head": "70b808a62b4973d3a63cb871cba476283dadcf74",
  "version": "1.91.343.0",
  "base": "main",
  "gate": {
    "remote-pregate": {
      "pass": 269,
      "fail": 0,
      "skip": 0
    },
    "focused": {
      "pass": 62,
      "fail": 0,
      "skip": 0
    }
  },
  "session_kind": "unattended",
  "queue_mode": "stamp-at-merge",
  "head_tree": "258a632663ce4d4de7f70ab990c6d7c5e2b92c23",
  "product_patch_id": "8cb30d5ac9d529ce4c2ec28a6c0bd1a58af57f64",
  "gstack_version": "1.91.342.0",
  "review_depth": {
    "depth": "light",
    "class": "code",
    "runtime_lines": 8,
    "rules": "55726fab80631072",
    "base": "6748d54f7f50c1f6be9e27a411bf5a52ed946a27",
    "registry": "6748d54f7f50c1f6be9e27a411bf5a52ed946a27",
    "gate_scan": {
      "tagged": 0,
      "head": "70b808a62b4973d3a63cb871cba476283dadcf74"
    },
    "reasons": [
      "runtime=8<=50"
    ]
  },
  "pregate": "requires-remote cleared @258a632663ce (1 checks, current for 70b808a62b49)",
  "requires_remote": [
    "windows-free-tests.yml/windows-free-shard: https://github.com/garrytan/gstack/actions/runs/41152107410",
    "pregate.json/remote_gate: remote-gate tree=258a632663ce tests=269"
  ],
  "issues": {
    "fixes": [],
    "refs": [],
    "flakes": []
  },
  "docs": {
    "status": "updated",
    "scope": "docs/captain.md (Roles) and capy/skill/gstack/factory.md point 12 updated in the PR; no other doc states the archiving rule"
  },
  "review_loop": {
    "passes": 1,
    "blocking_found": 0,
    "deferred": 0,
    "noted": 5,
    "fixed": 0,
    "scope": "frozen",
    "fix_checks": 1,
    "est_input_tokens": 6925,
    "dispatches": {
      "specialist": 1,
      "adversarial": 1,
      "fix-check": 1
    }
  }
}

A Captain archives only its own crew's threads. A thread outside every crew belongs to the owner and stays as it is, even when the Captain's own automation created it (R39 as amended on 2026-10-30, GST-211).

What changed

docs/captain.md Roles, before and after: a Captain archived threads its automations started outside the crew; now it archives only its own crew's threads

docs/captain.md, the controller's role: before, a Captain also archived threads its automations started outside the crew; after, it archives only its own crew's threads, and a thread outside every crew stays the owner's.

  • docs/captain.md, Roles: the controller archives only its own crew threads, each when its plan for that thread says the work is done. No Captain archives, flags or lists a thread outside every crew for archiving unless the owner asks.
  • capy/skill/gstack/factory.md point 12: the same rule, in one sentence. The file stays within its 3,300-byte budget (3,299 bytes) by tightening the wording of points 2, 3, 4, 5, 6, 8, 10 and 12. The aim was to change no other rule; review flagged three rewordings that can read differently (see Review notes).
  • changelog.d/garrytan-gst-211-archive-own-crew.md carries the CHANGELOG entry; the merge step assigns the version.

Why

The earlier wording let a Captain archive threads its automations started outside its crew, and that emptied the owner's unattached threads. Garry: "all my unattached threads are gone. i think you are too overzealous archiving those man".

Blast radius

Prose only: the Captain guide and the Capy factory context every Capy session reads. No code, test or template changes. Owners pick up the factory.md change by copying capy/skill/gstack/ into the Drive skill folder.

Approvals

No approvals recorded for branch garrytan/gst-211-archive-own-crew.

Summary

One commit, 2a04a76, rebased onto main after #3655 merged as 6748d54; git range-diff shows it is the same patch as the reviewed 5c6656a. /ship changed nothing; 70b808a is an empty commit that retriggered pull_request CI after the base moved to main.

Pre-Landing Review

Review depth light (8 runtime lines): one batched specialist pass (testing, maintainability, security, state machines, red team) and a native adversarial pass, both on Claude Opus 5.5. No finding reached the blocking floor, so nothing was fixed and no second pass ran. No outside voice: the diff publishes no numeric claims. After the rebase, one fix-check reviewer compared 2a04a76 with 5c6656a and with main's versions of the same files.

Review notes

Informational, not fixed here:

  • "context threshold" became "context limit" (factory.md point 12): docs/ship-budget.md hands off at a threshold, so an agent could wait for the hard limit before handing off.
  • "one wave PR" became "one PR" (point 4): "wave PR" is a named term in captain/SKILL.md and capy/README.md, and without it the line can read as folding deferred findings into the current PR.
  • "a finding that belongs to another crew" became "Another crew's finding" (point 6): this can read as a finding another crew made, which reverses who routes it.
  • "Report use and pass apart" (point 8) is less plain than the old "separately".
  • Automation threads outside the crew (docs/captain.md, the daily flaky pass): the flaky-pass automation should run as a crew thread, but the new wording admits automation threads outside every crew, which nobody archives. Factory point 12 also leaves out "flags or lists" and "unless the owner asks".

Documentation

The PR is documentation; docs/captain.md and factory.md now agree on the archiving rule.

Test plan

  • Focused at 2a04a76: 62 pass, 0 fail across captain-skill, capy-skill-wrapper, parity-suite, changelog-fragments, version-gate-fragments
  • Remote pregate at tree 258a632663ce (2a04a76; 70b808a is an empty commit with the same tree): 269 selected tests, 0 failed, Ubicloud VM destroyed (left=0)
  • Free Tests (run 41152107412), Windows Free Tests (run 41152107410) and E2E Evals (run 41152107478) green at 70b808a, the empty commit that retriggered pull_request CI after the base moved to main; the Windows lane cleared and gstack-pregate verify ok

…ended, GST-211)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
@garrytan
garrytan force-pushed the garrytan/gst-211-archive-own-crew branch from 5c6656a to 2a04a76 Compare October 31, 2026 00:43
@capy-ai
capy-ai Bot changed the base branch from garrytan/r41-ask-format to main October 31, 2026 00:43
@trunk-io

trunk-io Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

😎 This pull request was merged.

@github-actions github-actions Bot changed the title docs(captain): a Captain archives only its own crew's threads (R39 amended, GST-211) v1.91.343.0 docs(captain): a Captain archives only its own crew's threads (R39 amended, GST-211) Oct 31, 2026
garrytan and others added 2 commits October 31, 2026 00:47
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
@github-actions github-actions Bot changed the title v1.91.343.0 docs(captain): a Captain archives only its own crew's threads (R39 amended, GST-211) v1.91.347.0 docs(captain): a Captain archives only its own crew's threads (R39 amended, GST-211) Oct 31, 2026
@capy-ai
capy-ai Bot merged commit 03488f5 into main Oct 31, 2026
62 checks passed
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