From 6cd9204d695211087495d25747586b7f8190d7ce Mon Sep 17 00:00:00 2001 From: Joseph Doherty Date: Sun, 6 Sep 2026 00:46:32 -0400 Subject: [PATCH] =?UTF-8?q?chore(rig):=20Task=2022=20verified=20=E2=80=94?= =?UTF-8?q?=20verify-delmia-notifier=20step=20H=20passes=20on=20the=20rig?= =?UTF-8?q?=20(Flow=20Debugger=20live=20run=20+=20replay)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Rig recreated from the branch-built image through the main checkout's compose file (deploy.sh refuses a worktree, register row 68). Fresh key delmia-flowdbg-0906 scoped to DelmiaRecipeDownload. Full drill: A/B/E/F YES, C/G NO, takeover 29 s, rejoin 3 s, then H live+replay -> YES live: 11 events (InboundRequest, RouteCall, ScriptRun, 7x AttributeWrite, AttributeWait) replay: 17 events on the first attempt — the six extra rows are the simulator's two cascaded ValueChange runs (2x ScriptRun + 4x AttributeWrite): inline TraceEvents carry the routed run's own steps, replay walks the whole execution tree. Recorded as row H in Delmia-Recipe-Download-API.md §8; ledger marks Task 22 completed (all 24 tasks done). Note: the rig still runs main's appsettings, so the ScriptTrace 30-day retention override lands only after merge + a deploy from main. Claude-Session: https://claude.ai/code/session_01GSLkkHKz9JrAtmJjmQK3cP --- docs/api-specs/Delmia-Recipe-Download-API.md | 3 ++- docs/plans/2026-09-05-flow-debugger.md.tasks.json | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/api-specs/Delmia-Recipe-Download-API.md b/docs/api-specs/Delmia-Recipe-Download-API.md index 1b5a1b75..d5c58ff4 100644 --- a/docs/api-specs/Delmia-Recipe-Download-API.md +++ b/docs/api-specs/Delmia-Recipe-Download-API.md @@ -231,7 +231,7 @@ Galaxy. Seeded by CLI only, no DB edits: Whole-path latency through Traefik: a `curl` call returns in under 100 ms (simulator fires on the same node, no device round-trip). -### Verified outcomes (second run, 2026-09-02 16:51 UTC) +### Verified outcomes (second run, 2026-09-02 16:51 UTC; row H from the third run, 2026-09-06 04:48 UTC — A–G re-passed, takeover 29 s, rejoin 3 s) | Case | Setup | Result | Audit row (`ApiInbound`) | |------|-------|--------|--------------------------| @@ -242,6 +242,7 @@ node, no device round-trip). | E | survivor `/health/active` = 200 — takeover measured **27 s** after the kill | `YES` (`:9001` refused → `:9002` 200) | `InboundRequest` on `central-b` | | F | victim restarted, `memberCount=2`, victim `/health/active` = 503 (rejoined as standby) | `YES` (victim relays) | `InboundRequest` on `central-b` | | G | `DownloadPath` = `C:\recipes\x.bad` | `NO` + `Simulated reject: bad path or missing work order` | `InboundRequest` on `central-b`, `Result=false` | +| H | Flow Debugger (2026-09-06 third run, branch `feat/flow-debugger`): `flow-debug run-method` on `DelmiaRecipeDownload`, then `flow-debug replay` on the returned root id | `YES` — live run `completed`, **11** events inline (`InboundRequest`, `RouteCall`, `ScriptRun`, 7 × `AttributeWrite`, `AttributeWait`); replay rebuilt the same root with **17** events on the first attempt (no telemetry lag hit) | `ApiInbound`/`InboundRequest` (actor = operator) + `ScriptTrace` rows; the six extra replay rows are the simulator's two cascaded `ValueChange` runs (rising + clearing edge of `RecipeDownloadFlag`, 2 × `ScriptRun` + 4 × `AttributeWrite`) — inline `TraceEvents` carry only the routed run's own steps, replay walks the whole execution tree | The notifier's first-line contract, exit codes (`0` / `-1`), and the reason line on `NO` behaved as the README states throughout. diff --git a/docs/plans/2026-09-05-flow-debugger.md.tasks.json b/docs/plans/2026-09-05-flow-debugger.md.tasks.json index cfb5b32c..a4c59d59 100644 --- a/docs/plans/2026-09-05-flow-debugger.md.tasks.json +++ b/docs/plans/2026-09-05-flow-debugger.md.tasks.json @@ -191,7 +191,7 @@ { "id": 22, "subject": "Task 22: Rig \u2014 retention override, redeploy, verification step H", - "status": "in_progress", + "status": "completed", "blockedBy": [ 16, 20, @@ -208,4 +208,4 @@ } ], "lastUpdated": "2026-09-06T04:38:41.427413+00:00" -} \ No newline at end of file +}