idstack
idstack copied to clipboard
idstack-status: the dashboard and the readiness table read different data
Found in the documentation audit (savvides/idstack#169). docs/cli-reference.md states the current behaviour; update it with the fix.
Two differences in scripts/idstack-status:
- The dashboard reads only the last 200 lines of
.idstack/timeline.jsonl(readlines()[-200:], line 56). The readiness table reads all lines (line 266). In a long project the dashboard can show a skill as not completed while the readiness table shows it as run. - The readiness table takes skill completion from the timeline and scores from the manifest (lines 276-289). When the timeline has a
completedquality review with score 72 and the manifest still hasquality_review.overall_score0, the table showsNEEDS-WORK Score: 0/100while the dashboard trend shows 72. This occurs when a skill logs its timeline event but its manifest write fails or is skipped.
Proposed: read the full timeline in both places (or the same window), and in the readiness table show a row as NOT RUN or a clear mismatch message when the timeline and the manifest disagree. Add tests in test/test-status.sh.