Skip to content

Commit 4ab5e3e

Browse files
hyperpolymathclaude
andcommitted
chore(rsr): compliance sweep — STATE, contractiles, CHANGELOG, Justfile
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 08eff5a commit 4ab5e3e

File tree

6 files changed

+997
-16
lines changed

6 files changed

+997
-16
lines changed

.machine_readable/6a2/STATE.a2ml

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,28 +12,29 @@
1212
(name "a2mliser")
1313
(description "Cryptographic attestation engine for markup and configuration files via A2ML envelopes")
1414
(status "scaffold-documented")
15-
(priority "mid-tier -iser — foundational for supply chain security")
16-
(ecosystem "-iser family (https://github.com/hyperpolymath/iseriser)"))
15+
(priority "—")
16+
(ecosystem "-iser family (https://github.com/hyperpolymath/iseriser)")
17+
(domain "Cryptographic attestation for markup files"))
1718

1819
(current-position
19-
(phase "phase-0-complete")
20+
(phase "scaffold-documented")
2021
(completion-percentage 10)
21-
(milestone "Architecture documented, CLI scaffolded, ABI/FFI definitions written with attestation-specific types"))
22+
(milestone "Architecture defined, CLI scaffolded, RSR template complete — implementation pending"))
2223

2324
(route-to-mvp
24-
(step 1 "Implement BLAKE3 and SHA-256 hashing in Zig FFI (crypto primitives)")
25-
(step 2 "Implement Ed25519 signing/verification in Zig FFI")
26-
(step 3 "Wire Rust codegen to call Zig FFI via generated C headers")
27-
(step 4 "Produce .a2ml sidecar attestation envelopes for TOML files")
28-
(step 5 "Implement envelope verification (recompute digest, verify signature)")
29-
(step 6 "Add provenance chain support (parent references, chain walking)")
30-
(step 7 "YAML and JSON format handlers")
31-
(step 8 "Idris2 formal proofs for signature correctness and chain validity"))
25+
(step 1 "Phase 0 — scaffold and documentation [COMPLETE]")
26+
(step 2 "Phase 1 — CLI skeleton and manifest parser")
27+
(step 3 "Phase 2 — A2ML envelope parsing and generation")
28+
(step 4 "Phase 3 — cryptographic attestation (Ed25519)")
29+
(step 5 "Phase 4 — Idris2 ABI proofs for envelope integrity")
30+
(step 6 "Phase 5 — Zig FFI bridge for crypto operations")
31+
(step 7 "Phase 6 — integration tests and examples")
32+
(step 8 "Phase 7 — first release (v0.1.0)"))
3233

3334
(blockers-and-issues
34-
(none "Project is in scaffold phase with documentation complete — no blockers"))
35+
(none "Scaffold only — implementation not yet started"))
3536

3637
(critical-next-actions
37-
(action "Implement BLAKE3 hashing in Zig FFI src/interface/ffi/src/main.zig")
38-
(action "Implement Ed25519 signing in Zig FFI")
39-
(action "Wire a2mliser generate command to produce real .a2ml envelopes")))
38+
(action "Begin Phase 1 — implement CLI skeleton and manifest parser")
39+
(action "Define A2ML envelope format for attestation")
40+
(action "Evaluate Ed25519 crate options for Rust implementation")))
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# SPDX-License-Identifier: PMPL-1.0-or-later
2+
# Intendfile — Design intent declarations for a2mliser
3+
# Author: Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
4+
5+
@abstract:
6+
What a2mliser INTENDS to become. These are bespoke design goals
7+
specific to the Cryptographic attestation for markup files domain.
8+
@end
9+
10+
## Domain-Specific Intent
11+
12+
### supply-chain-attestation\n- description: Enable SLSA-style supply chain attestation for config files\n- target: In-toto compatible attestation bundles\n- status: aspiration\n\n### a2ml-spec-conformance\n- description: Full A2ML specification compliance (IANA submission)\n- target: Reference implementation status\n- status: aspiration
13+
14+
## Cross-Cutting Intent
15+
16+
### iser-ecosystem-compatibility
17+
- description: Must interoperate with other -iser projects via shared ABI
18+
- target: Idris2 ABI + Zig FFI standard interface
19+
- status: in-progress
20+
21+
### proven-integration
22+
- description: All formal proofs should be verifiable by the proven framework
23+
- target: Integration with hyperpolymath/proven
24+
- status: aspiration

.machine_readable/contractiles/must/Mustfile.a2ml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,7 @@ These are hard requirements — CI fails if any check fails.
6767
- description: No Admitted in Coq code
6868
- run: "! grep -r 'Admitted' --include='*.v' . 2>/dev/null | grep -v node_modules | head -1 | grep -q ."
6969
- severity: critical
70+
71+
## Domain-Specific Constraints (a2mliser)
72+
73+
### attestation-integrity\n- description: Cryptographic attestations must be verifiable end-to-end\n- target: Ed25519 or similar, no custom crypto\n- severity: critical\n\n### envelope-roundtrip\n- description: A2ML envelopes must preserve original content exactly\n- target: Byte-identical roundtrip (wrap then unwrap)\n- severity: critical\n\n### no-key-material-in-output\n- description: Private keys must never appear in generated attestations\n- target: Only public key references in output\n- severity: critical

CHANGELOG.adoc

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
// SPDX-License-Identifier: PMPL-1.0-or-later
2+
// Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath)
3+
= Changelog: a2mliser
4+
:toc:
5+
6+
All notable changes to a2mliser will be documented in this file.
7+
8+
This format is based on https://keepachangelog.com/en/1.1.0/[Keep a Changelog],
9+
and this project adheres to https://semver.org/spec/v2.0.0.html[Semantic Versioning].
10+
11+
== [0.1.0] - 2026-03-21
12+
13+
=== Phase 1 — RSR Compliance Sweep
14+
15+
=== Added
16+
* RSR compliance sweep — STATE.a2ml, contractiles, Justfile updated
17+
* Documentation complete, implementation pending
18+
* Bespoke contractile constraints for A2ML attestation domain
19+
20+
== [0.0.1] - 2026-03-20
21+
22+
=== Added
23+
* Initial project scaffold from rsr-template-repo
24+
* CLI with subcommands (init, validate, generate, build, run, info)
25+
* Manifest parser (`a2mliser.toml`)
26+
* Codegen engine (stubs — target-language-specific implementation pending)
27+
* ABI module (Idris2 proof type definitions)
28+
* Library API for programmatic use
29+
* Full RSR template (17 CI workflows, governance docs, bot directives)
30+
* README.adoc with architecture overview and value proposition

0 commit comments

Comments
 (0)