Repository navigation
[Schema Consistency] Schema Consistency Check — 2026-11-08 #75836
Closed
Replies: 1 comment
|
This discussion has been marked as outdated by Schema Consistency Checker. A newer discussion is available at Discussion #76152. |
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-08
Summary
Warning
The AWF configuration comparison is degraded because its canonical sources were unavailable. This is a non-authoritative warning only; no AWF drift finding or corrective action is based on that incomplete comparison.
Critical Issues
.ymland.yaml, while the compiler requires.lock.ymland rejects paths containing... This creates a validate-then-fail authoring path.work-queue-policy.projectors[]usesadditionalProperties: falsebut omitsbacking-issuesandcompletion-policy; both are represented and validated by the compiler, andbacking-issuesis covered by a compiler test.Documentation Gaps
logical-contractis compiler-supported but absent from both the closed worker-profile schema and user-facing frontmatter documentation (medium). The Go model and validator accept a lowercase 64-hex digest, but schema validation rejects the key.work-queue-policyandmax-runsdo not appear in the generated reference, although focused pages document their deprecation.Schema Improvements Needed
$defs.work_queue_worker_profile.workflowto compiler-accepted.lock.ymlpaths and align traversal checks.backing-issuesandcompletion-policyto the projector schema with the same bounds and enums as the compiler, or explicitly reject them in the workflow-level compiler path.logical-contractwith^[a-f0-9]{64}$to the worker-profile schema or explicitly disallow it in workflow-level policy proposals.Parser Updates Required
No immediate parser behavior change is required if the schema is expanded to describe the existing compiler contract. If these fields are intentionally unavailable in deprecated workflow-level policies, add explicit compiler rejection and deprecation-specific errors so direct compiler callers do not observe a broader contract than schema users.
Workflow Violations
No top-level workflow violation was found. The precomputed usage diff reports no keys used outside the schema, and anchored searches found no checked-in workflow using deprecated top-level
max-runs:orwork-queue-policy:. The earlier substring hits were currentuser-rate-limit.max-runs-per-windowentries and were excluded as false positives.Recommendations
max-runs-per-window.Evidence and file references
1. Worker workflow path mismatch
pkg/parser/schemas/main_workflow_schema.json:15131accepts.(lock.yml|yml|yaml).pkg/workqueue/policy.go:157-161requires.lock.ymland rejects...2. Projector fields missing from the closed schema
pkg/parser/schemas/main_workflow_schema.json:121-137closes projector objects afterprincipal,workflow,ref,pools, andrepositories.pkg/workqueue/types.go:125-132also exposesbacking_issuesandcompletion_policy.pkg/workqueue/issues.go:30-41validates both fields.pkg/workflow/work_queue_policy_test.go:32-59accepts and validates a hyphenatedbacking-issuesfrontmatter entry.docs/src/content/docs/reference/work-queue.md:189-201documents these fields for complete installed Policies, but not their workflow-frontmatter status.3. Logical contract missing from schema and frontmatter docs
pkg/parser/schemas/main_workflow_schema.json:15126-15140has nological-contract.pkg/workqueue/types.go:171-180includeslogical_contract.pkg/workqueue/policy.go:146-149accepts empty or lowercase SHA-256 digests;pkg/workqueue/checkpoint.go:14defines the 64-hex pattern.pkg/workflow/work_queue_policy.go:524-542normalizes hyphenated keys to underscore JSON fields.4. Generated-reference scope mismatch
docs/src/content/docs/reference/frontmatter-full.md:3-11.scripts/generate-schema-docs.js:365-370skips every deprecated property.pkg/parser/schemas/main_workflow_schema.json:30-34and:4982-4987.Strategy Performance
strategy-1with success count 1Next Steps
logical-contractsupport and documentationReferences: §42450590021
All reactions