Skip to content

Commit 3d2b609

Browse files
author
Nils Bars
committed
Document exercises/ as the authoritative exercise source path
Call out that exercises/ is the editable path, backup_exercises/ is stale, and data/data/imported_exercises/ is webapp-managed.
1 parent 7ba224f commit 3d2b609

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.claude/CLAUDE.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,10 @@ Client (ssh exercise@host -p 2222)
213213

214214
Never create, edit, or delete files under `data/` unless explicitly asked by the user. This directory contains live exercise definitions, student data, and database files. The exercise import path is configured in `settings.yaml` (default: `ref/exercises`).
215215

216+
## Exercise Source Definitions
217+
218+
The authoritative, editable exercise definitions live in `exercises/` at the repo root (e.g. `exercises/01_sqlite_generator/settings.yml`). This is where to go when asked to modify "the exercises" — bump a `version:`, change `build-cmd`, adjust resource limits, etc. `backup_exercises/` is a stale copy and should not be edited. The live, imported copy under `data/data/imported_exercises/` is managed by the webapp and must not be edited directly.
219+
216220
## Code Comments
217221

218222
- Do not reference line numbers in comments (e.g., "see ssh.py lines 397-404"). Line numbers change frequently and become outdated. Reference functions, classes, or use direct code references instead.

0 commit comments

Comments
 (0)