Conversation
Introduces a new `debug_jp` tool module exposing three assistant-callable tools that run `jp` in an isolated sandbox (detached worktree + alternate `JP_USER_DATA_DIR`) to prevent destructive side-effects: - `debug_jp_profile_sampling` — macOS `sample(1)` wall-clock profile - `debug_jp_profile_heap` — dhat heap profile - `debug_jp_trace` — `JP_DEBUG=1` trace log capture and render The code was introduced in a previous commit, but the module itself was not exposed, so the tools were not usable. Signed-off-by: Jean Mertz <git@jeanmertz.com>
Signed-off-by: Jean Mertz <git@jeanmertz.com>
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.
Introduces a new
debug_jptool module exposing three assistant-callable tools that runjpin an isolated sandbox (detached worktree + alternateJP_USER_DATA_DIR) to prevent destructive side-effects:debug_jp_profile_sampling— macOSsample(1)wall-clock profiledebug_jp_profile_heap— dhat heap profiledebug_jp_trace—JP_DEBUG=1trace log capture and renderThe code was introduced in a previous commit, but the module itself was not exposed, so the tools were not usable.