Commit 6bc4d47
resolve OQ-001 (A): coordinator + verification host — drop redundant src/ ABI/FFI scaffold (#56)
## Summary — resolves OQ-001 (option A)
nextgen-typing's long-standing identity contradiction (OQ-001:
"docs-only coordinator, no compiler code" **vs** an in-tree RSR ABI/FFI
scaffold) is resolved as **coordination monorepo + cross-project
verification host** — *not* an ABI/compiler repo.
The evidence made the call clear:
`src/interface/Abi/{Types,Layout,Foreign}.idr` was a strict **subset**
of the fuller canonical `verification/proofs/idris2/ABI/`
(Compliance/Platform/Pointers/Layout/Foreign + Types), plus a redundant
`src/interface/ffi/` Zig duplicate and **committed Idris build
artifacts** (`src/interface/build/ttc/…`). So the scaffold was redundant
template residue.
## Changes
- **Dropped the `src/` RSR scaffold** (45 files): redundant ABI subset,
Zig FFI duplicate, committed `.ttc`/`.ttm` build artifacts, and
`src/{aspects,bridges,contracts,core,definitions,errors}` manifest
stubs. The canonical proofs in `verification/proofs/` are untouched.
- **Justfile**: removed the `src/interface/{Abi,ffi,generated}`
existence checks from `validate-rsr` and the `self-assess` structure
report. Bonus: fixed stale root→`6a2/` paths in `validate-rsr`'s
required-file + META-axis checks (left dead by the #34 migration).
`proof-check-idris2` already targets `verification/proofs/` — untouched.
- **`.gitignore`**: added `*.ttc`, `*.ttm`, `zig-out/`.
- **Identity reconciled**: README.adoc + EXPLAINME.adoc now state "does
not contain compiler or application code; it documents and coordinates
the pipeline, and hosts the cross-project formal-verification proofs in
`verification/proofs/`." STATE.a2ml marks **OQ-001 resolved**, `phase =
"coordination + verification-host"`.
## Safety
No CI workflow or Justfile recipe executes the dropped `src/` paths
(verified — `e2e.yml`/`workflow-linter.yml` only use `src/**` as benign
trigger/lang-detection globs). `.claude/` doesn't exist in this repo.
STATE parses as TOML.
## Follow-ups (filed as issues, not in this PR)
1. **Proof-CI**: nothing currently builds `verification/proofs/` — a
real proof-CI needs agda+stdlib (+echo-types lib), lean4, coq, idris2
toolchains. This is the key next step to make the "verification host"
identity enforced rather than asserted.
2. **Doc sweep**: 6 docs (e.g. `docs/developer/ABI-FFI-README.adoc` — a
stale stub with an unfilled `{{~ ~}}` token) still mention
`src/interface/Abi`; retarget to `verification/proofs/` or drop the
ABI/FFI authoring docs.
🤖 Draft — opened for review.
https://claude.ai/code/session_01GJatEm2TVFSTBEkKXmserJ
---
_Generated by [Claude
Code](https://claude.ai/code/session_01GJatEm2TVFSTBEkKXmserJ)_
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent 626791a commit 6bc4d47
50 files changed
Lines changed: 30 additions & 994 deletions
File tree
- .machine_readable/6a2
- src
- aspects
- integrity
- observability
- security
- bridges
- contracts
- core
- definitions
- errors
- interface
- Abi
- build/ttc/2025081600/Abi
- ffi
- src
- test
- generated
- abi
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
29 | | - | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
58 | | - | |
| 59 | + | |
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
419 | 419 | | |
420 | 420 | | |
421 | 421 | | |
422 | | - | |
423 | | - | |
424 | | - | |
425 | | - | |
426 | | - | |
427 | | - | |
428 | | - | |
429 | | - | |
430 | | - | |
431 | | - | |
432 | | - | |
433 | | - | |
434 | | - | |
435 | | - | |
436 | | - | |
437 | | - | |
438 | | - | |
439 | | - | |
440 | 422 | | |
441 | 423 | | |
442 | 424 | | |
| |||
1053 | 1035 | | |
1054 | 1036 | | |
1055 | 1037 | | |
1056 | | - | |
| 1038 | + | |
1057 | 1039 | | |
1058 | 1040 | | |
1059 | 1041 | | |
1060 | 1042 | | |
1061 | 1043 | | |
1062 | | - | |
1063 | | - | |
1064 | | - | |
1065 | | - | |
1066 | | - | |
1067 | | - | |
1068 | 1044 | | |
1069 | 1045 | | |
1070 | 1046 | | |
1071 | | - | |
1072 | | - | |
1073 | | - | |
1074 | | - | |
1075 | | - | |
1076 | | - | |
1077 | | - | |
1078 | | - | |
1079 | | - | |
| 1047 | + | |
| 1048 | + | |
| 1049 | + | |
| 1050 | + | |
| 1051 | + | |
| 1052 | + | |
| 1053 | + | |
| 1054 | + | |
| 1055 | + | |
1080 | 1056 | | |
1081 | 1057 | | |
1082 | 1058 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments