Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Make investigation wiring checks ignore field alignment

rcourtman17aa972f3572
diff --git a/docs/qualification/PATROL_ASSISTANT_CUSTOMER_JOURNEY.md b/docs/qualification/PATROL_ASSISTANT_CUSTOMER_JOURNEY.md
index 32bfc6ce79..6832f45d81 100644
--- a/docs/qualification/PATROL_ASSISTANT_CUSTOMER_JOURNEY.md
+++ b/docs/qualification/PATROL_ASSISTANT_CUSTOMER_JOURNEY.md
@@ -3491,3 +3491,24 @@ stopped because the registry's explicit store-proof list did not name the new
persistence/concurrency regression and the new policy-redaction regression.
No contract-neutral or completion override was used. The full hook must pass on
the revised exact tree before commit.
+
+
+### Core delivery check correction, 2026-09-07
+
+Core PR1960's initial head `c501376843431e1812abd42da16888b462b41dc3`
+passed full frontend tests, both non-API backend race shards, all eight E2E
+shards, governance, security and paired benchmarks. Its API race suite ran
+1607.764 seconds and reported one failing test:
+`TestContract_AssistantFindingContextUsesModelOnlyHandoff`. The guard expected
+thirteen spaces before `runResult.ModelTurns`, although gofmt correctly changed
+field alignment after the result structure changed. No runtime assertion or
+race failure was reported by that shard.
+
+The static wiring guard now normalizes whitespace before comparing its required
+snippets. It still requires the same identifiers and wiring, and its forbidden
+adapter assertions remain intact. The correction changes only the test, not
+model behavior or the qualified runtime. The exact failing test and repository
+checks must pass before this delivery is counted complete. The failed API job is
+[101809873027](https://github.com/rcourtman/Pulse/actions/runs/34143221580/job/101809873027),
+with its raw log retained in workspace
+`tmp/patrol-planning-continuation/core-api-c501.log`.
diff --git a/docs/release-control/v6/internal/status.json b/docs/release-control/v6/internal/status.json
index f3532ca3f8..06226334d5 100644
--- a/docs/release-control/v6/internal/status.json
+++ b/docs/release-control/v6/internal/status.json
@@ -10405,11 +10405,11 @@
{
"id": "patrol-planning-continuation-coverage-gap-patrol-assistant-customer-outcome-qualification",
"agent_id": "patrol-planning-continuation",
- "summary": "Complete canonical planning, outcome history, linked Assistant qualification and scoped landing",
+ "summary": "Finish verified core landing and record the separate wider rollout gate",
"target_id": "v6-product-lane-expansion",
"claimed_at": "2026-09-07T11:10:27Z",
- "heartbeat_at": "2026-09-07T15:35:32Z",
- "expires_at": "2026-09-07T17:35:32Z",
+ "heartbeat_at": "2026-09-07T17:02:18Z",
+ "expires_at": "2026-09-07T19:02:18Z",
"work_item": {
"kind": "coverage-gap",
"id": "patrol-assistant-customer-outcome-qualification"
diff --git a/internal/api/contract_test.go b/internal/api/contract_test.go
index c42d812917..8950ca1650 100644
--- a/internal/api/contract_test.go
+++ b/internal/api/contract_test.go
@@ -1197,6 +1197,9 @@ func TestContract_AssistantFindingContextUsesModelOnlyHandoff(t *testing.T) {
}
settingsHandlerText := string(settingsHandlerSource)
+ // Gofmt aligns keyed fields with their neighbours. Wiring checks must not
+ // fail merely because adding or removing another field changes that padding.
+ settingsHandlerWiring := strings.Join(strings.Fields(settingsHandlerText), " ")
// Patrol remediation now enters as a typed action proposal through the
// required action broker; the investigation adapter carries no
// command execution, no autonomy, and no command-shaped approval
@@ -1210,7 +1213,7 @@ func TestContract_AssistantFindingContextUsesModelOnlyHandoff(t *testing.T) {
"ModelTurns: runResult.ModelTurns",
"EvidenceCalls: runResult.EvidenceCalls",
} {
- if !strings.Contains(settingsHandlerText, required) {
+ if !strings.Contains(settingsHandlerWiring, strings.Join(strings.Fields(required), " ")) {
t.Fatalf("ai_handlers.go must wire the typed investigation proposal channel: missing %q", required)
}
}