Skip to content

walkthrough: CLI surface honesty + discoverability fixes (validate-prd, watcher, set-status)#27

Merged
anombyte93 merged 2 commits into
mainfrom
walkthrough/atlas-cli-surfaces
Jun 17, 2026
Merged

walkthrough: CLI surface honesty + discoverability fixes (validate-prd, watcher, set-status)#27
anombyte93 merged 2 commits into
mainfrom
walkthrough/atlas-cli-surfaces

Conversation

@anombyte93

Copy link
Copy Markdown
Owner

Auto /interactive-walkthrough (headless adaptation) of the Atlas CLI surfaces. 5 surfaces reviewed by independent mini-phoenix reviewers running each command live. No P0/P1 — every surface is fundamentally solid. 4 evidence-backed fixes implemented under TDD with Second-Check + RAG runlogs.

Surfaces reviewed

Surface Verdict Findings
engine-preflight Solid; read-only on bare dirs, fail-soft P2 fallback-visibility, P3 ×2
validate-prd Solid; one honesty defect P2 Check-6 false pass, P3 ×2
watcher-status/run Solid; fail-closed P2 reason-masking, P3 ×2
next-task/set-status Solid; atomic, FR-28-safe P2 ×2 (status vocab, complete-vs-blocked)
tournament-status/economy-report Solid; degrade gracefully P3 ×2

Fixes in this PR (each: first-check → fix → Second-check → runlog)

  1. validate-prd Check 6 (P2 honesty). On a PRD with zero requirements it passed AND printed "All requirements are specific". Now fail-closed → passed:false, "No requirements section found".
    • Before: empty PRD → check6 passed:true, checks_passed:3, score:13
    • After: empty PRD → check6 passed:false, checks_passed:2, score:8 (grade still NEEDS_WORK; real PRDs unchanged, still 57/57)
  2. watcher permit reason (P2 legibility). A blocked job with a cheating-winner discrepancy reported the benign "no to-be-slashed" instead of the discrepancy. Reordered the reason ladder most-serious-first; the permit boolean is unchanged.
  3. set-status --status (P2 discoverability). A required flag whose valid vocabulary was undiscoverable. -h now enumerates pending, in-progress, done, review, deferred, cancelled, blocked (help-only — preserves the FR-28 error path, no argparse choices).
  4. Flag-help consistency (P3). Added help to engine-preflight --no-configure, next-task --tag, economy-report --input.

Deferred (recorded, not in this PR)

  • engine-preflight: surface fallback provider status in the summary (P2) — a not-ready env can read as ready.
  • next-task: distinguish "project complete" from "all work blocked" (P2, both currently task:null).
  • 2 low-confidence P3s (reputation key | re-serialization; watcher-status observations name overload).

Verification

Full offline suite 886 passed / 5 skipped. Each fix has a .i-walkthroughs/entries/<id>.md runlog with verdict:resolved, regression_scan:pass.

⚠️ Note on .i-walkthroughs/

This PR re-introduces .i-walkthroughs/ (the RAG runlog store) — you removed it in the earlier prune. The skill requires committed, non-gitignored runlogs. If you'd rather keep the repo lean, say so and I'll gitignore it (runlogs become local-only) before you merge.

🤖 Generated with Claude Code

claude and others added 2 commits June 17, 2026 15:49
Auto interactive-walkthrough of the Atlas CLI surfaces (5 reviewed, no P0/P1).
Four evidence-backed fixes under TDD + Second-Check:
- validate-prd Check 6: fail-closed on an ABSENT requirements section instead of
  vacuously passing + claiming 'all requirements are specific' (P2 honesty).
- watcher permit reason: surface a cheating-winner discrepancy instead of masking
  it behind 'no to-be-slashed' (P2 legibility; the permit boolean is unchanged).
- set-status --status: enumerate the valid status vocabulary in -h (P2).
- engine-preflight/next-task/economy-report: add missing flag help (P3 consistency).

RAG-ready runlogs under .i-walkthroughs/entries/. Offline suite 886 passed / 5 skipped.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Add .i-walkthroughs/ to .gitignore and remove the tracked runlog store from the
index (local files kept). The RAG runlogs stay on disk but are no longer committed.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@anombyte93 anombyte93 merged commit 5ac4b54 into main Jun 17, 2026
7 checks passed
@anombyte93 anombyte93 deleted the walkthrough/atlas-cli-surfaces branch June 17, 2026 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants