By xiaolai
bureau — turn AI sessions into a maintained, human-reviewed knowledge base, by xiaolai
Trending marketplaces
7-day visitors to each marketplace page
npx claudepluginhub xiaolai/bureauTurn AI sessions into a maintained, inspectable canon. Capture each session to append-only logbooks, compile them into a consistency-checked knowledge base (cabinets) gated by a human review tier, and render it as a navigable offline gazette (built by the bundled press). A typed review queue (gazette review) orders the backlog upstream-first and names the exact action per page (approve / reapprove / confirm / resolve / repair); a human applies decisions one at a time or as a reviewed, content-bound, commit-gated batch (approve --from a JSON manifest, or --all with a warning). Record architecture decisions as MADR ADR pages (bureau:adr) with typed supersedes edges — a superseded decision leaves current fact only once the superseding ADR is content-bound approved (ADR-0006). Delegate the review queue to Codex as your representative (bureau:codex-review): it recommends approve/hold, and where a workspace opts the codex authority into trust_policy it commits under --by codex — an honest machine authority, never a human one (ADR-0007). Bulk-approve the whole backlog in one confirmation (bureau:approve-all): the AI shows the batch and confirms, then hands you the single --by human line to fire yourself — it never signs for you. A deterministic recursion engine tracks claim-level dependencies (rests_on + author-anchored spans): an append-only decision log is the source of truth, per-span revisions drive an early-cutoff gate that flags downstream pages when an upstream claim changes, and fsck rebuilds all derived state to a byte-fixpoint. A live Engine view (serve) paints three signals onto the board as you edit — dependency freshness (needs-review/stale), artifact currency (a verified file that drifted out from under a claim), and a convergence trend (is the canon settling or thrashing) — and git-backed versioning renders any past board (build --at), diffs two versions from the decision-log slice (diff), and pins named snapshots. Karpathy LLM-wiki pattern + session provenance. Self-contained — no separate install.
Turn AI sessions into a maintained, human-reviewed, dependency-aware canon.
Every AI session is an unrecorded meeting; natural-language docs drift, go stale, and contradict each other. bureau turns sessions into memory you can trust:
canonical. AI-written claims are never fact until you approve them — memory
works like version control, not a notepad the AI scribbles in.rests_on + author-anchored
^spans), and a deterministic recursion engine flags every downstream page when an upstream
claim changes — a hash gate decides cheaply whether it actually changed, a human decides whether
it matters, and the verdict is memoized. No more silent staleness.query answers from the canon, citing each claim's trust
tier and its freshness, refusing to state an unverified or stale one as fact. BUREAU.md —
written by init at your repo root and imported from the project instruction file — makes every AI session honor
those rules, so the gate governs all work, not just bureau commands.serve) that lights up as you edit: page↔page freshness,
claim↔file artifact currency (a verified file that drifted), and the convergence trend, all in
one place — plus git-backed versioning to render any past board, diff two versions, and pin
named snapshots.This is the Karpathy LLM-wiki pattern
(LLM as compiler, not retriever) plus session provenance, a review gate, an always-on BUREAU.md
instruction, and a deterministic dependency gate — so the canon is current, traceable, trusted,
and self-maintaining.
New here? Start with the docs — a User Guide with a 60-second quickstart, and a guide to the recursion engine.
The cabinets double as repo memory, and no AI claim is recalled as fact until a human approves it. State is two independent axes:
Trust (who vouches) — the AI writes only proposed/verified; canonical is a projection of a
logged human approval, never the frontmatter alone:
| trust | means | who writes it |
|---|---|---|
proposed | AI claim, unchecked | capture / compile |
verified | checked against the repo | compile (automatic) |
canonical | a human approved it | bureau:review only |
Freshness (does it still hold) — derived by the gate, orthogonal to trust. A page can be
canonical and stale at once:
| freshness | means |
|---|---|
current | every upstream claim it rests on is unchanged since last confirmed |
needs-review | it sits on an upstream claim that changed |
stale | a dependency is broken (target/span gone) |
(Plus contested/resolved for conflicts, a freeze change-priority hint, and superseded — an
approved decision a later approved one replaced, kept as history, not current fact.) The tier +
freshness travel with every recalled claim, so an unverified or stale claim can never masquerade as fact.
| role | |
|---|---|
| bureau (this plugin) | the engine: capture · compile · review · lint, plus the recursion engine (scan · gate · fsck) and the versioned board |
press (press/, bundled inside bureau) | builds the gazette + runs the structural checks + the recursion engine (deterministic, no LLM) |
canon/ (in your repo) | your data: cabinet drawers + the logbook/ drawer + the decision log |
bureau/ (in your repo) | bureau's control dir (the crew) — reserved, never rendered |
the press is a self-contained Node bundle vendored into the plugin (press/bin/gazette.mjs, no
node_modules). bureau runs it directly — there is no separate install. The bundle is
regenerated from the renderer source by scripts/build-gazette.mjs.
7-day visitors to each marketplace page
Knowledge graph and codebase architecture intelligence for AI coding assistants
RuFlo Marketplace: Claude Code native agents, swarms, workers, and MCP tools for continuous software engineering
Context7 plugins for coding agents.