Commit 2c089a7
Step 0+1 ground-clearing: ADRs, deletions, test fix, lint cleanup, README/ROADMAP, CI concurrency (#24)
* docs(adr): record octad/verification/justfile decisions, strip empty trees
Adds three ADRs for verisimiser and one for verisimdb-data, plus the
mechanical file deletions they authorise.
- ADR-0001 (octad-ontology): concerns octad is canonical; modalities
become Tier 2 overlays. Closes #19; sets up #20; closes #21 wontfix.
- ADR-0002 (verification-tree): strip the empty 8-subdirectory tree;
Idris2 stubs in src/interface/abi/ are unaffected. Closes #15.
- ADR-0003 (justfile-aspirational-recipes): delete recipes that name
non-existent clap subcommands. Closes #11 (#10 is the mechanical
follow-up).
- ADR-0001 (verisimdb-data, repo-purpose): repo carries two explicit
purposes (scan store + ABI dogfood). Lands in the data repo commit.
Deletes:
- examples/SafeDOMExample.res, examples/web-project-deno.json
(unrelated template flotsam — closes #12)
- root SECURITY.md, root CODE_OF_CONDUCT.md (duplicate; .github/
versions are canonical — closes #13, #14)
- verification/ subtree (closes #15 via ADR-0002)
Closes #11, #12, #13, #14, #15, #19, #21
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* test(integration): fix verisim_ vs verisimdb_ prefix + Windows path escaping
Two bugs in tests/integration_test.rs caused 2 of 9 integration tests to
fail (the unit tests were unaffected).
1. Prefix mismatch — codegen emits identifiers prefixed `verisimdb_`
(see src/codegen/overlay.rs). The integration tests asserted
substring presence of `verisim_…` which is not a substring of
`verisimdb_…`. Replaced 11 occurrences in tests/integration_test.rs.
2. Windows path escaping — test_end_to_end_file_workflow interpolates
`schema_path.display()` into a TOML basic string with `"…"`. On
Windows the path contains backslashes which TOML treats as escapes,
producing a malformed manifest and an unwrap-on-Err. Switched the
embedded path to a TOML literal string (single quotes) which
suppresses escape interpretation.
Verified: cargo test now reports 26 + 26 + 9 = 61 tests, 0 failed.
Closes #8
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* docs(readme,roadmap): align around concerns octad (ADR-0001)
Per ADR-0001 the canonical octad is concerns
(Data/Metadata/Provenance/Lineage/Constraints/AccessControl/Temporal/
Simulation), not modalities. The previous README led with a modalities
table the codebase no longer supported.
README.adoc rewrites:
- Replace the "Eight Modalities" table with an "Eight Concerns" table
whose rows match `OctadDimension` enum, OctadConfig fields, and the
emitted sidecar tables.
- Reframe the eight cross-modal drift categories under Constraints
(they are symptoms observed by Constraints when Data, Metadata, and
active Tier 2 overlays disagree). Note explicitly that each category
still needs a computable definition.
- Tier 1 narrative reorganised around the five Tier 1 concerns
(Provenance, Temporal, Constraints, Lineage, AccessControl).
- Tier 2 retains modalities but as overlay representations, not as
"the octad".
- Add a "Related repos" section linking verisimdb-data.
- Add an "ABI" section pointing at src/interface/abi/ and
src/interface/ffi/ where the Idris2 and Zig stubs actually live.
- Cite ADR-0001 and ADR-0002 inline.
ROADMAP.adoc rewrites:
- Phase 0 marked complete with accurate evidence (ABI types exist in
three languages; codegen scaffolding ships).
- Phases reordered to match the bottom-up plan: SQLite Tier 1 MVP
first (cheapest end-to-end), then PostgreSQL, then multi-backend,
then Constraints/Drift, then AccessControl/Lineage, then Tier 2
modality overlays, then Simulation, then VCL-total integration,
then production hardening, then ecosystem.
- Each phase phrased in concerns/modality terms consistent with
ADR-0001.
Closes #20
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* ci(rust-ci): add concurrency cancellation; honour fmt fixes from prior commit
The `rust-ci.yml` lane already runs `cargo check + clippy + fmt` (job
`check`) and `cargo test --all-targets` (job `test`, depends on `check`).
That is exactly what V-L3-A2 asked for — the previous mega-list
incorrectly claimed no cargo-test gate existed.
Real improvement this commit lands:
- Add a `concurrency` block at workflow level so push storms cancel
older queued runs instead of queueing for minutes. Group keyed on
`github.ref` so concurrent PR pushes serialize per-PR but parallel
to main.
Verified locally:
- `cargo fmt --all -- --check` clean
- `cargo clippy --all-targets -- -D warnings` clean
- `cargo test` reports 35 tests (26 lib + 9 integration), 0 failed
The cargo-test gate becomes a required check when branch protection
is configured to require Rust CI / Cargo test — that is a repo
settings change, not a workflow change.
Closes #9
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>1 parent 36f5932 commit 2c089a7
29 files changed
Lines changed: 455 additions & 432 deletions
File tree
- .github/workflows
- docs/decisions
- examples
- tests
- verification
- benchmarks
- coverage
- fuzzing
- proofs
- safety_case
- simulations
- tests
- traceability
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
14 | 18 | | |
15 | 19 | | |
16 | 20 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
10 | 17 | | |
11 | 18 | | |
12 | 19 | | |
13 | | - | |
14 | | - | |
15 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
16 | 23 | | |
17 | 24 | | |
18 | 25 | | |
19 | 26 | | |
20 | 27 | | |
21 | 28 | | |
22 | 29 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
28 | 37 | | |
29 | 38 | | |
30 | 39 | | |
| |||
49 | 58 | | |
50 | 59 | | |
51 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
52 | 66 | | |
53 | 67 | | |
54 | 68 | | |
55 | 69 | | |
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 | 70 | | |
83 | 71 | | |
84 | 72 | | |
85 | | - | |
| 73 | + | |
86 | 74 | | |
87 | 75 | | |
88 | 76 | | |
| |||
95 | 83 | | |
96 | 84 | | |
97 | 85 | | |
98 | | - | |
| 86 | + | |
99 | 87 | | |
100 | 88 | | |
101 | 89 | | |
102 | 90 | | |
103 | 91 | | |
104 | 92 | | |
105 | 93 | | |
106 | | - | |
107 | | - | |
| 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 | + | |
108 | 130 | | |
109 | 131 | | |
110 | 132 | | |
111 | 133 | | |
112 | | - | |
113 | | - | |
114 | | - | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
115 | 137 | | |
116 | | - | |
| 138 | + | |
117 | 139 | | |
118 | | - | |
119 | | - | |
| 140 | + | |
| 141 | + | |
120 | 142 | | |
121 | 143 | | |
122 | 144 | | |
123 | 145 | | |
| 146 | + | |
| 147 | + | |
124 | 148 | | |
| 149 | + | |
| 150 | + | |
125 | 151 | | |
126 | | - | |
127 | | - | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
128 | 155 | | |
129 | 156 | | |
130 | 157 | | |
131 | 158 | | |
132 | 159 | | |
133 | | - | |
| 160 | + | |
134 | 161 | | |
| 162 | + | |
135 | 163 | | |
136 | 164 | | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
165 | 179 | | |
166 | 180 | | |
| 181 | + | |
| 182 | + | |
167 | 183 | | |
168 | 184 | | |
169 | 185 | | |
| |||
172 | 188 | | |
173 | 189 | | |
174 | 190 | | |
175 | | - | |
| 191 | + | |
176 | 192 | | |
177 | 193 | | |
178 | 194 | | |
179 | | - | |
180 | | - | |
181 | | - | |
| 195 | + | |
| 196 | + | |
182 | 197 | | |
183 | | - | |
184 | | - | |
185 | | - | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
186 | 201 | | |
187 | 202 | | |
188 | | - | |
| 203 | + | |
| 204 | + | |
189 | 205 | | |
190 | 206 | | |
191 | 207 | | |
192 | 208 | | |
193 | 209 | | |
194 | 210 | | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
195 | 226 | | |
196 | 227 | | |
197 | 228 | | |
198 | 229 | | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
205 | 239 | | |
206 | | - | |
207 | | - | |
| 240 | + | |
| 241 | + | |
208 | 242 | | |
209 | 243 | | |
210 | 244 | | |
211 | | - | |
| 245 | + | |
| 246 | + | |
212 | 247 | | |
213 | 248 | | |
214 | | - | |
| 249 | + | |
215 | 250 | | |
216 | 251 | | |
217 | 252 | | |
218 | 253 | | |
219 | | - | |
220 | | - | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
221 | 258 | | |
222 | 259 | | |
223 | 260 | | |
| |||
0 commit comments