/bureau:inspect [--workspace <name>]from bureau
Builds the offline gazette from a bureau workspace using the bundled press renderer and opens it for inspection. Accepts optional --workspace flag.
Ships in bureau. Installing the plugin adds it to Claude Code.
Render the workspace (cabinets + logbook) into a navigable offline gazette — the board you
read — with the bundled press (bureau's renderer), and open it. The press ships inside this
plugin (${CLAUDE_PLUGIN_ROOT}/press/), so there is nothing else to install.
Locate the workspace. Use --workspace <name> if given; else look for a directory
with a bureau.json (the single */bureau.json at the repo root). Validate the name as a safe
path segment (^[A-Za-z0-9._-]+$, not ./..). If none is found, tell the user to run
bureau:init first.
Read + validate config. From <workspace>/bureau.json read board (default gazette)
and validate it as a safe single path segment — reject ../absolute paths so output can't
escape the repo. Then resolve the board path: <workspace>/<board> when the workspace is
named bureau (the contained layout — the one case where the board lives inside the
workspace; the press skips that child as content), else <board> at the repo root. The press's
guardOutDir enforces the same rule — any other overlap with the workspace is refused.
Build with the bundled press — passing each argument separately (no shell string interpolation):
node "${CLAUDE_PLUGIN_ROOT}/press/bin/gazette.mjs" build --dir <workspace> --out <board-path>
The press is a self-contained Node bundle (no node_modules, Node ≥18). Report the dossier
count from the build output.
Findings. The build prints COUNTS only. For the detailed structural findings (which
dangling link, which orphan, which contradiction), run
node "${CLAUDE_PLUGIN_ROOT}/press/bin/gazette.mjs" health --dir <workspace> and surface
those. (Semantic findings are a separate concern — bureau:lint.)
Open. Open <board-path>/index.html (the gazette), or print the path if no opener is
available.
bureau:inspect builds a one-shot snapshot. For a live board that hot-reloads and paints
dependency freshness (needs-review/stale badges) as you edit, use bureau:serve. To render a
past board, diff two versions, or pin a snapshot, use bureau:snapshot.bureau:lint.scripts/build-gazette.mjs (regenerated from the
renderer source); it is not a separate install.What the command file sets; muted values are Claude Code's defaults
gazette, offline-rendering, workspace-inspection, board-preview, bureau
7-day visitors to each command page
npx claudepluginhub xiaolai/bureau --plugin bureau18 commands in this plugin
/adrbureau:adrRecord an architecture decision — scaffold a proposed MADR ADR page (auto-numbered, optionally superseding a prior one) into the canon. Authors only; a human approves it via bureau:review. Use when the user asks to write or record an ADR or an architecture decision, or to supersede a prior decision./approve-allbureau:approve-allBulk-approve the review backlog as canonical — preview it, then hand the user the one `--by human` line to run. Use when the user asks to approve everything, approve the whole queue, or bulk-approve at once./codex-reviewbureau:codex-reviewLet Codex (via cc-suite) deliberate over the bureau review queue as your representative — it reads each unapproved claim and recommends approve or hold, then either hands you the exact approve command (advisor, default) or, only where the workspace opted in, commits under its own `codex` authority (delegate). Use when the user asks to have Codex screen, pre-review, or decide the bureau backlog for them./compilebureau:compileDistil minutes into consistency-checked dossiers (the canon), with provenance back to each session. Use when the user asks to turn the logbook into canon, update the cabinets, or build the knowledge base from sessions./crewbureau:crewManage bureau's crew — list, enable, or author specialized agents that work the canon./cyclebureau:cycle — the full lifecycle in one passRun the full bureau maintenance lifecycle in one pass — compile pending minutes into dossiers, scan the recursion engine for changed claims, lint for consistency, surface everything that needs human review (by trust tier AND freshness), and rebuild the gazette. Use when running bureau:cycle, or when the user asks to "run the whole pipeline", "bring the canon up to date", "process everything", or do an end-to-end maintenance pass.Other plugins' commands for the same job