Repository navigation
[Schema Consistency] Schema Consistency Check - 2026-11-16 #78467
Closed
Replies: 1 comment
|
This discussion has been marked as outdated by Schema Consistency Checker. A newer discussion is available at Discussion #78641. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
🔍 Schema Consistency Check - 2026-11-16
Five inconsistencies were found across schema, parser, documentation, and workflow usage. Strategy: precomputed field-gap triage with targeted boundary and generated-example checks (reused). Reviewed revision:
6412cdaf2ec5c4e0f6924f025a40b92aa550bb72.Priority actions: align zero-value validation and expression propagation for guardrails, then repair invalid generated examples and stale documentation.
Key issues
Schema accepts zero for guardrails that the parser drops.
max-turnsandmax-tool-denialsreference a non-negative integer schema. The parser requires a positive value; the existing test confirmsmax-turns: 0is ignored. Copilot SDK falls back to its denial default when the configured denial value is absent. Fix: decide and document zero semantics; if zero is invalid, use the positive integer schema and reject it explicitly, with boundary tests.Expression-based invocation caps do not reach the AWF proxy. Schema explicitly accepts expressions for legacy
max-runs, but integer parsing discards expressions. The same conversion is used for the proxy value ofmax-turnsin engine extraction. With no literal fallback, AWF config uses 500;max-turnsexpressions are separately retained for the engine runtime, while legacymax-runsexpressions are discarded. This can produce a proxy cap different from the requested value. Fix: propagate validated runtime expressions into the proxy configuration or reject unsupported forms, and test generated config for both fields.Documentation and workflow findings
Generated reference contains schema-invalid example values. The full reference shows
max-turns: "example-value"as the Actions expression format; it also showsconnectors: {}andsource-sha: "example-value", all rejected by the schema. The generator falls back to generic placeholders. Fix: generate valid per-variant samples using schema constraints or explicit examples, and validate isolated generated examples against their field schemas in generator tests.FAQ understates retries and Copilot support. The FAQ says there are no automatic retries and suggests
max-turnsfor Claude only. The engine reference documents three default harness retries for Copilot, Claude, and Codex, and Copilot declares max-turn support. Fix: distinguish retries within a triggered run from new workflow runs and link the current engine feature and retry documentation.A workflow repeats obsolete engine guidance.
agent-persona-explorer.mdsaysmax-turnsis Claude-only, contrary to the compiler capability above. This is a misleading comment, not a schema violation. Fix: remove or update the comment to match supported engines.Coverage and verification
max-runsexpression are schema-accepted, while the three cited generated examples are rejected. Implementation behavior was traced through source and existing tests.Strategy performance and next steps
The reused field-gap and boundary comparison produced five actionable findings; effectiveness: high. Reuse it with the cached finding identifiers to avoid repeating these checks.
References: §43959190594
All reactions