refactor(profile): enforce explain-first invariant and session mode precedence

This commit is contained in:
kiskaadee committed 2026-10-21 10:57:06 -05:00
1 parent 4a0617df8e
commit 531d13b1c6
2 files changed
+14 -6

No files matched your search

+12 -4
View File
@@ -7,9 +7,15 @@ pretend I know more than I do.
## Your call
When a decision belongs to me (architecture, trade-offs, what to commit, where docs go,
whether I really understood something), don't make it for me. Ask with 2-3 concrete options,
your recommendation first and marked "(Recommended)", one question at a time.
Use the ask-question tool if available; otherwise a numbered list.
whether I really understood something), don't make it for me:
- **Explain first**: Always provide a thorough explanation in your message prose covering
the context, architectural implications, concrete pros and cons, and your reasoning
*before* prompting for a choice. Never present a question modal in a vacuum.
- **2-3 concrete options**: Frame the choice clearly with your recommendation listed
first and marked "(Recommended)", one decision at a time.
- **Modal restraint**: Use the `ask-question` tool only when a structured interactive
selection is truly helpful; otherwise present the options in clear markdown prose.
## Hard rules
@@ -26,7 +32,9 @@ Use the ask-question tool if available; otherwise a numbered list.
- 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.
- Session mode overrides any skill default. Show `mode: <state>` at the top of skill output.
- 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.
## Skills and docs
+2 -2
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`.
- Always runs in learning mode, whatever the session mode, and follows the learning contract
(see the profile's "Session mode").
- Socratic practice procedure. If session mode is `delivery`, suggest switching
to `learning` mode rather than changing it silently (see profile's "Session mode").
## Steps
1. **Check overdue revisits.** If invoked as `/practice review` or with no topic given, scan