fix(controlplane): stored container policies replace file profiles; add profile image and workflow examples

A stored container-runtime-policies document that carries Profiles now
replaces the file's profiles instead of merging into them, so a profile
deleted in the dashboard stays deleted; one stored before profiles existed
still inherits the file's. Profiles drop their json tags so the stored
document keys them like its other fields.

Adds examples/profiles/Dockerfile.agent-net (agent image plus network
lookup tools) with a build-only agent-net compose service,
examples/workflows/firewall-investigate.yaml with a test that parses every
example against the registered step vocabulary, and names the postgres
service in the compose header.
This commit is contained in:
sam committed 2026-09-24 20:58:08 +10:00
1 parent 7b7aa62c28
commit 4046766abe
8 files changed
+128 -7

No files matched your search

+4 -2
View File
@@ -461,9 +461,11 @@ target = "127.0.0.1:9090" # REQUIRED. The State Store gRPC address arch
#
# Agent profiles a workflow selects with `profile: <name>`. A workflow that
# names none runs under [containers].image with every tool.
# Once the State Store holds container policies, edit profiles in the
# dashboard (Settings, Advanced); a stored set replaces the file's.
# [containers.profiles.network-investigator]
# image = "ghcr.io/samcharles93/archie-agent-net:latest" # empty uses [containers].image
# tools = ["whois", "dns_lookup"] # allowlist over MCP, script and plugin tools; empty allows all
# image = "archie-agent-net:local" # docker compose build agent-net; empty uses [containers].image
# tools = [] # allowlist over MCP, script and plugin tools; empty allows all
# At least one [[repos]] entry is required before archied will poll
# anything -- it is deliberately left commented rather than shipped active: