Compare commits
49 Commits
05d4342810
...
v0.3.1
| Author | SHA1 | Date | |
|---|---|---|---|
| 89d8189c43 | |||
| 1025290dad | |||
| 97e6af85a2 | |||
| 835d638bf3 | |||
| 6c0e0f4d8d | |||
| a7233931f9 | |||
| 85cb951816 | |||
| bd959df78c | |||
| 9ce0f7b5b2 | |||
| 9351b1c74d | |||
| 5bd20cb7b3 | |||
| f774f53cbd | |||
| aefd3421d3 | |||
| e663663e49 | |||
| 1edf3c3347 | |||
| 6a252d989a | |||
| 6f6ea7a967 | |||
| cf67171940 | |||
| 26093f43d5 | |||
| 966b6b8016 | |||
| 6a0bb91f8c | |||
| bfd54d3a44 | |||
| 139cc417a7 | |||
| 95232f6663 | |||
| 0b71f98f37 | |||
| dcbb1279d4 | |||
| d0117e495a | |||
| caabb7f10b | |||
| 101b9174df | |||
| 4a7ed5ed90 | |||
| 2c7a2ee345 | |||
| ee36d35785 | |||
| ad33e1bde3 | |||
| 45e3c2bc02 | |||
| b6137e0eff | |||
| 8606370c79 | |||
| 89c66af5f4 | |||
| 898dd11cbd | |||
| cf350b2754 | |||
| a8efd03c2c | |||
| 7065d190ab | |||
| 069276b8ee | |||
| 252229593d | |||
| 00f7675fb5 | |||
| 5b664ea739 | |||
| 595672466e | |||
| 36c62625fa | |||
| 724faad29d | |||
| a707f1be71 |
11
AGENTS.md
11
AGENTS.md
@@ -8,9 +8,11 @@ It is read by agents working on the Memex / Passepartout project.
|
||||
All development MUST follow this cycle, beginning to end:
|
||||
|
||||
1. **Start in REPL** — Everything begins and ends in the Passepartout REPL (port 9105)
|
||||
2. **TDD in REPL**:
|
||||
1. Write a test (use `passepartout: deftest` or equivalent)
|
||||
2. Run the test → it should FAIL
|
||||
2. **TDD in REPL** — Red-Green-Refactor cycle:
|
||||
1. Write a FAILING test first (use `(passepartout:deftest name ...)` or `fiveam:test`)
|
||||
2. **Prove RED**: Run `(passepartout:run-test 'test-name)` — it MUST fail.
|
||||
If it passes before code exists, the test is broken or testing nothing.
|
||||
Record the failure output.
|
||||
3. Develop code in REPL to make the test pass
|
||||
4. Use lisp-structural-check to validate code while developing
|
||||
5. Evaluate forms with `eval-defun` or equivalent
|
||||
@@ -140,6 +142,7 @@ The TUI process has its own REPL for live development:
|
||||
|
||||
## When Done Means
|
||||
|
||||
- Red proof recorded: Test was run and confirmed FAILING before implementation code existed
|
||||
- Tests pass: `(passepartout:run-tests)` returns success
|
||||
- Code validated: `lisp-structural-check` returns `(values t nil)`
|
||||
- Org reflected: Code exists in .org source file
|
||||
@@ -148,7 +151,7 @@ The TUI process has its own REPL for live development:
|
||||
|
||||
## Boundaries
|
||||
|
||||
- **Always do**: Use REPL first for all development, use TDD, validate with lisp-structural-check
|
||||
- **Always do**: Use REPL first for all development, use TDD, prove tests fail FIRST before writing code, validate with lisp-structural-check
|
||||
- **Ask first**: Before editing .lisp directly (skip org), before deploying, before git commit
|
||||
- **Never do**: Edit .lisp files manually (they're autogenerated), skip validation before commit
|
||||
|
||||
|
||||
Submodule projects/passepartout updated: 3c1ed77c85...a31f19045a
Reference in New Issue
Block a user