Skip to content

docs(launch): mainnet launch runbook for 2026-11-24 - #683

Merged
PastaPastaPasta merged 5 commits into
masterfrom
launch/mainnet-runbook
Nov 24, 2026
Merged

PastaPastaPasta merged 5 commits into
masterfrom
launch/mainnet-runbook

Conversation

@PastaPastaPasta

Copy link
Copy Markdown
Owner

Forge launches on Dash mainnet this morning, pending Pasta's go. docs/deploying-to-a-network.md explains the general procedure. It doesn't give today's decisions, the exact ordered steps, who does each one, or how to back out.

docs/launch/mainnet-runbook.md covers:

  • Decisions: the four-contract set, the fresh deployer, cost (~1.9 DASH; fund 3). Mainnet needs no key-exchange contract (App Connect v2 system contract). Mainnet at forge.dashhq.org; testnet at testnet-forge.dashhq.org, a sibling host on purpose for passkey safety. The gateway stays on testnet. CLI v0.3.0 keeps the testnet default.
  • Pasta-only steps P1–P11: one DNS CNAME, the go, creating the deployer via the bridge with escrow, signing sums, the dry run and register commands, approving the flip and the release, the wallet smoke test. No key ever goes to an agent.
  • Steps 1–12, each with a check: testnet site up, register with launch-network.mjs, the registration PR contents, a merge freeze, the confirmed pages.yml dispatch flip, smoke tests, the v0.3.0 release, the announcement, and what testnet users must redo.
  • Smoke tests T-W, M-0, M-C, M-R, M-W, M-X.
  • Rollback R1–R6: the fast path back to testnet-only is one variable plus a confirmed dispatch. It also says what is permanent and how a bad set is superseded (--force-new --abandon-live-set mainnet).
  • Risks: App Connect v2 on mainnet (Android verified only on testnet, iOS unverified), DAPI/quorum health (189/220 nodes passed the probe), cost, testnet-user disruption, v0.2.0 binaries, DNS, merge-vs-flip races.

The §8 rehearsal results are added when the overnight testnet rehearsal finishes. The old docs/mainnet-runbook.md stub now links here.

Checked: the web docs catalog/link tests and the copy lint pass (pnpm vitest run lib/docs scripts/copy-lint, 18/18).

🤖 Generated with Claude Code

Ordered steps from the go to the announcement, who does what (Pasta's key,
funds and DNS steps separated out), the domain and CLI decisions, smoke tests
per step, the rollback table with what cannot be undone, and the risks.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@coderabbitai

coderabbitai Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 46 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: fe8bf7b3-9dfd-4bd0-ab09-83c6d1824dee
Commits

Reviewing files that changed from the base of the PR and between b5917e6 and 120f102.

Files selected for processing: 3

  • docs/deploying-to-a-network.md
  • docs/launch/mainnet-runbook.md
  • docs/mainnet-runbook.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@PastaPastaPasta PastaPastaPasta left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: changes requested

I checked the runbook against the code on master (b5917e6) and on #676, #677 and #678, against the bridge at mainnet-bridge c034bf9, and against the live state. Everything I ran was read-only.

What checks out

  • The bridge's Download Key Backup file (createKeyBackup, src/ui/components.ts:2045) is the shape deploy-v2.mjs reads. It has identityId, txid and network: "mainnet", and its identityKeys[] entries carry id, keyType, purpose, securityLevel, privateKeyWif and publicKeyHex. Key id 2 is AUTHENTICATION/CRITICAL in the default HD set, which is what pickKey(rec, 'AUTHENTICATION', 'CRITICAL') looks for. deploy-v2 never reads the file's network; the proved chain id evo1 is the guard there. The create flow derives the asset-lock key from the mnemonic (deriveAssetLockKeyPair), so escrowing the 12 words plus the txid is enough to restore.
  • refresh-dapi --network mainnet --check at 06:44Z: chain evo1, median height 478,291, 10/10 recorded seeds pass.
  • App Connect v2 H8F9mP1BM55TE1ShsxPZHzhyinaMdY9bMmP85mkDhcJJ is on mainnet: version 1, system owner, type loginKeyResponse.
  • The launch-network flags, the dry-run-then-confirm order, the --confirm prompt and the evidence filenames match the runbook. The 44 C1 checks are 4 contracts × 11 checks. --abandon-live-set exists. The guard logic in #677 matches §4 step 9. The four transition sizes match testnet's (16,362 / 17,291 / 15,651 / 10,913 B).
  • The domain decision is right. WebAuthn lets a page use an RP ID only if it is a registrable suffix of the page's own host. So testnet.forge.dashhq.org could claim forge.dashhq.org passkeys and testnet-forge.dashhq.org cannot. #678's policy allowlist matches.
  • The CLI-default decision is right. git-remote-dash takes its network from DASH_FORGE_NETWORK, then git config dash.network, then config.toml, then testnet. A plain git clone dash://… records nothing, so flipping the default would silently move those clones. See finding 12 for the one caveat the doc gets wrong.

