Repository navigation
A first version's public copy catches a short owner quote whose padding or quote marks are encoded - #4778
Merged
Conversation
…side its quote marks Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…e marks are encoded Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
capy-ai
Bot
changed the base branch from
public-copy-redacts-padded-short-quotes
to
main
November 24, 2026 05:25
|
😎 This pull request was merged. |
…ncoded-padded-quotes Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> # Conflicts: # docs/troubleshooting.md # docs/unattended.md # lib/autoplan-owner-words.ts # test/autoplan-public-owner-words.test.ts
…d or doubled space Review-Finding: p1/specialist-batched#1 reader=red-team Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Merged
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>
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.
A first version's public export now catches a short owner quote when its padding or quote marks are encoded, such as
, a zero-width space,"or a JSON\".Why: those spellings kept the owner's words in the public copy and
validate --publicpassed them; short quotes are now matched on the same decoded text the long-quote scan reads.Nothing to do: the redaction still replaces only the original characters of the quote.
What changed
Tests
padding, zero-width padding,"marks, inside the quote, JSON-escaped marks) and encoded or doubled spaces between a quote's words; each leaks without the fix. The same test pins today's over-redaction of a bare mention framed by two neighboring quoted strings, and keeps a plain mention and a longer quoted sentence unchanged.validate --publiccatches a quote padded with or a zero-width space written back (fails on main); the whole-export table gets entity-padded and zero-width-padded plan quotes (these already pass on main and guard the plan side).Pre-Landing Review
Two review rounds. Round 1 found that a short quote whose words were separated by an encoded or doubled space still leaked; fixed here. Round 2, a full pass, found nothing. A second-model review left three low notes, none blocking:
"ship​it") is not caught."**ship it**") still hides a short quote. This was true before this change. padding and quoted link targets can redact a little more than the quote itself; that fails safe.Agent notes
Follow-up to #4776 (adversarial-native#1 at 29557a3), shipped apart from GST-3646 item 3 on the maintainer's ruling.
No approvals recorded for branch public-copy-redacts-encoded-padded-quotes.
Plan: exempt: bug fix (R65)
Plan check: exempt bug fix