feat(practice): default to delivery mode with scoped practice learning mode

- Default session mode to delivery in profile/AGENTS.md

- Scope practice skill execution to learning mode with automatic return to delivery

- Add decision amendment in docs/decisions/0001-session-mode-and-learning-contract.md
This commit is contained in:
kiskaadee committed 2026-11-01 10:10:33 -05:00
1 parent d6e7b8488c
commit 27b9fd8059
3 files changed
+20 -9

No files matched your search

@@ -73,3 +73,13 @@ Chosen option: **Option 3: Profile-level session state and shared learning contr
* **Governing Specification**: [learning-contract.md](../../profile/learning-contract.md)
* **Global Agent Profile**: [AGENTS.md](../../profile/AGENTS.md)
* **Installation Script**: [install.sh](../../install.sh)
## Amendment (2026-11-01): Default Delivery Mode and Scoped Practice Learning Mode
### Context
Asking the user to pick a mode on first skill invocation introduced initial prompt friction during routine delivery work. Additionally, users invoking `/practice` intentionally seek deliberate practice and Socratic retrieval without wanting to perform a separate manual mode toggle beforehand.
### Decision
1. **Default to Delivery**: The baseline session mode defaults to `delivery` without prompting.
2. **Practice Scoped Transition**: Invoking `practice` automatically transitions execution to `learning` mode for the duration of the practice topic, returning to `delivery` mode upon completion.
3. **Manual Override Preserved**: The user retains full control to manually switch session modes ("learn" / "deliver") at any time.
+7 -6
View File
@@ -46,12 +46,13 @@ whether I really understood something), don't make it for me:
- Two states: `learning` (I write the reasoning) and `delivery` (you may draft). Rules:
`learning-contract.md` next to this file (source: `profile/learning-contract.md`).
- One mode per session. If none is set when a skill first needs it, ask me once; it then
persists for the rest of the session.
- Only I switch modes ("learn" / "deliver"). You may suggest a switch, never make it yourself.
- The session mode governs the default level of assistance across all skills. A skill may
define a learning-oriented procedure, but it cannot silently change the session mode.
Show `mode: <state>` at the top of skill output.
- Default: `delivery` is active unless specified otherwise.
- Explicit mode switching: Only I switch session modes ("learn" / "deliver"). You may
suggest a switch, never make it yourself.
- Practice exception: Invoking `practice` operates in `learning` mode for the duration
of the practice session, automatically returning to `delivery` mode upon completion.
- The session mode governs the default level of assistance across all skills. Show
`mode: <state>` at the top of skill output.
## Skills and docs
+3 -3
View File
@@ -11,8 +11,8 @@ description: >-
- `/practice [topic or problem]`, `/practice review`, LeetCode practice, "teach me".
- Works in any repo or as a pure concept question. No curriculum needed.
- Not for urgent production failures: use `diagnose`.
- Socratic practice procedure. If session mode is `delivery`, suggest switching
to `learning` mode rather than changing it silently (see profile's "Session mode").
- Socratic practice procedure. Runs in `learning` mode for the practice session,
returning to `delivery` mode upon completion (see profile's "Session mode").
## Steps
1. **Check overdue revisits.** If invoked as `/practice review` or with no topic given, scan
@@ -43,7 +43,7 @@ Never edit files in working repo or run implementation commands unless explicitl
with computed `revisit_after`.
## Done when
- I solve the transfer challenge, complete the unaided revisit, or close the topic.
- I solve the transfer challenge, complete the unaided revisit, or close the topic (returns mode to `delivery`).
## Hands off to
- `document`: when a durable insight came out of the session.