diff --git a/skills/agent-install-assets/SKILL.md b/skills/agent-install-assets/SKILL.md new file mode 100644 index 0000000..ef69f72 --- /dev/null +++ b/skills/agent-install-assets/SKILL.md @@ -0,0 +1,14 @@ +--- +name: heimdall-agent-install-assets +description: Serve and validate native Heimdall Agent installer assets from Central. +--- + +# Native Agent installer assets + +Read `AGENTS.md`, the `AGENT-INSTALL-ASSETS` entry in `todo.md`, and `skills/compose-disposable-recipe/SKILL.md` before changing Central asset delivery. + +`Heimdall.Web.csproj` publishes the Linux/Windows installers and supervisors under `wwwroot/install/`; `Program.ConfigureMiddleware` serves them through ASP.NET Core static files. The default MIME table does not recognize `.py`, so explicitly map `.py` with `FileExtensionContentTypeProvider`; otherwise the supervisor returns 404 even when the file exists in the publish output. + +For acceptance, build Central from the changed source in a disposable Compose project. Require `/healthz` healthy and GET `/install/install-agent.sh` plus `/install/agent-supervisor.py`; both must return HTTP 200 and byte-for-byte match `install/` sources. Use generated credentials, isolated ports/project volumes/network, a unique local image tag, and an EXIT cleanup trap installed before build. Verify no project containers, volumes, or networks remain and remove/verify absence of the exact built tag. Keep shared base images. + +This proves only source-built Central behavior. Verify the deployed Central after its image has been published and restarted before considering a field incident resolved. diff --git a/src/Heimdall.Web/Heimdall.Web.csproj b/src/Heimdall.Web/Heimdall.Web.csproj index feb0bc7..b7b0df0 100644 --- a/src/Heimdall.Web/Heimdall.Web.csproj +++ b/src/Heimdall.Web/Heimdall.Web.csproj @@ -15,6 +15,7 @@ +