Orchard shop
Areas/orchard-shop.md
…## Remaining - Gift cards cannot pay…
Features
Everything mindin does to give your agents a memory: what they get when a session starts, how they search, what keeps the notes in order and where the vault can live.
The webshop that sells apples, juice and monthly boxes from the orchard.
stock-counts-on-harvest-day · payment-webhook-retries
Gift cards cannot pay for a box subscription.
Session start
When a session opens a repo, the agent gets the system note for that code, the open tasks, the traps, the last lines of the repo log and the commits newer than the note. No re-explaining, and no prompt about memory.
mindin context.Search
Search ranks the living system note above an old archived one on the same words. It stems your vault's languages, folds accents and expands the synonyms you list. Turn on search by meaning and it also finds notes that share no word with the question, with a model that runs on your machine or on your vault server.
archive and superseded hidden
Areas/orchard-shop.md
…## Remaining - Gift cards cannot pay…
A crate paid by gift card is refunded to the saved card today; it should go back to the gift…
## Decisions - The balance is used before any card charge.
[2026-10-17] Gift cards pay at checkout
0 matched all 2 terms · 1 match some (best 1 of 2) · 2 found by meaning · archive and superseded hidden
Resources/payment-webhook-retries.md
A handler that is not idempotent books the same payment twice.
Projects/orchard-shop-refund-to-gift-card.md
## Problem A customer with a gift card cannot start a monthly box with it…
Hooks
In Claude Code, the session start hook hands the agent its context. The stop hook keeps a session from ending with work unrecorded: after three of your messages without a save, it asks the agent to write down the decisions, deferrals and ideas in them.
Schema
Every note has a kind, a status and the fields its kind needs. A write that breaks the contract is refused, and the refusal tells the agent what to fix. You keep the rules in one file in the vault, with required fields, legal statuses, kinds and a tag vocabulary. They travel with the server's MCP instructions, so Codex and Cursor follow the schema without a CLAUDE.md.
Lifecycle
Finished work is closed and moves to the archive. What gets deferred goes to a backlog with a priority, the moment it is said. Each session leaves one line in the repo log with its commits. Lint reports drift before it misleads.
Finished work is closed and moves to the archive, out of search until you ask.
Sorted by priority, then age. Added the moment something is deferred.
One line per session in the repo log, with its commit shas.
mindin lint --write Log/lint.md --park-stale parks the tasks nobody touched and keeps its report as a note.Tied to your code
A system note names the paths it describes. At the start of a session, mindin lists the commits that touched those paths since the note was last updated, so the agent corrects the note in the same pass instead of trusting it.
Areas/orchard-shop.mdOptions
Keep the vault in a local folder, an S3 bucket or on a vault server. mindin setup asks once and every client on the machine uses the answer.
Plain markdown, already an Obsidian vault.
Any S3-compatible bucket, read and written by the same tools.
Vault server
A vault server gives you accounts and several vaults each, and every client reaches the same notes. The vault's page has what each client needs.
Add a custom connector with this address. Name it after the vault, for example Vault · Personal.
Sign this computer in to the vault. A repo can point at another of your vaults with mindin vault use.
WebDAV with your email as the username and a key from this vault as the password. The key decides which vault opens.
Next to what you already have
| Claude Code's auto memory | mindin | |
|---|---|---|
| Plain markdown you can edit | Yes | Yes |
| Same memory on every machine and in claude.ai | Per machine | Yes, through your server |
| Codex and Cursor read it too | No | Yes |
| Refuses notes that break the schema | No | Yes |
| Shows the commits newer than a note | No | Yes |
| Backlog, archive and lint | No | Yes |
| Shared with a team, with restore per change | No | Yes |
| Search by meaning | No | Yes, local or on your server |
One command installs mindin, asks where the vault lives and offers the Claude Code plugin with its hooks, Codex and Cursor. The docs cover claude.ai and a vault server.
curl -fsSL https://mindin.dev/install.sh | sh