/session
- Parse
$ARGUMENTS— subject and N. If missing, ask:What subject, and how many questions? (e.g.,
Evidence 10orContracts 5 --essay.) - Load
~/.codebuddy/plugins/config/legal-workflows/law-student/practice-profile.md→ jurisdiction, exam format, weak subjects. - Load
~/.codebuddy/plugins/config/legal-workflows/law-student/study-plan.yamlif it exists. Readsession_historyfor this subject to weight subtopics toward where the student has been weak. - Route by method flag:
--flashcards: loadflashcardsskill, run N cards in--drillmode.
- Run N questions one at a time. After each, explain right/wrong and flag rule-body when jurisdictions diverge.
- At session end, write session results:
- If
study-plan.yamlexists: append tosession_historyper the schema in thestudy-planskill. - If not: write to
~/.codebuddy/plugins/config/legal-workflows/law-student/session-history.yaml.
- If
- Report:
- Score: X/N (percentage)
- Missed: list with subtopic tags
- Weak subtopics this session
- Pattern vs. prior sessions on this subject (if history has 2+ prior)
- What the plan now recommends next