carlos / platform Public

host: label the startup measurement as the pre-change order

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 847218b8c842247c47e0eea6a46c351fb080cb95 parent c1d3eb8
1 file changed, +1 −1
  • internal/host/startupmeasure_e2e_test.go +1 −1

Intent

Human

<task-notification> <task-id>acfdf5f043a273cf9</task-id> <tool-use-id>toolu_01K4sqkJqr87hSinCSUuHAXB</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/68be7e6f-7841-4936-9fa0-2041da778685/tasks/acfdf5f043a273cf9.output</output-file> <status>completed</status> <summary>Agent "Implement Task 4: first pass on arming" 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>Status: DONE. Astra's P1, all the P3s and the J4 CI failure are fixed in `c1d3eb8e`; the new test failed on the old code and passes now. Fix range: `eb870914..c1d3eb8e` (`eb870914` is the runs-witness fix, `c1d3eb8e` is this wave). Tests: - The new overlap test (`TestFastBootRequestDuringTheSeedsIsNeverHalfTaken`) failed on the old code: tick 1 seeded the serial while the baselines were unread, and with that check skipped the restart request was lost. It passes now. - The `ready()` pin and the re-run pass check also failed with their code removed and pass with it. - The fastboot tests pass under `-race` 3 times. 433 related host tests pass, with 1 env-gated skip. - Census, 9B8, J4 coverage and GroupNameClass pass. Vet is clean and the darwin and windows builds pass. Steps moved vs kept: - The restart and wake baselines now start first, before the moves hold and offline view walks. - Until those baselines finish, `fastTick` skips the serial read. - `restartSeed` is called directly again, which fixes J4. Tests hold the two baselines through a hook. - The views still run before the first pass. The runs boot pass, schedule converge and system observe run after the views, beside tick 1. Concerns: 1. New boot behaviour: if tick 1 ran the boot full pass while the serial read was held, one more full pass runs after the serial is seeded. Without it, a create landing during that boot pass would wait for instancesLoop. 2. The restart seed now lists the routes itself instead of using the arming snapshot. That's harmless for restart; the sidecar baseline still uses the snapshot, which it needs. 3. The witness as worded can't pass under any design. A request written before the baseline reads it is history, as it was before Task 4. The test instead checks that such a request is never half-taken: its serial bump is history too. Requests written after the baselines read are acted on at the next move. Census card: re-proposed as fleet-first-reconcile-speed-4, not reviewed. Report (fix wave appended): /home/paulca/amadan.net/carlos/platform/.claude/worktrees/fleet-first-reconcile-speed/.superpowers/sdd/2026-11-15-fleet-first-reconcile/task-4-report.md</result> <usage><subagent_tokens>305454</subagent_tokens><tool_uses>20</tool_uses><duration_ms>974632</duration_ms></usage> </task-notification>

Human

<task-notification> <task-id>b2huzdgk2</task-id> <tool-use-id>toolu_013bH3JkZ7HSeDHWjSeGz2Gp</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/68be7e6f-7841-4936-9fa0-2041da778685/tasks/b2huzdgk2.output</output-file> <status>completed</status> <summary>Background command "W=/home/paulca/amadan.net/carlos/platform/.claude/worktrees/fleet-first-reconcile-speed/.superpowers/sdd/2026-11-15-fleet-first-reconcile; echo "Fix wave c1d3eb8e done; Astra r2 started" &gt;&gt; $W/progress.md; $W/astra-review.sh $W/final-r2-prompt.md $W/final-r2-astra.md; tail -3 $W/final-r2-astra.md" completed (exit code 0)</summary> </task-notification>

diff --git a/internal/host/startupmeasure_e2e_test.go b/internal/host/startupmeasure_e2e_test.go
index d9d0d8765..69cb65316 100644
--- a/internal/host/startupmeasure_e2e_test.go
+++ b/internal/host/startupmeasure_e2e_test.go
@@ -319,7 +319,7 @@ func startupReport(n int, lat time.Duration, lines []measuredLine, shape func(st
return strings.HasSuffix(name, "total") || name == "first tick: full pass" || (staged && name == "first pass: reconcile")
}
var b strings.Builder
- fmt.Fprintf(&b, "### %d instances on the box, %s per op\n\n", n, lat)
+ fmt.Fprintf(&b, "### %d instances on the box, %s per op (pre-change sequential order, not fastBoot's)\n\n", n, lat)
b.WriteString("| step | wall | store ops (count/summed time) | ops x latency | peak in flight | began alone |\n")
b.WriteString("|---|---|---|---|---|---|\n")
for _, l := range lines {