Repository navigation
curate: promote 1 rule, decline 10 fragments (5 new issues, 1 stale) - #977
Merged
Merged
Conversation
trap.d/ held 11 fragments from the v0.42.0/v0.42.1 release gate-3 audits and the #969 kill-switch lane's own self-review. One (#881's Unicode line- separator gap in the anti-log-injection control-char regex) is promoted to a standing jit-context rule, scoped to pipeline/log.py and scripts/log.sh -- proven to fire on pipeline/log.py and stay silent on an unrelated file. The other ten are declined as rules (each a scoped, single-site fix rather than a generalizable lesson) and re-verified against HEAD: - #888 (v1 cache-path substring substitution), #913 (SESSION_DIR cache keyed on the wrong variable) and #918 (lost rotate-credential advice) are each still true and each filed as its own issue (#972, #973, #974). - #952 (two fragments), #953 and #966 all describe defects in 60-git-reconcile.sh's rebase/restore code, now hard-disabled (#969/#970) -- still present but unreached. Consolidated into one pre-re-enable checklist (#975) rather than four separate issues, since all four gate the same future event. - #969 (two fragments) are both fallout from the same hard-disable landing without its downstream prose/log cleanup -- consolidated into one issue (#976). - #951 (a macOS CI flake investigation on a since-closed PR) is stale: the file and hook it investigated have both been substantially rewritten since (#966, #969/#970). No issue filed; a fresh investigation would need to start from the current tree. 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.
What this pass did
trap.d/held 11 fragments from the v0.42.0/v0.42.1 release gate-3 audits and the #969kill-switch lane's own self-review. Every fragment got a disposition; the directory is empty.
Every "still true" / "stale" claim below was re-checked against this branch's own HEAD, not
restated from the fragment's own text.
1 promoted, 10 declined, 0 deferred.
Promoted (1)
881.unicode-linebreaks-outside-cntrl->.claude/jit-context/paths/00-manual/log-sanitizer-regex-must-cover-unicode-line-separators.md,scoped to
pipeline/log.pyandscripts/log.sh. Both files' anti-log-injection flatteningcovers ASCII control chars only; Python's
str.splitlines()also breaks on U+0085/U+2028/U+2029,which the regex does not touch. Firing proof:
read:pipeline/log.pyinjects the rule;read:pipeline/summarize.py(an unrelated file in the same folder) returns nothing. A known-goodcontrol rule (
hook-notice-must-not-claim-unverified-tree-state.md, matched againsthooks.d/after_save/60-git-reconcile.sh) fired correctly in the same drive, ruling out a brokenharness.
Declined (10) -- see
.claude/jit-context/paths/00-manual/00-README.mdfor the full per-fragment linesgeneralizable lesson. Filed as Part of scripts/log.sh: v1 orphan-cache-path substitution can match inside $TMPDIR instead of the intended -v2- segment #972, Part of post-tool-hook.sh: SESSION_DIR cache is keyed on MEMORY_PROJECT_DIR but its cached value is computed from $PROJECT #973, Part of 50-git-backup.sh: untrack receipt lost its rotate-the-credential advice when #918 reworded the stale oauth_token wording #974 respectively.
60-git-reconcile.sh'srebase/restore code, which is now hard-disabled unconditionally (fix: 60-git-reconcile.sh conflict-abort restore can still destroy a concurrent write before the rebase --quit snapshot window (residual after #966) #969/fix(#969): hard-disable 60-git-reconcile.sh pending the real TOCTOU fix #970) -- still present,
unreached rather than fixed. Consolidated into one pre-re-enable checklist, Part of 60-git-reconcile.sh pre-re-enable checklist: four known defects in the hard-disabled code (#969) still present at HEAD #975, rather
than four separate issues, since all four gate the same future event (re-enabling the hook).
downstream prose/log cleanup (the kill-switch notice pollutes
hook-errors.logfor every user;two sibling hooks still promise the disabled behavior will happen automatically). Consolidated
into Part of git-reconcile hard-disable (#969/#970) left two user-facing side effects unaddressed #976.
the file and hook have both been substantially rewritten since (fix: scoped conflict-abort restore in 60-git-reconcile.sh can destroy another slug's concurrent write (regression in #952/#962) #966, fix: 60-git-reconcile.sh conflict-abort restore can still destroy a concurrent write before the rebase --quit snapshot window (residual after #966) #969/fix(#969): hard-disable 60-git-reconcile.sh pending the real TOCTOU fix #970), so the
specific failure signature is no longer verifiable against the current tree. No issue filed.
Housekeeping
--copy-stray-fromfound no stray fragments in the primary clone at the start of this pass(
STRAY-NAMES:empty), so no sweep was needed at the end.[AI-generated]