From cf8011196f5879a662a7d84c9f41b4b1d11f0e49 Mon Sep 17 00:00:00 2001 From: Kyle Isom Date: Thu, 2 Apr 2026 15:14:43 -0700 Subject: [PATCH] Fix CLAUDE.md: correct binary names and build targets - Fix cmd/mcr/ to cmd/mcrsrv/ (actual directory name) - Fix make mcr to make mcrsrv, add mcr-web and mcrctl targets - Add cmd/mcrctl/ to package structure Co-Authored-By: Claude Opus 4.6 (1M context) --- CLAUDE.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 0d67332..e931c03 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -12,7 +12,9 @@ MCR (Metacircular Container Registry) is a container registry service integrated ```bash make all # vet → lint → test → build -make mcr # build binary with version injection +make mcrsrv # build API server binary with version injection +make mcr-web # build web UI binary with version injection +make mcrctl # build admin CLI binary make build # compile all packages make test # run all tests make vet # go vet @@ -53,8 +55,9 @@ go test ./internal/server -run TestPushManifest ## Package Structure -- `cmd/mcr/` — CLI entry point (cobra subcommands: server, init, status, snapshot) +- `cmd/mcrsrv/` — API server entry point (cobra subcommands: server, init, status, snapshot) - `cmd/mcr-web/` — Web UI entry point +- `cmd/mcrctl/` — Admin CLI entry point - `internal/auth/` — MCIAS integration (token validation, 30s cache by SHA-256) - `internal/config/` — TOML config loading and validation - `internal/db/` — SQLite setup, migrations (idempotent, tracked in `schema_migrations`)