| name | productionos-session-validate |
| description | End-of-session self-training — captures session metrics, extracts patterns via metaclaw-learner, updates instincts, and generates optimization hypotheses for the next run. |
| argument-hint | [mode or session scope] |
productionos-session-validate
Use this alias when you want the same workflow through a top-level Codex-safe name without the productionos: namespace.
Overview
Use this as the Codex-first end-of-session learning workflow. It should summarize the session, extract useful lessons, and prepare the next run to be better instead of letting the session context evaporate.
Source references:
.claude/commands/session-validate.md
agents/metaclaw-learner.md
Inputs
- optional
mode: quick, standard, or deep
Codex Workflow
- Read the session artifacts and metrics.
- Summarize what happened.
- Extract lessons and patterns worth keeping.
- In deeper mode, generate optimization hypotheses for future runs.
- Write a session report and update the learning store.
Expected Output
- session metrics
- extracted lessons
- optimization hypotheses where applicable
- end-of-session report
Guardrails
- do not modify source code
- keep the learning artifacts additive and traceable
- if the signal is weak, avoid pretending there were meaningful lessons