|
1 | | -;; SPDX-License-Identifier: PMPL-1.0-or-later |
2 | | -;; Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk> |
3 | | -;; META.a2ml — Meta-level information for ephapaxiser |
4 | | - |
5 | | -(meta |
6 | | - (version "0.1.0") |
7 | | - (last-updated "2026-03-21") |
8 | | - |
9 | | - (architecture-decisions |
10 | | - (adr "001-iser-pattern" |
11 | | - (status "accepted") |
12 | | - (context "Need to enforce resource safety without requiring developers to learn Ephapax") |
13 | | - (decision "Use manifest-driven code generation: user describes resources in TOML, |
14 | | - ephapaxiser analyses code, generates Ephapax linear type wrappers automatically") |
15 | | - (consequences "Users write zero Ephapax code; all complexity in the -iser")) |
16 | | - |
17 | | - (adr "002-abi-ffi-standard" |
18 | | - (status "accepted") |
19 | | - (context "Need verified interop between Rust CLI, Ephapax type system, and user code") |
20 | | - (decision "Idris2 ABI for formal linearity proofs, Zig FFI for C-ABI bridge") |
21 | | - (consequences "Compile-time correctness guarantees; zero runtime overhead from proofs")) |
22 | | - |
23 | | - (adr "003-idris2-wins" |
24 | | - (status "accepted") |
25 | | - (context "When Idris2 dependent type proofs conflict with Ephapax linear type wrappers, |
26 | | - which takes precedence?") |
27 | | - (decision "Idris2 always wins. The formally verified proofs are the source of truth. |
28 | | - Ephapax wrappers must be adjusted to conform to Idris2 proofs, never the reverse.") |
29 | | - (consequences "Dependability-first design; proofs are never weakened for convenience")) |
30 | | - |
31 | | - (adr "004-resource-kind-taxonomy" |
32 | | - (status "accepted") |
33 | | - (context "Need to classify resources for type-appropriate wrapper generation") |
34 | | - (decision "Seven built-in resource kinds (FileHandle, Socket, DbConnection, GpuBuffer, |
35 | | - CryptoKey, SessionToken, HeapAlloc) plus Custom for user-defined resources") |
36 | | - (consequences "Covers most real-world resource types; extensible for edge cases")) |
37 | | - |
38 | | - (adr "005-rsr-template" |
39 | | - (status "accepted") |
40 | | - (context "Need consistent project structure across 29+ -iser repos") |
41 | | - (decision "All repos cloned from rsr-template-repo with full CI/CD and governance") |
42 | | - (consequences "17 workflows, SECURITY.md, CONTRIBUTING, bot directives from day one"))) |
43 | | - |
44 | | - (development-practices |
45 | | - (language "Rust" (purpose "CLI, resource analysis, orchestration")) |
46 | | - (language "Idris2" (purpose "ABI formal proofs of linearity invariants")) |
47 | | - (language "Zig" (purpose "FFI C-ABI bridge with resource tracking")) |
48 | | - (build-tool "cargo") |
49 | | - (ci "GitHub Actions (17 workflows)")) |
50 | | - |
51 | | - (design-rationale |
52 | | - (principle "Exactly-once consumption" |
53 | | - (explanation "Every resource handle must be used exactly once and then consumed. |
54 | | - This is enforced by LinearResource type + ConsumeProof witness.")) |
55 | | - (principle "Idris2 proofs are authoritative" |
56 | | - (explanation "When Idris2 proofs conflict with Ephapax wrappers, adjust the wrappers. |
57 | | - Proofs encode the ground truth about resource safety.")) |
58 | | - (principle "Zero target language exposure" |
59 | | - (explanation "Users never write Ephapax — the -iser handles everything via manifest")) |
60 | | - (principle "Gradual adoption" |
61 | | - (explanation "Wrap one resource type at a time. No big-bang migration required.")))) |
| 1 | +# SPDX-License-Identifier: PMPL-1.0-or-later |
| 2 | +# Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk> |
| 3 | +# |
| 4 | +# META.a2ml — Ephapaxiser meta-level information |
| 5 | +[metadata] |
| 6 | +version = "0.1.0" |
| 7 | +last-updated = "2026-03-21" |
| 8 | + |
| 9 | +[project-info] |
| 10 | +license = "PMPL-1.0-or-later" |
| 11 | +author = "Jonathan D.A. Jewell (hyperpolymath)" |
| 12 | + |
| 13 | +[architecture-decisions] |
| 14 | +decisions = [ |
| 15 | + # No ADRs recorded |
| 16 | +] |
| 17 | + |
| 18 | +[development-practices] |
| 19 | +versioning = "SemVer" |
| 20 | +documentation = "AsciiDoc" |
| 21 | +build-tool = "just" |
| 22 | + |
| 23 | +[maintenance-axes] |
| 24 | +scoping-first = true |
| 25 | +axis-1 = "must > intend > like" |
| 26 | +axis-2 = "corrective > adaptive > perfective" |
| 27 | +axis-3 = "systems > compliance > effects" |
0 commit comments