Agent Decision Log · Obsidian plugin documentation

Agent Decision Log documentation

Agent Decision Log Obsidian plugin preview

Create, track, and compile Architecture Decision Records (ADRs) for AI coding agents directly inside Obsidian. Number new decisions automatically, filter vault records by status or scope, update frontmatter atomically without breaking comments or line endings, and compile accepted decisions into a token-budgeted DECISIONS.md or CLAUDE.md managed section.

Version 1.0.0. Requires Obsidian 1.13.4 or later. Works on desktop and mobile.

1 Installation

  1. Open Settings in Obsidian and select Community plugins.
  2. Select Browse and search for Agent Decision Log.
  3. Select Install, then select Enable.

For manual installation, download main.js, manifest.json, and styles.css from the latest GitHub release, copy them into <vault>/.obsidian/plugins/agent-decision-log/, reload Obsidian, and enable the plugin. It sets isDesktopOnly: false and works on desktop and mobile vaults without external runtimes.

2 Getting started

Create a numbered ADR note (Free)

  1. Run "Agent Decision Log: Create decision record" from the command palette or select New decision inside the Decision Log modal.
  2. Enter the title, scope, initial status, decision summary, and agent guardrails.
  3. Select Create to write the next sequential ADR-NNN note and open it in the editor.

Browse and transition decisions (Free)

  1. Click the scale ribbon icon or run "Agent Decision Log: Open decision log".
  2. Filter by status, scope, or keyword.
  3. Select Accept, Deprecate, Propose, or Supersede on any card to update its YAML frontmatter atomically. When superseding a decision, enter the replacement ID (for example ADR-005) and select Confirm supersede.

Compile accepted decisions for AI agents (Pro)

  1. Run "Agent Decision Log: Compile accepted decisions for agents (pro)".
  2. Choose the target file (DECISIONS.md or CLAUDE.md), token budget, and optional scope filter.
  3. Preview the compiled block and select Write managed section to update only the content between &lt;!-- agent-decision-log:start --> and &lt;!-- agent-decision-log:end -->.

Validate chains and generate a Bases ledger (Pro)

3 Features

Browse, filter, and transition vault decisions

Open the Agent Decision Log modal from the ribbon icon or command palette to inspect every ADR note in your vault. Filter records in real time by status (proposed, accepted, deprecated, superseded), scope, or search text across IDs, titles, summaries, and guardrails. Transition any record with one click using atomic vault.process writes that preserve unrelated frontmatter keys, inline YAML comments, and original LF or CRLF line endings.

Auto-numbered ADR creation with structured frontmatter

Run the Create decision record command to generate the next sequential ADR-001 through ADR-NNN note inside your configured decisions folder. Each note includes structured YAML frontmatter (decision_id, title, status, date, scope, superseded_by) and ready-to-edit sections for Context, Decision, Consequences, and Agent Guardrails.

Configurable folder, ID prefix, and token budget settings

Configure the decisions folder, custom ID prefix, default scope, default status, and Pro export paths from the plugin settings tab. All core ADR creation, browsing, filtering, and status transition workflows run locally in pure TypeScript with isDesktopOnly: false for desktop and mobile parity.

Token-budgeted compiler, chain validator, Bases ledger, and exports (Pro)

Pro adds four local engineering workflows on top of the same pure TypeScript engine. Compile all accepted decisions into a token-budgeted managed section inside DECISIONS.md or CLAUDE.md so AI coding agents respect past architectural choices without blowing their context window. Run the superseding-chain and conflict validator to detect duplicate IDs, broken superseded_by links, superseding cycles, and overlapping active scopes. Generate a native Obsidian Bases (.base) Decision Ledger with preconfigured views, or export the full decision log to Markdown and JSON.

4 Commands

Open the command palette and type the plugin name to see these commands. You can give each one a hotkey in Settings, Hotkeys.

