Skip to content

Fix headless tool callability and validate recipe migrations on the host - #5327

Merged
Trecek merged 15 commits into
developfrom
impl-probe-tool-callability-20261025
Oct 26, 2026
Merged

Trecek merged 15 commits into
developfrom
impl-probe-tool-callability-20261025

Conversation

@Trecek

@Trecek Trecek commented Oct 26, 2026 •

Copy link
Copy Markdown
Collaborator

Headless audit-impl instructed children to call an unavailable run_python probe, while consumer callability checks missed other launch shapes. This change removes that probe and its unreliable diff-mock heuristic, keeps the parent-enforced rationale check, and expands callability checks across skills and agent declarations.

  • Require every exported substitution rule in both parent floors and remove the audit-impl exemptions.
  • Enforce interactive_only through headless dependency closures; validate exemption anchors and tracked deferrals; detect executable YAML tool calls and validation imperatives.
  • Validate migrated recipes on the host before write-back: check fresh output, the target version, the original contract context, and newly introduced structural, semantic, contract, and binding errors. Launch migration once and preserve the original on rejection.
  • Make inspect_session_logs callable headlessly and require non-explorer agents' MCP declarations to belong to the headless catalog.

Validation: each part passed the configured task test-local-gate through MCP test_check, and pre-commit run --all-files passed before commits. Latest gate: 52,959 passed, 617 skipped, 26 xfailed. The migration masking regression covers both a retained structural error with a new semantic error and a retained semantic error with a new binding-projection failure. A formal audit-impl rerun remains pending.

Limits: manual mutation probes were not run. Migration validation intentionally omits backend maps; explorer reachability remains tracked in #5322.

Closes #5177.

@Trecek
Trecek added this pull request to the merge queue Oct 26, 2026
Merged via the queue into develop with commit cc5c5f4 Oct 26, 2026
11 checks passed
@Trecek
Trecek deleted the impl-probe-tool-callability-20261025 branch October 26, 2026 17:47
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