A first version's public copy keeps out a short owner quote padded with 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>
This commit is contained in:
Garry Tanandcapy-ai[bot] authored and GitHub committed 2026-11-24 05:25:24 +00:00
1 parent 6b7714c3e8
commit f3a89d2105
5 files changed
+10 -7

No files matched your search

+2 -2
View File
@@ -6029,8 +6029,8 @@ are one, compared across punctuation, line breaks, JSON escapes, entities, HTML
Markdown markup, invisible format characters, contractions and case; replies
of 1 or 2 words are not scanned for, and words the owner echoed from earlier
text he didn't write are not his (the words a reply adds to an echo still are).
A plan quote of any length is also one wherever it appears directly inside quote
marks, and so is its `leave out:` reason after `leave out:`, `leave it out for
A plan quote of any length is also one wherever it appears inside quote
marks, spaces just inside them included, and so is its `leave out:` reason after `leave out:`, `leave it out for
now:` or `reason to leave it out:`, in any case. See
[the public copy](unattended.md#the-public-copy). `gstack-artifact validate --public <dir> --private
<run>/run.json` reports each quote with file:line, and `gstack-autoplan export
+1 -1
View File
@@ -387,7 +387,7 @@ owner's own words: nothing a person wrote leaves without their click (GST-1243).
quote too. Replies of 1 or 2 words ("yes", "do it") are not scanned for:
they are codes or grammar, and the field itself is already dropped. A quote
under the plan's `### Owner's words` heading is redacted at any length
wherever it appears directly inside quote marks, and the reason on its
wherever it appears inside quote marks (spaces just inside them included), and the reason on its
`leave out:` line wherever it follows `leave out:`, `leave it out for now:`
or `reason to leave it out:`, in any case; a bare mention of a short quote's
words outside quote marks stays. A quote