Skip to content

fix(validator): recognise colon/brace-block identity + AI.a2ml manifests#41

Merged
hyperpolymath merged 1 commit into
mainfrom
fix/a2ml-validator-dialect-recognition
Jun 24, 2026
Merged

fix(validator): recognise colon/brace-block identity + AI.a2ml manifests#41
hyperpolymath merged 1 commit into
mainfrom
fix/a2ml-validator-dialect-recognition

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Repairs estate-wide 'Validate A2ML manifests' false failures. The identity check only matched TOML/s-expr dialects; this adds colon/brace-block (name:, id:) and whitelists AI.a2ml. Verified: thunderbird Trust.a2ml, methodologies TSDM.a2ml, asdf AI.a2ml now pass; a genuinely identity-less file still errors (rule intact). Source fix for the dogfood-gate failure class.

The A2ML identity check matched only TOML (`name = ".."`) and s-expr
(`(name "..")`) dialects, so it false-failed three valid dialects with
'Missing required identity field':
  - brace-block colon syntax  `Trust { name: ".." version: ".." }`
  - YAML-ish `id: ".."` / `version: ".."`
  - free-text `AI.a2ml` manifests (same doc type as 0-AI-MANIFEST.a2ml)

Adds colon/brace-block identity+version recognition (incl. `id` key) and
whitelists AI.a2ml as a manifest. The identity rule is unchanged for
genuinely identity-less non-manifest files (verified: still errors).
Fixes estate-wide 'Validate A2ML manifests' dogfood-gate false failures.
@hyperpolymath hyperpolymath merged commit 6c47174 into main Jun 24, 2026
@hyperpolymath hyperpolymath deleted the fix/a2ml-validator-dialect-recognition branch June 24, 2026 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant