You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add internal/registry: a pure-Go (oras-go/v2, CGO-free) OCI template-registry
seam behind a TargetResolver interface (real remote.Repository w/ docker creds;
tests round-trip through an in-memory oras store, no network). Deterministic
bundle tar packaging (content-addressed digest), mandatory digest verification
on pull, and a cosign Verifier/Signer seam (shells cosign, matching
internal/selfupdate's CGO-free precedent; mock-able for tests).
Graduate the template.go stubs to real commands: push, add (tag→digest pin +
verify + digest-keyed cache + lockfile entry, lock-guarded), update (re-resolve
w/ --dry-run), diff (render-diff pinned vs remote), verify (re-pull + signature),
and ls. Store config gains a digest-pinned `templates:` lockfile; remote
templates are chained into the generate/lint/test source (embedded < store <
remote), digest-pinned and offline-first so generation stays byte-deterministic.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments