You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
⚠️ NEW — features Schema Has No Property Definitions (features.action-mode Enum Missing)
The features object in pkg/parser/schemas/main_workflow_schema.json uses additionalProperties: true but defines zero property schemas. In contrast, pkg/workflow/action_mode.go defines a strict Go enum with four valid values (dev, release, script, action) that is enforced at compile time — but the schema accepts any string (e.g., action-mode: "production" or action-mode: 42). This means IDE schema validation silently passes invalid action-mode values.
Additionally, the schema's features.examples array shows action-tag as the example feature flag — but action-tag is not documented in frontmatter.md (only in compilation-process.md), while action-modeis fully documented in frontmatter.md but absent from the schema examples. This creates a confusing disconnect for anyone relying on IDE autocomplete from the schema.
# What the schema examples show (misleading):features:
action-tag: "v1.0.0"# What frontmatter.md documents (but schema doesn't define):features:
action-mode: "script"# enum: dev | release | script | action
Impact: Schema-based tools (IDE plugins, linters) cannot warn about invalid action-mode values. The enum in Go (pkg/workflow/action_mode.go:35-37) is the only enforcement.
Fix: Add property definitions to features in the schema:
⚠️ NEW — integrity-reactions and cli-proxy Features Not in Reference Docs
The integrity-reactions and cli-proxy feature flags are documented in docs/src/content/docs/guides/maintaining-repos.md (a guide) but not in frontmatter.md or frontmatter-full.md (the reference sections). The glossary entry for feature flags only mentions copilot-requests and mcp-gateway — both integrity-reactions and cli-proxy are absent. This is particularly important because integrity-reactions has significant behavior: it auto-enables cli-proxy (as of commit 0eb9816).
copilot-integration-id (added ~2026-04-11, pkg/constants/feature_constants.go) has no docs anywhere.
Files needing updates:
docs/src/content/docs/reference/frontmatter.md — add integrity-reactions, cli-proxy, copilot-integration-id to the Feature Flags section
docs/src/content/docs/reference/frontmatter-full.md — add these feature flags with examples
docs/src/content/docs/reference/glossary.md:274 — update feature flags list
Persistent Issues (Ongoing)
Documentation Gaps (9 issues)
#
Field / Feature
Missing From
Notes
1
observability.otlp.* (endpoint, headers)
frontmatter-full.md
Schema has full sub-field definitions; docs only show observability: {}
2
sandbox.mcp.keepalive-interval
frontmatter-full.md
Defined in schema, undocumented
3
safe-outputs: report-incomplete tool
frontmatter-full.md
Only 2 tools missing: report-incomplete and upload-artifact
A user setting rate-limit: {max: 100, window: 999} or upload-artifact: {max-uploads: 99} will compile successfully but violate the schema's intent.
Dead Code — MCP Schema Never Used for Validation
pkg/parser/schemas/mcp_config_schema.json is compiled into Go as getCompiledMcpConfigSchema(), and there is a case mcpConfigSchema branch in validateWithSchema(). However, ValidateMCPConfigWithSchema() in schema_validation.go is a comment stub with no function body — it was never implemented. The compiled MCP schema is therefore never called for actual validation of MCP server configurations.
Impact: MCP server configs with structural errors (wrong types, missing fields) pass through without schema validation.
Stale Data — Renamed safe-inputs Still Present in Autocomplete Files (2026-04-13)
After the safe-inputs → mcp-scripts rename:
docs/public/editor/autocomplete-data.json:1917 still contains "safe-inputs" alongside the correct "mcp-scripts" entry at line 1694
docs/scripts/generate-autocomplete-data.js:40 still lists 'safe-inputs' in the frontmatter key list
IDE autocomplete will offer both the old and new key names.
Recommendations
Add property schemas to features in main_workflow_schema.json — especially action-mode as a typed enum. This is a low-effort, high-value change for IDE users.
Document integrity-reactions, cli-proxy, and copilot-integration-id in frontmatter.md Feature Flags section. The recent 0eb9816 commit makes integrity-reactions a user-facing feature; its reference docs should be discoverable without reading guides.
Remove stale safe-inputs from autocomplete-data.json:1917 and generate-autocomplete-data.js:40.
Add upper-bound constraint checks for rate-limit.max, rate-limit.window, upload-artifact.max-uploads, safe-outputs.max-patch-size, and tracker-id. The schema defines these limits; the compiler should enforce them with clear error messages rather than silently accepting out-of-range values.
Implement or remove ValidateMCPConfigWithSchema — either write the body of the function or remove the dead mcpConfigSchema case from validateWithSchema().
Strategy Performance
Strategy: Cross-Layer Field Diff
Run count: 13 (12 previous + this run)
New findings this run: 3
Effectiveness: High — consistently surfaces actionable gaps
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
0eb9816— auto-enablescli-proxywhenintegrity-reactionsis set (correctly documented in maintaining-repos.md)Critical Issues
featuresSchema Has No Property Definitions (features.action-modeEnum Missing)The
featuresobject inpkg/parser/schemas/main_workflow_schema.jsonusesadditionalProperties: truebut defines zero property schemas. In contrast,pkg/workflow/action_mode.godefines a strict Go enum with four valid values (dev,release,script,action) that is enforced at compile time — but the schema accepts any string (e.g.,action-mode: "production"oraction-mode: 42). This means IDE schema validation silently passes invalidaction-modevalues.Additionally, the schema's
features.examplesarray showsaction-tagas the example feature flag — butaction-tagis not documented infrontmatter.md(only incompilation-process.md), whileaction-modeis fully documented infrontmatter.mdbut absent from the schema examples. This creates a confusing disconnect for anyone relying on IDE autocomplete from the schema.Impact: Schema-based tools (IDE plugins, linters) cannot warn about invalid
action-modevalues. The enum in Go (pkg/workflow/action_mode.go:35-37) is the only enforcement.Fix: Add property definitions to
featuresin the schema:integrity-reactionsandcli-proxyFeatures Not in Reference DocsThe
integrity-reactionsandcli-proxyfeature flags are documented indocs/src/content/docs/guides/maintaining-repos.md(a guide) but not infrontmatter.mdorfrontmatter-full.md(the reference sections). The glossary entry for feature flags only mentionscopilot-requestsandmcp-gateway— bothintegrity-reactionsandcli-proxyare absent. This is particularly important becauseintegrity-reactionshas significant behavior: it auto-enablescli-proxy(as of commit0eb9816).copilot-integration-id(added ~2026-04-11,pkg/constants/feature_constants.go) has no docs anywhere.Files needing updates:
docs/src/content/docs/reference/frontmatter.md— addintegrity-reactions,cli-proxy,copilot-integration-idto the Feature Flags sectiondocs/src/content/docs/reference/frontmatter-full.md— add these feature flags with examplesdocs/src/content/docs/reference/glossary.md:274— update feature flags listPersistent Issues (Ongoing)
Documentation Gaps (9 issues)
observability.otlp.*(endpoint, headers)frontmatter-full.mdobservability: {}sandbox.mcp.keepalive-intervalfrontmatter-full.mdsafe-outputs: report-incompletetoolfrontmatter-full.mdreport-incompleteandupload-artifactsafe-outputs: upload-artifacttoolfrontmatter-full.mdfrontmatter.mdcheck-for-updates,disable-model-invocation,import-schema,infer,inlined-imports,mcp-servers,observability,pre-steps,rate-limit,run-install-scripts,secret-masking,tracker-idpre-steps,run-install-scriptsfrontmatter-full.mdcopilot-requests,mcp-gateway,disable-xpia-promptfrontmatter.md/frontmatter-full.mdmcp-scriptssub-fieldsfrontmatter-full.mdmcp-scripts: {}shown; no docs fordescription,inputs,script/run/py/go,env,timeoutaw.jsonrepo-level configrepo_config_schema.json) and Go implementation but no user-facing documentationConstraint Validation Gaps — Schema Says X, Go Doesn't Enforce It (6 issues)
tracker-idmaxLength: 128minLength: 8and character patternpkg/workflow/frontmatter_extraction_metadata.go:91rate-limit.maxmaximum: 10> 0pkg/workflow/role_checks.go:175rate-limit.windowminimum: 1,maximum: 180> 0(window:0 silently falls back)pkg/workflow/role_checks.go:62safe-outputs.max-patch-sizemaximum: 10240>= 1pkg/workflow/safe_outputs_config.go:408upload-artifact.max-uploadsmaximum: 20> 0pkg/workflow/publish_artifacts.go:80upload-artifact.defaults.if-no-filesenum: ["error", "ignore"]pkg/workflow/publish_artifacts.go:151A user setting
rate-limit: {max: 100, window: 999}orupload-artifact: {max-uploads: 99}will compile successfully but violate the schema's intent.Dead Code — MCP Schema Never Used for Validation
pkg/parser/schemas/mcp_config_schema.jsonis compiled into Go asgetCompiledMcpConfigSchema(), and there is acase mcpConfigSchemabranch invalidateWithSchema(). However,ValidateMCPConfigWithSchema()inschema_validation.gois a comment stub with no function body — it was never implemented. The compiled MCP schema is therefore never called for actual validation of MCP server configurations.Impact: MCP server configs with structural errors (wrong types, missing fields) pass through without schema validation.
Stale Data — Renamed safe-inputs Still Present in Autocomplete Files (2026-04-13)
After the
safe-inputs→mcp-scriptsrename:docs/public/editor/autocomplete-data.json:1917still contains"safe-inputs"alongside the correct"mcp-scripts"entry at line 1694docs/scripts/generate-autocomplete-data.js:40still lists'safe-inputs'in the frontmatter key listIDE autocomplete will offer both the old and new key names.
Recommendations
Add property schemas to
featuresinmain_workflow_schema.json— especiallyaction-modeas a typed enum. This is a low-effort, high-value change for IDE users.Document
integrity-reactions,cli-proxy, andcopilot-integration-idinfrontmatter.mdFeature Flags section. The recent0eb9816commit makesintegrity-reactionsa user-facing feature; its reference docs should be discoverable without reading guides.Remove stale
safe-inputsfromautocomplete-data.json:1917andgenerate-autocomplete-data.js:40.Add upper-bound constraint checks for
rate-limit.max,rate-limit.window,upload-artifact.max-uploads,safe-outputs.max-patch-size, andtracker-id. The schema defines these limits; the compiler should enforce them with clear error messages rather than silently accepting out-of-range values.Implement or remove
ValidateMCPConfigWithSchema— either write the body of the function or remove the deadmcpConfigSchemacase fromvalidateWithSchema().Strategy Performance
References: §24381073062
Beta Was this translation helpful? Give feedback.
All reactions