Commit faaf935
committed
address review (claude): declare canon source on chekhov + wire finalPart on premature-reveal
Two contract fixes surfaced in local review:
- chekhov.setups-payoffs now reads ctx.canon (reveal-gated payoffs), so
'canon' must be in its `sources` or an obsolete orphaned-payoff finding
never goes stale after the reveal gate is edited away.
- continuity.premature-reveal's buildVars never set finalPart, so the
shipped prompt always rendered the "reading in PARTS" branch — even on a
single-chunk whole-book run that has no setup digest. Mirror the sibling
checks' meta.isFinal wiring.1 parent f37149e commit faaf935
2 files changed
Lines changed: 19 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
797 | 797 | | |
798 | 798 | | |
799 | 799 | | |
800 | | - | |
| 800 | + | |
801 | 801 | | |
802 | 802 | | |
803 | 803 | | |
804 | 804 | | |
805 | | - | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
806 | 808 | | |
807 | 809 | | |
808 | 810 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
393 | 393 | | |
394 | 394 | | |
395 | 395 | | |
396 | | - | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
397 | 402 | | |
398 | 403 | | |
399 | 404 | | |
| |||
528 | 533 | | |
529 | 534 | | |
530 | 535 | | |
531 | | - | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
532 | 545 | | |
533 | 546 | | |
534 | 547 | | |
| |||
0 commit comments