Commit 24a8105
feat(echidnabot): add inline-claim mode (A5)
ProofObligationInput gains optional `inline: Bool` flag. When true, the
obligation's claim text IS the proof content: process_job short-circuits
before clone_repo, fetches the obligation, and calls echidna.verify_proof
directly with the claim. No git clone, no file walk.
Sentinel `inline:<obligation_id>` distinguishes inline jobs from the
legacy `obligation:<id>` clone path in ProofJob.file_paths.
Tested end-to-end:
provable claim → success=1, duration=1ms, "Inline proof verified"
unsat claim → success=0, duration=20ms, "Inline proof verification failed"
Unblocks batch drivers and test harnesses that hold proofs in-memory.
Useful for the Phase E playground (nesy-solver.dev) where users submit
ad-hoc SMT-LIB/Lean/Coq without any repo context.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 55fa9ef commit 24a8105
2 files changed
Lines changed: 49 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
293 | 299 | | |
294 | 300 | | |
295 | 301 | | |
| |||
468 | 474 | | |
469 | 475 | | |
470 | 476 | | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
471 | 484 | | |
472 | 485 | | |
473 | 486 | | |
474 | 487 | | |
475 | | - | |
| 488 | + | |
476 | 489 | | |
477 | 490 | | |
478 | 491 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
533 | 533 | | |
534 | 534 | | |
535 | 535 | | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
536 | 571 | | |
537 | 572 | | |
538 | 573 | | |
| |||
0 commit comments