carlos / platform Public

Merge origin/main into stateless-replicas-2-placement

Merge 9b8b2c50 with the reviewed replica placement branch at 9f19bdb4.
Resolve conflicts without removing either parent's behavior:

- host/runs.go: keep main's HA duty wrapper and final ownership check,
  with the replica membership recheck before pickup.
- provision/reconcile.go: retain departure inventory and completeness
  alongside replica observations, set membership and conditional removal.
- provision/plan9_b8_census_test.go: layer replica entries on main's
  departure, domain and Devbox inventories; retain all writer detectors.
- provision/testdata/plan14-root-reads-chain.tsv: keep main's chain in
  order and regenerate the replica proposal last against that chain.
- registry/forward_writers_test.go: retain ReplaceHAWake and all five
  replica writers, including main's HA-duty cleanup comparison.
- registry/remote.go: preserve main's error indices and append the
  replica assignment sentinel.
- registry/remote_dispatch.go: retain both HA and replica RPC fields,
  response fields and dispatch methods.
- console/svcroutes_test.go: retain domain, PDF and copies doors and
  update the combined closed-door count to 81.

Re-digest only the combined reconcile and CLI-registration record-write
units, with merge notes. Update the pickup fixture for the new duty
boundary and verify both HA wake writers preserve all replica fields
through local SQL and RPC. Preserve the existing wake-slot admission,
registry set round-trip and keep-when-zero behavior, and record guards.
Co-Authored-By: Codex (gpt-6-astra) <noreply@openai.com>
Paul Campbell pushed by claude agent, operated by paul@keymail.dev e14030d735f1fd23b4c7535727991e833021c26e parent 9f19bdbparent 9b8b2c5
490 files changed, +58,547 −7,424
  • README.md +2 −0
  • apimode.go +128 −0
  • approved_devbox_copy_test.go +8 −5
  • approved_domains_buy_copy_test.go +147 −0
  • cmd/console/domains.go +88 −0
  • cmd/console/domains_test.go +226 −0
  • cmd/console/main.go +37 −0
  • cmd/console/pdf_test.go +25 −0
  • deploy/billing/sponsored-unlimited.json +1 −0
  • devbox_acl_linux.go +79 −0
  • devbox_acl_linux_test.go +135 −0
  • devbox_acl_other.go +20 −0
  • devbox_cli.go +236 −14
  • devbox_cli_test.go +6 −6
  • devbox_identity_cli_test.go +429 −0
  • devbox_identity_linux_test.go +190 −0
  • docs/site/cli.md +11 −0
  • docs/site/domains-buying.md +195 −0
  • docs/site/nav.json +10 −0
  • docs/site/pdfs.md +155 −0
  • docs/site/plans.md +9 −5
  • docs/superpowers/notes/LUNA-COPY-BRIEF-litestream-284.md +43 −0
  • docs/superpowers/notes/census-edge-held-first-ping-claims.md +3 −0
  • docs/superpowers/notes/census-edge-held-streams-claims.md +36 −0
  • docs/superpowers/notes/census-proposal-design-pdf-service.md +30 −0
  • docs/superpowers/notes/census-proposal-devbox-identity.md +41 −0
  • docs/superpowers/notes/census-proposal-domain-registration-1.md +15 −0
  • docs/superpowers/notes/census-proposal-domains-buy-nosub.md +11 −0
  • docs/superpowers/notes/census-proposal-domains-check-country.md +11 −0
  • docs/superpowers/notes/census-proposal-domains-zone-credentials.md +11 −0
  • docs/superpowers/notes/census-proposal-edge-held-first-ping.md +11 −0
  • docs/superpowers/notes/census-proposal-edge-held-streams.md +70 −0
  • docs/superpowers/notes/census-proposal-edge-protect-hard-block.md +19 −0
  • docs/superpowers/notes/census-proposal-fleet-examined-519.md +11 −0
  • docs/superpowers/notes/census-proposal-ls284.md +29 −0
  • docs/superpowers/notes/census-proposal-region-ha-home-placement.md +19 −0
  • docs/superpowers/notes/census-proposal-region-ha-p1b3b-t.md +148 −0
  • docs/superpowers/notes/census-proposal-region-ha-placement-survivor.md +11 −0
  • docs/superpowers/notes/census-proposal-stateless-replicas-2.md +5 −5
  • docs/superpowers/notes/census-proposal-static-stream-extract.md +23 −0
  • docs/superpowers/notes/census-proposal-storedoor-stream-get.md +25 −0
  • docs/superpowers/notes/census-proposal-wake-storm-cap.md +25 −0
  • docs/superpowers/notes/census-region-ha-p1b3b-t-claims.md +110 −0
  • docs/superpowers/notes/copy-litestream-284.md +111 −0
  • docs/superpowers/notes/edge-held-streams-followups.md +10 −0
  • docs/superpowers/notes/pdf-service-copy-deck.md +45 −0
  • docs/superpowers/notes/reviews/ASTRA-FINDINGS-fleet-examined-519-r1.md +46 −0
  • docs/superpowers/notes/reviews/ASTRA-FINDINGS-fleet-examined-519-r2.md +56 −0
  • docs/superpowers/notes/reviews/ASTRA-FINDINGS-fleet-examined-519-r3.md +64 −0
  • docs/superpowers/plans/2026-10-28-edge-held-streams.md +338 −0
  • docs/superpowers/plans/2026-10-30-devbox-mode-copy.md +50 −0
  • docs/superpowers/plans/2026-11-01-devbox-identity.md +158 −0
  • docs/superpowers/plans/2026-11-01-domain-registration-1-buy.md +365 −0
  • docs/superpowers/plans/2026-11-02-console-social-signin-1-methods.md +248 −0
  • docs/superpowers/plans/2026-11-03-pdf-service.md +517 −0
  • docs/superpowers/plans/2026-11-03-region-ha-p1b3b-duties.md +447 −0
  • docs/superpowers/plans/CODEX-FINDINGS-edge-held-streams-plan.md +175 −0
  • docs/superpowers/plans/REVIEW-BRIEF-REGION-HA-P1B3B-R1.md +27 −0
  • docs/superpowers/plans/REVIEW-BRIEF-REGION-HA-P1B3B-R2.md +30 −0
  • docs/superpowers/plans/REVIEW-REGION-HA-P1B3B-R1.md +87 −0
  • docs/superpowers/plans/REVIEW-REGION-HA-P1B3B-R2.md +72 −0
  • docs/superpowers/plans/REVIEW-REGION-HA-P1B3B-R3.md +56 −0
  • docs/superpowers/reviews/ASTRA-FINDINGS-edge-held-streams-branch-R1-fixes.md +45 −0
  • docs/superpowers/reviews/ASTRA-FINDINGS-edge-held-streams-branch-R1.md +78 −0
  • docs/superpowers/reviews/BUILDER-CHECK-BRIEF-domain-registration.md +24 −0
  • docs/superpowers/reviews/BUILDER-CHECK-FINDINGS-domain-registration.md +7 −0
  • docs/superpowers/reviews/CODEX-REVIEW-BRIEF-census-ls284-R2.md +34 −0
  • docs/superpowers/reviews/CODEX-REVIEW-BRIEF-census-ls284.md +96 −0
  • docs/superpowers/reviews/CODEX-REVIEW-BRIEF-litestream-284-merge.md +91 −0
  • docs/superpowers/reviews/CODEX-REVIEW-FINDINGS-census-ls284-R2.md +34 −0
  • docs/superpowers/reviews/CODEX-REVIEW-FINDINGS-census-ls284.md +50 −0
  • docs/superpowers/reviews/CODEX-REVIEW-FINDINGS-litestream-284-merge.md +20 −0
  • docs/superpowers/specs/2026-10-21-fleet-internal-engines-design.md +4 −0
  • docs/superpowers/specs/2026-10-26-nearest-region-without-claims-design.md +2 −0
  • docs/superpowers/specs/2026-10-28-edge-held-streams-design.md +497 −0
  • docs/superpowers/specs/2026-11-01-devbox-identity-design.md +242 −0
  • docs/superpowers/specs/2026-11-01-domain-registration-design.md +450 −0
  • docs/superpowers/specs/2026-11-02-console-social-signin-copy-approved.json +50 −0
  • docs/superpowers/specs/2026-11-02-console-social-signin-design.md +539 −0
  • docs/superpowers/specs/2026-11-02-pdf-service-design.md +364 −0
  • docs/superpowers/specs/CODEX-FINDINGS-edge-held-streams-R2.md +109 −0
  • docs/superpowers/specs/CODEX-FINDINGS-edge-held-streams.md +154 −0
  • docs/superpowers/specs/CODEX-REVIEW-BRIEF-edge-held-streams-R2.md +101 −0
  • docs/superpowers/specs/CODEX-REVIEW-BRIEF-edge-held-streams.md +88 −0
  • docs/superpowers/specs/LUNA-COPY-BRIEF-DOMAINS-1.md +210 −0
  • docs/superpowers/specs/LUNA-COPY-RESULT-DOMAINS-1.md +107 −0
  • domains_buy_cli.go +342 −0
  • domains_buy_cli_test.go +668 −0
  • domains_buy_copy.go +65 −0
  • domains_cli.go +8 −2
  • go.mod +2 −1
  • go.sum +2 −0
  • infra/devbox/README.md +30 −0
  • infra/devbox/carlos-devbox.service +2 −0
  • infra/modules/README.md +5 −5
  • infra/modules/pdf-host/README.md +145 −0
  • infra/modules/pdf-host/main.tf +128 −0
  • infra/modules/pdf-host/outputs.tf +12 −0
  • infra/modules/pdf-host/pdf-init.sh.tftpl +173 −0
  • infra/modules/pdf-host/tests/pdf_host.tftest.hcl +342 −0
  • infra/modules/pdf-host/variables.tf +63 −0
  • infra/modules/pdf-host/versions.tf +9 −0
  • internal/activator/activator.go +121 −90
  • internal/activator/activator_test.go +175 −0
  • internal/activator/backend_exec.go +11 −0
  • internal/activator/claimproducer_test.go +2 −2
  • internal/activator/claimwake.go +24 −2
  • internal/activator/haadopt.go +412 −0
  • internal/activator/haadopt_test.go +761 −0
  • internal/activator/hacache.go +59 −21
  • internal/activator/haduties.go +426 −0
  • internal/activator/haduties_test.go +493 −0
  • internal/activator/haforward.go +57 −9
  • internal/activator/haforward_test.go +23 −0
  • internal/activator/haplacement_test.go +1 −0
  • internal/activator/harelease.go +1 −0
  • internal/activator/hasuspect_test.go +163 −14
  • internal/activator/hatakeover.go +23 −8
  • internal/activator/hawake.go +45 −2
  • internal/activator/heldlegs.go +311 −0
  • internal/activator/heldlegs_activity_test.go +173 −0
  • internal/activator/heldlegs_guard_test.go +1,030 −0
  • internal/activator/heldlegs_test.go +613 −0
  • internal/activator/heldstream_e2e_test.go +1,041 −0
  • internal/activator/maintenance.go +6 −2
  • internal/activator/recoveryprobe.go +11 −0
  • internal/activator/seed_exclusion.go +3 −1
  • internal/activator/swap_sim_test.go +245 −7
  • internal/activator/swaphold.go +2 −0
  • internal/activator/termination_credentials_test.go +42 −0
  • internal/activator/termination_proof_test.go +116 −0
  • internal/activator/wakeslots.go +68 −0
  • internal/activator/wakeslots_test.go +236 −0
  • internal/alerting/ruletext.go +6 −0
  • internal/awsterminations/queue.go +155 −0
  • internal/awsterminations/queue_test.go +102 −0
  • internal/billing/billing.go +69 −6
  • internal/billing/billingtest/fake.go +178 −9
  • internal/billing/billingtest/fake_test.go +41 −0
  • internal/billing/billingtest/payment_test.go +126 −0
  • internal/billingstripe/card_test.go +94 −0
  • internal/billingstripe/payment.go +201 −0
  • internal/billingstripe/payment_test.go +331 −0
  • internal/billingstripe/prepared.go +42 −5
  • internal/billingstripe/prepared_test.go +2 −2
  • internal/boxchoice/coldwake.go +1 −0
  • internal/console/alertcopy_test.go +3 −2
  • internal/console/alertdetail_test.go +130 −0
  • internal/console/alertengine_pass.go +11 −6
  • internal/console/alertnotify.go +20 −4
  • internal/console/alertpages.go +12 −2
  • internal/console/alertsignals.go +13 −2
  • internal/console/apidomainbuy.go +183 −0
  • internal/console/apidomainbuy_test.go +451 −0
  • internal/console/apipdf.go +483 −0
  • internal/console/apipdf_test.go +1,002 −0
  • internal/console/apisystem.go +78 −0
  • internal/console/apisystem_test.go +141 −0
  • internal/console/appdomainbuy.go +236 −0
  • internal/console/appsettings.go +3 −2
  • internal/console/assets_test.go +2 −2
  • internal/console/authcli.go +32 −0
  • internal/console/billingcard.go +79 −0
  • internal/console/billingcard_test.go +122 −0
  • internal/console/billingcheckout.go +25 −9
  • internal/console/billingcustomer.go +62 −0
  • internal/console/billingpage.go +17 −2
  • internal/console/billingpage_copy.go +8 −0
  • internal/console/billingpage_test.go +8 −6
  • internal/console/billingseats.go +2 −1
  • internal/console/billingstore.go +20 −8
  • internal/console/billingusage.go +14 −6
  • internal/console/billingusage_test.go +32 −0
  • internal/console/billingwebhook.go +12 −0
  • internal/console/claim_invariant_fixtures_test.go +66 −0
  • internal/console/claim_invariant_probes_nonapp_test.go +28 −0
  • internal/console/claim_invariant_probes_read_test.go +10 −0
  • internal/console/claim_invariant_test.go +1 −0
  • internal/console/claim_workers.go +1 −0
  • internal/console/domainbuy.go +876 −0
  • internal/console/domainbuy_admission_test.go +252 −0
  • internal/console/domainbuy_card_test.go +311 −0
  • internal/console/domainbuy_copy.go +117 −0
  • internal/console/domainbuy_final_fix_test.go +460 −0
  • internal/console/domainbuy_fix_test.go +329 −0
  • internal/console/domainbuy_limit.go +100 −0
  • internal/console/domainbuy_nosub_test.go +269 −0
  • internal/console/domainbuy_registry_test.go +54 −0
  • internal/console/domainbuy_round1_test.go +278 −0
  • internal/console/domainbuy_round2_test.go +173 −0
  • internal/console/domainbuy_test.go +1,015 −0
  • internal/console/domainstate.go +2 −0
  • internal/console/domainstore.go +305 −0
  • internal/console/domainstore_test.go +280 −0
  • internal/console/emailsignin.go +24 −14
  • internal/console/emailsignin_limits.go +33 −2
  • internal/console/emailsignin_limits_test.go +106 −5
  • internal/console/fleets.go +12 −9
  • internal/console/hostsused.go +105 −16
  • internal/console/hostsused_coverage_test.go +417 −0
  • internal/console/invite_held_address_test.go +214 −0
  • internal/console/jobs.go +1 −0
  • internal/console/jobs_test.go +3 −2
  • internal/console/metricsview.go +7 −1
  • internal/console/newperson_test.go +140 −0
  • internal/console/pdf_copy.go +18 −0
  • internal/console/pdflimit.go +114 −0
  • internal/console/pdflimit_test.go +203 −0
  • internal/console/pdfrenders.go +57 −0
  • internal/console/pdfrenders_test.go +187 −0
  • internal/console/perfwalk_test.go +6 −0
  • internal/console/plancaps_copy.go +6 −0
  • internal/console/planexempt_test.go +1 −1
  • internal/console/plangrace.go +7 −6
  • internal/console/plangracepass.go +8 −0
  • internal/console/planmeasure.go +4 −0
  • internal/console/planpdf.go +33 −0
  • internal/console/planpdf_test.go +238 −0
  • internal/console/plansponsor.go +1 −0
  • internal/console/plansponsor_test.go +1 −1
  • internal/console/server.go +54 −9
  • internal/console/settings_methods_test.go +161 −0
  • internal/console/signincopy.go +3 −0
  • internal/console/signinmethods_store.go +156 −0
  • internal/console/signinmethods_store_test.go +278 −0
  • internal/console/signinmethods_test.go +207 −0
  • internal/console/socialsignin_copy.go +17 −0
  • internal/console/socialsignin_copy_test.go +54 −0
  • internal/console/static/rastrillo/VERSION +4 −4
  • internal/console/static/rastrillo/shell.js +19 −11
  • internal/console/static/rastrillo/tokens.css +7 −2
  • internal/console/store.go +69 −20
  • internal/console/store_gate.go +6 −0
  • internal/console/svcroutes_test.go +6 −2
  • internal/console/templates/app_settings.html +1 −0
  • internal/console/templates/billing.html +5 −1
  • internal/console/templates/domain_buy.html +140 −0
  • internal/console/templates/layout.html +2 −0
  • internal/console/templates/metrics.html +1 −1
  • internal/console/templates/settings.html +17 −0
  • internal/console/testdata/claim-routes.txt +12 −0
  • internal/console/testdata/domainbuy_poll.cjs +125 −0
  • internal/devbox/links.go +7 −0
  • internal/devbox/links_test.go +1 −1
  • internal/devbox/registrar.go +204 −20
  • internal/devbox/registrar_socket_linux_test.go +296 −0
  • internal/devbox/registrar_socket_test.go +300 −0
  • internal/devbox/registrar_test.go +12 −11
  • internal/devbox/socketcheck_linux.go +55 −0
  • internal/devbox/socketcheck_other.go +12 −0
  • internal/domainreg/catalog.go +136 −0
  • internal/domainreg/catalog_test.go +162 −0
  • internal/domainreg/testdata/catalog.json +21 −0
  • internal/domains/rootfs_apex_test.go +6 −0
  • internal/edge/alias_test.go +7 −0
  • internal/edge/assetcatch.go +16 −0
  • internal/edge/burst_edge_test.go +22 −7
  • internal/edge/devbox.go +22 −5
  • internal/edge/devboxfront.go +198 −0
  • internal/edge/devboxfront_test.go +720 −0
  • internal/edge/devboxpeer_linux.go +31 −0
  • internal/edge/devboxpeer_other.go +9 −0
  • internal/edge/edge.go +244 −15
  • internal/edge/edge_test.go +20 −0
  • internal/edge/edgeerrors_test.go +11 −1
  • internal/edge/forwardha.go +35 −2
  • internal/edge/forwardha_export_test.go +29 −0
  • internal/edge/forwardha_test.go +10 −0
  • internal/edge/forwardha_wiring_test.go +7 −6
  • internal/edge/genedge_test.go +7 −0
  • internal/edge/guard.go +4 −3
  • internal/edge/guard_test.go +44 −10
  • internal/edge/hadepartures.go +38 −0
  • internal/edge/hadepartures_test.go +71 −0
  • internal/edge/haplacement_wiring_test.go +192 −0
  • internal/edge/heldleg.go +14 −0
  • internal/edge/heldstream.go +1,013 −0
  • internal/edge/heldstream_dispatch_test.go +594 −0
  • internal/edge/heldstream_sim_test.go +434 −0
  • internal/edge/heldstream_test.go +973 −0
  • internal/edge/homemap.go +50 −4
  • internal/edge/path_test.go +3 −0
  • internal/edge/ratelimit_test.go +6 −0
  • internal/edge/reqrecords_test.go +7 −0
  • internal/edge/sse.go +134 −0
  • internal/edge/sse_test.go +68 −0
  • internal/edge/static.go +58 −18
  • internal/edge/static_artifact_other.go +5 −0
  • internal/edge/static_artifact_unix.go +5 −0
  • internal/edge/static_guard_test.go +19 −13
  • internal/edge/static_stream_test.go +368 −0
  • internal/edge/static_test.go +8 −0
  • internal/edge/storedoor.go +151 −3
  • internal/edge/storedoor_stream_test.go +553 −0
  • internal/edge/tunnel_e2e_test.go +201 −0
  • internal/edge/usagemeter.go +4 −0
  • internal/edge/usagemeter_test.go +21 −0
  • internal/edge/visitor.go +139 −0
  • internal/edge/visitor_test.go +330 −0
  • internal/edge/wakeplacement.go +17 −4
  • internal/edge/wakeplacement_test.go +45 −1
  • internal/edgeguard/catalogue.go +1 −1
  • internal/edgeguard/catalogue.txt +34 −34
  • internal/hadeparture/consumer.go +240 −0
  • internal/hadeparture/consumer_test.go +375 −0
  • internal/hadeparture/types.go +52 −0
  • internal/host/activator_seam.go +10 −0
  • internal/host/agent.go +60 −1
  • internal/host/alertsink.go +30 −8
  • internal/host/alertsink_test.go +20 −3
  • internal/host/egress_source_test.go +3 −0
  • internal/host/enginebeat_linux_test.go +1 −1
  • internal/host/hadeparture_credentials_test.go +37 −0
  • internal/host/hadeparture_identity.go +404 −0
  • internal/host/hadeparture_identity_test.go +188 −0
  • internal/host/hadepartures.go +546 −0
  • internal/host/hadepartures_fix_test.go +554 −0
  • internal/host/hadepartures_harness_test.go +74 −0
  • internal/host/hadepartures_metrics.go +73 −0
  • internal/host/hadepartures_metrics_test.go +74 −0
  • internal/host/hadepartures_production_test.go +410 −0
  • internal/host/hadepartures_rebind_test.go +490 −0
  • internal/host/hadepartures_retained_test.go +341 −0
  • internal/host/hadepartures_root_linux_test.go +455 −0
  • internal/host/hadepartures_scan.go +549 −0
  • internal/host/hadepartures_scan_test.go +801 −0
  • internal/host/hadepartures_test.go +88 −0
  • internal/host/hadepartures_wiring.go +228 −0
  • internal/host/hadepartures_wiring_test.go +622 −0
  • internal/host/haduties_wiring_test.go +226 −0
  • internal/host/haplacement_budget_test.go +7 −1
  • internal/host/haplacement_root_linux_test.go +19 −2
  • internal/host/metrics_loop.go +58 −11
  • internal/host/metrics_loop_test.go +9 −9
  • internal/host/restartwatch.go +306 −0
  • internal/host/restartwatch_test.go +321 −0
  • internal/host/runrelay_linux_test.go +37 −0
  • internal/host/runs.go +48 −1
  • internal/host/schedule_wiring.go +13 −1
  • internal/host/stateless_assignment_test.go +21 −1
  • internal/host/units/carlos-litestream.service +15 −1
  • internal/hostenv/hostenv.go +36 −6
  • internal/hostenv/write_linux_test.go +61 −0
  • internal/hostfiles/wake.go +53 −28
  • internal/hostfiles/wake_test.go +99 −3
  • internal/lease/ha.go +37 −4
  • internal/lease/ha_test.go +26 −0
  • internal/lease/haduty_test.go +112 −0
  • internal/lease/termination_binding_test.go +31 −0
  • internal/lease/termination_proof.go +108 −0
  • internal/lease/termination_proof_test.go +277 −0
  • internal/metrics/alert.go +82 −1
  • internal/metrics/alert_test.go +107 −0
  • internal/metrics/sample.go +19 −3
  • internal/objstore/termination_credentials_test.go +62 −0
  • internal/ops/flock_unix.go +15 −0
  • internal/ops/flock_windows.go +18 −0
  • internal/ops/litestream_memory.go +155 −0
  • internal/ops/ops.go +42 −0
  • internal/ops/ops_test.go +235 −0
  • internal/plans/catalog.go +4 −1
  • internal/plans/catalog_test.go +58 −0
  • internal/plans/team.go +2 −1
  • internal/plans/testdata/example-public-pricebook.json +4 −2
  • internal/provision/app_lists_census_test.go +9 −1
  • internal/provision/departure_inventory.go +114 −0
  • internal/provision/departure_inventory_test.go +119 −0
  • internal/provision/devbox_identity_census_test.go +62 −0
  • internal/provision/domains_buy_nosub_census_test.go +22 −0
  • internal/provision/hostsused.go +4 −0
  • internal/provision/instance_egress_sizes_census_test.go +2 −1
  • internal/provision/plan9_b8_census_test.go +9 −0
  • internal/provision/plans4d_census_test.go +4 −1
  • internal/provision/reconcile.go +19 −8
  • internal/provision/recordview.go +2 −0
  • internal/provision/recordview_store.go +17 −7
  • internal/provision/region_ha_departure_census_test.go +25 −0
  • internal/provision/sidecar_reconcile.go +16 −4
  • internal/provision/stateless_placement_census_test.go +5 −3
  • internal/provision/stateless_replicas_census_test.go +7 −1
  • internal/provision/testdata/plan14-root-reads-chain.tsv +18 −1
  • internal/provision/testdata/plan14-root-reads-design-pdf-service.tsv +23 −0
  • internal/provision/testdata/plan14-root-reads-devbox-identity.tsv +36 −0
  • internal/provision/testdata/plan14-root-reads-domain-registration-1.tsv +7 −0
  • internal/provision/testdata/plan14-root-reads-domains-buy-nosub.tsv +4 −0
  • internal/provision/testdata/plan14-root-reads-domains-check-country.tsv +3 −0
  • internal/provision/testdata/plan14-root-reads-domains-zone-credentials.tsv +3 −0
  • internal/provision/testdata/plan14-root-reads-edge-held-first-ping.tsv +3 −0
  • internal/provision/testdata/plan14-root-reads-edge-held-streams.tsv +66 −0
  • internal/provision/testdata/plan14-root-reads-edge-protect-hard-block.tsv +6 −0
  • internal/provision/testdata/plan14-root-reads-fleet-examined-519.tsv +3 −0
  • internal/provision/testdata/plan14-root-reads-ls284.tsv +22 −0
  • internal/provision/testdata/plan14-root-reads-region-ha-home-placement.tsv +5 −0
  • internal/provision/testdata/plan14-root-reads-region-ha-p1b3b-t.tsv +237 −0
  • internal/provision/testdata/plan14-root-reads-region-ha-placement-survivor.tsv +3 −0
  • internal/provision/testdata/plan14-root-reads-stateless-replicas-2.tsv +20 −20
  • internal/provision/testdata/plan14-root-reads-static-stream-extract.tsv +9 −0
  • internal/provision/testdata/plan14-root-reads-storedoor-stream-get.tsv +11 −0
  • internal/provision/testdata/plan14-root-reads-wake-storm-cap.tsv +9 −0
  • internal/registrar/boundary_test.go +85 −0
  • internal/registrar/openprovider/client.go +490 −0
  • internal/registrar/openprovider/client_test.go +565 −0
  • internal/registrar/openprovider/testdata/README.md +20 −0
  • internal/registrar/openprovider/testdata/balance.json +399 −0
  • internal/registrar/openprovider/testdata/check-reference.json +32 −0
  • internal/registrar/openprovider/testdata/check.json +32 −0
  • internal/registrar/openprovider/testdata/contact-create.json +7 −0
  • internal/registrar/openprovider/testdata/contact-get.json +124 −0
  • internal/registrar/openprovider/testdata/contact-update.json +7 −0
  • internal/registrar/openprovider/testdata/login.json +8 −0
  • internal/registrar/openprovider/testdata/lookup.json +192 −0
  • internal/registrar/openprovider/testdata/register.json +62 −0
  • internal/registrar/openprovider/testdata/taken.json +5 −0
  • internal/registrar/registrar.go +99 −0
  • internal/registrar/registrar_test.go +246 −0
  • internal/registrar/registrartest/fake.go +115 −0
  • internal/registry/claimreview_test.go +3 −0
  • internal/registry/forward_writers_test.go +7 −1
  • internal/registry/ha_adoption_phase_test.go +23 −0
  • internal/registry/ha_departures.go +337 −0
  • internal/registry/ha_duties.go +167 −0
  • internal/registry/ha_duties_test.go +393 −0
  • internal/registry/ha_identity_history.go +107 −0
  • internal/registry/ha_identity_history_test.go +89 −0
  • internal/registry/ha_journal.go +552 −0
  • internal/registry/ha_journal_test.go +352 −0
  • internal/registry/ha_scan.go +124 −0
  • internal/registry/ha_test.go +3 −0
  • internal/registry/hold_test.go +3 −0
  • internal/registry/importjournal_test.go +6 −0
  • internal/registry/registry.go +4 −1
  • internal/registry/registry_test.go +12 −0
  • internal/registry/remote.go +1 −1
  • internal/registry/remote_dispatch.go +128 −97
  • internal/registry/replicas_test.go +44 −0
  • internal/registry/timers.go +17 −0
  • internal/release/conditional_delete.go +55 −0
  • internal/release/conditional_delete_test.go +89 −0
  • internal/release/openers_test.go +1 −0
  • internal/release/qualified.go +8 −0
  • internal/release/store.go +14 −1
  • internal/release/system.go +3 −2
  • internal/rootaws/config.go +23 −0
  • internal/rootaws/config_test.go +123 −0
  • internal/schedule/cron.go +3 −165
  • internal/schedule/haduties_test.go +127 −0
  • internal/schedule/mingap.go +1 −64
  • internal/schedule/runner.go +38 −1
  • internal/schedule/spec.go +10 −124
  • internal/sim/engines/calls_test.go +0 −850
  • internal/sim/engines/classify_test.go +0 −592
  • internal/sim/engines/dedicated_test.go +0 −508
  • internal/sim/engines/edge_test.go +0 −315
  • internal/sim/engines/expected-outcomes.txt +0 −12
  • internal/sim/engines/invariants_test.go +0 −359
  • internal/sim/engines/launch_test.go +0 −489
  • internal/sim/engines/mutate.sh +0 −196
  • internal/sim/engines/rules_test.go +0 −95
  • internal/sim/engines/sim_test.go +0 −348
  • internal/sim/engines/witness_test.go +0 −2,105
  • internal/sim/engines/world_test.go +0 −370
  • internal/sim/regionha/duties_model_test.go +701 −0
  • internal/sim/regionha/duties_test.go +28 −0
  • internal/sim/regionha/duty_boundaries_test.go +219 −0
  • internal/sim/regionha/mutate-startup.sh +28 −0
  • internal/sim/regionha/mutate.sh +40 −8
  • internal/sim/regionha/mutation_evidence_test.go +39 −0
  • internal/sim/regionha/rules_test.go +35 −0
  • internal/sim/regionha/witness_test.go +42 −3
  • internal/sim/regionha/world_test.go +2 −0
  • internal/status/snapshot.go +20 −2
  • internal/status/snapshot_test.go +17 −0
  • internal/svcrole/svcrole.go +3 −2
  • internal/termfence/confirm.go +22 −6
  • internal/termfence/confirm_test.go +14 −4
  • internal/termfence/termination_proof.go +348 −0
  • internal/termfence/termination_proof_test.go +372 −0
  • internal/timerspec/cron.go +169 −0
  • internal/timerspec/mingap.go +66 −0
  • internal/timerspec/spec.go +134 −0
  • internal/tsidentity/whois.go +86 −0
  • internal/tsidentity/whois_test.go +146 −0
  • internal/zonehost/route53zones/route53.go +388 −0
  • internal/zonehost/route53zones/route53_test.go +591 −0
  • internal/zonehost/zonehost.go +96 −0
  • internal/zonehost/zonehost_test.go +124 −0
  • internal/zonehost/zonehosttest/fake.go +109 −0
  • run_cutover_witness_test.go +35 −25
  • system.go +59 −1
  • system_test.go +85 −0

