Repository navigation
curate: 15 trap.d fragments -- 2 promoted, 13 declined (9 already fixed, 4 filed as 3 tracking issues) - #921
Merged
Merged
Conversation
…ed, 4 filed as 3 tracking issues) Promoted: the two #898 bash-subprocess-test pitfalls (Git Bash reglobs its own argv on Windows; a one-line/block extraction regex must try the specific form first) into one new paths rule, bash-subprocess-test-pitfalls.md. Declined, already fixed by later rounds of #860/#898: the Codex-fallback deprecation wording, the auth-failure misattribution, the doctor.sh legacy-token NOTICE section, the README token-isolation overstatement, the lib-lock.sh eval widening, and the legacy-token read-error swallow -- all moot now that the userConfig recovery-token mechanism was removed entirely. Declined, still true, filed as tracking issues: #918 (stale haiku.oauth_token / REMEMBER_OAUTH_TOKEN wording across hooks.d, lib-memory-dir.sh, log.sh and two docs pages), #919 (_check_url_in_comment has no heredoc-boundary tracking), #920 (the #902 REMEMBER_DIR guard's three gaps -- bootstrap-dirs.sh bypass, swallowed FATAL, UNC paths wrongly refused). The README cache-filename fragment cites the existing #888 instead of a duplicate. Part of #860, #870, #875, #891, #894, #896, #898, #902 Co-Authored-By: Claude Sonnet 5 <[email protected]>
fdaviddpt
added a commit
that referenced
this pull request
Oct 6, 2026
* docs(trap.d): log #921 PR-title count-arithmetic mismatch finding\n\nNon-blocking finding from this ticks review of PR #921: the PR titles\nparenthetical arithmetic ("13 declined (9 already fixed, 4 filed as 3\ntracking issues)") does not reconcile with the bodys own per-fragment\nbreakdown (6 already-fixed + 1 matches-existing + 6 filed-across-3-issues\n= 13, not 9+4). Substance of the PR was correct; only the one-line\nsummary count was off. Routed per findings.md as a trap.d fragment\nrather than a new issue.\n\nCo-Authored-By: Claude Sonnet 5 <[email protected]> Co-Authored-By: Max <noreply> * chore: retrigger checks (stale cancelled duplicate check-run leaves mergeable_state UNSTABLE) No content change -- PR #925 was blocked by an unretractable cancelled duplicate of the fragment check on the previous head; this empty commit gives GitHub a clean head to recompute mergeable_state against. Co-Authored-By: Claude Sonnet 5 <[email protected]> --------- Co-authored-by: Claude Sonnet 5 <[email protected]>
fdaviddpt
added a commit
that referenced
this pull request
Oct 7, 2026
…y-fixed) (#955) Curates the 13 trap.d/ fragments waiting since the v0.42.0 release gate 3 audit and self-review rounds. Promoted (paths layer, fired proven both directions): - curate-pr-title-counts-must-be-derived.md (#921: a curate PR's title arithmetic must come from the enumerated per-fragment list, not be restated by hand) - hook-notice-must-not-claim-unverified-tree-state.md (#946 plus two of the #945 regressions: a hook notice must not claim a tree/branch state that was never actually checked) Declined, still true at HEAD, filed as new tracking issues: - #950 consolidates the two 879 wrapper-grant gaps in check_release_tree.py - #951: 933's fast-path test has no positive evidence the fast path ran - #952 consolidates the three 945 regressions (autostash, restore scope, symbolic-ref target) in 60-git-reconcile.sh's rebase --quit rewrite - #953: 946's could-not-tell/nothing-there collapse in _grc_rebase_in_progress - #954: 932's missing _grc_bump_ndc_gen call on the conflict path Declined, already fixed or already documented, no new issue: - 913 (windows-cygpath-test-skip): already recorded verbatim in docs/windows-skip-triage.md's own row - 939 x2 (abort-exit-status-unchecked, foreign-commit-dropped-by-abort): the --abort call path they describe no longer exists, superseded by #945's rebase --quit rewrite Every disposition's reason is in the paths-layer 00-README.md so the next pass finds a decision, not a repeat of the same question. Co-authored-by: Claude Sonnet 5 <[email protected]>
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.
Summary
Curate pass over the 15 trap.d fragments that had accumulated since the last
curation run, per
/oss:run's owncommands/run/curate.mdprocedure. Decidedevery fragment individually; nothing deferred.
Promoted (1 new rule, 2 fragments): the two #898 bash-subprocess-test
pitfalls -- Git Bash reglobs its own argv on Windows when adversarial strings
pass through
bash -c SCRIPT runner *inputs, and a "one-line form | blockform" extraction regex alternation must try the specific form first or the
lazy branch silently runs past a one-line function -- combined into one new
paths rule,
.claude/jit-context/paths/00-manual/bash-subprocess-test-pitfalls.md.Fires on
tests/*.py/scripts/*.sh, driven in both directions against thisworktree (must-fire on a
tests/*.pyedit, must-stay-silent onREADME.md).Declined, already fixed (6 fragments): checked each against HEAD rather
than trusting the fragment's own age. All six describe wording or behavior
tied to the legacy
REMEMBER_OAUTH_TOKEN/haiku.oauth_tokenrecovery-tokenmechanism, which later rounds of #860 and #898 removed or rewrote entirely --
the Codex-fallback deprecation wording, the auth-failure misattribution
(pipeline/haiku.py's warning no longer names any credential at all), the
doctor.sh legacy-token NOTICE section (deleted, #898 round 4), the README
token-isolation overstatement (the sentence and the mechanism it described
are both gone), the lib-lock.sh eval widening (refactored to arrays, #898
round 10, comment says so explicitly), and the legacy-token read-error
swallow (function deleted, commit
3b93c53, per the fragment's ownaddendum).
Declined, still true, filed as tracking issues (4 fragments -> 3 issues):
haiku.oauth_token/REMEMBER_OAUTH_TOKENwording stilldescribing the removed mechanism as "live"/usable, across
hooks.d/ after_save/50-git-backup.sh,hooks.d/before_session_start/50-git-restore.sh,scripts/lib-memory-dir.sh,scripts/log.sh,docs/git-backup-security.mdand
docs/external-storage-mode.md. Consolidates two fragments (Take the optional OAuth token through plugin.json userConfig (sensitive) to clear the directory's MCP_FORWARDS_CREDENTIAL_ENV warning #860'sstale-live-credential-wording-outside-diffand fix(#860): take the recovery OAuth token through plugin.json userConfig #894'sstale-remember-oauth-token-docs-sweep-gap) -- same root cause, one sweep.Also notes #870's isolation-retry warning always blames the saved CLI login, even when a configured OAuth token is what actually failed #890 (an existing open issue for a related finding) now looks
fixed by the same removal and may be worth closing.
_check_url_in_commentin.github/scripts/check_release_tree.pyhas no heredoc-boundary tracking, a latent (not currently live) false-
positive risk.
HH:MM:SS [post-tool] save triggered\ndirs in the project root #902REMEMBER_DIRsafety guard's three gaps:bootstrap- dirs.shbuilds the unsafe tree before the guard ever runs, the FATAL itlogs is swallowed to
/dev/nullwith no trace, and a native UNC projectdir is itself misclassified as unsafe. Consolidates all three post-tool-hook: failed seed of save-HHMMSS.log → WARNING logged under a REMEMBER_DIR built from the log file's CONTENT; thousands of
HH:MM:SS [post-tool] save triggered\ndirs in the project root #902fragments from the v0.41.0 release audit -- one shipped guard, three
facets.
Declined, still true, matches an existing issue (1 fragment): the
README's
$TMPDIR/remember-*disclosure still names the pre-#875remember-config-cache-<key>filename rather than the-v2-formscripts/log.shhas written since -- already tracked as #888, no duplicatefiled.
Every decline line above states which of still-true / already-fixed / cannot-
tell applies, with a citation, per the pass's own self-refusal rule for a
code-claim fragment.
Test plan
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/trap_curate.py" . --copy-stray-from <clone>--0 stray fragments copied in (nothing to sweep back out at the end)
checked against HEAD by reading the actual code/docs, not by trusting the
fragment's own age
against this worktree via
rebuild-tsv.sh+pre-path-hook.sh01-oss/left untouched (the firing-proof drive's own dirt restoredwith
git checkout --before committing)(#864 bumped the config-flatten cache path to v2 but README's #857 disclosure and cleanup don't know about it; v1 cache file orphaned on upgrade #888) cited instead of a duplicate
🤖 Generated with Claude Code
[AI-generated]