Spell — Save Idea

Bank an idea before it evaporates

Documented for v1.24.1 · Checked

Edit on GitHubView at v1.24.1

At a glance

Field Value
Invoke as /spell-save-idea
Argument The idea itself — a sentence to a couple of paragraphs (e.g., "add a dark-mode toggle to the settings page"), optionally "for <venture>" (hub only, e.g. "save this idea for ordo — …")
Agent agent
When to use Use PROACTIVELY to capture a fleeting idea immediately, even if the user just says 'note that' or 'don't forget'.

Executive Summary

  • This spell saves a short idea into IDEAS.md at the repo root with a timestamp, so a good thought is not lost between sessions.
  • It is deliberately fast and low-friction: no approval gate, no multi-step proposal — capture and confirm.
  • Use it the moment an idea occurs to you. Triage later with spell-todo or spell-suggest-feature; in a hub, promote with spell-manifest.
  • This is the lightweight counterpart to spell-document (which formalizes a whole conversation into polished docs).
  • In a hub repo: "save this idea for <venture>" targets that venture's own IDEAS.md book instead of the hub root — private by default, including for ventures whose own repo is public.

Capture the user's idea into the idea inbox with minimal ceremony.

The user's input IS the idea. If no idea text was provided, ask one short question: "What's the idea?" and stop until they answer.

Step 0 — Venture Targeting (Hub Only)

Resolve {BUSINESS_ROOT} from .arcane.json's business_root field (default ventures/ if unset) before anything below.

If the input names a venture ("save this idea for ordo", --venture <slug>), resolve it through {BUSINESS_ROOT}/registry.json's aliases first (exact slug → alias → closest match offered — never guessed). Unknown slug:

No venture "<slug>" under {BUSINESS_ROOT}/ (closest: ordovica, tidewright).
1) use <closest>  2) save to hub root IDEAS.md  3) cancel (create the venture first: spell-summon-venture)

Never silently create a venture folder.

If role in .arcane.json is not "hub", venture-targeting phrasing is refused:

Venture targeting works only in the hub repo (role: "hub" in .arcane.json). This repo has no venture books.
1) save to this repo's IDEAS.md (venture reference removed)
2) skip — capture it in the hub: spell-save-idea --venture <slug> "<idea>"
Which? (1/2)

If option 1 is chosen and the named venture is a different venture than this repo's own, strip that name from the idea text before writing it — a sibling venture's name must never land in a consumer repo's IDEAS.md. If it's this repo's own venture, keep the text as given.

An idea that only mentions a venture, without targeting phrasing, is not redirected — proceed with the hub root and append a non-blocking hint to the Step 3 confirmation instead (speed rule: don't block on a maybe):

(mentions ordovica — re-save with --venture ordovica, or route it later with spell-manifest)

When targeting a venture book that doesn't exist yet as a file, create it from the venture-template IDEAS.md stub (same header convention as the hub root, below) with the venture's name filled in. Tolerate operator YAML frontmatter above either book's header — always append after the final --- divider, never before it.

Step 1 — Normalize the Idea

  • Take the user's input verbatim as the core idea.
  • Strip a leading invocation phrase if the user dictated one (e.g., "save this idea —", "note that", "remind me to") — log the idea, not the command to log it.
  • Lightly clean it up: fix obvious typos and capitalization, but do not rewrite, expand, or editorialize. The user's phrasing is the record.
  • If the idea is clearly multiple distinct ideas, split them into separate entries (one appended line each).
  • Optionally infer a single short tag (1–2 words, kebab-case) from the content. Where the tag comes from depends on .arcane.json's optional idea_tags field, { "mode": "extend" | "replace", "tags": [...] }:
    • idea_tags declared: pick the tag from the declared vocabulary and never invent a tag outside it. mode: "extend" — the vocabulary is the declared tags plus today's free-form default tags: prefer a declared tag when one fits, otherwise infer one as below. mode: "replace" — the declared tags are the whole vocabulary; no free-form tag is inferred. If nothing in the vocabulary fits cleanly, omit the tag.
    • No idea_tags: infer a free-form tag from the content — e.g., ui, infra, marketing, dx. If nothing fits cleanly, omit the tag.
    • A tag must never carry a venture, client, or person name — tag the idea's subject (ui, billing), never whose it is. A tag travels with the entry when spell-manifest promotes it downstream, so a name in a tag leaks exactly as a name in the text would. Enforcement: explicitly advisory prose (ARC-023) — the agent's judgment at capture time; in a hub, spell-manifest's leak scan re-checks the tag before it leaves, but only for sibling venture names, hub paths, machine names and the org-token denylist.
  • If the idea contains a secret (token, password, API key, connection string), redact it inline (e.g., [redacted]) before writing and warn the user in the confirmation. Never write the raw value to IDEAS.md.

Step 2 — Append to IDEAS.md

Append (never overwrite) an entry to IDEAS.md — the repo root, or the resolved venture's own book from Step 0.

Entry format:

- **[YYYY-MM-DD HH:MM]** [#tag] <the idea, lightly cleaned> <!-- status: new -->
  • Get the real local date and time from the system (e.g., run date) rather than guessing — a wrong timestamp silently corrupts the append-only log.
  • The status: new HTML comment lets later triage mark entries as promoted / dropped without deleting history.
  • This spell always writes the plain <!-- status: new -->. Later, spell-todo --sweep --validate may add ; value: …; fit: …; dup: … fields to the comment after an operator's batch confirmation. The grammar that reads both forms is in spell-manifest Step 1.
  • Include [#tag] only if a tag was inferred; otherwise omit it.
  • Tracker-id suffix (tracking_mode: external only): if .arcane.json's tracking mode is external and the idea names a work item that already exists, end the idea text with that id's suffix in the provider's format, before the status comment — defined once in governance/development-methodology.md under "Tracker-ID Suffix on Captured Items" (e.g. [#123] GitHub, [AB#123] Azure DevOps, the issue key for Jira). Never guess an id and never file a work item from here — this spell stays instant. In tracking_mode: internal, the entry format above is unchanged.

If IDEAS.md does not exist yet, create it with this header first, then append:

# Idea Inbox

Fast-capture log of ideas worth keeping. Add with `spell-save-idea`. Triage with `spell-todo`
(actionable) or `spell-suggest-feature` (product ideas). Entries are append-only; mark status in the
trailing comment rather than deleting.

---

Step 3 — Confirm (one line)

Print a single concise confirmation, nothing more:

💡 Saved to IDEAS.md — [#tag] <short echo of the idea>
  • If multiple entries were appended, confirm with one line per entry (or a count, e.g. 💡 Saved 3 ideas to IDEAS.md).
  • If anything was redacted, append (secret redacted) to the confirmation so the user knows.

Step 4 — Offer Promotion (optional, non-blocking)

After confirming, add at most one short line offering a next step only if the idea is obviously actionable or product-shaped:

Want to turn this into a tracked item? Run spell-todo (task) or spell-suggest-feature (product idea). In a hub, spell-manifest promotes it downstream once ready.

Do not ask follow-up questions. Do not commit — leave that to spell-commit-work.

Rules

  • Speed over polish. This spell should feel instant.
  • Never overwrite existing entries — always append.
  • Never rewrite the user's idea beyond light cleanup. Preserve their words.
  • No approval gate — write immediately.
  • Never include secrets, tokens, or credentials in an entry.
  • Never put a venture, client, or person name in a tag; when .arcane.json declares idea_tags, draw the tag from that vocabulary (Step 1).
  • Do not commit the change.

Was this page helpful?

Your answer

Please don't include personal information.