CI passed — run details

Intent

Human

<task-notification> <task-id>bmfnersu8</task-id> <tool-use-id>toolu_01WpzAHfGbRLyp6KBL3daiGa</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/7c5a7d70-0e28-42b9-896c-5d73b2d2a05d/tasks/bmfnersu8.output</output-file> <status>completed</status> <summary>Background command "Wait for Task 3 fix round 1" completed (exit code 0)</summary> </task-notification>

Human

<task-notification> <task-id>bx09w2pvb</task-id> <tool-use-id>toolu_015XWLW8JprB29f8EEnUHXMy</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/7c5a7d70-0e28-42b9-896c-5d73b2d2a05d/tasks/bx09w2pvb.output</output-file> <status>completed</status> <summary>Background command "Wait for CI verdict on 9f19bdb4" completed (exit code 0)</summary> </task-notification>

Human

<task-notification> <task-id>a949cff3f37c8e914</task-id> <tool-use-id>toolu_0199iqGytJVkzAcbcBWmhNLW</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/7c5a7d70-0e28-42b9-896c-5d73b2d2a05d/tasks/a949cff3f37c8e914.output</output-file> <status>completed</status> <summary>Agent "Re-review Task 3 fix round 1" finished</summary> <note>A task-notification fires each time this agent stops with no live background children of its own. The user can send it another message and resume it, so the same task-id may notify more than once.</note> <result>### Finding Verdicts - **Important 1: a replica evidence error turned off legacy relabel and drain for the whole fleet.** ADDRESSED. `fleetrelabel.go` fleetRelabelPass no longer `continue`s: it logs the error and runs `relabelFleet` anyway. In drainBox, a placement error is now logged with `jobFailed` and `writeRelabels` still runs. `reconcileReplicaFleet` now hands each app to `reconcileReplicaApp`, which takes per-app nonblocking locks and returns per-app errors joined at the end (diff ~741-837). Record-level errors stay with that record (`delete(cache.records,key)`, then `continue`). `TestReplicaEvidenceFailureDoesNotBlockLegacy` puts a persistently failing opted-in `shop` beside a legacy `blog` and covers both the loss and drain cases. It checks that `blog` moves to pi-1 and stays there on a second pass. `TestReplicaEvidenceFailureIsScopedToApp` covers one opted-in app failing beside another. - **Important 2: a stale copies_configured marker hid converted legacy records, and cost a config GET every pass forever.** ADDRESSED. `fleetView.replicaRecord` has been deleted. Relabel, first labelling and drain now skip a record only when `rec.ReplicaAssignment != nil` (fleetrelabel.go diff lines 233, 256, 279). `Unmovable` also leaves out records that carry an assignment (fleetbox.go diff 183). `settleReplicaApp(n&gt;1 || assigned)` runs on the early n==1 path and on full success, so the marker clears once the count is 1 and no record holds an assignment, whether the 1 is explicit or implicit. `TestReplicaLegacyDrainAndDiscoveryAfterDecrease` checks that both bits clear, that config reads stop, and that a re-injected stale marker still leaves `shop` reported as stranded. `TestReplicaLegacyRelabelSurvivesEarlyReturn` covers the busy, incomplete and floor early returns. - **Important 3: the box ACK worker held reconcileMu across network calls.** ADDRESSED. host/replicaplacement.go now holds the lock only for `reg.Get`, `quiet` and `empty`, which set `proven`. The `retired` POST, `coordinator.Acquire` and `publish` all run after `Unlock`. Moving the coordinator branch from an inner else to an `else if` is equivalent, because a box cannot be in both Boxes and Retiring. - **The race you asked about:** after the proof, local reconcile can only create a route for this host if the record it sees has this box in Boxes. That needs an assignment edit, which bumps the revision, and the ACK names `a.Revision`, so the server's CAS fences it. A route created from a lagging older record would not be caught by the CAS. But the old lock never prevented that either, since such a route could equally appear just after the ACK. - **Test:** `TestReplicaBlockedACKDoesNotBlockReconcile` holds a real HTTP ACK open and runs a serialized reconcile against it. Every wait is bounded by a 5 s context or `time.After`. - **Important 4: steady passes re-read about 8 evidence GETs per opted-in app (P17).** ADDRESSED. There is a new `apps.copies_dirty` column, with a migration and the table-rebuild copy (store.go). `reconcileReplicaApp` reads evidence only if `mayWrite` is true, meaning the app is dirty, has no cached app entry, or some record's `replicaMayChange` returns true. `TestReplicaPlacementReadAccounting` pass 2 now expects only the two fleet heartbeat GETs. - **Triggers you asked me to check:** - A box that goes stale is caught: `destinationFor` checks `Fresh`, so the member becomes ineligible and the record is re-evaluated. - A returning box that can fill a shortfall is caught: `spare &amp;&amp; len(a.Boxes) &lt; old.desired` uses the same `available` rule as `Place`. - A decrease is caught: the copies API marks the app dirty under the same app lock, and `SetCopies` is the only place that writes copies. - Retiring changes are caught, because ACKs change the record stamp. A detached Retiring box needs nothing, since `Place` never drops Retiring entries. - **Race with the copies API:** dirty is read from the view, which is loaded before the app lock is taken. If an edit lands between the view load and the lock, its dirty bit survives in SQL until the next pass, so nothing is lost. - **m1: hub ReconcileFleetBindings discarded validReplicaFleetBinding's result.** ADDRESSED. host/fleetbind.go now appends `replicas.ErrFenced` when validation fails, and also for a set-shaped binding whose body does not match its key. It returns `errors.Join` only after processing every binding. The only caller (agent.go:4103) just logs the error. The legacy path is unchanged: the set branch only fires when `FleetBoxes` or the set fields are non-empty. If the validator were removed, the reader tests that require a rejection error would fail. - **m2: replicaNext's swap branch could nil-deref for a legacy record of an app raised to copies=2.** ADDRESSED. `replicaAction` returns none when a swap is active and `rec.ReplicaAssignment == nil`. Swap handling has moved out of `replicaNext`. Covered by `TestReplicaLegacyActiveSwapDoesNotCreateSet`. - **m3: movable refused rec.Unit on the legacy path too.** ADDRESSED. fleetbox.go `movable` refuses Unit only when the record has an assignment or `verified` was passed. Legacy callers pass neither, so the old behaviour is back exactly. - **m4: the fleet page detach warning replaced "Detached X.".** ADDRESSED. fleets.go now joins the confirmation and the warnings with newlines, so both show. - **m5: duplicated predicate, replicaNext called about 3 times per record per pass, and halt updated Load as if written.** ADDRESSED. `replicaAction` returns a typed none/set/clear/halt and is computed once per record. `applyReplicaAction` is the single dispatcher. `replicaLoad` adjustments happen only for set and clear, using the record the write returned. `v.Records[i] = *result` keeps the shared view on the record that was actually committed. Covered by `TestReplicaHaltDoesNotProjectUnwrittenLoad`. ### New Breakage in the Fix Diff No new Critical or Important breakage. Minor items: - **Wasted drain write.** drainBox builds its relabel plan before it calls `reconcileReplicaFleet`. Now that classification depends only on the assignment, a legacy record of an app raised to copies=2 goes into the plan. Reconcile may then turn it into a set in the same call, and the planned `SetRecordFleetBox` is refused by `replicaAssignmentMoveRefusal` with ErrFenced (provision/fleetbox.go:61-65, replicaassignment.go:179). That is safe, but it lands in the `err != nil` arm and calls `jobFailed` instead of the quiet ErrFleetBoxMoved arm. - **Possible missed shortfall fill.** `replicaMayChange` judges eligibility with the size cached at the last write (`old.size`). A size-policy decrease that makes a previously too-small box fit would not notice a fillable shortfall until some other trigger fires. The size door checks every fleet box of the account, which makes this case narrow. - **Hub log noise.** A set binding that falls one revision behind the record now logs `fleet bindings reconcile: fenced` on every hub pass until the box publishes again. This is log noise only. ### Out-of-Scope Observations - **Repeated reads for a broken record.** While a record keeps failing (for example, a missing channel head), its channel and manifest GETs, plus the app's config and policy GETs, repeat every relabel pass, because a failure never sets `cache.apps`. This is still strictly fewer reads than before the fix, and it runs on the existing pass rather than adding a new poll. - **`cache.apps` grows without limit.** Entries are never pruned for apps that leave the fleet. This is memory only. - **One-time read on an explicit `copies 1`.** `copies 1` on a never-replicated app now marks it configured and dirty, which costs one config read on the next pass, then it settles back to inert. This is caused by the user's own action, so it does not break the "inert for existing apps" gate. I did not run any tests. Everything above is judged from the code and the diff. ### Verdict **Fix round:** All findings addressed, no new Critical/Important breakage</result> <usage><subagent_tokens>111178</subagent_tokens><tool_uses>27</tool_uses><duration_ms>332905</duration_ms></usage> </task-notification>

