forgeplan capture
Records a decision that emerged mid-conversation into a Note artifact (90-day auto-expiring micro-decision). capture is designed for the moment when you and a teammate (or you and an AI agent) just agreed on something small and you don’t want the friction of a full new → fill MUST sections → validate loop, but you also don’t want the decision to evaporate.
For permanent architectural decisions, use forgeplan new adr — capture targets Notes only.
When to use
Section titled “When to use”- A short discussion just landed on a choice (“we’ll use BGE-M3 instead of all-MiniLM”); you want it logged before the context is lost.
- Mid-sprint course-correction: a small architectural call that doesn’t deserve a full RFC but should be traceable later.
- You want to convert an AI reasoning session’s conclusion into an artifact without leaving the terminal.
When NOT to use
Section titled “When NOT to use”- The decision needs Problem / Goals / FRs — use
forgeplan new prdinstead. - The topic spans multiple files and stakeholders — use an RFC with Implementation Phases.
- The decision is durable and architectural — use
forgeplan new adrfor the permanent decision log.
forgeplan capture [OPTIONS] <DECISION>Arguments
Section titled “Arguments” <DECISION> The decision statement (quoted one-liner)Options
Section titled “Options” --context <CONTEXT> Additional context (optional) -h, --help Print help -V, --version Print versioncapture always produces a Note — the cheapest persistence option. If the decision turns out to be load-bearing, create a separate ADR with forgeplan new adr and link the original Note.
Examples
Section titled “Examples”Example 1: Quick note from a sprint conversation
Section titled “Example 1: Quick note from a sprint conversation”forgeplan capture "skip retry for 4xx from embedding API; retry only 5xx" \ --context "discussed in sprint 13 sync — 4xx means malformed input, retry is wasted"Creates a NOTE-NNN with the decision as title and the context in the body. Notes auto-expire after 90 days — appropriate for reversible, scoped calls.
Example 2: Minimal note with no extra context
Section titled “Example 2: Minimal note with no extra context”forgeplan capture "log R_eff to stderr on every validate run"The fastest path from “we decided” to “it’s tracked”. No template prompts, no required sections — useful when the context is already obvious from recent commits.
Example 3: Capture then promote to ADR when it matters
Section titled “Example 3: Capture then promote to ADR when it matters”forgeplan capture "use LanceDB as derived index, markdown as source of truth" \ --context "ADR-003 principle: files are authoritative, lance/ is gitignored"# Later, if the decision proves load-bearing:forgeplan new adr "LanceDB as derived index"forgeplan link NOTE-NNN ADR-005 --relation informsStart with a Note for minimal friction; create an ADR only once the decision clearly deserves the permanent decision log.
How it fits the workflow
Section titled “How it fits the workflow”This command belongs in the full artifact lifecycle — see the tutorial for the end-to-end flow.
See also
Section titled “See also”forgeplan new note— manual Note creation with templateforgeplan new adr— manual ADR creation for full workflowforgeplan promote— turn a saved memory into an artifactforgeplan link— attach the captured decision to a parent PRD / RFC- Methodology: depth calibration