Commit 71ecfe4
feat: close 5 remaining beads — discovery, codegen, trust config
bd-36b: Extraction codegen now emits real dsl::extract::extract() calls
instead of placeholder values. Generated code constructs
ExtractSection structs and passes them to the extract function.
bd-1zj: Content hash codegen now emits dsl::content_hash::content_hash()
calls over extracted data. Generated code passes the extracted
HashMap and the configured 'over' field names.
bd-1kv: Generated Cargo.toml uses version-based dependency
(fingerprint = { version = "0.1.0" }) instead of path = "../.."
so compiled crates build from any directory.
bd-28w: discover_installed() scans ~/.fingerprint/definitions/ for
.fp.yaml files and wraps each in a DslFingerprint that implements
the Fingerprint trait via evaluate_named_assertions + extract +
content_hash at runtime. Wired into build_registry(). Override
scan directory with FINGERPRINT_DEFINITIONS env var.
bd-3g1: Trust allowlist loaded from ~/.fingerprint/trust.yaml (user)
and .fingerprint/trust.yaml (project). Supports wildcard
matching (e.g. "installed:*"). Refusal message now shows the
exact trust.yaml entry to add. Override with FINGERPRINT_TRUST
env var.
All 204 unit tests + all integration/smoke/golden tests pass.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 20be354 commit 71ecfe4
File tree
6 files changed
+420
-105
lines changed- .beads
- src
- compile
- registry
6 files changed
+420
-105
lines changedLarge diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
206 | | - | |
207 | | - | |
| 206 | + | |
208 | 207 | | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
214 | 229 | | |
215 | 230 | | |
216 | 231 | | |
217 | | - | |
218 | | - | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
219 | 242 | | |
220 | 243 | | |
221 | 244 | | |
222 | 245 | | |
223 | 246 | | |
224 | 247 | | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
225 | 253 | | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
230 | 257 | | |
231 | 258 | | |
232 | 259 | | |
233 | 260 | | |
234 | 261 | | |
235 | 262 | | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
236 | 279 | | |
237 | 280 | | |
238 | 281 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
413 | 413 | | |
414 | 414 | | |
415 | 415 | | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
416 | 467 | | |
417 | 468 | | |
418 | 469 | | |
| |||
436 | 487 | | |
437 | 488 | | |
438 | 489 | | |
439 | | - | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
440 | 494 | | |
441 | 495 | | |
442 | | - | |
| 496 | + | |
443 | 497 | | |
444 | 498 | | |
445 | 499 | | |
| |||
459 | 513 | | |
460 | 514 | | |
461 | 515 | | |
462 | | - | |
463 | | - | |
464 | | - | |
465 | | - | |
466 | | - | |
467 | | - | |
468 | | - | |
469 | | - | |
470 | | - | |
471 | | - | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
472 | 532 | | |
473 | 533 | | |
474 | 534 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
232 | | - | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
233 | 239 | | |
234 | 240 | | |
235 | 241 | | |
| |||
0 commit comments