diff --git a/.github/workflows/anchor-drift.yml b/.github/workflows/anchor-drift.yml index fa20f8e..3a6c3b5 100644 --- a/.github/workflows/anchor-drift.yml +++ b/.github/workflows/anchor-drift.yml @@ -140,7 +140,7 @@ jobs: exit 1 # Runs the validator from THIS ref, not the pinned published action, so a - # change to validate-a2ml.sh is exercised by the same commit that makes it. + # change to validate-deed.sh is exercised by the same commit that makes it. # Asserts on the discovery COUNT as well as the exit code: the defect this # guards (the scan glob matching only '*.a2ml') produced a green exit 0 by # opening no .deed files at all, so exit status alone cannot detect it. diff --git a/SETUP.adoc b/SETUP.adoc index de8f37e..d9206cf 100644 --- a/SETUP.adoc +++ b/SETUP.adoc @@ -42,10 +42,10 @@ upstream pins. [source,sh] ---- # governance: whole repo, strict, ignoring fixtures and members -INPUT_PATH=. INPUT_STRICT=true INPUT_PATHS_IGNORE=$'conformance/\nmembers/' ../a2ml/a2ml-validate-action/validate-a2ml.sh +INPUT_PATH=. INPUT_STRICT=true INPUT_PATHS_IGNORE=$'conformance/\nmembers/' ../a2ml/a2ml-validate-action/validate-deed.sh # conformance positive (zero errors) and negative (every case errors) -INPUT_PATH=conformance/valid INPUT_STRICT=true ../a2ml/a2ml-validate-action/validate-a2ml.sh -INPUT_PATH=conformance/invalid INPUT_STRICT=true ../a2ml/a2ml-validate-action/validate-a2ml.sh +INPUT_PATH=conformance/valid INPUT_STRICT=true ../a2ml/a2ml-validate-action/validate-deed.sh +INPUT_PATH=conformance/invalid INPUT_STRICT=true ../a2ml/a2ml-validate-action/validate-deed.sh ---- The invalid conformance command is expected to fail. diff --git a/conformance/README.adoc b/conformance/README.adoc index 9899138..f4b58d2 100644 --- a/conformance/README.adoc +++ b/conformance/README.adoc @@ -49,7 +49,7 @@ missing-license case will self-pass. [source,sh] ---- # positive: zero errors -INPUT_PATH=conformance/valid INPUT_STRICT=true +INPUT_PATH=conformance/valid INPUT_STRICT=true # negative: every case errors -INPUT_PATH=conformance/invalid INPUT_STRICT=true +INPUT_PATH=conformance/invalid INPUT_STRICT=true ---- diff --git a/conformance/run-deed-tests.sh b/conformance/run-deed-tests.sh index 14228a3..a07bb8d 100755 --- a/conformance/run-deed-tests.sh +++ b/conformance/run-deed-tests.sh @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: © 2026 Jonathan D.A. Jewell (hyperpolymath) # SPDX-License-Identifier: MPL-2.0 # -# Behavioural test for .deed support in validate-action/validate-a2ml.sh. +# Behavioural test for .deed support in validate-action/validate-deed.sh. # # This exists because the gap it guards was invisible to every source-level # survey. The discovery glob matched only '*.a2ml', so .deed files were never @@ -16,7 +16,7 @@ set -uo pipefail HERE="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" -VALIDATOR="${HERE}/../validate-action/validate-a2ml.sh" +VALIDATOR="${HERE}/../validate-action/validate-deed.sh" FAILURES=0 # Report a passing assertion using the test script's standard output format. diff --git a/spec/README.adoc b/spec/README.adoc index 3e67efa..2c6327b 100644 --- a/spec/README.adoc +++ b/spec/README.adoc @@ -54,7 +54,7 @@ the format. frontmatter surface of `0-AI-MANIFEST.a2ml` (894 files, 100% conformant). Its disposition under DEED is an *open question* for the owner — it is deliberately not stamped. -* The existing `.a2ml` validator (`validate-action/validate-a2ml.sh`) and the +* The existing `.a2ml` validator (`validate-action/validate-deed.sh`) and the positive fixtures in `conformance/valid/` are historical v1 inputs, explicitly non-DEED. No migration is required to make that distinction accurate. diff --git a/validate-action/TOPOLOGY.adoc b/validate-action/TOPOLOGY.adoc index 64d8f81..6214eeb 100644 --- a/validate-action/TOPOLOGY.adoc +++ b/validate-action/TOPOLOGY.adoc @@ -13,7 +13,7 @@ enforce A2ML compliance. a2ml-validate-action/ ├── action.yml # GitHub Action metadata and entry point ├── src/ -│ └── validate-a2ml.sh # Validation script (delegates to shell logic) +│ └── validate-deed.sh # Validation script (delegates to shell logic) ├── examples/ # Example workflows using this action ├── docs/ # Usage documentation └── container/ # Containerfile for CI @@ -22,7 +22,7 @@ a2ml-validate-action/ === Data Flow .... -[GitHub workflow trigger] ──► [action.yml] ──► [validate-a2ml.sh] +[GitHub workflow trigger] ──► [action.yml] ──► [validate-deed.sh] │ [scan repo for .a2ml files] │ diff --git a/validate-action/action.yml b/validate-action/action.yml index b5c2d48..5ffb7ff 100644 --- a/validate-action/action.yml +++ b/validate-action/action.yml @@ -1,15 +1,17 @@ # SPDX-License-Identifier: MPL-2.0 # Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) # -# action.yml — Validate A2ML Manifests GitHub Action -# Scans repository for .a2ml and .deed files and validates structure, required -# fields, SPDX headers, and attestation blocks. +# action.yml — Validate DEED Manifests GitHub Action +# Scans the repository for .deed (DEED grammar) and legacy .a2ml manifests and +# validates structure, required fields, SPDX headers, and attestation blocks. +# a2ml is retired (owner ruling R-H3, standards #836/#837): DEED is the grammar. -name: 'Validate A2ML Manifests' +name: 'Validate DEED Manifests' description: >- - Scan and validate .a2ml and .deed manifest files in your repository. - Checks for required fields (agent-id / pedigree name / :canonical-name, - version / :schema-version), SPDX headers, and attestation block structure. + Scan and validate .deed (DEED grammar) and legacy .a2ml manifest files in + your repository. Checks for required fields (:schema-version, agent-id / + pedigree name / :canonical-name, version), SPDX headers, and attestation + block structure. author: 'Jonathan D.A. Jewell' branding: @@ -51,7 +53,7 @@ inputs: outputs: files-scanned: - description: 'Number of .a2ml files scanned' + description: 'Number of .deed/.a2ml manifest files scanned' value: ${{ steps.validate.outputs.files_scanned }} errors: description: 'Number of validation errors found' @@ -71,4 +73,4 @@ runs: INPUT_STRICT: ${{ inputs.strict }} INPUT_PATHS_IGNORE: ${{ inputs.paths-ignore }} run: | - "${GITHUB_ACTION_PATH}/validate-a2ml.sh" + "${GITHUB_ACTION_PATH}/validate-deed.sh" diff --git a/validate-action/validate-a2ml.sh b/validate-action/validate-deed.sh similarity index 99% rename from validate-action/validate-a2ml.sh rename to validate-action/validate-deed.sh index 5020c83..aa70460 100755 --- a/validate-action/validate-a2ml.sh +++ b/validate-action/validate-deed.sh @@ -2,7 +2,7 @@ # SPDX-License-Identifier: MPL-2.0 # Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) # -# validate-a2ml.sh — A2ML manifest validation script +# validate-deed.sh — DEED manifest validation script # # Scans for .a2ml and .deed files and validates: # 1. Required fields: agent-id or pedigree name, version