Commit fda360d
* docs(adr): ADR-0001 panel-clades pivot + freeze src-gossamer legacy (P0)
Pin down decisions surfaced during tech-debt remediation:
- SoT = panel-clades (Idris2 ABI + Zig FFI + a2ml clades); estate-conformant
- src-gossamer Rust = FROZEN LEGACY (STATUS.adoc marker); PR #37 = interim
legacy-stabilisation only
- Reference = Axiom.jl's backend-organisation APPROACH (the pattern, not
its coprocessor code); oo7/jtv experimental, out of scope
- Backend set (11): FPGA DSP math physics tensor vector I/O audio neural
crypto quantum
- panel-clades found to be a spec-complete but UNINSTANTIATED template
shell (rsr {{placeholders}}, just init never run)
- GATE: characterise + re-validate Axiom.jl's approach before any
downstream clade/backend build (no speculative work)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* docs(adr): trust only Axiom.jl general form; non-conforming code = presumed mess
Per owner guidance: do not look at oo7/jtv at all; any coprocessor/
backend code not resembling the Axiom.jl general form is presumed
bot-mess / interference / incomplete and is NOT reference material.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* docs: characterise Axiom.jl general form + gate re-validation verdict
Cloned hyperpolymath/Axiom.jl; characterised the standard backend-
organisation approach in docs/architecture/AXIOM-GENERAL-FORM.adoc
(AbstractBackend taxonomy + SmartBackend per-op dispatch + AcceleratorGate
device selection + Idris2-spec/Zig-authoritative split + bidirectional
host bridge + parity/smoke CI).
Re-validation: Idris2 ABI typechecks clean (0.8.0); Zig FFI main.zig
FAILS — 17 'Axiom.jl_*' invalid identifiers from a bad token-substitution
bot (should be 'axiom_*'; header/tests/README clean; design sound; trivial
repair). Same corruption class also in panel-clades/ffi/zig/. ADR-0001
gate: PASSED with caveat (pattern+spec trusted; P2 build gated on the
Axiom.jl de-corruption landing).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* docs(p2): coprocessor panel-clade design (against validated Axiom form)
Design-only (no build): 11-backend taxonomy mapped to Axiom structs,
panel-clades artefact mapping (a2ml clade spec + Idris2 ABI + Zig FFI +
SmartBackend dispatch + bidirectional bridge + honest-status precedence),
modelled on the now-validated Axiom general form (Axiom.jl PR #17, 9/9).
Open questions flagged (not guessed): AcceleratorGate consumption
boundary for an Idris2/Zig clade; reference-backend language; I/O+audio
op vocab. Gates G1 (AcceleratorGate registration) / G2 (panel-clades
template instantiation + de-corruption) / G3 (owner resolves Qs).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* G2(partial): instantiate panel-clades Zig FFI {{project}}->panel_clades
Consistency fix (the exact thing Axiom got wrong): build.zig +
integration_test.zig now use panel_clades_* matching main.zig exports
and Foreign.idr (C:panel_clades_*, libpanel_clades). Remaining: same
mechanical Zig-0.15 drift class as Axiom (addSharedLibrary->addLibrary,
callconv(.C)->.c, opaque-with-fields) — tracked, not yet applied.
* G2: panel-clades Zig FFI builds green under Zig 0.15
build.zig migrated to 0.15 API (addSharedLibrary/addStaticLibrary ->
addLibrary+linkage, addTest/addExecutable -> root_module via
createModule, addInstallHeader -> addInstallFileWithDir, .link_libc on
all modules). main.zig: opaque-with-fields -> struct, callconv(.C) ->
callconv(.c), removed pointless discard. zig build test now exits 0
(was: didn't compile). Same proven pattern as Axiom.jl PR #17.
* docs(p2): durable G2 status + remaining-placeholder triage (handoff, no re-derive)
Captures what was only in conversation: G1 dissolved (AcceleratorGate
decoupled), G2 partial (Zig FFI 6/6 green), and the exact triage of the
~50 remaining template placeholders into derivable / owner-decision /
crypto-material buckets, with the safe resume path.
---------
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 51306ea commit fda360d
4 files changed
Lines changed: 234 additions & 76 deletions
File tree
- docs/architecture
- panel-clades/ffi/zig
- src
- test
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
20 | 25 | | |
21 | 26 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
27 | 31 | | |
28 | 32 | | |
29 | 33 | | |
30 | 34 | | |
31 | 35 | | |
32 | 36 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
37 | 42 | | |
38 | 43 | | |
39 | 44 | | |
40 | 45 | | |
41 | 46 | | |
42 | | - | |
43 | | - | |
44 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
45 | 53 | | |
46 | 54 | | |
47 | 55 | | |
| |||
51 | 59 | | |
52 | 60 | | |
53 | 61 | | |
54 | | - | |
55 | | - | |
56 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
57 | 68 | | |
58 | 69 | | |
59 | 70 | | |
| |||
65 | 76 | | |
66 | 77 | | |
67 | 78 | | |
68 | | - | |
69 | | - | |
70 | | - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
71 | 85 | | |
72 | 86 | | |
73 | 87 | | |
| |||
79 | 93 | | |
80 | 94 | | |
81 | 95 | | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
86 | 103 | | |
87 | 104 | | |
88 | 105 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
64 | 66 | | |
65 | 67 | | |
66 | 68 | | |
67 | | - | |
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
| |||
154 | 155 | | |
155 | 156 | | |
156 | 157 | | |
157 | | - | |
158 | | - | |
| 158 | + | |
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
| |||
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
321 | | - | |
| 321 | + | |
322 | 322 | | |
323 | 323 | | |
324 | 324 | | |
| |||
0 commit comments