console: moved-snapshot test names the kept_hash column
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
internal/console/demo_claim_moved_test.go+1 −1
CI passed — run details
Intent
<paseo-system version="1" kind="agent-message" source-agent-id="32157efb-ed29-443f-b428-8c9e3320fa50" message-id="6c2d5ede-34d7-4a21-8099-cc17f7326a0b"> From platform-f6, Paul approved (2026-11-07 ~22:00Z) two changes to the claim journey: A. Countdown wording (ticket and demo banner, same wording in both): replace the bare HH:MM:SS clock with words: "23 h 53 m left" updating once a minute; under an hour "42 min left"; in the last 5 minutes show seconds. No ticking seconds for most of the day. Luna for the exact strings; keep the clock icon as decoration with the words as the accessible text. B. "Keep going" after a claim is wrong without context. Today it offers "Help me keep working on noble-bear-97. Follow the directions on https://carlosframework.com/start", but a fresh agent has no source code, no idea the demo was kept, and /start leads it to build a new demo. Design and build: 1. Keep the source with the claimed app: at claim time, copy the demo's last accepted source archive into the new app's records (account-scoped, not in the demo's purge path), retrievable by an account member through the console ("Download source") and the CLI (e.g. `carlos apps source pull --account <a> --app <app>`, name per CLI conventions). Short design first, then build; Opus security review (this hands code back: authorisation, retention, size caps, no cross-account reads, audit). Decide retention (keep until the app is deleted is the default to propose). 2. Done page "Keep going", two clear paths: (i) "Still in the chat where you built it?" tell your agent you kept it; /start's after-claim section takes over (sign in, deploy to the permanent app). (ii) "Starting fresh, in a new chat or another agent?" a copyable prompt carrying the context: app name, account, console, and a pointer to a NEW /start section (anchor e.g. #after-you-keep-it) that explains sign-in, fetching the source, and deploying changes to the claimed app. (iii) The CLI disclosure gets the same three steps for a person (sign in, fetch source, deploy). 3. The website's /start gets that after-claim section (coordinate with the website PR #106; the website controller 080d8f63 is done, so add it on branch agent-start-demo-4 yourself or via a short website task; agent directives are LLM-facing; the human half goes through Luna and then Paul's copy review). Luna for every new human-facing string; screenshots light/dark at 390/1280; dev release only with no claim in flight. Message this session when on dev. </paseo-system>
<task-notification> <task-id>byxp2m67x</task-id> <tool-use-id>toolu_01HZPc7uXqiDTr9C2ZF1BKiZ</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/22215d20-2b53-4378-8426-ae55e2362d13/tasks/byxp2m67x.output</output-file> <status>completed</status> <summary>Background command "sleep 45; until amadan ci status carlos/platform -branch claim-ux-kept-link 2>&1 | head -1 | grep -q '@ e5b5b5de'; do sleep 30; done; while amadan ci status carlos/platform -branch claim-ux-kept-link 2>&1 | head -1 | grep -q 'running\|queued\|pending'; do sleep 60; done; amadan ci status carlos/platform -branch claim-ux-kept-link 2>&1 | head -1" completed (exit code 0)</summary> </task-notification>
Attributed to this commit: 55.9 g CO₂e (7,015,210 tokens). This is an attribution, not a measurement — usage counted from this commit's own marker forward to the next one on claim-ux-kept-link, 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_moved_test.go b/internal/console/demo_claim_moved_test.go| index 6765f50e6..3671e7586 100644 |
| --- a/internal/console/demo_claim_moved_test.go |
| +++ b/internal/console/demo_claim_moved_test.go |
| @@ -372,7 +372,7 @@ func TestDemoMovedSnapshotSkipsBadRow(t *testing.T) { |
| claimToVerify(t, s, op, data) |
| claimAdvance(t, s, op) |
| // A second committed operation has a corrupt notice; the first stays publishable. |
| - _, err := s.store.db.Exec(`INSERT INTO demo_claim_ops SELECT 'other-op','',?,source_lifetime,source_box,person,version,artifact_sha256,phase,generation,account_id,target_sqid,app,host,target_lifetime,region,seed_id,deadline,source_expires_at FROM demo_claim_ops WHERE id=?`, "AAAAAAAAAAAAAAAAAAAAAA", op.ID) |
| + _, err := s.store.db.Exec(`INSERT INTO demo_claim_ops SELECT 'other-op','',?,source_lifetime,source_box,person,version,artifact_sha256,phase,generation,account_id,target_sqid,app,host,target_lifetime,region,seed_id,deadline,source_expires_at,'' FROM demo_claim_ops WHERE id=?`, "AAAAAAAAAAAAAAAAAAAAAA", op.ID) |
| if err != nil { |
| t.Fatal(err) |
| } |