Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
6b32714
Stop gstack-uninstall deleting unpushed or kept work under any folder…
garrytan Nov 10, 2026
dbb4b50
Fix six test and eval checks that misread correct work or raced their…
garrytan Nov 10, 2026
f0cd9f8
Keep /review and /ship working in copied Windows installs (GST-2347) …
garrytan Nov 10, 2026
554390d
Stop the doctor floor test failing on every release that adds no poli…
garrytan Nov 11, 2026
2cca896
v1.99.1.0 release (#4291)
garrytan Nov 11, 2026
19ed2ac
Let browser checks and question preferences work from non-Claude host…
garrytan Nov 11, 2026
0ead11c
Stop the stable cut counting its own check runs against the commit it…
garrytan Nov 11, 2026
842fef1
Let the sealed-output guard check pull requests larger than 256 MiB (…
garrytan Nov 11, 2026
b1f7830
The lander must accept each owner-approved gate change before a PR me…
garrytan Nov 12, 2026
b9bbc31
Let a repo keep its tier-only test folders out of /ship's local test …
garrytan Nov 12, 2026
bc858ff
v1.99.2.0 release (#4310)
garrytan Nov 12, 2026
990315d
Give a tests-only change one reviewer in the /ship review plan (GST-2…
garrytan Nov 12, 2026
5183bb2
Stop the transcript-scope brain-sync tests timing out on local runs (…
garrytan Nov 12, 2026
4414f4c
Stop /ship's docs audit from refusing Next.js bracketed route paths (…
garrytan Nov 12, 2026
1d3c63c
v1.99.3.0 release (#4342)
garrytan Nov 13, 2026
43c815b
The gbrain source wireup and skill start follow GBRAIN_HOME, so the w…
garrytan Nov 13, 2026
6b033e7
Health checks find gbrain's config under GBRAIN_HOME, trimmed the way…
garrytan Nov 13, 2026
654ad4b
Stop /ship failing on test files under hidden folders like .github (G…
garrytan Nov 13, 2026
4bee369
Retry /ship's second-model review on Astra, then Gemini, when OpenAI …
garrytan Nov 14, 2026
89be362
Exclude a data file from /ship's review when the base policy names it…
garrytan Nov 14, 2026
3b65035
/ship reviewers state their blocker count in one line, and gstack che…
garrytan Nov 14, 2026
3c15b72
Let /ship render its second-model review on its own for PRs over 2 MB…
garrytan Nov 14, 2026
81fb900
v1.99.4.0 release (#4363)
garrytan Nov 14, 2026
3805969
gstack-redact says that input over 16 MiB is always refused (#4351) (…
garrytan Nov 15, 2026
caa7140
Explain in CONTRIBUTING how outside reports and PRs land (GST-2723) (…
garrytan Nov 15, 2026
8837fda
Bring back the standalone /plan-eng-review command (GST-2726) (#4375)
garrytan Nov 15, 2026
0326b14
v1.99.5.0 release (#4376)
garrytan Nov 15, 2026
c368516
chore(sync): merge upstream garrytan/gstack 0326b144a
Nov 15, 2026
584761f
chore: leave VERSION at main's value (fork version gate, CHE-5945)
congvc-bot-x99[bot] Nov 15, 2026
3ce513f
chore: leave package.json at main's value (fork version gate, CHE-5945)
congvc-bot-x99[bot] Nov 15, 2026
b206acb
chore: leave CHANGELOG.md at main's value (fork version gate, CHE-5945)
congvc-bot-x99[bot] Nov 15, 2026
e10f9f9
fix(sync): restore CHANGELOG.md and regenerate digest at main's versi…
Nov 15, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/weekly-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ jobs:
contents: write
# Reads the candidate's check runs.
checks: read
# Finds this workflow's own runs on the candidate, whose check runs the gate sets aside.
actions: read
# A security or regression cut reads the label on the #<n> its reason names.
issues: read
pull-requests: read
Expand Down Expand Up @@ -143,6 +145,7 @@ jobs:
permissions:
contents: read
checks: read
actions: read
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
Expand Down
1 change: 1 addition & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ CLIs (`gstack-ios-qa-daemon`, `gstack-ios-qa-mint`, `gstack-ios-qa-regen`) are i
|-------|------|
| `/office-hours` | plan |
| `/plan-ceo-review` | plan |
| `/plan-eng-review` | plan |
| `/plan-design-review` | plan |
| `/plan-devex-review` | plan |
| `/plan-tune` | plan |
Expand Down
6 changes: 3 additions & 3 deletions ARCHITECTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -345,12 +345,12 @@ Templates contain the workflows, tips, and examples that require human judgment.
| `{{QA_METHODOLOGY}}` | `resolvers/utility.ts` | Browser-only QA methodology, conditionally loaded by /qa and /qa-only |
| `{{QA_SCOPE}}, {{QA_EXPLORATORY}}, {{QA_FUNCTIONAL}}, {{QA_RESOURCE}}, {{QA_METHOD_READS}}, {{QA_REVIEW}}` | `resolvers/qa.ts` | Surface selection, checkpointed native/exploratory QA, direct conditional method reads, installed-asset references and bounded review/ship callers |
| `{{DESIGN_METHODOLOGY}}` | `gen-skill-docs.ts` | Shared design audit methodology for /plan-design-review and /design-review |
| `{{SHARED_LIBS_RUBRIC}}` | `resolvers/shared-libs.ts` | Shared-code criteria for /deslop-shared-libs, /autoplan's eng phase, and /review: verified callers, existing helpers, compatibility, tests, and total savings |
| `{{SHARED_LIBS_RUBRIC}}` | `resolvers/shared-libs.ts` | Shared-code criteria for /deslop-shared-libs, /plan-eng-review, and /review: verified callers, existing helpers, compatibility, tests, and total savings |
| `{{REVIEW_DASHBOARD}}` | `gen-skill-docs.ts` | Review Readiness Dashboard for /ship pre-flight |
| `{{TEST_VALUE_BAR:<mode>}}` | `resolvers/test-value.ts` | Shared test value bar (authoring gate, value card, X/Y coverage, red-first proof, low-value catalog) for /qa and /qa-only (`qa`) and /test-audit (`audit`); /autoplan's eng phase and /ship embed it through the coverage audit |
| `{{TEST_VALUE_BAR:<mode>}}` | `resolvers/test-value.ts` | Shared test value bar (authoring gate, value card, X/Y coverage, red-first proof, low-value catalog) for /qa and /qa-only (`qa`) and /test-audit (`audit`); /plan-eng-review and /ship embed it through the coverage audit |
| `{{TEST_VALUE_MESSAGE:<key>}}` | `resolvers/test-value.ts` | One degraded-mode message (problem, consequence, fix, docs anchor) from the shared constants |
| `{{TEST_BOOTSTRAP}}` | `resolvers/testing.ts` | Test framework detection, bootstrap, CI/CD setup for /ship and /design-review |
| `{{CODEX_PLAN_REVIEW}}` | `resolvers/outside-voice-steps.ts` | Optional outside plan review for /plan-ceo-review and /autoplan's eng phase: Claude Code on Codex, Codex on other supported harnesses, with the caller's native subagent fallback |
| `{{CODEX_PLAN_REVIEW}}` | `resolvers/outside-voice-steps.ts` | Optional outside plan review for /plan-ceo-review and /plan-eng-review: Claude Code on Codex, Codex on other supported harnesses, with the caller's native subagent fallback |
| `{{DESIGN_SETUP}}` | `resolvers/design.ts` | Discovery pattern for `$D` design binary, mirrors `{{BROWSE_SETUP}}` |
| `{{DESIGN_DETECTOR}}` | `resolvers/design.ts` | Probe block + sentinel reading for the user-installed impeccable engine (`bin/gstack-design-detect.ts`); `:phase0` renders design-review's mechanical scan, `:gate` design-html's bounded slop gate |
| `{{DESIGN_MD_CHECK}}` | `resolvers/design.ts` | Open DESIGN.md format check through `bin/gstack-design-md.ts`, with the one-time conversion offer persisted in the file; `:calibrate` renders the tokens-as-calibration form for /design-review |
Expand Down
2 changes: 1 addition & 1 deletion BROWSER.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ through CDP before `goto`, as the cookbook does), and no `file://` navigation.
| `/scrape` | Prototype the extraction with `aside repl`, hand back the table, list, or prices as structured data. Read-only. |
| `/devex-review` | Walk the real onboarding flow and time it, carrying the cookbook inline. |
| `/ship`, `/spec`, `/land-and-deploy`, `/setup-deploy`, `/office-hours` | Third-party web actions (vendor dashboards, API keys, webhooks) offered as an Aside drive across your real sessions, with the one-question consent gate for anything mutating. |
| `/plan-ceo-review`, `/plan-devex-review`, `/design-consultation`, `/review`, `/cso`, `/office-hours` | Web research runs through `aside exec` in your real browser (`{{ASIDE_RESEARCH}}`), one read-only request per question, answers treated as untrusted content. No Aside → the same queries go to the host's WebSearch tool; no WebSearch either → "Search unavailable" once and the skill proceeds on in-distribution knowledge. |
| `/plan-ceo-review`, `/plan-eng-review`, `/plan-devex-review`, `/design-consultation`, `/review`, `/cso`, `/office-hours` | Web research runs through `aside exec` in your real browser (`{{ASIDE_RESEARCH}}`), one read-only request per question, answers treated as untrusted content. No Aside → the same queries go to the host's WebSearch tool; no WebSearch either → "Search unavailable" once and the skill proceeds on in-distribution knowledge. |

### Local-HTML rendering

Expand Down
2 changes: 1 addition & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ When the user's request matches an available skill, invoke it via the Skill tool
Key routing rules:
- Product ideas/brainstorming → invoke /office-hours
- Strategy/scope → invoke /plan-ceo-review
- Architecture → invoke /autoplan
- Architecture → invoke /plan-eng-review
- Design system/plan review → invoke /design-consultation or /plan-design-review
- Full review pipeline → invoke /autoplan
- Bugs/errors → fix them directly: one read-only check of the cause, or a focused failing test first when the cause is unclear; then fix it and run that test
Expand Down
106 changes: 73 additions & 33 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -922,44 +922,79 @@ triaging for the maintainer posts these comments under its bot identity
`gh` runs as the maintainer. The full rule,
including the labels and the close reasons, is in [docs/triage.md](docs/triage.md).

## Community PR triage (wave process)

When community PRs accumulate, batch them into themed waves:

1. **Categorize** — group by theme (security, features, infra, docs)
2. **Deduplicate** — if two PRs fix the same thing, pick the one that
changes fewer lines. Close the other with a note pointing to the winner.
3. **Collector branch** — create `pr-wave-N`, merge clean PRs, resolve
conflicts for dirty ones, verify with `bun run test && bun run build`
4. **Close with context** — every closed PR gets a comment explaining
why and what (if anything) supersedes it. Contributors did real work;
respect that with clear communication. An agent running the wave posts
these notes under its bot identity, never the maintainer's own account.
5. **Ship as one PR** — single PR to main with all attributions preserved
in merge commits. Include a summary table of what merged and what closed.

See [PR #205](../../pull/205) (v0.8.3) for the first wave as an example.
## Sending a report or a PR

gstack is maintained day to day by AI agents working for Garry Tan. They triage issues
and PRs, rebuild good patches on current main, and land them with the author credited.
That's why nearly every commit on main reads as Garry's: the agents commit under his
account, and your credit is a `Co-authored-by:` trailer plus a line in the PR body.

**What happens to your PR.** Outside code is treated as untrusted: an agent reads your
diff as text and never checks it out, runs it or builds it. Then one of three things
happens.

- **Docs for people only** (for example the README) can be merged as
they are, after an agent checks every link, command and install step in them against
main.
- **A small fix** that is plainly correct, about 40 lines or fewer not counting its
tests, is taken even when the gain is small. An agent rebuilds it on current main
with you as co-author. We land at most one of these a day.
- **Everything else**, including anything that runs and any Markdown agents load
(`SKILL.md` files and their templates, `AGENTS.md`, `CLAUDE.md`, prompts), is
rebuilt on main with credit when it passes the test below, and closed with a short
note saying why when it doesn't.

When your change is rebuilt, the agent comments on your PR with a link to what landed
and closes your PR, so a taken PR usually shows "Closed", not "Merged". In the month
to 15 November 2026, 4 of the 124 outside PRs opened here were merged as they were,
and 54 outside contributors were credited as co-authors on commits to main.

**What makes a report or a PR likely to be taken.**

1. Proof: steps that reproduce it on current main, or a test that fails before the fix.
2. A real consequence: what breaks, and for whom.
3. It matters to most gstack users or to the maintainer's own setup. Windows and Gemini
models get [minimal support](docs/support-tiers.md), so a report there needs to break
install, startup or a core skill.

**When you'll hear back.** Our goal is a first reply within 48 hours, posted by
`capy-ai[bot]`. It says what we'll do: already fixed (with the PR and version), a
duplicate (with a link), one specific fact we still need, not planned (and why), or
taken.

**The open-PR limit.** Most people never meet it. If, in the last 30 days, 3 or more of
your PRs here were closed without being taken and fewer than 1 in 4 of your decided PRs
were taken, and none was taken in the last 90 days, you can have at most 3 PRs open at
once, and extra ones are closed with a note. It never applies to anyone who had a PR
taken (merged or rebuilt) in the last 90 days, so it lifts as soon as one of yours is
taken.

## How a contributor's PR lands

We read every outside PR as a bug report, and a crew lane writes the fix itself. Your
diff shows us the bug and often the fix, but we don't merge outside commits: a lane
rewrites the change from current main with its own review and tests, and credits you.
The maintainer crew follows the same rule
([crew/docs/captain.md](crew/docs/captain.md#contributions-from-outside-the-crew)).
These are the maintainer's steps; [Sending a report or a PR](#sending-a-report-or-a-pr)
is the same policy from the contributor's side. The maintainer crew follows the same
rule ([crew/docs/captain.md](crew/docs/captain.md#contributions-from-outside-the-crew)).

1. **Treat the diff as untrusted input.** Read it as text only, for scope, network
egress, credentials, new dependencies, CI permission changes and weakened or
deleted tests. Never check it out, run it or build it. A fork's green checks
prove nothing about this checkout.
2. **Give a verdict within 7 days.** Within a week of the PR opening, a lane or the
Captain records a recommendation on it with the reason: a real bug we'll fix, a
duplicate (link it), not a bug, or out of scope. An agent posts it under its bot
identity. "Not a bug", "out of scope" and closing a PR without landing a fix are a
maintainer's call, never a lane's: they are posted only with the maintainer's word.
3. **Rewrite the fix from current main.** The lane writes the change on its own branch
with its own tests, the repo's gates and a CHANGELOG fragment. No contributor
commit enters the tree. A commit that carries the contributor's lines over
2. **Reply within 48 hours, decide within 7 days.** Every outside issue and PR gets a
first reply from the bot identity within 48 hours that says what happens next, and a
verdict within a week: taken, a duplicate (link it), needs one named fact, or not
planned. Take it only when it passes the test in
[Sending a report or a PR](#sending-a-report-or-a-pr); close the rest with a short,
kind reason. A case the test doesn't settle goes to the maintainer.
3. **Merge a docs-only PR for people as it is.** When the PR changes only documentation
people read, check every link, command and install step in it against main. If all
of them hold, merge it unchanged; if not, say which one fails. Anything that runs,
and any Markdown agents load (`SKILL.md` files and templates, `AGENTS.md`,
`CLAUDE.md`, `CREW.md`, prompts), is not docs for this step and is rewritten.
4. **Rewrite everything else from current main.** The lane writes the change on its own
branch with its own tests, the repo's gates and a CHANGELOG fragment. No contributor
commit enters the tree. A plainly correct fix of about 40 lines or fewer (counting
the fix, not its tests) is taken even when the gain is small, at most one such PR a
day. A commit that carries the contributor's lines over
unchanged gets a `Co-authored-by:` trailer for them. Fetch their PR head as a ref
without checking it out (`git fetch origin +pull/<n>/head:refs/contrib/<n>`; the
`+` lets a re-fetch follow a force-push), then run
Expand All @@ -968,17 +1003,22 @@ The maintainer crew follows the same rule
no co-author. A fork's commits can name anyone, so keep only the authors whose
lines you carry: drop the rest with `--exclude <email>` when you rerun it with
`--message <msgfile>`. Never guess an email: use the identity on their commits.
4. **Credit them in the fix.** The PR body names the original PR and its author in
5. **Credit them in the fix.** The PR body names the original PR and its author in
the first paragraph and says what differs from their diff. The CHANGELOG fragment
thanks them by handle.
5. **Close the original with a specific thank-you.** After the fix lands, comment on
6. **Close the original with a specific thank-you.** After the fix lands, comment on
their PR with what landed (the PR number and version), what changed from their
diff and why, and thank them by name for the specific thing they found. Then close
it. An agent posts that comment under its bot identity, never the maintainer's own
account.
7. **Apply the open-PR limit only to chronic authors.** An author is capped at 3 open
PRs only when, in the last 30 days, 3 or more of their PRs closed untaken and fewer
than 1 in 4 of their decided PRs were taken, and none of their PRs was taken in the
last 90 days. Taken means merged, or rebuilt by the crew. Close the extra PRs with a
note that names the limit and says it lifts once one of their PRs is taken.

If we won't fix what the PR reports, say why on the PR and close or park it under
[Issue triage](#issue-triage), with the maintainer's word.
[Issue triage](#issue-triage).

## Upgrade migrations

Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ Claude: I'm going to push back on the framing. You said "daily briefing
You: /plan-ceo-review
[reads the design doc, challenges scope, runs 10-section review]

You: /autoplan
[eng phase: ASCII diagrams for data flow, state machines, error paths]
You: /plan-eng-review
[ASCII diagrams for data flow, state machines, error paths]
[test matrix, failure modes, security concerns]

You: Approve plan. Exit plan mode.
Expand All @@ -143,12 +143,13 @@ gstack is a process, not a collection of tools. The skills run in the order a sp

**Think → Plan → Build → Review → Test → Ship → Reflect**

Each skill feeds into the next. `/office-hours` writes a design doc that `/plan-ceo-review` reads. An interactive `/autoplan` run's eng phase writes a test plan that `/qa` picks up. `/review` catches bugs that `/ship` verifies are fixed. Nothing falls through the cracks because every step knows what came before it.
Each skill feeds into the next. `/office-hours` writes a design doc that `/plan-ceo-review` reads. `/plan-eng-review` writes a test plan that `/qa` picks up. `/review` catches bugs that `/ship` verifies are fixed. Nothing falls through the cracks because every step knows what came before it.

| Skill | Your specialist | What they do |
|-------|----------------|--------------|
| `/office-hours` | **YC Office Hours** | Start here. Six forcing questions that reframe your product before you write code. Pushes back on your framing, challenges premises, generates implementation alternatives. Design doc feeds into every downstream skill. |
| `/plan-ceo-review` | **CEO / Founder** | Rethink the problem. Find the 10-star product hiding inside the request. Four modes: Expansion, Selective Expansion, Hold Scope, Reduction. |
| `/plan-eng-review` | **Eng Manager** | Lock in architecture, data flow, diagrams, edge cases, and tests. Forces hidden assumptions into the open. |
| `/plan-design-review` | **Senior Designer** | Rates each design dimension 0-10, explains what a 10 looks like, then edits the plan to get there. AI Slop detection. Interactive — one AskUserQuestion per design choice. |
| `/plan-devex-review` | **Developer Experience Lead** | Interactive DX review: explores developer personas, benchmarks against competitors' TTHW, designs your magical moment, traces friction points step by step. Scores error messages for the agents that read them ([agent-ready errors](docs/agent-ready-errors.md)). Three modes: DX EXPANSION, DX POLISH, DX TRIAGE. 20-45 forcing questions. |
| `/design-consultation` | **Design Partner** | Build a complete design system from scratch. Researches the landscape, proposes creative risks, generates realistic product mockups. Writes `DESIGN.md` in the open DESIGN.md format, so impeccable, Google Stitch, and any tool that reads it share one file. |
Expand Down Expand Up @@ -194,7 +195,7 @@ The same `/qa` and `/qa-only` commands test CLIs, APIs, jobs, workers and webhoo
|-----------------|--------------------------|----------------------------|
| **End users** (UI, web app, mobile) | `/plan-design-review` | `/design-review` |
| **Developers** (API, CLI, SDK, docs) | `/plan-devex-review` | `/devex-review` |
| **Architecture** (data flow, perf, tests) | `/autoplan` (eng phase) | `/review` |
| **Architecture** (data flow, perf, tests) | `/plan-eng-review` | `/review` |
| **All of the above** | `/autoplan` (runs CEO → design → DX → eng, auto-detects which apply; eng always last) | — |

### Power tools
Expand Down
3 changes: 2 additions & 1 deletion SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ quality gates that produce better results than answering inline.
- User describes a new idea, asks "is this worth building", brainstorms, pitches a concept → invoke `/office-hours`
- User asks to spec something out, file an issue, write up a ticket, "turn this into a GitHub issue", "backlog item" → invoke `/spec`
- User asks about strategy, scope, ambition, "think bigger", "what should we build" → invoke `/plan-ceo-review`
- User asks to review architecture, lock in the plan, "does this design make sense" → invoke `/autoplan`
- User asks to review architecture, lock in the plan, "does this design make sense" → invoke `/plan-eng-review`
- User asks about design system, brand, visual identity, "how should this look" → invoke `/design-consultation`
- User asks to review design of a plan → invoke `/plan-design-review`
- User asks about developer experience of a plan, API/CLI/SDK design → invoke `/plan-devex-review`
Expand Down Expand Up @@ -248,6 +248,7 @@ Generic “second opinion”, “outside review”, or “cross-model review”
- Voice trigger "show me the browser" → invoke `/open-gstack-browser`
- Voice trigger "pair agent", "connect agent", "share my browser", "remote browser access" → invoke `/pair-agent`
- Voice trigger "dx review", "developer experience review", "devex review", "devex audit", "API design review", "onboarding review" → invoke `/plan-devex-review`
- Voice trigger "tech review", "technical review", "plan engineering review" → invoke `/plan-eng-review`
- Voice trigger "quality check", "test the app", "run QA" → invoke `/qa`
- Voice trigger "bug report", "just check for bugs" → invoke `/qa-only`

Expand Down
Loading
Loading