Human

<paseo-system version="1" kind="agent-message" source-agent-id="335399d5-3ec5-4e92-ae37-08e6aaae74c8" message-id="40e4023e-166c-4cc8-8a70-4d7307fb5d52"> From Paul (2026-11-03 ~20:15Z, relayed by platform-72), approvals for the stateless replicas series: (1) A DEV-ONLY v0.34.0 release (the StatelessRuntimeFloor) so Plan 1&apos;s Task 4 dev smoke can run. platform-72 cuts and rolls it from main 9b8b2c50 and tells you when dev is on v0.34.0. Then run the Plan 1 smoke per plan1-ledger.md: no stateful app changes, refuse paths checked, a stateless app shipped and woken on one dev box with no SQLite and no serving lease. (2) Copy review: when Plans 3-4 need their strings, put the 75-row deck (with Luna&apos;s 7 flags) to Paul through the copy-review skill. (3) The Plan 4 drill fleet is APPROVED in advance: two small dev fleet boxes in the kass account, eu-west-1, t4g.small, different AZs, deleted after the drill. Record it as a ledger ruling. Continue Plan 2&apos;s merge and review as you are. </paseo-system>

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

README.md

Loading diff…

apimode.go

Loading diff…

approved_devbox_copy_test.go

Loading diff…

