All

Every topic of every kind in one list. Tap a tag on the left to show only what has it, again to hide what has it, once more to let it go.

TilesList

Hiding #inherited · 37 topicsShow all

DocumentsWelcome Welcome to Grindstone Coffee Gear
This is d2pro, the pro demo: a small online shop that sells coffee gear, built on d2. Everything here is made up and resets on every update, so try anything.
ai:specsPROJECT d2pro: specification
The specification of d2pro: what it's for, its parts, and what's decided
free-form · #ai · #spec
DocumentsComponents d2pro: components
The components of d2pro: its functional areas, what each is for and what it uses
#ai · #spec
DocumentsDesign d2pro: design
The design of d2pro: the mechanisms that realise its specification, for any code base
#ai · #design
DocumentsDesignRoutes d2pro: routes as designed
The API of d2pro as designed: conventions and the routes each feature uses
#ai · #design · #routes
DocumentsFlowsGuide How the shop's flows work, and how to write your own
A flow is what d2 does when something happens: a message comes in, the rules that handle it run, one statement after another, and each can send more messages. The shop's
#shop · #guide
DocumentsHome Grindstone Coffee Gear
The pro demo: a small online shop that sells coffee gear, with its model, sample data and flows. It's a wiki topic, Home, like every project's start page: change it any t
DocumentsLanding
This is a project on d2: a notebook and an app in one, built with an AI.
project logPROJECT d2pro: project log
The project log of d2pro: changes and decisions by the people on it, dated
DocumentsProto1Impl d2pro: Prototype 1 as built
How Prototype 1 (a d2 prototype) met the design of d2pro, per feature
#ai · #impl · #d2-impl
ai:skillsprocess This project's process
this project's own way of working, on top of d2's skills; read after them. Its person and its AIs keep it.
#skill
DocumentsSpec d2pro: specification
The specification of d2pro: what it does, as its users and AIs meet it
#ai · #spec · #wip
Specsshop
A small online shop, Grindstone Coffee Gear, as a domain model: what it sells, who buys, their orders, and how orders get to them. Its sample data is in shop-samples; wha
spec · #shop · 21 classes
Specsshop-carts
Two flows about carts. A new cart tells the shop who's shopping. Abandoned carts runs once a day (a cron, declared in Init): any cart still open after 48 hours is marked
spec · #shop
Specsshop-notify
Every message the shop sends goes through this one rule. Here it keeps the message in the shop's outbox (a Message object, see shop), so the demo shows what would go out
spec · #shop
Specsshop-orders
Order placed. When an order is created, the shop issues its invoice, reserves the stock for each line (from the first warehouse that has enough), checks whether that left
spec · #shop
Specsshop-shipping
Shipped. When a shipment's status becomes shipped, its order is marked shipped and the customer gets the tracking number.
spec · #shop
Specsshop-stock
Low stock. When a stock level drops below its reorder point, whoever runs the shop hears about it, with the supplier to call and how long they take to deliver. It runs wh
spec · #shop
DocumentsSpecTest d2pro: spec tests
The black-box tests of d2pro: at least one per spec line, each run as a person
#ai · #test
DocumentsSpecUi d2pro: UI specification
The UI specification of d2pro: how its UI behaves — screen flows, layouts, what each page shows
#ai · #specui
Storiesshop-flows shop-flows: story
Each shop flow, run by hand on the sample data (in the [Fiddle](/fiddle?tab=stories&topic=Story:shop-flows), nothing is kept). The triggers in Init start the same flows w
story · #shop
Storiesshop-samples
Sample objects for shop: Grindstone Coffee Gear, a made-up shop with 12 products, 6 customers, carts, orders in each status, two warehouses and a return. Each $object Cla
story · #shop · 66 objects
ai:todosPROJECT d2pro: to do
Open items for d2pro
#ai · #todo

Trash: deleted topics, kept 30 days.