Skip to content

Commit fdc45bf

Browse files
Jonathan D.A. Jewellclaude
andcommitted
docs: update ECOSYSTEM.scm and STATE.scm for tentacles FFI/ABI
Add tentacles-ffi entry to ECOSYSTEM.scm ffi-layer, update library and module counts across zig-ffi, idris2-abi, and v-lang-adapters sections. Update STATE.scm with tentacles milestone items and working-features entries. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 9869f4b commit fdc45bf

2 files changed

Lines changed: 42 additions & 24 deletions

File tree

.machine_readable/ECOSYSTEM.scm

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -303,19 +303,21 @@
303303
(ffi-layer
304304
((zig-ffi
305305
((relationship . "native-implementation")
306-
(description . "Zig FFI layer providing 4 C-ABI shared libraries")
306+
(description . "Zig FFI layer providing 5 C-ABI shared libraries")
307307
(libraries . ("libechidna_ffi.so (core prover interface)"
308308
"libechidna_overlay.so (Tor/IPFS/Ethereum)"
309309
"libechidna_boj.so (BoJ cartridge protocol)"
310-
"libechidna_typell.so (TypeLL type-level operations)"))
310+
"libechidna_typell.so (TypeLL type-level operations)"
311+
"libechidna_tentacles.so (7-Tentacles agent system)"))
311312
(features . ("Bidirectional callbacks" "Dual pub+export" "Zero runtime deps"))
312313
(url . "https://ziglang.org")))
313314

314315
(idris2-abi
315316
((relationship . "formal-abi-specification")
316317
(description . "Idris2 ABI definitions with dependent type proofs")
317318
(modules . ("EchidnaABI.Types" "EchidnaABI.Layout" "EchidnaABI.Foreign"
318-
"Overlay" "Overlay.Foreign" "Boj.Foreign" "TypeLL.Foreign"))
319+
"Overlay" "Overlay.Foreign" "Boj.Foreign" "TypeLL.Foreign"
320+
"Tentacles.TentaclesForeign"))
319321
(proofs . ("DivisibleBy struct alignment" "So non-null handles"
320322
"Round-trip enum encoding" "Platform pointer sizes"))
321323
(url . "https://idris-lang.org")))
@@ -324,8 +326,20 @@
324326
((relationship . "rest-adapter")
325327
(description . "V-lang REST adapters linking Zig FFI shared libraries")
326328
(adapters . ("Core (ports 8100-8102)" "Overlay (port 8103)"
327-
"BoJ (port 7700)" "TypeLL (port 7800)"))
328-
(url . "https://vlang.io")))))
329+
"BoJ (port 7700)" "TypeLL (port 7800)"
330+
"Tentacles (port 8300)"))
331+
(url . "https://vlang.io")))
332+
333+
(tentacles-ffi
334+
((relationship . "native-implementation")
335+
(description . "Tentacles FFI/ABI layer for 7-Tentacles agent system with OODA loop")
336+
(components . ("TentaclesForeign.idr (Idris2 ABI: agent types, OODA state, event declarations)"
337+
"tentacles.zig (Zig FFI: agent mgmt, OODA dispatch, event callbacks)"
338+
"echidna_tentacles.h (generated C header)"
339+
"tentacles.v (V-lang REST adapter on port 8300)"))
340+
(library . "libechidna_tentacles.so")
341+
(features . ("7 agent init/shutdown" "OODA loop dispatch" "Event callbacks" "Dual pub+export"))
342+
(port . 8300)))))
329343

