Repository navigation
Check each app build with an agent from another model family before its owner is asked to try it (GST-3025) - #4465
Merged
capy-ai[bot] merged 7 commits intoNov 17, 2026
Conversation
…ts owner is asked to try it (GST-3025) gstack-first-use freezes the first five day-one actions and the exact build, has a checker from another model family play it with evidence for each action, checks every link within 15 minutes of sending, and prints the try-this-build message only when all of it passes. The owner score and words stay in the owner private drive beside the predicted score. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
|
😎 This pull request was merged. |
…codes Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…ntory test passes Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…unt and device class A link receipt now records the audience it was checked for, the play spec account and the build platform; links refuses any other audience, record refuses results from another account, and the gate counts only receipts and results for that audience. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/red-team#2 reader=red-team Review-Finding: p1/red-team#4 reader=red-team Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…e first-use brief A day-one table with fewer than five rows, or an empty cell in the first five, now refuses with FIRST_USE_PLAN_UNREADY. Every value the checker brief puts into its record and predict lines is single-quoted, so an account, run path or model id with quotes, $ or backticks cannot break the line or run a command. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…eck-before-owner-tries-a-build Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> # Conflicts: # test/helpers/free-fixtures-data.ts
capy-ai Bot
added a commit
that referenced
this pull request
Nov 18, 2026
- A test, or a scratch repository in the temp directory, can no longer write approval rows into your real Capy Drive (GST-3027). (#4466) - An unattended /autoplan run on Claude Code no longer says the publication guard is off while it is on. (#4481) - A phase report written only in reasoning now gets a denial that says so and names the fix. (#4481) - `gstack-autoplan revise` no longer refuses a plan that the first `next` accepted. (#4470) - `revise --plan` with a different file now says the run follows that file. (#4470) - A second-model plan review in `/autoplan` is no longer reported as unavailable when it actually ran (GST-3051). (#4471) - The /ship conductor trial plan now lets case reverts that conflict with later code be resolved by hand in docs, tests and the planted file, so large pull requests can be cases (GST-3003). (#4460) - A locked plan for a trial of /ship without its separate conductor subagent (GST-3003). (#4456) - A driven /ship now runs each phase as one command, counts its calls, and stops itself at 100 minutes. (#4451) - /ship stops asking owners to clear two kinds of bookkeeping noise: base-side merge text and a reviewer's confirmation prose. (#4458) - A base merge that only touched base-side text no longer stops `/ship` finish for an owner's grant. (#4458) - A reviewer's confirmation prose no longer becomes a Critical finding that only an owner can clear. (#4458) - A CI run that passed only after its failed jobs were re-run is now marked wherever gstack reuses it. (#4473) - /ship reuses CI's passing test run when merging the base changed no file, and stops instead of quietly starting hour-long test runs or reviewing an empty diff (GST-3019). (#4461) - /ship on Codex no longer stops at the test coverage audit. (#4489) - A cold first-use check before an app build reaches its owner (GST-3025). (#4465) - `skill_prefix=true` now survives updates when gbrain is installed. (#4454) - The OpenClaw docs no longer send you to ClawHub, which held only April 2026 builds of office-hours, ceo-review and retro and no longer has gstack skills (the docs also said four skills while listing three). (#4454) - `gstack-issue-links` no longer reads other repositories' issues as gstack's. (#4454) - /ship's pre-gate finds the tests of a monorepo app that imports through its own `@/` alias. (#4464) - /office-hours explains why it recommends a mode. (#4450) - /office-hours keeps its 34 founder videos and essays out of the skill file. (#4463) - Two `gstack-owner-answers add` runs for the same answer no longer collide. (#4490) - A Captain can check an ask against the owner's earlier answers before sending it. (#4467) - `gstack-post` stops reading /ship's own receipt identifiers as phone numbers, so posting a /ship PR body no longer needs a confirm. (#4488) - GitHub release notes now list every change in plain words, with a link to its pull request. (#4390) - gstack's router no longer gives bug reports a special rule, so the model fixes a bug the way it would without gstack. (#4442) - /ship's review plan now sorts Swift and Xcode files by risk instead of sending every iOS PR to the full review panel (GST-3041). (#4469) - /ship's review plan now sends Swift code that touches private user data to the full review panel (GST-3052). (#4472) - A round grant at /ship's review round cap now buys the fix round it names, in the same run or the next (GST-2968). (#4479) - The secrets check stops flagging three kinds of ordinary code as a secret, and catches two misses. (#4457) - A security finding's location and reason no longer go into a PR body. (#4486) - The token-capped /ship child on Claude Code now starts its prompt with the typed `/ship` command, so the skill actually loads. (#4487) - A /ship receipt now counts the second-model review's blocking findings, and refuses to be written while one is still open. (#4485) - A `/ship` with a token cap on Claude Code no longer stops at its first handoff. (#4452) - /ship's push step now always ends with one line that says whether it pushed (GST-3053). (#4474) - A PR's review-round count can no longer be overwritten by the body `/ship` posts. (#4440) - One queued record with a malformed path no longer stops artifacts sync for every project. (#4455) - A failed artifacts push stays reported until a push succeeds. (#4455) - The /sync-gbrain memory row no longer says OK when pages failed to import. (#4455) - ### Tests (#4495) - A policy-floor test no longer fails once gstack's own version reaches the minor after the newest policy key; it now checks a floor above both, so the v1.101.0.0 release can pass CI. (#4495) - CI now uploads free-suite test results to Trunk with analytics-uploader v2.1.8 and analytics-cli 0.17.0, up from v2.1.6 and 0.16.2. (#4453) - Packing a checkout for a Ubicloud run no longer fails when git beside it is rewriting a ref. (#4447) - The /plan-ceo-review HOLD SCOPE eval no longer fails a review because its follow-up question didn't repeat the mode name. (#4447) - Unattended /autoplan now records the owner's relayed gate reply instead of refusing it. (#4484) - Unattended /autoplan now runs the second-model review you turned on, and waits for it instead of ending the session. (#4459) - Two /autoplan runs started in the same second no longer share a run id. (#4459) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
gstack-first-use: before an app build reaches its owner as "ready to try", an agent from another model family plays that exact build, does the plan's first five day-one actions with a screenshot or video of each, and checks every link. Only then does it print the "try this build" message.Why: a recent app build passed every review and its owner still found the first screen broken, because nothing tried the build the way the owner would.
Nothing to do now; the first real use is that app's next build.
What changed
gstack-first-use startfreezes the first five rows of the plan's day-one table (the/autoplantable or the one-page list, one format) and the build fingerprint (commit plus TestFlight build or deploy version) into a write-once manifest. It refuses a missing or malformed table, a table with fewer than five complete rows, a row still marked assumed, a play spec missing any of the ten play-instruction parts, and a checker from the builder's model family.briefprints the only thing the checker gets: device, account, play text and the five actions, with the commands to record each. Every value from the play spec in those commands is shell-quoted, so an account name with a quote,$or backtick can't run anything. On Capy it plays on a cloud phone through the host's phone tools.record,predictandlinkskeep one write-once file per result (evidence copied in and hashed), the checker's predicted 1-10 score, and a dated check per link. Results and link checks are bound to the owner-equivalent account and the build's device class; any other audience is refused or ignored.checkandmessagepass only for the same build, unchanged day-one rows, a pass with intact evidence for every action, every link live within 15 minutes, and a predicted score.messageprints the "try this build" text with all ten parts; it never shows the prediction.scorekeeps the owner's score and exact words beside the prediction in the owner's private user-level Capy Drive folder, never in a repository.showprints the gap.Docs
docs/first-use-check.md(steps, the pinned table format, the play-message requirements, where the record lives), troubleshooting anchors for the six new result codes, a README how-to row, and a short section in the Capy Captain guide.Tests
bun test test/first-use.test.ts: 22 pass, 0 fail (made-up owner and app; pins the day-one table, every refusal including fewer than five rows and an empty cell, a spec whose values hold",$and a backtick, and the CLI end to end under a temporary HOME and drive)Agent notes
GST-3025 item 2, plan in the GStack Minder drive (handoffs/GST-3025/plan.md), approved by the owner on 2026-11-17 ("do it", K1-T1). Touches nothing GST-2944 or GST-2947 pin: it reads
parseDayOnefrom lib/autoplan-owner-text.ts unchanged, and the pin test fails if that format moves. Not a /ship or review change.Why
The owner's words on the failed build were that it passed every check and the first screen still didn't work. This makes a cold player from another model family try the build the way the owner will, on the same kind of device, before anyone asks the owner to.
Blast radius
New files plus one new result code family:
bin/gstack-first-use,lib/first-use.ts,lib/first-use-message.ts, sixFIRST_USE_*codes, and doc rows. It readsparseDayOnefrom lib/autoplan-owner-text.ts unchanged and nothing calls the new code yet, so no existing workflow changes (callers read by grep at ac9e513;test/first-use.test.ts22 pass).Pre-Landing Review
One full review pass (combined specialist reader and red team), one follow-up read of its fixes, the native adversarial read and a second-model review (openai/gpt-6.1-sol) ran on the first heads. The second-model review found two blockers: the brief put the account, run directory and model id into shell commands without quoting, and
startaccepted fewer than five day-one rows. Both are fixed in ac9e513 with tests, and one more read scoped to that commit found nothing blocking.Review notes
Below the blocking floor and not fixed in this PR:
lib/first-use.ts:209liveFetcher counts any 2xx/3xx as live: a full or expired TestFlight invite still returns 200lib/first-use.ts:159the cross-family guarantee rests on a self-reported --bylib/first-use.ts:72modelFamily: a routing prefix still wins for families without a model wordlib/first-use.ts:315link freshness passes NaN or future-dated link checks; renderPlayMessage Math.min throws with no linkslib/first-use.ts:191evidence kind comes only from the extension; one screenshot can serve all five actions; lstat/read racedocs/troubleshooting.md:1troubleshooting page omits same_family and raw buildFingerprint reasonsbin/gstack-first-use:77start's NEXT line still puts the operator-chosen run dir in double quotes; not reachable from the play specDocumentation
Status: current. The docs already match this branch, so no edits were needed.
Scope: base da98d0a to head ac9e513, 15 committed files, with nothing staged, unstaged or new. The audit covered the new
gstack-first-useCLI and its docs, checked against lib/first-use.ts, lib/autoplan-owner-text.ts, lib/result-codes-capy.ts and bin/gstack-first-use.Documentation health:
Coverage debt:
gstack-first-usehas reference, how-to and troubleshooting coverage but no tutorial, a minor gap. No critical gaps.Diagram drift: none, because no architecture diagrams cover this surface.
Agent notes
GST-3025 item 2, plan in the GStack Minder drive (handoffs/GST-3025/plan.md), approved by the owner on 2026-11-17 ("do it", K1-T1). Touches nothing GST-2944 or GST-2947 pin: it reads
parseDayOnefrom lib/autoplan-owner-text.ts unchanged, and the pin test fails if that format moves. Not a /ship or review change.Refs p1/red-team#2
Refs p1/red-team#4
REVIEW_LOOP: passes=1 blocking_found=2 deferred=0 noted=3 fixed=4 scope=frozen fix_checks=2 dispatches=2
Gate edits: none detected (5 listed, 0 read; patterns: RH-1,RH-3,RH-4,RH-12,RH-13,RH-14,RH-15,RH-16; unlisted idioms: none)
Outside review: openai/gpt-6.1-sol completed on 409c89f (2 CRITICAL: p1/outside-voice#1, p1/outside-voice#2, both fixed in ac9e513 and confirmed by fix-check fc2)
Round grant: Captain GStack Minder (GSTA-36), one scoped fix-check after round 2 (approval a-5074b9e0cb3b, review_loop_grant 409c89f)
Approvals
Approved: yes (record r-5ffee88d9d14). The full approval record stays private.