carlos / platform Public

release: correct the relayed-repoint comment on logging

The host's stage-request throttle coalesces requests and can return
silently while one is pending, so a suppressed repoint failure is not
guaranteed its own log line. Comment only; no behaviour change.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 79174a76dea69f8ebb37087ea43a87e3d24ba2e3 parent 71da80e
1 file changed, +6 −3
  • internal/release/adopt.go +6 −3

Intent

Human

<task-notification> <task-id>a631169f37a68a2ce</task-id> <tool-use-id>toolu_014sC5P85VLGNi58xzczQede</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/2b517942-2259-467d-a8d0-994fd28c9e84/tasks/a631169f37a68a2ce.output</output-file> <status>completed</status> <summary>Agent "Implement #1061 Task 4" 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 Commit: 71da80e6 "release: do not print repoint failed when the relay to root runs" Tests: the new `TestRelayedRepointDoesNotPrintFailure` failed before the fix and passes after. The targeted run (`TestRelayedRepoint|TestPassRelays|Plan14Fix4|Repoint|StageBlocked`) passed, and so did the full `go test ./internal/release/ -count=1` (233 s). The full run needed the sandbox disabled because the Go build cache is read-only inside it. Concerns: - **Relay can't run:** if the authority guard stops it, the existing "release authority changed" line still prints. If it runs, the "asked for one" line follows. - **Still prints:** a rolled-back caps converge, a non-EROFS/EPERM error, and the root pass (no relay hook). - **Census:** the change is print-only and the root pass has no relay hook, so its behaviour is unchanged. A card is probably not needed; the census reviewer should confirm. Report: /home/paulca/amadan.net/carlos/platform/.claude/worktrees/sr-followups/.superpowers/sdd/plan-1061/task-4-report.md</result> <usage><subagent_tokens>51837</subagent_tokens><tool_uses>11</tool_uses><duration_ms>294353</duration_ms></usage> </task-notification>

Human

<task-notification> <task-id>bqas4x05c</task-id> <tool-use-id>toolu_014L7u5JjD5VcbrAaDPaKNNM</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/2b517942-2259-467d-a8d0-994fd28c9e84/tasks/bqas4x05c.output</output-file> <status>completed</status> <summary>Background command "S=/home/paulca/.paseo/zerosub/homes/claude-37fe90ef3f56/plugins/cache/claude-plugins-official/superpowers/7.0.2/skills/subagent-driven-development; bash $S/scripts/review-package $PWD/.superpowers/sdd/2026-11-14-sr-followups/plan-1061.md d9c2a53b HEAD &amp;&amp; P=.superpowers/sdd/plan-1061 &amp;&amp; cat &gt; $P/task-4-astra-brief.md &lt;&lt;'EOF' You are reviewing one task of a Go change in the CARLOS platform, read-only. Do not modify files, the index or branch state. Read: task brief .superpowers ... [1086 characters truncated] ... model_reasoning_effort=high -s read-only "Read .superpowers/sdd/plan-1061/task-4-astra-brief.md and do what it says." &lt;/dev/null &gt; $P/task-4-astra-review.txt 2&gt;&amp;1; f=$P/task-4-astra-review.txt; n=$(grep -n '^codex$' $f | tail -1 | cut -d: -f1); sed -n "$n,\$p" $f | head -30" completed (exit code 0)</summary> </task-notification>

Attributed to this commit: 9.99 g CO₂e (1,196,344 tokens). This is an attribution, not a measurement — usage counted from this commit's own marker forward to the next one on sr-followups, never backward from it. A turn that produced more than one commit books all of its tokens to the last one, and a concurrent session on this branch can add to the same figure. Some of it was priced using the shared default rate, because no model-specific factor row exists yet for at least one model involved. The Carbon view has the repo total, which is never derived from this attribution.

diff --git a/internal/release/adopt.go b/internal/release/adopt.go
index 9cbd718d5..157938cc3 100644
--- a/internal/release/adopt.go
+++ b/internal/release/adopt.go
@@ -1877,9 +1877,12 @@ func adoptHost(ctx context.Context, work hostwrite.Work, reg *registry.Registry,
}
// When the relay below is about to run, the refusal is being handled,
// not failing: the agent's read-only /opt is the expected reason it
- // asks the root pass, and that request logs its own line (or, if the
- // authority guard trips, the "release authority changed" line). Every
- // other failure, including a rolled-back caps converge, still prints.
+ // asks the root pass. The request is not guaranteed a line of its own:
+ // the host's throttle coalesces requests and can return silently while
+ // one is already pending, so a suppressed failure may log nothing here.
+ // If the authority guard trips, the "release authority changed" line
+ // prints instead. Every other failure, including a rolled-back caps
+ // converge, still prints.
relay := cfg.stageBlocked != nil && stageBlocked(err)
if !(relay && !converged) {
fmt.Printf(" %s: repoint failed: %v%s\n", rt.Host, err, rolled)