Repository navigation
Address review findings from PR #1157 (issue #1123) - #1158
Merged
Merged
Conversation
- Validate NODESPACED_SHIM_DIR at daemon startup: log a warning when the path is missing rather than failing silently per session - Make tools_section() per-agent: Claude Code gets an explicit hook file path hint so hooks discovery can find nodespace-hook.ts in session dir - Simplify write_shim_files error message (no source chain regression) - Document Gemini handler stdio protocol (success/error shapes, exit code) - Expand tools_section tests: check all agents, Claude Code path hint, and verify non-Claude agents don't include hook file reference Skipped: flat session_dir collision (one-agent-per-session invariant holds); tsconfig shims include (declare globals cause false-positive tsc errors). Co-Authored-By: Claude <[email protected]>
malibio
added a commit
that referenced
this pull request
Jun 22, 2026
- Validate NODESPACED_SHIM_DIR at daemon startup: log a warning when the path is missing rather than failing silently per session - Make tools_section() per-agent: Claude Code gets an explicit hook file path hint so hooks discovery can find nodespace-hook.ts in session dir - Simplify write_shim_files error message (no source chain regression) - Document Gemini handler stdio protocol (success/error shapes, exit code) - Expand tools_section tests: check all agents, Claude Code path hint, and verify non-Claude agents don't include hook file reference Skipped: flat session_dir collision (one-agent-per-session invariant holds); tsconfig shims include (declare globals cause false-positive tsc errors). Co-authored-by: Michael Libio <[email protected]> Co-authored-by: Claude <[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
Follow-up to #1157 addressing non-blocker review findings:
NODESPACED_SHIM_DIRnow logs a warning at daemon startup if the path is missing, instead of failing silently per sessiontools_section()is now agent-specific — Claude Code gets an explicitnodespace-hook.tspath hint so hooks discovery works; other agents get the generic tool listwrite_shim_fileserror message simplified (no source chain regression){ result }/{ error }+ exit 1)Skipped with justification:
session_dircollision risk — one-agent-per-session invariant holds; the spec writes files flat and no collision path exists todaytsconfig.jsonshims include — shim files use agent-runtimedeclareglobals that produce false-positive tsc errors when compiled standalone🤖 Generated with Claude Code