fix(validate-a2ml): recognise contractile-shape A2ML files#9
Merged
Conversation
The script's identity / version check assumed every `.a2ml` file uses
TOML `key = value` form. Contractile-shape files (Trustfile.a2ml,
Intentfile.a2ml, Mustfile.a2ml, Adjustfile.a2ml, …) use `@directive:`
syntax instead — their identity lives in `@trust-level`, `@intent`,
`@abstract` etc., not in `name = "..."` / `version = "..."`. As a
result every contractile file in a consumer repo failed validation
("Missing required identity field"), blocking Dependabot PRs across
the fleet.
Detect contractile shape by the presence of any of:
@abstract, @trust-level, @trust-boundary, @trust-actions,
@trust-deny, @intent, @must, @adjust, @EnD
in the file body, then skip the manifest-style identity / version
checks (parallel to the existing `*AI-MANIFEST*` special-case for
markdown-style manifests). Attestation-block and section-heading
checks (Checks 3 and 4) remain applied — they're shape-agnostic.
Closes the validate-A2ML-manifest failures observed on every Dependabot
PR across chimichanga, gitbot-fleet, idaptik, ambientops, and more
(reported by hyperpolymath/hypatia#23 audit as `Validate A2ML manifests`
class — 10 PRs blocked at audit time).
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
hyperpolymath
added a commit
to hyperpolymath/chimichanga
that referenced
this pull request
May 14, 2026
Picks up hyperpolymath/a2ml-validate-action#9 which fixes the validator's false-positive on contractile-shape .a2ml files (Trustfile, Intentfile, etc. using @directive: syntax). Was blocking every Dependabot PR in this repo with 'Missing required identity field'. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
hyperpolymath
added a commit
to hyperpolymath/chimichanga
that referenced
this pull request
May 14, 2026
…ix (#18) Picks up hyperpolymath/a2ml-validate-action#9 which fixes the validator's false-positive on contractile-shape `.a2ml` files (`Trustfile`, `Intentfile`, etc. using `@directive:` syntax). Was blocking every Dependabot PR in this repo with `Missing required identity field`. Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
hyperpolymath
added a commit
to hyperpolymath/hybrid-automation-router
that referenced
this pull request
May 14, 2026
Picks up hyperpolymath/a2ml-validate-action#9 which fixes the validator's false-positive on contractile-shape .a2ml files (Trustfile, Intentfile, etc. using @directive: syntax). Was blocking every Dependabot PR in this repo with 'Missing required identity field'. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
hyperpolymath
added a commit
to hyperpolymath/hybrid-automation-router
that referenced
this pull request
May 14, 2026
…ix (#22) Picks up hyperpolymath/a2ml-validate-action#9 which fixes the validator's false-positive on contractile-shape .a2ml files (Trustfile, Intentfile, etc. using @directive: syntax). Was blocking every Dependabot PR in this repo with 'Missing required identity field'. Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
hyperpolymath
added a commit
to hyperpolymath/natsci-studio
that referenced
this pull request
May 14, 2026
Picks up hyperpolymath/a2ml-validate-action#9 which fixes the validator's false-positive on contractile-shape .a2ml files (Trustfile, Intentfile, etc. using @directive: syntax). Was blocking every Dependabot PR in this repo with 'Missing required identity field'. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
hyperpolymath
added a commit
to hyperpolymath/natsci-studio
that referenced
this pull request
May 14, 2026
…ix (#7) Picks up hyperpolymath/a2ml-validate-action#9 which fixes the validator's false-positive on contractile-shape .a2ml files (Trustfile, Intentfile, etc. using @directive: syntax). Was blocking every Dependabot PR in this repo with 'Missing required identity field'. Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
hyperpolymath
added a commit
to hyperpolymath/neurophone
that referenced
this pull request
May 14, 2026
Picks up hyperpolymath/a2ml-validate-action#9 which fixes the validator's false-positive on contractile-shape .a2ml files (Trustfile, Intentfile, etc. using @directive: syntax). Was blocking every Dependabot PR in this repo with 'Missing required identity field'. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
hyperpolymath
added a commit
to hyperpolymath/neurophone
that referenced
this pull request
May 14, 2026
…ix (#53) Picks up hyperpolymath/a2ml-validate-action#9 which fixes the validator's false-positive on contractile-shape `.a2ml` files (`Trustfile`, `Intentfile`, etc. using `@directive:` syntax). Was blocking every Dependabot PR in this repo with `Missing required identity field`. Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
hyperpolymath
added a commit
to hyperpolymath/robot-vacuum-cleaner
that referenced
this pull request
May 14, 2026
Picks up hyperpolymath/a2ml-validate-action#9 which fixes the validator's false-positive on contractile-shape .a2ml files (Trustfile, Intentfile, etc. using @directive: syntax). Was blocking every Dependabot PR in this repo with 'Missing required identity field'. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
hyperpolymath
added a commit
to hyperpolymath/robot-vacuum-cleaner
that referenced
this pull request
May 14, 2026
…ix (#40) Picks up hyperpolymath/a2ml-validate-action#9 which fixes the validator's false-positive on contractile-shape `.a2ml` files (`Trustfile`, `Intentfile`, etc. using `@directive:` syntax). Was blocking every Dependabot PR in this repo with `Missing required identity field`. Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
hyperpolymath
added a commit
to hyperpolymath/rrecord-verity
that referenced
this pull request
May 14, 2026
Picks up hyperpolymath/a2ml-validate-action#9 which fixes the validator's false-positive on contractile-shape .a2ml files (Trustfile, Intentfile, etc. using @directive: syntax). Was blocking every Dependabot PR in this repo with 'Missing required identity field'. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
hyperpolymath
added a commit
to hyperpolymath/rrecord-verity
that referenced
this pull request
May 14, 2026
…ix (#63) Picks up hyperpolymath/a2ml-validate-action#9 which fixes the validator's false-positive on contractile-shape `.a2ml` files (`Trustfile`, `Intentfile`, etc. using `@directive:` syntax). Was blocking every Dependabot PR in this repo with `Missing required identity field`. Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The script's identity/version check assumed every
.a2mlfile is manifest-shape (TOMLkey = value). Contractile-shape files (Trustfile.a2ml,Intentfile.a2ml, etc.) use@directive:syntax, so they have noname = .../version = ...lines and the validator emits "Missing required identity field" on every one of them.Result: every Dependabot PR across the fleet that contains contractile-shape
.a2mlfiles (chimichanga, gitbot-fleet, idaptik, ambientops, …) fails theValidate A2ML manifestscheck, blocking merge.Fix
Detect contractile shape by the presence of any of:
…in the file body, then skip the manifest-style identity / version checks. Parallel to the existing
*AI-MANIFEST*special-case for markdown-style manifests.Attestation-block and section-heading checks (Checks 3 and 4) remain applied — they're shape-agnostic.
Verify after merge
Validate A2ML manifestsshould pass..github/workflows/dogfood-gate.yml).