/projectstore:statusfrom projectstore
Displays the current projectstore vault state: binding status, layout, active stories with breakdown, view freshness, and active sessions. Suggests next commands based on state.
Ships in projectstore. Installing the plugin adds it to Claude Code.
You are summarizing the projectstore binding and the vault's state through the core's status verb (roadmap A8: the command renders the verb's facts; nothing here counts, lists or greps the vault by hand).
Steps:
Run:
node "${CLAUDE_PLUGIN_ROOT}/bin/projectstore.mjs" status --json
The project resolves from the session's project directory; do not pass --project. status runs unbound: if result.bound is false, output "No vault bound. Run /projectstore:bind <vault-path> first." and stop.
Print from result: vault_path (mark vault_exists: false as missing), layout, language, auto_inject, approval_mode, spec_policy, lifecycle_gates. If vault_exists is false, the remaining fields are null — stop here with "The bound vault directory is missing — restore it, or rebind with /projectstore:bind <vault-path>."
Stories from result.stories: total on the board with the by_status breakdown on one line ("Stories: 72 — done 44, in_progress 3, planned 25"); if off_board_total is non-zero, add how many stories the board leaves off and why (off_board, e.g. not_actionable 2). Then the in-progress list — in_progress[] carries epic, title, path, started_at; in_progress_total says whether the list (capped at 5) is complete. If stories.status is "error", print its error instead.
Views from result.views: one line, kanban, code_map, graph each as fresh / stale / missing / unknown (stale is true, false, or null when the view's mtime could not be read; it compares the view's mtime with the newest artifact's). A stale or missing view is the cue for step 6.
Active sessions from result.sessions: active is the count within the last 30 minutes; entries[] (capped at 5) carry id, project_root, started_at, last_active — print them as a compact table. From inside a slash command you cannot tell which entry is the current session (Claude's session_id reaches hooks, not commands); the user can match by project_root and timestamps. If active is greater than 1: warn "⚠️ Coordinate via /projectstore:search before creating new artifacts to avoid topic collisions (identity is the slug — ADR-010; the draft's collision field catches clashes at creation time)."
Suggest the next command from what you saw: stories.total is 0 → "No stories yet — /projectstore:epic <ID> "<title>" opens the first epic" (a vault init made has its folders; /projectstore:scaffold is for one bound without them, and its plan says which are missing); any view stale or missing → "Stale views — try /projectstore:reconcile"; something in progress → name it and suggest /projectstore:story to continue. Whenever stories.total is above 0, also suggest picking the next task with next, which lists the user's started work first and new work only while they are under their WIP limit, and writes nothing:
node "${CLAUDE_PLUGIN_ROOT}/bin/projectstore.mjs" next --project "${CLAUDE_PROJECT_DIR}"
What this command no longer does, and why: the former ls/find -mtime -7 walk of recently touched files is gone — its failure mode is a false "nothing changed" (an iCloud download or a git checkout resets mtimes), the opposite of the views' stale flag, whose false positive only costs a reconcile. The in-progress list and the views' freshness answer the same question from artifact facts. The former layout-folder check (ls the vault, mark missing folders) is doctor --vault's job and orientation's skeleton shows the folders that exist; it is not repeated here.
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub smartandpoint/projectstore --plugin projectstore25 commands in this plugin
/adrCreate a new Architecture Decision Record (ADR) in the bound vault./agents`register` — write the managed routing blockManage bundled-agent integration in this project — register/unregister the routing block in CLAUDE.md/AGENTS.md, inspect state, or configure which model each of its agents runs on and at what effort./barstatus — read-onlyThe band above the prompt — this session's epic, its progress, its story and its ProjectStore agents. Switch it on or off, pin an epic for sessions with none, or ask why it is not drawing./bindBind this project to an Obsidian vault (or any markdown directory) where projectstore will record artifacts./codemapBare `codemap` — regenerate the viewRegenerate code-map.md (epic ↔ code overview) from frontmatter code_refs, or set an artifact's code_refs. This command and a story's close write refs — planner/reviewer only propose them./conceptCreate a new concept note (definition, mental model, glossary entry).Other plugins' commands for the same job