Skip to content

a2ml-validate flags design-rationale/example .a2ml for "missing identity field" #435

Description

@hyperpolymath

Problem

a2ml-validate-action (source a2ml/actions/validate/…) errors "Missing required identity field (agent-id, name, or project)" on illustrative / design-rationale .a2ml files that aren't identity-bearing manifests — e.g. machine-readable-design/canonical-directory-structure/{Adjustfile,Intentfile,Mustfile,Trustfile,bust/Bustfile,dust/Dustfile}.a2ml.

Evidence

On hermeneia: 34 A2ML errors across 126 scanned files, all the "missing identity field" pattern (+ "missing version/schema_version" warnings), concentrated in the machine-readable-design/ design tree and per-directory 0.x-AI-MANIFEST.a2ml files. These describe structure/rationale, not a manifested identity.

Fix options

  • (a, recommended) Exempt design-rationale/example trees (machine-readable-design/, self-validating/examples/) from identity validation.
  • (b) Add an identity field only where a file is a genuine manifest.

Also

SHA-pin the a2ml-validate-action@<sha> # main ref (currently moving).

Targets / acceptance

a2ml (validator source) + hyperpolymath/a2ml-validate-action; propagate to rsr-template-repo. Acceptance: dogfood-gate "Validate A2ML manifests" passes on a clean RSR repo.


Filed from a Claude Code session working on hermeneia. Add to the master scheduler.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions