Commit ddf74e5
Address third-round PR review (comments + doc)
- `listItemsByStage`: the "also surface slugs absent from the index"
clause in the comment was never actually implemented — the loop only
iterates index-known slugs. Rewrote the comment to describe what the
code does; callers needing orphan-detection can scan the items dir.
- `getItemStage`: added a comment explaining why the staleness guard
(used elsewhere for ralph suppression) deliberately doesn't apply
here. The last stage the agent wrote is still the correct stage even
if the process later crashed — nothing auto-reverts, so no staleness
check is appropriate.
Skipping the sync-I/O-in-useMemo concern (pre-existing, separate
project) and the ROWS_PER_ITEM=4 interaction with the 4-line selected
card (acceptable UX trade-off for showing the full 200-char
brief_description).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 68be7fc commit ddf74e5
1 file changed
Lines changed: 9 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
595 | 595 | | |
596 | 596 | | |
597 | 597 | | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
598 | 602 | | |
599 | 603 | | |
600 | 604 | | |
| |||
605 | 609 | | |
606 | 610 | | |
607 | 611 | | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
608 | 616 | | |
609 | 617 | | |
610 | 618 | | |
611 | | - | |
612 | | - | |
613 | | - | |
614 | | - | |
615 | | - | |
616 | | - | |
| 619 | + | |
617 | 620 | | |
618 | 621 | | |
619 | 622 | | |
| |||
0 commit comments