approved_domains_buy_copy_test.go

Loading diff…

cmd/console/domains.go

Loading diff…

cmd/console/domains_test.go

Loading diff…

cmd/console/main.go

Loading diff…

cmd/console/pdf_test.go

Loading diff…

deploy/billing/sponsored-unlimited.json

Loading diff…

devbox_acl_linux.go

Loading diff…

devbox_acl_linux_test.go

Loading diff…

devbox_acl_other.go

Loading diff…

devbox_cli.go

Loading diff…

devbox_cli_test.go

Loading diff…

devbox_identity_cli_test.go

Loading diff…

devbox_identity_linux_test.go

Loading diff…

docs/site/cli.md

Loading diff…

docs/site/domains-buying.md

Loading diff…

docs/site/nav.json

Loading diff…

docs/site/pdfs.md

Loading diff…

docs/site/plans.md

Loading diff…

docs/superpowers/notes/LUNA-COPY-BRIEF-litestream-284.md

Loading diff…

docs/superpowers/notes/census-edge-held-first-ping-claims.md

Loading diff…

docs/superpowers/notes/census-edge-held-streams-claims.md

Loading diff…

docs/superpowers/notes/census-proposal-design-pdf-service.md

Loading diff…

docs/superpowers/notes/census-proposal-devbox-identity.md

