Skip to content
This repository was archived by the owner on Sep 8, 2026. It is now read-only.
This repository was archived by the owner on Sep 8, 2026. It is now read-only.

Build the Go v0.1 CLI with remote named presets #4

Description

@Neverdecel

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions