Repository navigation
fix(ghidra): make checkpoint workflows discoverable - #9246
Merged
Merged
Conversation
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
Agents could not discover the existing opt-in Ghidra checkpoint workflow and reported editable persistence as unavailable. Tool descriptions and the default session summary now expose the setting, restart requirement, automatic open/close lifecycle, and actual initial/restored analysis origin. Follow-up to #9236; context #8165.
Change and scope
Scope is ordinary discoverability/provenance within the existing owned-checkpoint boundary. No new target execution, executable writes, client configuration changes, mutation authority, release, tag or version bump. Existing checkpoint format/platform restrictions remain unchanged.
Executed validation
npm run test:focused --(9 effects/provider/lifecycle/MCP/catalogue/schema files): 445 passed.npm run check:fast: passed.npm run docs:check: passed, including 9 consistency tests.node scripts/verify-real-ghidra-checkpoints.mjs— all 13 CLI/MCP scenarios passed, including cross-process edits, repeated opens, concurrent-owner refusal, identity mismatch and corrupt-state recovery. The relevant runtime/contracts are byte-identical to the testedaffad1be2version: 139.143 s elapsed, 216.345 s local CPU, 1,359.566 MiB sampled process-family peak; no remaining owned descendants.gpt-6.1-sol,xhigh), three isolated sessions, real Ghidra 12.1.4/JDK 21 on Linux x64. Prompts supplied the goal, not the setting or implementation; no source/skill access. Disabled mode found the setting/restart; enabled mode saved edits and reopened to verify; a fresh agent recovered a renamed function and a comment absent from its prompt without loading a query snapshot. Target unchanged; clean shutdowns. Test prompts/runners/traces stay outside the repository.Observed agent task costs
Baseline
c07ab4b99, same disabled task: incorrect setup advice, 5 calls, 392,580 input / 352,128 cached / 2,603 output tokens; 82.920 elapsed / 9.416 local CPU s, 1,016.688 MiB peak. All final status requests used summary. Whole-turn usage; individual runs, not a universal reliability/speedup claim. Four-core affinity; Ghidra two active processors and 1536 MiB heap. RSS sampled every 250 ms: shared pages may count twice; brief/reparented children may be missed. Model-service CPU unmeasured. One fixture/model and seven native/session MCP tools; no new real macOS/Windows coverage. Agent-visible wording is unchanged since these runs.Author readiness
Human owner: @gensokyo-dev (author exempt under CONTRIBUTING.md).
Before merge