330344
(parallel-computing
331345
((chapel

.machine_readable/STATE.scm

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,18 @@
4949
"Security audit complete: 50 weak points (39% reduction from 82)"
5050
"Ecosystem enrollment: 6 services integrated"
5151
"v1.5.0 released with comprehensive documentation"
52-
"Zig FFI layer: 4 shared libraries (core, overlay, boj, typell)"
52+
"Zig FFI layer: 5 shared libraries (core, overlay, boj, typell, tentacles)"
5353
"Zig FFI: bidirectional callbacks (init/prover/error/verify for core; status/error/progress/circuit/pin for overlay)"
5454
"Zig FFI: 30+ pure Zig native tests (test-core-native, test-overlay-native)"
55-
"Idris2 ABI: 7 modules type-checked with idris2 v0.8.0 (zero believe_me)"
55+
"Idris2 ABI: 8 modules type-checked with idris2 v0.8.0 (zero believe_me)"
5656
"Idris2 ABI: DivisibleBy proof witnesses for all 6 struct memory layouts"
5757
"Generated C headers: echidna_ffi.h (23 functions, 5 enums, 2 structs, 4 callback types)"
5858
"Generated C headers: echidna_overlay.h, echidna_boj.h, echidna_typell.h"
59-
"V-lang REST adapters: 4 adapters (core 8100-8102, overlay 8103, boj 7700, typell 7800)"))
59+
"V-lang REST adapters: 5 adapters (core 8100-8102, overlay 8103, boj 7700, typell 7800, tentacles 8300)"
60+
"Tentacles FFI: TentaclesForeign.idr ABI for 7-Tentacles agents (OODA loop)"
61+
"Tentacles FFI: tentacles.zig with agent management, OODA dispatch, event callbacks"
62+
"Tentacles FFI: echidna_tentacles.h generated C header"
63+
"Tentacles FFI: tentacles.v REST adapter on port 8300"))
6064
(trust-hardening-status
6165
("Task 1: Solver binary integrity verification - COMPLETE"
6266
"Task 2: SMT solver cross-checking (portfolio solving) - COMPLETE"
@@ -150,20 +154,20 @@
150154
((session . "2026-03-08 ffi-abi-gap-analysis")
151155
(summary . "Completed 7-step FFI/ABI gap analysis: Zig FFI (4 libraries, callbacks, native tests), Idris2 ABI (7 modules type-checked, zero believe_me), generated C headers, V-lang REST adapters")
152156
(changes
153-
("Created Zig FFI modules: core.zig, overlay.zig, boj.zig, typell.zig"
154-
"Implemented bidirectional callbacks in all 4 FFI modules"
155-
"Created core_native_test.zig (30 tests) and overlay_native_test.zig"
156-
"Fixed Idris2 Types.idr: replaced DecEq with Eq, rewrote Handle with So/choose"
157-
"Rewrote Layout.idr: DivisibleBy witnesses, VerifiedLayout records, 6 struct proofs"
158-
"Fixed Overlay.idr: trailing doc comment → regular comments"
159-
"All 7 Idris2 modules type-check with idris2 v0.8.0"
160-
"Generated C headers: echidna_ffi.h, echidna_overlay.h, echidna_boj.h, echidna_typell.h"
161-
"Created V-lang REST adapters: core (8100-8102), overlay (8103), boj (7700), typell (7800)"
162-
"All native Zig tests pass: test-core-native, test-overlay-native"
163-
"Updated all documentation: STATE.scm, META.scm, ECOSYSTEM.scm, TOPOLOGY.md, ABI-FFI-README.md, CHANGELOG.md"))
164-
(previous-session
165-
((session . "2026-02-12b workflow-automation")
166-
(summary . "Updated security-scan.yml for automated VERISIMDB_PAT dispatch")
157+
("Created Zig FFI modules: core.zig, overlay.zig, boj.zig, typell.zig"
158+
"Implemented bidirectional callbacks in all 4 FFI modules"
159+
"Created core_native_test.zig (30 tests) and overlay_native_test.zig"
160+
"Fixed Idris2 Types.idr: replaced DecEq with Eq, rewrote Handle with So/choose"
161+
"Rewrote Layout.idr: DivisibleBy witnesses, VerifiedLayout records, 6 struct proofs"
162+
"Fixed Overlay.idr: trailing doc comment → regular comments"
163+
"All 7 Idris2 modules type-check with idris2 v0.8.0"
164+
"Generated C headers: echidna_ffi.h, echidna_overlay.h, echidna_boj.h, echidna_typell.h"
165+
"Created V-lang REST adapters: core (8100-8102), overlay (8103), boj (7700), typell (7800)"
166+
"All native Zig tests pass: test-core-native, test-overlay-native"
167+
"Updated all documentation: STATE.scm, META.scm, ECOSYSTEM.scm, TOPOLOGY.md, ABI-FFI-README.md, CHANGELOG.md"))
167168
(previous-session
168-
((session . "2026-02-12 v1.5.0-release")
169-
(summary . "Released v1.5.0 with fleet integration, security audit, and ecosystem enrollment"))))))))
169+
((session . "2026-02-12b workflow-automation")
170+
(summary . "Updated security-scan.yml for automated VERISIMDB_PAT dispatch")
171+
(previous-session
172+
((session . "2026-02-12 v1.5.0-release")
173+
(summary . "Released v1.5.0 with fleet integration, security audit, and ecosystem enrollment"))))))))))

0 commit comments

Comments
 (0)