Loading diff…

docs/superpowers/notes/census-proposal-domain-registration-1.md

Loading diff…

docs/superpowers/notes/census-proposal-domains-buy-nosub.md

Loading diff…

docs/superpowers/notes/census-proposal-domains-check-country.md

Loading diff…

docs/superpowers/notes/census-proposal-domains-zone-credentials.md

Loading diff…

docs/superpowers/notes/census-proposal-edge-held-first-ping.md

Loading diff…

docs/superpowers/notes/census-proposal-edge-held-streams.md

Loading diff…

docs/superpowers/notes/census-proposal-edge-protect-hard-block.md

Loading diff…

docs/superpowers/notes/census-proposal-fleet-examined-519.md

Loading diff…

docs/superpowers/notes/census-proposal-ls284.md

Loading diff…

docs/superpowers/notes/census-proposal-region-ha-home-placement.md

Loading diff…

docs/superpowers/notes/census-proposal-region-ha-p1b3b-t.md

Loading diff…

docs/superpowers/notes/census-proposal-region-ha-placement-survivor.md

Loading diff…

docs/superpowers/notes/census-proposal-stateless-replicas-2.md

Loading diff…

docs/superpowers/notes/census-proposal-static-stream-extract.md

Loading diff…

docs/superpowers/notes/census-proposal-storedoor-stream-get.md

Loading diff…

docs/superpowers/notes/census-proposal-wake-storm-cap.md

Loading diff…

docs/superpowers/notes/census-region-ha-p1b3b-t-claims.md

Loading diff…

docs/superpowers/notes/copy-litestream-284.md

Loading diff…

docs/superpowers/notes/edge-held-streams-followups.md

Loading diff…

docs/superpowers/notes/pdf-service-copy-deck.md

Loading diff…

docs/superpowers/notes/reviews/ASTRA-FINDINGS-fleet-examined-519-r1.md

Loading diff…

docs/superpowers/notes/reviews/ASTRA-FINDINGS-fleet-examined-519-r2.md

Loading diff…

docs/superpowers/notes/reviews/ASTRA-FINDINGS-fleet-examined-519-r3.md

Loading diff…

docs/superpowers/plans/2026-10-28-edge-held-streams.md

Loading diff…

docs/superpowers/plans/2026-10-30-devbox-mode-copy.md

Loading diff…

docs/superpowers/plans/2026-11-01-devbox-identity.md

Loading diff…

docs/superpowers/plans/2026-11-01-domain-registration-1-buy.md

Loading diff…

docs/superpowers/plans/2026-11-02-console-social-signin-1-methods.md

Loading diff…

docs/superpowers/plans/2026-11-03-pdf-service.md

Loading diff…

docs/superpowers/plans/2026-11-03-region-ha-p1b3b-duties.md

Loading diff…

docs/superpowers/plans/CODEX-FINDINGS-edge-held-streams-plan.md

Loading diff…

docs/superpowers/plans/REVIEW-BRIEF-REGION-HA-P1B3B-R1.md

Loading diff…

docs/superpowers/plans/REVIEW-BRIEF-REGION-HA-P1B3B-R2.md

Loading diff…

docs/superpowers/plans/REVIEW-REGION-HA-P1B3B-R1.md

Loading diff…

docs/superpowers/plans/REVIEW-REGION-HA-P1B3B-R2.md

Loading diff…

docs/superpowers/plans/REVIEW-REGION-HA-P1B3B-R3.md

Loading diff…

docs/superpowers/reviews/ASTRA-FINDINGS-edge-held-streams-branch-R1-fixes.md

Loading diff…

docs/superpowers/reviews/ASTRA-FINDINGS-edge-held-streams-branch-R1.md

Loading diff…

docs/superpowers/reviews/BUILDER-CHECK-BRIEF-domain-registration.md

Loading diff…

docs/superpowers/reviews/BUILDER-CHECK-FINDINGS-domain-registration.md

Loading diff…

docs/superpowers/reviews/CODEX-REVIEW-BRIEF-census-ls284-R2.md

Loading diff…

docs/superpowers/reviews/CODEX-REVIEW-BRIEF-census-ls284.md

Loading diff…

docs/superpowers/reviews/CODEX-REVIEW-BRIEF-litestream-284-merge.md

Loading diff…

docs/superpowers/reviews/CODEX-REVIEW-FINDINGS-census-ls284-R2.md

Loading diff…

docs/superpowers/reviews/CODEX-REVIEW-FINDINGS-census-ls284.md

Loading diff…

docs/superpowers/reviews/CODEX-REVIEW-FINDINGS-litestream-284-merge.md

Loading diff…

docs/superpowers/specs/2026-10-21-fleet-internal-engines-design.md

Loading diff…

docs/superpowers/specs/2026-10-26-nearest-region-without-claims-design.md

Loading diff…

docs/superpowers/specs/2026-10-28-edge-held-streams-design.md

Loading diff…

docs/superpowers/specs/2026-11-01-devbox-identity-design.md

Loading diff…

docs/superpowers/specs/2026-11-01-domain-registration-design.md

Loading diff…

docs/superpowers/specs/2026-11-02-console-social-signin-copy-approved.json

Loading diff…

docs/superpowers/specs/2026-11-02-console-social-signin-design.md

Loading diff…

docs/superpowers/specs/2026-11-02-pdf-service-design.md

Loading diff…

docs/superpowers/specs/CODEX-FINDINGS-edge-held-streams-R2.md

Loading diff…

docs/superpowers/specs/CODEX-FINDINGS-edge-held-streams.md

Loading diff…

docs/superpowers/specs/CODEX-REVIEW-BRIEF-edge-held-streams-R2.md

Loading diff…

docs/superpowers/specs/CODEX-REVIEW-BRIEF-edge-held-streams.md

Loading diff…

docs/superpowers/specs/LUNA-COPY-BRIEF-DOMAINS-1.md

Loading diff…

docs/superpowers/specs/LUNA-COPY-RESULT-DOMAINS-1.md

Loading diff…

domains_buy_cli.go

Loading diff…

domains_buy_cli_test.go

Loading diff…

domains_buy_copy.go

Loading diff…

domains_cli.go

Loading diff…

go.mod

Loading diff…

go.sum

Loading diff…

infra/devbox/README.md

Loading diff…

infra/devbox/carlos-devbox.service

Loading diff…

infra/modules/README.md

Loading diff…

infra/modules/pdf-host/README.md

Loading diff…

infra/modules/pdf-host/main.tf

Loading diff…

infra/modules/pdf-host/outputs.tf

Loading diff…

infra/modules/pdf-host/pdf-init.sh.tftpl

Loading diff…

infra/modules/pdf-host/tests/pdf_host.tftest.hcl

Loading diff…

infra/modules/pdf-host/variables.tf

Loading diff…

infra/modules/pdf-host/versions.tf

Loading diff…

internal/activator/activator.go

Loading diff…

internal/activator/activator_test.go

Loading diff…

internal/activator/backend_exec.go

Loading diff…

internal/activator/claimproducer_test.go

Loading diff…

internal/activator/claimwake.go

Loading diff…

internal/activator/haadopt.go

Loading diff…

internal/activator/haadopt_test.go

Loading diff…

internal/activator/hacache.go

Loading diff…

internal/activator/haduties.go

Loading diff…

internal/activator/haduties_test.go

Loading diff…

internal/activator/haforward.go

Loading diff…

internal/activator/haforward_test.go

Loading diff…

internal/activator/haplacement_test.go

Loading diff…

internal/activator/harelease.go

Loading diff…

internal/activator/hasuspect_test.go

Loading diff…

internal/activator/hatakeover.go

Loading diff…

internal/activator/hawake.go

Loading diff…

internal/activator/heldlegs.go

Loading diff…

internal/activator/heldlegs_activity_test.go

Loading diff…

internal/activator/heldlegs_guard_test.go

Loading diff…

internal/activator/heldlegs_test.go

Loading diff…

internal/activator/heldstream_e2e_test.go

Loading diff…

internal/activator/maintenance.go

Loading diff…

internal/activator/recoveryprobe.go

Loading diff…

internal/activator/seed_exclusion.go

Loading diff…

internal/activator/swap_sim_test.go

Loading diff…

internal/activator/swaphold.go

Loading diff…

internal/activator/termination_credentials_test.go

Loading diff…

internal/activator/termination_proof_test.go

Loading diff…

internal/activator/wakeslots.go

Loading diff…

internal/activator/wakeslots_test.go

Loading diff…

internal/alerting/ruletext.go

Loading diff…

internal/awsterminations/queue.go

Loading diff…

internal/awsterminations/queue_test.go

Loading diff…

internal/billing/billing.go

Loading diff…

internal/billing/billingtest/fake.go

Loading diff…

internal/billing/billingtest/fake_test.go

Loading diff…

internal/billing/billingtest/payment_test.go

Loading diff…

internal/billingstripe/card_test.go

Loading diff…

internal/billingstripe/payment.go

Loading diff…

internal/billingstripe/payment_test.go

Loading diff…

internal/billingstripe/prepared.go

Loading diff…

internal/billingstripe/prepared_test.go

Loading diff…

internal/boxchoice/coldwake.go

Loading diff…

internal/console/alertcopy_test.go

Loading diff…

internal/console/alertdetail_test.go

Loading diff…

internal/console/alertengine_pass.go

Loading diff…

internal/console/alertnotify.go

Loading diff…

internal/console/alertpages.go

Loading diff…

internal/console/alertsignals.go

Loading diff…

internal/console/apidomainbuy.go

Loading diff…

internal/console/apidomainbuy_test.go

Loading diff…

internal/console/apipdf.go

Loading diff…

internal/console/apipdf_test.go

Loading diff…

internal/console/apisystem.go

Loading diff…

internal/console/apisystem_test.go

Loading diff…

internal/console/appdomainbuy.go

Loading diff…

internal/console/appsettings.go

Loading diff…

internal/console/assets_test.go

Loading diff…

internal/console/authcli.go

Loading diff…

internal/console/billingcard.go

Loading diff…

internal/console/billingcard_test.go

Loading diff…

internal/console/billingcheckout.go

Loading diff…

internal/console/billingcustomer.go

Loading diff…

internal/console/billingpage.go

Loading diff…

internal/console/billingpage_copy.go

Loading diff…

internal/console/billingpage_test.go

Loading diff…

internal/console/billingseats.go

Loading diff…

internal/console/billingstore.go

Loading diff…

internal/console/billingusage.go

Loading diff…

internal/console/billingusage_test.go

Loading diff…

internal/console/billingwebhook.go

Loading diff…

internal/console/claim_invariant_fixtures_test.go

Loading diff…

internal/console/claim_invariant_probes_nonapp_test.go

Loading diff…

internal/console/claim_invariant_probes_read_test.go

Loading diff…

