Skip to content

Context

Vitor edited this page Dec 3, 2026 · 1 revision

botticelli: domain language

botticelli lets an AI agent dig through visual references on several sources, drop the noise, look at the survivors on one numbered contact sheet, and keep the good ones with their origin and palette.

Term Meaning Not to be confused with
Ref One visual reference (image or video), normalised across sources (src/core/types.ts) A Pinterest "pin" is one kind of Ref
Source A place Refs come from: Pinterest, Are.na. One adapter per source in src/sources/<id>/ The sourceLink/sourceDomain of a Ref, which is where the image itself came from
Capability Something a Source can do right now: search, related, collection, get, visualSearch. It can depend on login —
Collection A group of Refs inside a Source: Pinterest board, Are.na channel Board
Board A named folder of saved Refs in the user's local Library (refs/<board>/) Collection
Library The project's local store of saved Refs: images plus a JSON sidecar each, and refs/index.json The download cache
Sidecar <file>.json next to a saved image with the Ref's origin, palette and dhash —
Handle A short name for a Ref within an MCP session: #3 (position in the last result) or p:3f9a (stable) The source's id
Sheet One image with numbered thumbnails in a grid, so the agent and the human compare side by side A Moodboard
Moodboard A static HTML page for a Board: the Refs, the consolidated palette and the credits A Sheet
Pipeline Source-agnostic processing of Refs: filters, dedupe, palette, ranking, sheet (src/pipeline/) —
Repost The same image under different URLs. Detected by dhash Hamming distance ≤ 6 —
Endpoint registry Per Pinterest capability, an ordered list of Candidates. The one that worked after a failure is promoted and persisted —
Candidate One way to call a Pinterest capability: resource name, handler, source URL template, options template with {placeholders} —
Hunter Opens the real site in a headless browser when every Candidate fails, sniffs which resource the site now uses, validates it without the browser and promotes it —
Health A check of every Capability of every Source. A failure triggers the Hunter —

Decisions live in docs/adr/. A tradeoff recorded there is by design.

Clone this wiki locally