Skip to content

A first version's public copy keeps out a short owner quote padded with spaces inside its quote marks - #4776

Merged
capy-ai[bot] merged 1 commit into
mainfrom
public-copy-redacts-padded-short-quotes
Nov 24, 2026
Merged

capy-ai[bot] merged 1 commit into
mainfrom
public-copy-redacts-padded-short-quotes

Conversation

@garrytan

@garrytan garrytan commented Nov 24, 2026 •

Copy link
Copy Markdown
Owner

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.

Tests
  • CI at 29557a3 carries the full free suite: 1,779 test files, 0 failed (Free Tests run 45325894424), plus the macOS and Windows jobs.
  • The whole-export table gets a padded two-word quote across all 10 line shapes, and validate --public catches a padded quote written back. Both fail on main (the table with 20 leaked fragments) and pass here.
Pre-Landing Review

One full review: one reader, no findings, and a second review of the whole diff. Open notes, none blocking:

  • Padding written as an HTML entity ( ) or a zero-width space inside the quote marks still isn't matched, so a short quote padded that way can still reach an HTML or entity-escaped public copy. That gap is older than this change; the full fix is to match quotes on the decoded text the long-quote scan already uses.
  • Spaces on both sides now let the closing mark of one quoted string and the opening mark of the next frame a bare mention between them, which gets redacted too. That errs toward hiding more, never less.
Agent notes

Open note from the second review on #4772 (adversarial-native#1 at 6b1a928). Shipped on its own on the maintainer's ruling, ahead of GST-3646 item 3.

No approvals recorded for branch public-copy-redacts-padded-short-quotes.
Plan: exempt: bug fix (R65)
Plan check: exempt bug fix

{
  "schema_version": 1,
  "pr": 4776,
  "head": "29557a3d3a641ff85f8621cb8aaddda92052cadd",
  "version": "1.103.0.0",
  "base": "main",
  "gate": {
    "test": {
      "pass": 39393,
      "fail": 0,
      "skip": 67
    }
  },
  "ci_carried": [
    {
      "lane": "test",
      "run": 45325894424,
      "attempt": 1,
      "tree": "6deb7b709d782e52de60385528e503cfbc5d9195"
    }
  ],
  "calls": 24,
  "session_kind": "unattended",
  "run": "gsta830-f2",
  "head_tree": "6deb7b709d782e52de60385528e503cfbc5d9195",
  "product_patch_id": "c5e32a3c1dc04fbb6f18e1ef834cdd08d639d60f",
  "gstack_version": "1.103.0.0",
  "review_depth": {
    "depth": "light",
    "class": "code",
    "runtime_lines": 4,
    "rules": "33831f8248a814fd",
    "base": "84b4eab0a9abf586a2998d27befc2594c233cebe",
    "registry": "84b4eab0a9abf586a2998d27befc2594c233cebe",
    "gate_scan": {
      "tagged": 0,
      "head": "29557a3d3a641ff85f8621cb8aaddda92052cadd"
    },
    "reasons": [
      "runtime=4"
    ],
    "risk": [],
    "mode": "panel"
  },
  "pregate": "requires-remote cleared @6deb7b709d78 (8 checks, current for 29557a3d3a64)",
  "requires_remote": [
    "free-tests.yml/macos-named-regressions: https://github.com/garrytan/gstack/actions/runs/45325894424/attempts/1",
    "pregate.json/remote_gate: remote-gate tree=6deb7b709d78 tests=39393 skipped=67 runs=45325894424/1 profiles=ci-reuse/free-tests heads=29557a3d3a64 verified=2026-11-24T05:11:21.319Z"
  ],
  "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": 1,
    "blocking_found": 0,
    "deferred": 0,
    "noted": 3,
    "fixed": 0,
    "scope": "frozen",
    "rounds": 1,
    "dispatches": {
      "specialist": 1
    }
  },
  "gate_dispositions": []
}

Open in Capy

…side its quote marks

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.

@capy-ai
capy-ai Bot merged commit f3a89d2 into main Nov 24, 2026
61 of 62 checks passed
@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