From f293386784f6c0f159a7c5373eb2a53a6b268cf3 Mon Sep 17 00:00:00 2001 From: Dave Liu <7david12liu@gmail.com> Date: Sun, 15 Nov 2026 20:30:43 -0800 Subject: [PATCH 1/2] WEB-CONTENT-002: arm exact #758 Join The Club / Run With Us release Pin the #758 source d8354927fbb6d0111190430744d3a9c899b5f0c1 (tree fd73cb9253abbd6c55de874ca3192401ea4e8013, 63 files) for one merge whose first parent is 8c62a3d4d9f7a7ba5f46fbd3286870e3dfcac4af. Production stays on deploy 6af82c1d614632e2c4a9d1dc until the live checks pass. Co-Authored-By: Claude Fable 5.2 --- config/netlify-production-release.json | 24 ++++++++++++------------ netlify.toml | 2 +- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/config/netlify-production-release.json b/config/netlify-production-release.json index aca8e0c..e9f0bda 100644 --- a/config/netlify-production-release.json +++ b/config/netlify-production-release.json @@ -1,16 +1,16 @@ { "schemaVersion": 1, - "active": false, - "releaseId": "WEB-MEMBERSHIP-001-JOIN-RUN-SPLIT-2026-11-14", - "issueNumber": 752, - "previewBranch": "codex/issue-752-netlify-release", - "expectedProductionParent": "ecf68f28ea67a7bb716a3ea01f2f98abc0970622", + "active": true, + "releaseId": "WEB-CONTENT-002-RUN-WITH-US-ORDER-2026-11-15", + "issueNumber": 758, + "previewBranch": "codex/issue-758-netlify-release", + "expectedProductionParent": "8c62a3d4d9f7a7ba5f46fbd3286870e3dfcac4af", "sourceRepository": "https://github.com/Run-MPRC/Run-MPRC.github.io.git", - "sourceRef": "refs/heads/codex/netlify-source-752-membership-page", - "sourceCommit": "37d2198705fa66f9fd8b482b624df1c0fba7d327", - "sourceTree": "c44ea4b149c3b26e050339cc79f796e7e1f8a56c", - "previousSourceCommit": "41a9ae4ebc719212df610ff5cdcf9ca4eab18e71", - "rollbackDeployId": "6aa8c5b3fddd040009eba99c", - "expectedSiteFileCount": 62, - "expectedSiteFilesSha256": "965a6864515fd8f7234c7481365b0b6ab9a4b5efc1029ebc9a05deef1baea464" + "sourceRef": "refs/heads/codex/netlify-source-758-run-with-us-order", + "sourceCommit": "d8354927fbb6d0111190430744d3a9c899b5f0c1", + "sourceTree": "fd73cb9253abbd6c55de874ca3192401ea4e8013", + "previousSourceCommit": "37d2198705fa66f9fd8b482b624df1c0fba7d327", + "rollbackDeployId": "6af82c1d614632e2c4a9d1dc", + "expectedSiteFileCount": 63, + "expectedSiteFilesSha256": "ee0891ae8e22677a1fc65e4cd698bbe79f64edc92db5e22ad969ff1784422365" } diff --git a/netlify.toml b/netlify.toml index 2d779a6..b3c6b9c 100644 --- a/netlify.toml +++ b/netlify.toml @@ -16,7 +16,7 @@ command = "node ./scripts/netlify-release-build.js" [context.deploy-preview] - # The temporary #752 production authority is inactive again. Ordinary + # The #758 control-branch preview verifies its exact pinned source. Other # previews use their checked-out tree; production still needs the exact gate. command = "node ./scripts/netlify-release-build.js --preview" From e1a61db503358d196a341e60a14c5167aa864276 Mon Sep 17 00:00:00 2001 From: Dave Liu <7david12liu@gmail.com> Date: Sun, 15 Nov 2026 20:53:23 -0800 Subject: [PATCH 2/2] WEB-CONTENT-002: pending #758 records and release tests Add "under review, not published" notes for #758 to eight docs. Each one keeps production on deploy 6af82c1d614632e2c4a9d1dc until the exact preview, exact-parent merge, public marker, signed-out readback and repause all pass. Tests now pin the active #758 manifest (63 files, the 63rd being the public calendar file) and the pending records, and the completed #752 check no longer asserts the netlify.toml comment this release rewrites. Co-Authored-By: Claude Fable 5.2 --- IMPLEMENTATION_PLAN.md | 2 + OFFICER_START_HERE.md | 2 + OPERATIONS_RUNBOOK.md | 2 + SECURITY.md | 1 + SYSTEM_DESIGN.md | 2 + docs/officers/PUBLISH_AND_CHECK.md | 31 +++++++++++++ docs/officers/README.md | 2 + docs/officers/UPDATE_PUBLIC_CONTENT.md | 20 +++++++++ tests/release-workflow.test.js | 61 +++++++++++++++++++------- 9 files changed, 107 insertions(+), 16 deletions(-) diff --git a/IMPLEMENTATION_PLAN.md b/IMPLEMENTATION_PLAN.md index 3e8df4d..ef6a4f7 100644 --- a/IMPLEMENTATION_PLAN.md +++ b/IMPLEMENTATION_PLAN.md @@ -70,6 +70,8 @@ MPRC can open a race or merchandise item for sale only when the platform can: **WEB-MEMBERSHIP-001 completed website release boundary:** [#752](https://github.com/Run-MPRC/Run-MPRC.github.io/issues/752) completed one exact-artifact Netlify publication of the Join Us / Run With Us page split on 2026-11-14 Pacific time. It keeps membership on Join Us, points both membership links at the club's Zeffy new-member form, and moves the club activity waiver and meeting details to a new Run With Us page. [PR #753](https://github.com/Run-MPRC/Run-MPRC.github.io/pull/753), head `2e1573509393b55be80354e7b07e4e738f64ac86`, used preview `6af82b71c5687311aff7687f` and passed all six jobs in PR CI run `43581302583`. Exact release merge `28bb09c84a23085fcd9736cc7e559f2fe1b1075d`, parents `ecf68f28ea67a7bb716a3ea01f2f98abc0970622` and `2e1573509393b55be80354e7b07e4e738f64ac86`, tree `f3f5cb3a1c5139f2ad1c828669fdd2c0207f76ea`, passed all six exact-main jobs in run `43581519852`. Netlify deploy `6af82c1d614632e2c4a9d1dc` published at `2026-11-14T09:38:37.509Z`. Its public marker matched frozen source `37d2198705fa66f9fd8b482b624df1c0fba7d327`, tree `c44ea4b149c3b26e050339cc79f796e7e1f8a56c`, previous source `41a9ae4ebc719212df610ff5cdcf9ca4eab18e71`, rollback deploy `6aa8c5b3fddd040009eba99c`, 62 files, and digest `965a6864515fd8f7234c7481365b0b6ab9a4b5efc1029ebc9a05deef1baea464`. Signed-out 390×844 and 1280×900 checks passed for both pages, both membership links, the menu entry, and horizontal overflow; no form was submitted. [Repause PR #754](https://github.com/Run-MPRC/Run-MPRC.github.io/pull/754), head `5bfa75ce66a07f9ad57cd5e3f3f27d90ede41443`, tree `d5b3014164c39a624463a3c4b106a9f063ad9e9b`, used preview `6af82cd02eac5b14ddb41e8b` and passed all six jobs in PR CI run `43581750356`. Exact repause merge `3c28115bf67f31346677f317a9c96f1b7fa96a5d`, parents `28bb09c84a23085fcd9736cc7e559f2fe1b1075d` and `5bfa75ce66a07f9ad57cd5e3f3f27d90ede41443`, tree `d5b3014164c39a624463a3c4b106a9f063ad9e9b`, passed all six exact-main jobs in run `43581957963`. Its Netlify attempt `6af82d700e2e18a09e474f8a` failed at initializing, published nothing, and left #752 deploy `6af82c1d614632e2c4a9d1dc` live. The manifest is inactive. The #752 control and repause refs are absent; source ref `codex/netlify-source-752-membership-page` remains present pending separately approved retirement, and rollback ref `codex/netlify-source-752-rollback` remains pinned to #685 source `41a9ae4ebc719212df610ff5cdcf9ca4eab18e71`. #685 deploy `6aa8c5b3fddd040009eba99c` is the immediate rollback. The release changed no Firebase, GitHub Pages, DNS, provider configuration, account, sign-in state, private data, payment, permission, or reusable release authority. +**WEB-CONTENT-002 release boundary under review:** [#758](https://github.com/Run-MPRC/Run-MPRC.github.io/issues/758) arms one exact-artifact Netlify exception that renames the membership page label from Join Us to Join The Club, moves the Ways To Run With Us meeting details to the top of the Run With Us page, adds a "You must sign waiver below" notice directly above the waiver, and adds an Apple Calendar link. It is under review and is not published. Frozen source `d8354927fbb6d0111190430744d3a9c899b5f0c1`, tree `fd73cb9253abbd6c55de874ca3192401ea4e8013`, and 63-file digest `ee0891ae8e22677a1fc65e4cd698bbe79f64edc92db5e22ad969ff1784422365` contain only that change on top of current live source `37d2198705fa66f9fd8b482b624df1c0fba7d327`; the 63rd file is the public calendar file `mprc-saturday-run.ics`, which names no organizer, attendee, or mailbox. Production stays on deploy `6af82c1d614632e2c4a9d1dc` until the exact preview, exact-parent merge from `8c62a3d4d9f7a7ba5f46fbd3286870e3dfcac4af`, public marker, signed-out phone/desktop readback, and immediate repause all pass. + **Historical source-ref correction:** a 2026-09-14 remote read found the exact hot source refs for #473, #623, and #659 still present despite older absent/retired wording. Their manifests are inactive, so ordinary `main` merges remain paused, but an authorized manual rebuild of a historical active merge is a latent retry path. Do not treat that residual as resolved; retire those hot refs separately only after confirming their rollback refs. **WEB-001A1 Firebase Hosting source foundation:** [#663](https://github.com/Run-MPRC/Run-MPRC.github.io/issues/663) is the first bounded child of #460. It makes controlled optimized builds environment-explicit, keeps local/test on the demo emulators, requires complete staging-named public Firebase configuration, rejects production identities in staging, scans the executable synthetic CI artifact, changes the unqualified CLI default to `demo-mprc-local`, and adds the inert `build/` Hosting rewrite. It deliberately does not provision staging, configure short-lived authority or branch/environment protection, deploy Hosting/Firebase, automate `production-web`, add release readback/rollback/headers, alter Netlify/Pages, or touch DNS/TLS. Source/tests/merge and a synthetic build are not staging or production evidence. diff --git a/OFFICER_START_HERE.md b/OFFICER_START_HERE.md index 1a2b9fd..128b792 100644 --- a/OFFICER_START_HERE.md +++ b/OFFICER_START_HERE.md @@ -87,6 +87,8 @@ As of **2026-09-14 Pacific time**, [#685](https://github.com/Run-MPRC/Run-MPRC.g As of **2026-11-14 Pacific time**, [#752](https://github.com/Run-MPRC/Run-MPRC.github.io/issues/752) has published the Join Us / Run With Us page split as verified Netlify deploy `6af82c1d614632e2c4a9d1dc` from frozen source `37d2198705fa66f9fd8b482b624df1c0fba7d327`. Join Us now holds membership only, and both membership links open the club's Zeffy new-member form; the meeting details and club activity waiver are on the new Run With Us page. Waiver wording and dues are unchanged. Its public marker matched; signed-out 390×844 and 1280×900 checks of both pages, both membership links, the menu, and sideways overflow passed, and no form was submitted. Repause merge `3c28115bf67f31346677f317a9c96f1b7fa96a5d` passed all six exact-main checks; attempt `6af82d700e2e18a09e474f8a` published nothing, retained the #752 deploy, and left the manifest inactive. #685 deploy `6aa8c5b3fddd040009eba99c` and source `41a9ae4ebc719212df610ff5cdcf9ca4eab18e71` are the immediate rollback; #659 and #623 are older history. The #752 control and repause refs are absent, and its source and rollback refs remain. No Firebase, Pages, DNS, provider, account, data, payment, or permission changed. Officers do not run commands, sign in, enter data, or reuse this one-shot release control. +As of **2026-11-15 Pacific time**, [#758](https://github.com/Run-MPRC/Run-MPRC.github.io/issues/758) is a public page change under review and is not published. It renames the membership page label from Join Us to Join The Club, puts the meeting details first on the Run With Us page with a "You must sign waiver below" notice directly above the waiver, and adds an Apple Calendar link beside the Google Calendar link. Waiver wording, dues, and the membership form link are unchanged. Production stays on deploy `6af82c1d614632e2c4a9d1dc` until an exact frozen preview, exact-parent merge, public marker, phone/desktop readback, and immediate repause all pass. Officers do not run commands, sign in, enter data, or reuse this one-shot release control. + Remote readback on 2026-09-14 found the old #473, #623, and #659 hot source refs still present; this supersedes older absent/retired wording. Their manifests are inactive and ordinary merges remain paused, but the latent manual-rebuild path is not yet retired. Officers do not remove refs; the platform owner must verify rollback refs before a separate cleanup. As of **2026-08-26**, WEB-001A1 [#663](https://github.com/Run-MPRC/Run-MPRC.github.io/issues/663) is merged, and WEB-001A2 [#665](https://github.com/Run-MPRC/Run-MPRC.github.io/issues/665) created the club-owned `run-mprc-staging` project. CI-001C1 [#667](https://github.com/Run-MPRC/Run-MPRC.github.io/issues/667) adds a separate protected read-only identity check: Dave Liu or Jeff Chang reviews exact `main`, and a keyless five-minute identity may read only the staging project identity. It cannot deploy Firebase. CI-001D1 [#669](https://github.com/Run-MPRC/Run-MPRC.github.io/issues/669) adds an empty, delete-protected staging Firestore database and the exact reviewed Rules/index definitions. Anonymous reads of three fixed server-only paths were denied, and the database still had zero root collections after verification. CI-001D2 [#671](https://github.com/Run-MPRC/Run-MPRC.github.io/issues/671) deploys password-required email/password Auth from exact merged source and proves it with disposable API and browser sign-in/sign-out checks. Readback shows improved email privacy, only the two staging domains, no other provider, billing disabled, and zero users/records after cleanup. CI-001D3 [#674](https://github.com/Run-MPRC/Run-MPRC.github.io/issues/674) adds a code guard for a future deployment of only the two profile Functions. It does not deploy them, and billing remains unapproved. CI-001D4 [#676](https://github.com/Run-MPRC/Run-MPRC.github.io/issues/676) now enforces App Check on staging Authentication and Firestore: exact source `bce911a7083201cfe2141edaa9660f210287bf57` is live at [run-mprc-staging.web.app](https://run-mprc-staging.web.app) as Hosting version `8556fc51210bdc66`; one score-based key is restricted to only the two staging hosts and registered to the one web app for one-hour tokens; and both services read `ENFORCED` with replay protection `OFF`. A made-up browser account completed create, sign-out, fresh sign-in, and post-enforcement sign-in; token-bearing empty Events reads worked signed in and signed out without browser warnings/errors. Requests without App Check were denied by Auth and Firestore, and cleanup returned users and root collections to zero. This remains an **ENGINEERING STAGING SITE ONLY**: Functions, outside-provider sandboxes, protected automatic release, release marker, tested rollback, complete security headers, custom domain, and officer publish control are still **NOT AVAILABLE YET**. The account page therefore shows a safe unavailable profile state. Officers do not sign in, enter data, run commands, configure providers, attach billing, or treat App Check as a complete member backend. Netlify still answers `runmprc.com`; production Firebase Hosting remains empty; and DNS, GitHub Pages, Netlify, production Firebase, production data, and live website behavior are unchanged. diff --git a/OPERATIONS_RUNBOOK.md b/OPERATIONS_RUNBOOK.md index 90c550c..67a8fa9 100644 --- a/OPERATIONS_RUNBOOK.md +++ b/OPERATIONS_RUNBOOK.md @@ -801,6 +801,8 @@ WEB-CONTENT-001 [#685](https://github.com/Run-MPRC/Run-MPRC.github.io/issues/685 WEB-MEMBERSHIP-001 [#752](https://github.com/Run-MPRC/Run-MPRC.github.io/issues/752) completed its website publication on 2026-11-14 Pacific time. Release ID `WEB-MEMBERSHIP-001-JOIN-RUN-SPLIT-2026-11-14` used [PR #753](https://github.com/Run-MPRC/Run-MPRC.github.io/pull/753), preview `6af82b71c5687311aff7687f`, release-control head `2e1573509393b55be80354e7b07e4e738f64ac86`, and all six successful jobs in PR CI run `43581302583`. Exact two-parent release merge `28bb09c84a23085fcd9736cc7e559f2fe1b1075d`, parents `ecf68f28ea67a7bb716a3ea01f2f98abc0970622` and `2e1573509393b55be80354e7b07e4e738f64ac86`, tree `f3f5cb3a1c5139f2ad1c828669fdd2c0207f76ea`, passed all six exact-main jobs in run `43581519852`. Production deploy `6af82c1d614632e2c4a9d1dc` published at `2026-11-14T09:38:37.509Z`. Its public marker matched source `37d2198705fa66f9fd8b482b624df1c0fba7d327`, tree `c44ea4b149c3b26e050339cc79f796e7e1f8a56c`, previous source `41a9ae4ebc719212df610ff5cdcf9ca4eab18e71`, rollback deploy `6aa8c5b3fddd040009eba99c`, 62 files, and digest `965a6864515fd8f7234c7481365b0b6ab9a4b5efc1029ebc9a05deef1baea464`; a separate re-hash of all served files was not completed. The source differs from #685 by the Join Us / Run With Us page split, the Zeffy membership link, the Run With Us menu, footer, and not-found links, the one-row menu layout, the sitemap and structured-data entries for the new page, and their tests. Signed-out checks at 390×844 and 1280×900 confirmed that Join Us holds membership only with both membership links opening `https://www.zeffy.com/en-US/ticketing/mid-peninsula-running-clubs-new-member-registration`, that Run With Us holds the waiver and meeting details with no membership link, that the menu lists Run With Us, and that nothing overflows sideways; no form was submitted. [Repause PR #754](https://github.com/Run-MPRC/Run-MPRC.github.io/pull/754) used preview `6af82cd02eac5b14ddb41e8b`, head `5bfa75ce66a07f9ad57cd5e3f3f27d90ede41443`, tree `d5b3014164c39a624463a3c4b106a9f063ad9e9b`, and all six successful jobs in PR CI run `43581750356`. Exact repause merge `3c28115bf67f31346677f317a9c96f1b7fa96a5d`, parents `28bb09c84a23085fcd9736cc7e559f2fe1b1075d` and `5bfa75ce66a07f9ad57cd5e3f3f27d90ede41443`, tree `d5b3014164c39a624463a3c4b106a9f063ad9e9b`, passed all six exact-main jobs in run `43581957963`. Its Netlify attempt `6af82d700e2e18a09e474f8a` failed at initializing and published nothing, and a marker readback afterward still named the #752 release, so deploy `6af82c1d614632e2c4a9d1dc` remained live. The manifest is inactive. The #752 control and repause refs are absent. Source ref `codex/netlify-source-752-membership-page` remains present pending separately approved retirement because it is the only ref to the live commit; until then it shares the latent manual-rebuild risk already recorded for the old #473/#623/#659 hot refs. Rollback ref `codex/netlify-source-752-rollback` remains pinned to #685 source `41a9ae4ebc719212df610ff5cdcf9ca4eab18e71` and deploy `6aa8c5b3fddd040009eba99c`; #659 and #623 are older history. Both merges were administrator merges without a second reviewer. This release changed no Firebase, GitHub Pages, DNS, provider configuration, account, sign-in state, private data, payment, permission, waiver wording, dues text, or reusable release authority. +WEB-CONTENT-002 [#758](https://github.com/Run-MPRC/Run-MPRC.github.io/issues/758) is one active Netlify content exception under review and is not published. Release ID `WEB-CONTENT-002-RUN-WITH-US-ORDER-2026-11-15` pins source `d8354927fbb6d0111190430744d3a9c899b5f0c1`, tree `fd73cb9253abbd6c55de874ca3192401ea4e8013`, 63 files, digest `ee0891ae8e22677a1fc65e4cd698bbe79f64edc92db5e22ad969ff1784422365`, exact expected first parent `8c62a3d4d9f7a7ba5f46fbd3286870e3dfcac4af`, and current production/rollback deploy `6af82c1d614632e2c4a9d1dc`. The source differs from current live source `37d2198705fa66f9fd8b482b624df1c0fba7d327` only by the Join The Club label, the Run With Us section order and waiver notice, the Apple Calendar link, and their tests. The file count rises from 62 to 63 because the Apple Calendar link needs one public calendar file, `mprc-saturday-run.ics`; it holds one weekly Saturday event and names no organizer, attendee, or mailbox. Rollback ref `codex/netlify-source-758-rollback` holds the current live source. Do not promote a preview, use a build hook, or deploy with a local CLI. + Remote-ref correction recorded 2026-09-14: the old #473/#623/#659 hot source refs remain present, superseding older absent/retired statements in this record. Inactive manifests block ordinary `main` publication, but an authorized manual rebuild of a historical active merge remains a latent manual-rebuild path. Do not call those old refs retired. Confirm each rollback ref, then use a separate approved cleanup before removing the corresponding hot ref. Incident record: on 2026-08-01, overbroad source `094af1096ed8721597561cd59bf695d4c4a9d210` was published by merge `40728ff6141e34a279b70cc41d983c22ac5f0daa` as deploy `6a6dc0167fbe68000816b448` after a release-blocker comment. Exact rollback merge `1099ee8e6fdb81141fd9460de175b6d854cbcfdd` published deploy `6a6dc219a8136300081811db`, restoring source `ed1b0833`, tree `878c6628d961f4484cb49208aef53f1e9f2e3b47`, 60 files, and digest `7570955c2a00926e5813aef135f1799172cfd046072ac89fb4e492bed0797092`. Safety merge `dee79511b6e371329aa129139729e112e7a51aad` re-paused the manifest; its Netlify attempt `6a6dc35767a4ef000877e74b` did not publish, and provider readback left the rollback deploy live. The overbroad release ref was deleted and verified absent. This incident changed no Firebase, outside-provider configuration, account, payment, or production data. diff --git a/SECURITY.md b/SECURITY.md index b74a3ee..38fb9a1 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -123,6 +123,7 @@ The findings below describe the repository at the start of the 2026-07-12 assess | WEB-002D completed exact-artifact containment for RISK-036 | [#659](https://github.com/Run-MPRC/Run-MPRC.github.io/issues/659) completed one accessibility-only release on 2026-08-14. Exact release merge `46e23647d8e0bf9fa3a574ea5c5f993be10a419d` published deploy `6a7ece87c5ca4d0007c1a3fc`; its marker and all 62 artifact paths matched frozen source `7496fe0881fb52908c4ff2f40f488df09c94c908`, tree `ccac4c189c195db8ab594e0eefe256ea9fa04996`, digest `e4c26e6f0fbcd086663d86238675f0be228fb649a00628c1c97d1166612f49c7`, and exact six-path diff digest `462eeb01e7a9858678802464f7dd4b76cd2fcb3c13be827efb4f98fa53ca809c`. Signed-out desktop and phone route-focus/menu checks passed. Repause merge `3138a00c1c48e1d5d1dcda0b44722b09a2194ff7` passed exact-main CI run `31783808994`; attempt `6a7ed0ddb00a46000818878d` stayed unpublished and retained the verified deploy. Literal-false directory availability, Firebase, Rules, Functions, indexes, outside-provider configuration, accounts, sign-in, production data, payments, and connected directory behavior were unchanged. | The manifest is inactive; source/control/repause refs are absent; rollback ref `codex/netlify-source-659-rollback` remains pinned to #623 source `c2d87d1f69f15e128a0bc9b1b9f915b7c8417aec`. Treat #659 as a completed one-off, not reusable authority. Keep ordinary publication paused, preserve #507 connected-directory gates, and preserve active #616 OAUTH-001A2L files and its RISK-024 wording byte-for-byte. | | WEB-CONTENT-001 completed exact-artifact containment for RISK-036 | [#685](https://github.com/Run-MPRC/Run-MPRC.github.io/issues/685) completed the content-only banner release. Exact release merge `d25b0fe497e0179d62c060a2df3e3a7a9a2c68c6` published deploy `6aa8c5b3fddd040009eba99c` from frozen source `41a9ae4ebc719212df610ff5cdcf9ca4eab18e71`, tree `7f75ebda7b9d295c5be26acc11b06b452dcc20c6`, 62 files, and digest `cb4eba76c65c3501b37f9a0ad3cf00b6eefbc5a9c2e653f2b3c03607cfe64850`. Its marker and every live file matched. Signed-out phone and desktop checks passed for exact notice text and safe map links, visibility, and overflow; no screenshot was retained. Repause merge `609d7884e0242abce23449562e7e0da04794da1e` passed all five exact-main jobs; attempt `6aa8c78dd7b9d1000952eaa2` errored unpublished with `published_at` null and retained the verified deploy. The manifest is inactive. #659 deploy `6a7ece87c5ca4d0007c1a3fc` and source `7496fe0881fb52908c4ff2f40f488df09c94c908` were its immediate rollback and, with #623 and #473, are now older history. No Firebase, providers, accounts, sign-in, private data, payment, routes, permissions, or reusable authority changed. | Keep ordinary production publication inactive. The temporary #685 source/control/repause refs are retired; rollback ref `codex/netlify-source-685-rollback` remains exact. A 2026-09-14 remote read also found the old #473, #623, and #659 hot source refs present despite older absent/retired wording; their inactive manifests block ordinary merges, but an authorized manual rebuild of a historical active merge remains a latent retry path. Do not treat that residual as resolved. Confirm rollback refs before any separately approved cleanup. | | WEB-MEMBERSHIP-001 completed exact-artifact containment for RISK-036 | [#752](https://github.com/Run-MPRC/Run-MPRC.github.io/issues/752) completed the public page split. Exact release merge `28bb09c84a23085fcd9736cc7e559f2fe1b1075d` published deploy `6af82c1d614632e2c4a9d1dc` from frozen source `37d2198705fa66f9fd8b482b624df1c0fba7d327`, tree `c44ea4b149c3b26e050339cc79f796e7e1f8a56c`, 62 files, and digest `965a6864515fd8f7234c7481365b0b6ab9a4b5efc1029ebc9a05deef1baea464`. Its public marker matched. Signed-out phone and desktop checks passed for the separate Join Us and Run With Us pages, both Zeffy membership links, the menu entry, and no horizontal overflow; no form was submitted. Repause merge `3c28115bf67f31346677f317a9c96f1b7fa96a5d` passed all six exact-main jobs; attempt `6af82d700e2e18a09e474f8a` failed at initializing, published nothing, and retained the verified deploy. The manifest is inactive. #685 deploy `6aa8c5b3fddd040009eba99c` and source `41a9ae4ebc719212df610ff5cdcf9ca4eab18e71` are the immediate rollback; #659, #623, and #473 are older history. The release replaced the membership Google Form link with the club's public Zeffy form link and added one public route; it added no account, data, payment, or permission code, and no Firebase, provider, sign-in, private data, or reusable authority changed. | Keep ordinary production publication inactive. The #752 control and repause refs are absent; rollback ref `codex/netlify-source-752-rollback` remains exact. Source ref `codex/netlify-source-752-membership-page` remains present as the only ref to the live commit, pending separately approved retirement. Confirm rollback refs before any cleanup. | +| WEB-CONTENT-002 pending exact-artifact containment for RISK-036 | [#758](https://github.com/Run-MPRC/Run-MPRC.github.io/issues/758) is a content-only page change under review and is not published. The frozen delta renames the Join Us label to Join The Club, reorders the Run With Us page, adds a waiver notice, and adds one static public calendar file that names no organizer, attendee, or mailbox; it adds no account, data, payment, or permission code. Production stays on deploy `6af82c1d614632e2c4a9d1dc`. | Permit only pinned source `d8354927fbb6d0111190430744d3a9c899b5f0c1` through the exact-parent merge, verify the public marker and signed-out pages, then disable the exception immediately. | | WEB-001A1/A2 boundary for RISK-010 and RISK-036 | [#663](https://github.com/Run-MPRC/Run-MPRC.github.io/issues/663) adds the dependency-free hosted-build contract and Hosting rewrite. [#665](https://github.com/Run-MPRC/Run-MPRC.github.io/issues/665) adds one club-owned staging project, web app, finalized static Hosting release, provider readback, and signed-out desktop/phone route checks from exact source `a614c68`. | This proves static engineering staging only. It creates no staging backend/provider isolation, App Check, WIF/IAM identity, protected branch/environment, automatic deployment, release marker, tested predecessor rollback, complete header policy, custom domain, DNS/TLS change, production Hosting, `runmprc.com` publication, or live protection. Complete #113/#133 and the remaining #460 children before any end-to-end staging or production claim. | | CI-001D1 boundary for RISK-006 and RISK-010 | [#669](https://github.com/Run-MPRC/Run-MPRC.github.io/issues/669) creates empty Native/Standard staging Firestore in `us-west2`, enables delete protection, keeps PITR off, and deploys exact Rules SHA-256 `fe3f53302db76df5febf7e9d242d82a6b6bec0c0b574ecc8253f1034f1a77dba`, four composite indexes, and 28 field overrides from source `ee16bd16220ab58bd3a2add80dd2f39a1d514dd7`. The 418-case emulator suite passed; active Rules content matched; fixed anonymous server-only reads returned denial; root collection count remained zero. | This proves only an empty staging data boundary. It creates no Auth test user/provider, Function, App Check enforcement, provider sandbox, protected Firebase deploy role, application record, website release, production Rules change, or production behavior. | | RISK-037 | Account/registration deletion, export, retention, backup, and restore procedures are incomplete. | Approve retention matrix, automate minimization, support access/deletion requests, and test backup restoration. | diff --git a/SYSTEM_DESIGN.md b/SYSTEM_DESIGN.md index a8c8100..df02f81 100644 --- a/SYSTEM_DESIGN.md +++ b/SYSTEM_DESIGN.md @@ -141,6 +141,8 @@ WEB-CONTENT-001 [#685](https://github.com/Run-MPRC/Run-MPRC.github.io/issues/685 WEB-MEMBERSHIP-001 [#752](https://github.com/Run-MPRC/Run-MPRC.github.io/issues/752) completed the fifth bounded exact-artifact exception on 2026-11-14 Pacific time. Control head `2e1573509393b55be80354e7b07e4e738f64ac86` used preview `6af82b71c5687311aff7687f`. Exact release merge `28bb09c84a23085fcd9736cc7e559f2fe1b1075d` published deploy `6af82c1d614632e2c4a9d1dc` from source `37d2198705fa66f9fd8b482b624df1c0fba7d327`, tree `c44ea4b149c3b26e050339cc79f796e7e1f8a56c`, 62 files, and digest `965a6864515fd8f7234c7481365b0b6ab9a4b5efc1029ebc9a05deef1baea464`. The public marker matched. Signed-out 390×844 and 1280×900 checks passed for the separate Join Us and Run With Us pages, both Zeffy membership links, the menu entry, and no horizontal overflow; no form was submitted. Exact repause merge `3c28115bf67f31346677f317a9c96f1b7fa96a5d` passed all six jobs in exact-main run `43581957963`; Netlify attempt `6af82d700e2e18a09e474f8a` failed at initializing, published nothing, and retained the verified #752 deploy. The manifest is inactive, the #752 control and repause refs are absent, source ref `codex/netlify-source-752-membership-page` remains present pending separately approved retirement, and rollback ref `codex/netlify-source-752-rollback` remains pinned to #685 source `41a9ae4ebc719212df610ff5cdcf9ca4eab18e71`. #685 deploy `6aa8c5b3fddd040009eba99c` is immediate rollback; #659 and #623 are older history. The pinned source adds the Run With Us route, moves the waiver and meeting details to it, and points Join Us membership links at the Zeffy new-member form. Firebase, providers, accounts, private data, payments, permissions, and the reusable release boundary did not change. +WEB-CONTENT-002 [#758](https://github.com/Run-MPRC/Run-MPRC.github.io/issues/758) arms a sixth bounded exact-artifact exception for one public content change. It is under review and is not published. The pinned source only renames the Join Us label to Join The Club, puts the meeting details and a waiver notice ahead of the waiver on the Run With Us page, and adds an Apple Calendar link backed by one static public calendar file; production stays on deploy `6af82c1d614632e2c4a9d1dc` until exact preview, exact-parent merge, marker, signed-out phone/desktop readback, and repause proof all pass. Firebase, providers, accounts, private data, payments, permissions, and the reusable release boundary are unchanged. + Remote source-ref readback on 2026-09-14 found the old #473, #623, and #659 hot refs still present, superseding older absent/retired wording. Their inactive manifests keep ordinary `main` merges from publishing, but a manual rebuild of a historical active merge remains latent. A separate reviewed cleanup must confirm the matching rollback refs before retiring those hot refs. **WEB-001A1/A2 Firebase Hosting foundation and isolated static staging:** [#663](https://github.com/Run-MPRC/Run-MPRC.github.io/issues/663) makes every controlled optimized browser build select `staging` or `production` explicitly. Local/test still use only `demo-mprc-local` and all three loopback emulators. A staging build requires a complete public Firebase web configuration whose project name has a `staging` boundary; both the browser startup boundary and build contract reject production-equal identities, and CI scans executable JavaScript for every selected staging field and absence of known production Firebase identities. Production requires the exact reviewed public web configuration. `firebase.json` describes `build/`, a missing-path rewrite to `/index.html`, and a predeploy chain that binds the selected web configuration to Firebase CLI's exact `GCLOUD_PROJECT`, rebuilds, and scans the artifact before upload. `.firebaserc` defaults to the non-deployable demo namespace. On 2026-08-26, [#665](https://github.com/Run-MPRC/Run-MPRC.github.io/issues/665) created club-owned project `run-mprc-staging`, one web app, and finalized Hosting version `3ffadcf2ac8cc760` from exact merged source `a614c68d9a1a2be631a3be874a686d61e5d170a0`. Provider and rendered checks passed for [run-mprc-staging.web.app](https://run-mprc-staging.web.app), static assets, direct `/events`, desktop, and phone navigation. diff --git a/docs/officers/PUBLISH_AND_CHECK.md b/docs/officers/PUBLISH_AND_CHECK.md index 50a5ded..2223f1d 100644 --- a/docs/officers/PUBLISH_AND_CHECK.md +++ b/docs/officers/PUBLISH_AND_CHECK.md @@ -16,6 +16,37 @@ **Completed #659 exception:** WEB-002D [#659](https://github.com/Run-MPRC/Run-MPRC.github.io/issues/659) completed one exact-artifact accessibility release on 2026-08-14. The frozen source contains only reviewed #291 visible focus, #490 phone-menu disclosure/close behavior, and #657 client-side route focus. Deploy `6a7ece87c5ca4d0007c1a3fc` was production after that release and was then the immediate rollback for #685; #623 deploy `6a7e072f8f346b0008510d29` was its rollback target. This is not an officer-operated or reusable control. The no-terminal section below is retained as the historical audit record. +## Temporary #758 Join The Club / Run With Us release — UNDER REVIEW, NOT PUBLISHED + +**Purpose:** publish one frozen public change that renames the membership page label from Join Us to Join The Club, puts the meeting details first on the Run With Us page with a "You must sign waiver below" notice directly above the waiver, and adds an Apple Calendar link. + +**Approver:** Dave Liu as platform owner, who requested the change. Officers observe the public result only; they do not run commands, handle credentials, or reuse this exception. + +**Prerequisites:** issue [#758](https://github.com/Run-MPRC/Run-MPRC.github.io/issues/758); frozen source `d8354927fbb6d0111190430744d3a9c899b5f0c1`; tree `fd73cb9253abbd6c55de874ca3192401ea4e8013`; 63-file digest `ee0891ae8e22677a1fc65e4cd698bbe79f64edc92db5e22ad969ff1784422365` (the 63rd file is the public calendar file `mprc-saturday-run.ics`); source ref `codex/netlify-source-758-run-with-us-order`; exact expected first parent `8c62a3d4d9f7a7ba5f46fbd3286870e3dfcac4af`; current deploy `6af82c1d614632e2c4a9d1dc`; rollback ref `codex/netlify-source-758-rollback`; all required checks; a signed-out pinned preview. + +1. Stay signed out. Use no member, account, payment, or private information. Do not submit the Zeffy form or the waiver, and do not add the calendar event. +2. Open the pinned Deploy Preview. Confirm its marker names issue 758, the frozen source/tree, 63 files, and the exact digest. +3. At 390×844, open **Join The Club** from the menu and the footer. Confirm the page heading reads Join The Club and both membership links open the club's Zeffy new-member form. +4. Open **Run With Us** from the menu and the footer. Confirm the order: Ways To Run With Us with the directions, Google Calendar, and Apple Calendar links; then "You must sign waiver below" directly above the Club Activity Waiver; then the Saturday route. +5. Confirm `/mprc-saturday-run.ics` is served as a calendar file, each page links to the other, and nothing overflows sideways. Repeat steps 3–5 at 1280×900. +6. Confirm production still reports deploy `6af82c1d614632e2c4a9d1dc` and `main` still equals `8c62a3d4d9f7a7ba5f46fbd3286870e3dfcac4af`. A preview is not live proof. +7. Merge with a merge commit only. Wait for the Netlify production attempt. Do not promote a preview, use a build hook, or deploy with a local CLI. +8. Read `/.well-known/run-mprc-release.json`. Confirm every identity and artifact field matches the approved record, then repeat steps 3–5 on `runmprc.com`. +9. Merge the prepared disable pull request immediately. Confirm its production attempt publishes nothing. +10. Retire only the #758 hot source, control, and repause refs after readback. Retain the rollback ref. Record the evidence on the issue. + +**Expected result:** the menu, footer, and membership page heading read Join The Club. Run With Us leads with the meeting details and the three links, then the waiver notice and the waiver, then the route. Waiver wording, dues text, the membership form link, Firebase, accounts, payments, and permissions are unchanged. Ordinary production publication is inactive again. + +**Stop conditions:** stop if `main` advances; a required check fails; any source/tree/file-count/digest/parent/ref/deploy/marker value differs; a membership link opens anything other than the approved Zeffy form; the waiver is missing or reworded; the calendar file names an organizer, attendee, or mailbox; layout clips; or unrelated source enters the artifact. + +**Success proof:** record the exact source/tree/digest, control head, pinned preview and marker, phone/computer results, exact two-parent merge, production deploy, public marker, repause merge and attempt, and retained rollback ref on the issue. + +**Undo:** before publication, reject the control PR. If a bad artifact becomes live, ask a Netlify team owner to restore deploy `6af82c1d614632e2c4a9d1dc`; if that control is unavailable, use a newly reviewed exact-parent projection of rollback source `37d2198705fa66f9fd8b482b624df1c0fba7d327`. A manifest-disable commit alone is not rollback. + +**Escalation:** membership or communications owner for wording; platform owner for source, CI, Netlify, marker, the calendar file, or rollback; security owner for any unexpected account, data, or provider behavior. + +#758 is under review and is not published. Production stays on deploy `6af82c1d614632e2c4a9d1dc` until every step above passes. + ## Temporary #752 Join Us / Run With Us release — WEBSITE COMPLETED 2026-11-14 **Purpose:** publish one frozen public change that keeps membership on the Join Us page and moves the meeting details and club activity waiver to a separate Run With Us page. Both membership links open the club's Zeffy new-member form. diff --git a/docs/officers/README.md b/docs/officers/README.md index e33f67d..c337a98 100644 --- a/docs/officers/README.md +++ b/docs/officers/README.md @@ -102,6 +102,8 @@ WEB-CONTENT-001 [#685](https://github.com/Run-MPRC/Run-MPRC.github.io/issues/685 WEB-MEMBERSHIP-001 [#752](https://github.com/Run-MPRC/Run-MPRC.github.io/issues/752) completed the Join Us / Run With Us page split on 2026-11-14 Pacific time. Join Us is the membership page, with both membership links opening the club's Zeffy new-member form; the new Run With Us page holds the meeting details and club activity waiver. Production deploy `6af82c1d614632e2c4a9d1dc` matches frozen source `37d2198705fa66f9fd8b482b624df1c0fba7d327` by its public marker. Signed-out 390×844 and 1280×900 checks passed, and no form was submitted. Repause merge `3c28115bf67f31346677f317a9c96f1b7fa96a5d` passed all six exact-main checks, and attempt `6af82d700e2e18a09e474f8a` published nothing and retained the deploy with the manifest inactive. The #752 control and repause refs are absent; its source and rollback refs remain. #685 deploy `6aa8c5b3fddd040009eba99c` is the immediate rollback. Officers do not run commands, sign in, enter data, or reuse this one-shot release control. +WEB-CONTENT-002 [#758](https://github.com/Run-MPRC/Run-MPRC.github.io/issues/758) renames the Join Us menu label to Join The Club, puts the meeting details first on the Run With Us page with a "You must sign waiver below" notice directly above the waiver, and adds an Apple Calendar link. It is under review and is not published. Production stays on deploy `6af82c1d614632e2c4a9d1dc`. The change must pass exact frozen preview, 390×844 and 1280×900 checks, exact-parent publication, public marker/readback, and immediate repause before anyone calls it live. Officers do not run commands, sign in, enter data, or reuse this one-shot release control. + A 2026-09-14 remote check found the old #473, #623, and #659 hot source refs still present, superseding older absent/retired wording. Ordinary merges remain paused because their manifests are inactive, but a latent manual-rebuild path remains. Officers do not remove refs; a separate platform-owner cleanup must confirm rollback refs first. The general protected GitHub release is still **NOT AVAILABLE YET**. #667 configures only a separate staging read-only identity check: Dave Liu or Jeff Chang reviews exact `main`, and a keyless five-minute identity may read only the staging project identity. It cannot deploy Firebase or publish a website. #133 still owns backend deployment roles and production protection. Missing authority stops the release with a red failure before Firebase or website publication. diff --git a/docs/officers/UPDATE_PUBLIC_CONTENT.md b/docs/officers/UPDATE_PUBLIC_CONTENT.md index 6975abc..c81c005 100644 --- a/docs/officers/UPDATE_PUBLIC_CONTENT.md +++ b/docs/officers/UPDATE_PUBLIC_CONTENT.md @@ -92,6 +92,26 @@ are separate states. This procedure describes #618 source and preview behavior only. It is **NOT LIVE** until an approved exact website release is published and the same checks pass on `runmprc.com`. +## Join The Club label and Run With Us order — #758 UNDER REVIEW, NOT PUBLISHED + +**Purpose:** make the membership page's name clearer, and show a new runner where and when to meet before the waiver. + +- **Join The Club** (`/joinus`): the new menu, footer, and page-heading label for the membership page. The page address, its content, and the membership form link do not change. +- **Run With Us** (`/run-with-us`): Ways To Run With Us comes first, with the directions, Google Calendar, and Apple Calendar links. A "You must sign waiver below" notice sits directly above the club activity waiver. The Saturday route follows. +- **Apple Calendar link**: opens the public calendar file `/mprc-saturday-run.ics`. It holds one weekly Saturday event and names no organizer, attendee, or mailbox. + +**Approver:** membership or communications owner for the label and page order; a club officer plus the approved legal owner for any waiver wording. This change moves and announces the waiver without rewording it. + +1. To change the meeting time or place, give AI the old and new details and ask it to update the page text, the Google Calendar link, and the calendar file together. The three must always match. +2. Open each calendar link from the preview in a private window to confirm it shows the Saturday run. Do not add the event. +3. Check both pages signed out at 390×844 and 1280×900, and confirm each links to the other. + +**Stop conditions:** stop if the request changes waiver wording, dues, or refund terms; the calendar file would name a person or mailbox; a link is an edit or owner link; or either page asks for sign-in. + +**Undo:** before publication, reject the pull request. After publication, ask the platform owner to restore the recorded previous deploy. + +[#758](https://github.com/Run-MPRC/Run-MPRC.github.io/issues/758) is under review and is not published. Production stays on deploy `6af82c1d614632e2c4a9d1dc` until the exact release and live checks pass. + ## Join Us and Run With Us pages — #752 WEBSITE LIVE AND VERIFIED 2026-11-14 **Purpose:** keep membership and the activity waiver on separate public pages so a new runner is not asked to read both at once. diff --git a/tests/release-workflow.test.js b/tests/release-workflow.test.js index 500d25b..2dfcf5f 100644 --- a/tests/release-workflow.test.js +++ b/tests/release-workflow.test.js @@ -50,6 +50,22 @@ const workflow = fs.readFileSync(WORKFLOW_PATH, 'utf8'); const netlifyConfig = fs.readFileSync(NETLIFY_CONFIG_PATH, 'utf8'); const netlifyBuild = fs.readFileSync(NETLIFY_BUILD_PATH, 'utf8'); const gitignore = fs.readFileSync(GITIGNORE_PATH, 'utf8'); +const PENDING_RELEASE_TRUTH_PATHS = [ + 'IMPLEMENTATION_PLAN.md', + 'OFFICER_START_HERE.md', + 'OPERATIONS_RUNBOOK.md', + 'SECURITY.md', + 'SYSTEM_DESIGN.md', + 'docs/officers/PUBLISH_AND_CHECK.md', + 'docs/officers/README.md', + 'docs/officers/UPDATE_PUBLIC_CONTENT.md', +]; +const pendingReleaseTruth = new Map( + PENDING_RELEASE_TRUTH_PATHS.map((relativePath) => [ + relativePath, + fs.readFileSync(path.join(ROOT, relativePath), 'utf8'), + ]), +); const finalReleaseTruth = new Map( FINAL_RELEASE_TRUTH_PATHS.map((relativePath) => [ relativePath, @@ -228,60 +244,73 @@ test('Netlify production is an exact-artifact release while previews remain avai }); }); -test('Netlify manifest pins the inactive bounded #752 Join Us and Run With Us release', () => { +test('Netlify manifest pins the active bounded #758 Join The Club and Run With Us release', () => { const loaded = loadManifest(NETLIFY_MANIFEST_PATH); assert.equal(loaded.ok, true); - assert.equal(loaded.manifest.active, false); + assert.equal(loaded.manifest.active, true); assert.equal( loaded.manifest.releaseId, - 'WEB-MEMBERSHIP-001-JOIN-RUN-SPLIT-2026-11-14', + 'WEB-CONTENT-002-RUN-WITH-US-ORDER-2026-11-15', ); - assert.equal(loaded.manifest.issueNumber, 752); + assert.equal(loaded.manifest.issueNumber, 758); assert.equal( loaded.manifest.expectedProductionParent, - 'ecf68f28ea67a7bb716a3ea01f2f98abc0970622', + '8c62a3d4d9f7a7ba5f46fbd3286870e3dfcac4af', ); assert.equal( loaded.manifest.sourceCommit, - '37d2198705fa66f9fd8b482b624df1c0fba7d327', + 'd8354927fbb6d0111190430744d3a9c899b5f0c1', ); assert.equal( loaded.manifest.sourceTree, - 'c44ea4b149c3b26e050339cc79f796e7e1f8a56c', + 'fd73cb9253abbd6c55de874ca3192401ea4e8013', ); assert.equal( loaded.manifest.previousSourceCommit, - '41a9ae4ebc719212df610ff5cdcf9ca4eab18e71', + '37d2198705fa66f9fd8b482b624df1c0fba7d327', ); assert.equal( loaded.manifest.rollbackDeployId, - '6aa8c5b3fddd040009eba99c', + '6af82c1d614632e2c4a9d1dc', ); assert.equal( loaded.manifest.sourceRef, - 'refs/heads/codex/netlify-source-752-membership-page', + 'refs/heads/codex/netlify-source-758-run-with-us-order', ); assert.equal( loaded.manifest.previewBranch, - 'codex/issue-752-netlify-release', + 'codex/issue-758-netlify-release', ); - assert.equal(loaded.manifest.expectedSiteFileCount, 62); + assert.equal(loaded.manifest.expectedSiteFileCount, 63); assert.equal( loaded.manifest.expectedSiteFilesSha256, - '965a6864515fd8f7234c7481365b0b6ab9a4b5efc1029ebc9a05deef1baea464', + 'ee0891ae8e22677a1fc65e4cd698bbe79f64edc92db5e22ad969ff1784422365', ); }); -test('completed #752 records are current while #685 is immediate rollback', () => { +test('pending #758 records keep #752 live until exact publication', () => { assert.match( netlifyConfig, - /temporary #752 production authority is inactive again/i, + /#758 control-branch preview verifies its exact pinned source/i, ); assert.match( netlifyConfig, - /Ordinary[\s\S]{0,20}previews use their checked-out tree/i, + /Other[\s\S]{0,20}previews use their checked-out tree/i, ); + pendingReleaseTruth.forEach((contents, relativePath) => { + assert.match(contents, /#758/, relativePath); + assert.match(contents, /under review and is not published/i, relativePath); + assert.match(contents, /6af82c1d614632e2c4a9d1dc/, relativePath); + assert.doesNotMatch( + contents, + /#758[^\n]{0,180}(?:completed|is live|published deploy)/i, + `${relativePath} must not call #758 published before the live checks`, + ); + }); +}); + +test('completed #752 records are current while #685 is immediate rollback', () => { finalReleaseTruth.forEach((contents, relativePath) => { assert.match(contents, /#752/, `${relativePath} must name #752`); assert.match(