Skip to content

A first version's public copy keeps out the owner's short quotes, and phone first-use checks install a build the phone can run (GST-3646) - #4772

Merged
capy-ai[bot] merged 6 commits into
mainfrom
first-versions-short-quotes-and-testflight-route
Nov 24, 2026
Merged

capy-ai[bot] merged 6 commits into
mainfrom
first-versions-short-quotes-and-testflight-route

Conversation

@garrytan

@garrytan garrytan commented Nov 24, 2026 •

Copy link
Copy Markdown
Owner

A first version's public export now keeps out the owner's short quotes and his reasons to leave something out, and a phone first-use check installs a build the cloud phone can actually run.
Why: a one- or two-word quote or a leave-out reason could reach the public copy through the gate's choice titles, and the phone check named a TestFlight build the cloud phone can't install.
Phone checks now need --phone-build <id> on gstack-first-use start; phone runs started before this change must be started again.

What changed
  • Public export. gstack-autoplan export --public redacts each plan quote wherever it appears directly inside quote marks, whatever its length, and each quote's leave-out reason after leave out:, leave it out for now: or reason to leave it out:, in any case. validate --public refuses a copy where either was written back. A bare, unquoted mention of a short quote's words stays, so ordinary prose isn't blanked out.
  • Phone first-use check. gstack-first-use start for iOS or Android refuses to start without --phone-build, the 26-character id of the mobile build service's build of --commit. The checker's brief tells it to install that build, and to record step 1 as broken if it won't install. A phone run started before this change is refused with a note to start a new one. gstack can't prove that build is the same code TestFlight ships; the builder names it, as the docs say.
  • Docs: docs/first-use-check.md, docs/unattended.md (the public copy) and two entries in docs/troubleshooting.md.
Tests
  • CI at 4cee03a carries the full free suite: 1,779 test files, 0 failed (Free Tests run 45317161759), plus the macOS and Windows jobs.
  • New: a table of 4 quote shapes by 10 line shapes through the whole-export check, with every key the plan parser accepts in mixed case (Does It, Choice; Size:, Leave Out:, Recommend Leave Out:), plus validate --public catching quoted re-insertions while passing plain mentions. It fails on main and without the case fix.
  • New: a phone start without --phone-build is refused, an older phone run is refused on read, and the iOS and Android briefs name the build to install. Each fails without its fix.
Pre-Landing Review

Two review rounds. Round 1 found that an older phone run would brief an install of "undefined", fixed here. Round 2 found that a capitalized Leave out: key still leaked its reason, fixed here with the same check for every key the parser accepts. The final head then got one read-only full review (no findings) and a second review of the whole diff. Open notes, none blocking:

  • A short quote written with spaces just inside its quote marks (" water alerts ") is still not redacted, so it can reach the public copy. Before this change every short quote did.
  • A one- or two-word quote that also appears in quotes inside a code block in plan.md makes export --public refuse until the plan is edited. It fails closed.
  • --phone-build is accepted and ignored on web, Mac and server builds.
  • A phone run that finished before this change can no longer print its owner message; it has to be run again.
  • Nothing ties the phone build id to --commit; the builder vouches for it.
Agent notes

Follow-up to #4759 (GST-3608): items 1 and 2 of GST-3646, the two open notes the second-model review left on that PR. Item 3 waits on a product answer and ships separately. The round-2 case fix was made on a ruling from the maintainer (fix-check grants retired, #4741), followed by one read-only full review of the new head.

No approvals recorded for branch first-versions-short-quotes-and-testflight-route.
Plan: exempt: bug fix (R65)
Plan check: exempt bug fix

Closed by fix 6b1a928: p2/specialist-batched#1 (a later full review at 6b1a928 read it clean)

