Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 59 additions & 0 deletions triage-1943-2026-11-03.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
🤖 **Agent note** · triaged (coverage pass, 2026-11-03) — still live; prerequisite is done; fix scoped; two inputs needed from Drew
- **Agent:** queue worker (repo-worker-code), lane opencode
- **Session / ID:** task 7793 · session ses_e5e5df64fb6ffeYhQuY5FaFfV2
- **Found via:** queue claim (coverage join, 2026-11-03)
- **Task:** triage #1943 at current main. No implementation in this task.
- **Verdict:** **still live, not a duplicate.** The blocker that made the 2026-10-29 triage say "wait for #1941" is gone — **#1941 is closed and PR #2721 is merged**; the docs book is deployed. What remains is one Porkbun DNS change plus a small choice forced by a GitHub Pages limitation. Both are Drew's.

## Fresh state (2026-11-03, main `a5966f8d7`)

**Site / Pages** (`gh api repos/developing-today/code/pages`):
- `build_type: workflow`, `https_enforced: true`, `cname: null`, `html_url: https://developing-today.github.io/code/`
- `curl -L https://developing-today.github.io/code/` → **200** (mdBook "Archive - mcpx"); `…/code/cli.html` → 200.
- So: the site exists and is healthy at the default project path, and has **no custom domain yet**.

**DNS** (`dig`, from a normal network):
| Name | Answer | Meaning |
| --- | --- | --- |
| NS `developing-today.com`, `developing.today` | `*.ns.porkbun.com` | both zones are still on Porkbun |
| `mcpx.developing-today.com` | CNAME `uixie.porkbun.com` | parking wildcard, **no explicit record** |
| `mcpx.developing.today` | CNAME `uixie.porkbun.com` | parking wildcard, **no explicit record** |
| `_github-pages-challenge-developing-today.mcpx.developing-today.com` TXT | CNAME `uixie.porkbun.com` | no verification TXT exists for mcpx |
| `zettel.developing-today.com` | CNAME `developing-today.github.io` | working precedent, same org + zone |
| `_github-pages-challenge-developing-today.zettel.developing-today.com` TXT | `cc887eecc305202ad8c44465de9d1a` | per-domain Pages verification |
| `developing.today` TXT | `v=spf1 include:mxlogin.com -all` | active mail domain — do **not** wildcard-forward it |

**Precedent that de-risks this** (`gh api repos/developing-today/zettel/pages`):
`cname: zettel.developing-today.com`, `protected_domain_state: "verified"`, HTTPS certificate `approved`, `https_enforced: true`. Same org, same Porkbun zone, same Actions-based Pages flow — the exact pattern this issue needs already works.

**DNS is code in this repo:** `infra/dns` (Terraform + `pullenmcdermott/porkbun` provider + sops-encrypted key) already declares and matches live the `zettel`/`archive.zulip` CNAMEs and their two challenge TXTs (`infra/dns/dns_config/default.nix`). The `mcpx` records are a PR to that file; `terraform apply` needs Drew's Porkbun/state credentials and his explicit go-ahead (see #1860: no apply without it).

## The one real constraint: Pages has a single custom domain

Drew's 2026-10-29 decision names **both** `mcpx.developing-today.com` **and** `mcpx.developing.today`. A GitHub Pages site has exactly one custom domain, and GitHub's automatic redirects only cover an apex ↔ its own `www` (docs: [Managing a custom domain](https://docs.github.com/en/pages/configuring-a-custom-domain-for-your-github-pages-site/managing-a-custom-domain-for-your-github-pages-site)). So "both" means:

- **canonical:** `mcpx.developing-today.com` on the Pages site (recommended — it is the product/org domain and matches the `zettel` precedent), and
- **redirect:** `mcpx.developing.today` → canonical, via Porkbun's free **URL forwarding** (Domain Management → URL Forwarding: host `mcpx`, 301, "include requested URI path"). This is a console setting on the existing Porkbun account — **no nameserver change and no Cloudflare move** ([Porkbun: How to Set Up URL Forwarding](https://kb.porkbun.com/article/39-how-to-set-up-url-forwarding)).

## Fix path, in order (scoped, not implemented here)

1. **GitHub (worker, after go-ahead):** set the Pages custom domain to `mcpx.developing-today.com` (Settings → Pages, or `gh api repos/developing-today/code/pages -X PUT -f cname=…`). GitHub then shows the TXT challenge — expected name `_github-pages-challenge-developing-today.mcpx.developing-today.com` (same shape as the `zettel` record).
Comment thread
dezren39 marked this conversation as resolved.
Resolved
2. **Porkbun (PR to `infra/dns` + apply by Drew):** in the `developing-today.com` zone add
- `mcpx` → CNAME `developing-today.github.io`
- `_github-pages-challenge-developing-today.mcpx` → TXT `<token GitHub shows in step 1>`
- *(alternative: verify the apex `developing-today.com` once at the org level — one TXT covers all immediate subdomains — instead of per-domain like `zettel`.)*
3. **GitHub (worker):** verify the domain, wait for the certificate, enforce HTTPS, then flip the docs workflow's `siteUrl` from `/code/` to `/` (`.github/workflows/mcpx-docs.yml:110`, plus the `docs.nix` comment) so the book serves at the domain root; confirm the old `/code/` path redirects.
4. **Porkbun (Drew, same console visit):** URL-forward `mcpx.developing.today` → `https://mcpx.developing-today.com` (subdomain only, not wildcard — the apex carries SPF).

**Why no PR was opened now:** GitHub explicitly says to add the domain on GitHub *before* creating the DNS record, and the verification token does not exist until step 1; and flipping `siteUrl` to `/` before the cutover would break the live `/code/` site. The work is mechanical but must start only after Drew's go-ahead.

## What is needed from Drew (two items)

1. **Confirm the split:** canonical `mcpx.developing-today.com`, with `mcpx.developing.today` as a redirect — the only shape Pages supports.
2. **Authorize the Porkbun change** (and do the console action, or say "apply it" for the `infra/dns` Terraform PR). No Cloudflare/nameserver change is involved.

**Resume condition:** when Drew confirms (1) and authorizes/does (2), resume this task (or a fresh implementation task) to do steps 1 and 3 and open the `infra/dns` PR. Until then this issue sits in `user/escalated`; the queue task is blocked `escalated-to-user`, not lost.

Labels: `user/review` → `user/escalated`; task labels → `queue/blocked` + `status/blocked`.

<!-- agent-note:v1 agent=repo-worker-code state=triaged at=2026-11-03T15:55:00Z task=7793 lane=opencode -->
Loading