Skip to content

Commit 6e67a71

Browse files
hyperpolymathclaude
andcommitted
chore: migrate standards repo SCM references and examples to A2ML format
Estate-wide migration from Guile Scheme (.scm) checkpoint files to A2ML (.a2ml) format completed 2026-04-12. This commit updates all standards specs, examples, and satellite references to reflect the new format. - Add comprehensive.a2ml + minimal.a2ml in: meta-a2ml/examples/, agentic-a2ml/examples/, neurosym-a2ml/examples/, playbook-a2ml/examples/, rhodium-standard-repositories/satellites/META.scm/examples/ - Add DEPRECATED notices to all corresponding .scm example files - Update rhodium-standard-repositories/README.adoc: AI context files table now lists .machine_readable/6a2/*.a2ml paths (6 files, not 3) - Update spec/TIERS.adoc: Gold tier checklist uses A2ML paths - Update spec/VERSION.adoc: language table adds A2ML row; required files table uses .a2ml paths; deprecation note added - Update spec/RSR-SPEC.adoc: satellite links updated; Gold description fixed - Update spec/LANGUAGE-POLICY.adoc: Guile Scheme row split — A2ML for checkpoint files, Guile Scheme for build tooling only (guix.scm etc.) - Update contractiles/k9/README.adoc: STATE/META/ECOSYSTEM references use .a2ml paths - Update ROADMAP.adoc files (4 files): STATE.scm → STATE.a2ml - Update 0-ai-gatekeeper-protocol/docs/AI-MANIFEST-SPEC.adoc: all STATE.scm / .machine_readable/ references use new 6a2/ A2ML paths - Update state-a2ml/docs/CITATIONS.adoc: citations updated to state-a2ml - Update state-a2ml/spec/{STATE-FORMAT-SPEC,IANA-MEDIA-TYPE,STANDARDS-TRACK, README}.adoc: .scm → .a2ml file extension; deprecated alias entries added Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent cb497d6 commit 6e67a71

File tree

38 files changed

+1164
-92
lines changed

38 files changed

+1164
-92
lines changed

0-ai-gatekeeper-protocol/docs/AI-MANIFEST-SPEC.adoc

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,10 @@ This is the AI manifest for **[REPO-NAME]**. It declares:
185185
186186
### Machine-Readable Metadata: `.machine_readable/` ONLY
187187
188-
These 6 SCM files MUST exist in `.machine_readable/` directory ONLY:
189-
1. **STATE.scm** - Project state, progress, blockers
190-
2. **META.scm** - Architecture decisions, governance
188+
These 6 A2ML files MUST exist in `.machine_readable/6a2/` directory ONLY
189+
(migrated from Guile Scheme on 2026-04-12):
190+
1. **STATE.a2ml** - Project state, progress, blockers
191+
2. **META.a2ml** - Architecture decisions, governance
191192
...
192193
193194
**CRITICAL:** If ANY of these files exist in the root directory, this is an ERROR.
@@ -210,9 +211,9 @@ These 6 SCM files MUST exist in `.machine_readable/` directory ONLY:
210211
----
211212
## CORE INVARIANTS
212213
213-
1. **No SCM duplication** - Root must NOT contain STATE.scm, META.scm, etc.
214-
2. **Single source of truth** - `.machine_readable/` is authoritative
215-
3. **No stale metadata** - If root SCMs exist, they are OUT OF DATE
214+
1. **No A2ML duplication** - Root must NOT contain STATE.a2ml, META.a2ml, etc. (or legacy STATE.scm, META.scm)
215+
2. **Single source of truth** - `.machine_readable/6a2/` is authoritative
216+
3. **No stale metadata** - If root A2ML/SCM files exist, they are OUT OF DATE
216217
4. **License consistency** - All code PMPL-1.0-or-later unless platform requires MPL-2.0
217218
----
218219

@@ -238,9 +239,10 @@ repo-name/
238239
├── 0-AI-MANIFEST.a2ml # THIS FILE (start here)
239240
├── README.md # Project overview
240241
├── src/ # Source code
241-
├── .machine_readable/ # SCM files (6 files)
242-
│ ├── STATE.scm
243-
│ └── ...
242+
├── .machine_readable/ # A2ML files (6 files in 6a2/ subdirectory)
243+
│ └── 6a2/
244+
│ ├── STATE.a2ml
245+
│ └── ...
244246
└── .bot_directives/ # Bot instructions
245247
```
246248
----
@@ -254,7 +256,7 @@ repo-name/
254256
**Requirements:**
255257
* SHOULD use checkbox format
256258
* MUST include "Read manifest" as first step
257-
* SHOULD include "Read STATE.scm" step
259+
* SHOULD include "Read STATE.a2ml" step
258260
* MAY include platform-specific steps
259261

260262
**Example:**
@@ -265,7 +267,7 @@ repo-name/
265267
✅ Read THIS file (0-AI-MANIFEST.a2ml) first
266268
✅ Understand canonical locations
267269
✅ Know the invariants
268-
✅ Read `.machine_readable/STATE.scm`
270+
✅ Read `.machine_readable/6a2/STATE.a2ml`
269271
----
270272

271273
=== Lifecycle Hooks
@@ -293,13 +295,13 @@ When starting a new session:
293295
2. Log session start (optional but recommended)
294296
- Format: `[YYYY-MM-DD HH:MM:SS] Session started: [agent-name]`
295297
- Location: `.machine_readable/session-log.txt`
296-
3. Read `.machine_readable/STATE.scm`
298+
3. Read `.machine_readable/6a2/STATE.a2ml`
297299
298300
### on-exit (Session End)
299301
300302
When ending a session:
301303
302-
1. Update `.machine_readable/STATE.scm` if changes made
304+
1. Update `.machine_readable/6a2/STATE.a2ml` if changes made
303305
2. Log session end
304306
3. Document new blockers
305307
----

agentic-a2ml/docs/ROADMAP.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
|Component |Description |Status
1212

1313
|RSR Compliance
14-
|Core RSR files (.editorconfig, justfile, STATE.scm, etc.)
14+
|Core RSR files (.editorconfig, justfile, STATE.a2ml, etc.)
1515
|100%
1616

1717
|Security Hardening
@@ -41,7 +41,7 @@
4141
=== Phase 1: Foundation (v0.1 - v0.2) - COMPLETE
4242

4343
* [x] Initial RSR-compliant structure
44-
* [x] Core SCM files (STATE.scm, META.scm, ECOSYSTEM.scm)
44+
* [x] Core A2ML files (STATE.a2ml, META.a2ml, ECOSYSTEM.a2ml) — migrated from SCM 2026-04-12
4545
* [x] Justfile with 50+ recipes
4646
* [x] GitHub workflows (CodeQL, Scorecard, quality checks)
4747
* [x] SHA-pinned all GitHub Actions for supply chain security
@@ -61,8 +61,8 @@
6161

6262
* [ ] RSR compliance checker CLI tool
6363
* [ ] Template scaffolding command (`just scaffold <lang>`)
64-
* [ ] Automated STATE.scm generation
65-
* [ ] Badge generation from STATE.scm
64+
* [ ] Automated STATE.a2ml generation
65+
* [ ] Badge generation from STATE.a2ml
6666

6767
=== Phase 4: Ecosystem Integration (v0.5)
6868

Lines changed: 130 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
1+
# SPDX-License-Identifier: PMPL-1.0-or-later
2+
# SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
3+
#
4+
# AGENTIC.a2ml — Comprehensive Example with All Sections
5+
# enterprise-platform
6+
#
7+
# Full-featured AGENTIC demonstrating all sections and capabilities.
8+
# This is the current (A2ML) format. Supersedes comprehensive.scm.
9+
10+
[metadata]
11+
version = "1.0.0"
12+
last-updated = "2026-04-12"
13+
14+
[agent-permissions]
15+
can-edit-source = true
16+
can-edit-tests = true
17+
can-edit-docs = true
18+
can-edit-config = true
19+
can-create-files = true
20+
21+
[agent-constraints]
22+
# What AI agents must NOT do:
23+
# - Never use banned language patterns (believe_me, unsafeCoerce, Obj.magic, etc.)
24+
# - Never commit secrets or credentials
25+
# - Never use banned languages (TypeScript, Python, Go, V-lang, ATS2, etc.)
26+
# - Never place state files in repository root (must be in .machine_readable/6a2/)
27+
# - Never use AGPL license (use PMPL-1.0-or-later)
28+
# - Never push to mirrors directly (GitHub is the only push target)
29+
30+
# ==============================================================
31+
# GATING POLICIES
32+
# ==============================================================
33+
34+
[gating-policies.default]
35+
mode = "strict"
36+
require-explicit-intent = true
37+
log-all-decisions = true
38+
subordinate-to = "META.a2ml"
39+
40+
[gating-policies.file-operations]
41+
read-source = "auto"
42+
write-source = "requires-intent"
43+
delete = "requires-explicit-confirmation"
44+
create-new-file = "requires-intent"
45+
46+
[gating-policies.git-operations]
47+
commit = "requires-panic-attack-assail-pass"
48+
push = "requires-explicit-intent"
49+
force-push = "never"
50+
branch-delete = "requires-explicit-confirmation"
51+
52+
[gating-policies.network]
53+
external-requests = "never-without-explicit-intent"
54+
credential-use = "never-store-credentials"
55+
56+
[gating-policies.infrastructure]
57+
deploy = "requires-explicit-confirmation"
58+
modify-ci = "requires-intent"
59+
modify-branch-protection = "requires-explicit-confirmation"
60+
61+
# ==============================================================
62+
# ENTROPY BUDGETS
63+
# ==============================================================
64+
# Higher entropy = more dangerous / irreversible operation
65+
66+
[entropy-budgets]
67+
max-per-session = 100
68+
warn-threshold = 80
69+
70+
[entropy-budgets.operations]
71+
file-read = 1
72+
file-write = 5
73+
file-delete = 20
74+
git-commit = 10
75+
git-push = 15
76+
external-api-call = 10
77+
infrastructure-change = 30
78+
data-migration = 40
79+
80+
# ==============================================================
81+
# RISK THRESHOLDS
82+
# ==============================================================
83+
84+
[risk-thresholds]
85+
low = "0-20"
86+
medium = "21-50"
87+
high = "51-80"
88+
critical = "81-100"
89+
90+
[risk-thresholds.auto-approve]
91+
max-entropy = 20
92+
93+
[risk-thresholds.require-confirmation]
94+
min-entropy = 21
95+
96+
[risk-thresholds.require-explicit-human]
97+
min-entropy = 51
98+
99+
# ==============================================================
100+
# MAINTENANCE INTEGRITY
101+
# ==============================================================
102+
103+
[maintenance-integrity]
104+
fail-closed = true
105+
require-evidence-per-step = true
106+
allow-silent-skip = false
107+
require-rerun-after-fix = true
108+
release-claim-requires-hard-pass = true
109+
110+
# ==============================================================
111+
# AUTOMATION HOOKS
112+
# ==============================================================
113+
114+
[automation-hooks]
115+
# on-enter: Read 0-AI-MANIFEST.a2ml, then .machine_readable/6a2/STATE.a2ml
116+
# on-exit: Update .machine_readable/6a2/STATE.a2ml with session outcomes
117+
# on-commit: Run panic-attack assail . before staging
118+
# on-create-file: Verify SPDX header present
119+
# on-write: Verify file is within approved paths
120+
121+
# ==============================================================
122+
# DECISION RECORDING
123+
# ==============================================================
124+
125+
[decision-recording]
126+
record-all-decisions = true
127+
format = "a2ml"
128+
location = ".machine_readable/6a2/STATE.a2ml"
129+
include-rationale = true
130+
include-alternatives-considered = true

agentic-a2ml/examples/comprehensive.scm

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
;; SPDX-License-Identifier: MPL-2.0-or-later
22
;; SPDX-FileCopyrightText: 2025 Jonathan D.A. Jewell
3+
;;
4+
;; DEPRECATED: This file uses the legacy Guile Scheme (.scm) format.
5+
;; See comprehensive.a2ml for the current A2ML format.
36

47
;;; AGENTIC.scm — Comprehensive Example
58
;;; enterprise-platform

agentic-a2ml/examples/minimal.a2ml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# SPDX-License-Identifier: PMPL-1.0-or-later
2+
# SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
3+
#
4+
# AGENTIC.a2ml — Minimal Example
5+
# minimal-project
6+
#
7+
# This is the current (A2ML) format. Supersedes minimal.scm.
8+
9+
[metadata]
10+
version = "0.1.0"
11+
last-updated = "2026-04-12"
12+
13+
[agent-permissions]
14+
can-edit-source = true
15+
can-edit-tests = true
16+
can-edit-docs = true
17+
can-edit-config = false
18+
can-create-files = false
19+
20+
[gating-policies.default]
21+
mode = "strict"
22+
require-explicit-intent = true
23+
24+
[maintenance-integrity]
25+
fail-closed = true
26+
require-evidence-per-step = true

agentic-a2ml/examples/minimal.scm

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
;; SPDX-License-Identifier: MPL-2.0-or-later
22
;; SPDX-FileCopyrightText: 2025 Example Author
3+
;;
4+
;; DEPRECATED: This file uses the legacy Guile Scheme (.scm) format.
5+
;; See minimal.a2ml for the current A2ML format.
36

47
;;; AGENTIC.scm — Minimal Example
58
;;; minimal-project

meta-a2ml/.claude/CLAUDE.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
## Machine-Readable Artefacts
22

3-
The following files in `.machine_readable/` contain structured project metadata:
4-
5-
- `STATE.scm` - Current project state and progress
6-
- `META.scm` - Architecture decisions and development practices
7-
- `ECOSYSTEM.scm` - Position in the ecosystem and related projects
8-
- `AGENTIC.scm` - AI agent interaction patterns
9-
- `NEUROSYM.scm` - Neurosymbolic integration config
10-
- `PLAYBOOK.scm` - Operational runbook
3+
The following files in `.machine_readable/6a2/` contain structured project metadata
4+
in A2ML format (migrated from Guile Scheme on 2026-04-12):
5+
6+
- `.machine_readable/6a2/STATE.a2ml` - Current project state and progress
7+
- `.machine_readable/6a2/META.a2ml` - Architecture decisions and development practices
8+
- `.machine_readable/6a2/ECOSYSTEM.a2ml` - Position in the ecosystem and related projects
9+
- `.machine_readable/6a2/AGENTIC.a2ml` - AI agent interaction patterns
10+
- `.machine_readable/6a2/NEUROSYM.a2ml` - Neurosymbolic integration config
11+
- `.machine_readable/6a2/PLAYBOOK.a2ml` - Operational runbook
1112

1213
---
1314

0 commit comments

Comments
 (0)