CI note: the tip dea57c88 (docs only, one new Markdown file) failed one test, TestHeldE2EStopAdmitRace in internal/activator ('plain wake: 41 child starts, want 42'). The branch never touched that test file, the Go code is identical to 6bafbb33 where CI passed, and the test passes 3 of 3 locally on the branch. It is a timing flake. Before merging, re-run CI on the exact tip or merge 6bafbb33's Go content; do not take my word for it.
agent-start-demo Plan 1: real-box witnesses need your go open
On branch agent-start-demo-1
Plan 1 (anonymous demo apps on dev) is built and review-clean on agent-start-demo-1. What remains needs real infrastructure, and none of that is authorised yet. I need a go from you on these, in this exact scope:
- A dev demo fleet. A non-ops holding account with no human members or service credentials, owning one empty managed fleet with one arm64 box with nested isolation. Box host.env (root-owned, per box, kept through rewrites):
CARLOS_DEMO_BOX=1,CARLOS_DEMO_ACCOUNT,CARLOS_DEMO_FLEET,CARLOS_DEMO_DOMAIN=dev.trycarlos.com,CARLOS_DEMO_BUILD_WORKER=1,CARLOS_DEMO_BUILD_CONCURRENCY=1,CARLOS_DEMO_TOOLCHAIN_DIR,CARLOS_DEMO_CONSOLE_URL, plus the toolchain bundle (Go 1.26.10 linux-arm64 and the Rastrillo v0.30.2 closure, manifest per README). - DNS. Delegate
dev.trycarlos.comfrom the flagship zone (Z01212201VSDT9BSJ6HSP, profile keymail) to a dev zone (profile kass), with a wildcard to the existing dev ingress. - A wildcard certificate for
*.dev.trycarlos.comthrough the existing certificate workflow. - Console and ingress settings on dev. Console:
CARLOS_DEMO_APPS=1,CARLOS_DEMO_ACCOUNT,CARLOS_DEMO_FLEET,CARLOS_DEMO_DOMAIN. The ingress box's host.env also needs the account, fleet and domain tuple (withoutCARLOS_DEMO_BOX), then an edge restart.
Once I have those, a session runs the three gated witnesses on that box, TestDemoDenyAllKernel, the build-unit isolation tests and TestDemoDevKernelAndPurge, then the source-to-live smoke check from the README.
Not evidence yet: the deny-all network drop-in, the build unit's isolation and the purge have been unit-tested and reviewed. They have never run under real systemd. A skipped kernel witness proves nothing, and the Task 3 reviews found two startability faults by reasoning alone. Do not switch dev on before the witnesses pass.
Nothing here needs a ruling from you beyond the go. The rulings I made are listed in the branch handoff.
Paul's go, given in the design session (platform-f6) on 2026-11-03, in reply to: "a go on #527 (dev demo fleet, dev.trycarlos.com delegation, wildcard cert, dev console and ingress settings), and merge Plan 1 once CI re-runs green?" Answer: "Yes".
Scope is exactly the four items above, on dev only, plus the flagship-zone NS delegation record for dev.trycarlos.com. Nothing on the flagship console, flagship boxes or trycarlos.com itself. Merge: re-merge main if needed, CI green on the exact tip, then amadan branch merge carlos/platform agent-start-demo-1 -squash -expect <full sha> with a subject under 80 characters. Dev switch-on (CARLOSDEMOAPPS=1 staying on) only after the three witnesses pass; if any fails, switch admission off and report.
Paul gave the go in the design session (2026-11-03): all four items in this exact scope, plus merging Plan 1 once CI re-runs green on the exact tip.
Working on the go now (merge first, then dev). One blocker I can't settle within the approved scope:
The holding account cannot be created as the platform requires. Plan 1's admission check (Task 1) refuses unless the holding account has zero memberships and no live CLI tokens (internal/console/apidemo.go:106-107). But every way to create an account gives it an owner (carlos accounts create with or without --owner), creating its fleet needs an owner, and the last-owner guard stops removing that owner everywhere, including the box-side console member tool (store.go:1540). Editing console.db by hand would be a workaround, so I won't.
Options:
- (Recommended) A small platform change:
console member removeon the console box may remove the last owner of the account named byCARLOS_DEMO_ACCOUNTonly, once that account owns its fleet. That needs one short reviewed branch. - Relax the check to allow exactly one owner that is a non-person ops address. That changes an approved plan rule.
- Your call on something else.
Meanwhile I'm continuing with everything that doesn't depend on it: merge, the demo box, the three kernel and dev witnesses (they run on the idle box without admission), DNS, the certificate and the dev roll. Admission stays off until this is settled.
Merged: Plan 1 is on main as 6be08467, from branch tip 2fd703c6, where CI passed on the exact tip after two re-merges of main. My mistake: I left out -squash, so it landed as a merge commit carrying the branch's full history, not one squashed commit. The tree is identical to the CI-green tip. Rewriting main would be worse, so I've left it. Census addendum for the two merge resolutions is recorded on #280. The GitHub mirror has not been moved; that step wasn't in the approved list.
Paul, in the design session: "1 is good". Build option 1 as one short branch: console member remove on the console box may remove the last owner only of the CARLOSDEMOACCOUNT account, once it owns its demo fleet; every other account keeps the last-owner guard. One Opus review, CI green on the exact tip, merge with -squash -expect <full sha>. Admission switches on only after that and only if all three witnesses passed.
Paul chose option 1 (2026-11-03): a narrow last-owner removal for the demo holding account only; short reviewed branch, squash-merged.
Witness results on the dev demo box (i-05789ae978ebf2608, merged build 2fd703c6 = main 6be08467's tree, run as root 2026-11-04 01:10-01:20Z; logs in s3://carlos-dev-640012953448/root-runner/demo-dev-2fd703c6/witness-evidence.tgz, sha256 107f82c3):
- TestDemoDenyAllKernel: FAILED, 2 of 2 runs. Isolation held every time. Both real units (run and generation) started under the demo drop-in, and the fixture answered "ok", which it only does after its network, resolver and socket checks pass. The failure is at stop. In each run one of the two units ended with
Result=signal: systemd logs "Supervising process … which is not our child", then kills it with SIGKILL. It was the generation unit in run 1 and the run unit in run 2. The test requiresResult=success. - This is not demo-specific.PrivatePIDs=yesis in the base instance templates. On ordinary dev boxes over the last 7 days, sophie has 62 of about 283 instance stops endingFailed with result 'signal'(69 "not our child" lines), and leo has 15 of about 72. So it is existing platform-wide stop behaviour that this witness is strict enough to catch. - Build-unit isolation (TestDemoBuildKernel): PASSED. A real offline build ran in the disposable unit with the verified bundle (digest 3b2279ed…) in 30 s.
- TestDemoDevKernelAndPurge: PASSED, every part. Application isolation plus root stop-before-delete purge (the stop race did not hit this run), TestDemoExpiryRaces, TestDemoPurgeRecovery, TestDemoLeaseWithoutReplication and TestDemoDatabaseServiceSleepWakeAndAdoption. No skips.
How I ran them, a deviation from the README: the first attempt compiled the tests on the box (t4g.small, 2 GB, no swap). That ran the box out of memory for about 2 h and the run never got going, so I rebooted it. I then cross-compiled the test binaries from the same tree here and ran each witness test directly (for TestDemoBuildIsolation, the TestDemoBuildKernel it wraps). Same tests, no on-box compile.
Per your rule, dev stays off. Admission was never switched on. Your call:
- (a) accept the stop result as the pre-existing platform behaviour shown above, and I switch on after the holding-account change merges; or
- (b) fix the stop path first (an instance-stop branch for the PrivatePIDs supervision, affecting every app), then re-run the witness.
I have not rolled main to sophie or the dev console yet, because either path may need a new build. The holding-account change (your option 1) is in progress on its own branch.
Holding-account change (your option 1) is merged as one squashed commit, 3487d6f6. The box-side console member -remove <address> "$CARLOS_DEMO_ACCOUNT" may now remove the last owner of the holding account. It only does so when the account owns CARLOSDEMOFLEET, the demo settings are valid and every one of the account's tokens is revoked (an owner revokes them first through the account's service pages). Every other account keeps the last-owner guard. Opus security review: round 1 READY AFTER FIXES (no P1), round 2 READY. Copy approved by a Luna pass. CI passed on the exact tip 1ec4bbc2; one earlier run hit the unrelated page-timing test and I re-ran rather than trust it. Still waiting on your (a)/(b) call on the deny-all stop result before any roll or switch-on.
Paul, in the design session: "A". Accept the TestDemoDenyAllKernel stop result as the pre-existing platform stop behaviour; isolation held. Go ahead: roll main to the dev demo box, dev ingress and dev console as needed (dev only), create the holding account and its fleet, remove its owner with the new verb, switch admission on, and run the README source-to-live smoke check. If the smoke check fails, switch admission off and report. The stop problem is filed separately as #528.
Paul chose (a), 2026-11-04: accept the stop result as pre-existing; switch dev on; stop path filed as #528.
Got your "A". I'm stopped at the roll, before changing anything that runs.
Rolling unreleased main to dev needs a version number, and "no release" leaves no clean one. carlos system update --file refused my sha-labelled build (3487d6f6) at the rootfs floor. The checks downstream make that refusal correct. Every version gate parses plain vX.Y.Z only (release.ParseReleaseVersion), and an unparseable build:
- counts as pre-layout (
PreLayoutrefuses); - fails the fleet label floor. A sha-labelled dev console would pause label moves on every dev fleet (
consoleAtLabelFloor); - fails the stateless runtime floor, which would block the stateless replicas session's dev smoke check, since sophie would no longer read as v0.34.0 or later. Overriding with
--allow-below-*flags gets the binary on, but leaves those side effects for other sessions on dev.
Options:
- (Recommended) A dev-only v0.34.1 cut from main 3487d6f6, the same shape as v0.34.0 (dev only, flagship untouched). Then I roll dev, empty the holding account, switch on and run the smoke check.
- Label the build
v0.34.1without publishing a release. It works on dev, but the next real release would collide with a number boxes already report. - Floor overrides with a sha label, accepting the side effects above for the length of the demo smoke check.
Already in place and inert until the next restart: the demo tuple in sophie's host.env (backup host.env.bak-demo-20261104) and the demo box keys on the demo box. The holding account bad and fleet demo exist from yesterday.
Update: the version question resolves itself. The region HA P3a session (executor 78223e6) opened a dev window at ~07:50Z and is cutting a dev-only v0.34.1 from main 38cda89, which already contains Plan 1 and the holding tool. Dev is frozen until they post 'P3a window closed' on #421. I've told them about the demo settings already in sophie's and the demo box's host.env, which their roll restart will carry. I'm holding everything until then. After their v0.34.1 is on the dev boxes and console, I'll empty the holding account, switch admission on and run the smoke check, with no roll or release of my own.
Dev progress (2026-11-04, after the P3a window closed at 09:00Z; dev runs v0.34.1, which contains Plan 1 and the holding tool):
- Holding account emptied at ~09:12Z with the new verb on the console box (
removed paul@keymail.dev from bad (demo-holding),bad (demo-holding) has no members). No tokens existed, so nothing needed revoking. - Demo box: v0.34.1 in demo mode, worker running with the verified bundle. One platform defect: in demo mode root control's unit requires
/var/lib/carlos-release/private, which a freshly bootstrapped fleet box doesn't have, so root control failed with 226/NAMESPACE. I created the empty directory (root, 0700) by hand to unblock dev. The fix is to make thatReadWritePathsentry optional (-prefix) or have bootstrap create it. That's the same class as Task 3's round-2 P1, and every new demo box will hit it. - Certificate issuer: the wildcard is ordered by the housekeeper box (leo now), not the ingress. The README only says ingress boxes need the demo settings. I added the tuple to leo's host.env (backup
host.env.bak-demo-20261104) plus a TXT-only Route 53 grantcarlos-dev-host-b-route53-demo, with one attended edge restart on leo at 09:04:55Z (tenant admission reopened 09:05:26Z). The first order hit a 403 from IAM propagation. The manager retries hourly, so the certificate is due at about 10:05Z. Docs gap to fix: every box that can hold the housekeeper lease needs the tuple and the DNS grant. - Smoke check attempt 1, 09:18Z: FAILED on TLS only. Create gave 202 with every field; job
-3eP830C6…, democalm-pearl-91. Then: real offline build, publication, route minted on the box and forward row on sophie. The readiness GET then gottls: internal errorfor 60 s because no certificate exists for*.dev.trycarlos.comyet, so the job failed. Admission was switched off at 09:19:55Z (POST /api/demo/apps → 404 again). I'll re-enable and rerun the full smoke check once the certificate is issued and served, and report here.
Blocked on the demo certificate (11:25Z). Admission is still off.
Leo is the housekeeper and so the certificate issuer (lease confirmed in control/housekeeper-lease/lock.json). Its only order for *.dev.trycarlos.com, at 09:04:58Z, failed with an IAM AccessDenied because the new grant hadn't propagated yet. It logged retrying in 1h0m0s, but there has been no retry at 10:05 or 11:05: no line of any kind about the parent since. iam simulate-principal-policy now says allowed, so a retry would succeed. That looks like a second platform finding: the wildcard loop doesn't honour its own one-hour retry after an order error (internal/edge/wildcard.go, the retry := time.Hour path). The next natural pass is probably the 12-hour one, around 21:05Z.
Options:
- (Recommended) One more attended
carlos-edgerestart on leo. Its tenant routes close for about 30 s while group admission reopens, as at 09:04:55Z. The startup pass orders the certificate at once, sophie loads it within the hour (or I wait for its pass), then I switch admission on and rerun the smoke check. - Wait for leo's 12-hour pass (about 21:05Z) with no restart, then the same.
I'll take option 2 by default unless you say 1.
Dev smoke check PASSED end to end over HTTPS (2026-11-04 18:31-18:32Z). Anonymous demos are ON on dev.
- Create with no login:
POST /api/demo/appsgave 202 with jobId, namecool-swan-80, statusUrl, expiresAt, claimToken, claimUrl and claimAvailable:false. - The offline build on the demo box, publish and placement on fleet
demoreachedlivein 17 s. GET https://cool-swan-80.dev.trycarlos.com/gave 200 withx-carlos-version: v0.0.0-demo.1, on the issued*.dev.trycarlos.comcertificate (valid to 2027-02-02).- A SQLite write was saved. The update with
Authorization: Bearer <token>gave 202 with the same name, the same expiresAt and no new token. It was live asv0.0.0-demo.216 s later and servedtwo:saved-before-update, so the database survived the update.
Admission: on since 18:25:56Z, through the console.service.d/demo-apps.conf drop-in on sophie. The other dev sessions (P3b-1, stateless) know to keep it. The earlier failed attempts are retained as failed demos until their 24 h expiry.
Why it took three attempts:
- 09:18Z: no certificate yet, because leo was the issuer and missed its retry. The cert was ordered at leo's v0.34.2 restart.
- 18:14Z: my starter app was wrong. The platform passes
--socket/--dbarguments;internal/console/testdata/demo/main.goreadCARLOS_SOCKET/CARLOS_DBenv vars, so it never listened. The e2e test's fake runner set the env vars and hid this. The smoke app now reads the flags. - 18:26Z: the worker hadn't reconnected 14 s after the console restart (
Demo builds are unavailable right now). It worked 5 minutes later.
Follow-ups for a short branch (none blocks dev):
- Fix the starter (
internal/console/testdata/demo/main.go) to read--socket/--db, and make the e2e runner pass flags like the real box. Plan 2's/startstarter must use the same contract. - In demo mode, root control's unit requires
/var/lib/carlos-release/private, which fresh boxes lack (226/NAMESPACE). I created it by hand on the demo box. Make it optional or have bootstrap create it. - The wildcard loop didn't honour its 1 h retry after an order error.
- README: boxes that can be housekeeper (the certificate issuer) need the demo tuple and the DNS grant. Covered now: sophie and leo. dennis is not.
- After an update, the superseded job's status says "failed / could not start". It should say superseded or live.
- Create refuses with 503 for a short while after a console restart until the worker's stream reconnects.
All resources are listed in the branch handoff for teardown.
Paul, in the design session: "Go ahead with follow ups." Scope: the six items from the 18:3xZ smoke report, as one short branch off main. Astra implements, one Opus review, CI green on the exact tip, merge with -squash -expect <full sha>. No release, nothing on flagship. Plans 2-4 are not started yet.
Paul: go ahead with the six follow-ups (2026-11-04); one short branch, Opus review, squash merge after green CI; no release.
The six follow-ups are merged to main as b40c2c1f1fd679ab5d37c40630ca4ea515a804de (squash of branch agent-start-demo-1-followups, tip c097c289, CI green on that tip). Nothing released, nothing rolled to dev or flagship.
- The starter reads
--socketand--dbflags. The e2e launches it with the real box argv and no CARLOS_* env (it failed on the old starter, passes now). - Demo root control declares
StateDirectory=carlos-release/private(0700), so systemd creates the release state dir on a fresh box before namespace setup. The other demo ReadWritePaths already exist on a fresh box. - Wildcard: a failed order's 1h retry deadline now survives refresh wakes. The old loop returned its default 12h delay on the next pass, which is why dev never retried. Tests drive the real pass with an injected clock.
- README: every box that can become the housekeeper needs the demo tuple and the DNS-01 grant on the demo zone, then an edge restart.
- An earlier job of the same live lifetime reports
superseded("A newer update replaced this job. Follow the newer update's status URL."), with no live URL. - The worker-reconnect 503 now sends
Retry-After: 15. No budget is charged.
Review: Opus whole-branch round 1 was READY (no P1 or P2). Census approved on #280. Luna delta copy pass applied (no flags).
Follow-ups (P3, nothing blocks):
- P3-1:
Retry-After: 15also goes on the post-spend 503s (apidemo.go: lock load, late peer check, policy writer, reserve, enqueue). A harness obeying it on a lasting fault would spend an attempt every 15 s. Fix: set the header only on the pre-spenddemoPublishReadyrefusals. - P3-2: claims-mode rendering has the same fresh-box
/var/lib/carlos-release/privateexposure (claimunit.go:142). Pre-existing, and claims mode is shelved. - P3-3: the item 2 evidence is the unit text plus a staged bootstrap. Next dev roll: confirm root control starts on a fresh demo box with no 226.
Plan 2 (edge protections) MERGED to main as f86e9792dc05ffb7de6fe3b7497e934dffcebc5e (squash of agent-start-demo-2 tip 8e8906cc; CI green on that exact tip, and main's CI is green on f86e9792). Nothing released and nothing rolled. Protections are off by default.
What landed:
- Warning banner and "Report abuse" link inserted at the start of
<body>in every demo HTML response, with streaming and a 64 KiB fallback. Only UTF-8 HTML is served as a document; other types a browser would render as a page are refused. - Strict CSP (ruling 9) plus policy headers on every demo exit. App cookies are host-only. Redirects must stay on the same HTTPS origin. Plain HTTP gets a 308 to HTTPS.
- Durable per-lifetime counters on the assigned box (SQLite WAL, synchronous FULL, debit before dispatch and before each output chunk). Defaults: 2,000 requests and 200,000,000 bytes. Crash overservice is zero.
- Operator serving switch and takedown:
carlos system demos status | serving on|off | takedown | takedown-status, carried on the existing authenticated stream. A signed operator retirement reason is checked by the agent, never by root. - Abuse report queue: console
/demo/reportform with durable limits, pluscarlos system demos reportsandreports resolve.
Reviews (Opus, cross-family to the Astra authors):
- Task 1: one P2. Task 2: one P2. Task 3: one P2.
- Task 4: one P1 and four P2s, then one more P2 (round 2 of 3).
- Task 5: two P1s (round 2 of 3).
- Whole branch: one P1, a census inventory row (round 2 of 3, READY).
- Two CI-only fixes after that, each checked. Census approved on #280 (25 units, 7 envelopes, seal 1daafee8). Copy: two Luna passes, applied verbatim.
Outstanding evidence: Firefox and Safari have never run. Chromium ran via CDP for the banner and the report form. The live dev witness has not run.
Dev activation is blocked on a version number, the same as Plan 1. Dev runs v0.34.3. Rolling unreleased main needs a plain vX.Y.Z build to pass the version floors, and my brief forbids a release. Options:
- (Recommended) A dev-only v0.34.4 cut from main f86e9792 (flagship untouched). Then I roll the dev demo box, dev ingress and dev console. I set
CARLOS_DEMO_EDGE_PROTECTIONS=1andCARLOS_DEMO_CONSOLE_URLon the dev edges, riding the roll restart. I take down existing Plan 1 demos with the new CLI, switch serving on, and run the dev witness on dev.trycarlos.com. Admission stays on throughout, as the brief requires. If the witness fails: serving off and report. - Wait for the next dev-only release cut by another session, then activate.
One risky call I made, which you may want to reverse: report-path key reads. Without a warm edge-proof key cache, every report counted against 127.0.0.1, so the reported party could block all reporting with 10 junk posts an hour. The report door now uses the login door's existing key cache: at most one read per 30 s while reports arrive, under about $0.001 a day. That departs from the plan's "no new S3 reads on the report path". The alternative is a separate shared budget for unattributed reports, with no reads but blockable.
Note: Task 3's reviewer found that main before this merge compared a timestamp with the box label in demo retirement, so live Plan 1 demos on dev may be stuck retiring. This merge fixes that; it takes effect at the dev roll.
Rulings and review history: docs/superpowers/notes/agent-start-demo-2-rulings.md.
Paul, one question for you: may I cut a dev-only v0.34.4 from main f86e9792 (flagship untouched) and then run the Plan 2 dev activation and witness described above? Or should I wait for another session's dev release? Admission stays on and serving is unchanged until then.
Paul, in the design session: "Go on both". (1) Plan 2 dev activation: no v0.34.4 needed, since dev's v0.34.5 already contains f86e9792 and b40c2c1f. Paseo agent 7b9e47ba sets the protection settings on dev, takes down old demos, switches serving on and runs the witness; it waits for any open dev window first. (2) Plan 3 (claim): build controller 5f61c584 on branch agent-start-demo-3 refreshes the plan against merged code first, then builds. Dev only, no release, nothing on flagship.
Paul, 2026-11-05: go on Plan 2 dev activation (v0.34.5 already on dev carries it, no new release) and on building Plan 3 (claim).
Plan 2 dev activation starting 11:32Z (dev only, v0.34.5). No dev window open on #421. Setting CARLOSDEMOEDGEPROTECTIONS=1 and CARLOSDEMOCONSOLEURL in host.env on sophie, the demo box, leo and dennis, plus a temporary witness caps drop-in on the dev console (300 requests, 1,000,000 bytes; removed after the witness). One carlos-edge restart per box, back to back (~11 s each), and one dev console restart. Then takedowns, serving on, and the witness. Results here.
Plan 2 dev activation: the witness passed, but admission then broke. Serving is OFF again (11:54:46Z). Dev only (v0.34.5). Flagship, trycarlos.com and tenant apps were not touched.
What broke. At the end I restarted the dev console to remove the witness caps (11:47:52Z). The console then refused every create with DEMO-CONFIG: admission refused: orphan objects lack a demo app (create at 11:48:31Z got 503). The orphan is one object, s3://carlos-dev-640012953448/apps/bad/tmp-demo-plucky-coral-60/analytics/sophie-knitting/days/2026-11-05.json, 3,080 bytes. Sophie's edge wrote it at 11:47:27Z in its 5-minute analytics flush. That was four minutes after I took plucky-coral-60 down (11:43:08Z) and while its cleanup was finishing (Complete by 11:47:45Z). Purge does not remove a day file that an ingress writes afterwards. validateDemoAdmissionState (apidemo.go:212) then treats it as an orphan, and nothing deletes it. So any taken-down demo that had traffic in the last flush window can block all demo admission until someone deletes the file by hand. The other witness demo (easy-duck-37, traffic two minutes earlier) left nothing behind. Following the brief, I switched serving off and kept the evidence: the object is still in place, with a copy in ~/.cache/agent-start-demo-dev/p2-witness-20261105/.
- Fix options: (a) the admission check ignores
analytics/keys under apps whose demo lifetime is tombstoned; or (b) cleanup removes analytics after the last ingress flush and ingress stops writing analytics for trashed apps. Either way, dev needs the one key deleted (or the fix) before serving goes back on. I did not delete it, because it is evidence and the brief said to stop on a failure.
Step 1: settings (host.env backed up as host.env.bak-p2-20261105 on every box; existing demo tuples kept):
- sophie:
CARLOS_DEMO_EDGE_PROTECTIONS=1andCARLOS_DEMO_CONSOLE_URL=https://platform.dev.carlosframework.com(the same asCONSOLE_ORIGIN). The console reads host.env too. Console restarted 11:32:17Z (active 11:32:25Z), carlos-edge 11:32:25Z. - demo box i-05789ae978ebf2608: PROTECTIONS added (CONSOLE_URL was already there). Edge restarted 11:32:56Z.
- leo: both lines added, edge restarted 11:33:23Z. dennis: both lines added (host.env stays carlos:carlos), edge restarted 11:33:51Z.
- Every edge was active about 1 s after its restart. Leo's "config sync … resolved absent" warning was already there (28 times since 06:26Z).
- Temporary console drop-in
demo-witness-caps.conf(300 requests, 1,000,000 bytes). Removed at 11:47:52Z; status now shows the defaults again (2000 and 200000000).
Step 2: P3-3 holds, with a caveat. Root control on the demo box is carlos-instance-control.service. It declares StateDirectory=carlos-release/private (0700) and started at 08:46:58Z and 09:38:40Z with no 226/NAMESPACE anywhere in the journal since 11-04 20:00Z. The caveat: the directory already existed (made by hand 11-04 09:01Z), so this is not a fresh-box proof.
Step 3: takedowns. At 11:34:48Z, lucky-daisy-38 and cool-swan-80 were anonymous and calm-pearl-91 was already retired. None was stuck retiring. Both went retiring → retired, cleanup Complete by 11:39:29Z. takedown-status says "This demo has been removed." for all three, and the old hosts return 404. No manual cleanup. Two leftovers, both P3 and not touched: /data/programs/<host>.json (42 bytes, {"schema":1,"programs":["demo.local/app"]}) survives purge for all three hosts; and cool-swan-80's instance unit still shows failed (the 11-04 18:57Z SIGKILL, #528).
Step 4: serving on at 11:40:03Z, "On (Complete)" at once. Admission (demo-apps.conf) stayed on throughout.
Step 5: dev witness, using the Plan 2 fixture (internal/edge/testdata/demo-protections):
- Create to live in 21 s (easy-duck-37, 11:40:23Z to 11:40:44Z).
- Banner: the first element in
<body>(after the banner stylesheet), at top 0, 58 px high. The "Report abuse" link goes tohttps://platform.dev.carlosframework.com/demo/report?host=easy-duck-37.dev.trycarlos.comwithtarget=_blank rel="noopener noreferrer". - CSP as ruling 9 (
script-src/connect-src/img-src/form-action 'self',frame-ancestors 'none'). Also no-referrer, nosniff, XFO DENY, permissions-policy, HSTS and no-store. Plain HTTP gets a 308 to HTTPS. - Cookies: the app's
Domain=example.comcookie came back without a Domain attribute. In all three browsers both cookies are host-only on easy-duck-37.dev.trycarlos.com. - Browsers (Playwright): Chromium 151, Firefox 155 and WebKit 26.6 (Safari's engine, not Safari itself) all pass. Inline script was blocked, external same-origin script ran, and the same-origin fetch worked. When the app removes the banner and tries a foreign image, script, form and fetch, all four are refused with CSP violations. In Firefox the fetch never settled after the blocked form submit; checked on its own, it is blocked (connect-src, TypeError). Real Safari was not run.
- Report: in Chromium I clicked the banner link and sent the form (category Other); 200 "Your report was sent to the operator." at 11:42:05Z.
carlos system demos reportslisted it (Open), andreports resolveset it to Resolved. - Byte cap (1,000,000):
/streamwas cut mid-body at 11:42:16Z, an HTTP/2 INTERNAL_ERROR after 441,380 bytes. The next GET and HEAD got 429 "This demo has reached its limit. …". - Request cap (300), on a second demo, plucky-coral-60: 297 HEADs got 200 (readiness used the other 3), then every later request got 429, in strict order.
- Takedown at 11:43:08Z: both hosts returned 404 within 5 s through sophie, leo (--resolve) and dennis (--resolve). Serving was confirmed by 11:43:43Z, cleanup Complete at 11:47:45Z.
- An ordinary app (wakecheck) is unchanged: 200, no demo headers.
Not run: Safari, the update-keeps-data step (Plan 1's smoke covered it), and a crash/restart of the counters.
State now: serving OFF (Complete). Admission drop-in on, but refused by the orphan check. Protections and console URL set on all four boxes. No demos live. Smaller notes: the report textarea's maxlength is 300 (the plan said 1,000 bytes); ingress analytics are written for demo apps.
Paul said "go" on the fix: (1) the edge stops recording and flushing analytics for demo apps; (2) the admission orphan check ignores analytics/ keys under retired or tombstoned demos, and demo purge removes them; (3) the report textarea limit matches the plan. One Opus review, squash merge after green CI, no release. After merging, delete the one orphan key on dev (copy kept as evidence), confirm a create, switch serving back on. The race can recur at the next expiry until a release with the fix reaches dev; the controller asks here about a dev-only release.
Paul, 2026-11-05: go on the analytics fix; controller 5091b1c1 on branch agent-start-demo-analytics-fix.
Analytics fix MERGED as 7d0f26c (squash; GitHub mirror forwarded). Not released. Dev demo serving is back ON (13:52:42Z).
The fix (branch agent-start-demo-analytics-fix):
- The edge never records analytics for demo routes or reserved demo hosts (
internal/edge/analytics.go), andanalytics.UpsertDaydrops anytmp-demo-bucket before touching the store. Demos keep no visitor stats, and this saves the S3 requests. - Defence in depth: the admission orphan check ignores
analytics/keys only when the app has no apps row and its demo was purged (a purgeddemo_appsrow or the permanent host tombstone). Any other key, or analytics under an app with no demo history, is still refused. A resumed purge deletes analytics-only leftovers, and the hourly trash sweep deletes late analytics writes under purged demos (one extra LIST per hour). Tests use the incident's key shape. - Report textarea
maxlengthis now 1000, matching the server's 1,000-byte limit.
Astra implemented it. Opus review R1 was READY (no P1 or P2). The census was approved on #280 (2 units, 2 envelopes), and the 9B8 UpsertDay digest was re-pinned. CI is green on f95407e8.
Dev restore (no window open on #421):
- The orphan key
apps/bad/tmp-demo-plucky-coral-60/analytics/sophie-knitting/days/2026-11-05.jsonwas copied to~/.cache/agent-start-demo-dev/evidence/and deleted at 13:52:10Z.apps/bad/was then empty. - A create can't confirm admission while serving is off, because serving-off returns the same DEMO-CONFIG 503. So I switched serving on first (13:52:42Z), then created: 202, serene-orchid-33 live in 21 s, GET 200.
- Then I left it idle past one flush (its analytics file appeared at the next flush, as expected on v0.34.5), took it down at 14:06:34Z, and cleanup completed at 14:09:39Z (host 404).
apps/bad/was empty at 14:09 and again at 14:16. So admission is healthy and no demos are live.
Until a release with 7d0f26c reaches dev, the race can recur at any takedown or 24-hour expiry of a demo that had traffic in the 5 minutes before purge. (A safe manual takedown waits more than 5 minutes after the last traffic.) If it recurs, admission refuses all creates until the stray key is deleted by hand.
Question for Paul: cut a dev-only release with 7d0f26c now, or wait for the next release? I have not cut one.
P3 follow-ups from the review: (a) edge logs and errors under apps/<acct>/<app>/logs|errors/ can, in principle, land after purge the same way (log shipping retries every 10 s), and admission would then refuse. It fails safe, but it's the same kind of outage, so consider skipping demo routes in observeRecords/emitEdgeError. (b) Any pre-2026-11-03 temporary app named tmp-demo-* would now lose analytics: query the console DB before the roll. (c) The tombstone match assumes today's demo domain.
main CI is red at 7d0f26cb ("Stop demo analytics blocking demo admission"): TestDemoProtectionsSourceToLimitAndTakedown fails with "demoprotectionse2etest.go:144: offline fixture build: exit status 1" (internalconsole@5). The same failure shows on region-ha-g2-prep after merging main (28d8715d), so every branch that merges main is blocked. Could the #527 owner look? (Reported by the G2 prep controller.)
Main CI went red at 7d0f26c: TestDemoProtectionsSourceToLimitAndTakedown failed with 'offline fixture build'. Cause: since Plan 2 (f86e9792), this test builds the fixture with GOPROXY=off and passes only when demoe2etest has already warmed that runner's module cache. On a cold worker it fails, whichever commit is tested (it also failed once on the fix branch before a rerun passed). Fix branch demo-protections-warm-cache (51ffb1f6) is test-only: it downloads the locked closure through the public proxy first, as demoe2etest does, and passes with a cold GOMODCACHE. Main CI rerun queued. I'll merge the fix once its CI is green.
Main is green again: the test-only fix merged as 85d8142 (squash, CI passed on main; GitHub mirror forwarded). The rerun of main at 7d0f26c failed again, which confirmed the cold-cache cause rather than a flake.
Paul said "go ahead" to a dev-only release from current main, carrying the analytics fix (7d0f26c) and the cold-cache test fix (85d8142), with flagship untouched. Release agent e152c317 follows the v0.34.6 log, waits for any open dev window on #421, and adds one demo check after the roll: create, take down, wait past a 5-minute flush, confirm no analytics key under apps/bad/ and that a second create still succeeds.
Paul, 2026-11-05 ~16:15Z: go on a dev-only v0.34.7 carrying 7d0f26c and 85d8142; release agent e152c317.
v0.34.7 published; the analytics fix is live on dev's demo path (canary + console). Demo check PASSED.
- Release: tag v0.34.7 (e59662ec) on main 3bd40a0c, which contains 7d0f26c and 85d8142 (checked with merge-base); main CI passed there. https://github.com/carlosframework/releases/releases/tag/v0.34.7 is Latest with 14 assets, signatures verified from the public side. Tap #97 merged; apt v0.34.7-1 live (latest.txt v0.34.7, served deb = signed). linux-arm64
38b0423c, console arm641211a663. One Luna pass on the notes, which lead with "Anonymous demos keep no visitor analytics". - Scope changed by ruling (8a3d302, #421): the region HA card reserves v0.34.7 as window B's target and needs dev stable on v0.34.6 until B2 (the live group's pin). So only canary moved: sophie (applied 17:01:12Z, admission gap 31 s) and demo box-1 (17:04:09Z), plus the dev console (17:05:56Z, 17 drop-ins unchanged). leo, dennis and the box-1s follow at window B's B2. Per platform-f6, canary + console is enough: sophie's edge stops writing demo analytics, and the console ignores and sweeps any stray file under purged demos.
- Demo check: minty-pine-45 created 17:12:02Z, live in 16 s, 6 GETs through sophie, taken down 17:12:25Z (inside the flush window, the incident's race). Cleanup complete 17:16:12Z; at 17:19:12Z
aws s3 ls s3://carlos-dev-640012953448/apps/bad/ --recursivelists nothing. Second create comfy-koala-02: 202, live in 16 s. Taken down too; apps/bad/ still empty at 17:26:22Z, 0 live demos. Admission and serving stay ON. (The edge demo-protections fixture is refused as demo source, 400 DEMO-SOURCE, so I used internal/console/testdata/demo.) - Flagship: NOT ROLLED. Steps 10-12 owed (dev-only cut). Log: ~/.cache/release-v0.34.7/roll-log.md.
Paul, 2026-11-05 ~17:45Z, in the design session: "keep going until it's done. Have Luna review the copy, and I can review it again once it's all built."
Program controller 39e7acfa (this session) now drives the rest of the /start demo from ~/.cache/agent-start-demo-dev/PROGRAM-BRIEF.md:
- Plan 3 (claim): controller 5f61c584 keeps building on agent-start-demo-3 (Tasks 1-5 done and reviewed, Task 6 running). I check on it, then squash merge after green CI and a dev claim witness.
- Small fix in parallel: the edge stops shipping logs and error records for demo routes (the observeRecords/emitEdgeError P3 above), plus trivial review P3s.
- Plan 4 (/start and homepage) after Plan 3 merges. All human copy gets a Luna pass; no copy-review server. Built and verified on dev and a non-live website address only.
- Dev releases through the agent manager 8a3d302.
- A flagship rollout card, written but not executed.
I stop and report here when it's all on dev and witnessed, or when a flagship, spend, tenant or stopping-rule decision comes up.
Program update (39e7acfa):
- Plan 3 (claim): Tasks 1-5 done, Task 6 (moved notice) running on Astra under 5f61c584.
- Log/error skip fix: controller 56771cc8 on agent-start-demo-log-skip (from main ddbc0297). The edge stops writing request logs and error records for demo routes; admission ignores and the sweep removes logs/ and errors/ under purged demos, like the analytics fix.
- Plan 4: controller 9bc26afc on website branch agent-start-demo-4. Task 1 (starter), the Luna copy pass and the static build start now, because they don't depend on Plan 3. The claim contract binds to Plan 3's merged sha. Dev deploy goes to a temporary dev static site, never the live website. The website PR stays unmerged for Paul's review.
Plan 4 (/start and homepage) controller update:
- Draft website PR https://github.com/carlosframework/website/pull/106, branch agent-start-demo-4. Not to be merged by agents; Paul merges after reviewing the built result.
- Task 1 (pinned starter) committed ae0dbfc by Astra: pack and contract tests pass, including the platform's real ValidateSource with DefaultLock. Opus task review running.
- Luna copy pass done for every human-facing row. Two strings keep their source text: the hero promise stays "Better, faster, more secure apps." (Luna's version dropped Paul's spec §5.2 direction), and the starter's generic database error stays "Something went wrong. Try again." (Luna's "Could not save" is wrong when a read fails).
- Tasks 2-4 running on Astra. The claim contract is drafted against Plan 3's unmerged tip and flagged producerMerged:false. The build refuses to publish claim instructions until it is rebound to the merged sha.
- Rulings: without CARLOSSTARTDEMO, /start and the homepage build byte-identical to today. With it, the paste line uses the configured site origin, so dev builds show the dev URL.
Log/error skip MERGED to main as fe8b503099635e02393efdd3ad6ae03088875d04 (branch agent-start-demo-log-skip, squash). Not released.
What changed:
- Edge: no request record, burst trip record or edge error record for a demo route or reserved demo host. One predicate, demoUnrecorded, now shared with analytics (7d0f26cb's check folded in).
- Host shippers: logshipFlush/errshipFlush drop tmp-demo- buckets (as UpsertDay does), and the hourly chunk prune no longer lists demo apps.
- Console defence in depth: admission ignores logs/ and errors/ keys under purged demos exactly as analytics/; the resumed purge and the hourly sweep (renamed sweepDemoStrays) delete them.
- P3 (c): purgedDemoApp matches the tombstone by the host's first label, so it no longer assumes today's demo domain. (b) not done, as ruled (ops).
Review: Opus R1 READY (no P1/P2); P3s 2 and 3 fixed; P3 1 (tombstone substr cannot use the index; per stray key) left as a follow-up, table small today. Census APPROVED by Opus, recorded on #280. CI green on cbfac2ed after a rerun (three unrelated flakes in activator/edge e2e/host HA on the first run, all passing locally).
Question for Paul: how should the dev claim witness get its email? The dev console has no mailer: no CARLOS_*MAIL* settings in sophie's host.env or console drop-ins. So a real email-code claim on dev can't deliver a code. The flow is otherwise testable: Plan 3's e2e tests use a fake mailer.
- (Recommended) You do the live claim on dev during your final review, with your Keymail address through the browser path. No new infrastructure. Agents witness everything up to the claim, plus the code path in tests. The email-code path then gets its first real-box witness on flagship, which already sends from noreply@carloku.com.
- Give the dev console a mailer: SES in the dev account (kass), a verified sender on a dev domain (not trycarlos.com, which has null MX and DMARC reject), and a test inbox an agent can read. That is an infra change plus a small spend, so it needs your go and a named test inbox.
Until you answer, I keep going on everything else: Plan 3 Task 7 (browser fallback and Keymail return) is running, and Plan 4's pages and release tooling are being built.
Also done: the log/error skip fix merged as fe8b5030 (not released). The flagship card's first draft is at ~/.cache/agent-start-demo-dev/FLAGSHIP-CARD.md. Nothing on flagship has been executed.
Plan 4 controller (website PR https://github.com/carlosframework/website/pull/106): the claim-off dev journey is built and witnessed.
- Dev site (temporary static app on the dev console, build 961877b with CARLOSSTARTCLAIM=off): https://tmp-pj4lpm.bab.dev.oncarlos.com/start/. Plan A negotiation verified there: 19/19 live checks (Markdown for Accept text/markdown, HTML otherwise, Vary: Accept, twin bytes equal, starter digest matches).
- Codex local, clean HOME: PASS. It asked first and took the plain-language path. Live in about 2 min at https://kind-lake-34.dev.trycarlos.com/. A deliberate compile error came back as a diagnostic and was repaired. A person-added row survived the bearer updates.
- Claude Code local, clean config: PASS. It asked first and took the developer path. Live in about 3 min at https://breezy-lark-42.dev.trycarlos.com/. The update preserved the row.
- Claude Code cloud: BLOCKED. The default cloud environment's network policy blocks the site host, so the agent can't read /start at all. It explained this plainly and asked the person to allow the domain in the environment's network settings. That setting lives in the claude.ai web UI and can't be driven from here. Session: https://claude.ai/code/session_01DhirXdrvJaqf85JmMgpyW8. - Product consequence: in cloud agents the person may need to allow two hosts, the site (carlosframework.com) and the console (console.carloku.com), not the one the spec assumes. /start can only explain the console host, because an agent that can't fetch /start never reads it. Worth a ruling before public activation; the page copy may need to name both hosts.
- Outstanding: Codex cloud (needs an environment ID only the web UI shows), Cursor (not on this machine), phone operation, and the whole claim journey.
- Next: I wait for the Plan 3 merge sha. Then I rebind the claim contract, run the whole-branch Opus review, deploy the claim-on build to dev once claiming is live there, and run the claim witness (browser/Keymail path by Paul if no mailer).
Plan 4: the dev journey works without claiming. One product question for Paul.
Dev site (temporary static app, claim instructions off): https://tmp-pj4lpm.bab.dev.oncarlos.com/start/. Markdown negotiation passed 19 of 19 live checks.
- Codex (local, clean HOME): PASS. It asked first and took the plain-language path. Live in about 2 minutes: https://kind-lake-34.dev.trycarlos.com/. A deliberate compile error came back as a diagnostic and was repaired. A row the person added survived the updates.
- Claude Code (local, clean config): PASS. It took the developer path. Live in about 3 minutes: https://breezy-lark-42.dev.trycarlos.com/.
- Claude Code cloud: BLOCKED at the first fetch. The default cloud network policy blocks the site host, so the agent never reads /start. It explained that plainly and asked the person to allow the domain.
- Still to do: Codex cloud (needs an environment ID only its web UI shows), Cursor (not on this machine), phone operation, and the claim journey (waits on Plan 3).
Question: cloud agents may need two hosts allowed, the site (carlosframework.com) and the console (console.carloku.com). The spec allows one allowlist step. /start can only explain the console host, because an agent that can't fetch /start never reads it.
- (Recommended) Accept up to two allowlist steps in cloud agents. Name both hosts on the human half of /start and in the homepage line's surroundings, so a person can allow both at once. No platform change.
- Serve /start from the console host too, and point the paste line there, so one host covers everything. This changes the agreed paste line and adds a console route. I'll keep going on everything else in the meantime.
Paul's answers, given in the design session on 2026-11-05 ("yes" to both recommendations):
- Dev claim email: no dev mailer. Paul does the live claim on dev himself during his final review, through his Keymail address in the browser. Agents witness everything up to the claim, plus the code path in tests. The emailed-code path gets its first real-box witness on flagship (add it to the flagship card).
- Cloud agents and two hosts: accept up to two allowlist steps at launch. Name both hosts (the site and the console) next to the paste line on the homepage and on the human half of /start, so a person can allow both at once (copy through Luna, as for the rest). Keep the paste line as agreed. Follow-up, part of finishing: put the demo API under carlosframework.com itself, so the site host serves /api/demo/* (a platform route/alias from the website host to the console's demo endpoints, done the platform way, not a workaround in the website) and the second host goes away. Plan it as a short platform plan, build it like the others, and update /start's API host when it lands.
Paul: (1) he does the live dev claim via Keymail in his final review, no dev mailer; (2) accept two allowlist hosts at launch, name both; follow-up serves the demo API under carlosframework.com.
Paul, 2026-11-05, in the design session: "yes" to both recommendations.
- Dev claim email: no dev mailer. Paul does the live claim on dev himself during his final review, with his Keymail address in the browser. Agents witness everything up to the claim, plus the code path in tests. The emailed-code path gets its first real-box witness on flagship (added to the flagship card).
- Cloud agents: accept up to two allowlist steps at launch. Name both hosts (the site and the console) next to the paste line on the homepage and on the human half of /start, with copy through Luna. The paste line stays as agreed. Follow-up, part of finishing: serve the demo API under carlosframework.com itself (/api/demo/ on the site host, routed to the console's demo endpoints as a platform route, not a website workaround), so the second host goes away. A short platform plan, built like the others; /start's API host changes when it lands. [Summary] Paul, 2026-11-05: Paul claims on dev via Keymail himself; two allowlist hosts at launch, named on the pages; then a platform route puts /api/demo/ on the site host.
Plan 4 controller: both of Paul's rulings are applied, and the dev site is redeployed and re-checked.
- Hosts note: Luna passed the strings and they're applied verbatim. Under the paste line on / and /start: "If your agent has limited network access, allow <site host> and <API host> in its network settings before pasting. Most local agents do not need this." There's a one-host variant for when the two hosts match. Hosts come from the build config. Live on dev it names tmp-pj4lpm.bab.dev.oncarlos.com and platform.dev.carlosframework.com.
- API origin: new optional
CARLOS_START_API_ORIGIN, defaulting to the console origin. All /api/demo/* calls and the agent's allowlist host use it; CLI login and deploy keep the console origin. Moving the API to the site host later is one build setting. With it unset, output is byte-identical to before. - Commit 6ee4406: 96 + 18 tests pass, npm run check passes. Live verifier on dev passes (X-Carlos-Version 6ee4406).
- Paul's claim checklist (Keymail, browser path, 9 steps) is in the PR description and in docs/start-demo-acceptance.md. Plan 3's tip now has the /demo/claim browser doors (Task 7), so the path exists once it merges and is on dev.
- PR: https://github.com/carlosframework/website/pull/106. Still waiting for the Plan 3 merge sha. Then I rebind the claim contract, run the whole-branch review, and deploy the claim-on build to dev when claiming is live there.
v0.34.7 now covers all of dev's fixed boxes: stable promoted at window B's B2 (19:39:15Z), so leo, dennis and the stable box-1s no longer write demo analytics. Group members stay on v0.34.6 until G0. apps/bad/ had 0 analytics keys at the last read. It holds two demos I did not create (breezy-lark-42, kind-lake-34). Flagship not rolled.
Plan for the demo API on the site host: docs/superpowers/plans/2026-11-05-demo-api-site-route.md on demo-api-site-route. One Opus review round: no P1, five P2s applied, findings in REVIEW-DEMO-API-SITE-ROUTE-R1.md. Going on to the build; no ruling needed from Paul.
What it does: an operator setting names one site host. On that host the edge forwards a fixed list of anonymous demo API paths to the console, with no cookies either way, the real client IP, and never cached. The console's limits and the edge rate limit stay. Off by default. statusUrl follows a configured public origin, never the Host header, so an agent needs only the site host. claimUrl stays on the console, because a person opens it in their own browser.
Claim paths follow as a small code change once Plan 3 merges.
Demo API site route: MERGED to main as 973a07e2b3b6cb95bfec9bffe050407b033d7e79 (squash of tip 1b85518c; CI green on that tip and on main). Not released; no box touched. Plan: docs/superpowers/plans/2026-11-05-demo-api-site-route.md. Claim paths are NOT in this merge.
WHAT IT DOES Off by default. On a named site host, the edge forwards only POST /api/demo/apps and GET /api/demo/jobs/{jobID} to the console. Anything else under /api/demo on that host gets an empty uncached 404. No cookies either way, real client IP via the signed chain, edge rate limit and console limits kept, never cached. statusUrl uses the configured site origin; claimUrl stays on the console because a person opens it in a browser.
SWITCH-ON FOR DEV (yours to arrange; it rides a roll, so it needs a release containing 973a07e2) SITEORIGIN = the dev static-site origin, canonical https, no port. CONSOLEORIGIN = the dev console's configured canonical origin (README says https://platform.dev.carlosframework.com; confirm from deployed config).
- Inventory routes, public ingresses and the console home. Confirm the site host is already claimed by the intended account. Setting the console value makes that host's claim operator-only.
- Group or replacement boxes only: confirm their bootstrap release has the new hostenv names, then add both to the operator parameters in every participating region (region scope). Use system host-env write --group without --install. Never use the group writer on a fixed box.
- EDGES FIRST. On every public ingress and the console's home edge, immediately before that box's roll restart, add to root-owned /etc/carlos/host.env: CARLOSDEMOAPIORIGIN=SITEORIGIN CARLOSDEMOAPICONSOLEORIGIN=CONSOLE_ORIGIN The old binary ignores them and the roll's restart reads them. No separate edge restart: a bare restart is tenant downtime. A partial, equal or invalid value stops the edge starting, so STOP AT THE FIRST BOX until startup, ordinary tenant traffic, the alias 404 and a forwarded status all pass.
- CONSOLE LAST. Just before the console roll's restart, install root-owned /etc/systemd/system/console.service.d/40-demo-api.conf with a [Service] section and Environment="CONSOLEDEMOAPIORIGIN=SITEORIGIN", then daemon-reload. Until this step links stay on the console origin, so nothing breaks.
- Witness on EVERY public ingress: /start still serves; /api/demo/not-a-route gets an empty no-store 404; a well-formed unknown job ID gets the console's JSON 404 with no-store. Then with an authorized dev demo: create, status, update, console 413 and 429, no cookies or cacheable responses, original client IP, and a region with no console route reaches the home. Keep agent egress to the site host only.
- Plan 4's website build: CARLOSSTARTSITEORIGIN=SITEORIGIN for page and API, CARLOSSTARTCONSOLEORIGIN=CONSOLEORIGIN for browser and CLI links. Plan 4 is amended accordingly on main, including the blocked-host wording and a non-mutating release check. Rollback: restore the website build if switched, clear the console setting and restart it, remove both edge values and parameters, then restart edges as ANNOUNCED downtime, one first. Flagship is the same order, separately approved, never from this session.
NEEDS FROM YOU Plan 3's merge sha. The claim follow-up adds four paths to internal/edge/demo_api.go (POST /api/demo/claims, /claims/verify, /claims/select, GET /claims/status) plus the same proof gate on the console handlers and contract tests. It is a code change with a census re-proposal, and public claim instructions wait for it. Tell me the sha, or hand it to a fresh controller: the plan has what it needs.
EVIDENCE Reviews, all Opus: plan round 1 READY AFTER FIXES (5 P2s); Task 1 and Task 2 READY AFTER FIXES (5 P2s, fixed in 9a975a4c); whole branch READY (no P1 or P2). Task 3: 10 of 10 disconnect mutations caught. Census: root-read approved on #280 at f1edc6c0; record-write (NewServer) and group-name (Edge.Reload) pins added at 1b85518c after CI caught them on the first run, approved on #280 by me as cross-model reviewer of Astra's code, since they were not in the whole-branch reviewer's scope. CI: first run on d100cea8 failed on those two pins only; second run on 1b85518c passed. Full-duplex fix found by a witness (early refusals stalled on open uploads) is covered by the whole-branch review.
UNPROVEN UNTIL DEV A deployed worker journey (real publish and update through the alias used a recording handler in the edge tests), console 413 and 429 with bytes in flight across a real region (a stand-in was checked on loopback only), and live HTTP/2 from a real client. HTTP/2 is covered by tests only.
SMALL DEVIATIONS Luna's copy applied verbatim to README, except that I kept the three startup errors as drafted (Luna only added backticks; they are diagnostics). I added a "Smoke check" sub-heading that was not in the deck, so the following paragraphs do not sit under the new section. Merge message carries a short body and attribution as well as the subject.
FOLLOW-UP P3s (not fixed)
- internal/console/apidemo.go:317-325: demo-off 404 and DEMO-CONFIG 503 still drain an unfinished upload, ahead of the Connection: close; predates this branch. Moving two lines fixes it.
- demoapiintegration_test.go:85: the forged XFF is constant across requests, so only a both-legs regression could slip through; vary it.
- Malformed A-labels such as xn--a.example.com pass origin validation.
- An ineligible console row or an origin mismatch gives silent 503s on every ingress; a throttled Reload log would help.
- Hostenv does not validate the pair, so a bad parameter crash-loops a new box; a pair check in Assemble would catch it.
- Plan 4:85 verifies a saved row at the permanent URL, which conflicts with site-only egress in the witness.
- Luna flags for Paul's eye: "exact console home" is undefined in the README section, and "confirm replacement bootstrap releases recognize both names" does not say how.
Plan 3 (claim) MERGED to main as e12fe9a1 (squash of a836959d, CI green on the exact tip, census approved on #280). Not released.
Also merged and not released: the log/error skip fix (fe8b5030), and the demo API on the site host (973a07e2, off by default; claim paths follow on a short branch, now running under cdc496d7).
Next:
- Dev-only release request sent to the agent manager 8a3d302, who rules on #421 windows (G2 drills are running). Then claim activation on dev (CARLOSDEMOCLAIM=1 on the console and boxes, seeds floor) and the claim witness by 5f61c584.
- Plan 4 (website PR #106) is rebinding its claim contract to e12fe9a1, then the whole-branch review.
- Paul's live Keymail claim on dev is the last step, from the checklist in the PR.
Plan 3 (claim a demo by email) is merged to main as e12fe9a10d9ee315cbef9c1896b2216eae9cc9b4. It is a squash of agent-start-demo-3, with CI green on the exact tip a836959d. The census was approved on #280.
Dev activation is not done yet. Dev runs v0.34.7, which does not contain the merge. Following the program controller's instructions, I have asked it (39e7acfa) to arrange a dev-only release instead of cutting one myself. What activation needs:
- a release containing e12fe9a1 on the dev console and the dev demo boxes;
CARLOS_DEMO_CLAIM=1in the dev console drop-in, and on the dev destination and ingress boxes. The seed capability is advertised only with that box setting. Changing a box's host.env restarts carlos-edge, which means about 11 s of downtime, so it is best done during a roll;- the signed seeds floor publication at min 2;
carlos-demo-snapshot@.serviceinstalled on the demo boxes. The bootstrap sweep installs it; check it is there after the roll.
Once dev has the release, I run the witness on dev.trycarlos.com: claim a live demo by email with a code, check the data reaches the new oncarlos.com address, and check the demo host shows the moved page. Demo admission stays on.
Copy for Paul: discussion 604 on the branch.
Dev release plan for the agent /start demo (ruled by the agent manager 8a3d302, 2026-11-06 ~01:00Z).
- v0.34.9 (dev only), cut from main at or after e12fe9a1: Plan 3 demo claims, the demo log/error skip fix fe8b5030, the demo API site route 973a07e2 (off), and the restart new-box fix 94b50891. v0.34.8 (40e1990) stays held for the HA rerun.
- Now: release agent c8c110dd cuts and publishes only (release, tap, apt). It touches no dev channel, box or console. No flagship steps.
- After the G2 drills (expected after about 02:00Z), on 8a3d302's word: canary only (sophie and demo box-1), then the dev console. CARLOSDEMOCLAIM=1 rides those roll restarts: sophie's host.env before the canary roll, and a console drop-in before the console roll. Then a demo create/takedown check.
- Later, after G2 cleanup (T10): dev stable stays frozen until then. The claim setting on dennis and leo and the signed seeds floor wait for the stable promote, which 8a3d302 coordinates with the HA group re-pin.
- Then Plan 3's controller 5f61c584 runs the dev claim witness, and Paul does his Keymail claim from the PR #106 checklist.
Plan 4 controller: claim contract rebound to e12fe9a1 (website e479f53), 98 start tests and 18 release tests pass; whole-branch Opus review starting. One blocker for you, and one platform copy bug.
Blocker: Paul's Keymail claim cannot run on dev while the dev console has no mailer. Claim readiness needs a ready mailer even for Keymail addresses:
checkDemoClaimReadyrefuses whenmailReadyis false (internal/console/democlaimready.go, first check).mailReadyis false when no mailer is configured (emailsignin.go:122-126).- So
demoClaimEnabledis false, and on a no-mailer console: the create reply saysclaimAvailable:false;POST /api/demo/claimsreturns 503{"error":"unavailable"}before Keymail discovery; the browser page setsCanClaimfalse (democlaimpage.go:117) and the handler at :188 refuses as well.
Options, your call or Paul's (both are platform or infra changes, so I'm not touching them):
- Give the dev console a mailer, even one that only needs to report ready. No code change, and it also makes the emailed-code path testable on dev.
- Change readiness so a Keymail-only claim does not need a mailer. This is a platform change, with the readiness comment there saying the mailer requirement is deliberate.
I recommend 1. Also check before the dev release that the other readiness conditions hold on dev: CARLOS_DEMO_CLAIM=1, Keymail OAuth host, a demo worker advertising claim and moved capabilities, seed and moved readiness on every live edge.
Platform copy bug: the browser claim page tells people to run carlos login (demoClaimCLINext, internal/console/democlaimcopy.go:77). The real command is carlos auth login. The website's instructions already use the right one.
The website's agent instructions depend on the runtime claimAvailable, so they stay correct whichever option you choose.
v0.34.9 PUBLISHED (release agent, phase 1 done; dev-only cut, nothing rolled).
- Tag v0.34.9 (bbd7600f) -> main e12fe9a1, CI passed on that exact commit (00:57Z). Carries plan 3 demo claims e12fe9a1 and the restart new-box fix 94b50891 on top of v0.34.8 (fe8b5030, 973a07e2 already in v0.34.8). Pushed to the forge and the GitHub mirror.
- GitHub release: https://github.com/carlosframework/releases/releases/tag/v0.34.9 (Latest, 14 assets, public signatures verified, sums identical).
- linux-arm64 S9 sha256 bbca50b3015146d76f866142e6a7d8ab332336026db658c65cfed5bffc1ea75c; console arm64 dcaa7085, amd64 d5e9db55.
- Homebrew tap PR #99 merged. apt v0.34.9-1 live (latest.txt = v0.34.9, served deb = signed).
- Notes: one Luna pass, 5 approve / 7 rewrite; 5 rewrites applied verbatim, 2 verification paragraphs kept as standing text. They lead with demo claims by email (off by default), demos keeping no logs or errors, the site-host demo API (off by default).
- Touched no dev channel, box or console. No flagship steps; steps 10-12 owed.
Now waiting for 8a3d302 to name the dev window start (v0.34.9 canary + console, then stable; no CARLOSDEMOCLAIM in this roll).
Two things for the window:
- docs/superpowers/notes/agent-start-demo-3-rulings.md does not exist on main e12fe9a1, so I have no seeds floor publication command from it. Please point me at the command or its source before step 3.
- CARLOSDEMOCLAIM is read by the edge as well as the console (internal/host/edgesfile.go adds the claim-seed capability), so the host.env step on the boxes is required, not optional.
Log: ~/.cache/release-v0.34.9/roll-log.md
Plan 4 controller: the whole-branch review is done and its fixes are in. The website branch is ready for the claim-on deploy as soon as claiming is live on dev.
- Review: Opus round 1 at e8947b5: READY AFTER FIXES, no P1. Four P2s and nine of ten P3s fixed in c276dcf, so review rounds stop here. P3-7 declined with a recorded reason. - Create 503s and other 5xx are now bounded and treated as unknown outcomes, so no second anonymous create can result. - Claim-start 503 now has a directive. - The 👨 hero marker is kept around the new block. -
npm run checknow runs the start checks. The repo has no CI, so that check on the author machine is the gate. - Rebind: claim contract bound to 0eea2abb (0aaa6ae). All 13 evidence citations re-verified. As you asked:
claimAvailable:truedoesn't promise a code; a 503 on claim start says claiming is unavailable for this address right now, the demo keeps running to its expiry, and no new create. Transcripts cover this. - Tests: 132 start tests, 19 release tests,
npm run check, and the starter check all pass; lock unchanged; disabled output byte-identical to main. - Dev site: redeployed claim-off at c61ff61, live verifier passes: https://tmp-pj4lpm.bab.dev.oncarlos.com/start/. Not re-witnessed with a real agent since 961877b; the instruction changes since then are refusal, claim and secret-handling text.
- PR: https://github.com/carlosframework/website/pull/106, updated, with Paul's checklist and two wording questions for his copy review (
start.steps[1]says "one website" next to a two-host note;start.claimsays "the code we send").
Waiting on you: word that v0.34.10 and CARLOSDEMOCLAIM=1 are live on dev. Then I deploy the claim-on build, re-check, run one real agent up to the claim, and tell you Paul's checklist is ready. I'll switch CARLOS_START_API_ORIGIN only when you say.
Claim follow-up MERGED to main as 25ca6faf30f68c2bff350b382381597642c06067 (squash of tip f654b139; CI green on that tip and on main). Not released; no box touched.
MOST OF THIS WAS ALREADY ON MAIN Plan 3's merge e12fe9a1 already added the four claim paths to internal/edge/demo_api.go, the proof gate on the four claim handlers and a site-Origin branch in demoClaimOrigin. So this branch added proof and fixes, not the paths. The Opus reviewer also checked that site-Origin branch against the plan and found no concrete scenario: those paths honour no cookie and Sec-Fetch-Site still applies.
WHAT CHANGED
- Real fault fixed: claim start and verify re-read the client IP after the body read, so a client pacing a body past the 30-second proof life was attributed to loopback. Same fault as publish in round 1. They now keep the admitted IP. Witness TestDemoAPIProofRequiredClaimExpiry covers the submission, send, guess and signup budgets.
- Contract witness TestDemoAPIAliasClaimPaths: all four paths over both same-box and cross-box delivery, with no console route on the source. Uses a recording console handler, as the other edge tests do.
- Your three P3s, all done: demo-off publish refusals no longer wait on a stalled body; forged XFF varies per request; hostenv Assemble and AssembleGroup refuse a partial, equal or invalid origin pair.
- README: two sentences, Luna pass. Luna's third row was false, and Plan 3 had already fixed that sentence, so I left it out.
SWITCH-ON CHANGE Same steps as my earlier report, now covering claims with no separate step. One addition: both origin parameters change one at a time, and a pair that is half set is now refused at host-env write. A group box launched between the two writes fails to boot. So set or clear the pair with no scale-out in between. This is not a regression: such a box's edge refused to start before too. Do not write only one region's half.
EVIDENCE Opus review READY, no P1 or P2, 13 mutations with 11 caught; of the two survivors one is a defence in depth, the other is P3 1 below. Census: hostenv envelope approved on #280. CI green on eb2e78fd, and again on f654b139 after main moved twice.
NOT FIXED (P3s, none blocking)
- Sec-Fetch-Site is forwarded, as the claim handlers need, but no test proves it arrives; the plan now records it.
- The pair refusal returns a bare ErrValue without naming the settings, so an operator has about 30 names to check.
- Claim refusals still wait on a stalled body, until the 5-minute ReadTimeout; this only delays that client's own reply.
- GeoIP placement re-reads clientIP; on an expired proof the worst outcome is the default region, with no budget involved. It can also spend the once-per-process proof warning.
UNPROVEN UNTIL DEV The real claim journey through the alias on deployed boxes.
The worktree demo-api-site-route and its local branches are no longer needed, and I left them in place. Scratch is cleaned.
Release agent, dev window phase 1 DONE: v0.34.9 is on dev (canary, console, stable). No CARLOSDEMOCLAIM added.
- Canary (promoted 01:44:19Z): demo box-1 applied 01:45:19Z, sophie applied 01:48:56Z. Both run bbca50b3 (S9), NRestarts 0, 0 errors, host.env unchanged. sophie admission closed for 31 s; railsdemo/shop 503 at 01:48:50Z and 01:49:05Z in that window, 200 since.
- Dev console: v0.34.9 (dcaa7085) restarted 01:50:12Z, healthz ok by 01:50:17Z, 0 errors, 17 drop-ins unchanged. change-index.conf is already CARLOSCHANGEINDEX=read.
- Demo check: apricot-forest-55 live in 17 s, taken down 01:51:05Z. At 01:57:33Z apps/bad/ has no keys for it; the listing is unchanged from before (38 objects from two older demos, breezy-lark-42 and kind-lake-34, left alone). Host 404. Second create merry-melon-00 live in 21 s, taken down.
- Stable (promoted 01:58:12Z, once): leo applied 02:01:16Z (admission closed 31 s), dennis 02:02:52Z, both box-1s current. All bbca50b3, NRestarts 0, 0 errors, host.env unchanged.
- One railsdemo + shop 503 sample at 01:59:47Z: sophie logged the r10r box-1 tunnel dropping at 01:59:50Z (box-1 self-update), the same shape as v0.34.7's.
- Group members not touched: g-f8487189 and g-ffc9475b show "behind -> v0.34.9". g-6e90c7a5 went UNREACHABLE between 01:43Z and 02:00Z, not by me.
v0.34.10 is PUBLISHED: tag 46c71690 -> main 25ca6faf (CI passed; carries 855651cf lease fix, 0eea2abb claim Keymail-ready, 25ca6faf site-host claim paths). https://github.com/carlosframework/releases/releases/tag/v0.34.10 Latest, 14 assets, signatures verified; tap PR #100 merged; apt uploading now. S10 linux-arm64 = 3a735db7b29dd6dba764ea33eaade5f9134de2200ef85cffbd5a4710479fc10a.
Next: v0.34.10 canary + console, then stable, with CARLOSDEMOCLAIM=1 riding the box roll restarts and the console drop-in riding the console roll.
Release agent: v0.34.10 DEV ROLL DONE (canary, console, stable), with CARLOSDEMOCLAIM=1 riding the restarts. The seeds floor is HELD pending one decision, below.
- v0.34.10 is published: tag 46c71690 -> main 25ca6faf (CI passed; carries 855651cf, 0eea2abb, 25ca6faf). Release https://github.com/carlosframework/releases/releases/tag/v0.34.10 (Latest, 14 assets, signatures verified). Tap PR #100 merged, apt v0.34.10-1 live.
- linux-arm64 S10 sha256 = 3a735db7b29dd6dba764ea33eaade5f9134de2200ef85cffbd5a4710479fc10a
- Canary (promoted 02:05Z): demo box-1 applied 02:06:58Z, sophie 02:08:49Z (admission closed 31 s; 2 app-watch 503s in that window).
- Dev console: v0.34.10 (2a4c3def), restarted 02:10:49Z with the new demo-claim.conf drop-in. Its environment has CARLOSDEMOCLAIM=1 and CARLOSCHANGEINDEX=read. 0 errors.
- Stable (promoted 02:11:45Z, once): dennis applied 02:13:24Z, leo 02:16:27Z, both box-1s current. One 503 sample at 02:14:08Z: the r10r box-1 self-update tunnel drop, as before.
- On sophie, demo box-1, dennis and leo: v0.34.10 is current and v0.34.9 is previous. Each runs 3a735db7 with NRestarts 0 and 0 errors, and CARLOSDEMOCLAIM=1 is in the edge environment. host.env is backed up at host.env.bak-claim-20261106, with owner and mode kept. Nothing was restarted by hand.
- bootstrap/carlos now holds the v0.34.10 build. HA group members were not touched.
Seeds floor: why I stopped before publishing. Dev has never had a seeds floor (control/seeds-protocol.json is absent). The command would be carlos system seeds-floor publish --min-release v0.34.9, which writes {min: 2, minrelease: v0.34.9}. It cannot be undone: the floor only rises, and any box that arms it refuses to activate a release below v0.34.9. The group members g-f8487189 and g-ffc9475b (v0.34.7, seedsprotocol 1), and replacements booted from the S7 pin, will be below it. I'm not sure what root does when a v0.34.7 group box arms it. The fixed boxes are ready (all on seeds_protocol 2 with prev v0.34.9).
Claim readiness will stay false even after the floor:
- demoClaimSeedReady requires every edges file to carry demo-claim-seed-v1 and seedsprotocol 2. That includes the two group members' files, so it is false until the group is re-pinned to S10 with CARLOSDEMO_CLAIM=1 (8a3d302's re-pin; I have not touched the group).
- No edge reports the demo moved capability. An edge reports it only with a valid CARLOSDEMODOMAIN, an armed change index, and the moved reader. None of the four boxes' host.env files has CARLOSDEMODOMAIN, and adding it was not in the plan.
Question for 8a3d302: may I publish the floor at v0.34.9 now, with the group members below it? Or should it wait until the group is re-pinned to S10? And should CARLOSDEMODOMAIN go on the serving edges (sophie at least), or does someone else own that?
Release agent correction: my last report said none of the four boxes' host.env files has CARLOSDEMODOMAIN. I hadn't checked, and it was wrong: 39e7acfa read CARLOSDEMODOMAIN=dev.trycarlos.com on sophie, leo and demo box-1, and dennis has had it since 11-04. 5f61c584 is diagnosing the missing moved capability read-only. Seeds floor: held, per 8a3d302's ruling, until the HA group is on S10.
Dev window progress (program controller 39e7acfa).
- v0.34.9 and v0.34.10 are on all of dev (canary, console, stable; release agent c8c110dd). v0.34.10 = tag 46c71690 on main 25ca6faf. It carries Plan 3, the Keymail-ready fix 0eea2abb, the site-host API claim paths 25ca6faf and the HA lease fix 855651cf. CARLOSDEMOCLAIM=1 rode the roll restarts on sophie, demo box-1, dennis, leo and the dev console. No bare restarts. Flagship untouched.
- Seeds floor: held until 8a3d302 re-pins the HA group to v0.34.10, because the floor is irreversible and the group members are below it.
- Claims are still not available on dev: a code fault. The edges-file loop freezes its capabilities before the moved-page reader arms, so no edge ever advertises demo-moved-v1 (internal/host/edgesfile.go:1211/1226 against agent.go:3538). The edge's moved readiness also needs PLATFORMAPPSDOMAIN, which no dev box sets. Fix branch demo-moved-capability (5f61c584): recompute the capability on every pass, and drop the apps-domain requirement, since the console signs the moved target itself. So claims need v0.34.11 on dev. I'll ask 8a3d302 for that window when the fix merges.
- Plan 4 (website PR #106) is ready for the claim-on deploy once claims are live on dev. Then Paul's Keymail checklist.
Release agent: v0.34.11 PUBLISHED, and dev CANARY + CONSOLE are rolled.
- Tag 91b9a7f4 -> main 7bab9473 (CI passed). https://github.com/carlosframework/releases/releases/tag/v0.34.11 Latest, 14 assets, signatures verified. Tap PR #101 merged; apt in progress. S11 linux-arm64 = 37f780e19830eb027990cd0717a4c878b9e9de7879ef2a12ab272e6cf8329f9d (sent to 8a3d302).
- Canary: demo box-1 applied 02:56:43Z, sophie 02:57:55Z (admission closed 30 s; 2 app-watch 503s in that window). Both run 37f780e1 with NRestarts 0 and 0 errors. host.env is unchanged, and CARLOSDEMOCLAIM=1 is still in the edge environment.
- Dev console: v0.34.11 (b0ddf448), restarted 02:59:21Z, healthz ok by 02:59:30Z, 0 errors. Its environment has CARLOSDEMOCLAIM=1 and CARLOSCHANGEINDEX=read. Drop-ins unchanged.
- No host.env or drop-in changes this time.
Next: dev stable waits for 8a3d302's S10 group re-pin. Then the floor at v0.34.9, after 721746fd says "group on S10", stable is on v0.34.11 and the LT is re-pinned to S11. Then the claimAvailable check, at least 6 minutes after the last restart.
Release agent: dev STABLE v0.34.11 DONE (promoted 03:04Z, once). dennis applied 03:04:48Z, leo 03:05:19Z (admission closed 31 s), both box-1s current. All run S11 37f780e1 with NRestarts 0 and 0 errors. host.env is unchanged, and CARLOSDEMOCLAIM=1 is in each edge environment. One app-watch 503 at 03:07:50Z: the r10r box-1 tunnel drop during its self-update, as in every roll. bootstrap/carlos now holds S11. Group members were not touched. I've told 721746fd "stable v0.34.11 DONE". The seeds floor waits for its word after the LT re-pin to S11.
Edges files at 03:04Z: sophie reports demo-moved-v1 (servessharedpool true); leo has servessharedpool false. I'll check dennis's moved capability with the claimAvailable check.
Release agent: SEEDS FLOOR PUBLISHED 03:13:14Z at v0.34.9 (control/seeds-protocol.json = {"min":2,"minrelease":"v0.34.9"}), after 721746fd's 'group LT on S11'. Boxes arm it on their hourly root pass (demo box-1's next pass is 03:54Z), so acceptance should be complete by about 04:15Z. I'm watching every edges file for seedsfloorstate accepted, min v0.34.9 and prevseedsallowedfor v0.34.9 (demo box-1 is checked on the box). At 03:13Z sophie, dennis and leo already report demo-moved-v1, with servessharedpool true on sophie and dennis. The claimAvailable check follows once every box accepts.
Release agent, floor acceptance at 04:25Z. The watcher is running (it prints only on changes).
- All 5 control/edges files (sophie, dennis, leo, g-620d08d1, g-63b8a1e5) report seedsprotocol 2 and seedsfloorminrelease v0.34.9. seedsfloorstate is empty on every file, so no refusal is recorded.
- prevseedsallowed_for v0.34.9: dennis only. Root wrote carlos.prev.seeds-allowed on its 04:18:46Z adopt pass.
- sophie and leo: the agent has armed /data/.moves/seeds-floor.json, but root hasn't passed since (last passes 03:38Z and 03:58Z), so they have no prev verdict yet. Next root passes: sophie 04:44Z, leo 05:07Z. Readiness counts only sophie and dennis (the shared-pool edges), so claimAvailable needs sophie's 04:44Z pass.
- demo box-1: /data/.moves is empty and it has no file in control/edges. Its fleet bucket, carlos-demo-fleet-640012953448, has no control/ prefix, so it may never see the floor. I'm recording that, not changing it; 5f61c584 may want to look. I'll run the claimAvailable check (create, check, take down) after sophie's 04:44Z pass shows prevseedsallowed_for. No bare restarts, nothing changed.
Dev claims: a second activation fault, and how we avoid a third release round.
- v0.34.11 is on all dev boxes and the console. The seeds floor is published at v0.34.9 (03:13Z), and every edges file reports protocol 2. The moved capability now shows (7bab9473 works).
- New fault (5f61c584, read-only diagnosis): demo box-1's snapshot supervisor refuses its unit every 10 s with DEMO-CLAIM-SNAPSHOT. checkUnit (internal/instancectl/demosnapshotdisk.go:133/145) expects
EnvironmentFilesto be present but empty, and systemd 257 omits the key when it's empty. So box-1 never advertises claim capability, and claimAvailable stays false. Every other unit property matches on the box. - Fix branch demo-snapshot-unit-check: refuse only when EnvironmentFiles is non-empty, with a regression test fed the box's real systemctl output. Rides v0.34.12.
- This path had never run on real systemd: the gated runtime witness waited for activation (ruling R6). So before v0.34.12 is cut, 5f61c584 runs that witness on demo box-1 with a test binary from the fix branch. That way any further real-box fault (mount, mkfs, DynamicUser, reap) gets fixed in the same release. At most two more fault rounds, then I stop and report.
- Paul's claim link will be written privately to ~/.cache/agent-start-demo-dev/secrets/paul-claim-link.txt (0600), never posted here.
Release agent: claimAvailable check done. Result: claimAvailable is FALSE, as expected. Nothing changed.
- Floor acceptance: sophie got prevseedsallowedfor v0.34.9 at 04:47:20Z, after its 04:44Z root pass. - The two shared-pool edges, sophie and dennis, are both fully ready: demo-claim-seed-v1, demo-moved-v1, seedsprotocol 2, floor v0.34.9, prev allowed v0.34.9, and no refusal state. - leo has the floor, and its prev verdict comes at its 05:07Z root pass (servessharedpool false, so it isn't counted). The group members report the floor at v0.34.9.
- Demo: grand-canoe-93 was created at 04:47:27Z, returning 202 with claimAvailable false. It went live in 21 s and served GETs 200 via sophie. - I took it down at 04:47:48Z. Cleanup was complete by 04:54:03Z, with 0 keys under apps/bad/ and the host returning 404.
- Console log from 04:45 to 04:48Z has no claim or readiness lines: the refusal doesn't log.
- demo box-1: - instance-control logs "demo snapshot: DEMO-CLAIM-SNAPSHOT" every 10 s, which matches 5f61c584's systemd 257 EnvironmentFiles fault. - Its edges-file pass also logs "could not load box snapshots (fleetapi: list status/boxes/: unexpected status 404)". That may be worth 5f61c584's look. - Its /data/.moves is empty: it has not armed the seeds floor.
State now: dev canary, console and stable are all on v0.34.11 (S11 37f780e1); the floor is at v0.34.9; CARLOSDEMOCLAIM=1 is set on the four boxes and the console. Demo serving is untouched. Standing by for a v0.34.12 window.
Claim snapshot witness on the root runner, branch demo-snapshot-unit-check (tip 53940194). It passed on real systemd 257 with no box-1 changes.
Result: TestDemoClaimSnapshotRuntimeDevWitness passes realWorker, isolation, memory and duration. The unmodified carlos-demo-snapshot@.service with the real arm64 carlos binary exported a committed WAL-only row, the sha matched result.json, and the integrity check was ok.
It found two faults fakes could not:
- Worker: DynamicUser implies RestrictSUIDSGID, whose seccomp makes openat2 return ENOSYS, so every claim export would have failed. Fixed in 53940194.
- Test: the witness's own drop-in cleared BindPaths. Fixed in b8ad2fac. A third fault was already known: checkUnit needed a property systemd omits when empty. Fixed in 9f1ea42c.
Still unproven until v0.34.12 reaches box-1: box-1's own instance-control unit and the end-to-end claim.
Runner instances (dev, kass, t4g.small, purpose=plan14-root-runner, each terminated by the script): i-01f7c682fda2422f6, i-0ce9ce1c4db31b8fd, i-027e49d0211f89c8e, i-0a1ce0869bd994e9d, i-01197471969711cad, i-0d0ecf33609ce722d, i-02f00659fbb23636b. Checked afterwards: last instance terminated; instances left with that tag, including stopped: [none]. Each run's log stays under s3://carlos-dev-640012953448/root-runner/; the uploaded binaries, unit and test DB were removed.
Release agent: v0.34.12 DEV CANARY + CONSOLE DONE. claimAvailable is still FALSE; nothing changed.
- Published: tag 32534444 -> main ebfc08e1 (CI passed). https://github.com/carlosframework/releases/releases/tag/v0.34.12 Latest, 14 assets, signatures verified. Tap PR #102 merged, apt v0.34.12-1 live. S12 linux-arm64 = 86097598c1b689c116d842e2e894847de4015e2bb3dd9f7f2966dc96b82c8ef8. Luna: 8/8 approved.
- Canary: - sophie applied 05:21:47Z (admission closed 30 s; 2 app-watch 503s in that window). demo box-1 applied 05:23:09Z. - Both run 86097598 with NRestarts 0 and 0 errors. host.env is unchanged.
- Console: v0.34.12 (af5dc699) restarted 05:25:27Z, healthz ok, 0 errors. CARLOSDEMOCLAIM=1 and CARLOSCHANGEINDEX=read are in its environment; drop-ins unchanged.
- Stable stays on v0.34.11. The group was not touched.
Claim check (6 min after the last restart):
- The snapshot fault is FIXED: demo box-1 has logged 0 DEMO-CLAIM-SNAPSHOT lines since its restart, against 60 in the 10 minutes before the roll.
- The demo still came back unavailable: fluffy-maple-46 was created at 05:31:53Z and returned 202 with claimAvailable false. It went live in 16 s. I took it down at 05:32:09Z; cleanup was complete by 05:38:22Z, with 0 keys under apps/bad/ and the host returning 404.
- Ready, as far as I can see from outside: - Edges files: sophie and dennis (servessharedpool true) carry demo-claim-seed-v1 and demo-moved-v1, seedsprotocol 2, floor v0.34.9 and prevseedsallowedfor v0.34.9. - status/boxes: sophie, dennis and leo list both capabilities.
- Console log since 05:25Z has only "change index armed". The refusal is silent, so I can't see which of checkDemoClaimReady's remaining gates refuses: the Keymail host, AppsDomain or keys, SeedData PutStreamer, a demo worker peer with claim + moved capability, demoPublishReady, or demoClaimMovedReady.
- demo box-1 still logs "edgesfile: could not load box snapshots (fleetapi: list status/boxes/: unexpected status 404)" on each pass. That is my first suspect for the worker peer's capabilities or the moved check.
- Evidence: ~/.cache/release-v0.34.12/tmp (box1-snapshot.txt, demo/claim.txt, edges-at-check.txt, status-boxes.txt, console-claim-logs.txt). Over to 5f61c584. Standing by.
Paul: a stopping-rule choice on dev claims (third readiness fault in one family). Everything else is built.
Where things stand (dev only, flagship untouched):
- Merged: Plan 3 claims (e12fe9a1), Keymail-ready (0eea2abb), log/error skip (fe8b5030), site-host demo API + claim paths (973a07e2, 25ca6faf), moved capability (7bab9473), snapshot unit fix (ebfc08e1).
- Released (dev only): v0.34.9 to v0.34.12. Dev runs v0.34.12 on canary + console, and v0.34.11 on stable (8a3d302 keeps it for the HA group). Seeds floor at v0.34.9. CARLOSDEMOCLAIM=1 is on every box and the console.
- A root-runner witness (7 throwaway instances, all terminated) proved the snapshot export on real systemd, including a WAL-only row. It caught a production fault (openat2 under DynamicUser's seccomp) before any real claim.
- Plan 4: website PR https://github.com/carlosframework/website/pull/106 is review-clean, with Luna copy and your Keymail checklist. The claim-off dev site https://tmp-pj4lpm.bab.dev.oncarlos.com/start/ works with Codex and Claude Code locally (create, live in 2-3 minutes, repair, update keeps data).
Why claims are still off on dev. Readiness refuses at the HA gate (internal/console/democlaimseed.go:38). The dev console has CONSOLEHAREGIONS=ie, which is its home region, with no ha_pools. So every new shared-pool instance on dev is born HA, and Plan 3 claims are deliberately non-HA only. This is the third time a claim readiness gate has disagreed with the real deployment: the moved-capability race, then the shared-pool scope, now the HA region. AGENTS rule 2 says stop and offer the choice:
- (Recommended) One invariant, with a check. Readiness asks "would this claim's fresh instance be born HA?" (
haCreate(region, "")), not "is the region HA?". It reports EVERY failing gate in one throttled log line, so the next fault shows on the first pass, not one per release. On dev it also needs"ha_pools":["hapair"]in the console's HA capacity config: only the hapair pool is born HA. That's the agent manager 8a3d302's call (asked). Cost: one more dev-only release (v0.34.13). The branch is being built now and HELD, unmerged, until you answer. - Refuse up front. Keep the code. Claims need a non-HA home region. Dev can't witness claims while ie is an HA region. Only the all-gates log line lands. Flagship's home region (ie) isn't HA as far as I know (to verify), so flagship would be unaffected.
- Drop the HA gate. Not safe: a claimed app could be born HA, which is unbuilt.
Your live Keymail claim on dev waits on this. Everything else is done and witnessed, or recorded as outstanding (Codex cloud, Cursor, phone, real Safari). The flagship card is at ~/.cache/agent-start-demo-dev/FLAGSHIP-CARD.md (draft 2). No flagship step has run.
Update to the question above: the agent manager 8a3d302 sees no conflict with option 1's dev config. Dev ie with "ha_pools":["hapair"] mirrors the US flagship's G3 config (["ha"]) and is what HA wants anyway. It goes in as a dev console drop-in edit with one restart, after a backup and the B10 pre-check, right after your choice. So option 1 costs one dev-only release (v0.34.13) plus that edit.
Branch demo-claim-ready-gates is review-clean and CI-green at tip 7192812d3f124603ad9f657e4dabac38141cb031. HOLDING: not merged, waiting for Paul's stopping-rule choice.
Three commits, in landing order:
- faca3fff and d6102c98: readiness evaluates every gate and logs one throttled line naming all failing gates. Verdicts are unchanged. This can land alone.
- 7192812d: the HA gate asks whether this claim's fresh shared-pool instance would be born HA (
haCreate(region, "")) instead of whether the region has HA at all.
Review (Opus, one round): no P1. The two P2s were both about the report naming the wrong or too little cause; both fixed. The destination stays non-HA in every scope case, and a region with no ha_pools is still refused.
What each choice means for landing:
- Option 3, invariant plus check (recommended): land all three. Dev also needs
"ha_pools":["hapair"]on ie in CONSOLEHACAPACITY_CONFIG, which is 8a3d302's call, because new shared-pool instances on dev then stop being born HA. - Refuse up front: land only faca3fff and d6102c98. Claims stay refused on a console whose home region is HA, and the log says why.
Either way a claimed app in an HA region inherits the refusals every non-HA record there has: it can't be moved out, and domain placement is refused when RegionIngress is set.
Not yet proven: the worker-peer gate on dev, which only shows in console memory. The first readiness pass on this code will name it if it fails.
Correction to my last post: I used the wrong option number. In this thread's numbering, the recommended path (invariant in one place, all three commits on demo-claim-ready-gates) is option 1. Refuse up front (faca3fff and d6102c98 only) is option 2. Option 3 here is "drop the gate", which is not safe and which I do not recommend. Where my post said "Option 3", read option 1.
Paul's ruling 07:19Z (on #421, via 8a3d302): dev console regions.ie gets hapools ["hapair"]. That takes option 1 above. Plan 3's controller merges demo-claim-ready-gates (all three commits). Release agent c8c110dd cuts dev-only v0.34.13, rolls canary + console, applies the hapools edit just before the console roll's single restart (backup, parser validation, B10 pre-check), then checks claimAvailable and reads the new all-gates readiness line.
Paul chose option 1 (2026-11-06, design session): readiness asks whether this claim's fresh instance would be born HA (haCreate(region, "")), not whether the region is HA, and logs every failing gate in one throttled line. Dev console gets "ha_pools":["hapair"] (8a3d302's edit, after backup and the B10 pre-check), then a dev-only v0.34.13. Merge the held branch once its review and CI are clean.
Paul's product direction, said while choosing: HA is likely a paid feature, not enabled for everyone. So pool-scoped HA is the expected long-term shape, and claims (Free accounts) landing in non-HA pools is the normal case. Still recorded as a requirement on #421: before any region where claims are live makes every new app born HA, claims must support HA destinations (a born-HA seed path). Add that gate to the flagship card.
Paul chose option 1 (born-HA check + all-gates log line, dev ha_pools hapair, v0.34.13). HA likely a paid feature; claim-into-HA becomes a gate on #421.
Paul, 2026-11-06 (design session): chose option 1. Product direction: HA is likely a paid feature, not on for everyone, so pool-scoped HA is the expected shape and claims (Free accounts) land in non-HA pools. Requirement (also on #421): before any region with live claims makes every new app born HA, claims must support HA destinations (a born-HA seed path). Added to the flagship card as a gate.
Paul: forge pushes from DOCS-T1 are blocked by a credential change (not ours). ~/.git-credentials was rewritten at 07:13:34Z and no longer has an amadan.net entry (git uses credential.https://amadan.net.helper store). So git push origin to amadan.net fails with "could not read Username". This affects every agent on this machine. Nobody in this program touched credentials, and we won't. Impact here: the v0.34.13 tag (654c5ab9 -> 72c4946a) is on the GitHub mirror and in the main checkout's local refs, but not on the forge. It needs one git push origin v0.34.13 once the credential is back. The dev roll doesn't depend on it, and carries on.
Dev claims: claimAvailable is TRUE (v0.34.13, 07:46Z). v0.34.13 (tag 654c5ab9 on 72c4946a; GitHub + tap + apt, but the forge tag push is blocked by the credential rewrite) is on dev canary + console. ha_pools ["hapair"] was applied under Paul's ruling, riding the console roll's single restart (backup and readback on #421). A demo create returned claimAvailable:true and went live in 12 s. Readiness logged no failing gates.
One likely blocker before Paul's claim: every data-kind create in Ireland is refused on dev ("New instances can't be created on Ireland · Dublin yet"), because the re-pinned HA group members joined ie after the hostname history was completed. A claim's destination is such a create. Asked the agent manager 8a3d302 to rule on completing the history (offline, console stopped). Paul's claim waits for that.
Release agent: v0.34.13 DEV CANARY + CONSOLE DONE (07:53Z), with the ha_pools config. claimAvailable is now TRUE.
Release:
- Tag v0.34.13 (654c5ab9) -> main 72c4946a (CI passed). https://github.com/carlosframework/releases/releases/tag/v0.34.13 Latest, 14 assets, signatures verified. Tap PR #103 merged, apt v0.34.13-1 live. S13 linux-arm64 = f0f00eed105d8a9a41af4e363e824782fbb1dead22819c7368e26bfbe9e9796c. Luna: 8 approve, 1 rewrite, applied.
- NOT on the forge: the tag push fails with "could not read Username for https://amadan.net". ~/.git-credentials was rewritten at 07:13Z (not by me) and has no amadan.net entry. The GitHub mirror has the tag, and the tag object is in the main checkout's local refs. Someone needs to restore the forge credential and push it; this also blocks other forge pushes from this machine.
Canary: demo box-1 applied 07:36:13Z and sophie 07:36:51Z (admission open 07:37:05Z). Both run f0f00eed with NRestarts 0 and 0 errors, host.env unchanged, and 0 DEMO-CLAIM-SNAPSHOT lines. App watch: 502/503 from 07:36:32 to 07:37:03Z during sophie's restart, shop 503 once more at 07:37:18Z, then 200.
Console + CONSOLEHACAPACITY_CONFIG (Paul's approval, 07:19Z):
- B10 pre-check PASS: all 5 control/edges files parse. sophie, leo and both group members are in home ie with data_bucket carlos-dev-ie-640012953448 / eu-west-1, matching the config. dennis is in uk, so outside ie.
- The new value differs from the live one only by regions.ie "ha_pools":["hapair"]. The console's own parseHACapacityConfig accepts it, at 72c4946a, with regions [ie] and home ie.
- The backup is /root/ha-capacity.conf.bak-ha-pools-20261106 (884f9014). The drop-in went 884f9014 -> 170fbdd4.
- One slip, caught before any restart: my first write at 07:38Z lost the JSON's double quotes through SSM shell quoting. I restored the backup at 07:38:44Z with daemon-reload; the console never restarted on it. The second write went through base64 with a sha256 check, then daemon-reload.
- ONE console restart: the v0.34.13 roll at 07:39:48Z, MainPID 764155, NRestarts 0. healthz ok v0.34.13 by 07:39:57Z. - Its environment carries "ha_pools":["hapair"]. "HA capacity observation started", no config error. - 18 drop-ins kept. A Cost Explorer AccessDenied line at start was already there on every earlier start.
- HA create into pool hapair: same as before. Static rel1106-pool-pre at 07:22Z and rel1106-pool-post at 07:40Z both got 201 with pool hapair, and both were deleted (404).
- Plain shared create: NOT verifiable yet. Both before (07:22Z) and after (07:40Z), a shared create on hacheck is refused with "New instances can't be created on Ireland · Dublin yet. Choose another region." That is the hostname history's coverage check, not HA. The journal says "hosts used: box:g-620d08d1a2c2f25c0f4b on "" was not scanned when the history was completed". The re-pinned group members joined ie after the history was completed, so every data-kind create in ie is refused until the history is completed again (offline, with the console stopped). I have not done that; it needs an owner and a ruling. It may also block a real claim's destination create; 5f61c584's witness will show.
Claim check: apricot-clover-40 was created at 07:46:15Z and returned 202 with claimAvailable true. It went live in 12 s. I took it down at 07:46:28Z; cleanup was complete by 07:52:46Z, with 0 keys under apps/bad/ and the host returning 404. There is no "demo claim readiness" line in the console journal since 07:39:48Z, so it was ready from the first pass.
Stable stays on v0.34.11. The group was not touched. No host.env changes.
Paul: one question. Dev claims (and every new dev app in Ireland) wait on it.
8a3d302 ruled the dev hostname history be completed again: the re-pinned HA group members joined ie after it was completed, so every data-kind create in ie is refused. The release agent stopped before any change. The documented procedure (console stopped: hosts-used invalidate, roster, scan every target, activate) must scan every fleet. Fleet classic (Tito Classic staging, AWS account 665106592142, yours) can't be scanned with the dev credentials: kass gets AccessDenied on its bucket, and its box isn't in kass's SSM. The other 13 targets are ready to scan.
- (Recommended) You (or a session with that account's credentials) scan the two classic targets,
box:fleet/classic/box-1andbucket:carlos-classic-dev-fleet-665106592142, withscripts/hosts-used-scan-aws.sh --profile <that account's profile>. The release agent then runs the rest in one short console-stopped window. No behaviour change for classic. - Complete with
-close-fleet classic. That is faster, but a closed fleet takes no new instances, so Tito Classic staging could create no new instances on dev. - Leave it. Dev claims and new ie apps stay refused until the root cause is fixed (agent 524ce6fa is on it: every new group member breaks the history until a rescan). Note: activate also moves the dev history floor from v0.33.0 to v0.34.13 (older consoles and
carlos accounts migratebelow it are refused on dev). Evidence: ~/.cache/hosts-used-20261106/.
Release agent: hostname history completion on the dev console is STOPPED before any change. The documented procedure can't finish with the access I have. Console up; history unchanged (still active, floor v0.33.0).
The documented procedure (README "Completing the history", plus "Restores" and the three limits): with the console stopped, run console hosts-used roster -o roster.json, then scan every target with scripts/hosts-used-scan-aws.sh --profile <p> --targets <coords.json> roster.json scan.jsonl, then console hosts-used activate -roster roster.json -listings scan.jsonl [-close-fleet <fleet>], then start the console.
activaterefuses an ALREADY ACTIVE history (internal/console/hostsused_activate.go:331, msgHostsAlreadyComplete). So re-completing after a box joins a region needsconsole hosts-used invalidatefirst, with the console stopped. That is how the README's Restores and fleet-growth paragraphs do it. Between invalidate and a successful activate, every new instance is refused.- What I ran (07:58:55Z):
systemctl stop console, then the roster, thensystemctl start console. Console down 0.3 s plus start, then MainPID 767231, healthz ok v0.34.13. - The roster ran as user carlos, with the running console's own environment (from /proc/<pid>/environ, removed straight after) and the running binary /opt/carlos/versions/v0.34.13/console:runuser -u carlos -- env -i ... /opt/carlos/versions/v0.34.13/console hosts-used roster -o /run/hu-20261106/roster.json. - Output: "roster written to /run/hu-20261106/roster.json: 14 targets to scan". - Roster: region "" = g-620d08d1, g-63b8a1e5, leo, sophie and bucket carlos-dev-ie. region uk = dennis and carlos-dev-uk. fleet classic = box:fleet/classic/box-1 and bucket:carlos-classic-dev-fleet-665106592142. fleet demo = box-1 and carlos-demo-fleet. fleet r10r = box-1 and carlos-r10r-fleet. fleet r10w = carlos-r10w-fleet (closed today). - The current @mode (written 2026-10-31T20:09:01Z, floor v0.33.0 8294a520) has region_targets dennis, leo, sophie, carlos-dev-ie and carlos-dev-uk. The new group members aren't in it, which is the refusal in the journal: "console: hosts used: box:g-620d08d1a2c2f25c0f4b on "" was not scanned when the history was completed".
- BLOCKER: fleet classic is in AWS account 665106592142. kass gets AccessDenied on s3:ListBucket for carlos-classic-dev-fleet-665106592142. I have no credentials provided for that account, and its box isn't in kass's SSM. So the scan can't cover box:fleet/classic/box-1 or its bucket, and activate would refuse. - The documented alternative is
-close-fleet classic. A closed fleet takes no new instances, so that changes the classic fleet's behaviour. That needs its owner's ruling (Tito Classic session?), not mine. - Everything else on the roster is scannable today: all 7 kass boxes Online in SSM, all /data, prefix "instances" on every box. The coords file is ready in ~/.cache/hosts-used-20261106/coords.json. r10w would be closed again with -close-fleet r10w, as it is now.
To finish, I need one of these: (a) a scan of the two classic targets from someone with access to account 665106592142, in the same TargetListing JSONL format, appended to the scan; or (b) a ruling to close fleet classic (-close-fleet classic). Either way the sequence is: console stop, invalidate, roster, scan, activate, start. Activate also moves the floor from v0.33.0 to v0.34.13, the console that runs it. After that, a console older than v0.34.13 and carlos accounts migrate below v0.34.13 are refused on dev.
Evidence: ~/.cache/hosts-used-20261106 (log.md, roster.json, coords.json, tmp/mode-pre.json, tmp/floor-pre.json, tmp/hosts-used-pre-objects.json, tmp/roster-run.txt, roster.box.sh).
Plan 4 controller: the claim-on build is live on dev and the agent journey up to the claim is witnessed. No claim completed, as you asked.
- Wire check: no rebind needed.
git diff 0eea2abb..72c4946aon the claim and apidemo files, plus the edge demo API and moved code, shows no route, status, body or field change: readiness logging and gates, the HA create check, IP attribution order, moved-notice internals. The contract stays bound to 0eea2abb. - Deploy: claim-on, console as API origin,
CARLOS_START_API_ORIGINunset: https://tmp-pj4lpm.bab.dev.oncarlos.com/start/. Build aba9223, live verifier passes. - Real agent (Codex local, clean HOME): - First run, on ba44a65: FAILED, and it was a real /start bug. The create reply said
claimAvailable:true, but the agent saved no token and gave no claim link. When asked to keep the app it said the token was gone. It was honest and made no second create, but the app could not be claimed or updated. Demo left to expire: https://fluffy-berry-81.dev.trycarlos.com/. - Fix, aba9223: write the create response to a private file straight after the 202, read the token from there, always give the claim link with the first live URL whenclaimAvailableis true, and never a create to recover a lost token. 137 tests pass. - Retest on aba9223: PASSED. Live in about 2 min 20 s at https://glad-mint-35.dev.trycarlos.com/, with the token saved privately and the claim link given with the live URL. Then a non-Keymail address (person@example.com) got 503{"error":"unavailable"}. The agent said keeping is unavailable for that address, that no code was sent, and that the app runs until its original expiry. It made 0 creates at that step, and the demo still answers 200. - PR updated: https://github.com/carlosframework/website/pull/106, with the acceptance file. Not merged.
Limits of this evidence:
- One agent, one successful run. Claude Code local hasn't been re-run on the claim-on build.
- aba9223 came after the whole-branch review and had no review round of its own; the retest and tests are what cover it.
- Codex cloud, Cursor, phone and the Claude cloud allowlist step remain outstanding.
Paul's checklist is ready and is marked to wait for your word on the Ireland data-create refusal. Tell me if anything changes, including when to switch CARLOS_START_API_ORIGIN.
Plan 4 controller: the scoped review is done, its fixes are in, and Claude Code local passed up to the claim step on the fixed build. No claim was completed. Correction to my last message: it said the PR was updated, but that edit had failed; the PR has been correct since just after.
- Scoped Opus review of aba9223: READY AFTER FIXES, no P1, six P2s. All fixed in 54dfd14, with the wording P3s: - The conversation is private only if it's a direct session and nothing suggests others can read it. In a PR, issue, commit or shared channel: live URL only, ask how to give the claim link privately. - The reply goes straight to
create.jsonin an owner-only directory (curl -o), so the token never reaches tool output. Nocat,curl -vor token on a command line. - Permissions are set before writing, the directory must be outside any repo, and there's a fallback when no such place exists. - Later replies sit besidecreate.json, never over it. - Cleanup triggers are ones an agent can act on, and the person is told the path. - A lost token never leads to a request without Authorization, in every mode. - Tests: 146 pass,
npm run checkpasses. Four mutations each failed a real test, not just a baseline hash. The reviewer had shown some tests couldn't catch these. - Dev site: claim-on 54dfd14, console as API origin, live verifier passes: https://tmp-pj4lpm.bab.dev.oncarlos.com/start/.
- Claude Code local (2.1.312, clean config): PASS up to the claim. Live in about 3.5 min of agent time at https://fluffy-cactus-11.dev.trycarlos.com/. - No token value in tool output; owner-only directory; claim link and directory path given with the first live URL. - Keep step with person@example.com: 503 twice (one retry), then it stopped. No code asked for, 0 creates, link not repeated, original expiry stated, demo still 200. - One weak spot: its explanation of the 503 was partly a guess (it suggested the example.com address might be the cause and offered to try a real address, which on mailer-less dev would also get 503). It labelled this as a guess, so I left the text alone.
- Not re-reviewed after 54dfd14, per the stopping rules. Codex was not re-run on 54dfd14; its pass was on aba9223.
PR: https://github.com/carlosframework/website/pull/106, still a draft, with docs/start-demo-acceptance.md updated. Not merged.
Still outstanding: Paul's Keymail claim (checklist ready, waiting on your word about Ireland data creates), Codex cloud, the Claude cloud allowlist step, Cursor, phone. I've stopped on that gate. Scratch, test credentials and agent leftovers are removed. The three test demos and the dev site expire on their own (demos within 24 hours, site trashed 2026-11-12). Message me for the checklist go, the API origin switch, or a Claude/Codex rerun.
Plan 4: built and witnessed on dev up to the claim. Waiting only on the classic-fleet answer above.
- Claim-on dev site: https://tmp-pj4lpm.bab.dev.oncarlos.com/start/ (website 54dfd14, console as API origin).
- A real Codex run caught a /start bug: the agent lost its claim token. Fixed: the create reply goes straight to an owner-only file outside any repo, the token never shows in tool output, and the claim link is given privately with the first live URL. A scoped Opus review followed (no P1; six P2s fixed). 146 tests pass.
- Codex local PASS (on aba9223) and Claude Code local PASS (on 54dfd14), up to the claim: https://fluffy-cactus-11.dev.trycarlos.com/. A non-Keymail address on mailer-less dev gets 503; the agent says keeping is unavailable and makes no second create.
- PR https://github.com/carlosframework/website/pull/106 (draft, not merged) has Luna-reviewed copy, the acceptance file and your 9-step Keymail checklist.
- Outstanding: your Keymail claim, Codex cloud, the Claude cloud allowlist step, Cursor, phone, real Safari.
Paul chose option 1 for the classic fleet (2026-11-06, design session): the release agent may use the AWS profile titogo (role titogo-infra in account 665106592142) for a read-only hostname-history scan of exactly the two classic targets, box:fleet/classic/box-1 and bucket:carlos-classic-dev-fleet-665106592142, with scripts/hosts-used-scan-aws.sh --profile titogo. Nothing else in that account: no writes, no other buckets or boxes, no changes to Tito Classic. Then run the documented completion in one console-stopped window (invalidate, roster, scan all 14 targets, activate with -close-fleet r10w as before, start), note the floor moves to v0.34.13, and report on #527 and #421. After that, the Keymail claim checklist is ready for Paul.
Paul: option 1, read-only scan of the two classic targets with the titogo profile; then complete the dev hostname history.
Release agent: dev hostname history COMPLETED (Paul's option 1). Console down 09:59:51Z to 10:02:42Z (2 m 52 s). All checks pass.
Readback:
carlos system hosts-used status: mode active, 283 hostnames recorded (67 before), closed fleets r10w, floor v0.34.13 (72c4946a93d0ec25c79b8504acec24290a5fa143), up from v0.33.0 (8294a520). - From now on the console roll script refuses a dev console older than v0.34.13, andcarlos accounts migrateolder than v0.34.13 refuses. - Boxes and creates are not gated by the floor (checked in code before activate, and confirmed to 8a3d302).- @mode at 10:02:37Z: region_targets now include box:g-620d08d1a2c2f25c0f4b and box:g-63b8a1e5fbfcc3c93b5b, beside dennis, leo, sophie, carlos-dev-ie and carlos-dev-uk. examined: fleet:classic, fleet:demo, fleet:r10r, region "", region uk. Closed: fleet:r10w.
- healthz ok v0.34.13. The console started with no hosts-used errors.
- Plain shared create in ie: rel1106-shared-hu on hacheck returned 201, Dublin (IE). Its record has NO "ha" field, so it was not born HA; born-HA records carry "ha":true, like hacheck-ha1. Deleted, record 404.
- HA create into pool hapair: static rel1106-pool-hu returned 201 with pool hapair, as before. Deleted, record 404.
- claimAvailable: lucky-dove-48 was created at 10:03:56Z and returned 202 with claimAvailable true. I took it down; cleanup was complete by 10:10:20Z, with 0 keys under apps/bad/ and the host returning 404.
Exact procedure (README "Completing the history", with the invalidate step from "Restores"):
- Backups: control/hosts-used/ synced to ~/.cache/hosts-used-20261106/backup-hosts-used/ (69 objects), with version IDs recorded. registry.db, -wal and -shm copied to /root/hu-20261106/ on sophie after the stop.
- On sophie, as root via SSM. The console's environment was captured from /proc/<pid>/environ into /run/hu-20261106/console.env (carlos 0600, deleted at the end). Every console command ran as
runuser -u carlos -- env -i <that environment> /opt/carlos/versions/v0.34.13/console <args>in /data. - 09:59:51.048Zsystemctl stop console- 09:59:51.137Zconsole hosts-used invalidate: "the hostname history is invalidated. new instances are refused until a fresh inventory completes" - 09:59:51.305Zconsole hosts-used roster -o /run/hu-20261106/roster.json: "roster written to ...: 14 targets to scan" (identical to the 07:58Z roster) - From DOCS-T1, scans with scripts/hosts-used-scan-aws.sh at 72c4946a, 10:00:30 to 10:01:47Z, 13/13 ok: -
--profile titogo --targets coords-titogo.json roster-titogo.json scan-titogo.jsonl: box:fleet/classic/box-1 = i-036e92431e01f7e0a eu-west-1 /data (52 paths); bucket:carlos-classic-dev-fleet-665106592142 prefix "" (11 keys). Read-only. Nothing else was done in that account beyond locating the box: one filtered ec2 describe-instances, a top-level s3 ls of that bucket, and sts get-caller-identity. ---profile kass --targets coords-kass.json roster-kass.json scan-kass.jsonl: 7 boxes and 4 buckets, all prefix "instances", data_dir /data. - bucket:carlos-r10w-fleet-640012953448 was not scanned; it was closed instead. - The merged scan.jsonl went to the box gzipped and sha256-checked.
- 10:02:32.944Z
console hosts-used activate -roster /run/hu-20261106/roster.json -listings /run/hu-20261106/scan.jsonl -close-fleet r10w: "the hostname history is complete. 283 hostnames recorded" - 10:02:42.668Z
systemctl start console: MainPID 787092, NRestarts 0.
Journal before: "console: hosts used: box:g-620d08d1a2c2f25c0f4b on "" was not scanned when the history was completed". That's hostsCoverageRefusal, internal/console/hostsused.go:265: any edges-file box in a region that isn't in @mode regiontargets refuses every data-kind create there. activate refuses an active history (hostsusedactivate.go:331), so each new group member means stop, invalidate and complete again. There have been none since the restart.
Slips, both caught before harm: a first chunk-transfer loop sent nothing (read with no trailing newline), caught by the sha guard and resent.
Files: ~/.cache/hosts-used-20261106 (log.md, roster.json, roster-window.json, coords-.json, roster-.json, scan.jsonl, window-.box.sh, tmp/: mode-pre/post, floor-pre, status-pre/post, window-open/close, journal lines, titogo-locate). The box keeps /run/hu-20261106/{roster.json,scan.jsonl} (tmpfs) and /root/hu-20261106/registry.db.
The dev demo for Paul's claim is ready.
- Claim link: it is private, at
/home/paulca/.cache/agent-start-demo-dev/secrets/paul-claim-link.txt. Open it in a browser and sign in with Keymail. - Demo: https://keen-meadow-60.dev.trycarlos.com
- Expiry: Sat 7 Nov 2026 10:12:09 UTC. The demo must be claimed before then.
What to look for after the claim
- The new app, at the address the claim page shows under dev.oncarlos.com, should return exactly
two:witness-1793959946-wal, withx-carlos-version: v0.0.0-demo.2. The value is from the last write, made after the update, so it covers both the data and the latest version. - The old address should show the moved page, linking to the new app, until the expiry above.
I run verify.sh once Paul says he has claimed it. It checks the data, the moved page and its headers, HEAD, POST 410, and that the claim token is spent.
Paul: the agent /start demo is built, merged and on dev. Ready for your review and your Keymail claim. (program controller 39e7acfa)
To review:
- Dev /start page (claim on, console as the API host): https://tmp-pj4lpm.bab.dev.oncarlos.com/start/. The homepage hero is in the same build at https://tmp-pj4lpm.bab.dev.oncarlos.com/.
- Live dev demo, ready for you to claim: https://keen-meadow-60.dev.trycarlos.com/. It expires Sat 7 Nov 10:12:09Z. The claim link is private, at ~/.cache/agent-start-demo-dev/secrets/paul-claim-link.txt. Claim with your Keymail address in the browser, following the 9-step checklist in the PR. Then tell 5f61c584, or reply here, and verify.sh checks that the row
two:witness-1793959946-waland version v0.0.0-demo.2 arrived at the new address, plus the moved page and the spent token. - Website PR (draft, unmerged; you merge after review): https://github.com/carlosframework/website/pull/106. Luna-reviewed copy is in its
copy-review/start-demo-2026-11-05/(strings, Luna brief and result, the docs delta). Two strings kept their source wording, and two wording questions are flagged for you in the PR.
Built and merged (platform main), all dev-only releases v0.34.9 to v0.34.13:
- Plan 3 claims e12fe9a1. Activation fixes found on dev: Keymail-ready 0eea2abb, moved-capability race 7bab9473, snapshot unit + openat2 ebfc08e1 (caught by a root-runner witness before any real claim), and ready-gates 72c4946a (your option 1; readiness now logs every failing gate).
- Log/error skip fe8b5030. Site-host demo API 973a07e2 + claim paths 25ca6faf (off; turning it on removes the second allowlist host).
- Dev: canary + console on v0.34.13, stable on v0.34.11 (held by 8a3d302 for the HA group). Seeds floor v0.34.9. CARLOSDEMOCLAIM=1 on every box and the console. ha_pools ["hapair"]. Hostname history completed 10:02Z (floor v0.34.13).
Witnessed: create to live in 12-21 s, update keeps data, banner/CSP/caps/takedown (Plan 2), no post-purge analytics/log keys, claimAvailable:true, snapshot export of a WAL-only row on real systemd, Codex local and Claude Code local from the paste line up to the claim (with a token-handling bug found and fixed).
Outstanding: your Keymail claim; the emailed-code path (first real witness on flagship); Codex cloud; the Claude Code cloud allowlist step; Cursor; phone; real Safari. Also: the v0.34.13 tag isn't on the forge, because ~/.git-credentials lost its amadan.net entry at 07:13Z (one git push origin v0.34.13 once it's back).
Flagship: the rollout card is at ~/.cache/agent-start-demo-dev/FLAGSHIP-CARD.md (draft 2: two rolls for both binary slots, the irreversible seeds floor, the HA destinations gate, claim settings, DNS and certificate, witnesses, website publish, rollback). No flagship step has been executed.
I'm stopping here as briefed. Plan 3's controller 5f61c584 stays available for verify.sh after your claim.
From the design session (platform-f6): Paul tried the browser claim on dev (2026-11-06, after 10:12Z) with the link for keen-meadow-60 and his Keymail address. Two bugs, both must be fixed before he tries again:
- The /demo/claim page is unstyled. internal/console/templates/democlaim.html is a standalone document with no stylesheet; it should render inside the console's normal layout and look like the rest of the console (same header, typography, buttons, light/dark), keeping its CSP posture (only its embedded democlaim.js script; icons_test.go pins that). Reuse the existing layout rather than inventing CSS.
- "Keep this demo" does nothing visible. Paul saw "You are signed in as paul@keymail.dev", Account "paul (bac)", clicked Keep this demo, and stayed on the same page. Suspect path: handleDemoClaimBrowserSelect -> requireFreshAuth -> step-up -> resume, which for /demo/claim/select deliberately redirects to /demo/claim (stepup.go ~468) instead of completing, so the person lands back on the same form; a second click may also fail freshness (claim cookie vs console session) and loop. Do NOT guess: use superpowers:systematic-debugging. First read the dev console journal on sophie (profile kass, read-only, via SSM) for Paul's requests to /demo/claim, /auth and step-up since 10:12Z, and reproduce in a test that drives the real router (Keymail step-up stubbed), including the resume. Then fix the root cause so one click (plus the Keymail step-up if needed) completes the claim and the page shows progress then the result.
Process: Astra implements with a failing test first; one Opus review (security gate: step-up and claim authority); Luna for any new human-facing string; squash merge after green CI on the exact tip (-squash -expect <full sha>); then ask 8a3d302 for a dev-only release to the dev console (console-only change if possible) and confirm on dev with a real browser up to the account step. Do not consume Paul's claim token: his link must still work (if the flow state for keen-meadow-60 is now unusable, create a fresh demo for him and put the new link in ~/.cache/agent-start-demo-dev/secrets/paul-claim-link.txt, 0600). Then post on #527 that it's ready for Paul to retry, and run verify.sh after he claims. No flagship. Commit subjects under 80 chars. Launch any Paseo agent with --mode bypassPermissions.
Paul's browser claim on dev: claim page unstyled and Keep this demo does nothing; handed to 5f61c584 to root-cause, fix and re-ready.
From the v0.34.14 release agent (8bae6437, for 8a3d302): dev rolled to v0.34.14 (canary 18:34Z, dev console 18:39:46Z, stable 18:40:48Z). Claim readiness after the roll:
- No
console: demo claim readinessline in the console journal since its 18:39:46Z start. That means ready from the first check. - Edges files at 18:50Z (6+ min after the last edge restart): sophie and dennis (the shared-pool edges) carry seedsprotocol 2, floor v0.34.9, prevseedsallowedfor v0.34.9, demo-claim-seed-v1 and demo-moved-v1.
- Test demo coral-firefly-09 created 18:50:58Z: 202 with claimAvailable TRUE, live in 17 s. Taken down at 18:51:41Z.
- keen-meadow-60 was not touched: state anonymous before and after, 200 with two:witness-1793959946-wal present. It answered 503 twice (18:37:02Z and 18:37:32Z) while demo box-1 and sophie restarted, then 200 from 18:38:02Z.
- Console drop-ins (demo-apps, demo-claim, ha-capacity with ha_pools ["hapair"], change-index) and the host.env files on sophie, demo box-1, dennis and leo are byte-identical to before.
- No new g- member joined during the roll. The hostname-history floor is v0.34.13 and the console is v0.34.14.
Correction from 8bae6437: keen-meadow-60 answered 503 three times, not two: 18:36:32Z, 18:37:02Z and 18:37:32Z (30 s samples). That covers demo box-1's restart at 18:36:21Z through sophie's admission window. It has answered 200 since 18:38:02Z, and it still showed the witness and the anonymous state at 18:55Z.
Browser claim fix merged to main as 4c41cb9e: "Keep this demo" was blocked by the claim page's CSP, and the page now uses the console's layout. It is not on dev yet; I have asked 8a3d302 and 39f6160b for a dev-only console release. Paul should wait for my ready-to-retry note.
v0.34.15 DEV CONSOLE ONLY: done (release agent d99e59f, job from 8a3d302).
- Cut from main 4c41cb9e (demo claim page CSP fix, plus the docs site gates). Main CI passed. Tag 59d2c683 is on the forge and the GitHub mirror. Published as Latest with 14 assets and verified signatures; tap #105; apt v0.34.15-1 live. S15 linux-arm64 is 8e0596a1ba4ae4d4e116641b32db81456615ac430f399c144406fdd2c8076680, console arm64 78fca06c.
- Dev console rolled at 21:27:00Z, after 39f6160b opened the console gap. One restart, NRestarts 0. healthz returns "ok v0.34.15". The probe saw 1175 x 200 and no errors. hapools ["hapair"] and CARLOSDEMO_CLAIM=1 are kept, and all 18 drop-ins are byte-identical to before the roll.
- Canary, stable, boxes and the HA group were not touched. 39f6160b lifted the dev stable freeze at 21:27Z; I did not promote stable. Any stable promote needs a group re-pin first (tell 8a3d302).
- FLAGSHIP: NOT ROLLED.
- Release steps 10-12 (docs, changelog, self-host) are not done for this dev-only cut.
Log: ~/.cache/release-v0.34.15/roll-log.md
Paul can retry the claim. The dev console is on v0.34.15 (main 4c41cb9e).
- Link: unchanged and unused, at
/home/paulca/.cache/agent-start-demo-dev/secrets/paul-claim-link.txt. The demo is https://keen-meadow-60.dev.trycarlos.com, expiring Sat 7 Nov 2026 10:12:09 UTC. - What to do: open the link again, sign in with Keymail if asked, pick the account, press Keep this demo once. Keymail may ask him to confirm it's him; the page then finishes by itself.
- Checked on dev in real Chromium with a throwaway demo (ivory-garden-84, which I cannot claim and which expires by itself on 7 Nov about 21:32 UTC): the page is styled, there are no CSP violations, and a form POST now reaches keymail.dev.
- Not run on dev: the signed-in account step, the Keymail confirmation and the copy. Those are covered by tests and a loopback browser run only. Paul's claim is the first real run.
The expected result is unchanged: two:witness-1793959946-wal at v0.0.0-demo.2 on the new address, and the moved page on the old one. I run verify.sh once he says he has claimed.
Claim page account choice is on dev: console v0.34.16 (cf977a22). Paul's link is unchanged at /home/paulca/.cache/agent-start-demo-dev/secrets/paul-claim-link.txt; the demo expires Sat 7 Nov 10:12:09 UTC. Screenshots: /home/paulca/.cache/agent-start-demo-dev/claim-ui-screenshots. Checked on dev in real Chromium with a throwaway demo (misty-elm-07, expires by itself): summary shown, no CSP violations, sign-in reaches keymail.dev. Paul's signed-in cards, Keymail confirmation, live progress and the copy are still unproven on dev; his claim is the first real run. I run verify.sh when he says he has claimed.
v0.34.16 DEV CONSOLE ONLY: done (job from 8a3d302).
- Cut from main cf977a22 (demo claim account cards, live progress, clear result) after main CI passed there (job 4998). Earlier runs: three #359 "signal: terminated" kills and one run that failed on the ship temp-file test flake (#645, since fixed in 3e1a3752, which merged after the cut and rides the next release). Tag 3233b48c is on the forge and the GitHub mirror. Published as Latest with 14 assets and verified signatures; tap #106; apt v0.34.16-1 live. S16 linux-arm64 is a7886dd133a6e975b1ceefc1484cab9cc8f2d4b87a7bfa20de3f8e255b961ee7, console arm64 a0ee5b27.
- Paul's condition: at 23:58:29Z, immediately before the restart, democlaimops had no row outside done/aborted (read-only sqlite3 on sophie).
- Dev console restarted once at 23:58:50Z, NRestarts 0, 0 ERROR. healthz returns "ok v0.34.16". The probe saw 1181 x 200. hapools ["hapair"] and CARLOSDEMO_CLAIM=1 are kept, and all 18 drop-ins are byte-identical.
- Canary, stable, boxes and the HA group were not touched.
- FLAGSHIP: NOT ROLLED.
Log: ~/.cache/release-v0.34.16/roll-log.md
Claim page phone tidy is on dev: console v0.34.17 (80385b81). Screenshots: /home/paulca/.cache/agent-start-demo-dev/claim-ui-screenshots/mobile. Paul's link is unchanged at /home/paulca/.cache/agent-start-demo-dev/secrets/paul-claim-link.txt, expiring today at 10:12:09 UTC. His claim is still the first real run of the signed-in steps. Throwaway demo fair-bay-58 expires by itself.
v0.34.17 DEV CONSOLE ONLY: done (job from 8a3d302).
- Cut from main 80385b81 (demo claim page on phones, copyable CLI command; includes the ship-test fix 3e1a3752) after main CI passed there on rerun job 5008. The first run failed on an internal/edge flake (TestAssetE2EOversizedResponseIsStoredNowhere//assets/unsized.js read timeout); fixer e812a851 has it, and its fix rides the next release. Tag 80088406 is on the forge and the GitHub mirror. Published as Latest with 14 assets and verified signatures; tap #107; apt v0.34.17-1 live. S17 linux-arm64 is 2570e5e677c5161a753736bfda37f56737b3dbd5487b593293d0c40a88be7648, console arm64 974702eb.
- Claim check at 01:05:48Z, immediately before the restart: democlaimops had no row outside done/aborted.
- Dev console restarted once at 01:06:10Z, NRestarts 0, 0 ERROR. healthz returns "ok v0.34.17". The probe saw 1182 x 200. hapools ["hapair"] and CARLOSDEMO_CLAIM=1 are kept, and all 18 drop-ins are byte-identical.
- Canary, stable, boxes, the HA group and every flagship pointer were not touched (a644cd3a was told before publishing).
- FLAGSHIP: NOT ROLLED.
Log: ~/.cache/release-v0.34.17/roll-log.md
v0.34.18 DEV ROLL DONE (job from 8a3d302).
- Cut from main a79dd1f8 (HA G2 rerun W fixes, with baf506ea and 3e1a3752) after main CI passed there. Tag c8a31f76 is on the forge and the GitHub mirror. Published as Latest with 14 assets and verified signatures; tap #108; apt v0.34.18-1 live. S18 linux-arm64 is dfd5a0c2882f55f2f82a79c40df2f76a472da87be2e46a0d4424af80df924a6e, console arm64 dbca8f3f.
- Canary: sophie (03:07:49Z) and demo box-1 (03:08:55Z) on S18, NRestarts 0, no ERROR, REFUSING or LEASE HELD; host.env unchanged; CARLOSDEMOCLAIM=1 kept. App watch showed 503 from 03:07:59Z to 03:08:45Z during the sophie restart, then 200.
- Dev console: claim check at 03:10:51Z found no open democlaimops row; one restart at 03:11:22Z; healthz "ok v0.34.18"; probe 1187 x 200; ha_pools ["hapair"] and all 18 drop-ins byte-identical.
- Stable: promoted once at 03:16:28Z. leo (03:18:19Z), dennis (03:21:26Z) and the stable box-1 are current on S18 with the same checks. One 503 sample at 03:19:57Z. The second box-1 was UNREACHABLE before the roll and still is.
- Wakecheck passed (200 in 0.62 s on sophie; the leo-pinned request was forwarded to sophie).
- HA group members g-6ce4ffb7 and g-a90036fc stay on v0.34.14, "behind -> v0.34.18". Not touched; 4df99460 re-pins and runs the W-fix verify (then drop /carlos/dev/ie/CARLOSDNSPROVIDER per the runbook).
- FLAGSHIP: NOT ROLLED.
Log: ~/.cache/release-v0.34.18/roll-log.md
v0.34.19 DEV ROLL DONE (job from 8a3d302). Carries 35d551bb: the startup alias pass removes nothing.
- Cut from main 35d551bb after main CI passed there. Tag 90ab57c4 is on the forge and the GitHub mirror. Published as Latest with 14 assets and verified signatures; tap #109; apt v0.34.19-1 live. S19 linux-arm64 is 6d33d2f7817d7251b758dd47781f37079b3d2a2eb50fc931ffa08a58ae4dc65d, console arm64 c289ddc2.
- Edges file host count, sampled every 2 s from 30 s before to 3 min after each edge restart (105 samples each, no read errors): - sophie (08:12:47Z): min 19, max 19. - dennis (08:24:30Z): min 2, max 2. - leo (08:26:16Z): min 5, max 5. - No dip, and no host missing at any sample. Demo box-1 and the stable box-1 publish no edges file. Demo box-1 logged "incomplete startup alias pass", which is the fix skipping a removal. - Over the whole run, sophie changed once, 19 to 18 at 08:26:57Z: demo host fluffy-cactus-11 retiring, 14 minutes after the restart. - Dev carries few custom domains, so this is a weak stand-in for a box like annie.
- Canary, dev console (claim check first, all settings kept) and stable all on S19 with NRestarts 0 and no ERROR, REFUSING or LEASE HELD. Wakecheck passed. bootstrap/carlos is now S19 (it had been left on v0.34.14 after the v0.34.18 stable promote).
- HA group not touched.
- FLAGSHIP: NOT ROLLED.
Log: ~/.cache/release-v0.34.19/roll-log.md
keen-meadow-60 expired at 10:12:09Z before Paul opened it (retired and purged at 10:21:47Z), so its link correctly no longer works. A fresh demo is ready: https://plucky-lotus-49.dev.trycarlos.com, expiring Sun 8 Nov 2026 11:52:08 UTC. The private link is at /home/paulca/.cache/agent-start-demo-dev/secrets/paul-claim-link.txt. Expected after the claim: two:witness-1794052345-wal at v0.0.0-demo.2. A follow-up will make expired or already-kept links say so plainly.
Paul's claim of plucky-lotus-49 passed verify.sh end to end. This is the first real claim through a box, done by 11:56Z.
- New app https://plucky-lotus-49.bac.dev.oncarlos.com returns exactly "two:witness-1794052345-wal" with x-carlos-version v0.0.0-demo.2: the latest committed data, including a row written after the update, on the same version. DATA MATCH.
- Old address plucky-lotus-49.dev.trycarlos.com: GET 200 shows the moved page ("This demo has moved", a link to the new address), with cache-control no-store, no-referrer, nosniff, and a locked CSP with no scripts or forms. HEAD 200. POST 410, and the POST didn't reach the new app.
- The claim token is spent: reusing it is refused (401).
- The original expiry is unchanged: Sun 8 Nov 11:52:08 UTC, when the moved page stops.
- Operation phase done; snapshot 8192 bytes, copied. Next, functional only, as you said: (a) the double Keymail sign-in, root cause from his session rows first; (b) the plain expired and already-kept messages, which Astra is building now. Visual work is paused for mockups.
Claim journey UX mockups are up, for Paul's review before anything is built: https://tmp-of3q2e.bab.dev.oncarlos.com/
Seven clickable scenarios, phone first (390 px), light and dark, with a "Motion: calm" toggle for the reduced-motion version. Start with 6 (the tada), then 1 (newcomer on a phone). Each screen carries notes on what changed and what the build would need; https://tmp-of3q2e.bab.dev.oncarlos.com/notes.html collects the decisions and open questions. All copy is marked draft for a Luna pass. No product code changed.
Five decisions most worth Paul's reaction:
- The tada is the address changing home. The app is one "ticket" (name, address, time left) from the first claim screen on. When kept, the address wipes from
.trycarlos.comto.bac.oncarlos.com, the clock becomes a tick, one burst fires from the app's tile, then a big "Open your app" button and calm next steps (agent line to paste; CLI folded away). About 1.5 s, once; a reload shows it settled. - Every keep ends on the tada page, even from the chat. Needs the claim API to return a one-time "kept" link the agent hands over. A new console door, so it needs a security look.
- Honest progress, held for at least 650 ms per stage. Real stages only (copying your data, starting your app), no percentages, since status gives a stage, not a fraction. Life comes from motion: data travels along a path, the new home breathes while it starts.
- A one-line demo banner with time left ("Made by an AI. Temporary. Don't enter real passwords. 21 h left"), with the rest and Report abuse in a no-script
<details>. Today's banner pads phone pages by 16rem. Needs the edge to know each live demo's end time, and a copy review against the approved Plan 2 text. - Claim pages stay console plum, not website teal, because they may load only the console stylesheet. The alternative means a second stylesheet in the console.
Platform needs if adopted: the kept link (2); end time on the edge (4); style-src for one edge stylesheet on the moved page (it is unstyled today because its CSP allows nothing); retry on the same page after an aborted claim; expired versus bad link (being built now); the double Keymail sign-in fix, since the Keymail screen promises one sign-in.
The site is a temporary dev app in ops (bab), trashed 2026-11-14. Sources and the generator are in ~/.cache/agent-start-demo-ux/ (tools/build.py, site/, screenshots in shots/).
Demo claim functional fixes merged (not yet on dev): 73fa586, one Keymail sign-in for a browser claim (the claim sign-in now satisfies the select step-up when Keymail reports a fresh authtime; Opus security review approved). cf76222, claim links that no longer work now say why: expired, kept, taken down, or broken (spent hashes kept 30 days in demospent_tokens; Opus approved after a retention fix). A console-only dev release has been requested from 8a3d302; 0 claims were in flight. Visual work is paused pending mockups.
v0.34.20 DEV CONSOLE ONLY: done, apt pending (job from 8a3d302).
- Cut from main cf762224 (one Keymail sign-in for a browser demo claim, 73fa5867; spent claim links say why, cf762224) after main CI passed there. Tag c517bb17 is on the forge and the GitHub mirror. Published as Latest with 14 assets and verified signatures; tap #110. S20 linux-arm64 is 67e10b461df3adef385ba057425f8809b42da85a909a83b9c4d1289d2518f162, console arm64 da1d51c9.
- apt v0.34.20-1 is HELD while G3 runs on the flagship (the apt app lives in the flagship bucket). It ships on 8a3d302's "apt ok".
- Claim check at 13:14:28Z: no open democlaimops row. Dev console restarted once at 13:14:49Z, NRestarts 0, 0 ERROR; healthz "ok v0.34.20"; probe 1185 x 200; hapools ["hapair"], CARLOSDEMO_CLAIM=1 and all 18 drop-ins unchanged.
- Canary, stable, boxes and everything flagship were not touched.
- FLAGSHIP: NOT ROLLED.
Log: ~/.cache/release-v0.34.20/roll-log.md
Dev console v0.34.20 (cf762224) live 13:14:54Z with 73fa586 (one Keymail sign-in) and cf76222 (spent claim-link reasons). Post-roll: demospenttokens present, 0 open claim ops, no readiness failures. Links spent before this release still read as broken (hash already erased).
Mockups revised after Paul's first look, republished to the same site: https://tmp-of3q2e.bab.dev.oncarlos.com/ (release ux-20261107b; the changes are listed at the top of https://tmp-of3q2e.bab.dev.oncarlos.com/notes.html).
- Step indicators are centred. The ring, the spinning arc, the dot and the tick now sit in one fixed 26 px box, all absolutely positioned on the same centre. The arc rotates about the ring's own centre (
transform-origin: 50% 50%, same border box as the ring), and the dot is shown by scale, never by layout, so nothing shifts between states. The cause was the dot and the hidden tick sharing one grid cell, which pushed the dot down. I measured it in a real browser at 390 px and 1280 px, light and dark, full and calm motion, and at 200% zoom: every node is 26 x 26 with its tick offset by 0, its dot inset 7 px each side, and its arc at origin 13 px 13 px. At 200% zoom the step detail text was being cut off; that's fixed too. - Homepage hero: one centred claim (scenarios 1 and 2), on phone and desktop: "CARLOS helps you build better, faster, more secure software with AI, and spend less running it." Then "Want to see how? Read on, or ask your agent:" with the paste line and Copy right under it. Following Paul's follow-up, Read on scrolls to the rest of today's homepage, unchanged (a light and a dark capture of the PR #106 build, from the architecture section to the footer). Nothing new was added below the hero.
One question: the three cards in today's hero (The skill, Rastrillo, CARLOS Platform) belong to the old hero, so the mockup leaves them out. Drop them, or keep them right under the centred claim?
Ready for more feedback.
Hero updated with Paul's copy, verbatim, and republished: https://tmp-of3q2e.bab.dev.oncarlos.com/s1-newcomer.html (phone) and https://tmp-of3q2e.bab.dev.oncarlos.com/s2-developer.html (desktop). Release ux-20261107c.
- Headline: "Want to ship faster, better apps, and save on running costs?"
- Under it: "CARLOS is a system for doing that and more. Read on, or try it now with your agent". Read on scrolls to the existing homepage content, unchanged below. The paste line and Copy sit directly under "try it now with your agent". No punctuation added.
- Centred on phone and desktop. I measured the line breaks in a browser: - Headline at 390 px, 360 px and desktop: "Want to ship faster, / better apps, and save / on running costs?" (three balanced lines, no single word left alone). - The second line keeps each sentence whole: "CARLOS is a system for doing that and more." / "Read on, or try it now with your agent". At 360 px the first sentence takes two lines. - At 200% zoom on a 390 px phone the headline needs six lines and "costs?" ends up alone on the last. At that width it can't be avoided without shrinking the type further.
The open question from before still stands: drop today's three hero cards, or keep them under the hero?
Hero updated to Paul's latest copy, verbatim, and republished (release ux-20261107d): https://tmp-of3q2e.bab.dev.oncarlos.com/s1-newcomer.html (phone), https://tmp-of3q2e.bab.dev.oncarlos.com/s2-developer.html (desktop).
- Headline: "Want to ship faster, better apps with AI, and save on running costs?"
- Then "CARLOS does all that and more.", then "Read on, or try it now with your agent", leading straight into the paste line and Copy. Read on scrolls to the unchanged existing content.
- Centred. No words changed. To stop "AI," landing alone at the start of a line, "with AI," and "running costs?" are kept together with a no-wrap style; the text itself is unchanged. Measured breaks: - 390 px, 360 px and desktop: "Want to ship faster, / better apps with AI, and / save on running costs?" (three lines). - The second and third lines fit on one line each. - At 200% zoom on a 390 px phone: six lines, with "apps" alone on its line. That can't be avoided at that width.
Still open: drop today's three hero cards, or keep them under the hero?
Paste box variants and Paul's hosts line are up (release ux-20261107e). All three side by side: https://tmp-of3q2e.bab.dev.oncarlos.com/hero-variants.html#4. Each one in the full phone hero: https://tmp-of3q2e.bab.dev.oncarlos.com/hero-variants.html#1 (then Next).
- Three variants for Paul to pick from (or mix): - A. The message you're about to send: a chat composer with a "To your agent" label, the line as the message with a blinking caret, and Copy where the send button would be. - B. A terminal prompt: a
>prompt and a block caret, with the label and Copy in a slim bar on top. Reads more developer. - C. A note to hand over: a slightly turned paper slip with a torn edge, addressed "To your agent", with the line set large. It straightens when focused or copied. The most unusual of the three. - All three: "Works with Claude Code, Codex and Cursor" (draft copy). Copy really copies, the icon turns into a drawn tick, and "Copied. Now paste it to your agent." appears and is announced as a status. It resets after a few seconds. - The line is real, selectable text, the URL never breaks mid-word, the caret is decoration (steady in calm motion), and focus rings are visible. Checked at 390 px and desktop. - Scenarios 1 and 2 use A until Paul picks. - Hosts line, Paul's words, verbatim: "Make sure your agent has access to carlosframework.com and console.carloku.com". The hosts are values (a list in the build), so when the site-host demo API is switched on and the console host drops out, the line names one host. The one-host form ("...access to carlosframework.com") is my reading of his words, so confirm it.
Still open: drop today's three hero cards, or keep them under the hero?
Softened B and Paul's headline edit are live (release ux-20261107g).
- B, softened, is now the paste box in scenarios 1 and 2: https://tmp-of3q2e.bab.dev.oncarlos.com/s1-newcomer.html. It keeps the terminal feel but takes the edges off: - rounder corners (18 px) and a warm, slightly lifted surface instead of black and green; - the line in a friendly rounded sans rather than mono; - a soft rounded caret that fades rather than blinks hard, and holds still in calm motion; - the
>replaced by a quiet teal chevron; - a plain "To your agent" label instead of the window bar; - Copy as a real raised button, with the same tick and "Copied. Now paste it to your agent." confirmation.
It sits beside the original B (with A and C below) at https://tmp-of3q2e.bab.dev.oncarlos.com/hero-variants.html#5.
- Headline, verbatim: "Want to ship faster, build better apps with AI, and save on running costs?" "with AI," and "running costs?" stay unbroken, and "build better apps" is kept together too, so "build" never ends a line alone on desktop. Measured breaks: - 390 px, 360 px and desktop: "Want to ship faster, / build better apps / with AI, and save / on running costs?" (four even lines). - At 200% zoom on a 390 px phone: six lines, with "faster," alone on the second.
Still open for Paul: the three old hero cards (drop, or keep under the hero?), and the one-host wording ("Make sure your agent has access to carlosframework.com" once the console host drops out).
Old hero cards folded into the homepage section, before and after side by side (release ux-20261107h): https://tmp-of3q2e.bab.dev.oncarlos.com/home-parts.html. Step 3 is the side by side; step 4 is the new section at full width. Scenario 1's "Read on" now lands on the new section too, with the rest of the page unchanged after it.
- Dropped from the hero: The skill, Rastrillo and CARLOS Platform cards.
- Reworked section (the one that already repeated Rastrillo and the Platform). The heading, the architecture sentence and the Eleven Factors line are kept word for word; the architecture sentence now ends "Three parts put it to work:". The three parts are joined by two words that show the order: the skill builds your app with Rastrillo, which runs on the Platform. That reads left to right on desktop and top to bottom on a phone. Each part has a short name, what it is, what it does for you, and its links: - The skill. "Instructions your coding agent reads before it starts." / "It teaches your agent to build and ship apps the CARLOS way, so you don't have to learn it first." Links: Get started, Build apps (the two skills linked from today's hero). - Rastrillo. "The Go web framework your app is built on, with Fiesta for how it looks." / "It gives your agent ready-made parts for all kinds of apps, so less is written from scratch." Links: rastrillo.org, Design system. - CARLOS Platform. "Where your app runs: hosted on Carloku, or on your own hardware." / "It puts your app online with HTTPS, backs up its data as it changes, and sleeps it when nobody is using it." Links: Start with Carloku, or self-host.
- Claims checked against the site's own copy. The /platform/ page says "Hibernate idle apps and wake them on request", "Continuous SQLite backups with Litestream" and "custom domains with automatic HTTPS". Today's homepage says "A full-stack Go web framework" and "hosted service, or self-hosted". Fiesta is named in the /start agent text (the starter's stylesheets). No new features claimed.
- For Luna and Paul. All new strings are marked draft for a Luna pass. Please confirm "Fiesta" is the right public name for what the site's "Design system" link points to; Fiesta isn't named anywhere else on the website today.
Still open for Paul: the one-host wording ("Make sure your agent has access to carlosframework.com" once the console host drops out).
Noted: Paul approved the one-host form, "Make sure your agent has access to carlosframework.com", for when the console host drops out. It's recorded in the mockup notes (release ux-20261107i). The hosts line already takes the host list as values, so the build only needs the console host removed from that list. Nothing is open from my side except the Fiesta naming check.
Rastrillo wording updated per Paul, republished (release ux-20261107j): https://tmp-of3q2e.bab.dev.oncarlos.com/home-parts.html#2
- What it is: "The Go web framework your app is built on."
- Links: "rastrillo.org" and "Fiesta design system" (the existing Design system link, renamed).
- The same section in scenarios 1 and 2 carries the change.
Nothing is open from my side now. All new section strings are still marked draft for a Luna pass.
Dev demo box role fix: DONE (Paul's "Fix", go from agent manager 8a3d302). Dev only. Flagship and tenant apps untouched.
Problem. Dev demo box i-05789ae978ebf2608 (demo/box-1) ran with instance profile carlos-root-runner. That role carries AmazonSSMManagedInstanceCore plus s3:GetObject/s3:PutObject on carlos-dev-640012953448/root-runner/*. Root-runner sessions download from that prefix and run what they find as root on fresh machines. The demo box runs anonymous code, so a root compromise there could plant something a later root-runner run would execute.
What the box actually needs.
- carlos on the box authenticates with the static key of IAM user
carlos-remote-host-demo, viaAWS_SHARED_CREDENTIALS_FILE=/etc/carlos/credentials(profile[default]). It never uses the instance role. That key is scoped tocarlos-demo-fleet-640012953448and can't reachroot-runner/either. - CloudTrail (kass, eu-west-1) for session
i-05789ae978ebf2608from 11-03 to 11-07 shows 1,864 events, all SSM: UpdateInstanceInformation, ListInstanceAssociations, ListAssociations and RegisterManagedInstance. No region has a trail, so S3 data events aren't visible. The only S3 use of the role was our own setup copies from the root-runner prefix. - The root-runner script (
root-runner.py) launches its own throwaway instance on every run and never touches the demo box.
New role, in the demo tofu root (~/.cache/agent-start-demo-dev/tofu/main.tf; the same tofu destroy tears it down): role and instance profile carlos-dev-demo-fleet-box.
- Trust:
{"Version":"2012-10-17","Statement":[{"Effect":"Allow","Principal":{"Service":"ec2.amazonaws.com"},"Action":"sts:AssumeRole"}]} - Policies:
arn:aws:iam::aws:policy/AmazonSSMManagedInstanceCoreonly. No inline policy, no S3, no IAM, no EC2.
Old inline policy root-runner-s3 on carlos-root-runner (unchanged, still used by root-runner instances): {"Version":"2012-10-17","Statement":[{"Effect":"Allow","Action":["s3:GetObject","s3:PutObject"],"Resource":"arn:aws:s3:::carlos-dev-640012953448/root-runner/*"}]}
Apply. Saved targeted plan, 3 to add (role, attachment, profile) and 1 in-place change (iam_instance_profile carlos-root-runner -> carlos-dev-demo-fleet-box), 0 to destroy. Applied 20:30:00-20:30:24Z. No reboot or restart, host.env unchanged. Right before the swap, a read-only check on sophie found 0 demo_claim_ops rows outside done/aborted.
Verification.
describe-iam-instance-profile-associations: associated,carlos-dev-demo-fleet-box. On the box, IMDS andsts get-caller-identityreturnassumed-role/carlos-dev-demo-fleet-box/i-05789ae978ebf2608.- SSM still reaches the box: every check after the swap ran over SendCommand.
amazon-ssm-agentandcarlos-edgeare active. - From the box with the instance role,
PutObject root-runner/rolefix-probe.txtgets AccessDenied ("no identity-based policy allows"). A read ofroot-runner/returns 403, and so does a list of the fleet bucket. With the box's static key, the sameroot-runner/put also gets AccessDenied. The probe object does not exist. - Demo:
helpful-alpaca-08created 20:31:24Z (202), built on box-1 (carlos-demo-build@…ran 20:31:26-29Z), live in 12 s, GET 200, a write saved. Takedown 20:31:42Z. Cleanup Complete by 20:35:36Z: host 404, 0 keys underapps/bad/. - Box journal since the swap: 0 AccessDenied, NoCredential or ExpiredToken lines.
- Also noted: every takedown since 11-05 logs
DEMO-EXPIRED: cleanup failed … retry=30s: DEMO-POLICYon its first attempt, then completes on retry. It predates this change. Recorded here, not touched.
Records: RESOURCES.md has the change. FLAGSHIP-CARD.md §3 step 6 now says the flagship demo box gets its own minimal role of the same shape (SSM core only, never carlos-root-runner), ideally in a separate AWS account. Evidence is in ~/.cache/agent-start-demo-dev/rolefix/.
Website part of the claim-journey build is on dev (website https://github.com/carlosframework/website/pull/106, branch agent-start-demo-4 at 62b2e05; draft, not merged).
- Homepage: https://tmp-pj4lpm.bab.dev.oncarlos.com/ - New centred hero with Paul's words verbatim: the headline, "CARLOS does all that and more.", "Read on, or try it now with your agent" ("Read on" scrolls to the parts section) and his hosts line. The hosts are build values, so on dev it names tmp-pj4lpm.bab.dev.oncarlos.com and platform.dev.carlosframework.com; it switches to the one-host form when they match. - Paste box is the softened B. Copy really copies; the button ticks and the status line is announced. - The three old hero cards are gone. The architecture section is reworked as mocked: the skill builds your app with Rastrillo, which runs on the CARLOS Platform. Heading, architecture sentence and Eleven Factors line are unchanged. Rastrillo reads "The Go web framework your app is built on." with "rastrillo.org" and "Fiesta design system". The rest of the homepage is unchanged.
- /start: https://tmp-pj4lpm.bab.dev.oncarlos.com/start/. Same as before except Paul's hosts line and the new copied status.
- Scope: all of this is in demo-enabled builds only. A build with the demo off still produces today's homepage byte for byte, so nothing changes on the live site until the demo is switched on.
- Luna pass (gpt-6-luna, read-only), applied verbatim. Changes from the mockup drafts: "To your agent" became "For your agent"; "Copied. Now paste it to your agent." became "Copied. Paste it into your agent."; "Three parts put it to work:" became "Three parts make it work:"; "learn it first" became "learn how first"; "all kinds of apps, so less is written from scratch" became "many kinds of apps, so it writes less from scratch"; and "sleeps it" became "puts it to sleep". Paul can revert any of them on review.
- Checks:
npm run checkpasses 149 of 149, and the live verifier passes on the deployed build. A browser check at 390 px and 1440 px, in light and dark, found no horizontal overflow. In each case the clipboard held the paste line and the status read correctly. - Screenshots (live dev site):
~/.cache/agent-start-demo-ux/shots/website/. The hero, copied state, parts section, full page and /start are each taken at 390 px and desktop, light and dark (home-hero-390-light.png,home-copied-desk-dark.png,home-parts-390-dark.png,start-390-light.png, …). - Notes for review: - The hero stays dark in light mode, as the mockups do. - Visible 🤖 markers sit before the paste box and the new section copy. Paul's strings carry hidden 👨 markers. - At 390 px the existing masthead puts the nav under the logo; the mockup sketch had them on one line. I left the masthead alone because the brief keeps the rest of the page unchanged. - The long dev origin wraps only after a dot or a slash. https://carlosframework.com/start stays on one line.
The console and edge parts (1-5) are not started by this session.
v0.34.22 DEV CANARY ONLY: done, apt pending (job from 8a3d302, demo program).
- Cut from main 16629f1a (edge: one-line demo banner with time left, styled moved page) after main CI passed there. Tag a1445815 is on the forge and the GitHub mirror. Published as Latest with 14 assets and verified signatures; tap #112. S22 linux-arm64 is 330d53b7683cdc33799ce06a3ad098a041371abe369a644029f870b658f08bf5.
- Canary only: demo box-1 (21:11:21Z) and sophie (21:15:22Z) on S22, NRestarts 0, no ERROR, REFUSING or LEASE HELD; host.env and CARLOSDEMOCLAIM unchanged. App watch showed 503 for about 30 s during the sophie restart.
- Claim check: no open democlaimops row at any of 35 readings through the roll, including just before each box restart.
- sophie edges file kept 19 hosts across its restart (97 samples).
- The new banner CSS is live on demo hosts.
- Stable stays v0.34.19 (the HA group is pinned to it). Console, HA group and flagship untouched.
- apt v0.34.22-1 is HELD until 8a3d302 says "apt ok".
- FLAGSHIP: NOT ROLLED.
Log: ~/.cache/release-v0.34.22/roll-log.md
Claim-journey UX, edge part (items 3 and 4) LIVE on the dev canary, v0.34.22 (main 16629f1), since 21:15Z. Flagship and stable untouched.
- One-line demo banner with hours left, the rest in a no-script details element: https://leafy-lemon-78.dev.trycarlos.com/ (an HTML test demo made for this; expires in 24 h).
- Styled moved page: https://plucky-lotus-49.dev.trycarlos.com/ (notice runs until Sun 8 Nov 11:52 UTC). Screenshots: live /home/paulca/.cache/agent-start-demo-dev/edge-ux-live-shots/ (390/1280, light/dark); build /home/paulca/.cache/agent-start-demo-dev/edge-ux-build-shots/ (24, incl. open banner and reduced motion). Open for Paul's review: 'Visit your app' on the moved page reads oddly for a visitor (Luna's wording, kept verbatim); with no known end time the banner falls back to the Plan 2 text; long addresses break mid-word at 390 px; the banner sits inside the tenant page's own body margin; a moved page opened over plain HTTP shows unstyled (cosmetic follow-up).
gVisor spike done (Paul's go, 2026-11-07). Throwaway t4g.medium in dev (kass, tag purpose=gvisor-spike), terminated 21:37Z, none left; nothing merged, no running box touched. Full report: ~/.cache/gvisor-spike/REPORT.md on DOCS-T1 (integration sketch with file:line in astra-integration.md beside it). Logs: s3://carlos-dev-640012953448/root-runner/gvisor-spike/.
It runs our instance model. runsc release-20261102.0 (systrap; Graviton has no /dev/kvm) under a root-run systemd unit with an OCI bundle: the app's unix socket is created on the host via --host-uds=create, SQLite WAL on the bind-mounted data dir survived 20/20 kill -9 cycles with zero acked writes lost, and with --ignore-cgroups the unit's MemoryMax/CPUQuota/TasksMax cover the whole sandbox (a 400 MiB hog is oom-killed at 256M like native). Offline go build works unchanged.
Cost, today's nested systemd vs gVisor, demo starter, small tier:
- wake to first 200: 69 vs 159 ms p50; cold start 81 vs 186 ms
- memory: about +25 to 30 MB and +30 tasks per instance, charged inside the tenant's cgroup (5 instances: 34 vs 182 MB PSS)
- GET p50: 0.22 vs 0.55 ms; SQLite write p50: 3.5 vs 4.1 ms
- GET throughput at 4 clients: 5,940 vs 911 req/s with the 50% demo quota (p99 65 ms, CFS throttling); 11,578 vs 2,831 without a quota
- go build: 1.5x slower cold (159 vs 238 s), 2.4x warm
Findings worth acting on regardless: today's carlos-instance@.service has no SystemCallFilter=, and iouring is reachable from a tenant (probe: `iouring_setup ok`). Under gVisor it is ENOSYS. A filter is a cheap independent fix. Integration traps seen: a bundle rootfs on a noexec mount (e.g. /run) fails with an opaque "sandbox exited"; runsc state must be deleted after kills.
Recommendation: yes for shared pools and demos only; demos first. Shared pools only after egress control is re-proved through the Sentry's network path (untested here; demos use --network=none) and the small tier is resized. Off by default for self-hosters. Proposed switch CARLOS_EXEC_SANDBOX=auto|systemd|gvisor in host.env, never falling back to native.
Questions for Paul: (1) absorb or charge the ~25 to 30 MB per instance; (2) demos-now/shared-later, or measure networked gVisor first; (3) self-hoster opt-in visible in v1 or operator-only; (4) ship and pin runsc through our own release channel; (5) the io_uring/SystemCallFilter fix as its own short branch now?
v0.34.23 DEV CONSOLE ONLY: done, apt pending (job from 8a3d302).
- Cut from main d675f240 (console: approved claim-journey pages) after main CI passed there. Tag 5d8e5cee is on the forge and the GitHub mirror. Published as Latest with 14 assets and verified signatures; tap #113. S23 linux-arm64 is 8854f6c5fc5b5c3840d28cba0047adfa5a84ea4f164f7b9e1b1a321e4e7b4f97, console arm64 da78f4bb.
- Claim check at 21:39:54Z: no open democlaimops row. Dev console restarted once at 21:40:15Z (from v0.34.21), NRestarts 0, 0 ERROR; healthz "ok v0.34.23"; probe 1174 x 200; hapools ["hapair"], CARLOSDEMO_CLAIM=1 and all 18 drop-ins unchanged.
- Claim readiness: the old console logged "refusing: box-layout:sophie-knitting,seed-region" at 21:19:47Z, after sophie's v0.34.22 restart, and "ready" at 21:31:22Z. The new console has logged no readiness line since it started (lines are logged on change), so it was ready from its first check. The roll came after the refusal had cleared and did not mask it.
- apt v0.34.23-1 is HELD until 8a3d302 says so (short #421 lock).
- FLAGSHIP: NOT ROLLED.
Log: ~/.cache/release-v0.34.23/roll-log.md
Claim-journey UX, console part (item 1) LIVE on the dev console, v0.34.23 (main d675f24) since 21:40Z. Dev console only; flagship untouched.
- For Paul's walk-through: a fresh HTML demo, noble-bear-97 (claimAvailable true, expires Sun 8 Nov ~21:45Z). Its claim link is ONLY in /home/paulca/.cache/agent-start-demo-dev/secrets/paul-claim-link-ux.txt (0600); not posted anywhere.
- Live first screen checked: /home/paulca/.cache/agent-start-demo-dev/claim-ux-live-shots/ (390/1280, light/dark). Every state (ticket, account cards, progress, tada and reduced motion, expired/kept, failure): /home/paulca/.cache/agent-start-demo-dev/claim-ux-build-shots/ (124 + 20 kept-*).
- Item 5 (same-page retry): not built; it needs new bounded authority, a design call (asked platform-f6). Item 2 (kept link for chat claims): built, in Opus security review and CI now; ships as the next console release.
- Copy gaps left for Paul's review (no strings invented): the ticket's 'h left' label (shows a HH:MM:SS countdown), no 'Keeping {app}' heading or time estimate, no headings for taken-down and broken-link states, no resend-code timer, and the deck's 'sends visitors here' line kept as the shipped notice wording (the old address shows a notice, it doesn't redirect).
Claim-journey UX item 2, the one-time kept link for agent-API claims, LIVE on the dev console, v0.34.25 (main ce7576a) since 22:32Z. Live checks: GET /demo/claim/kept serves the page shell (200) under the claim page's CSP; a cross-site POST is refused (403). A full live run needs a real agent-API claim (email or Keymail verification by a person), so the first chat claim on dev is the witness; screenshots of every kept state from the production-router build are in /home/paulca/.cache/agent-start-demo-dev/claim-ux-build-shots/kept-*. Also merged, waiting for the next release slot (no dev console releases during the coming dev rehearsal): the worded countdown (97e46cf, ticket + banner). The claimed-app source work and new Keep going paths are building; they ship with the countdown in one release.
v0.34.24 DEV ROLL DONE (job from 8a3d302; G3 fixes, main ca027e85). S24 linux-arm64 is 40d86addd0d89c559083283682ac1636345ff07be3a097e13854a1e7da191f57.
- Canary (box-1, sophie), dev console and stable (leo, dennis, box-1) on S24 with NRestarts 0 and no ERROR, REFUSING or LEASE HELD. bootstrap/carlos is S24. Wakecheck passed. Claims: 124 readings through the roll, none open.
- Edges host count through each restart: sophie 20/20, leo 5/5, dennis 3/3. No dip, and no box's host set changed during the 25 min run.
- Housekeeper duties: steering is dormant (no zone) and the domains loop is disabled (no apps domain) on every dev box, so both are not active on dev; no failure lines. leo now holds the housekeeper lease.
- HA group IE (g-74f3, g-b74c) stays on v0.34.19, "behind -> v0.34.24", untouched.
- apt v0.34.24-1 live (latest.txt v0.34.24, served deb matches the signed one).
- FLAGSHIP: NOT ROLLED.
Log: ~/.cache/release-v0.34.24/roll-log.md
v0.34.25 DEV CONSOLE ONLY: done (job from 8a3d302).
- Cut from main ce7576a6 (console: one-time kept link so chat claims end on the finished page) after main CI passed there. Tag 8ec5be9a is on the forge and the GitHub mirror. Published as Latest; tap #115; apt v0.34.25-1 live. S25 linux-arm64 is 319ce95cfacdb047b682605e17b7bb47fe883c57daecb66d6c5c7cc8dca478eb, console arm64 8d6715ea.
- Claim check at 22:31:52Z: no open democlaimops row. Dev console restarted once at 22:32:30Z, NRestarts 0, 0 ERROR, no claim-readiness line since start; healthz "ok v0.34.25"; probe 1152 x 200; hapools ["hapair"], CARLOSDEMO_CLAIM=1 and all 18 drop-ins unchanged.
- Boxes stay on v0.34.24. HA group untouched.
- FLAGSHIP: NOT ROLLED.
Log: ~/.cache/release-v0.34.25/roll-log.md
Claim-journey batch LIVE on all dev channels, v0.34.26 (main 326d467; with HA DR-1/DR-2), rolled 02:01-02:15Z; flagship untouched.
- Worded countdown: banner on https://leafy-lemon-78.dev.trycarlos.com/ reads '19 h 0 m left'; the claim ticket reads '18 h 50 m left' (/home/paulca/.cache/agent-start-demo-dev/claim-ux-live-shots/ticket-v0.34.26-390-light.png).
- Claimed-app source: claim-time copy, Download source, carlos apps source pull, and the two Keep going paths on the done page; console columns present. A live claim end to end (person verifies email or Keymail) is the remaining witness: the next real claim on dev, e.g. Paul's review demo noble-bear-97 (link only in /home/paulca/.cache/agent-start-demo-dev/secrets/paul-claim-link-ux.txt).
- Claim readiness refused briefly after the stable roll (edges-evidence, seed-region: the edges' first timed pass after restart) and logged ready by 02:29Z. Website: agent-start-demo-4 pushed at f1a4456 (after-you-keep-it section; robots and AI disclaimers removed per Paul), PR #106 not merged or deployed.
v0.34.26 DEV ROLL DONE (job from 8a3d302; stable promote coordinated with the rehearsal executor 265f7ed9).
- Cut from main 326d4677 (claimed demo keeps its source, Download source, Keep going; worded countdown; HA DR-1 b389c347 and DR-2 432135ae) after main CI passed there. Tag d12c766e is on the forge and the GitHub mirror. Published as Latest; tap #116; apt v0.34.26-1 live. S26 linux-arm64 is bdc4694ad9c3e1b754de5da39d63800e7b4db172ba94619dcb43405d61e5467c.
- Canary (sophie, demo box-1), dev console and stable (promoted once at 02:10:31Z; leo, dennis, box-1) on S26 with NRestarts 0 and no ERROR, REFUSING or LEASE HELD. bootstrap/carlos is S26. All 19 console drop-ins unchanged. Claims: 148 readings through the roll, none open, including just before each restart.
- Edges host count through each restart: sophie 40/40, leo 7/7, dennis 24/24. No dip. Only change: the rehearsal churn rotating churn-tmp hosts on sophie, count steady.
- Groups IE and UK still on S24, "behind -> v0.34.26"; 265f7ed9 re-pins them.
- FLAGSHIP: NOT ROLLED.
Log: ~/.cache/release-v0.34.26/roll-log.md
v0.34.29 readback (dev console, 9622c65a), both fixes present: (1) refused-link focus: opening a kept demo's link shows 'This app has already been kept' with NO focus ring on the text (dark 1280 screenshot ~/.cache/agent-start-demo-dev/claim-anim-shots/live-v0.34.29-kept-dark-1280.png); the served page has h1#claim-heading tabindex=-1 and the rule [tabindex="-1"]:focus { outline: none; }. (2) progress animation: the served stylesheet carries the new keyframes claim-flow (marching dashes) and claim-dot-breathe (reduced-motion breathe) beside claim-spin, and the reduced-motion block no longer zeroes everything. A live claim's progress (copying/starting) is the only part I can't trigger without a person verifying; the next claim on dev shows it. Nothing else changed.
Demo abuse basics, piece 1 (terms + abuse contact): draft ready for Paul's copy review. For platform-f6.
- Strings:
/home/paulca/amadan.net/carlos/website/.claude/worktrees/demo-terms/copy-review/strings.json(website worktree, branchdemo-termsfrom origin/main 16b2496; copy-review format, 36 strings) - Hand-built preview: same dir,
copy-review/preview/index.html(bindings checked;terms.meta.descriptionis list-only) - Choices for Paul (not invented):
copy-review/demo-terms-CHOICES.mdbeside it: operator name and address, abuse address and whether the mailbox exists, governing law, page location (proposed carlosframework.com/start/terms/), the IP/7-day promise vs ip_hash and edge log retention, account terms for kept demos (Carloku has none). - No terms, privacy or abuse page exists today in website, carloku or platform. Nothing published, nothing pushed, review not submitted.
- Link placements in the deck: banner (
internal/edge/demo_copy.go, root census scope, needs an edge release), /start human half (website PR #106 branch), claim page footer (console claim copy).
Piece 2 (operator alert on unusual demo creates, branch demo-abuse-alerts) is being built by Astra; I'll post when it is reviewed and green.
gVisor demos build started (session c27247c2, branch gvisor-demos, from main 9622c65a), building Paul's 2026-11-08 rulings.
- Design note rev 1: f4ba2170, docs/superpowers/specs/2026-11-08-gvisor-demos-design.md. Astra builder-check round 1 of 3 running.
- Sequencing call, sent to platform-f6:
autolands resolving to systemd so the next flagship box roll does not switch flagship demos on. The dev demo box gets an explicitCARLOS_EXEC_SANDBOX=gvisor. A one-line follow-up flipsautoto gVisor on demo boxes at the flagship gVisor window. - Flagship: not touched.
gVisor demos: design review stopped at round 2 (stopping rule 2). Round 1 (f4ba2170) was NOT READY with 5 P1 and 5 P2. Rev 2 (1fab79f8) resolved half of them. Round 2 found 3 P1 and 4 P2, with four fault families repeating: recovery reaching native execution, unit identity on a lost start response, overlap budgets, and exit attribution. Cuts are proposed to platform-f6: an exec-sandbox floor instead of a fence; one root stop-uncertain verb; no generation overlap for gVisor demos; no new exit-record kind. Round 3 (the last) waits on that answer. Findings: R2.
Demo abuse basics, piece 2 (operator alert on unusual demo creates): MERGED as 06bb3f7e. For platform-f6.
- Console-only, off by default, reads console SQLite only (no new S3 reads). Emails system operators and ops owners when: the daily create budget passes 80%; creates bunch on the busiest 3 IP budgets (20/h) or one /24 or /48 (30/h); admission refusals spike (30 in 10 min); abuse reports arrive (immediately for more than 5 in an hour, plus a daily digest). Thresholds use
CONSOLE_DEMO_ALERT_*drop-ins (console restart). Design and cites:docs/superpowers/notes/demo-abuse-alerts.md. - Opus review R1: no P1, two P2s fixed, bounded check READY. CI green on tip 4d60c780.
- Before switch-on: Paul reviews the operator email copy (deck:
~/amadan.net/carlos/demo-alert-copy/copy-review/strings.json, 9 strings), and someone picks recipients and thresholds. Then on dev: switch on with a drop-in and witness one alert. - Release: I asked 8a3d302 which release carries it (v0.34.29?). Not released by me.
Agent manager (8a3d302): 06bb3f7e (demo create alerts, console-only) is NOT in v0.34.30, which was tagged at fe8df215 and is rolling now (dev, then the flagship edges). It will ship in v0.34.31, a console-only release (dev console, then flagship console), cut after v0.34.30 finishes and before the demo window. Dev verification of the alerts happens on the dev console in v0.34.31.
gVisor demos: design round 3 (last) NOT READY, 2 P1 / 2 P2 (findings). Resolved: bundle path, agent launches, overlap (ruling C), exit records (ruling D), build ownership. Two P1s remain. (1) The first roll's old updater, and the guard executor in recovery, can still run an unaware binary. Proposed fix: refuse gVisor mode until no apply journal is open and the guard and recovery units are aware. (2) stop-uncertain dropped /stop's accepted-start fence. Proposed fix: reuse /stop, and no generation units in gVisor mode. A fourth round needs Paul's go; asked via platform-f6.
gVisor demos: design round 4 NOT READY, one P1 left (findings). The stop fence, the awareness marker and the size report are resolved. Remaining: a recovery guard executor or a pre-gVisor bootstrap binary can still run natively with gvisor set. Cut proposed to Paul via platform-f6: guard executor and trigger files must be absent in gVisor mode, plus an operator rule (set gvisor only once status shows the exec-sandbox line); bootstrap check filed as an infra follow-up.
gVisor demos build: Tasks 1-2 done, measured on the root runner. The sandbox contract (T1) is reviewed clean. The guest and host hardening contract (T2) is committed and in Opus review: 36cc8511.
Findings from the runner that changed the design (spec rev 5.2 to 5.5, build rulings):
- runsc is a five-file runtime set (runsc plus its gvisor-bin helpers), pinned as a set.
- The gofer creates mount targets in the host rootfs, so each unit gets its own root-built skeleton; overlay is
none. runsc rundoes not forward SIGTERM, so stop isrunsc kill TERMwithKillSignal=SIGCONT; graceful stop is now proven.- The build unit's host file-size limit broke the Sentry; the 32 MiB limit now applies inside the guest.
All twelve hardening settings pass. Runner launches used: 13 of 18, no leftover instances. Flagship untouched.
gVisor demos: Tasks 1-8 done; Task 9 root-runner witness PASSED all ten tests (run 20261109T083903-9b57bc, commit f4a7614a). Covered: the real trampoline, graceful stop with SIGTERM delivered to the guest, kill -9 and restart with zero acknowledged rows lost, OOM of the whole sandbox, the readiness probe and its fault cases, the warm demo build (3.9 s, bytes equal to native), demo claim freeze and snapshot, recovery with an unaware carlos.prev, and the mode drain.
Live runs found and fixed real defects:
- systemd prints an empty Job= rather than Job=0.
- Exit records don't survive daemon-reload, so no proof depends on them.
- Kernel memory.high is page-rounded.
- Commandless templates refuse a stop before their drop-in exists.
- systemd quotes unit names in its show output.
Deferred to the dev demo box: amd64, and the full private-module starter build. Task 9 is in Opus review; then Task 10 (release assets, runbook), the census and the merge. Flagship untouched.
gVisor demos MERGED to main: de380c2 (2026-11-09); main CI green. Nothing is switched on: auto resolves to systemd on every box, and flagship is untouched.
- Root-runner witness: all ten lifecycle tests passed (20261109T083903-9b57bc).
- Census approved (#280); two whole-branch Opus rounds; copy reviewed by Luna under Paul's delegation.
- Runbook: docs/superpowers/runbooks/gvisor-demos.md.
- Next, waiting on Paul's go and 8a3d302: a release carrying the runsc assets, then the dev demo box test run (amd64 and the full private-module starter build are deferred to it).
- Follow-ups: #678 bootstrap check; the
autoflip at the flagship gVisor window.
gVisor dev witness retry on demo box-1 (v0.34.36): PASS. gvisor stays on for dev demos on this box.
- After the host.env flip, one
carlos-adopt.servicepass re-rendered the build slice to the gVisor budget (1107296256 / 192, kernel limits included), and the build worker refused nothing after it.carlos status --layoutshowsconfigured=gvisor effective=gvisor ready=true, runsc release-20261102.0. All 19 gVisor probe checks pass. Worker.Initialize: the probe build ran under gVisor, then the worker accepted builds.- Demo (the full Rastrillo/SQLite starter): built and served under gVisor (
carlos-demo-build-gvisor@,carlos-instance-gvisor@,--network=none). It went live in 25 s. An update kept the stored value. It woke from idle sleep in 1.9 s with the data intact. Takedown and purge completed. - /proc/net/dev: loopback only, both from the guest probe and in the sandbox's network namespace.
- Claim: the fresh demo candid-iris-08 runs under gVisor with a stored value. The snapshot export only happens after email proof, and dev has no mailer, so a person must finish the claim. Paul's link is in the 0600 file named in the evidence.
- amd64: not applicable, this box is arm64.
- Minors: an agent layout check ran during the gVisor probe and showed "not nested by default" for 5 minutes until it re-checked; purge leaves
previous/symlinks andprograms/*.json(systemd demos leave them too); known "Refusing" noise.
Evidence: ~/.cache/gvisor-demos/retry/RESULT.md on DOCS-T1.
Carloku terms and privacy policy: drafts ready for the design session. Paul asked for short account terms and a privacy policy, because the demo terms defer to "the account's terms" and Carloku has none. This is a draft for Paul; he may want a lawyer to glance at it, the liability paragraph most of all.
Branch carloku-legal-pages (carlos/carloku, 0033767, on top of the unmerged demo-terms-page). Not published. Worktree: ~/amadan.net/carlos/carloku/.claude/worktrees/carloku-legal
- Terms deck: copy-review/terms/strings.json (41 strings, hand-built preview in copy-review/terms/preview/)
- Privacy deck: copy-review/privacy/strings.json (48 strings, hand-built preview in copy-review/privacy/preview/)
- Pages: src/terms/index.html and src/privacy/index.html. After approval, run: python3 copy-review/build.py <worktree> to rebuild them from result.json. npm run check passes.
- Questions: copy-review/QUESTIONS.md (14). Code sources for every privacy claim: copy-review/privacy/SOURCES.md
I have not started a review server; the design session should submit the decks.
One finding needs a decision before either page ships: the demo terms page says we keep only a hashed form of the creating IP. The code keeps the plain IP in demoapps until 7 days after purge (internal/console/demostore.go:270, blanked at :488). The privacy draft says what the code does. Either hash it in code or change the demo terms sentence (QUESTIONS.md item 1).
Demo terms apply, interim (platform branch still being built by Astra).
abuse@carloku.com already existed: a DNSimple email forward (account 74881, relayed by Mailgun) to paul@rslw.com, set up 2026-10-06 as the Public Suffix List abuse contact (#217). I added a second forward, abuse@carloku.com to paul@tito.io (DNSimple id 56590, active). I did not change or remove the existing one (56428) or psl@ (56429). MX unchanged.
- Not tested end to end. The only outside sender I could reach was SES in the flagship account, and its identities belong to tenants. Paul: please send one message to abuse@carloku.com from your own mail and check it arrives at paul@tito.io (and at paul@rslw.com). If the rslw forward should go, delete 56428. That one is your call because the PSL contact depends on it.
- Recorded on carloku-infrastructure branch abuse-forward-tito (74df488, docs/carloku-mail-forwards.md). No PR opened.
- Gap found: the carloku.com Mailgun MX, SPF and mx._domainkey records were applied from carloku-infrastructure branch dns/carloku-mail-forwarding (9ab9f4f), which never merged. They are live in Route53 but
maindoes not declare them. Check before any apply from main touches the carloku zone.
Carloku terms page: carlos/carloku branch demo-terms-page (tip c6099e3): /terms/demos/, approved strings verbatim plus fills. "The terms of that account" now links to /terms/ as a placeholder for the account terms. That path needs confirming once they're drafted.
/start line: website branch agent-start-demo-4 (PR #106), e6aaefb. check:start passes 150/150. Not merged.
Demo terms apply, final report.
Platform: MERGED fd5c660 (squash of demo-terms-links, CI green on tip b23618ca). It adds an optional "Demo terms" banner link (BANNER-UX-07, edge CARLOSDEMOTERMSURL) and a claim-page footer ("Demo terms" link plus "Report abuse:" mailto; console CARLOSDEMOTERMSURL and CARLOSDEMOABUSE_ADDRESS). The nine alert strings were already verbatim; the draft comment is gone, a test pins them, alerts stay off by default and thresholds are as built. Astra implemented. Opus R1 found no P1 and approved three census body units (recorded on #280). Inert until configured.
- Release: rides v0.34.44 (agent manager 8a3d302). Setting the flagship values needs Paul's go and a window after the terms page is live; ask 8a3d302 then.
- Still open: the README paragraph for the two settings is in copy review for Paul: https://copy-review.docs-t1.dev.platform.tito.io/r/apblwmqqy2agbfgbp75cejblci/. Once approved it lands on a short follow-up branch.
Carloku terms page: carlos/carloku demo-terms-page, tip c6099e3, not merged or deployed. Screenshots on docs-t1: ~/.cache/demo-terms-apply/shots/carloku-terms-{390,1280}-{light,dark}.png. Before deploying, change "Last changed" to the publish date. The account-terms link is a /terms/ placeholder.
/start line: website agent-start-demo-4 (PR #106) e6aaefb, not merged.
What we keep: mismatches with the code (words left as agreed):
- demoapps.creatingip holds the raw canonical IP, not a hash, until 7 days after purge (demostore.go:281, wiped at :503). Only demoadmissions.iphash is hashed (HMAC), and that is kept 24 h. Either hash creatingip or change the words.
- demo_apps.client (the X-Carlos-Client header, up to 100 chars) is also kept until 7 days after purge and isn't mentioned.
- fe8b5030 does skip edge analytics, request records and errors for demo routes. Not checked: whether the console-origin POST /api/demo/apps is kept out of request records.
Left for Paul: decide the copy review above; send a test message to abuse@carloku.com from outside; decide whether to keep the rslw forward; choose whether to fix the creating_ip code or the words; give the go for the terms page deploy and then the flagship settings.
Follow-up done (Paul's approvals via platform-f6):
- privacy@carloku.com and hello@carloku.com now forward to paul@tito.io (DNSimple 56591, 56592, active). Recorded on carloku-infrastructure abuse-forward-tito, 4fab7b2. Not tested end to end.
- Demo terms page: the passwords rule now reads "collecting passwords, card numbers or other people's personal details without their knowledge" (carlos/carloku demo-terms-page, f6fca8a). The IP sentence is unchanged while that is decided.
Terms are live, on Paul's go of 2026-11-11 ("Go ahead and merge and deploy and switch on terms").
- Merged on carlos/carloku: - demo-terms-page as a33c819: "Last changed 11 November 2026", the IP wording Paul decided on, and the passwords rule. - carloku-legal-pages as e50ab7b, after merging main. The only conflicts were the passthrough and gate lists (kept both pages) and the demo page (took main's). Dates on /terms/ and /privacy/ are set to 11 November 2026. - carloku has no CI runner, so the gate was
npm run checkon a clean build (10 docs pages, all hand-written pages present). - Deployed e50ab7b to bes/website, from a clean git archive, cache-busted, through
carlos deploywith CLI v0.34.45. All four pages return HTTP 200 with x-carlos-version e50ab7b, and the content checks pass: - https://carloku.com/terms/demos/ - https://carloku.com/terms/ - https://carloku.com/privacy/ - Switch-on: handed to 8a3d302 with Paul's go quoted. v0.34.44 has already rolled, so the settings ride the v0.34.46 roll restarts, dev first, with the same values on dev. That release is waiting for platform CI to come back (#897). - Edges: CARLOSDEMOTERMSURL=https://carloku.com/terms/demos/ - Console: the same URL, plus CARLOSDEMOABUSEADDRESS=abuse@carloku.com - 8a3d302 will report each side here.
Still open from the carloku-legal-pages memory: the privacy policy promises a 400-day analytics prune and deletion on request within 30 days. Neither is automated yet, so they're manual until built. README paragraph (Paul approved it, applied verbatim): platform branch demo-terms-readme 971222c8, CI running. I'll merge when it's green.
README follow-up (Paul's approved paragraph for CARLOSDEMOTERMSURL and CARLOSDEMOABUSEADDRESS) is not merged. CI keeps failing on tests the change can't touch. The branch, demo-terms-readme (tip b64e8a72, main a178a75b merged in), only adds one README paragraph.
Three runs, each failing somewhere different:
- 971222c8: TestDemoAPIAliasStreaming, the 3 s timeout listed in #897.
- b64e8a72: TestDBForwardThroughTheBackhaulHop (helper exited 1 with no output).
- b64e8a72 rerun: TestReplicaReconcileMemberWakeVerifiesGeneration/stateful-fenced and TestDBForwardLongRequestThroughTheEdge (unexpected EOF).
Main passed at a178a75b, so these look like runner flakiness that has outlasted the #897 fix. I've stopped rerunning. Whoever is watching #897: the hosted runner still looks unstable under load. Once it is, I'll rerun and merge with -squash -expect b64e8a720e5dfd8701828e778530b17091d35b57. Or tell me to retry now.
Paul, in the design session (platform-f6), verbatim: "Yeah, let's go. Happy to do that now." This covers: the seeds floor (irreversible), demo create alerts ON (recipients system operators and ops owners), console demo-apps + demo-claim switch-on (one console restart), the build worker on the flagship demo box after its isolation check, then a production witness; Paul does the emailed-code claim and the abuse@carloku.com test himself. Terms/abuse links still ride the v0.34.46 roll. Executor: Paseo agent 1a7c332e, window from 8a3d302.
Paul's go (2026-11-11 ~18:55Z) for the flagship demo switch-on: seeds floor, alerts on, console switch-on, build worker, production witness; executor 1a7c332e.
Report: 400-day visitor statistics prune (for the Carloku privacy policy). Posted here as the brief asked; this thread is otherwise the agent-start-demo one.
Merged to main as a3c407d4 (branch stats-prune-400, squash; CI passed on the branch tip 8421474a). Rides the next box release after merge (v0.34.47 likely, per 8a3d302). Inert until configured.
What it does
- Console setting CARLOSANALYTICSRETENTIONDAYS: unset keeps statistics forever (today's behaviour, self-hosters unaffected). N deletes analytics day files apps/<acct>/<app>/analytics/<box>/days/YYYY-MM-DD.json dated more than N UTC days ago; exactly N days ago is kept. CARLOSANALYTICSRETENTIONDRY_RUN=1 logs instead of deleting. Invalid values refuse startup.
- At most one pass a day from the console (persisted admission, rides the hourly economics worker). No box polling. Paged LISTs stop at the first unexpired date; batched deletes; ten-minute pass with a resume cursor; an unfinished pass logs a warning and fails the job.
- The deployment bucket is versioned and each day file is rewritten every flush, so every version and delete marker of an expired key is purged (optional provider-neutral release interfaces; S3 ListObjectVersions plus versioned DeleteObjects). Without the version grants the pass logs the missing permission and deletes current keys only.
- infra/modules/region-host: enableanalyticsversion_prune (default false) gives the console box ListBucketVersions (prefix apps/) and DeleteObjectVersion on deployment-bucket apps///analytics//days/*.
- Writers found: UpsertDay internal/analytics/day.go:181, called from internal/host/usageloop.go:33. No console SQLite table holds visitor statistics; host demotraffic is cap accounting, not visitor statistics.
Process: Astra built it (3 fix rounds: version purge, operator setting per the design session, throughput). Opus storage review: one P1 (daily delete cap below the version inflow) fixed and fix-checked, READY. Census: Opus approved all units and envelopes, recorded on #280. One test-only fix of mine: MinIO lists delete-marker-only prefixes where AWS does not.
To switch on for Carloku (needs Paul's go and a flagship window via 8a3d302): apply enableanalyticsversionprune on the console box's region-host module (carloku-infrastructure pins the module tag, so it needs a tag bump), check the console role really has the grant, then set CARLOSANALYTICSRETENTIONDAYS=400, ideally with CARLOSANALYTICSRETENTIONDRYRUN=1 for one day first.
Owed: README and docs copy for the settings is drafted for Paul's copy review, not in the repo: four strings in ~/.cache/stats-prune/copy-strings.md on docs-t1.
P3 follow-ups (no round opened): one bad listing page ends the whole pass; dry-run and on share the daily clock; batch failures can log up to 1,000 lines; a pass can delay economics by up to ten minutes; a timeout inside a box listing can advance the cursor past that box until the scan wraps.
Flagship switch-on, interim (agent 1a7c332e, #421 lock 19:08Z, hard end 21:08Z, GO from 8a3d302 on Paul's go via platform-f6).
- Seeds floor (step 7, irreversible): published 19:10:02Z, control/seeds-protocol.json = {"min":2,"minrelease":"v0.34.19"} (was 404). Checked first: every edge v0.34.45 with prev v0.34.44 (edges files); US group LT 10 pins CARLOSRELEASE df267660, which is v0.34.45 linux-arm64 in the stable channel record.
- Console on annie: ONE console.service restart at 19:10:42Z, healthz ok v0.34.45 at 19:11:08Z, NRestarts 0. Drop-ins added (backup /root/console-dropins.bak-switchon-20261111.tgz): demo-alerts.conf (CONSOLEDEMOALERTENABLED=1; thresholds as built; recipients = ops owners, as no CARLOSSYSTEMOPERATORS is set on the flagship console), demo-apps.conf (CARLOSDEMOAPPS=1), demo-claim.conf (CARLOSDEMOCLAIM=1; the console already had it through host.env). HA as found: CONSOLEHAREGIONS=us with hapools ["ha"], so ie claims stay non-HA.
- Build worker on the demo box (zero tenant instances, OK from 8a3d302): exec-sandbox configured=auto effective=systemd ready=true; host.env + CARLOSDEMOBUILD_WORKER=1, CONCURRENCY=1 (backup host.env.bak-worker-20261111), carlos-edge restart 19:13:47Z. Finding: root instance-control also needs the worker env, and a bare restart of it failed 5 times (openat2 /var/lib/carlos-demo-builds: no such file) because its unit had not been re-rendered. One carlos-adopt pass (19:19:41Z) rendered StateDirectory=carlos-demo-builds, MemoryMax 1 GiB and the build slice; instance-control has been active since 19:19:48Z. Card step 15 should say: after adding the worker lines, run carlos-adopt.service, then check instance-control.
- Serving on 19:14:25Z. Witness demo (throwaway) created 19:21:02Z, live 19:21:26Z (24 s). Through annie (the only *.trycarlos.com A): 200, the banner first in the body (countdown + Report abuse link to the console), CSP self-only and frame-ancestors none, X-Frame-Options DENY, no-referrer, nosniff, no-store, a host-only cookie (no Domain), HTTP 308 to HTTPS. A value was written, then the update went live in 13 s at v0.0.0-demo.2 with the same data and the same expiry. Takedown at 19:23:04Z: serving off (Complete) 9 s later, public URL 404; cleanup still pending (box pass). Observation: through barbara, iris and adi the same host is a 404 "no longer available" (no route on those edges; fleet-tunnel demos are served through annie). Public DNS only points at annie, so users aren't affected. Noted for the card's "every ingress" check.
- Claims not ready yet: readiness refuses edge-floor (annie/barbara/iris), edge-prev (all 4), seed-region. The floor arms on each agent's hourly refresh (adi already has it), and the carlos.prev verdict is written by each edge's hourly carlos-adopt.timer (next runs: barbara 19:54, adi 20:00, iris 20:04, annie 20:19Z). Expected ready about 20:30Z, with no restarts from me. Paul's claim demo is created only once claimAvailable is true.
Filed the demo box instance-control gap (bare restart after adding the worker lines crash-loops until an adopt pass) as #932/carlos/platform/-/discussion/932), per 8a3d302. No fix in this window.
Correct link: #932.
Paul confirmed a test message to abuse@carloku.com came through (2026-11-11). The abuse contact is live.
Paul confirmed abuse@carloku.com delivers (2026-11-11).
Flagship switch-on: DONE, demos are ON on carloku (agent 1a7c332e; Paul's go via platform-f6; #421 lock 19:08Z to 21:16Z, extended by 8a3d302 to wait for iris's own adopt timer).
| Step | Time (UTC) | Evidence | | --- | --- | --- | | Seeds floor (irreversible) | 19:10:02 | {"min":2,"min_release":"v0.34.19"}; every edge v0.34.45 / prev v0.34.44; US LT 10 = v0.34.45 | | Console: demo alerts + apps + claim, one restart | 19:10:42 | healthz ok v0.34.45 at 19:11:08, NRestarts 0 | | Build worker, demo box | 19:13:48 edge; 19:19:48 root | exec-sandbox systemd ready=true; zero tenants; see #932 | | Serving on | 19:14:25 | On (Complete), caps 2000 requests / 200 MB | | Witness create | 19:21:02, live 19:21:26 | banner, CSP, DENY, no-referrer, nosniff, no-store, host-only cookie, 308 | | Witness update | 19:21:57, live 19:22:10 | v0.0.0-demo.2, data and expiry kept | | Witness takedown | 19:23:04 | serving off in 9 s, 404, cleanup Complete | | Claims armed (floor + prev verdict on all 4 edges) | 21:15:08 | edges files; iris last, on its 21:11 timer | | Paul's claim demo | 21:15:27, live 21:15:39 | claimAvailable true; value written |
After the window: console ok, g3r-ha 200 x3, housekeeper lease adi, oncarlos.com 498 record sets (same as baseline). No tenant carlos-edge restart; US HA group, adi host.env and bootstrap/carlos untouched.
For Paul: the claim link went to platform-f6 through a 0600 file on docs-t1 (not posted here). It expires Thu 12 Nov 21:15Z. He does the emailed-code claim (the first on production) and the abuse@carloku.com test.
Findings / follow-ups:
- #932: turning the worker on needs a carlos-adopt pass. A bare instance-control restart crash-loops (no StateDirectory), and the edge logs nothing while root build readiness fails.
- Claims after a fresh floor wait for each edge's hourly floor refresh AND its hourly carlos-adopt timer (prev verdict), then an edges-file pass. Here that took 2 h 5 min. A card or runbook should say so, or publish the floor a window ahead.
- Demo hosts return 404 through barbara, iris and adi (no route there); only annie serves them. Users aren't affected (the *.trycarlos.com A record is annie only), but the card's every-ingress check doesn't hold as written.
- Throwaway purge left instances/comfy-iris-32.trycarlos.com/build-state.json in carlos-demo-fleet-271376211898 (the known purge minor).
- Demo alerts go to ops owners only: the flagship console has no CARLOSSYSTEMOPERATORS.
- Still pending: terms/abuse links ride the v0.34.46 roll (8a3d302).
Rollback if needed: carlos system demos serving off, then delete demo-apps.conf / demo-claim.conf / demo-alerts.conf on annie (backup /root/console-dropins.bak-switchon-20261111.tgz) + one console restart; worker lines out of the demo box host.env (backup host.env.bak-worker-20261111). The seeds floor stays.
/start recording for the homepage hero, run 1 on dev: the agent did well, but the platform failed to start the app. No live demo yet.
- The dev /start is at https://tmp-start-rec.bab.dev.oncarlos.com/start (website agent-start-demo-4 at d2f1f76, temporary site on the dev console, claim on). Markdown comes back for Accept: text/markdown, with Vary: Accept.
- A clean claude -p (Opus 5.5) got only the paste line and the scripted bakery answers (Panadería Carlos pre-orders). It asked first and played back a plan, then built and tested locally (the order saved). It created demo proud-ivy-84, and the build passed. The start failed 3 times, so it stopped at the repair limit and told the person plainly. 3 turns, 8.2 min, $1.52.
- Platform fault on dev demo box-1 (i-05789ae978ebf2608, v0.34.46 since 20:24Z): every gVisor instance unit exits about 1 s after it starts ("Deactivated successfully"). The activator then logs "not healthy within 30s ... app.sock: connection refused". The installed carlos-instance-gvisor@.service (written 20:24:30) has an empty ExecStart= and no ExecStop, and the per-instance drop-in dirs under /run/systemd/system are empty. runsc logs "FetchSpec failed: loading container: file does not exist". The unchanged pinned starter (control demo hazy-berry-17) fails the same way. The last good demo starts were on 11-10.
- Effect: dev anonymous demos can't go live right now. Check the same path before any flagship demo switch-on that uses gVisor.
- Following the brief, I reported this instead of retrying. The one retry stays unused: once a fix reaches dev, the same recorded session resumes and finishes the hero recording (screenshots then). The replay JSON of the run so far and a summary are in ~/.cache/start-recording/ on docs-t1.
gVisor + Rastrillo: fixed, released, witnessed on dev (2026-11-11).
Cause: the gVisor run unit's ExecStartPre (runsc delete -force) took the log socket's only accepted connection, so the guest's stdout was a closed socket and a Rastrillo app died of SIGPIPE on its first log line ("rastrillo: serving"). Fix: the gVisor run role's log listener tees every connection of an invocation, bounded at 8 (main 01110d22; census approved on #280 after one P2 fix). In v0.34.47, rolled to dev canary only.
Dev demo box-1 is back on CARLOSEXECSANDBOX=gvisor since 23:44:42Z (it had been on systemd as a stopgap since 22:48Z). Witness: a demo built from the bakery Rastrillo source (light-goose-97) built in carlos-demo-build-gvisor@, ran in carlos-instance-gvisor@ (runsc set ef62dadd, --network=none), logged "rastrillo: serving" to the journal at 23:47:09Z, served GETs and saved a same-origin form POST. The bakery demo floral-garden-22 woke under gVisor with its order intact.
Still owed for gVisor demos: amd64, the claim witness, flagship. Pre-existing log tee weakness: #936. Browser form POSTs on demos still 403 until the Referrer-Policy fix (e8a36b14) ships in the next release.