oficina / equipo Public

docs: hosted slice 2 rulings record, dev drill planning rulings

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 3c066fa9918b2922f9ee6fa7777b9ec5487bc0c3 parent 7906bac
1 file changed, +12 −0
  • docs/superpowers/plans/HOSTED-SLICE2-RULINGS.md +12 −0

CI failed — run details

CI log
=== prepare ===
ci-box: machine: aarch64, 32 CPUs, 62 GiB memory, kernel 7.0.0-1017-aws
ci-box: python 3.12.3; Docker version 29.1.3, build 29.1.3-0ubuntu3~24.04.2
ci-box: user namespaces allowed: 233151
ci-box: cgroup: cgroup2fs
ci-box: disk /home/ci/work/repos/oficina__equipo/wt/hosted-runners-2: Type  Size Avail | ext4   96G   84G
ci-box: disk /home/ci/.cache/equipo-ci-box: Type  Size Avail | ext4   96G   84G
ci-box: bwrap: fetched and verified in 0.3s
ci-box: claude: fetched and verified in 1.5s
ci-box: codex: fetched and verified in 3.6s
ci-box: codex-code-mode-host: fetched and verified in 1.4s
ci-box: libwrap: fetched and verified in 0.3s
ci-box: socat: fetched and verified in 0.3s
ci-box: tofu: fetched and verified in 1.6s
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
ci-box: image pulled in 9.9s
ci-box: pi: installed and verified in 7.6s
ci-box: opencode: installed and verified in 2.3s
ci-box: chromium 156.0.8078.79-1~deb13u1: 76 packages fetched, verified and unpacked in 8.8s
ci-box: clone deepened in 5.5s
ci-box: file times set from content: 4066 files, 303 directories
ci-box: ready in 19.6s
=== copy ===
EQUIPO_RELEASE_COPY_CHECK=1 CGO_ENABLED=0 go test ./internal/equipotest -run '^TestReleaseCopyReviewed$' -count=1
--- FAIL: TestReleaseCopyReviewed (0.09s)
    task_pages_test.go:236: COPY REVIEW REQUIRED: copy-status.py verify found copy pending review or stale bookkeeping
FAIL
rastrillo-budget/v1 ran 88ms
FAIL	amadan.net/oficina/equipo/internal/equipotest	0.239s
FAIL
make: *** [Makefile:324: copy-release-check] Error 1

amadan: step copy failed: exit status 2

