agnes-the-ai-analyst/app/web
David Rybar 3167d37a56 feat(web): operator-owned Support callout in welcome hero
New `instance.support` (`AGNES_INSTANCE_SUPPORT` env override)
config field renders operator-authored HTML in a mint-accent
callout panel inside the welcome hero on /home, below the Overview
footnotes. Designed for a one-line invitation pointing at a chat
space, mailing list, or runbook so every user knows where to ask
for help.

- `get_instance_support()` helper mirrors `get_instance_overview()`
  (env > yaml > "" resolution, `| safe` filter trust boundary).
- Wired into the home template context as `config.INSTANCE_SUPPORT`.
- Template renders the callout inside the welcome hero, after the
  Overview footnotes block — empty yaml hides the block so the OSS
  stays vendor-neutral.
- Registered in `_KNOWN_FIELDS["instance"]` so the field appears
  in `/admin/server-config` as "Available but unset" even before
  the operator populates it (discoverability for first-time setup).
- 4 new tests cover the gated render path, the hidden-when-unset
  path, and independence from `instance.overview`.

Operators who want to fill the block via terraform write the body
to `modules/.../assets/support.html` in their infra repo and
include it in the startup.sh yaml heredoc — the OSS template
treats this as one more `| safe`-rendered field, no other plumbing
needed.
2026-05-22 14:04:24 +02:00
..
static fix(theme): apply navy palette to login hero panel under navy theme 2026-05-21 11:34:31 +02:00
templates feat(web): operator-owned Support callout in welcome hero 2026-05-22 14:04:24 +02:00
__init__.py feat: add FastAPI server with auth, RBAC, and all API endpoints 2026-03-27 15:19:18 +01:00
connector_prompts.py fix(web): GWS verify step — drop fragile JSON-parse + add anti-footgun guidance 2026-05-21 18:21:33 +04:00
router.py feat(web): operator-owned Support callout in welcome hero 2026-05-22 14:04:24 +02:00
setup_instructions.py fix(web): install-prompt Step 2 + restart cue match Desktop install path 2026-05-21 18:17:25 +04:00