Skip to content

fix(validate-a2ml): recognise contractile-shape A2ML files#9

Merged
hyperpolymath merged 1 commit into
mainfrom
fix/contractile-shape-a2ml-files
May 14, 2026
Merged

fix(validate-a2ml): recognise contractile-shape A2ML files#9
hyperpolymath merged 1 commit into
mainfrom
fix/contractile-shape-a2ml-files

Conversation

@hyperpolymath
Copy link
Copy Markdown
Owner

Why

The script's identity/version check assumed every .a2ml file is manifest-shape (TOML key = value). Contractile-shape files (Trustfile.a2ml, Intentfile.a2ml, etc.) use @directive: syntax, so they have no name = ... / 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 .a2ml files (chimichanga, gitbot-fleet, idaptik, ambientops, …) fails the Validate A2ML manifests check, blocking merge.

Fix

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.

Verify after merge

  • Re-run a Dependabot PR in chimichanga; Validate A2ML manifests should pass.
  • Consumer repos pin to a specific SHA; the SHA bump goes out as a separate workflow update (one PR per repo's .github/workflows/dogfood-gate.yml).

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 hyperpolymath merged commit fd7b2d8 into main May 14, 2026
15 of 17 checks passed
@hyperpolymath hyperpolymath deleted the fix/contractile-shape-a2ml-files branch May 14, 2026 13:29
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>
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