0
0
plan 0040: decisions 61, 62; State and .plans.yaml current
docs/plans/0040-release-pipeline.md+25−7
| @@ -3,7 +3,7 @@ | ||
Status: the only plan in flight (owner, 2026-11-17); docs/plans/0001-0039 and NEXT.yaml are history. How to run, hold | ||
and debug CI by hand: `docs/ci-debug.md`. The state before this work: main e39097c2 (2026-11-12). | ||
| ||
State (2026-11-19 17:30Z; updated by the lead): | ||
State (2026-11-20 03:30Z; updated by the lead): | ||
| ||
- Main: CI in series on four home bidders (decision 43), the fixes of promote 11's cycle, the kcp docs, the site | ||
from the repo (`site/`), the protocol docs. | ||
| @@ -15,12 +15,23 @@ State (2026-11-19 17:30Z; updated by the lead): | ||
- ROLLS: promote 10 (rc186) GREEN: stable v0.0.0 = main 688c2105. Promotes 11 (db33c9ff) and 12 (a7dab399) RED, | ||
rolled back to rc186. Two consecutive greens are still owed. One code change per cycle; a cycle is about 3 h 15 | ||
min as measured (release 22 min, test 104 min + stand-up, promote 65 min). | ||
- In work: the three prod failures of a7dab399 from their artifacts and a sweep of reads tried once (agent); | ||
`rc-cap` (bidder reservations per accept; fourth review); `rc-pins` (self-update keeps guest downloads; proven by | ||
hand; entry 0007:upgrade makes staging 44); `rc-writes` (webrtc ingress offer; third review). | ||
- Owner asks of 11-19 (decisions 46-49), each on its own agent: the site and /fancy/ in the console's terminal | ||
style; a DigitalOcean bidder in today's architecture; association-mode examples in the docs; `run request` flags | ||
before `--exec --`. | ||
- No CI cycle since promote 12. Next cycle = ONE batch (decision 56), run out of band first (51), then one pull; | ||
the roll after it is the help text change. Batch, with state: | ||
- `rc-reads` (the three prod failures of a7dab399, reads tried once, the nftables rule of decision 54): hand | ||
proofs running. | ||
- `ci-no-john` 5cd2f394 (prod gate as bob and alice, GATE_VMS=6; decision 57): ready. | ||
- `secrets` (decisions 52, 61): review NOT SAFE (new agent under an old requester seals at once; exit 0 on a | ||
Failed contract; restart fails a Held contract; test asserts): in rework; then getSecrets over iroh or WebRTC. | ||
- `cli-args` (decisions 49, 60): review NOT SAFE (guest requester script and 0013:b still old form; prod bidder | ||
drop-ins `-- --atproto-oauth-qr` would loop on exit 2): in rework; bidders move to `identity.mode` in the spec | ||
file before the roll. | ||
- `lexicons-fix` (decision 58): in work. | ||
- If reviewed and proven in time: `rc-cap` (review five owed), `rc-pins` (clean run of 0007:upgrade owed), | ||
`rc-writes` (review three owed). Else after roll two. | ||
- Landed without CI (docs, site): the site from `site/` with `/install.sh`, white pages, build-time highlighting, | ||
the lexicon and XRPC reference, lexicon tables and glossary generated from `lexicons/`; the flow map; plan 0053 | ||
(rename to `computer.socialweb.*` and `goat lex publish`, after Done when; decision 59). | ||
- Not in the batch: the DigitalOcean bidder (decision 47; built, not deployed; the owner rotates the OAuth secret). | ||
- Open, no fix yet: the guest's own release step exits 1 every time (0005); a stable build's version string holds | ||
`-rc`; 0001:run's second node that never joined (11-18); the trace's code findings (findings). | ||
- Compute: prod is hat-7, hat-8, hat-9, hat-10. The DigitalOcean OAuth client secret that sat in the old site's web | ||
| @@ -551,6 +562,13 @@ All answered 2026-11-17. | ||
60. (2026-11-19) "Ya i want the CLI layout and secrets inside the two rolls": the batch for roll one carries the | ||
`cli-args` and `secrets` branches (after their review fixes and hand proofs) with the prod fixes, the nftables | ||
rule and `ci-no-john`; prod bidders move off the `-- --atproto-oauth-qr` drop-in before that roll. | ||
61. (2026-11-19) "well direct is probably over iroh or webrtc now": it is not (getSecrets is https to the requester | ||
ingress; on prod the ingress relay ends TLS). Asked, the owner chose "Inside the two rolls": getSecrets is | ||
reached over the iroh or WebRTC peer transport, in the roll-one batch (`secrets` branch). | ||
62. (2026-11-19) "land all our in flight stuff on main so we have no more stray branches. then resume work on two | ||
clean rolls": every in-flight branch (rc-reads, ci-no-john, secrets, cli-args, lexicons-fix, rc-cap, rc-pins, | ||
rc-writes, do-bidder, docs-assoc) lands in the batch, each reviewed and run out of band first; merged and dead | ||
branches on `swc` are deleted; then the two rolls. | ||
.plans.yaml+4−4
| @@ -27,8 +27,8 @@ plans: | ||
waits_on: "steps 0-20" | ||
docs: | ||
target: "the docs checker and the pins check in the gate (steps 17, 20); docs and examples themselves moved to plan 0041 (owner decision 33)" | ||
now: "steps 17 and 20 built on branch step-17 (check-docs.sh, check-pins-records.sh in deploy/check.sh, --fast green on hat-8); 0 run=gate blocks tagged in kcp docs yet (step 19)" | ||
log: "none yet" | ||
waits_on: "step 17" | ||
now: "on main: check-docs.sh and the pins check in deploy/check.sh; 3 run=gate blocks run and pass (check-docs.sh: ok 5 docs, 2026-11-20)" | ||
log: "bash scripts/check-docs.sh" | ||
waits_on: "the two rolls" | ||
status: "steps 0-5 done (promote asked-only; promote.sh --dry-run rehearsed on the release image on main de0b91ee; hand builds to local/, rehearsed: publish+verify local/de0b91ee, ci-staging-binary local:); prod on rc174; no stable" | ||
next: "09:55Z 2026-11-18: hand cycle 3 (phase-2 ee47b96f, net stg-858064, results ~/.tmp/ci-hand/seen-results3.txt, log ~/.tmp/ci-hand/cycle3-ee47b96f.log) at 28 PASS 9 FAIL, 6 to run; after its gate line the net is held ~2 h (freeze 7200 s). FAILs and fixes (all on phase-2 unless said): 0001:run + 0002:run vault trust (merged, sign-in SEEN); 0001:s2 invalid_dpop_proof (branch phase-2-fix-dpop, staged on the VM, NOT reviewed/merged: review first, DPoP validation must not be weakened); 0005:b request.records (merged); 0009:run page fetch (branches phase-2-fix-page + requester page-staging, cause not yet reported); 0011:token (merged, SEEN by hand); 0014:exhausted/giveup disk: bidder state on reflink XFS (merged, probe only); 0015:pressure module mt (merged). After the gate ends: agents rerun their entries by hand ONE AT A TIME (the net has TWO guest slots: no hand rentals under a gate); then merge dpop + page fixes; then hand cycle 4 from a fresh stand-up (proves the XFS fix) with the CI page payload (branch phase-2-ci-page: ci-page.sh, ci-test.sh fetch, input gateJobs 3 freezeTtl 5) = study ~/.tmp/ci-gap/REPORT.md order D. promote.sh is broken vs gate.sh (step 11). Owner decisions waiting: QR backend token limit; redeploy qr.fedfork.com (scope); vault plugin guard (zoned IPv6) in proposed-controls; staging capacity (2 slots). 07:20Z: phase-2 ee47b96f+ has rehearsal fixes (QR sign-in SEEN passing, gateway Ready in prod shape SEEN, 0013:c fix, cold-read stand-up fixes). Cycle 3 release running from wt-stg-c3 (log ~/.tmp/ci-hand/cycle3-release-*.log, ends RELEASE3 exit N); after ~07:40Z (old net gone) run in wt-stg-c3: ci-test.sh host, binary, then CI_TEST_INPUT={layout multi, provision infra, deadlineMin 290, suite true, freezeTtl 5, gateJobs 3} ci-test.sh staging > ~/.tmp/ci-hand/cycle3-<sha>.log; touch ~/.tmp/ci-hand/cycle3.start first; results in the run ticks. Agent on branch phase-2-fix-trust (vault atproto trust by name: unblocks gateway web sign-in for 0001:run, 0002:run). Owner decisions waiting: token limit (8192) durable answer; redeploy qr.fedfork.com with synced scopes (prod QR sign-in may be stale vs rc174). STATE 06:00Z 2026-11-18 (owner asleep until ~14:00Z: autonomous, no questions, record decisions): phase-2 head has ALL step 8 layers (b-g), aliceN/bobN names (accounts.sh), roles map, sign-in fixes B1-B3 + 2 review fixes (fe56727c), vendored did-key-associator + typescript-helpers; merge queue keeps squash (fork branch queue-fast-forward abandoned). Hand cycle 2 = 35 of 43 recorded. IN FLIGHT: rehearsal agent on held net stg-417196 (expires ~07:00Z) trying each layer by hand with the phase-2 build: its report lists FAILs with causes: fix those FIRST, then fresh stand-up: `SWC_PAGE_REPO` is now in ~/.config/socialweb-ci-hand/env (built page checkout wt-8f-req, requester branch page-staging pushed, not on requester main); hand worktree wt-stg-debug must be moved to phase-2 head; input freezeTtl 5; then by-hand list per entry (0015:pressure, 0007:restart, 0006, 0011 x2, 0009, 0001:run, 0002:run, 0001:s2, 0013:c), then the full gate. Open for owner: review notes in plan Findings; CI release must build the page + associator (step 9+). UPDATE 05:45Z: phase-2 now also holds 8g (QR, merged) and vendored did-key-associator/ + typescript-helpers/ (history kept; prod qr.fedfork.com deployed from it 05:07Z). HOLD the phase-2 stand-up for the owner on B1/B2/B3 (plan Findings: PDS client-metadata fetch, QR backend private PDS, ingress expose DPoP-Nonce). HOLD landing phase-2 until the knotless fork branch queue-fast-forward (8a6dd760) is landed, deployed (serve, then run, CLI) and turned on for main. Owner decision 10: ports kept. 0013:c cause read in code (host-local node download base), proof = hand rerun with --node-download-base. SESSION STATE 2026-11-18 ~04:55Z. Branch phase-2 (worktree wt-0043, remote swc, NOT landed; main is 85c689be green on its old 17-entry list) holds steps 6, 7, 8a, 8c (atirc merged, ed71d8b7) and ~12 fixes. Cycle 2 = hand cycle of 8d2a5453 (before the atirc merge and the 4 accounts), log ~/.tmp/ci-hand/cycle2-8d2a5453.log, results ~/.tmp/ci-hand/seen-results2.txt (13 PASS 6 FAIL at 04:50Z, all FAILs are missing layers), staging net stg-417196 (contracts einfra-stg-417196-{atproto,bidder-1,bidder-2,gateway}); after its gate it stays held ~2 h (CI_FREEZE_TTL): on it (1) read 0013:c stage 2 (child core.log, NodeClaim, downloadBase: plan Findings), (2) test the gate rerun command of docs/ci-debug.md, (3) prove merged layers by hand. MERGED into phase-2 2026-11-18 ~05:20Z (builds; NOTHING of step 8 proven on a network yet): 8b, 8c, 8d, 8e, 8f. Requester repo branch page-staging (wt-8f-req, 1858287) NOT merged to its main: the page payload needs SWC_PAGE_REPO = a built checkout of it. Was: phase-2-page (wt-8f) + requester page-staging (wt-8f-req) = 8f, built, decisions taken: release builds the page from a pinned requester commit, apt fallback for Chrome libs (finding), --no-sandbox as oauth-signin.ts does, pins in page-tools.json, CDN JS kept; phase-2-gateway (wt-8d, cc2c2054) = 8d+8e, BUILT, unmerged, unproven, 5 choices in plan Findings; phase-2-bidders (wt-8b, 0d50bf56) = 8b, BUILT, unmerged, unproven (prove: its report's hand commands; plan Findings); atirc repo branch native-roots 72e210d (pinned in phase-2; atirc main not moved). Not started: 8g QR associator for 0001:s2. Then a fresh stand-up of phase-2 (4 accounts, freezeTtl 5) for the new number; land phase-2 only after a green hand cycle. Unproven: the stop hold on a cancelled CI run (needs an asked branch test, cancelled, attached); 0013:c on prod (2026-11-14) unexplained; 0004 intermittent non-association. Owner question open: 0004/0013 pass without the agent's online line. Rules that bit: docs/ci-debug.md Do not waste time; memory pkill-self-match." | ||
next: "03:30Z 2026-11-20: no CI cycle since promote 12 (a7dab399, red). One batch for roll one (decision 56), run by hand before its pull (51): rc-reads (proofs running), ci-no-john (ready), secrets and cli-args (both sent back by review, in rework; secrets then moves getSecrets onto iroh/WebRTC, decision 61), lexicons-fix (in work); rc-cap, rc-pins, rc-writes if reviewed in time. Before the roll: prod bidders off the `-- --atproto-oauth-qr` drop-in. Roll two = CLI help text only. State block in the plan." | ||