Self-Optimization Loop (SOL)
Use this skill when Pafi asks for the complete SOL procedure, SOL governance, SOL prompt optimization workflow, or implementation details for the NexusOS self-optimization loop.
This is distinct from /sol-cycle:
self-optimization-loopis the complete SOL procedure and governance workflow.sol-cycleis the runtime skill for executing one queue item through audit, validation, approval, apply, and Cortex save.
Canonical Procedure
Read and follow the complete imported procedure at:
references/SELF-OPTIMIZATION-LOOP.md
The reference file is an exact copy of the canonical NexusOS procedure from:
/Users/pafi/.nexus/procedures/SELF-OPTIMIZATION-LOOP.md
Execution Rules
- Before modifying prompts or SOL infrastructure, read the canonical procedure reference.
- Use the procedure's phase model: Discover -> Audit -> Build -> Approve -> Apply -> Track.
- Preserve schema, safety rails, approval gates, Cortex persistence, and manifest/queue behavior exactly unless Pafi explicitly asks for a procedure update.
- For one-item runtime execution, delegate to the separate
/sol-cycleworkflow after confirming the queue/audit state. - If the canonical procedure and runtime skill disagree, treat the canonical procedure as policy and the runtime skill as implementation detail.
Codex Model Routing
- Use
gpt-5.6-solwithmaxreasoning for SOL audits, governance decisions, and final verification. - Use
gpt-5.6-solwithhighreasoning for bounded prompt-building passes where the audit already supplies the required changes. - Treat historical Opus/Sonnet actor names in the imported procedure as role labels when executing in Codex; preserve their authority separation even when both roles use GPT-5.6 Sol.