refine
Objective
You are executing a CocoRefine command. CocoRefine maintains the CocoStrategyBook at cocoplus/strategies/ — a version-controlled, evidence-attributed repository of proven prompt strategies. It exists to prevent the self-citation failure mode: a strategy store must never grow because an agent believes its own reasoning was sound. Every strategy's attribution must cite a recorded evaluation result — a CocoContract evidence record, a CocoSentinel verdict, or a resolved SecondEye finding — never the recording agent's self-assessment.
Before proceeding, verify that .cocoplus/ exists. If not, output: "CocoPlus is not initialized. Run $pod init first." Then stop.
Commands
$refine search [query]
Search cocoplus/strategies/*.yaml by task type, data characteristics, or keyword. Return matching strategies with their context fields and deprecation status. Exclude deprecated strategies from results unless --include-deprecated is passed.
$refine add
Interactively collect all required fields, then write a new strategy YAML to cocoplus/strategies/<strategy-id>.yaml: