carlos / platform Public

test: bind the witness edge http listener like production

Co-Authored-By: GPT-6 Astra <noreply@openai.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev c4b2fefbdba17425a36d35dbc2e03842ab83d3ec parent 0fff657
1 file changed, +1 −1
  • internal/host/region_ha_g2_root_fixture_test.go +1 −1

Intent

Human

<task-notification> <task-id>afab7ed716aeb38f9</task-id> <tool-use-id>toolu_016j24UqT3ZRqWGF7zAb8uYR</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/5555438b-7fa2-408d-b2c4-9fa87ea89332/tasks/afab7ed716aeb38f9.output</output-file> <status>completed</status> <summary>Agent "Census approval review (Opus)" finished</summary> <note>A task-notification fires each time this agent stops with no live background children of its own. The user can send it another message and resume it, so the same task-id may notify more than once.</note> <result>**APPROVED.** No root read in this change opens, runs, queries or follows a path or input that a tenant, an app or a box agent can create, write or name. - **Units:** all 88 approved (16 body, 22 sites, 45 new, 5 reads). - **Envelopes:** all 11 re-pinned envelopes approved. - **Classes:** the "legacy" disposition on the 45 new units is right for each one, and the 5 "reads" units only gain field reads that narrow. There are no "removed", "left", "quiet" or "other" units. - **Inventories:** the record-write entries (c40ecadb), the name-class entries (e96fe63f) and the root-read overlay with its chain line (d2d92999) all match the source. - **Escalations:** none. One finding outside the census question, not blocking: on a box with `CARLOS_POOLS` set, the activator now refuses any activator-owned route whose pool the box does not serve. That includes a hand-added or platform row with an empty pool (activator.go:6342 and :1737). This is an availability risk, not a root read. It is worth checking that no such row exists on a pooled box. The verdicts, with file:line evidence, are in /home/paulca/amadan.net/carlos/platform/.claude/worktrees/region-ha-g2-fixes/.superpowers/sdd/2026-11-06-region-ha-g2-fixes/census-review.md.</result> <usage><subagent_tokens>196652</subagent_tokens><tool_uses>39</tool_uses><duration_ms>423001</duration_ms></usage> </task-notification>

Human

<task-notification> <task-id>bnnmw5z8w</task-id> <tool-use-id>toolu_011mAz5hqxVED8eRpq8d35Us</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/5555438b-7fa2-408d-b2c4-9fa87ea89332/tasks/bnnmw5z8w.output</output-file> <status>completed</status> <summary>Background command "Run F-A witness live, run 3" completed (exit code 0)</summary> </task-notification>

diff --git a/internal/host/region_ha_g2_root_fixture_test.go b/internal/host/region_ha_g2_root_fixture_test.go
index 37d012b88..ef1e17f6d 100644
--- a/internal/host/region_ha_g2_root_fixture_test.go
+++ b/internal/host/region_ha_g2_root_fixture_test.go
@@ -408,7 +408,7 @@ func g2ConfigureBox(t testing.TB, role string, config g2Config, iid, ip string,
g2Must(t, err)
text := string(raw)
if name == "carlos-edge.service" {
- text = strings.Replace(text, "ExecStart=/opt/carlos/carlos agent", "ExecStart=/opt/carlos/carlos agent --http 127.0.0.1:8080 --https "+ip+":443", 1)
+ text = strings.Replace(text, "ExecStart=/opt/carlos/carlos agent", "ExecStart=/opt/carlos/carlos agent --http "+ip+":80 --https "+ip+":443", 1)
text = strings.Replace(text, "Restart=always", "Restart=no", 1)
}
if name == "carlos-instance-control.service" {