Skip to content

Your first governance session

Install the governance pack and record one reviewed architecture decision through its confirmation gate.

What you’ll build: A confirmed ADR file in this tutorial’s selected docs/adr/ fallback, recorded through the new-adr skill’s destination and preview-confirm write gates. Prerequisites: agentbundle on PATH, a repo with compatible core installed, and write access to the decision-record destination you confirm. Time: About fifteen minutes.

In fifteen minutes you’ll install the governance-extras pack, use new-adr to record one architectural decision, and see the preview-confirm write gate in action — the step where you read exactly what will land in your repo and where, before confirming the write.

Use the new-adr skill to record our decision to use TOML for workspace coordination.

This is a tutorial — it leads. For the full new-adr procedure, see How to record a decision (ADR). For new-rfc, see How to propose a change (RFC).

  • agentbundle on your PATH. The install agentbundle guide covers the one-time setup.
  • A repo you can work in. This tutorial deliberately accepts docs/adr/ when Core offers the catalogue fallback; if your repository declares a custom decision-record location, use that location instead.
  • The core pack installed at repo scope. governance-extras depends on it; the installer will tell you if it’s missing.

Step 1 — Install governance-extras at repo scope

Section titled “Step 1 — Install governance-extras at repo scope”

Open your agent (Claude Code or equivalent) in the repo you’ll work in, then run:

Terminal window
agentbundle install --pack governance-extras --scope repo

The pack lands in your agent’s skills directory with three skills: new-adr, new-rfc, and rfc-status.

You should see a confirmation that three skills installed. A seeded docs/adr/README.md is only a fallback candidate; it does not override adopter policy or an established custom decision-record destination.

In your agent, ask:

run rfc-status

You should see the RFC lifecycle states listed — Draft, Open, Final Comment Period, Accepted, Rejected, Withdrawn, Experimental, Superseded — and a count of any RFCs in docs/rfc/. If docs/rfc/ is empty, the skill says so cleanly.

If this step fails, see Recovery below.

Copy this prompt exactly and paste it into your agent:

Create an ADR for the decision to use TOML as the format for our workspace coordination file.

The new-adr skill activates. It checks the three preconditions for a valid ADR — architecture-not-feature, decided-not-debated, real-tradeoff — and confirms this decision qualifies.

You should see the skill acknowledge the request and begin framing the decision.

The skill may offer a short decision frame before drafting: the decision restated in one sentence, the problem it resolves, the alternatives considered (YAML, JSON, INI/dotenv), and the driver that made TOML the right choice.

You should see something like:

Decision: Use TOML as the format for the workspace coordination file (workspace.toml). Problem: The workspace coordination file needs a structured format that supports nested sections, comments, and typed values without a schema validator. Driver: TOML’s native support for sections, inline tables, and comments outweighs the marginal familiarity benefit of YAML — which loses comments on round-trip — or JSON — which has no comment syntax. Alternatives: YAML (comments lost on round-trip), JSON (no comment syntax), INI (no nested structure).

If the frame doesn’t match your intent, correct it now. You can say “the driver should say…” or “we also considered XML.” The skill reworks the frame before drafting anything.

The skill presents the full ADR draft before writing anything. You’ll see the title, the Context section with constraints, the Decision section with a single declarative sentence, Consequences with honest tradeoffs, and Alternatives with rejection reasons.

This is the content preview. Read every section before confirming. If anything looks wrong — a hand-wavy Consequences section, an alternative missing its rejection reason — say so and the skill revises.

You should see a complete, structured ADR in your conversation before any file is written to disk.

Before selecting the ordinal, the skill resolves decision-record. For this tutorial, confirm the offered docs/adr/ fallback; a custom repository location would win. The skill then names the file it will create before it creates it:

I’ll write this to docs/adr/0001-workspace-coordination-file-format-toml.md (or the next sequential number if you have existing ADRs) and add a row to docs/adr/README.md.

This is the target path preview. You know exactly which file will be created and where it will land. If the path is wrong — you wanted a different directory, or the numbering is off — say so now.

You have three options at this point:

Confirm: Say “looks good”, “write it”, “go ahead”, or simply “yes”.

The skill writes the ADR file and updates the resolved destination’s sibling index—docs/adr/README.md for this tutorial. Nothing was written until this moment.


Stop: Say “cancel”, “don’t write it”, “stop”, or close the conversation.

Nothing is written. The draft exists only in the conversation history. You can start a new session and try again with a revised prompt.


Revise: Say what you’d like changed before confirming — “remove the Decision summary”, “the Context section should mention our team’s YAML fatigue”, “change the Revisit if trigger to say…”.

The skill updates the draft and shows it to you again. Confirm when you’re satisfied.

After confirming, open the file and check the index:

Terminal window
cat docs/adr/0001-workspace-coordination-file-format-toml.md
cat docs/adr/README.md

You should see the ADR you reviewed in Step 5, at the path named in Step 6, with a new row in the index.

To commit:

Terminal window
git add docs/adr/
git commit -m "docs(adr): record decision to use TOML for workspace coordination file"

Verification fails in Step 2. Confirm governance-extras is installed at repo scope (confirm the rfc-status skill is present in your agent’s skills directory). If the directory is absent, re-run the install. Also confirm docs/rfc/ exists — the skill expects it; the seed creates it on install, but if the install was partial you may need to re-run.

Wrong path shown in Step 6. Say “cancel” before confirming. The skill stops. Re-run with a corrected prompt if needed.

You confirmed but want to undo. The ADR is a plain markdown file. Before committing, delete it and revert the index update:

Terminal window
rm docs/adr/0001-workspace-coordination-file-format-toml.md
git checkout -- docs/adr/README.md

Then start a new session with a revised prompt.

The skill pushes back on the starter prompt. The new-adr skill enforces three preconditions. If it says the decision is “still being debated,” use new-rfc instead (see How to propose a change). If it says the prompt describes a feature’s internals rather than an architectural call, adjust the framing to name the cross-cutting structural choice.

You installed governance-extras, verified it, invoked new-adr with the starter prompt, read the decision frame, reviewed the full ADR content and target path, and confirmed the write. You now know where the file lands, what it contains, and how to stop the write at any point before confirming.

The pack ships two more skills — new-rfc (for proposals whose direction is still open) and rfc-status (for scanning the RFC registry).

You have a reviewed ADR at the confirmed decision-record destination and its index entry. The next decision can use the same preview-confirm flow; use an RFC first when the direction is still open.