← How the benchmark works
diff --git a/.wingfoil/directives/custom/project-conventions.md b/.wingfoil/directives/custom/project-conventions.md
new file mode 100644
index 0000000000000000000000000000000000000000..5a9b1ff3d08a4fc2ff1c943f0cd0e978b5764238
--- /dev/null
+++ b/.wingfoil/directives/custom/project-conventions.md
@@ -0,0 +1,20 @@
+---
+id: project-conventions
+name: project-conventions
+type: directive
+kind: custom
+title: "lakeside-desk conventions"
+format: 1
+---
+
+# lakeside-desk conventions
+
+Project: the booking desk of the Lakeside Windsurf School (windsurf lessons and board/sail rentals, April to October).
+Read `README.md` first; it is the project's statement of purpose and of any rule it gives. Follow it over these notes.
+
+- Language and runtime: TypeScript (strict, ES2022, NodeNext, ESM via `"type": "module"`) on Node.js. Source lives in `src/`; `tsc` emits to `dist/`. Do not commit `dist/` or `node_modules/` (both are git-ignored).
+- Relative imports use the NodeNext form, with the `.js` extension in the specifier.
+- No runtime dependencies: use the standard library; do not add packages to `dependencies`.
+- Tests: run `npm test` (`node --test`) and keep it green before finishing. Use `node:test` and `node:assert`; no external test framework.
+- Domain logic (prices, availability, season dates, durations) must be pure and deterministic: take the date/time as an argument instead of reading the clock, and test the season boundaries (April start, October end) and the edge cases.
+- Keep changes scoped to the request; do not alter unrelated files, `package.json` or `tsconfig.json` unless the request needs it.
diff --git a/.wingfoil/dna.yaml b/.wingfoil/dna.yaml
index 351a09d58f74bf144c1a52155d11303220a47b90..bbe620a021687de749a60b2aeb173e41c4bb3e38 100644
--- a/.wingfoil/dna.yaml
+++ b/.wingfoil/dna.yaml
@@ -6,12 +6,14 @@ version: 1.1
format: 1
project:
- name: "" # your project name
- description: ""
+ name: lakeside-desk
+ description: "Booking desk software of the Lakeside Windsurf School (lessons and board/sail rentals; season April to October). TypeScript, no runtime dependency."
methodology: Kanban # Continuous-flow delivery; work-in-progress limits are declared per state with `limits:` in memory.yaml.
# Modules — the parts of the system (anatomy for navigation). Add your own.
-modules: []
+modules:
+ - name: src
+ description: "The booking desk's TypeScript source (tsconfig includes only src/)."
# Stacks — technologies + methodologies in use. The methodologies come from the Kanban template.
stacks:
@@ -22,7 +24,13 @@ stacks:
# - name: TypeScript
# category: language
# or run: wingfoil dna add stacks.technologies --value TypeScript --entry-category language
- technologies: []
+ technologies:
+ - name: TypeScript
+ category: language
+ notes: "strict mode, ES2022 target, NodeNext modules, ESM package (type: module); compiled from src/ to dist/"
+ - name: Node.js
+ category: runtime
+ notes: "tests run with the built-in runner: npm test (node --test); no runtime dependencies, so add none"
methodologies:
- name: Kanban
- name: Specification by Example (BDD)
@@ -59,9 +67,9 @@ team:
# Resource paths — query categories used to navigate the project.
# `runs` holds exactly one directory: the agent run log, one <element-id>.jsonl per element.
paths:
- sources: []
- tests: []
- docs: []
+ sources: [src/]
+ tests: [src/, test/]
+ docs: [docs/]
config: [.wingfoil]
governance: []
runs: [docs/runs/]
diff --git a/.wingfoil/roles.yaml b/.wingfoil/roles.yaml
index 54d817fcda16af046ce6fca8ca16fddc3543a5a3..5dabb0ea9e01699bf1139acd917376321e783156 100644
--- a/.wingfoil/roles.yaml
+++ b/.wingfoil/roles.yaml
@@ -9,9 +9,11 @@ assignments:
- code-quality
- testing
- determinism
+ - project-conventions
reviewer:
- code-review
- traceability
+ - project-conventions
qa:
- testing
architect: