Files
reverse-engineering-anything/scripts
morluto d958391201 fix(mcp): serve refinement-only input rules agents need before the first call (#15437)
* fix(mcp): serve refinement-only input rules agents need before the first call

- UEFI paths use the shared absolute-path schema, so the served schema
  carries the absolute-path pattern instead of a refinement.
- Blank-text checks (guided workflow ids, prompt arguments, guidance
  queries, residual-unknown text) are a served `\S` pattern, not a trim
  refinement.
- Input groups name the selector values that open them, for example
  `operation=architectures` for inspect_with_objdump.
- inspect_native_data_type states its one-of rule in the tool description,
  from the same constant the refusal uses.
- The served-schema parity sweep credits a cross-field rule when the
  description states the refusal or the selecting input group, with
  controls, and drops the fixed refinement gaps.

Refs #15311

* fix(mcp): serve endpoint and literal rules on reduced schemas; state wider patterns

- A reduced schema over budget drops name-derived fallback descriptions
  before its scalar rules, so analyze_web_bundle keeps its bounds.
- Reduced root properties that are unions of literals serve their values
  as one enum (detail, format).
- CDP and Inspector endpoint schemas declare the explicit-port envelope
  that explicitEndpointAuthority reads, as their pattern.
- A pattern the portable grammar can only serve wider (`\S`, the adb
  serial) is also stated exactly in guidance.
- The parity sweep drops the endpoint and literal gaps; the generated
  property accepts the host-independent absolute-path envelope.

Refs #15311
2026-12-01 15:28:35 +00:00
..
…