Repository navigation
v1.92.76.0 wave(review): #3809 #3813 #3826 #3831 #3838 - #3848
Merged
Merged
Conversation
…rees (#3749) /retro saved snapshots under .context/retros inside the working tree, so a run in a linked worktree saw none of the main checkout's history, reported "First retro recorded", and wrote a snapshot that git worktree remove deletes. gstack-retro-metrics --history [--next <date>] now resolves the history directory as <state root>/projects/<slug>/retros (the slug is keyed on the git common dir, so every worktree shares it), moves any legacy .context/retros from this worktree and the main checkout into it, lists prior snapshots and prints the next snapshot path. Step 12/13 and the gbrain prior-retros query use it. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…ff-scope (#3650) gstack-gate-diff and gstack-diff-scope resolved a bare base such as main to the local branch whenever it shared history with HEAD. A local main that is behind origin/main (a linked worktree, or a Capy clone, where local main never moves) then set the merge base, so /ship's gate scan and specialist scope also read commits already upstream. Both now prefer origin/<base> when it resolves, the base /ship fetches and merges against. Fixes #3650 Co-authored-by: exGeni <[email protected]> Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…nt runs (#3749 review) Review pass 1 findings: a .context/retros that resolves outside its worktree (or to the shared history itself) is left alone, so migration can no longer delete the history it points at; moves are no-clobber with retry; a copy identical to any same-date snapshot collapses; RETRO_FILE is reserved as {} so overlapping runs in two worktrees never share a path; --next must be a YYYY-MM-DD date; a missing option value no longer loops forever. Step 12 names RETRO_HISTORY_ERROR instead of reading it as a stale helper. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…ough origin too) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…remote never replaces the base) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…s both date inputs Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…Windows shard passes Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…cal main or a shadowing tag (GST-883, failing first) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…n/<base> by full ref name; review-plan scans the merge base its own diff used (GST-883) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…the R51 rm and rmSync rules fail (GST-898) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…-898) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
… verdict-identity replay Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…nc window; repin on the GST-898 no-loss replay Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…review-plan-origin-base
… auth, bare base in diff-scope and receipt depth (GST-911, GST-884, failing first) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…y; session data files are not auth; diff-scope and the receipt depth read origin/<base> by full ref name (GST-911, GST-884) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…-padded character references; the security class reads a file's changed SVG lines joined (GST-911 review pass 1) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
… SVG (GST-911 review pass 2, failing first) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…g its value, so a stray quote cannot hide an external href (GST-911 review pass 2) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…d): image-set(), image(), element() keep it code (GST-911 Step 11, failing first) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…nd no function but url(#id), which closes image-set(), image(), element() and every other CSS load (GST-911 Step 11) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…unclosed style tags are refused in linear time, and every drawing verdict holds at 1 MB and 8 MB (GST-911, failing first) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…ts and reading CDATA, so no hidden </style> ends it early and unclosed style tags refuse in linear time (GST-911) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> # Conflicts: # lib/review-risk.ts # test/review-packets-removed.test.ts
… rules (GST-898) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> # Conflicts: # bin/gstack-gate-diff # lib/gate-diff/git.ts
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> # Conflicts: # docs/review-policy.md # lib/review-depth.ts # lib/review-risk.ts # test/review-packets-removed.test.ts
|
😎 This pull request was merged. |
… red-team CRITICAL) SVG_REFUSED's url() entry backtracked quadratically on url( followed by a long whitespace run (80k spaces: 820 ms; 1 MB: over 230 s), and svgDrawing runs in collectLive and in collectCommit, which ship-queue ready, train build and land call with no timeout. The rewritten entry refuses exactly what #3838's pattern refused. Repin lib/review-depth.ts under no-loss replay GST-911-redos (verdict identity: 60,000 seeded strings, the edges and every SVG blob in history, zero differences). Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
- bin/gstack-diff-scope: _resolve_base takes a related local <base> before another remote's twin, the order resolveBase uses, so the two tools pick the same base for a bare name when origin/<base> is unrelated. - lib/review-depth.ts: a drawing's DOCTYPE names no document but W3C's SVG DTD; SYSTEM and other PUBLIC identifiers keep the SVG code. Repin lib/review-depth.ts under no-loss replay GST-911-redos (the DOCTYPE change only keeps more SVGs code, so it drops no reviewer). Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Exported only so test/review-risk-redos.test.ts can reach the url() entry; a frozen readonly copy keeps any importer from changing verdicts while DEPTH_RULES still reports the original rules. Repin lib/review-depth.ts under no-loss replay GST-911-redos (no pattern changed). Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…p 11)" The fix-check (wave review-2) showed Object.freeze is shallow: each RegExp can still be changed in place, so the freeze did not close adversarial-native#1, and it moved the tree past the one the Step 11 voices reviewed. The finding ships as an open note (its reviewer rated it Low, not blocking; no production caller mutates the list). Restores the lib/review-depth.ts pin under no-loss replay GST-911-redos. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…ave review-2 docs audit) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This was referenced Nov 2, 2026
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.
Wave review-e7b551ebd865
One slot and one version for 5 PRs in area
review, each merged unchanged with a merge commit:Each constituent is closed with a link to this PR after it lands (
gstack-ship-queue wave settle).Issues
Fixes #3650
Refs #3749
Refs #3809
Refs #3813
Refs #3831
Refs #3838
What changed
resolveBase(origin twin first, then a related local base, then other remotes; both notes kept) and fix(review): /ship planner misreads: chart SVG as code, session data as auth, stale local base (GST-911, GST-884) #3838 vs v1.92.61.0 fix(ship): risk classes cover outbound clients, archives, child_process and metering (GST-850) #3829/fix(review-risk): one hostile line no longer stalls review classification (GST-898) #3831 (both comment blocks, every NO_LOSS_REPLAYS entry kept, pins repinned to the merged bytes).url(refusal ran in quadratic time (1 MB of spaces took over 230 s in a path train build and land call with no timeout); it now runs in linear time and refuses exactly the same strings. An SVG whose DOCTYPE names an outside document stays code.gstack-diff-scopepicks its base in the same order asgstack-gate-diff.lib/review-depth.tsis repinned under the no-loss entry GST-911-redos.Why
Five review-pipeline fixes touched the same files, so they land as one wave (R46) instead of five slots.
Blast radius
gstack-review-plan,gstack-diff-scope,gstack-gate-diff, the queue's depth check and/retro. No workflow, install, network or secret handling changed.Pre-Landing Review
REVIEW_LOOP: passes=2 blocking_found=1 deferred=0 noted=1 fixed=3 scope=frozen fix_checks=2 dispatches=6
Review-loop exception: accepted by GStack Minder (GSTA-36) 2026-11-02 via GSTA-36 message to GSTA-249: rule 23 grant: one scoped fix-check on the one-line docs/review-policy.md docs-audit hunk plus one native-adversarial rebind; findings ship as open notes (fix-check at b306a49, 0 findings)
Gate edits: 9 listed, 1 read, 0 findings (the review-depth pin repin under GST-911-redos).
Review notes
SVG_REFUSEDis exported (for a test) as a mutable array; an importer could change verdicts. Low, not blocking; a shallowObject.freezedid not close it and was reverted.bin/gstack-diff-scopecan drop SCOPE_AUTH for a session-named JSON that code consumes. Filed under GST-961.\sis wider than CSS whitespace, sourl(\u00a0#x)reads as same-document. This predates the branch and is kept unchanged by verdict identity.test/review-targeted.test.tsend to end fails when run under a sourced gstack launch env (GSTACK_STATE_ROOTleaks into the fixture); it passes in CI and without that env.Exploratory QA
Wave PR #3848 at 170b32a, functional surface (CLIs), report-only smoke (5 min / 12 probes; 4 used). Verdict: pass.
Limits: retro-metrics not probed; capture 003's fixture shape (origin refs without an origin remote) is not a real clone.
Documentation
Scope: audited the 28 files of the wave/review-e7b551ebd865 candidate (base 0c84f4e, head 5acdd24, no staged, unstaged or untracked changes) against the 135 docs in the candidate. This covered the review policy, skills, design and troubleshooting docs, the README/AGENTS/CLAUDE/CONTRIBUTING set, and the bin and lib behavior changes (origin-base resolution, SVG drawing check, retro history in the state root, sessions-data auth scope).
Result: docs already matched most of the changes. I made one edit to
docs/review-policy.md, adding that an SVG with a DOCTYPE other than a bare<!DOCTYPE svg>or W3C's SVG DTD stays code. No tests were run.Debt: the diff-scope base-resolution order is documented only in the changelog fragments and code comments, not in the docs.
Test plan