carlos / platform Public

console: moved-snapshot test names the kept_hash column

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

CI passed — run details

Intent

Human

<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: &quot;23 h 53 m left&quot; updating once a minute; under an hour &quot;42 min left&quot;; 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. &quot;Keep going&quot; after a claim is wrong without context. Today it offers &quot;Help me keep working on noble-bear-97. Follow the directions on https://carlosframework.com/start&quot;, 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&apos;s last accepted source archive into the new app&apos;s records (account-scoped, not in the demo&apos;s purge path), retrievable by an account member through the console (&quot;Download source&quot;) and the CLI (e.g. `carlos apps source pull --account &lt;a&gt; --app &lt;app&gt;`, 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 &quot;Keep going&quot;, two clear paths: (i) &quot;Still in the chat where you built it?&quot; tell your agent you kept it; /start&apos;s after-claim section takes over (sign in, deploy to the permanent app). (ii) &quot;Starting fresh, in a new chat or another agent?&quot; 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&apos;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&apos;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>

Human

<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&gt;&amp;1 | head -1 | grep -q '@ e5b5b5de'; do sleep 30; done; while amadan ci status carlos/platform -branch claim-ux-kept-link 2&gt;&amp;1 | head -1 | grep -q 'running\|queued\|pending'; do sleep 60; done; amadan ci status carlos/platform -branch claim-ux-kept-link 2&gt;&amp;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)
}