Repository navigation
Closed
Labels
lane-otherfits no other lane — kept so an unlabelled issue means untriaged, not 'nothing matched'priority:highBlocks work or has already caused damage
Description
Why
claude-jit-context measured what the Anthropic directory validator flags, and what cleared each finding, over 2026-10-02 and 2026-10-03. It did this by validating throwaway branches in the portal's submit form. Write-up: https://github.com/Digital-Process-Tools/claude-jit-context/blob/feat/release-compile/docs/directory-validator.md (it reaches jit-context's main with jit-context#462).
The maintainer's bar is zero holds and as few warnings as possible (see #893, #860). remember v0.39.0 is pending validation right now, so these fixes land on main for the next release. Nothing here re-submits or moves release.
What their measurements say applies to us
MCP_FORWARDS_CREDENTIAL_ENVfires on a pair: something that reads the environment (any$VARor${VAR}, a name containingKEY, the word "credentials") plus something that could send data out (any URL host, even inside a comment, or any network command name in shipped data). It counts per file, and across the plugin through theplugin.jsonaggregate. That matches our 3 findings on v0.38.0 (README,session-start-hook.sh,plugin.json), even after fix(#860): take the recovery OAuth token through plugin.json userConfig #894 and fix(#893,#860): reword shipped credential text to drop literal env-var names #896 removed the env-var names: the shipped README still has$TMPDIR/...-style paths and URLs, and the shipped CHANGELOG has links.- A typed
<<(here-document) in a shipped script is a hard block, filed as "Unpinned npx launcher". We have not hit it yet, but we have no guard against it either. COMMAND_SCRIPT_NOT_FOLLOWED(a hold): a script that sources or runs another file, or that names one by path in a help message. remember's hookssourcescripts/log.shand friends. v0.38.0 did not raise this hold, but it is a known trigger, so it needs a guard and a decision.
Do
- Ship a short
README.release.mdthat the build swaps in forREADME.mdin the release tree (.github/scripts/build_release_tree.py). It must contain no$VARIABLE, no${...}and no network command names, and keep URLs to the minimum the listing needs. It still has to meet the directory's README rule (40 words or more) and keep docs(#854): disclose everything the plugin runs, sends and stores; fix the git backup trigger wording #855's disclosure in substance: what runs, sends and stores, and that the nestedclaudeuses the user's own login. The full README stays on main. - Stop shipping
CHANGELOG.mdin the release tree. Only README and LICENSE are required. Check every consumer first:check_release_tree.py,smoke_release_tree.py, the changelog guard tests from Directory warning RUNTIME_FETCH_EXEC (download-and-run) rose from 2 to 3 findings on v0.38.0; find the real matches #864/Gate-3 release audit: v0.39.0's changelog fragments reintroduce eval/curl/wget into the shipped CHANGELOG section (#864's own fix undone) #886, and the version-sites logic. - Scrub the shipped scripts: no URLs in comments or help text; no network command names (curl, wget, ftp, dig, drill, host, http, finger, mail, lynx, links, fetch, talk…) in shipped data or comments; no
scripts/<name>.shpaths in user-facing messages (name tools in words). Measure each with a test. - Guards in
check_release_tree.py(FAIL, with a red test and a positive control each): a typed<<anywhere in a shipped script; a URL host in a comment of a shipped script; a network command name in a shipped file; an env-read token and a send token in the same shipped non-code file (README, docs);${VAR}or$VARin the release README. docs/releasing.md: link jit-context's doc, and add the release-preview step: build the release tree, push it to a throwawayrelease-previewbranch (the maintainer runs that push; the agent's classifier refuses it), validateDigital-Process-Tools/claude-remember@release-previewin the portal's submit form without clicking Next, and only then tag. Note that the branch the portal tracks cannot change while the plugin is under review.
Out of scope
- The
source-based hook structure (COMMAND_SCRIPT_NOT_FOLLOWED). Measure it with a release-preview validation first. jit-context compiled the library into each script at build time, which is a big change and not to be made on speculation.
Related: #851, #860, #864, #866, #893.
[AI-generated]
Metadata
Metadata
Assignees
Labels
lane-otherfits no other lane — kept so an unlabelled issue means untriaged, not 'nothing matched'priority:highBlocks work or has already caused damage
Activity
fix(#898 round 2): scheme-literal fix, dot-fallback to $PWD, post-too…
fix(#898 round 2): scrub host/scheme-literal self-inflicted hits in p…
test(#898 round 2): add FAIL/REVIEW guard tests, fix fixture collisio…
fix(#898 round 2): address review findings -- trim allowlist, add ssh…
fix(#898 round 3): remove the recovery-token feature entirely -- no c…
fix(#898 round 3): docs for the full recovery-token removal
fix(#898 round 3): self-review fixes -- leftover test, stale cross-re…
test(#898): fix 4 CI-red scanner/divergence tests broken by round 2 l…
fix(#898 round 4): replace every typed here-document with a here-string
fix(#898 round 4): remove the legacy recovery-token presence check en…
fix(#898 round 4): replace every $PWD with $(pwd)
fix(#898 round 4): replace every nested default expansion with if/else
docs(#898 round 4): log the round-4 findings and fixes
106 remaining items
docs(#893): fold the pre-tag portal preview into the release sequence…
curate: 15 trap.d fragments -- 2 promoted, 13 declined (9 already fix…
fix(#913): avoid nested default expansion and a credential-like name;…
fix(#913): cache SESSION_DIR in post-tool-hook.sh to stop re-forking …
fix(#975): CI -- rewrite escape handling without the forbidden backsl…
fix(#972,#975,#982): anchor v1 cache substitution, harden reconcile t…
Fix #1002 CI: clear the directory scanner's shaped holds, defer sessi…
Fix #1003 (round 3): cover python3.9-3.13 in the versioned fallback, …
Fix #1003: reject Python below the supported floor instead of reporti…
Fix #1002: route PostToolUse's background save through a hidden launc…
Fix #1054, #1055: no empty auto-memory folder per summary; summarizer…
Fix lib-lock.sh's own CI-blocking scanner finding from this branch's …
Fix #1056: fewer forks and a bounded retry on SessionEnd's flush (#1095)
Fix #1104 review: accept REG_SZ "0" and a case-insensitive value name…
Fix #1104: skip the hidden Windows detach route when WSH is disabled …