Skip to content

Commit abf7c56

Browse files
committed
ci(deed): gate CI on .deed; leftover .a2ml is a hard fail
A2ML is retired (standards #837). Machine-readable manifests are renamed .a2ml → .deed. Repo deed affinescript_chora.deed is the s-expression DEED grammar. tools/check-deed-gates.sh + deed-validate.yml + the ci.yml build job refuse STATE.a2ml / a2ml-validate / leftover *.a2ml. check-doc-truthing reads STATE.deed.
1 parent ba66988 commit abf7c56

39 files changed

Lines changed: 163 additions & 48 deletions

‎.github/CONTRIBUTING.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ how to set up a working tree, file useful bugs, and submit changes.
66

77
For the language itself, start from [`README.adoc`](../README.adoc). For
88
project state, blockers, and next-actions, see
9-
[`.machine_readable/descriptiles/STATE.a2ml`](../.machine_readable/descriptiles/STATE.a2ml).
9+
[`.machine_readable/descriptiles/STATE.deed`](../.machine_readable/descriptiles/STATE.deed).
1010

1111
’’’’’
1212

@@ -47,7 +47,7 @@ Tested on OCaml 4.14.2 (the constraint in `dune-project` is `>=`
4747
├── packages/ # Aggregate JS/TS/ binding packages
4848
├── editors/ # Editor integrations
4949
├── js/ # `js_of_ocaml` playground (built into `playground.bc.js`)
50-
├── .machine_readable/ # Machine-readable metadata (`.a2ml`) — see 0-AI-MANIFEST.a2ml
50+
├── .machine_readable/ # Machine-readable metadata (`.deed`) — see 0-AI-MANIFEST.deed
5151
├── .github/ # CI workflows, issue templates
5252
│ └── CONTRIBUTING.md # This file
5353
├── CODE_OF_CONDUCT.md
@@ -85,7 +85,7 @@ template](.github/ISSUE_TEMPLATE/bug_report.md) and include:
8585
### Suggesting Features
8686

8787
**Before suggesting:** 1. Skim [`docs/ROADMAP.adoc`](../docs/ROADMAP.adoc)
88-
and `.machine_readable/descriptiles/STATE.a2ml`. 2. Search existing
88+
and `.machine_readable/descriptiles/STATE.deed`. 2. Search existing
8989
issues and discussions.
9090

9191
**When suggesting:** use the [feature request
@@ -150,7 +150,7 @@ dune runtest # must be green
150150
dune fmt # optional — auto-formats with ocamlformat
151151
```
152152

153-
The `methodology.a2ml` file lists the canonical gate set. CI will rerun
153+
The `methodology.deed` file lists the canonical gate set. CI will rerun
154154
`build` + `runtest` plus the security, lint, and policy workflows in
155155
`.github/workflows/`.
156156

‎.github/workflows/ci.yml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,14 @@ jobs:
108108
if: ${{ !cancelled() }}
109109
# Single toolchain-free gate enforcing both halves of the doc-truthing
110110
# MONITOR: the presence invariants (DOC-04/05 — banner pointers, matrix
111-
# primacy + anti-over-claim section, STATE.a2ml mirror keys) AND the
111+
# primacy + anti-over-claim section, STATE.deed mirror keys) AND the
112112
# over-claim ratchet (DOC-08/09 — fails any NEW backend-breadth /
113113
# "production-ready" / stdlib-% phrase beyond tools/doc-overclaims.allow).
114114
# See tools/check-doc-truthing.sh.
115115
run: ./tools/check-doc-truthing.sh
116+
- name: DEED manifest gate (A2ML retired)
117+
if: ${{ !cancelled() }}
118+
run: ./tools/check-deed-gates.sh
116119
- name: Soundness-ledger anti-staleness gate
117120
if: ${{ !cancelled() }}
118121
# docs/SOUNDNESS.adoc is the single source of truth for soundness-hole
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# This workflow is managed by gh actions-lock.
2+
# SPDX-License-Identifier: MPL-2.0
3+
# DEED manifest gate. A2ML is retired; leftover *.a2ml fails CI.
4+
name: "DEED Manifest Validation"
5+
on:
6+
pull_request:
7+
push:
8+
branches: [main]
9+
permissions: read-all
10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.ref }}
12+
cancel-in-progress: true
13+
jobs:
14+
deed-validate:
15+
name: Validate DEED manifests
16+
runs-on: ubuntu-latest
17+
timeout-minutes: 10
18+
steps:
19+
- name: Checkout code
20+
uses: actions/checkout@v7.0.1
21+
- name: Run DEED gates
22+
run: ./tools/check-deed-gates.sh
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)