carlos / platform Public

claim page test: the outcome heading now carries tabindex=-1

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 6c43d11c995f7010510676b2c8d339853ac46f12 parent f900ad5
1 file changed, +1 −1
  • internal/console/demo_claim_choice_test.go +1 −1

CI cancelled — superseded by a newer push — run details

Intent

Human

<task-notification> <task-id>beibuu9nh</task-id> <tool-use-id>toolu_01QX6p2VVDKYmcUpnY4JMvfo</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/22215d20-2b53-4378-8426-ae55e2362d13/tasks/beibuu9nh.output</output-file> <status>completed</status> <summary>Background command "S=/home/paulca/.cache/tmp/cux; until [ -f $S/anim/done ]; do sleep 30; done; tail -1 $S/anim/log; cat $S/anim/final.md" completed (exit code 0)</summary> </task-notification>

Attributed to this commit: 54.8 g CO₂e (7,115,445 tokens). This is an attribution, not a measurement — usage counted from this commit's own marker forward to the next one on claim-spent-focus, 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/console/demo_claim_choice_test.go b/internal/console/demo_claim_choice_test.go
index 6e94cb44b..4b3a8842a 100644
--- a/internal/console/demo_claim_choice_test.go
+++ b/internal/console/demo_claim_choice_test.go
@@ -398,7 +398,7 @@ func TestDemoClaimProgressAndOutcome(t *testing.T) {
t.Error("current step is not marked")
}
} else {
- if !strings.Contains(body, `<h1 id="claim-heading">example is yours</h1>`) || strings.Contains(body, demoClaimComplete) {
+ if !strings.Contains(body, `<h1 id="claim-heading" tabindex="-1">example is yours</h1>`) || strings.Contains(body, demoClaimComplete) {
t.Error("outcome must appear once, as the heading")
}
link := regexp.MustCompile(`<a class="btn claim-open" href="([^"]+)" rel="noreferrer">([^<]+)</a>`).FindStringSubmatch(body)