amadan: job failed at step copy — its output is above, not at the tail of this log
diff --git a/docs/superpowers/plans/HOSTED-SLICE2-RULINGS.md b/docs/superpowers/plans/HOSTED-SLICE2-RULINGS.md
index 1c867497..bbaa1290 100644
--- a/docs/superpowers/plans/HOSTED-SLICE2-RULINGS.md
+++ b/docs/superpowers/plans/HOSTED-SLICE2-RULINGS.md
@@ -71,3 +71,15 @@ Every ruling the controller made on Paul's behalf while building Tasks 1 to 33,
- Pins: ada99ffd (HostAMI ami-045c7b3c3ad6e4cc1 via one SSM read in kass; BaseImageVersion 4; 23 AL2023 RPMs; GitSHA256; resolver 169.254.169.253 to confirm in Task 34; bwrap/codex URLs stay empty, supplied via --image-inputs). Blockers found: pinned bwrap needs glibc 2.38 (AL2023 2.34); image scan 158 findings. Ruling: both are engineering; build bwrap 0.11.0 from pinned upstream source in a digest-pinned AL2023 container, reproducible, pinned for the hosted image only; resolve scan findings with narrow reviewed allowances; Astra reviews — cost if wrong: a later bwrap rebuild/pin change before Task 34.
- Image blockers: 801a3118 (bwrap 0.11.0 built from source on AL2023, 4 identical builds, hosted pin 1ebd5a3d; personal pin unchanged), 9b36915c (scan allowances bound to rule+bytes, 72 entries; runner findings are not secrets). Dry run assembles IMAGE_DIGEST sha256:e1cce421... Rulings: (a) pin python3 from the same AL2023 release (containment suite needs it); (b) delete /usr/local/go/src/**/testdata in the image (compilers never need it; removes the 2015 third-party AWS key fixture and its allowances) rather than ask Paul — cost if wrong: someone running go test std in the VM (never done); (c) fix plan3test budget overrun from 8ed317b6.
- Ruling (renumber, coordinator 2026-12-01): design-feedback-1 also took protocol 39 and migration 0125 and merges to main first, so hosted runners renumber: wire.ProtocolHostedRunners = Protocol40 (Protocol39 = 39 kept, declared as design-feedback-1 declares it); migrations 0125 to 0130 become 0126 to 0131 (0126_hosted_checks_setting, 0127_hosted_jobs, 0128_hosted_limits, 0129_hosted_job_deadline, 0130_hosted_job_admission, 0131_checkpoints); the Research floor is 40. Supersedes the protocol 39 and 0125-onward numbers in the rulings above — cost if wrong: a merge that leaves two protocols at 39 or two migrations at 0125.
+- Ruling: plan-check allows no-op actions on resources already in state during create phases (update/delete/replace still refused) — lets a partly applied root be completed, needed for production resumption — cost if wrong: a create phase could pass over drifted-but-unchanged resources (no-op means none).
+- Ruling: `cert bundle -empty` writes {"certificates":[]} for the withdrawn-certificate drill — no hand-written trust files — none.
+- Ruling: the four headless hosted scenarios (hosted-pass, hosted-fail, hosted-new-module, hosted-slow) are built on this branch before merge — the drill's prerequisite, owned by this work — cost: one more task before merge.
+- Task 34 plan Astra r1: CHANGES REQUESTED (4 Critical: unbounded spend after safe stop + teardown spend-gated; fallbacks swallow 99; unknown tagged resources pass verify-gone; VM-outside-step not enforced. 8 Important). Rulings: K1-K8 kit changes (kit-p34-brief.md); teardown pre-approved after any safe stop except identity/account failures; headless barrier contract to headless agent; plan rev 2 after.
+- Ruling (rev 2 Q1): image tags are set at create time and checked by verify-gone's tag cross-check; no tag read-back command — cost if wrong: a budget filter misses an image (dev only).
+- Ruling (rev 2 Q2): during the signing wait no hosted job runs; the controller's reaper (10 min) and the next step's settle are the backstop; no scanning watchdog — cost if wrong: an orphan VM runs up to 10 min unseen.
+- Ruling (rev 2 Q3): unconfirmed expected values (withdraw-cert jobs=2, step reasons, db query layout) are FINDINGs when they differ; only a kept result after a confirmed withdrawal is NOT PASSED — none.
+- Ruling (rev 2 Q4): unfence's one pre-approved repeat (fence, settle, unfence) on a 99 stays as the single exception to R2 — it moves toward safety; a second refusal stops — cost if wrong: one extra settle cycle.
+- Ruling (rev 3 Q1): kass's credential_process exports the carloku-staging profile, which holds static IAM user keys (no session expiry), so the unattended continuation's guard will not fail on lapsed credentials unless the keys are rotated mid-run — none.
+- Ruling (rev 3 Q2): verify-gone's bound stays the drafter's estimate (about 90 direct reads x 60 s) inside the 23 h continuation bound — cost if wrong: continuation stopped before verify-gone finishes; the run then waits for Paul with everything else torn down.
+- Ruling (r3, at cap): one after-cap fix, as Task 17b's R45 — kit K12 (ops block --max D: deadline on the command context, tofu killed and reconciled on expiry, exit 1; unit start --max sets RuntimeMaxSec) and K13 (controller reboot --not-after T enforced after its preliminary reads, immediately before dispatch; journal REBOOT-SENT with AWS's acknowledgement time), then plan fixes for 1, 2, 10, 14, 15; controller checks the diff; Paul told it is not Astra-reviewed, with the option of one scoped Astra round — cost if wrong: a defect in the unreviewed diff surfaces in the live run (safety stops still hold).
+- Plan rev 3.1: 539b63d3. Teardown steps with retries 21 h 28 min inside 23 h; hosts gone within 7 h 12 min of a trigger (~$0.44); worst estimate $32.77. Ruling: move the one teardown retry from connector delete to 8.3a (terminate+unfence) — a stall there keeps billable hosts up, a stuck connector only leaves non-billing network pieces — cost if wrong: a connector stall waits for Paul.