Command Command id
Open decision log agent-decision-log:open-decision-log
Create decision record agent-decision-log:create-decision-record
Mark active decision as accepted agent-decision-log:accept-active-decision
Mark active decision as deprecated agent-decision-log:deprecate-active-decision
Compile accepted decisions for agents (pro) agent-decision-log:compile-accepted-decisions
Validate decision chains and conflicts (pro) agent-decision-log:validate-decision-chains
Generate bases decision ledger (pro) agent-decision-log:generate-bases-decision-ledger
Export decision log to Markdown (pro) agent-decision-log:export-decision-log-markdown
Export decision log to JSON (pro) agent-decision-log:export-decision-log-json
What pro adds agent-decision-log:what-pro-adds

5 Settings

Setting Default Purpose
Decisions folder Decisions Vault folder where new numbered ADR notes are created.
Decision ID prefix ADR Prefix for auto-numbered IDs (ADR-001 through ADR-NNN).
Default scope architecture Scope pre-filled in the Create decision record modal.
Default status proposed Initial status assigned to newly created ADR notes.
Compiled decisions target file (Pro) DECISIONS.md Vault file (DECISIONS.md or CLAUDE.md) updated with the managed section.
Compiled token budget (Pro) 1500 Maximum estimated tokens packed into the compiled section.
Compiled sort order (Pro) id-asc Order for packing accepted decisions (id-asc, id-desc, or date-desc).
Bases decision ledger path (Pro) Decision Ledger.base Output path for the Obsidian Bases .base file.
Markdown and JSON export paths (Pro) Decision Log Report.md, decision-log.json Output paths for exported ledger reports.

6 Privacy, payment and network

The core features are free. Pro features need a GitHub Sponsors sponsorship of theluckystrike: $5 a month or more, or $15 once. A total payment of $15 meets the payment requirement for Pro without further payment. Sign-in and the checks below still apply. Your notes stay readable and editable with or without Pro.

GitHub handles the payment. Sponsor at https://github.com/sponsors/theluckystrike. You need no account for the free features. Pro needs the GitHub account that sponsors.

Until you select "Sign in with GitHub" in the settings, Agent Decision Log makes no network requests. Sign in uses the GitHub device flow. Agent Decision Log sends its public client ID and the scope read:user to https://github.com/login/device/code and shows you a code. While you enter the code at https://github.com/login/device, it asks https://github.com/login/oauth/access_token every few seconds to check the sign-in status. The scope permits profile reads only. GitHub needs this access to show the sponsorship tier. It grants no repository scope and no write access.

After sign in, Agent Decision Log sends one query to https://api.github.com/graphql. It checks if the signed-in account sponsors theluckystrike. It asks for the tier and the total payment to theluckystrike. The plugin reuses a successful check for 7 days. Failed checks can retry after 6 hours. Select Refresh to request an earlier check. It sends no note content, file names or other vault data, and it has no telemetry.

After a successful check, Pro can work offline for up to 14 days. Sign out or a negative sponsorship answer turns Pro off. The plugin stores the GitHub token through the secret storage API of Obsidian. It does not put the token in its saved settings or its local sponsorship data. The local storage of this device keeps your GitHub login, the tier and the time of the last check. Sign out clears the token. You can also revoke the access in your GitHub settings, under Applications.

7 Questions and answers

Does updating a decision status overwrite my frontmatter comments or line endings?

No. Agent Decision Log uses Obsidian's atomic vault.process API to update only the status and superseded_by values while keeping unrelated frontmatter keys, inline YAML # comments, and original LF or CRLF line endings intact.

How does the token-budgeted compiler handle large decision logs?

The compiler estimates tokens deterministically from character length and packs accepted decisions in your chosen sort order (id-asc, id-desc, or date-desc). When the next record would exceed your configured token budget, it tries a compact summary without guardrails and appends an omitted-count notice if remaining decisions do not fit.

Can I use Agent Decision Log offline and on mobile?

Yes. All ADR parsing, auto-numbering, filtering, frontmatter updates, graph validation, compilation, Bases generation, and exports run locally in pure TypeScript with zero external API calls.

8 Support

Report bugs or request features in the GitHub repository issue tracker. Include your Obsidian version, plugin version, and a minimal sample ADR note so the issue can be reproduced locally.

Agent Decision Log · Obsidian plugin documentation