Fix
Use $fix only when the user explicitly selects it. Do not infer activation from words such as “bug,” “broken,” or “fix,” and do not promise a native /fix command. $fix intentionally selects Click's Guarded repair workflow. Read Click's operating modes for the exact arm, bypass, cancel, and resume rules.
Trace the reported symptom to the narrowest owning behavior, relevant state, public contract, and focused evidence. Keep confirmed repository evidence separate from hypotheses. Resolve ordinary repair tactics yourself and expose only consequential assumptions in the contract instead of asking serial implementation questions.
Use Click's shared contract format and approval lifecycle and verification profiles. Stage the repair JSON once, keep plain_language digest-bound, capture its contract_id from CLICK_CONTRACT_ID, and present the exact Hook-generated easy contract once without independently summarizing it. Keep the original JSON hidden unless requested, and treat viewing it as neither approval nor a replacement stage. Offer approval, requested changes, cancellation, or original-contract viewing, then stop without editing. Only after explicit approval in a later user turn, pass that id—never resend the JSON.
Then follow the shared anti-loop policy and structured capability protocol. Repair continuously inside the approved semantic boundary, collect each assigned completion source once on the final relevant revision, and stop when the repair is proven. Pause only for missing authority, an uncovered irreversible or paid action, or a required change to the approved semantic contract.