{
  "schema_version": 1,
  "pr": 4772,
  "head": "4cee03a25b0cd6ceb483119f2ca9718fdac8fc32",
  "version": "1.103.0.0",
  "base": "main",
  "gate": {
    "test": {
      "pass": 39391,
      "fail": 0,
      "skip": 67
    }
  },
  "ci_carried": [
    {
      "lane": "test",
      "run": 45317161759,
      "attempt": 1,
      "tree": "d3cbeaefa5ebaf2af2c3dd1e360d0452d29aaacc"
    }
  ],
  "calls": 30,
  "session_kind": "unattended",
  "run": "gsta830-f1",
  "head_tree": "d3cbeaefa5ebaf2af2c3dd1e360d0452d29aaacc",
  "product_patch_id": "d29e859d148fc96165544f32e5d6d6c54c926e92",
  "gstack_version": "1.103.0.0",
  "review_depth": {
    "depth": "light",
    "class": "code",
    "runtime_lines": 37,
    "rules": "33831f8248a814fd",
    "base": "6ef386130221673561b4b43792a72effba97f2d0",
    "registry": "6ef386130221673561b4b43792a72effba97f2d0",
    "gate_scan": {
      "tagged": 0,
      "head": "4cee03a25b0cd6ceb483119f2ca9718fdac8fc32"
    },
    "reasons": [
      "runtime=37"
    ],
    "risk": [],
    "mode": "panel"
  },
  "pregate": "requires-remote cleared @d3cbeaefa5eb (8 checks, current for 4cee03a25b0c)",
  "requires_remote": [
    "free-tests.yml/macos-named-regressions: https://github.com/garrytan/gstack/actions/runs/45317161759/attempts/1",
    "pregate.json/remote_gate: remote-gate tree=d3cbeaefa5eb tests=39391 skipped=67 runs=45317161759/1 profiles=ci-reuse/free-tests heads=4cee03a25b0c base_moved=6ef386130221 verified=2026-11-24T03:15:51.249Z"
  ],
  "issues": {
    "fixes": [],
    "refs": [],
    "flakes": []
  },
  "docs": {
    "status": "current",
    "scope": "README.md, docs/, crew/docs/, capy/skill/gstack guides, autoplan/DRIVER.md.tmpl and ship/sections/apple-release.md.tmpl"
  },
  "review_loop": {
    "passes": 3,
    "blocking_found": 1,
    "deferred": 0,
    "noted": 5,
    "fixed": 2,
    "scope": "frozen",
    "rounds": 3,
    "dispatches": {
      "specialist": 3
    }
  },
  "cleared_by_trailer": [
    {
      "id": "p2/specialist-batched#1",
      "commit": "6b1a928c9ee00761b841fc7386ea1da214699759",
      "review": "6b1a928c9ee00761b841fc7386ea1da214699759"
    }
  ],
  "gate_dispositions": []
}
{"head":"5a81d189b67172ea56f07a7b8545b2d3967599bf","run":"gsta830-f1","mark":"stop","tree":"b80c7921cd8964d6bea3f595b29313dc626e971a","at":"2026-11-24T02:49:27.909Z"}

Open in Capy

garrytan and others added 2 commits November 24, 2026 02:36
… phone first-use checks install a build the phone can run (GST-3646)

The public export now redacts every owner quote shown inside quote marks, of any
length, and every leave-out reason, and validate --public catches either one
written back. gstack-first-use start for iOS and Android now takes --phone-build,
the mobile build service's build the cloud phone can install.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…d matching TestFlight

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

trunk-io Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

😎 This pull request was merged.

garrytan and others added 4 commits November 24, 2026 02:43
…of briefing an install of nothing

Review-Finding: p1/specialist-batched#1 reader=testing
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…is typed in

Review-Finding: p2/specialist-batched#1 reader=security
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
… in the changelog entry

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…on and the refused older phone runs

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
@capy-ai
capy-ai Bot merged commit 84b4eab into main Nov 24, 2026
61 checks passed
capy-ai Bot added a commit that referenced this pull request Nov 24, 2026
…th spaces inside its quote marks (#4776)

A first version's public export now also redacts a short owner quote
written with spaces just inside its quote marks, like `" water alerts
"`.

Why: those words reached the public copy and `validate --public` passed
it; this closes the gap left open on #4772.

Nothing to do: the change is one pattern in lib/autoplan-owner-words.ts.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
@garrytan garrytan mentioned this pull request Nov 24, 2026
capy-ai Bot added a commit that referenced this pull request Nov 24, 2026
- `/ship` now tells you what to change when GitHub refuses a push for email privacy. (#4748)
- The release gate's /cso check accepts the low-confidence hypotheses /cso now reports. (#4753)
- /cso reports every security finding the code supports instead of dropping most of them. (#4739)
- /cso can search the whole repository in one call, and a daily report now lists its low-confidence hypotheses. (#4742)
- A first version's plan and try-it message now open with the owner's own words, and the build is tried the same way he will try it before he is asked. (#4759)
- A first version's public export now keeps out the owner's short quotes and his reasons to leave something out, and a phone first-use check installs a build the cloud phone can actually run. (#4772)
- Three intermittent test failures are fixed. (#4745)
- Free Tests runs its shards on 8-core runners again. (#4749)
- A land that waits on an earlier CI run now decides on what that run actually did. (#4763)
- Landing a PR no longer starts a new CI run when one for the same merged code is already running or has passed. (#4760)
- /ship no longer misses a file-mode change from main on files whose names start with `:`. (#4774)
- make-pdf keeps quotes in alt text, link titles and raw HTML attributes inside the attribute, so a Markdown file can no longer add an `onerror`, `onload` or `javascript:` link that runs in the print browser. (#4761)
- Posting a PR body that lists earlier /ship runs no longer stops for a phone number that isn't there. (#4747)
- A first version's public export now catches a short owner quote whose padding or quote marks are encoded. (#4778)
- A first version's public export now also keeps out a short owner quote written with spaces just inside its quote marks. (#4776)
- Posting a PR body that lists earlier /ship runs no longer stops for a card number that isn't there. (#4751)
- /ship no longer asks for an extra reader when you merge the base branch next to code that was already reviewed. (#4754)
- /ship no longer plans narrow re-checks after a fix. (#4741)
- /ship can't quietly gain new refusals. (#4740)
- `gstack-upgrade` no longer refuses to run after you disable skills. (#4743)
- The free test suite splits its shards from this week's recorded test times. (#4744)
- gstack now writes up a failed or shelved attempt before closing it. (#4735)

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