Documents

The topics, specs and stories in this project, linked to each other, to classes and to objects.

TilesList
29
NameFirst sentenceTags
alertsReadings come in; a limit decides who hears about it. alerts.notify stands in for a real channel such as email or a push message: here it only records what it would send,
alertsThree rounds of readings through alerts.
CopperheadCopperhead Mining is a made-up copper producer in British Columbia (CA-BC). It runs the Viper Ridge Mine on the prop-viper property, with its plant and camp.
DesignThe design of d2conf: the mechanisms that realise its specification, for any code base#ai #design
DesignRoutesThe API of d2conf as designed: conventions and the routes each feature uses#ai #design #routes
drill-resultsA drill program comes back from the lab. Each hole is scored on its gram-metres (grade × width, summed over its intervals), graded by guarded rules, and the best hole mak
drill-resultsFrostline's fall program at the Aurora zone, through drill-results: five holes, one bonanza, one abandoned.
DrillingPrimerHow the sample model follows a drill campaign, using Frostline's 2026 program.
FrostlineFrostline Resources is a made-up gold developer listed on the TSXV. Its main asset is the Frost Lake property in Ontario (CA-ON), home of the Frost Lake Main deposit.
helloThe smallest spec: one message and the rules that answer it. A rule's last payload goes back to whoever sent the message.
helloSends hello's message twice and checks the answers.
Home<br />
LandingThis is a project on d2: a notebook and an app in one, built with an AI.
ledger-specLedger for the tests.#wip
mining-domainA made-up mining-company domain model for playing with domain tooling: the model graph (/domain/overview), the object browser (/dom) and the domain APIs. Converted from d
mining-samplesSample objects for mining-domain: three made-up companies (Frostline Resources, Copperhead Mining, North Royalty & Streaming) with their people, properties, deposits, dri
ModelTourThe sample domain in mining-domain has 56 classes in eight groups. The [model graph](/domain/overview) shows them all; its Groups tab shows them group by group.
NorthRoyaltyNorth Royalty & Streaming is a made-up royalty and streaming company. It doesn't operate mines: it pays up front for a share of other companies' production.
orderPlacing an order: check the stock, price the lines, pick a discount, confirm. Each step is its own message, so each can be extended or replaced with rules of its own. The
orderThree orders through order: a member's, a big one from a guest, and one the stock can't cover.
rebalanceBringing a portfolio back to its targets. Each position is valued, compared with its target weight, and a guarded rule decides: buy, sell or leave it. Differences under 2
rebalanceA small resource book drifted after a run in gold, through rebalance: one well over target, two under, two on target, and a 1,500 cash reserve to keep: the buys share wha
SpecThe specification of d2conf: what it does, as its users and AIs meet it#ai #spec
SpecTestThe black-box tests of d2conf: at least one per spec line, each run as a person#ai #test
SpecUiThe UI specification of d2conf: how its UI behaves — screen flows, layouts, what each page shows#ai #specui
WelcomeThis is the prototype's wiki: markdown topics that link to each other, to the domain model and to objects. Everything here is made up, a sandbox for trying d2.
Common topics
AgentHintsthe quirks of this build an AI agent should know#help #agents #ai #inherited
ExampleAiPromptsSample prompts to give your AI, and what came back, by kind of user#ai #examples #inherited
HelpShort how-tos, each a few steps. Pick what you want to do; the guides below go deeper.#inherited

Trash: deleted topics, kept 30 days.