internal/console/claim_invariant_test.go

Loading diff…

internal/console/claim_workers.go

Loading diff…

internal/console/domainbuy.go

Loading diff…

internal/console/domainbuy_admission_test.go

Loading diff…

internal/console/domainbuy_card_test.go

Loading diff…

internal/console/domainbuy_copy.go

Loading diff…

internal/console/domainbuy_final_fix_test.go

Loading diff…

internal/console/domainbuy_fix_test.go

Loading diff…

internal/console/domainbuy_limit.go

Loading diff…

internal/console/domainbuy_nosub_test.go

Loading diff…

internal/console/domainbuy_registry_test.go

Loading diff…

internal/console/domainbuy_round1_test.go

Loading diff…

internal/console/domainbuy_round2_test.go

Loading diff…

internal/console/domainbuy_test.go

Loading diff…

internal/console/domainstate.go

Loading diff…

internal/console/domainstore.go

Loading diff…

internal/console/domainstore_test.go

Loading diff…

internal/console/emailsignin.go

Loading diff…

internal/console/emailsignin_limits.go

Loading diff…

internal/console/emailsignin_limits_test.go

Loading diff…

internal/console/fleets.go

Loading diff…

internal/console/hostsused.go

Loading diff…

internal/console/hostsused_coverage_test.go

Loading diff…

internal/console/invite_held_address_test.go

Loading diff…

internal/console/jobs.go

Loading diff…

internal/console/jobs_test.go

Loading diff…

internal/console/metricsview.go

Loading diff…

internal/console/newperson_test.go

Loading diff…

internal/console/pdf_copy.go

Loading diff…

internal/console/pdflimit.go

Loading diff…

internal/console/pdflimit_test.go

Loading diff…

internal/console/pdfrenders.go

Loading diff…

internal/console/pdfrenders_test.go

Loading diff…

internal/console/perfwalk_test.go

Loading diff…

internal/console/plancaps_copy.go

Loading diff…

internal/console/planexempt_test.go

Loading diff…

internal/console/plangrace.go

Loading diff…

internal/console/plangracepass.go

Loading diff…

internal/console/planmeasure.go

Loading diff…

internal/console/planpdf.go

Loading diff…

internal/console/planpdf_test.go

Loading diff…

internal/console/plansponsor.go

Loading diff…

internal/console/plansponsor_test.go

Loading diff…

internal/console/server.go

Loading diff…

internal/console/settings_methods_test.go

Loading diff…

internal/console/signincopy.go

Loading diff…

internal/console/signinmethods_store.go

Loading diff…

internal/console/signinmethods_store_test.go

Loading diff…

internal/console/signinmethods_test.go

Loading diff…

internal/console/socialsignin_copy.go

Loading diff…

internal/console/socialsignin_copy_test.go

Loading diff…

internal/console/static/rastrillo/VERSION

Loading diff…

internal/console/static/rastrillo/shell.js

Loading diff…

internal/console/static/rastrillo/tokens.css

Loading diff…

internal/console/store.go

Loading diff…

internal/console/store_gate.go

Loading diff…

internal/console/svcroutes_test.go

Loading diff…

internal/console/templates/app_settings.html

Loading diff…

internal/console/templates/billing.html

Loading diff…

internal/console/templates/domain_buy.html

Loading diff…

internal/console/templates/layout.html

Loading diff…

internal/console/templates/metrics.html

Loading diff…

internal/console/templates/settings.html

Loading diff…

internal/console/testdata/claim-routes.txt

Loading diff…

internal/console/testdata/domainbuy_poll.cjs

Loading diff…

internal/devbox/links.go

Loading diff…

internal/devbox/links_test.go

Loading diff…

internal/devbox/registrar.go

Loading diff…

internal/devbox/registrar_socket_linux_test.go

Loading diff…

internal/devbox/registrar_socket_test.go

Loading diff…

internal/devbox/registrar_test.go

Loading diff…

internal/devbox/socketcheck_linux.go

Loading diff…

internal/devbox/socketcheck_other.go

Loading diff…

internal/domainreg/catalog.go

Loading diff…

internal/domainreg/catalog_test.go

Loading diff…

internal/domainreg/testdata/catalog.json

Loading diff…

internal/domains/rootfs_apex_test.go

Loading diff…

internal/edge/alias_test.go

Loading diff…

internal/edge/assetcatch.go

Loading diff…

internal/edge/burst_edge_test.go

Loading diff…

internal/edge/devbox.go

Loading diff…

internal/edge/devboxfront.go

Loading diff…

internal/edge/devboxfront_test.go

Loading diff…

internal/edge/devboxpeer_linux.go

Loading diff…

internal/edge/devboxpeer_other.go

Loading diff…

internal/edge/edge.go

Loading diff…

internal/edge/edge_test.go

Loading diff…

internal/edge/edgeerrors_test.go

Loading diff…

internal/edge/forwardha.go

Loading diff…

internal/edge/forwardha_export_test.go

Loading diff…

internal/edge/forwardha_test.go

Loading diff…

internal/edge/forwardha_wiring_test.go

Loading diff…

internal/edge/genedge_test.go

Loading diff…

internal/edge/guard.go

Loading diff…

internal/edge/guard_test.go

Loading diff…

internal/edge/hadepartures.go

Loading diff…

internal/edge/hadepartures_test.go

Loading diff…

internal/edge/haplacement_wiring_test.go

Loading diff…

internal/edge/heldleg.go

Loading diff…

internal/edge/heldstream.go

Loading diff…

internal/edge/heldstream_dispatch_test.go

Loading diff…

internal/edge/heldstream_sim_test.go

Loading diff…

internal/edge/heldstream_test.go

Loading diff…

internal/edge/homemap.go

Loading diff…

internal/edge/path_test.go

Loading diff…

internal/edge/ratelimit_test.go

Loading diff…

internal/edge/reqrecords_test.go

Loading diff…

internal/edge/sse.go

Loading diff…

internal/edge/sse_test.go

Loading diff…

internal/edge/static.go

Loading diff…

internal/edge/static_artifact_other.go

Loading diff…

internal/edge/static_artifact_unix.go

Loading diff…

internal/edge/static_guard_test.go

Loading diff…

internal/edge/static_stream_test.go

Loading diff…

internal/edge/static_test.go

Loading diff…

internal/edge/storedoor.go

Loading diff…

internal/edge/storedoor_stream_test.go

Loading diff…

internal/edge/tunnel_e2e_test.go

Loading diff…

internal/edge/usagemeter.go

Loading diff…

internal/edge/usagemeter_test.go

Loading diff…

internal/edge/visitor.go

Loading diff…

internal/edge/visitor_test.go

Loading diff…

internal/edge/wakeplacement.go

Loading diff…

internal/edge/wakeplacement_test.go

Loading diff…

internal/edgeguard/catalogue.go

Loading diff…

internal/edgeguard/catalogue.txt

Loading diff…

internal/hadeparture/consumer.go

Loading diff…

internal/hadeparture/consumer_test.go

Loading diff…

internal/hadeparture/types.go

Loading diff…

internal/host/activator_seam.go

Loading diff…

internal/host/agent.go

Loading diff…

internal/host/alertsink.go

Loading diff…

internal/host/alertsink_test.go

Loading diff…

internal/host/egress_source_test.go

Loading diff…

internal/host/enginebeat_linux_test.go

Loading diff…

internal/host/hadeparture_credentials_test.go

Loading diff…

internal/host/hadeparture_identity.go

Loading diff…

internal/host/hadeparture_identity_test.go

Loading diff…

internal/host/hadepartures.go

Loading diff…

internal/host/hadepartures_fix_test.go

Loading diff…

internal/host/hadepartures_harness_test.go

Loading diff…

internal/host/hadepartures_metrics.go

Loading diff…

internal/host/hadepartures_metrics_test.go

Loading diff…

internal/host/hadepartures_production_test.go

Loading diff…

internal/host/hadepartures_rebind_test.go

Loading diff…

internal/host/hadepartures_retained_test.go

Loading diff…

internal/host/hadepartures_root_linux_test.go

Loading diff…

internal/host/hadepartures_scan.go

Loading diff…

internal/host/hadepartures_scan_test.go

Loading diff…

internal/host/hadepartures_test.go

Loading diff…

internal/host/hadepartures_wiring.go

Loading diff…

internal/host/hadepartures_wiring_test.go

Loading diff…

internal/host/haduties_wiring_test.go

Loading diff…

internal/host/haplacement_budget_test.go

Loading diff…

internal/host/haplacement_root_linux_test.go

Loading diff…

internal/host/metrics_loop.go

Loading diff…

internal/host/metrics_loop_test.go

Loading diff…

internal/host/restartwatch.go

Loading diff…

internal/host/restartwatch_test.go

Loading diff…

internal/host/runrelay_linux_test.go

Loading diff…

internal/host/runs.go

Loading diff…

internal/host/schedule_wiring.go

Loading diff…

internal/host/stateless_assignment_test.go

Loading diff…

internal/host/units/carlos-litestream.service

Loading diff…

internal/hostenv/hostenv.go

Loading diff…

