- Orphan documents: {count} (docs without GitHub issues)
- Orphan issues: {count} (issues without linked docs)
- Broken links:
{If orphans exist:}
Orphan Documents (no GitHub issues):
- {PRD-001}: {title}
- {PRP-003}: {title}
Orphan GitHub Issues (no linked docs):
- #{N}:
- #{M}:
Structure:
✅ docs/blueprint/manifest.json
{✅|❌} docs/prds/
{✅|❌} docs/adrs/
{✅|❌} docs/prps/
{✅|❌} docs/blueprint/work-orders/
{✅|❌} docs/blueprint/ai_docs/
{✅|❌} docs/blueprint/feature-tracker.json
{✅|❌} .claude/rules/
{✅|❌} CLAUDE.md
{If upgrade available:}
Upgrade available: v{current} → v{latest}
Run /blueprint:upgrade to upgrade.
{If modified generated content:}
Modified content detected: {count} files
Run /blueprint:sync to review changes.
Run /blueprint:promote [name] to move to custom layer.
{If stale generated content:}
Stale content detected: {count} files (PRDs changed since generation)
Run /blueprint:generate-skills to regenerate.
{If up to date:}
Blueprint is up to date.
Additional checks
:
Warn if any tasks are overdue (e.g., "3 maintenance tasks overdue - run
/blueprint:execute
to catch up")
Warn if feature-tracker.json is stale (> 1 day since last update)
Warn if PRDs exist but no generated rules
Warn if modular rules enabled but
.claude/rules/
is empty
Warn if generated content is modified or stale
Warn if feature-tracker.json is older than 7 days (needs sync)
Warn if TODO.md has been modified since last sync
Warn if ADRs have potential issues:
Multiple "Accepted" ADRs in same domain (potential conflict)
ADRs without domain tags (harder to detect conflicts)
Missing bidirectional links (e.g., supersedes without corresponding superseded_by)
Traceability checks
:
Warn if documents exist without IDs (run
/blueprint:sync-ids
)
Warn if orphan documents exist (docs without GitHub issues)
Warn if orphan issues exist (GitHub issues without linked docs)
Warn if broken links detected (referenced docs/issues don't exist)
If
--report-only
Output the status report from Steps 5-6 and exit. Skip the interactive prompt below.
Prompt for next action
(use AskUserQuestion):
Build options dynamically based on state:
If upgrade available → Include "Upgrade to v{latest}"
If modified content → Include "Sync generated content"
If stale content → Include "Regenerate skills"
If PRDs exist but no generated skills → Include "Generate skills from PRDs"
If skills exist but no commands → Include "Generate workflow commands"
If CLAUDE.md stale → Include "Update CLAUDE.md"
If feature tracker exists but stale → Include "Sync feature tracker"
If ADRs have potential issues → Include "Validate ADRs"
If documents without IDs → Include "Sync document IDs"
If orphan documents/issues → Include "Link documents to GitHub"
If overdue tasks exist → Include "Run overdue maintenance tasks"
Always include "Continue development" and "I'm done"
question: "What would you like to do?"
options:
Dynamic - include based on state detected above
label: "Upgrade to v{latest}" (if upgrade available)
description: "Upgrade blueprint format to latest version"
label: "Continue development"
description: "Run /project:continue to work on next task"
label: "I'm done for now"
description: "Exit status check"
Based on selection:
"Upgrade" → Run
/blueprint:upgrade
"Sync" → Run
/blueprint:sync
"Regenerate" → Run
/blueprint:generate-rules
"Generate rules" → Run
/blueprint:generate-rules
"Update CLAUDE.md" → Run
/blueprint:claude-md
"Sync feature tracker" → Run
/blueprint:feature-tracker-sync
"Validate ADRs" → Run
/blueprint:adr-validate
"Sync document IDs" → Run
/blueprint:sync-ids
"Link documents to GitHub" → For each orphan, prompt to create/link issue
"Run overdue tasks" → Run
/blueprint:execute
for overdue tasks
"Continue development" → Run
/project:continue
"I'm done" → Exit
Example Output
:
Blueprint Status
Version: v3.0.0
Initialized: 2024-01-10T09:00:00Z
Last Updated: 2024-01-15T14:30:00Z
Project Configuration:
Phases: 1 active, 2 complete
Task Health:
derive-prd last: 2d ago schedule: on-demand status: ok
derive-plans last: 5d ago schedule: weekly status: due
derive-rules last: 3d ago schedule: weekly status: ok
generate-rules last: 1d ago schedule: on-change status: ok
adr-validate last: 4d ago schedule: weekly status: ok
feature-tracker-sync last: 3d ago schedule: daily status: overdue
sync-ids last: 3d ago schedule: on-change status: ok
claude-md last: 2d ago schedule: on-change status: ok
curate-docs disabled
Traceability (ID Registry):