Pre-release: the store is not open yet and nothing is for sale. What early access means
  • 0.1.4version, pre-release
  • 9failure classes it guards against
  • Node.jsno packages to install

What it protects you from

Failures that happen in real projects.

Decision Map keeps every decision the owner of a project makes as one small Markdown note: the date, the owner's exact words, a one-line ruling, which projects and files it covers, and which older decision it replaces. A validator keeps the notes honest.

Claude Code hooks put the relevant decisions in front of the agent when it touches a file a decision names, and when your message touches a decision's topic. The notes are also an Obsidian vault. Plain Node.js, no dependencies, no server, no network.

  • Failure

    A decision made weeks ago lives only in an old chat; a new session undoes it

    What Decision Map does

    each decision is a note; the file hook shows it when the agent reads or edits a file the note names

  • Failure

    The agent proposes something you already rejected

    What Decision Map does

    the topic hook matches your message against decision titles, keywords and rulings and shows the ruling first

  • Failure

    "The owner decided X" turns out to be the agent's paraphrase or its own idea

    What Decision Map does

    source: owner requires the owner's words verbatim in quote; an agent's proposal stays pending until the owner says yes

  • Failure

    An old decision is deleted, and nobody can tell why the code looks the way it does

    What Decision Map does

    decisions are never deleted; decision supersede links old and new both ways and the validator checks the chain

  • Failure

    Two notes say the opposite and both look current

    What Decision Map does

    superseded and expired decisions drop out of the current list and the hook index

  • Failure

    A note names a file that was moved, so the hook never fires again

    What Decision Map does

    the validator checks that every referenced file of an active decision exists

  • Failure

    A typo in a project name creates a second, empty "project" and the decision vanishes from the real list

    What Decision Map does

    scope must match the note's folder exactly; decision new refuses near-miss project and topic names

  • Failure

    A header value wraps onto a second line, a # or a backslash sneaks in, a file gets a BOM: the note is silently half-read

    What Decision Map does

    the validator reads the header the way Obsidian would and reports each of these by name

Show 1 more
  • Failure

    The same decision is pasted into the context again and again

    What Decision Map does

    each decision is shown once per session (and once per subagent); after /compact or /clear it can be shown again

How it works

Enough detail to trust it.

  1. Validator

    decision check validates every note, then writes CURRENT-<project>.md (what the agent reads at session start), HOME.md and the index the hooks read. One bad note does not take the lists down.

  2. File hook (PostToolUse)

    Takes the path from Read, Edit, Write and NotebookEdit, or the paths it finds in a Bash or PowerShell command, and shows the full note of each active or pending decision naming that file.

  3. Topic hook (UserPromptSubmit)

    Matches your message against decision titles, keywords and rulings and shows at most a few decisions, each with its one-line ruling.

  4. Once per session

    Each decision is shown once per session and once per subagent. After /compact or /clear the reset hook lets it be shown again.

  5. Never in the way

    The hooks always exit 0. Errors go to a log, and decision check reports them.

A decision note (format from the README)
---
type: decision
date: 2026-04-02
status: active
source: owner
quote: "50 was too low, margins are gone. Make it 75."
ruling: "Orders of 75 or more ship free; below that the carrier rate is charged."
scope: [shop]
topics: ["[[Shipping]]"]
files: [src/cart/shipping.js]
supersedes: ["[[2026-02-14 Free shipping from 50]]"]
---
# Free shipping from 75

Full text: the question, the options that were offered, measurements, reasons.

The example note from the README: one decision, with the owner's words in the quote field.

What is inside

The files you get

  • decision-map/
    • bin/decision.mjsthe command line: new, supersede, find, file, check, init, settings
    • bin/decisiona bash wrapper for node bin/decision.mjs
    • hooks/
      • file-hook.mjsPostToolUse: decisions that name the file the agent touched
      • topic-hook.mjsUserPromptSubmit: decisions whose topic your message touches
      • reset-hook.mjsSessionStart (compact, clear): decisions can be shown again
    • lib/validator, matching and paths
    • template/a new vault, with the Obsidian config
    • examples/workspace/three small fictional projects and a vault with 12 decisions
    • tests/run.shexample vault, validator, command line, file hook, topic hook
    • README.md, CHANGELOG.md
    • MANIFEST.sha256the SHA-256 of every file

