Commit fc56afa
Green test suite; harden CI workflows; academic + wiki → AsciiDoc (#53)
* fix: resolve the remaining doc-generator and incremental-lexer test failures
- doc_generator: locate declaration line numbers by scanning the source (the
AST carries none), so doc comments above CONST/POLICY declarations are found;
capture only the contiguous comment block; populate constant examples from the
signature; and list constant/policy names in the generated HTML index.
- incremental_lexer: snap the re-lex window back to the start of its line, so an
edit inside a comment (which yields no token) re-lexes the whole line instead
of a mid-line fragment that was misread as identifiers.
- fixtures: documented_policy.phr gains a multi-line policy comment and the
lower-case "risk threshold" wording the tests assert; sample.phr is rewritten
to valid syntax (it previously used unimplemented list-literal syntax).
Net: the local ExUnit suite is now fully green (460 tests, 0 failures; 4 skipped
ra/consensus tests).
Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AqMopxUsgu78rg5fhWBUkk
* ci: harden secret-scanner and scorecard workflows (Hypatia findings)
- secret-scanner: pin trufflesecurity/trufflehog to a release SHA (v3.95.6) and
add the missing timeout-minutes to the trufflehog job.
- scorecard-enforcer: move the score-gate run step into its own job so the
publish job (which holds the OIDC id-token) contains no custom run steps; the
SARIF is handed between jobs via an artifact.
codeql.yml already uses `language: actions`, so that Hypatia finding is stale;
the binary_to_term finding is a false positive (compiler.ex already passes :safe).
Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AqMopxUsgu78rg5fhWBUkk
* docs: convert academic/ and wiki/ corpora to AsciiDoc (CC-BY-SA-4.0)
Convert the academic proof corpus (31 files) and the wiki (19 pages) from
Markdown to AsciiDoc per the estate "docs must be .adoc" policy, licensed
CC-BY-SA-4.0 (via pandoc):
- LaTeX math is preserved as [latexmath] blocks; the white-paper sets
":stem: latexmath" so it renders under asciidoctor.
- stray in-body "SPDX-License-Identifier: MPL-2.0" lines from the old headers are
removed (superseded by the new CC-BY-SA-4.0 header).
- intra-wiki cross-links are repointed from .md to .adoc.
Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AqMopxUsgu78rg5fhWBUkk
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent 1f02f3c commit fc56afa
70 files changed
Lines changed: 15563 additions & 12338 deletions
File tree
- .github/workflows
- academic
- papers
- proofs
- abstract-interpretation
- algebraic-semantics
- automata-theory
- axiomatic-semantics
- category-theory
- complexity-theory
- concurrency-theory
- cryptography
- domain-theory
- game-theory
- graph-theory
- information-theory
- lattice-theory
- model-theory
- number-theory
- operational-semantics
- order-theory
- probabilistic-analysis
- proof-theory
- protocol-verification
- real-analysis
- separation-logic
- set-theory
- temporal-logic
- type-theory
- examples
- lib/phronesis
- wiki
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 | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
40 | 59 | | |
41 | 60 | | |
42 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
24 | | - | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
6 | 5 | | |
7 | | - | |
8 | 6 | | |
9 | 7 | | |
10 | 8 | | |
11 | | - | |
| 9 | + | |
12 | 10 | | |
13 | | - | |
| 11 | + | |
14 | 12 | | |
15 | 13 | | |
16 | 14 | | |
17 | | - | |
| 15 | + | |
18 | 16 | | |
19 | | - | |
| 17 | + | |
20 | 18 | | |
21 | | - | |
| 19 | + | |
22 | 20 | | |
23 | 21 | | |
24 | 22 | | |
| |||
113 | 111 | | |
114 | 112 | | |
115 | 113 | | |
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 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
| 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 | + | |
| 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 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
158 | 203 | | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | 204 | | |
193 | | - | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
194 | 208 | | |
195 | 209 | | |
196 | 210 | | |
| |||
199 | 213 | | |
200 | 214 | | |
201 | 215 | | |
202 | | - | |
| 216 | + | |
203 | 217 | | |
204 | | - | |
205 | | - | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
206 | 222 | | |
207 | 223 | | |
208 | | - | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
209 | 227 | | |
210 | | - | |
211 | | - | |
| 228 | + | |
| 229 | + | |
212 | 230 | | |
213 | | - | |
| 231 | + | |
214 | 232 | | |
215 | | - | |
| 233 | + | |
216 | 234 | | |
217 | | - | |
| 235 | + | |
218 | 236 | | |
219 | | - | |
220 | | - | |
| 237 | + | |
| 238 | + | |
221 | 239 | | |
222 | | - | |
| 240 | + | |
223 | 241 | | |
224 | | - | |
| 242 | + | |
225 | 243 | | |
226 | | - | |
| 244 | + | |
| 245 | + | |
227 | 246 | | |
228 | 247 | | |
229 | 248 | | |
230 | 249 | | |
231 | 250 | | |
232 | 251 | | |
233 | 252 | | |
234 | | - | |
| 253 | + | |
235 | 254 | | |
236 | | - | |
| 255 | + | |
237 | 256 | | |
238 | | - | |
| 257 | + | |
239 | 258 | | |
240 | 259 | | |
241 | 260 | | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
247 | 267 | | |
248 | | - | |
| 268 | + | |
249 | 269 | | |
250 | | - | |
| 270 | + | |
251 | 271 | | |
252 | 272 | | |
253 | 273 | | |
0 commit comments