Skip to content

chore(tools): Add debug_jp sandboxed debug tool family#700

Merged
JeanMertz merged 2 commits into
mainfrom
prr263
May 29, 2026
Merged

chore(tools): Add debug_jp sandboxed debug tool family#700
JeanMertz merged 2 commits into
mainfrom
prr263

Conversation

@JeanMertz
Copy link
Copy Markdown
Collaborator

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_traceJP_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.

JeanMertz added 2 commits May 29, 2026 23:56
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>
@JeanMertz JeanMertz merged commit 894ab26 into main May 29, 2026
16 checks passed
@JeanMertz JeanMertz deleted the prr263 branch May 29, 2026 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant