diff --git a/ARCHITECTURE.md b/ARCHITECTURE.md index a7dfb13..e050279 100644 --- a/ARCHITECTURE.md +++ b/ARCHITECTURE.md @@ -708,7 +708,8 @@ sgard/ sgardpb/ # Generated protobuf + gRPC Go code proto/sgard/v1/ # Proto source definitions - flake.nix # Nix flake (builds sgard + sgardd) + VERSION # Semver string, read by flake.nix; synced from latest git tag via `make version` + flake.nix # Nix flake (builds sgard + sgardd, version from VERSION file) .goreleaser.yaml # GoReleaser (builds both binaries) ``` diff --git a/PROGRESS.md b/PROGRESS.md index 1df9a4b..7a2bf16 100644 --- a/PROGRESS.md +++ b/PROGRESS.md @@ -112,3 +112,4 @@ Phase 6: Manifest Signing (to be planned). | 2026-03-25 | — | Deploy sgardd to rift: Dockerfile, docker-compose, mc-proxy L4 route on :9443, Metacrypt TLS cert, DNS. | | 2026-03-25 | — | `sgard remote set/show`: persistent remote config in `/remote.yaml` (addr, tls, tls_ca). | | 2026-03-26 | — | `sgard list` remote support: uses `resolveRemoteConfig()` to list server manifest via `PullManifest` RPC. Client `List()` method added. | +| 2026-03-26 | — | Version derived from git tags via `VERSION` file. flake.nix reads `VERSION`; Makefile `version` target syncs from latest tag, `build` injects via ldflags. |