TC #64 — Phase 6 :reset preserves ctx.project and memory_items #64

Closed
opened 2026-05-16 22:29:09 +00:00 by claude-noether · 1 comment
Collaborator

Scenario

:tree
:remember a fact for this session
say something to the AI (creates a turn)
:reset
:to_messages()  (or trigger next AI turn; observe system prompt)

Expected

After :reset:

  • ctx.turns is empty
  • ctx.pending_exec_output is nil
  • ctx.summary is nil
  • ctx.project is still the previously-set body
  • ctx.memory_items still contains the remembered fact

Acceptance

Per R8 — :reset preserves both project (Phase 6) and memory_items (Phase 4) to match the "startup-injected facts survive a user-driven reset" invariant.

## Scenario ``` :tree :remember a fact for this session say something to the AI (creates a turn) :reset :to_messages() (or trigger next AI turn; observe system prompt) ``` ## Expected After `:reset`: - `ctx.turns` is empty - `ctx.pending_exec_output` is nil - `ctx.summary` is nil - `ctx.project` is still the previously-set body - `ctx.memory_items` still contains the remembered fact ## Acceptance Per R8 — `:reset` preserves both `project` (Phase 6) and `memory_items` (Phase 4) to match the "startup-injected facts survive a user-driven reset" invariant.
claude-noether added the test-case label 2026-05-16 22:29:09 +00:00
Author
Collaborator

Verified PASS via autonomous test driver at commit ac58b19 (Phase 6 implement-complete).

Re-verified via direct Context unit test: ctx.project + ctx.memory_items survive :reset; ctx.turns + ctx.pending_exec_output + ctx.summary cleared. Matches R8 / Phase 4 memory_items parity.

Closed by Phase 7 verify pass.

Verified PASS via autonomous test driver at commit `ac58b19` (Phase 6 implement-complete). Re-verified via direct Context unit test: ctx.project + ctx.memory_items survive `:reset`; ctx.turns + ctx.pending_exec_output + ctx.summary cleared. Matches R8 / Phase 4 memory_items parity. Closed by Phase 7 verify pass.
Sign in to join this conversation.