3 Commits

Author SHA256 Message Date
Alphaeus Mote 2e00b8df83 build(version)!: semantic versions from release tags
Releases are X.Y.Z from git tags vX.Y.Z; builds between releases are
X.Y.Z.N, N commits after the last release (git describe, 1-3 digit majors
only, so the calendar-era tags never count); with no release tag reachable
a build is 0.0.0.<commits>. Every version is 3-4 numeric fields, refused
when it does not fit an MSI ProductVersion or has a calendar-era major.

scripts/Get-Version.ps1 computes it (Get-UnifiedVersion.ps1 stays as the
old entry point). scripts/Get-NextRelease.ps1 runs semantic-release in
dry-run mode (pinned in build/release, conventionalcommits preset, main
only) for the version a release publishes, or for nothing when the commits
since the last release call for none. Directory.Build.props stamps
four-field assembly/file versions and InformationalVersion
X.Y.Z[.N]+<short commit>; a build not handed a version reads it from git
(build/Version.targets), otherwise 0.0.0.0.

BREAKING CHANGE: versions are no longer yyyy.MM.dd.HHmm. The first release
after the seed tag v0.1.0 is 1.0.0, which every comparison orders after
every calendar-era version.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 20:49:46 -04:00
gsadmin ef40540f17 CI: one deterministic version (commit time) so images/binaries dont drift [skip ci]
The images job recomputed the version with its own `date` clock while build-test
used Get-UnifiedVersion, so a build spanning a minute landed the container images
and the binaries a minute apart (e.g. ...1041 vs ...1042).

- Get-UnifiedVersion now derives the version from the HEAD commit's committer
  time (UTC) when not given one explicitly, so every job and workflow building
  the same commit computes the same version — deterministic, reproducible.
- The images job no longer recomputes: build-test exposes its version as a job
  output and images consumes needs.build-test.outputs.version.
- release.yml already calls Get-UnifiedVersion, so it now matches ci.yml for the
  same commit too.

Verified locally: the version equals the HEAD commit time, is stable across
calls, and an explicit -Version / UNIFIED_VERSION still wins.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-11 07:03:55 -04:00
gsadmin eab5d78ce3 Infra: NATS operator-mode config, Compose stack, Dockerfiles, scripts, WebUI scaffold
- nats.conf: JetStream + WebSocket listener behind reverse proxy, file resolver
- docker-compose(.dev).yml: nats/backend/webui with health checks and volumes
- Multi-stage backend/webui Dockerfiles (non-root, unified version labels)
- Scripts: unified version, build, test, icon generation (ImageMagick via
  winget when missing), agent packaging with checksums, local secrets and
  repo initialization
- SvelteKit WebUI scaffold (Svelte 5, adapter-node, TS) with NATS core,
  nkeys, Monaco and xterm dependencies
- Placeholder icon source + assets/secrets documentation

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-06 18:43:09 -04:00