Safely update shipped bundles and generated artifacts with manifest, integrity, and smoke-test discipline.
Run bounded iterative loops with explicit criteria, persisted state, compact summaries, and stop conditions.
Distill recurring prevention points from project patch history into learned project rules.
Capture bug-fix knowledge as reusable project patch artifacts after evidence-based fixes.
Answer only from verified evidence and refuse to guess when certainty is incomplete.
Interview the user, inspect the current repository, and bootstrap project-specific OpenCode intelligence safely.
Turn repository evidence and user answers into persistent project-specific rules, profile data, and workflow artifacts.
Diagnose and fix bugs using repro steps, logs, diagnostics, tests, and the smallest safe diff.