← How the benchmark works

diff --git a/.specify/memory/constitution.md b/.specify/memory/constitution.md
index a4670ff46919b276a4c9663b4ca51830108fcfc0..c7adf9e043af8a50faca6686b56185e1a3a60f38 100644
--- a/.specify/memory/constitution.md
+++ b/.specify/memory/constitution.md
@@ -1,50 +1,75 @@
-# [PROJECT_NAME] Constitution
-<!-- Example: Spec Constitution, TaskFlow Constitution, etc. -->
+# order-service Constitution
 
 ## Core Principles
 
-### [PRINCIPLE_1_NAME]
-<!-- Example: I. Library-First -->
-[PRINCIPLE_1_DESCRIPTION]
-<!-- Example: Every feature starts as a standalone library; Libraries must be self-contained, independently testable, documented; Clear purpose required - no organizational-only libraries -->
+### I. README Business Rules Are the Source of Truth
+The "Business rules" section of `README.md` defines the service's behaviour. When the code and that list
+disagree, the list is right. Every spec, plan and task MUST be checked against it; a request that
+contradicts a rule MUST be raised in `/speckit-clarify` rather than silently implemented. Rules in force
+include:
+- Money is an integer number of euro cents; every percentage is applied to an amount in cents and rounded
+  half up. Never use floating-point amounts. Reuse `src/money.ts` (`percentOf`, `divideHalfUp`, `allocate`).
+- Dates are calendar days `YYYY-MM-DD`; "from … to …" periods include both days (`src/dates.ts`).
+- SKUs and coupon codes are case-insensitive, trimmed, and shown in upper case.
+- Stock: placing an order reserves units, shipping takes them off hand, cancelling returns them; a refused
+  order reserves nothing. Low stock means fewer than 5 available units.
+- Orders: numbered ORD-0001…, at least one line, whole quantities above zero, duplicate SKUs merged;
+  confirmed → shipped or cancelled, never both; cancellation allowed up to and including day 14.
+- Discounts: volume 10% from 10 units per line; at most one coupon per order, applied to the subtotal after
+  volume discounts; a fixed coupon never exceeds that subtotal; all discounts together never exceed 50% of
+  gross; coupon amount is spread across lines proportionally for VAT; single-use coupons are returned on
+  cancellation.
+- Shipping: weight bands, free from €50.00 of goods after discounts and before VAT; shipping carries 22% VAT.
+- VAT: per line on the net after all discounts, rounded half up per line; rates standard 22 / reduced 10 /
+  super-reduced 4 / exempt 0.
+- Invoices: one per shipped order, dated the shipping day, numbered per year (2026/0001), VAT summarised by rate.
+Any change to behaviour that touches one of these rules MUST re-verify the whole rule chain it participates in
+(e.g. a discount change affects shipping threshold, VAT and totals).
 
-### [PRINCIPLE_2_NAME]
-<!-- Example: II. CLI Interface -->
-[PRINCIPLE_2_DESCRIPTION]
-<!-- Example: Every library exposes functionality via CLI; Text in/out protocol: stdin/args → stdout, errors → stderr; Support JSON + human-readable formats -->
+### II. Test-First, With the Existing Test Suite
+Tests live in `test/*.test.ts` and run with `npm test` (`node --test`, Node 22.18+ running TypeScript
+directly). New behaviour and bug fixes MUST start with a failing test that encodes the README rule, then the
+code. `npm test` MUST pass before a task is complete. Cover boundaries explicitly: rounding at exactly 0.5
+cent, day 14 vs day 15, exactly 10 units, exactly €50.00, exactly 5 available units, coupon first/last day.
 
-### [PRINCIPLE_3_NAME]
-<!-- Example: III. Test-First (NON-NEGOTIABLE) -->
-[PRINCIPLE_3_DESCRIPTION]
-<!-- Example: TDD mandatory: Tests written → User approved → Tests fail → Then implement; Red-Green-Refactor cycle strictly enforced -->
+### III. Library With a Narrow Public API
+The project is a dependency-free TypeScript library. `src/index.ts` is the public API; export new public
+symbols there deliberately and do not break existing exports. Do NOT add runtime dependencies. Keep modules
+focused as they are today (catalog, inventory, coupons, orders, pricing, discounts, shipping, tax, invoices,
+receipt, reports, money, dates); `createShop()` in `src/shop.ts` wires them together.
 
