Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions docs/mcp-contracts.md
Original file line number Diff line number Diff line change
Expand Up @@ -758,6 +758,23 @@ concrete version, selection source, and complete analysis profile through
choices return typed selection details. A selected provider is never replaced
automatically after a runtime failure.

`open_binary` resolves an Apple bundle directory (`.app`, `.appex`,
`.framework`, `.xpc`, `.systemextension`, `.bundle` or `.plugin`, compared
case-insensitively) to the program file its `Info.plist` names in
`CFBundleExecutable`; the Evidence subject is that program file. It reads the
macOS `Contents/` layout or the flat root layout, and a framework may instead
keep `Info.plist` in `Versions/Current/Resources/` with its program file in
`Versions/Current/`. An app keeps its iOS-on-Mac `Wrapper` resolution. For the
other types, exactly one layout may declare the bundle, and its `Info.plist`,
program directory and program file must stay inside the bundle. Resolution
never guesses a program file. A failure reports `details.constraint`
(`bundle_info_plist_missing`, `bundle_layout_ambiguous`,
`bundle_executable_undeclared`, `bundle_program_missing`,
`bundle_current_version_missing` or `bundle_path_escapes`), `probed_paths`, and
`info_plist` when one was read. Another Apple bundle type, such as `.dext` or
Comment thread
greptile-apps[bot] marked this conversation as resolved.
Resolved
`.kext`, reports `bundle_type_unsupported`. A resource root reports its
`layout` as `contents`, `root` or `versioned-framework`.

`open_bundle_resources` selects a separate read-only app resource session
without resolving `CFBundleExecutable`, including when it is absent or
unresolvable. `binary_session` reports `session_kind: "bundle_resources"` and the
Expand Down
8 changes: 5 additions & 3 deletions docs/mcp-prompts.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,11 @@ directly to `analyze_javascript_application` with `input_path`; it does not
require `open_binary`. When that Evidence, or `inspect_binary_layout` Evidence,
is already retained, it suggests `inspect_analysis_view` before tracing a
feature seed. The CLI equivalent is `rea analyze <directory>`.
`open_binary` and the doctor target check admit files and macOS app bundles.
A directory outside that opening route is reported with an available analysis
action; this does not establish support for every directory format.
`open_binary` and the doctor target check admit files and Apple bundle
directories (`.app`, `.appex`, `.framework`, `.xpc`, `.systemextension`,
`.bundle` and `.plugin`). Another Apple bundle type is refused as unsupported,
and another directory is reported with an available analysis action; this does
not establish support for every directory format.

For target paths in `compare_application_versions`, the prompt suggests
opening each target before calling `inspect_artifact`; inspection operates on
Expand Down
Loading
Loading