Repository navigation
perf(reverse): add retained GDB and objdump summaries - #5614
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
[Medium impact] The PR appears safe to merge; no new actionable issues were found. SummaryAdds opt-in GDB and objdump summaries while keeping complete source Evidence available.
Diagram%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Run GDB or objdump] --> B[Complete Evidence]
B --> C{Requested detail}
C -->|Complete| D[Return original Evidence]
C -->|MCP summary| E[Retain complete parent]
C -->|CLI summary| F[Save complete bundle without replacement]
E --> G[Project command summary]
F --> G
G --> H[Return summary with parent identity]
Reviews (3) · Last reviewed commit: "test(reverse): harden summary delivery v..." · Reviewed by Greptile |
94965db to
7269605
Compare
|
Final validation for Latest-head CI static checks pass all 8 tasks, including full typecheck; CI package build and both automated reviews pass (Codex no findings, Greptile 5/5). Local full-typecheck resource stops remain recorded, not passes. Source/platform jobs remain queued and are not claimed as passed. The owner explicitly authorized bypass for a verified PR; proceeding with that permission after the validations above. Real Rizin/Cutter/GUI coverage remains unavailable. No co-author trailer is included. |
…ansition-view Resolve the inspect_analysis_view description conflict with main's retained GDB and objdump summaries (morluto#5614). The description keeps main's text and adds this branch's capture_browser_scenario additions. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Closes #5584.
Large GDB/objdump replies repeat command output in normalized/raw forms and GDB stream groupings. Explicit
detail: "summary"retains the complete parent and returns existing facts with less duplication. Default complete Evidence and its identity remain compatible.GDB keeps every ordered MI record, correlated result and completion/exit facts; objdump keeps opaque stdout/stderr and digest-change facts. Both preserve source parameters, provenance, partial/unknown semantics and nullable subjects. CLI and MCP reuse the existing analysis-view projection; CLI saves a nonoverwriting complete bundle. The domain owns one shared fact codec. No new tool, protocol decoder, live cache or command authority.
Validation:
Latest-head CI static checks pass all 8 tasks, including full typecheck; package build passes. Local strict checks of affected boundaries/transitive source, six standard static tasks, three delivery-oracle regressions, and docs/5 README checks pass. Resource-stopped local full typechecks are not reported as passes.
383 focused tests across 14 files, including SDK/Ajv schemas, GDB cancellation/queues/ownership/cleanup, nine CLI publication regressions and 54 neighboring model-artifact tests; rebuilt and repeated after rebasing onto
main@7d6f90485.Real GDB 13.1/objdump 2.40 on installed Bash: all 239/15,428 selected function bytes match independently mapped ELF ranges. CLI default Evidence matches baseline; summary exports, overwrite rejection and a durable caller PTY are verified.
Actual Codex 0.163 client with all 210 schemas: completed small/large whole-request JSON token proxies 605,133 → 580,070 / 1,269,405 → 1,091,290, including replays and compaction. Local deterministic SSE, no AI inference/usage/quality claim. Small task is slower; retained bundles grow. Default-budget incomplete baseline is excluded from gains.
Resource-guarded runs verify payload exit/cleanup, CPU and peak family memory, with zero OOM events. Reproduction and full tradeoffs / receipt.
Real Rizin/Cutter and GUI workflows remain unverified. Their semantics are unchanged. The final integrated 211-tool catalog and real GDB/objdump/client entrypoints were revalidated; original performance numbers remain pinned to the 210-tool cohort. Remaining source/platform CI jobs were still queued at the final merge decision; the owner explicitly authorized a verified bypass.
Author readiness
Human owner: @gensokyo-dev
The owner dictated these declarations and authorized initial review and merge in this session.