## Changes Related to #545 and the permission-system removal in #555. - Upgrade the shipped skill to v24 and remove obsolete filesystem grants, per-call approval flags, Electron file-root configuration, and DMG approval flags. Calls follow the user-requested investigation directly. Keep setup plan confirmation, actual OS requirements, and process/archive lifecycle boundaries. - Correct the passive browser guide: endpoint/scope come from requests; ordinary local URL queries are retained, while credentials remain redacted. - Audit canonical tool effects: declare possible DMG process/temp-directory effects, mark fresh extraction non-idempotent, and mark comparisons of supplied captures/PNGs as closed-world. Align artifact-provider capability effects with temporary mount-directory writes. - Retain non-read-only hints for calls that add Evidence to the session; document that annotations are hints and that clients control their confirmation UI. Do not mislabel session mutations as read-only to suppress prompts. - Regenerate package, skill, MCP, and product metadata from source. ## Verification - `npm run test:focused -- <11 affected test files>`: **40 tests passed**, including skill transaction/backup/idempotence, SDK tools/list annotations, actual local capture/PNG comparisons, artifact extraction/containment/cancellation, DMG launcher/cleanup seam, setup confirmation, browser MCP and scenario MCP, CLI catalog parity. - `npm run check`: typecheck, lint, format, knip, package metadata. - `npm run docs:check`: generated catalogs, skill metadata, documentation facts, completion ledger, error schema. No local real Hopper/Ghidra run: their adapters and analysis operations are unchanged. Native macOS DMG behavior is covered locally through the launcher seam; no local macOS/hdiutil claim is made. Real browser verification passed using existing Headless Chrome143.0.7499.4: actual CLI/stdio MCP,9,331,407-byte PNG, passive capture/source maps, and owned/external scenario cleanup. An initial full Chrome143 run failed the existing screenshot-height assertion (1397 versus1536); the dedicated headless-shell run passed the complete verifier without code changes. The verifier run-lineage field remained unavailable; no lineage-coverage claim is made. Browser download into `.codex` was blocked by CDN403, so the successful run used an existing browser without changing host configuration.
43 lines
2.1 KiB
Markdown
43 lines
2.1 KiB
Markdown
# Native, managed, and packaged artifacts
|
|
|
|
## Native targets
|
|
|
|
After `open_binary`, use focused search, procedure, or function tools directly.
|
|
Use `binary_overview` when target metadata or inventory context helps answer the
|
|
question. Prefer literal search, names, decompilation, callers, callees, and
|
|
cross-references. Addresses and recovered pseudocode are analysis observations,
|
|
not original source. Provider unavailability and unsupported metadata remain
|
|
unknown rather than false.
|
|
|
|
Use `binary_session` with its default summary to check the open target, selected
|
|
provider, alignment, and recommended remediation. Request the capabilities view
|
|
with a family filter and page bounds only when choosing a tool. Request the full
|
|
view only for an explicit session-diagnostic need.
|
|
|
|
## Managed PE/CLI
|
|
|
|
Start with `inspect_managed_artifact`. REA's canonical managed inspection is
|
|
execution-free: do not claim it loaded, reflected, executed, or resolved the
|
|
assembly. Keep managed/native boundaries and unavailable reconstruction facts
|
|
explicit. A bring-your-own reconstruction oracle is separate from the canonical
|
|
parser and must not become an implicit setup dependency.
|
|
|
|
## Packages and extraction
|
|
|
|
Use `inspect_artifact` for application bundles, archives, ZIP/APK/IPA/MSIX/AppX,
|
|
ASAR, or DMG inputs when the artifact graph and findings help answer the
|
|
question. It returns the complete artifact graph inline. Cite graph manifest
|
|
IDs when using them.
|
|
|
|
Use `extract_artifact` when materialized files are needed. It takes no arguments
|
|
and materializes all regular files into a fresh temporary directory chosen by
|
|
REA. Symlinks and encrypted entries are inventory facts, not extractable files.
|
|
The result reports the materialized directory; callers do not choose the
|
|
destination. No separate permission grant is needed.
|
|
|
|
Native DMG traversal automatically uses a read-only mount on supported macOS
|
|
hosts, with an owned temporary mount directory and cleanup. It needs no approval
|
|
flag. Unsupported hosts or mount failures remain explicit limitations; do not
|
|
claim child inventory when only root identity is available. Extraction is a
|
|
separate filesystem-writing operation.
|