hosted slice 2: shorten budget records to the measured value
TestBudgetRecordsAreShort failed on ten records the branch added or grew (hostedrun, hostedtest, internal/equipo, wire, linuxworker, thin, chat, thintest, hostedctl, hostedops): each had grown a per-task history past the 200-byte reason or 500-byte record limit. Each now keeps its limits unchanged, the measured value (checked with wc -l against the size records) and a short why. The task history stays in HOSTED-SLICE2-PROGRESS.md.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+10
−10
.rastrillo/budgets.txt+10 −10
diff --git a/.rastrillo/budgets.txt b/.rastrillo/budgets.txt| index 155d20ae..e290e9f2 100644 |
| --- a/.rastrillo/budgets.txt |
| +++ b/.rastrillo/budgets.txt |
| @@ -13,11 +13,11 @@ size internal/equipo/team 9396 - Coordinator period accounting, fenced delivery |
| perf GET /* skip Unknown private paths render 404; this fallback contains no screens. |
| time internal/equipo/team 60s Plan 3 loaded CI measured 45.985s; niced serial reruns measured 18.079s and 22.031s. Keep migration, recovery, accounting and concurrency assertions; 60s leaves 30 percent headroom above loaded CI. |
| time internal/equipotest 300s Final fix package rerun measured 187.035s (review 172.4s); 300s gives 60 percent headroom for HTTP, sandbox, authority and final regression coverage. |
| -time internal/equipo/hostedrun 60s Hosted slice 2 Task 21: TestDispatcherSimulation runs 200 seeds of the real chat store (SQLite) and dispatcher against a fake controller, with unlinked VMs that run to their 90-minute lifetime since review round 1, and one test drives the real controller over TLS for 90 simulated minutes; about 35 s of CPU in parallel subtests; measured 14 s on a 16 CPU docs-t1 under load 2.4; 60s covers a loaded 4 CPU runner. |
| -time internal/hostedtest 300s Hosted slice 2 Task 30 (build tag hostedchain, make hosted-chain-test, its own CI lane): the whole hosted chain in one process (instance, controller, two proxies, a primary) and a real equipo-runner per VM, built at TestMain, its checks in real bubblewrap; eight tests, the drills waiting out gates, stop proofs and retried VMs; measured 128s on a 16 CPU docs-t1 under load 84; 300s covers a loaded CI runner. |
| +time internal/equipo/hostedrun 60s Hosted slice 2: a 200-seed dispatcher simulation on the real chat store and the real controller over TLS; measured 14s on a loaded 16 CPU box; 60s covers a 4 CPU runner. |
| +time internal/hostedtest 300s Hosted slice 2 chain (tag hostedchain, own CI lane): instance, controller, proxies and a real runner per VM in bubblewrap, eight tests; measured 128s under load 84. |
| -size internal/equipo 25562 9338 Preview, retry, merges, kept work, check-db, notifications, places, GitHub routes, installer, abilities, lookups, Mac waits, slice F codes, D1, probe details, Design's copy, /api/team; measured 24735. Hosted slice 2 Task 15 review 1: work.reason.pack_incomplete (pending); 24736. Task 17: work.reason.deps_conflict, deps_new_module, deps_missing, deps_too_large and token_renewal_failed (pending); 24741. Task 18: the owner setting "Run checks in a hosted VM" (config flag, routes, section, handler, four pending keys); 24825. Its review round 1: chatMe reports a roster denial as chat.ErrForbidden too (chatDenied); 24837. Task 21: the hosted dispatcher started only with EQUIPO_HOSTED_RUNNERS=1, execution on and a controller configured (EQUIPO_HOSTED_* config, RevokeRunner wiring), and the work.reason words for hosted_enrol_timeout, hosted_vm_lost and hosted_unavailable (pending); 24867. Task 22: hosted_enrol.go, a hosted VM's enrolment (POST /api/hosted/enrol) and its runner's challenge and renewal under /api/runner/v2 (the store methods over the runner and credential rows, the handlers, the routes only with EQUIPO_HOSTED_RUNNERS=1 and an admission reader), and mintRunnerCredential's lifetime and cap; 25248. Its tests (hosted_enrol_test.go: the routes through the whole application, and the runner's hosted.Start end to end through the test proxy) drive the unexported store, router and admission reader, so they live beside them and take the directory past the 8000-line test default; measured 8563 test lines. Task 22 review 1: the controller's deadline in the credential cap, and tests for a stale admission after a newer refusal, the first sighting and its window, code single use alone and the controller's deadline; 25256/8669. Review 2: a renewal reads the controller's admission record first, outside the transaction, and is capped by its current deadline; its tests (a deadline moved earlier after launch, the controller away or without a record); 25304/8724. Review 3: enrolment tests for a deadline moved earlier before enrolment and one already passed; 25304/8741. Task 25: what the person sees of hosted work: the checks line and timeline for a hosted wait and for each hosted limit (hostedWaitLine), the hosted reasons' words on the checks line and the merge decision, the Usage page's Hosted machines block (unknown, never zero, when unread), the owner's per-person limit editor (form, parsing, save route, the members it lists) and nineteen pending keys; hosted_views_test.go drives the store through the production wiring; 25478/9069. Task 25 review round 1: the limit save keeps a stored figure submitted as shown (hostedLimitsFrom), refuses limits below one checks run in their own words (hosted.limits.too_low), and handler tests for the Usage block and the save (flag, unknown totals, session actor, target, revision, member); 25524/9235. Task 26: runner_update_needed waits for the runner's update on the pause line (tooOld) and its pending work.reason words; 25525/9235. Task 27: checkpoint_key.go, a runner's machine public key for pack receipts (chat.Authority.RunnerMachineKey: runner rows keep only the key's hash, so the key comes from the runner's exchanged enrolment and must hash to it), wired in chat_wiring.go, and checkpoint_key_test.go; 25562/9312. Task 27 review 1: an enrolment whose stored hash matches the runner beside another key's bytes; 25562/9319. Task 30 review 1: hosted_enrol_test.go keeps the admission record fresh across its long clock moves (hostedRig.pass), as the dispatcher does, now that a record the feed's lifetime old loses its job; 25562/9338. |
| -size internal/wire 9962 - Protocols 31 to 35 (facts, diffs, evidence, CI units, files, places), abilities, 36 lookups, 37 Mac Engineering, 38 Design, unproven and probe detail codes, 39 hosted runners (hosted.go: placement, hosted_pack and deps transfer limits, enrolment types); measured 9848. Task 15 opened TransferHeader.Valid to hosted_pack (inbound, base then candidate) and added ReasonPackIncomplete; 9860. Its review round 1 registered it in StepReasons; 9862. Task 17: the hosted worker's reasons (deps_conflict, deps_new_module, deps_missing, deps_too_large, token_renewal_failed) registered in StepReasons, and TransferHeader.Valid opened to deps with the hosted_pack rules (the worker accepts the bundle; Task 23 sends it); 9884. Task 21: ReasonHostedEnrolTimeout, ReasonHostedVMLost and ReasonHostedUnavailable, registered in StepReasons; 9899. Task 23: SendPackCommand.Deps, refused below ProtocolHostedRunners; 9902. Task 26: ReasonRunnerUpdateNeeded registered in StepReasons, and ProtocolHostedRunners documented as marking Research's quoting; 9912. Task 27: checkpoint.go, the Checkpoint and PackReceipt types slice 4 sends, the notes bounds, ValidPackDigest and PackReceiptMessage (the receipt's domain-separated signed message); no frame; 9962. |
| +size internal/equipo 25562 9338 Design's copy, /api/team; hosted slice 2: placement, enrolment, pack receipts' machine key, pending hosted copy keys; measured 25562/9338. |
| +size internal/wire 9962 - Protocols 31 to 38 (facts, diffs, evidence, CI units, files, places, lookups, Mac, Design); 39 hosted runners: placement, packs, deps, checkpoints; measured 9962. |
| size internal/equipotest - 12693 GitHub connect value search, lifecycle and sweep-log contracts; Task 21 migration fixtures, Rastrillo asset contract, renderer archive link; measured 0/12693 source/test lines. |
| time internal/runner/checks 90s CI worker measured 44.553s (44.6s rounded); |
| time internal/runner 330s Plan 3 CI repair measured 292.120s for the full package (controller CI 472.184s). |
| @@ -41,8 +41,8 @@ time internal/runner/provider 15s Plan 3 CI repair measured 10.346s for the full |
| perf GET /releases/* skip Verified runner release file downloads, not browser GET screens. |
| perf GET /install.sh skip Mac runners: the one-line bootstrap a terminal pipes to sh, not a browser screen. |
| time internal/runner/containment 15s Plan 3 loaded CI measured 10.817s; |
| -time internal/runner/linuxworker 30s Hosted slice 2 Task 17: each test starts real bubblewrap namespaces through the containment manager over real git stores (base gates, pins, restart and cancel proof, offline, staged cache, six dependency outcomes); measured 11.6 to 14.5s on a loaded docs-t1; review round 1 tests: 15 to 23s under load. |
| -size internal/runner/thin 36191 36426 Protocols 31-35, merge credential, publication guards, kept work, scans, 36 lookups; Mac pin, Engineering, asks, F probes, D1, P2, held reports; 38 Design step, renderer; hosted slice 2 Task 11 moved the base-gate checks to checkrun (source down) and pinned the primary and Mac behaviour with tests (test up), and its round 1 fixes added the worker step-engine wiring test; Task 12 added Link.TokenSource and Link.HTTPClient (a hosted runner's bearer is read at each dial and its dial goes through the proxy) and their two tests; 35831/35453. Task 14 review round 1 added Link.ReconnectWait (the wait between connections, a fake clock's in the hosted renewal tests, which drive the real Link through certificate rotation and bearer renewal); 35839/35453. Task 15: the hosted pack (inboundHeader selects by attempt and kind, Worker.Hosted indexes the base and the candidate into an empty store, pack_incomplete) and hosted_pack_test.go; 35863/35688. Task 17 wiring for the Linux checks worker (hosted_worker.go): Options.Hosted (HostedLink: the session's in-memory credential, proxy client, Work context, Flush on a failed renewal and token_renewal_failed), WorkerKind.Checks and Probe, runHosted, the Linux worker refusal outside hosted-run, the hand-off of an indexed hosted attempt and its deps bundle to the kind's checks, the receiver's per-kind transfer limits; its two tests; 36073/35768. Review round 1: the deps header checked before the wait, and TestDepsPackPerKindLimits (the receiver past the old 64 MiB and chunk limits); 36076/35824. Review round 2: TestPrimaryChecksCancelledChangedGate (a certified changed-gate run cancelled in its base run ends cancelled, no diagnostic); 36076/35882. Task 23: the primary's dependency bundle (Relay.deps after every pack, Engineer.depsBundle from the clone's trees and its module cache, a deps request refused unless it is exactly one), per-kind limits and a dataless oversize declaration in queueUpload; the relay_test.go tests, the 100 MiB end-to-end relay through the instance's store included; 36173/36353. Task 23 review 1: depsBundle's comment says the worker ends a malformed go.mod's empty bundle cannot_run; 36174/36353. Task 26: Research's prompt quotes every untrusted value under its source's label (pageTitle splits a page's title from its text), and research_quote_test.go; 36191/36426. |
| +time internal/runner/linuxworker 30s Hosted slice 2: each test runs real bubblewrap namespaces over real git stores; measured 11.6 to 14.5s on a loaded box, 15 to 23s under heavier load. |
| +size internal/runner/thin 36191 36426 Protocols 31-35, 36 lookups, Mac, F probes, D1, P2, 38 Design; hosted slice 2: base gates moved to checkrun, hosted worker, deps relay, Research quoting; 36191/36426. |
| time internal/thintest 240s Thin contract and page tests, the Assistant's and the models' included, share one harness. Measured 202s on a shared 16 CPU box (2026-11-13); CI runs two lanes. |
| time internal/runner/mac 45s Real processes killed and proven gone: groups, sessions, the runner-user sweep, turns, restarts; probes end to end. Measured 29.3s locally. |
| time internal/runner/thin 45s Thin v1 slice 4 review: real git repositories for the merge and squash checks, a stalled fetch, and a 16 MiB candidate streamed through the review diff and the checks pack (about 5s). |
| @@ -61,7 +61,7 @@ perf GET /api/v1/assistant/snapshot skip Assistant person API: bearer-only JSON |
| perf GET /api/v1/assistant/messages skip Assistant person API: bearer-only JSON for Base's chat, not a browser screen. |
| perf GET /api/v1/assistant/events skip Assistant event stream (Server-Sent Events), bearer-only and long-lived; not a screen. |
| perf GET /api/v1/assistant/abilities skip Assistant person API: bearer-only JSON for Base's Settings line, not a browser screen. |
| -size internal/equipo/chat 47593 22648 File facts/diffs, previews, merges, unfinished work, CI, receipts, Assistant files, places, abilities, lookups, go-aheads, Mac work, D1, Design specialists, grants, captures; 45093/18782. Hosted slice 2 Task 15: openHostedPack (the instance's send_pack for a hosted pack) and its test; 45105/18883. Its review round 1 added the report-ingestion test for pack_incomplete; 45105/18911. Task 18: hosted_setting.go (SetHostedChecks, hostedChecks, HostedSettings; owner only, roster in the transaction, audited) and its tests; 45208/19070. Its review round 1: the audit atomicity test; 45208/19113. Task 19: hosted_jobs.go (the hosted_jobs and hosted_challenges tables, HostedJob and its lifecycle: newHostedJob, the listed moves only, ended and failed only with stop proof or never-launched evidence, settleHostedJob once, hostedJobForRunner; each move audited in its transaction) and its tests, TestMigrationAdditive included; 45658/19577. Its review round 1: the never-launched evidence contract (HostedNeverLaunched, launch_by and launching_since, hostedLaunchReturned) and tests for it, settlement of unproven terminal records and audit atomicity; 45728/19739. Task 20: hosted_limits.go (per-person hosted limits, S2-9: hostedAdmit held in the write by a per-person lock row, hostedHoldFor, Allocate, hostedSettle at 4x the baseline, SetHostedLimits owner only with the roster, revision and audit in the transaction) and its tests; 46013/20214. Its coordinator ruling: a limit counts only while its setting owner is a current owner (defaults otherwise, checked in the admission transaction) and TestOwnerRaisesLimitRevoked; 46022/20284. Its review round 1: Allocate returns nothing for an empty or reversed span before widening, and its assertions; 46025/20290. Hosted slice 2 Task 21: placement on hosted VMs (placeHosted before the checks early return, its five rules), the bound runner's fits, Authorize by job identity, the hosted offline rule and withdrawal exemption, the hosted pack at dispatch, the step-terminal hook, and the dispatcher's store methods (HostedLive, HostedSweep, HostedLaunching with relaunch, HostedLaunched, HostedAdmitted, HostedFailed, HostedStopped, HostedNeverLaunched, HostedReplaces, PlaceHosted; end, settle, revoke, step moved on) in hosted_run.go, and hosted_place_test.go; 46665/20804. Task 21 review round 1: abandoned-intent evidence waits for the job's lifetime, the job keeps its lifetime and first running sight, admission takes the placing transaction's step attempt, provider-valid attempt IDs, HostedRunning, and the Retry, replacement-runner, cancelled-task and stopping-VM tests; 46709/20937. Its review round 2: TestHostedReplacesNeedsProof; 46709/20971. Task 22: hosted_enrol.go (the enrolment and renewal store steps inside the instance's write transaction: HostedClaimCode, HostedEnrolAdmit, HostedEnrolBind, HostedRunnerJob, HostedNewChallenge, HostedUseChallenge; hostedAdmitted shared with HostedAdmitted); its tests drive it through the instance's routes (internal/equipo); 46848/20971. Its review round 1: hostedAdmitted reports whether the record was kept, the enrolment records the first sighting and applies the window from it, and the launch view's deadline is kept (hosted_jobs.deadline, earliest wins); 46903/20971. Its review round 2: an admission record's current deadline is kept too (hostedAdmitted, for the dispatcher's refresh and the renewal's HostedRenewAdmit); 46932/20971. Round 3: HostedEnrolAdmit returns the job re-read after recording the admission, so the enrolment caps by its deadline; 46937/20971. Task 23: openHostedPack opens the deps bundle after the hosted pack (send_pack with Deps), the instance's chunk and byte checks per kind (wire.MaxChunks, wire.MaxBytes), deps_too_large for a bundle past its limit, and a hosted attempt's pack and bundle closed when its checks end; hosted_deps_test.go; 46957/21199. Task 24: hosted_results.go (hostedCertified, AdmissionFresh: a hosted worker's checks count as sandboxed and its base checks as trusted only through the job's fresh, valid admission record, never its hello; an uncertified hosted result is not kept, its job stops and the step goes again once; deps_new_module and deps_missing presented as needs_network), stepReport and acceptBaseChecks wired to it, the admission kept whole and the enrolment image (0129), and hosted_results_test.go; 47094/21522. Task 24 review round 1: the certification decision moved before any terminal checks report from a worker (done, failed, unsolicited cancelled, the early failure branches), the person's cancellation kept, and tests for those, a wrong step, a stopping job and each admission identity substitution; 47096/21714. Task 24 review round 2: hostedSettleCancel (under the person's cancellation or an ended task, an uncertified hosted runner's report settles only its termination, with no checks evidence, taint or retry) and TestHostedUncertifiedCancelRace; 47123/21758. Task 25: HostedUsage (a person's running jobs and this UTC day's and month's held or used figures, errors returned) and HostedLimitList (owner only, the roster in the transaction) in usage.go, with hostedCounted shared with hostedAdmit; 47210/21758. Task 25 review round 1: HostedMinLimits and ErrHostedLimitTooLow (SetHostedLimits refuses limits that could never admit one checks job) and hosted_limits_floor_test.go (the floor, and each limit chip's promise through admission); 47224/21852. Task 26: protocol_floor.go (Research placed and started only at ProtocolHostedRunners, runner_update_needed, rechecked at Authorize) and protocol_floor_test.go; 47304/21967. Task 26 review 1: the Research floor before the legacy protocol 13 check, and the reconnect fence's runner_update_needed for a step not started (a protocol 12 placement case, TestResearchFencedAtReconnect); 47301/21998. Task 27: checkpoint.go (AcknowledgeCheckpoint binds a hosted runner's checkpoint to its job's recorded task, repository, base, candidate, attempt and launch, needs the current primary's signed pack receipt, recomputes the notes digest and stores it immutably; RenderResume renders only from the acknowledgement's ID, each note JSON-quoted), Authority.RunnerMachineKey, the checkpoints model, and checkpoint_test.go; 47548/22421. Task 27 review 1: TestAckImmutable alters each digest-bound stored field separately; 47548/22440. Task 30 review 1: the feed-lost latch (decision S2-3): HostedFeedLost and feedLost, an enrolled job whose latest admission record is the feed's lifetime old takes no new record, renews nothing and fails hosted_unavailable, also when its result arrives first; hosted_feedlost_test.go; 47573/22524. Task 32 fix wave (whole-branch review finding 1, M8): a hosted runner's start (Authorize) and its step's placement on the VM need the job's admission to hold now, as certification does (hostedAdmissionHolds shared with hostedCertified), and its deadline ahead (hostedStartAdmitted); hosted_start_test.go (withdrawn, stale, mismatched records, a passed or unknown deadline) and the placement rig's enrolment through HostedEnrolAdmit; 47593/22648. |
| +size internal/equipo/chat 47593 22648 Facts, diffs, previews, merges, CI, places, lookups, Mac, D1, Design, grants; hosted slice 2: hosted packs, admission and feed checks, placement; 47593/22648. |
| perf GET /api/v1/questions/{id} skip Thin v1 person API: bearer-only JSON for devices; the browser reads questions on /tasks/{id}. |
| perf GET /api/v1/steps/{id}/log skip Thin v1 person API: bearer-only JSON for devices; the browser shows the log tail on /tasks/{id}. |
| perf GET /api/v1/connections/preference skip Connections slice 1 person API: bearer-only JSON for devices; the browser shows the preference on /conversation/connections. |
| @@ -76,7 +76,7 @@ perf GET /tasks/{id}/files/{file} skip Research kept images: the bytes of one im |
| perf GET /api/v1/runners skip Mac runners person API: bearer-only JSON for devices; the browser shows runners in the Team section. |
| time cmd/equipo-runner 60s TestReleaseRunnerHasNoFakeWorker builds the release runner and the thin package under testbuild (about 12s locally). |
| size internal/headless - 13400 Grant scenarios (#48); sign-in email at 1280 and 390; Assistant files; restart wait; live site waits; card answer; scenario 7; Mac M9, mixed versions; 13400. |
| -size internal/thintest - 42663 Protocol 31 contracts, 35 diffs, stuck tasks, merges, retries, unfinished work, previews, places, abilities, lookups, go-aheads, Mac Engineering, conns, D1, held reports, Design end to end; 42650. Task 26: TestMixedVersionsMeteredAndResearch gains a protocol 39 row (Research at 13 now ends runner_update_needed); 42662. Task 26 review 1: three older-primary Research contracts expect runner_update_needed; 42663. |
| +size internal/thintest - 42663 Protocol 31 to 38 contracts, Design end to end; hosted slice 2 Task 26: protocol 39 rows, older primaries' Research ends runner_update_needed; 42663. |
| perf GET /api/v1/projects/{id}/merge-policy skip Merge authority person API: bearer-only JSON for devices; the browser reads the policy on /projects/{id}. |
| perf GET /api/v1/usage skip Thin v1 person API: bearer-only JSON for devices; the browser reads usage through /usage. |
| @@ -87,5 +87,5 @@ perf GET /native/preview/exchange skip Rejects GET with 404; only a same-origin, |
| # branch uses an indexed primary-key lookup, one current-member/device check, |
| # and the same bounded cardView as the snapshot; no list scan or new route. |
| perf GET /api/v1/tasks/{id}/changes/diff skip Device-only bounded display patch JSON: indexed step/attempt lookup, 64 KiB patch and 128 KiB response, no Git or network work at read time; not an HTML screen. |
| -size internal/hostedctl 6079 10017 Hosted controller core plus its lifecycle simulation; split planned for slice 1b; measured 5313/8516 source/test lines after the Task 17 pre-flight review rounds (R36, R38 ref checks); slice 2 Task 2 wires the egress manifest snapshot and LaunchRequest.Validate into Launch (logic in ctlegress), and maps ErrServiceUnset to 503 service_unset; measured 5341/8729; slice 2 Task 3 replaces Config.Images with the certificate set (logic in hostedcert and ctlcert), keeps the certificate digest and launch-by time on each intent, enforces launch-by before saving and before every provider call (it gates the dispatch path, so it stays here), and adds the admission record and route; measured 5444/9119; Task 3 review round 1 returns ErrLaunchExpired to a Launch whose own intent expired during dispatch (binding certificates to provider image versions is in ctlcert); measured 5462/9279; round 2 reports the launch-by time whichever abandonment reason is given; measured 5465/9325; slice 2 Task 4 wires the proxy client CA and feed (logic in ctlproxy): the three proxy routes and their transaction (proxy.go), the proxy role, Config.ProxyCA, the BootstrapV2 launch payload with its proxy code minted at intent save, revocation on stop, proof and resume, the code window opened by the first running sighting, the silent-proxy check in the reaper pass and its metric; measured 5662/9340. Task 4 review round 1: the proxy code is derived (HMAC key in Config, stripped from the saved bootstrap, derived again at each provider call; a changed key abandons the intent), and silence alerts are delivered from the store; measured 5689/9355. Slice 2 Task 5 wires the operator routes (ops.go: certification launch, certificate list, reload, restart, alert test, status; candidates, reload and the certification attempt are in ctlops): Launch and CertLaunch share one launch path, a certification intent is gated at dispatch by its image still being a candidate, the restart hook answers 202, and the reaper keeps its last clean pass for the status; operator_test.go is the brief's; measured 5939/9749. Task 5 review round 1: the reload fetches through an injected Deps.Fetcher first (ctlops.FetchAndReload; the S3 fetcher is in the command), the status reads the audit under one lock, and operator_test.go gains a fake config bucket and the fetch, failure and snapshot tests; measured 5954/9907. Slice 2 Task 13 wires certification reports (logic in ctlcert/report.go and hostedcert): the cert-report proxy route, its transaction and the controller's own stop of the reported VM (proxy.go), the operator evidence route, the proxy header check and two error codes (http.go), the Handler's signing key kept for evidence (controller.go), the stop reason, and schema version 5; measured 6022/9907. Task 13 review round 1: the report's stop is recorded in the transaction that keeps its evidence (recordStop, split out of requestStop so both share it) and driven on a context the request's end does not cancel; measured 6037/9907. Round 2: the stop rule moves to schema version 6 (the migration list line wraps) with TestUpgradeFromVersion5 upgrading a database made at bec02feb; measured 6038/9990. Round 3: the upgrade test also starts from a116d330's version 5; measured 6038/9996. Task 21 ruling: Get and Admission answer a signed 404 absent for an attempt with no record at all (ErrAbsent), keeping the 403 for another key's attempt, and the tests that pin it; measured 6049/10016. Task 22 review 2: Admission answers the job's current deadline (DeadlineInMS, counted from the answer) so the instance caps hosted credentials by a deadline moved earlier after launch, and its assertion; measured 6050/10017. Task 29: healthz.go, the metrics listener's GET /healthz (Controller.Healthz, a store read; the command mounts it beside /metrics and the API has no such route); wiring only, the CloudWatch publisher and Litestream lag live in the command; measured 6079/10017. |
| -size internal/hostedops 6960 - Hosted slice 2 Task 33: equipo-hosted-ops, the dev drill's and production bring-up's run kit; every subcommand the account plan uses (ledger, guard, estimate, VM settlement, connector, buckets, singletons, units, block and safe stop, tf and its reconcile, tfvars, named assertions, report and bundle) shares one journal and one Ops, so it is one package; measured 5499. Task 33 fix round 1 (Astra t33-r1 F1 to F18): the wait-human watchdog unit, unit wait into safe-stop, safe-stop's own context and unit, creation identity on intents, verify-gone's declared parents, fence by identity, MFA policy evaluation, connector identity, the release AMI, litestream-install, import-block adoption, decoded trail records, usage errors and the unit probe; 6258. Fix round 2 (t33-r2 N1 to N6): the one recovery unit and its lock, cgroup membership, identity lookups that prove absence only under the recorded parent, settlement after a second fence, IAM action matching, launches bound at their intent, and adoption through a checked import plan rebuilt from durable records; 6575. After-cap fix (t33-r3): the unit wrapper keeping INVOCATION_ID, recovery only inside its unit, joining a start collision, contained types for deleted-parent inference, the group usage line; 6610. Task 32 fix wave (whole-branch review): the fence lifecycle (unfence.go: ops unfence with its proofs and read-back, ops controller terminate, the services destroy refused while deny_launches is attached, controllerHosts shared with fence), ops controller reboot for controller/env, PRE-RUN VPC and gateway facts from the inventory, guard -print-role and tfvars through the manifest host check; 6955. |
| +size internal/hostedctl 6079 10017 Hosted controller core and its lifecycle simulation; split planned for slice 1b; slice 2: egress snapshot, admission, deadlines, healthz; measured 6079/10017. |
| +size internal/hostedops 6960 - Hosted slice 2 Task 33: equipo-hosted-ops, one journal and one Ops shared by every run kit subcommand, so one package; measured 6955. |