Requirements

What it needs

  • Node.js 18 or newerno npm packages
  • Claude Codefor the hooks; the notes and the command line work without it
  • bashfor the install commands, the tests and the wrapper (Git Bash on Windows)
  • Obsidian (optional)for the graph view

Reference

Commands

CommandWhat it does
decision new --project <p> --topic "<t>" --title "<t>" ...writes a new note with a correct header, shows the active decisions on the same topic, and validates
decision supersede "<old>" "<new>"links both ways and sets the old one to superseded; nothing is deleted
decision find <words...>notes containing all the words, with status and ruling
decision file <project> <path>the decisions the file hook would show for that file
decision check [--quiet] [--dry-run]validates every note and regenerates the lists and the hook index
decision init [<folder>]creates an empty vault with the Obsidian config; never overwrites
decision settingsprints the Claude Code hooks snippet for this vault

Limitations

Read these before you rely on it.

Taken from the product's README, which is the place to check before you buy.

  • Not tested inside a live Claude Code session

    The hooks were tested with the JSON input Claude Code documents. If a Claude Code version changes those fields, the hooks stay silent rather than fail.

  • Tested on Windows (Git Bash) with Node 24 only

    Not run on macOS, Linux or Node 18.

  • Obsidian not checked

    The graph colour groups use Obsidian's documented search syntax; they were not opened in an Obsidian version.

  • The header is a YAML subset, not YAML

    Multi-line values, nested maps and escapes inside quotes are rejected on purpose.

  • Topic matching is heuristic

    It will sometimes miss a decision or show one that does not fit. It is tuned for English.

  • Only files named in files: trigger the file hook

    A decision with no files is seen through the current list and the topic hook only.

  • Shell path detection is pattern based

    Paths built from variables (cat $DIR/x.js) are not seen.

  • The file hook runs after the tool

    An edit that goes against a decision is already made when the decision appears; the agent has to correct it. Nothing is blocked.

  • Matching in other languages is whole-word

    No stemming outside English; tested with Cyrillic, Greek, Turkish and Chinese examples only.

  • Large vaults

    The index is rebuilt by walking all notes whenever one changes. Large-vault timing is not measured by our test suite.

Pre-releasev0.1.4

Status: what was and was not tested

Pre-release. The validator, command line and hooks are tested; not inside a live Claude Code session.

Tested

  • The validator, the command line and the three hooks are covered by tests/run.sh (195 checks as of 0.1.4) on Windows (Git Bash, Node 24).
  • The hooks were tested by feeding them the JSON that Claude Code sends.

Not tested yet

  • Not run inside a live Claude Code session.
  • Not run on macOS or Linux, and not on Node 18.
  • The Obsidian graph colours were not checked in Obsidian.

0.1.4 (2026-12-01): Fixes for an outside "customer's eye" test.

Editions

How it will be licensed.

Commercial

Commercial licence

ViaCustos commercial licence, Solo or Agency edition

  • The command line, the three hooks, the vault template and the example workspace
  • No licence check inside the tool; it never contacts our servers or anyone else's

Commercial editions come as Solo (for your own projects) and Agency (for delivering projects to clients). Pricing and licence terms are announced at launch.

Where it came from

The incidents behind Decision Map.

All incidents

Works well with

The other tools

All products
Deploy & QAv0.1.4Pre-release

Ship Gate

Runs your checks on the exact commit you are about to ship and refuses to deploy anything the checks did not see. Open-source core.

BashPricing at launch
Launch standardv0.1.4Pre-release

Launch Standard

A 19-item launch standard and a one-file Python checker that measures the live URL and gives every item PASS, FAIL, HINT or MANUAL.

PythonPricing at launch
Agent toolingv0.1.5Pre-release

Agent Verifier and Council

A verifier subagent that compares an agent's "done" with measured probe values, a probe runner with a negative test per probe, and a council with a mandatory dissent.

Node.jsPricing at launch