Goal
Store several named OpenCode presets in one user-owned Git repository. Restore a selected preset on another machine.
Decisions
Use Go and the installed Git executable. Provide init, capture, list, push, pull, and apply. Each preset contains a complete global tree. Keep remote publication explicit. Keep credentials in the process environment and provider authentication on the machine.
Contract work
Update ARCHITECTURE.md acceptance criteria 1-9 for named presets, supported secret detection, safe repeat apply, and version checks. Define conflict and managed-file deletion rules before implementation.
Verification
Add unit and local Git integration tests. Check secret refusal, remote conflicts, preset switches, path boundaries, and missing environment values. Run documentation checks and a native CI test matrix.
Deferred
Project overlays, preset inheritance, external tool installation, web console, and wipe.
Goal
Store several named OpenCode presets in one user-owned Git repository. Restore a selected preset on another machine.
Decisions
Use Go and the installed Git executable. Provide init, capture, list, push, pull, and apply. Each preset contains a complete global tree. Keep remote publication explicit. Keep credentials in the process environment and provider authentication on the machine.
Contract work
Update ARCHITECTURE.md acceptance criteria 1-9 for named presets, supported secret detection, safe repeat apply, and version checks. Define conflict and managed-file deletion rules before implementation.
Verification
Add unit and local Git integration tests. Check secret refusal, remote conflicts, preset switches, path boundaries, and missing environment values. Run documentation checks and a native CI test matrix.
Deferred
Project overlays, preset inheritance, external tool installation, web console, and wipe.