Repository navigation
fix(install): resolve install shadowing, test slicing, security guards, and tool exposure (#424, #439, #440, #441, #442) - #443
Merged
Conversation
added 2 commits
November 14, 2026 13:48
…s, and tool exposure (#424, #439, #440, #441, #442) - Detect and warn on PATH shadowing and prefix skew in doctor H2b check (#424) - Validate version alignment in resolveStablePantheonRoot before binding global candidate (#424) - Sanitize npm_config_allow_scripts in sync-tui.mjs to avoid EALLOWSCRIPTS (#424) - Reorder --test-name-pattern ahead of file path in test-slice.mjs (#442) - Enforce .git and node_modules path denial in auto-permissions and zeusReadGuard (#441) - Expose todowrite and todoread across all 14 agents in roster.json and capabilities (#439) - Auto-discover active session ID for vision_describe from environment or opencode.db (#440) - Update ROADMAP.md and CHANGELOG.md
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
This PR resolves all outstanding issues discovered during smoke verification and reported across issues #424, #439, #440, #441, and #442:
Global Install Shadowing & PATH Hygiene (Fixes install: stale global copies across npm prefixes cause PATH shadowing and version skew #424):
resolveStablePantheonRootpreventing_npxfrom silently binding to older global packages.npm_config_allow_scriptsandnpm_config_approve_scriptsinsync-tui.mjsto avoidEALLOWSCRIPTSerrors during nestednpm ci.Strict Test Slice Filter Ordering (Fixes Bug: test:slice --failed-only emits --test-name-pattern after file path (Node ignores filter) #442):
--test-name-patternflag ahead of the test file path inscripts/test-slice.mjsso Node's native test runner filters tests during failure/fix loops.Repository Internal & Traversal Exclusion in Permissions and Guards (Fixes Security: auto-permissions read/glob branch and zeusReadGuard do not enforce .git/node_modules exclusion #441):
auto-permissions.tsandzeusReadGuarddenying.git/**,node_modules/**, and path traversal escaping cwd.Universal Session Todo Tool Availability (Fixes Bug/Gap: todowrite/todoread tools not exposed to root Zeus agent #439):
todowriteandtodoreadacross all 14 specialist agent manifests insrc/agents/roster.jsonand registered tool capabilities inscripts/install/capabilities.mjs.Session Auto-Discovery for Zen Vision (Fixes Bug: vision_describe requires active OpenCode session id not resolvable from root Zeus #440):
OPENCODE_SESSION_ID) and SQLiteopencode.db(session_v2) forvision_describe, resolving orchestration vision calls cleanly.Documentation & Roadmap:
ROADMAP.mdwith 2.1.4 deliveries andCHANGELOG.mdwith closed issues.Verification
npm run test:quickpassed (70/70 tests).npm run typecheckpassed (0 errors).npm run lintpassed (0 errors).npm run docs:check-changeloganddocs:lintpassed.~/pantheon-sandbox/run-test.sh) passed (PASS verdict, 5 MCPs, doctor exit 0). Sandbox torn down.