Findings

  1. High, §5 M-W (line 202): dg push and dg clone don't exist, and the CLI build isn't named. The top-level commands are repo …, doctor, verify-app and so on. There is no push or clone. A push goes through git push (git-remote-dash), and a clone is dg repo clone. M-W also runs at step 10, before v0.3.0 exists, and v0.2.0 says "not deployed" on mainnet. Fix: "With dg and git-remote-dash built from the merged registration commit (both on PATH): dg repo clone <owner>/forge-smoke --network mainnet (it records dash.network=mainnet in the clone), commit, git push origin HEAD; … then dg repo clone <owner>/forge-smoke --network mainnet /tmp/forge-smoke-check and compare git log."

  2. High, step 9 (lines 145–151): the watch can follow the wrong run, a failure doesn't stop the commands, and the banner variable is set too early.

    • gh run list --limit 1, run right after gh workflow run, often returns the previous run, because a new run takes a few seconds to appear. gh run watch then returns at once.
    • gh run watch without --exit-status exits 0 even when the run failed.
    • Either way, the pages-testnet.yml dispatch on the next line still runs, so the testnet site advertises "Forge is live on mainnet" pointing at a forge.dashhq.org that may still serve testnet.
    • PAGES_MAINNET_SITE_URL isn't needed by the mainnet build. It only drives the testnet build's banner.

    Fix:

    R=PastaPastaPasta/dash-forge
    gh variable delete PAGES_GATEWAY_URL -R $R
    gh variable set PAGES_NETWORK -R $R -b mainnet
    gh workflow run pages.yml -R $R --ref master -f confirm_network=mainnet
    # wait until the new dispatch run is listed, check its createdAt is after the dispatch, then:
    RUN=$(gh run list -R $R --workflow pages.yml --event workflow_dispatch --limit 1 --json databaseId -q '.[0].databaseId')
    gh run watch -R $R "$RUN" --exit-status
    # only after: curl -s https://forge.dashhq.org/forge-manifest.json | jq -r .network  ==> mainnet
    gh variable set PAGES_MAINNET_SITE_URL -R $R -b https://forge.dashhq.org
    gh workflow run pages-testnet.yml -R $R --ref master

    If the run fails, go to R1 (with finding 6's fix).

  3. High, step 1 (lines 68–77): the order fails on the real repo state. PastaPastaPasta/dash-forge-testnet-site exists. It is public and empty (no branches). It has the deploy key dash-forge pages-testnet.yml (write access), and TESTNET_SITE_DEPLOY_KEY is set. GET /pages returns 404.

    • The first command, PUT …/pages, therefore returns 404.
    • The variables are set after the dispatch, so the first build has no gateway and no testnet URL.
    • Merging #678 already starts a push run of pages-testnet.yml, because its path filter includes the workflow file.
    • https_enforced has no command.

    Fix: replace the block with:

    gh variable set TESTNET_SITE_GATEWAY_URL -R PastaPastaPasta/dash-forge -b https://git-forge.dashhq.org
    gh variable set PAGES_TESTNET_SITE_URL   -R PastaPastaPasta/dash-forge -b https://testnet-forge.dashhq.org
    gh workflow run pages-testnet.yml -R PastaPastaPasta/dash-forge --ref master   # after #678 is on master; wait for it to push gh-pages
    gh api -X POST repos/PastaPastaPasta/dash-forge-testnet-site/pages -f 'source[branch]=gh-pages' -f 'source[path]=/'
    gh api -X PUT  repos/PastaPastaPasta/dash-forge-testnet-site/pages -f cname=testnet-forge.dashhq.org
    # once `gh api repos/PastaPastaPasta/dash-forge-testnet-site/pages -q .https_certificate.state` is "approved":
    gh api -X PUT  repos/PastaPastaPasta/dash-forge-testnet-site/pages -F https_enforced=true

    Note that -F is needed for the boolean. Also do the Pages setup right after P1: until the custom domain is claimed, a CNAME pointing at github.io is open to takeover unless dashhq.org is a verified domain on the account.

  4. Medium, P6 (line 41) and §4 step 5: "run the same command again" fails once the freeze step has run.

    • freeze-registered writes contracts/registered/mainnet/.
    • build.py --check then fails: "exists but NETWORK_REGISTRATIONS has no mainnet entry" (build.py ~L1686).
    • Every later --execute preflight therefore prints a WARNING, and launch-network stops.
    • The scratch rehearsal writes to --out, so §8 can't catch this.

    Fix: "If it stops before step freeze, run the same command again. If it got to freeze or later, run it with --post-only instead of --execute. If it says deployments/mainnet.json.lock exists, make sure no other run is going, then delete the lock (a killed run leaves it)."

  5. Medium, §1 Gateway (line 26) and step 9: an owner step is missing on the gateway host. CT 181 runs with GATEWAY_WEB_URL=https://forge.dashhq.org. docs/hosting/forge-gateway.md says to "point a build at a gateway whose GATEWAY_WEB_URL is that build's site". After the flip, every /og/… share link and every gateway link goes to the mainnet site, and testnet repos show "not found" there. Fix: add a P-step at the flip: "On CT 181 set GATEWAY_WEB_URL=https://testnet-forge.dashhq.org and restart the compose stack." This box can't reach the R730, so it's Pasta's step.

  6. Medium, R1 (line 213): the rollback is incomplete. It leaves PAGES_MAINNET_SITE_URL=https://forge.dashhq.org in place. After R1, the testnet build on forge.dashhq.org shows a "Forge is live on mainnet" banner pointing at itself. The testnet site keeps pointing there too, which is the situation step 1 says to avoid. The commands also lack -R. Fix:

    gh variable set PAGES_NETWORK -R $R -b testnet
    gh variable set PAGES_GATEWAY_URL -R $R -b https://git-forge.dashhq.org
    gh variable delete PAGES_MAINNET_SITE_URL -R $R
    gh workflow run pages.yml -R $R --ref master -f confirm_network=testnet
    gh workflow run pages-testnet.yml -R $R --ref master

    Also revert GATEWAY_WEB_URL (finding 5). The "one variable plus a dispatch" summary at line 220 should then say "three variables and two dispatches".

  7. Medium, R5 (line 217): deleting the assets breaks install.sh. install.sh fetches …/latest/download/SHA256SUMS. If v0.3.0 stays "latest" without its assets, installs fail. They don't fall back to v0.2.0. Fix: "gh release edit v0.3.0 -R $R --prerelease --latest=false && gh release edit v0.2.0 -R $R --latest. Don't delete assets. The relay and gateway images pushed by the release stay tagged: retag or document them."

  8. Medium, step 3 (line 87): the dry run doesn't print the balance. For a fresh registration, deploy-v2 reads the balance only around a broadcast. Only --replay prints it. It also never checks the balance against the cost before the first create. The key-mismatch and disabled-key refusals are real (deploy-v2.mjs ~L1104–1111). The bridge's completion screen doesn't show credits either. Fix: replace the check with this read-only command, which needs no key:

    node --input-type=module -e "const {loadEvoSdk}=await import('./forge-contracts/scripts/deploy-v2.mjs');const e=await loadEvoSdk();const s=new e.EvoSDK({network:'mainnet',trusted:true});await s.connect();console.log(Number(await s.identities.balance('<identityId>'))/1e11,'DASH')"

    It must show at least 2.5. Then say: "The dry run refuses a key that is missing, different from the file, or disabled. It doesn't check the balance."

  9. Medium, P3 and P7 (lines 38, 42): key hygiene for the downloaded backup.

    • The bridge saves dash-identity-<id>.json to the browser's download folder, usually ~/Downloads. That file holds the mnemonic, every WIF and the asset-lock WIF.
    • "Save it as …" can leave that first copy behind, and P7 deletes only the copy at the new path.

    Fix:

    • P3: "install -m 600 ~/Downloads/dash-identity-<id>.json ~/forge-secrets/mainnet/deployer/FORGE_MAINNET_DEPLOYER.identity.json && rm ~/Downloads/dash-identity-<id>.json. Keep ~/forge-secrets out of iCloud/Dropbox sync."
    • P7: "Also empty the Trash and clear the browser's download list."
    • P3: download after the completion screen, so the file has no identityStatus: "submitted, not yet confirmed".
    • P3: keep the bridge's default key set, which has CRITICAL auth at id 2.
    • R3 and R6 need the file again from escrow; say so where P7 deletes it.
  10. Low, step 6 item 6 (line 122): the evidence path doesn't exist yet. launch-network writes to ./launch-evidence-mainnet/ (it holds c1.json, group.json, sha256sums.txt and dry-run.log). Nothing creates forge-contracts/evidence/mainnet/. Fix: "Copy launch-evidence-mainnet/{c1.json,group.json,sha256sums.txt} and Pasta's signed forge-mainnet.sha256 (as signed-sums.sha256) into forge-contracts/evidence/mainnet/, with a README like evidence/testnet/README.md." Items 2 and 4 also drop the forge-contracts/ prefix, so write forge-contracts/contracts/registered/mainnet/ and forge-contracts/deployments/contracts/mainnet.json.

  11. Low, the step-4 intro (line 64) and §2: the timeline contradicts itself. "Relative to the 08:30 CT announcement" doesn't fit with P9 at T+30, the release after the smoke tests, and an announcement only after step 11. A "15 minute" registration PR with independent review, CI and PastaClaw is also optimistic. Fix: "Times are relative to the go (P2). The announcement (step 12) comes after step 11, likely 2–3 h after the go."

  12. Low, §4 step 12 (line 190): not every clone records its network. Only dg repo clone and dg init write dash.network. A plain git clone dash://… follows config.toml, so a testnet user who runs dg auth login --network mainnet moves those clones to mainnet. Fix: "dg repo clone clones record their network. A plain git clone dash://… follows dg's saved default: before signing in on mainnet, run git config dash.network testnet in those clones."

  13. Low, §3 (line 55): two prerequisites aren't PRs yet, and one hard-codes the origin. The web network switch only exists as uncommitted changes in another worktree (launch/web-network-switch). It is also the change that adds NEXT_PUBLIC_{MAINNET,TESTNET}_SITE_URL to pages.yml; without it, the step 9 variable does nothing. I found no branch for the "per-network web origin" Rust change. master still hard-codes dg ipfs DEFAULT_ORIGIN and the storage CORS PROBE_ORIGIN to https://forge.dashhq.org, so a testnet user's dg ipfs up and storage check use the mainnet origin. Fix: name the PR numbers in §3, and add "pages.yml passes PAGES_MAINNET_SITE_URL/PAGES_TESTNET_SITE_URL" as its own checkbox.

  14. Nits (non-blocking)

    • P3: the creation height exists only once the asset-lock tx is mined (InstantSend completes before that). Say "wait until Insight shows a block height".
    • §1 Cost: testnet's v1 creates came to 1.873 DASH, with forge-meta at 6,976 B. Mainnet creates forge-meta at 10.9 KB in one go, so expect about 2.0–2.1 DASH. Funding 3 DASH still covers it.
    • T-W and the testnet site: dg verify-app pins .github/workflows/pages.yml by default, so verifying testnet-forge needs --signer-workflow PastaPastaPasta/dash-forge/.github/workflows/pages-testnet.yml. Note that for testnet users.
    • Step 6 checks: no forge-web/lib/deployments.test.ts exists, so the lib/deployments filter matches nothing.

🤖 Posted autonomously by Claude (claude-opus-5-5) on behalf of pasta.

PastaPastaPasta and others added 2 commits November 24, 2026 07:00
Correct smoke-test commands (dg repo clone, git push) and the CLI build they
need; a flip sequence that watches the right run, stops on failure and sets
the banner variable only after the manifest shows mainnet; step 1 in the
order the empty site repo needs; the re-run rule once the freeze has run;
the testnet gateway's GATEWAY_WEB_URL as an owner step; a complete R1; R5
without breaking install.sh; a read-only balance check; key-file hygiene;
evidence paths; a timeline relative to the go.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@PastaPastaPasta PastaPastaPasta left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: changes requested

I reviewed head 83477ad against master d582ba2 (#677 and #678 merged), #676 (launch/register-network 887a8f6, for launch-network.mjs; its deploy-v2.mjs is identical to master's), #685 (launch/web-network-switch 0589fdf), build.py and both Pages workflows. I only read code. I built nothing and ran nothing against a network.

The fixes are small. One of them touches the rule that no agent handles mainnet keys or funds, which is why the verdict is changes requested.

The earlier review's requests (all 14 addressed, one partly)

  1. M-W now uses dg repo clone and git push. ✔
  2. Step 9 now picks the dispatch run, uses --exit-status, and sets PAGES_MAINNET_SITE_URL only after the manifest says mainnet. ✔
  3. Step 1 now sets the variables first, dispatches, then runs POST/PUT on Pages, then -F https_enforced=true. P1 notes the takeover window. ✔
  4. P6 now says --post-only once the run reaches step freeze, and covers the leftover lock. ✔ This matches the code: after the freeze, build.py --check reports exists but NETWORK_REGISTRATIONS has no mainnet entry, and that turns into a dry-run WARNING.
  5. P8b sets GATEWAY_WEB_URL on CT 181. ✔
  6. R1 now has three variables, two dispatches, -R, and the P8b revert. ✔
  7. R5 now changes which release is latest and keeps the assets. ✔
  8. Step 3 has the read-only balance query. ✔ loadEvoSdk is exported, the import is guarded against running main, and identities.balance is the call deploy-v2 itself uses.
  9. P3 and P7 cover key hygiene: install -m 600 plus rm, no sync, emptying the Trash, and getting the file back from escrow for R3/R6. ✔
  10. Step 6.6 has the evidence paths, and items 2 and 4 now carry the forge-contracts/ prefix. ✔
  11. Times are now relative to the go. ✔
  12. The step 12 clone caveat is fixed. ✔
  13. Partly. #685 is named and has its own checkbox (it does add NEXT_PUBLIC_MAINNET_SITE_URL to pages.yml). The Rust per-network origin item still names no PR or issue.
  14. Nits: block height, cost, --signer-workflow, and the vitest filters (lib/networks and lib/constants exist). ✔

Commands and flags I checked: all correct

  • launch-network.mjs: VALUE_FLAGS and BOOL_FLAGS match every invocation in the runbook (--network --identity --deployer-created-height --expect-sha256 --execute --post-only --record --scratch-on --out). So do the --expect-sha256 requirement on the live record, the typed mainnet prompt, launch-evidence-mainnet/ relative to the cwd, c1.json, group.json and sha256sums.txt, dry run clean. Nothing was broadcast., and failing the live dry run on any WARNING line.
  • deploy-v2.mjs: --print-sha256 --set mainnet, --force-new with --abandon-live-set mainnet (production refuses --force-new without it), the dirty-files, build.py, unpushed-HEAD and sums refusals (they warn in a dry run and throw on a production broadcast), and the WARNING when the creation height is missing.
  • build.py: freeze-registered prints 'mainnet': {'set': 'mainnet', 'since': ()}. since=() builds mainnet_flags() with nothing off, which matches a fresh registration of the current set. Correct.
  • pages.yml: the confirm_network input and PAGES_NETWORK/PAGES_GATEWAY_URL/PAGES_NOTICE*. pages-testnet.yml: TESTNET_SITE_ENABLED, TESTNET_SITE_GATEWAY_URL, PAGES_{MAINNET,TESTNET}_SITE_URL, the testnet-site environment, and the same push path filters (so merging the registration PR redeploys both sites, as step 6 says). They use separate concurrency groups.
  • SDK pin rc.8 (deploying-to-a-network.md). The cost table matches §8.

Findings

  1. Medium (agent and mainnet funds rule): M-W does not say who runs its CLI half.

    • Step 6 says to keep the dg and git-remote-dash binaries "built from the merged registration commit" in a boat.dev sandbox, "the M-W smoke test (step 10) uses them".
    • §8's lessons include "CLI smoke without a terminal: use DASH_FORGE_KEY=<identity file>", which is how an agent runs it.
    • Read together, the doc points to an agent pushing to mainnet with the funded smoke identity's key. That breaks the hard rule.
    • Those binaries are also Linux builds, so they won't run on Pasta's Mac.

    Fix:

    • P9/M-W: "Pasta runs all of M-W, web and CLI, on his own machine, with dg and git-remote-dash built locally from the merged registration commit. The smoke identity file never goes to an agent."
    • Step 6: say the boat-built binaries are for M-C (dg doctor, read-only) only.
    • Mark the DASH_FORGE_KEY lesson in §8 as testnet-only.
    • The agent's mainnet checks are then M-0, M-C, M-R and M-X, all read-only.
  2. Medium, R2 (and R4, which starts with R2): the notice variables are shared with the testnet site.

    • pages-testnet.yml also reads vars.PAGES_NOTICE, PAGES_NOTICE_TEXT and PAGES_NOTICE_URL.
    • Pausing mainnet therefore puts the "paused" banner on testnet-forge.dashhq.org at its next build. Any push touching forge-web/** or docs/** triggers one, and so does the dispatch in step 9 or R1.
    • The variable also stays set until someone clears it.

    Fix: say so in R2, and either accept it or have #678/#685 give the testnet build its own TESTNET_SITE_NOTICE*. Add the clear-down step (gh variable delete PAGES_NOTICE …, then dispatch both workflows). Add -R $R to R2's commands.

  3. Low, P6 and step 5 conflict for a C1 or group failure.

    • launch-network runs c1 and group before freeze.
    • P6's rule "stopped before step freeze → run the same command again" therefore covers a C1 FAIL, but step 5 says "If C1 fails, stop" and points to R3.

    Fix: "If it stopped in register (a network error, a killed run), run the same --execute again. A FAIL line from c1 or group means stop and go to R3."

  4. Low, step 6.3: the NETWORK_REGISTRATIONS line can be lost.

    • On a --post-only re-run after a freeze, alreadyFrozen() skips the freeze step, so the line is not printed again. The final "done" message also leaves it out.
    • Fix: write the literal line in step 6.3: 'mainnet': {'set': 'mainnet', 'since': ()},.
  5. Low, R3: a supersede after a JSON fix needs the frozen copies cleared.

    • freeze-registered refuses to overwrite contracts/registered/mainnet/*.v1.json that "already holds another schema".
    • launch-network --post-only skips the freeze once that directory exists.
    • Fix: add "If the registration PR has not merged, delete the uncommitted forge-contracts/contracts/registered/mainnet/ and restore deployments/contracts/mainnet.json before the supersede. If it has merged, the supersede PR replaces them."
  6. Low, §3: the Rust per-network web origin item still names no PR or issue (earlier finding 13).

    • Fix: name the PR or issue, or record explicitly that v0.3.0 ships without it.
  7. Nits

    • §8: the static server is at forge-web/e2e/static-server.mjs, not e2e/static-server.mjs.
    • Step 3 balance one-liner: an open SDK connection may keep the process from exiting. Ending it with ;process.exit(0) avoids a hang.
    • Step 11.2: add -R $R to gh workflow run release.yml to match the other commands.

Rollback: sound. R1 is complete now, R5 keeps install.sh working, and R3/R4 correctly treat the registration as permanent. The only gaps are findings 2 and 5.

§2 coverage: every step that needs Pasta's keys, funds, DNS or R730 access is in §2: P1 DNS, P3 deployer and funds, P4–P6 signing and registering, P7 key removal, P8b on CT 181, P9 smoke funds, P10 the release approvals, P11. R1's P8b revert and R3/R6's escrow retrieval are flagged too. Finding 1 is the one place where the doc could be read as giving an agent mainnet funds.


🤖 Posted autonomously by Claude (claude-opus-5-5) on behalf of pasta.

@PastaPastaPasta PastaPastaPasta left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: approve

I reviewed head 120f102 against review 6035130220. I read git show 120f102a, master (pages-testnet.yml, build.py, deploy-v2.mjs, docs/INSTALL.md, crates/*/Cargo.toml) and launch-network.mjs on launch/register-network (#676 is not on master yet). I built nothing and ran nothing.

The earlier findings

  1. M-W and the mainnet-funds rule: fixed. P9, step 6, step 10 and the §5 M-W row all say Pasta runs M-W, web and CLI, on his own machine with locally built binaries, and that the smoke identity's key never goes to an agent. Step 6 now says the boat-built Linux binaries are for the agent's read-only checks (M-0, M-C, M-R, M-X). The cargo install --locked --path crates/dg and --path crates/git-remote-dash commands match docs/INSTALL.md "Build from source", and both crates build binaries with those names. No agent step touches mainnet keys or funds now.
  2. R2 shared notice variables: fixed. R2 first sets TESTNET_SITE_ENABLED=false. In pages-testnet.yml the build job is gated if: vars.TESTNET_SITE_ENABLED == 'true', so the testnet site stays at its last deploy and never picks up the banner. R2 has -R $R, the dispatch, and a full lift procedure: delete the three variables, dispatch pages.yml, re-enable and dispatch pages-testnet.yml. R4 notes it.
  3. P6 against step 5: fixed. Both now say that a C1 or group failure means stop, and that only other interruptions get a re-run.
  4. The NETWORK_REGISTRATIONS line: fixed. Step 6.3 gives the literal 'mainnet': {'set': 'mainnet', 'since': ()}, and a comment in testnet's format. It also explains why: on a --post-only resume, the done message only names the line when the freeze step ran (launch-network.mjs:202).
  5. R3 frozen copies: fixed. R3 says to move the uncommitted contracts/registered/mainnet/ aside before the --force-new supersede. alreadyFrozen() would otherwise skip the freeze. deploy-v2's record and frozen-copy "must match HEAD" refusal applies only to --replay, so the uncommitted record doesn't block the supersede.
  6. The Rust per-network origin: fixed. It names PR #691 ("feat: web origin and top-up link follow the network", open).
  7. Nits: all three fixed. The path is now forge-web/e2e/static-server.mjs, the balance one-liner ends with ;process.exit(0), and step 11.2 has -R.

Nits (none block)

  • §8 still shows DASH_FORGE_KEY=<identity file> with no "testnet only" tag. It sits under "Testnet rehearsal", and steps 6 and 10 now rule out an agent holding a mainnet key, so the risk is low. Adding "(testnet only; on mainnet M-W is Pasta's)" would close it.
  • P9 or step 7: a cold cargo install of dg on the Mac needs Rust and protoc ≥ 25 and takes a while. Point to INSTALL.md "Build from source" and suggest starting the build when the registration PR merges, so it isn't on the T+60 critical path.
  • R3: "move aside" should say "out of the checkout". A copy left under forge-contracts/contracts/ shows up as untracked in the set-dir porcelain check. The earlier finding also mentioned restoring deployments/contracts/mainnet.json; the post-only snapshot rewrites it, so that one is optional.

New problems from 120f102: none found. The commit changes only docs/launch/mainnet-runbook.md (14 lines in, 14 out), and the new commands use flags and variables that exist.


🤖 Posted autonomously by Claude (claude-opus-5-5) on behalf of pasta.

@PastaPastaPasta
PastaPastaPasta merged commit 837139e into master Nov 24, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant