Capture transport addresses in state

This commit is contained in:
jwinterm
2026-07-06 07:00:04 -04:00
parent c52e700b6f
commit bf2a171ec6
16 changed files with 907 additions and 20 deletions
+56
View File
@@ -68,6 +68,38 @@ class TransportInteractionCapability:
CONFIG_FIELDS = (
ConfigField(
"gateway",
"state_dir",
"path",
False,
"./.ampg/state",
"AMPG-owned daemon state and captured address registry root.",
),
ConfigField(
"gateway",
"cache_dir",
"path",
False,
"./.ampg/cache",
"AMPG cache root for generated intermediate data.",
),
ConfigField(
"gateway",
"run_dir",
"path",
False,
"./.ampg/run",
"Runtime socket and process metadata root for managed daemons.",
),
ConfigField(
"gateway",
"user",
"string",
False,
"",
"Preferred service user for generated managed-daemon artifacts.",
),
ConfigField("site", "id", "string", True, "", "Stable site identifier used in output paths."),
ConfigField("site", "domain", "string", True, "", "Canonical public domain for the site."),
ConfigField("site.source", "kind", "enum", True, "static-html", "Source adapter kind."),
@@ -179,6 +211,30 @@ CONFIG_FIELDS = (
"protocol default",
"Whether AMPG adopts, manages, or only renders config.",
),
ConfigField(
"site.protocols.<name>",
"fixture_url",
"url",
False,
"",
"Published URL used in fixture manifests and health plans.",
),
ConfigField(
"site.protocols.<name>",
"browser_url",
"url",
False,
"",
"Browser-facing URL alias used when fixture_url is not set.",
),
ConfigField(
"site.protocols.<name>",
"address_file",
"path",
False,
"",
"Daemon-written public address file consumed by addresses capture.",
),
ConfigField(
"site.protocols.<name>",
"max_asset_bytes",