internal/hostenv/write_linux_test.go

Loading diff…

internal/hostfiles/wake.go

Loading diff…

internal/hostfiles/wake_test.go

Loading diff…

internal/lease/ha.go

Loading diff…

internal/lease/ha_test.go

Loading diff…

internal/lease/haduty_test.go

Loading diff…

internal/lease/termination_binding_test.go

Loading diff…

internal/lease/termination_proof.go

Loading diff…

internal/lease/termination_proof_test.go

Loading diff…

internal/metrics/alert.go

Loading diff…

internal/metrics/alert_test.go

Loading diff…

internal/metrics/sample.go

Loading diff…

internal/objstore/termination_credentials_test.go

Loading diff…

internal/ops/flock_unix.go

Loading diff…

internal/ops/flock_windows.go

Loading diff…

internal/ops/litestream_memory.go

Loading diff…

internal/ops/ops.go

Loading diff…

internal/ops/ops_test.go

Loading diff…

internal/plans/catalog.go

Loading diff…

internal/plans/catalog_test.go

Loading diff…

internal/plans/team.go

Loading diff…

internal/plans/testdata/example-public-pricebook.json

Loading diff…

internal/provision/app_lists_census_test.go

Loading diff…

internal/provision/departure_inventory.go

Loading diff…

internal/provision/departure_inventory_test.go

Loading diff…

internal/provision/devbox_identity_census_test.go

Loading diff…

internal/provision/domains_buy_nosub_census_test.go

Loading diff…

internal/provision/hostsused.go

Loading diff…

internal/provision/instance_egress_sizes_census_test.go

Loading diff…

internal/provision/plan9_b8_census_test.go

Loading diff…

internal/provision/plans4d_census_test.go

Loading diff…

internal/provision/reconcile.go

Loading diff…

internal/provision/recordview.go

Loading diff…

internal/provision/recordview_store.go

Loading diff…

internal/provision/region_ha_departure_census_test.go

Loading diff…

internal/provision/sidecar_reconcile.go

Loading diff…

internal/provision/stateless_placement_census_test.go

Loading diff…

internal/provision/stateless_replicas_census_test.go

Loading diff…

internal/provision/testdata/plan14-root-reads-chain.tsv

Loading diff…

internal/provision/testdata/plan14-root-reads-design-pdf-service.tsv

Loading diff…

internal/provision/testdata/plan14-root-reads-devbox-identity.tsv

Loading diff…

internal/provision/testdata/plan14-root-reads-domain-registration-1.tsv

Loading diff…

internal/provision/testdata/plan14-root-reads-domains-buy-nosub.tsv

Loading diff…

internal/provision/testdata/plan14-root-reads-domains-check-country.tsv

Loading diff…

internal/provision/testdata/plan14-root-reads-domains-zone-credentials.tsv

Loading diff…

internal/provision/testdata/plan14-root-reads-edge-held-first-ping.tsv

Loading diff…

internal/provision/testdata/plan14-root-reads-edge-held-streams.tsv

Loading diff…

internal/provision/testdata/plan14-root-reads-edge-protect-hard-block.tsv

Loading diff…

internal/provision/testdata/plan14-root-reads-fleet-examined-519.tsv

Loading diff…

internal/provision/testdata/plan14-root-reads-ls284.tsv

Loading diff…

internal/provision/testdata/plan14-root-reads-region-ha-home-placement.tsv

Loading diff…

internal/provision/testdata/plan14-root-reads-region-ha-p1b3b-t.tsv

Loading diff…

internal/provision/testdata/plan14-root-reads-region-ha-placement-survivor.tsv

Loading diff…

internal/provision/testdata/plan14-root-reads-stateless-replicas-2.tsv

Loading diff…

internal/provision/testdata/plan14-root-reads-static-stream-extract.tsv

Loading diff…

internal/provision/testdata/plan14-root-reads-storedoor-stream-get.tsv

Loading diff…

internal/provision/testdata/plan14-root-reads-wake-storm-cap.tsv

Loading diff…

internal/registrar/boundary_test.go

Loading diff…

internal/registrar/openprovider/client.go

Loading diff…

internal/registrar/openprovider/client_test.go

Loading diff…

internal/registrar/openprovider/testdata/README.md

Loading diff…

internal/registrar/openprovider/testdata/balance.json

Loading diff…

internal/registrar/openprovider/testdata/check-reference.json

Loading diff…

internal/registrar/openprovider/testdata/check.json

Loading diff…

internal/registrar/openprovider/testdata/contact-create.json

Loading diff…

internal/registrar/openprovider/testdata/contact-get.json

Loading diff…

internal/registrar/openprovider/testdata/contact-update.json

Loading diff…

internal/registrar/openprovider/testdata/login.json

Loading diff…

internal/registrar/openprovider/testdata/lookup.json

Loading diff…

internal/registrar/openprovider/testdata/register.json

Loading diff…

internal/registrar/openprovider/testdata/taken.json

Loading diff…

internal/registrar/registrar.go

Loading diff…

internal/registrar/registrar_test.go

Loading diff…

internal/registrar/registrartest/fake.go

Loading diff…

internal/registry/claimreview_test.go

Loading diff…

internal/registry/forward_writers_test.go

Loading diff…

internal/registry/ha_adoption_phase_test.go

Loading diff…

internal/registry/ha_departures.go

Loading diff…

internal/registry/ha_duties.go

Loading diff…

internal/registry/ha_duties_test.go

Loading diff…

internal/registry/ha_identity_history.go

Loading diff…

internal/registry/ha_identity_history_test.go

Loading diff…

internal/registry/ha_journal.go

Loading diff…

internal/registry/ha_journal_test.go

Loading diff…

internal/registry/ha_scan.go

Loading diff…

internal/registry/ha_test.go

Loading diff…

internal/registry/hold_test.go

Loading diff…

internal/registry/importjournal_test.go

Loading diff…

internal/registry/registry.go

Loading diff…

internal/registry/registry_test.go

Loading diff…

internal/registry/remote.go

Loading diff…

internal/registry/remote_dispatch.go

Loading diff…

internal/registry/replicas_test.go

Loading diff…

internal/registry/timers.go

Loading diff…

internal/release/conditional_delete.go

Loading diff…

internal/release/conditional_delete_test.go

Loading diff…

internal/release/openers_test.go

Loading diff…

internal/release/qualified.go

Loading diff…

internal/release/store.go

Loading diff…

internal/release/system.go

Loading diff…

internal/rootaws/config.go

Loading diff…

internal/rootaws/config_test.go

Loading diff…

internal/schedule/cron.go

Loading diff…

internal/schedule/haduties_test.go

Loading diff…

internal/schedule/mingap.go

Loading diff…

internal/schedule/runner.go

Loading diff…

internal/schedule/spec.go

Loading diff…

internal/sim/engines/calls_test.go

Loading diff…

internal/sim/engines/classify_test.go

Loading diff…

internal/sim/engines/dedicated_test.go

Loading diff…

internal/sim/engines/edge_test.go

Loading diff…

internal/sim/engines/expected-outcomes.txt

Loading diff…

internal/sim/engines/invariants_test.go

Loading diff…

internal/sim/engines/launch_test.go

Loading diff…

internal/sim/engines/mutate.sh

Loading diff…

internal/sim/engines/rules_test.go

Loading diff…

internal/sim/engines/sim_test.go

Loading diff…

internal/sim/engines/witness_test.go

Loading diff…

internal/sim/engines/world_test.go

Loading diff…

internal/sim/regionha/duties_model_test.go

Loading diff…

internal/sim/regionha/duties_test.go

Loading diff…

internal/sim/regionha/duty_boundaries_test.go

Loading diff…

internal/sim/regionha/mutate-startup.sh

Loading diff…

internal/sim/regionha/mutate.sh

Loading diff…

internal/sim/regionha/mutation_evidence_test.go

Loading diff…

internal/sim/regionha/rules_test.go

Loading diff…

internal/sim/regionha/witness_test.go

Loading diff…

internal/sim/regionha/world_test.go

Loading diff…

internal/status/snapshot.go

Loading diff…

internal/status/snapshot_test.go

Loading diff…

internal/svcrole/svcrole.go

Loading diff…

internal/termfence/confirm.go

Loading diff…

internal/termfence/confirm_test.go

Loading diff…

internal/termfence/termination_proof.go

Loading diff…

internal/termfence/termination_proof_test.go

Loading diff…

internal/timerspec/cron.go

Loading diff…

internal/timerspec/mingap.go

Loading diff…

internal/timerspec/spec.go

Loading diff…

internal/tsidentity/whois.go

Loading diff…

internal/tsidentity/whois_test.go

Loading diff…

internal/zonehost/route53zones/route53.go

Loading diff…

internal/zonehost/route53zones/route53_test.go

Loading diff…

internal/zonehost/zonehost.go

Loading diff…

internal/zonehost/zonehost_test.go

Loading diff…

internal/zonehost/zonehosttest/fake.go

Loading diff…

run_cutover_witness_test.go

Loading diff…

system.go

Loading diff…

system_test.go

Loading diff…