5 Commits

Author SHA256 Message Date
Alphaeus Mote 13742a1087 chore(test): Test.ps1 -IncludeDeploy runs deploy.sh's database decision tests
CI / build-test (push) Successful in 42m14s
CI / images (push) Has been skipped
Release / release (push) Successful in 20m21s
Release / images (push) Successful in 6m54s
Release of the work since v1.6.1: bundled Postgres by default, Restart After Run with an agent-held timer and optional warning, S3 pre-run downloads, parallel dispatch and batched job states, script sequences, parallel upgrade fan-out and the reconnect storm fixes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 11:23:19 -05:00
Alphaeus Mote 31869b17ba build(version): packaging and release scripts use semantic versions
Build, Test and the packaging scripts take the version from
Get-Version.ps1 and the short commit from the same place. Both MSIs get
the four-field version as ProductVersion (X.Y.Z.0 for a release, X.Y.Z.N
between releases) instead of the calendar transform. Checksums and release
assets take only their own version's files (1.4.0 no longer matches
1.4.0.7's).

Publish-Release.ps1 creates the tag vX.Y.Z on the released commit and the
release "ExecuteR X.Y.Z" with semantic-release's notes (-NotesFile,
-Prerelease), reuses both on a re-run of the same commit, refuses a version
already tagged on another commit and skips assets uploaded whole.

deploy.sh builds from source with the git version (0.0.0.0 without git)
and runs the images it built by that tag. Test.ps1 runs the watchdog
tests too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 20:49:46 -04:00
Alphaeus Mote f4c7f3e68e chore: no SvelteKit left behind; Node 22 checked at setup
- The MVP design spec (read by coding agents as guidance) now describes
  the React/MUI console on the Mantis Pro shell: stack, folder layout,
  live-update path, UI conventions, image build (Vite dist/ served by
  server.mjs), CI step and architecture diagram, so later work does not
  drift back to Svelte.
- .editorconfig covers .tsx/.mjs instead of .svelte; Test.ps1 help names
  the WebUI typecheck + lint.
- Initialize-Repository.ps1 refuses Node older than 22 up front (the NATS
  browser client needs it; npm's engines check already enforced it later).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 22:18:56 -04:00
Alphaeus Mote c56b6d6f55 feat(webui)!: move the console to React + MUI 9 on the Mantis Pro shell
Replaces the SvelteKit app with a Vite/React 19 console built on the Mantis
Pro 4.2.0 seed (MUI 9.0.1): its theme system, component overrides, drawer
and header, restyled to the slate surfaces and blue accent of the house
consoles, with light/dark/system modes on CSS variables.

This commit is the shell; pages move over in the commits that follow
(routes show a placeholder until then).

- Session context with can(permission); navigation entries the session
  cannot use stay visible, disabled, and say why on hover.
- One API module (cookie auth + CSRF double-submit; a 401 returns to
  sign-in with a safe returnUrl) and SWR for cached, shared reads.
- The browser NATS client is unchanged apart from exposing its connection
  state to React; the header shows it as Live/Connecting/Offline.
- Shared building blocks: PageHeader, DataTable (sort, paging, row
  selection, toolbar slot), TreeList (keyboard, context menu, drag and
  drop), ActionMenu (menus as data, greyed entries explain themselves),
  ConfirmDialog, Sheet, GatedButton, StatusChip and time/format helpers.
- Sign-in keeps local, OIDC, auto-redirect, ?local=1 and the forced
  first-password change.

Build/deploy: `vite build` writes dist/. The webui image now serves it
with a dependency-free server.mjs (SPA fallback, immutable asset caching,
traversal-safe) on the same port 3000, so compose/k8s/swarm and their
health checks are unchanged; Package-Server embeds dist/ instead of the
adapter-static output. `npm run check` is now typecheck + ESLint.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 21:04:58 -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