mirror of
https://github.com/morluto/rea.git
synced 2026-12-05 06:21:12 +00:00
* 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
13 lines
309 B
JSON
13 lines
309 B
JSON
{
|
|
"schemas": {
|
|
"input compact": "c6ab6ddb550ddbff",
|
|
"output compact": "4babf3ed292a48aa"
|
|
},
|
|
"patterns": {
|
|
"input": [
|
|
"^[A-Za-z][+\\-.0-9A-Za-z]*://[^#\\x2f?\\\\]*:([0-9]+)(?:[#\\x2f?\\\\]|$)[^\\x00]*(?:\\x00[^\\x00]*)*$"
|
|
],
|
|
"output": ["^[^\\x00]*$", "^ev_[0-9a-f]{64}$"]
|
|
}
|
|
}
|