fix(dev): rename dev seed to .vagent and target /api/v1/agent (VA-66) #73
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/VA-66-dev-vagent-rename-and-path"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Fixes the broken dev
.vagenttooling and points it at the real agent control path, plus documents cert-pin under TLS offload (parent epic VS-54).Changes
run/vervain-agent.msh{,.template}->run/vervain-agent.vagent{,.template}. The justfile already referencedrun/vervain-agent.vagent.template, but the tracked files were the pre-VS-42.mshnames, sojust ensure-settings/ensure-settings-hosthit the missing-template branch and exited 1. Completes the VS-42.msh -> .vagentrename./agent.ashx->/api/v1/agentin the template, the dev seed, and the justfile's echoed render line, matching the server'swire_paths::AGENT_WS_PATH.run/artifacts (*.vss,install.secret,*.vagent.bak).Dev target host
VERVAIN_SERVER_HOSTdefaults to the dev API serverdev-vervain-server-app-dev; host mode forces127.0.0.1. Neither is a frontend host.Cert-pin under TLS offload
The handshake has two independent pins, so it stays correct when a proxy terminates TLS:
VERVAIN_CERT_URL(VS-27) makes it fetch + advertise the proxy cert. Without it the handshake fails closed withServerCertMismatch.The live offload end-to-end run (agent against a Traefik-terminated dev endpoint) is an operational verification step; the pin logic and configuration are confirmed in code and documented.
Verification
just ensure-settings->ws://dev-vervain-server-app-dev:4302/api/v1/agent(exit 0);just ensure-settings-host->wss://127.0.0.1:.../api/v1/agent(exit 0). Pre-commit (fmt + clippy + check + test) green.Acceptance criteria
just ensure-settings/ensure-settings-hostsucceed from a clean checkout..vagentServerURL/GroupServeris on/api/v1/agentat the dev API host.run/*.msh*remain; onlyrun/*.vagent*.