-### [PRINCIPLE_4_NAME]
-<!-- Example: IV. Integration Testing -->
-[PRINCIPLE_4_DESCRIPTION]
-<!-- Example: Focus areas requiring integration tests: New library contract tests, Contract changes, Inter-service communication, Shared schemas -->
+### IV. Follow Existing Code Conventions
+- ESM, `strict` TypeScript with `erasableSyntaxOnly`: no enums, namespaces or parameter properties.
+- Relative imports include the `.ts` extension (`import … from './money.ts'`); use `import type` / `export type`
+  for types.
+- Use the `Cents` type for amounts. Short doc comments (`/** … */`) on exported functions and classes, stating
+  the rule they implement.
+- Failures raise a `ShopError` subclass from `src/errors.ts` with a stable `code`; add a new subclass there
+  rather than throwing bare `Error`. Validate input at the boundary (`ValidationError`).
+- Keep changes minimal and match surrounding style; do not refactor unrelated code.
 
-### [PRINCIPLE_5_NAME]
-<!-- Example: V. Observability, VI. Versioning & Breaking Changes, VII. Simplicity -->
-[PRINCIPLE_5_DESCRIPTION]
-<!-- Example: Text I/O ensures debuggability; Structured logging required; Or: MAJOR.MINOR.BUILD format; Or: Start simple, YAGNI principles -->
+### V. Simplicity and Determinism
+Prefer the simplest design that satisfies the rules. No hidden clocks or randomness: dates are passed in as
+`YYYY-MM-DD` values. Rounding and allocation MUST be deterministic and total cents MUST add up exactly.
 
-## [SECTION_2_NAME]
-<!-- Example: Additional Constraints, Security Requirements, Performance Standards, etc. -->
+## Additional Constraints
 
-[SECTION_2_CONTENT]
-<!-- Example: Technology stack requirements, compliance standards, deployment policies, etc. -->
+- Stack: TypeScript on Node 22.18+, no build step (`noEmit`), no runtime dependencies, tests via `node:test`.
+- Docs: when a change alters a business rule, update the README rule list in the same change (the README
+  stays authoritative) and keep `src/index.ts` exports in sync.
 
-## [SECTION_3_NAME]
-<!-- Example: Development Workflow, Review Process, Quality Gates, etc. -->
+## Development Workflow
 
-[SECTION_3_CONTENT]
-<!-- Example: Code review requirements, testing gates, deployment approval process, etc. -->
+- Each request is a fresh session: record decisions in the Spec Kit artifacts under `specs/` and in code,
+  tests and README, not in memory.
+- Specs MUST state the affected README rules and the boundary cases. Plans MUST include a constitution check
+  against the principles above. Tasks put tests before implementation.
+- Before finishing: run `npm test`, confirm the README rules still hold, and confirm no unrelated files changed.
 
 ## Governance
-<!-- Example: Constitution supersedes all other practices; Amendments require documentation, approval, migration plan -->
 
-[GOVERNANCE_RULES]
-<!-- Example: All PRs/reviews must verify compliance; Complexity must be justified; Use [GUIDANCE_FILE] for runtime development guidance -->
+This constitution supersedes other practices for this repository. Amendments are made through
+`/speckit-constitution`, with a version bump and a note of what changed. Plans and reviews MUST verify
+compliance; any deviation MUST be justified in the plan's complexity tracking.
 
-**Version**: [CONSTITUTION_VERSION] | **Ratified**: [RATIFICATION_DATE] | **Last Amended**: [LAST_AMENDED_DATE]
-<!-- Example: Version: 2.1.1 | Ratified: 2025-06-13 | Last Amended: 2025-07-16 -->
+**Version**: 1.0.0 | **Ratified**: 2026-11-08 | **Last Amended**: 2026-11-08