# RootHVN staged release acceptance record

This record is the go/no-go checklist for the RootHVN Sngine extension. It
separates source evidence from host, browser and physical-device evidence so a
successful code scan is never mistaken for a production release. Keep Courses,
Summits, Event sign-ups, Community Feed, Messaging, Botanica and Payments disabled
until their applicable rows pass on the exact release candidate.

## Product architecture invariant

RootHVN is a complete utility-and-social super app. The initial utility-first
release state is a launch sequence, not a reduction in product scope: Today,
Calendar, Planning, Notebook, Habits and Notifications open first, while the
full social network, Messaging, Courses, teacher studios, cohorts/Summits and
event interactions remain integrated and independently activatable. Owner and
authorized platform-admin switches must hide or reveal each module without
deleting its data, changing utility ownership or making another module a hidden
dependency. A course or cohort may work while Community Feed is disabled; an
explicit audited share is required before course content enters the feed.

## Release identity

Complete these fields when the allowlisted archive is built and again after it
is copied to staging:

- Previous host-verified staging source commit: `3aa836d`
- Current local candidate archive: `roothvn-superapp-calendar-alerts-v21-20261129.zip`
- Current local candidate SHA-256: `4bd24ac0edc4b3f59df5e58ddb6ef95af065241c946ddf4558ac9eb5c5695d61`
- Current staged overlay: `roothvn-staging-calendar-alerts-v21-20261129.zip`
- Current staged overlay SHA-256: `479138aa759d1b91964d6c2b89958439253be06bdb5374e6b7a10f32740e6dd7`
- Previous complete rollback archive: `roothvn-superapp-production-candidate-v20-20261129.zip`
- Candidate identity note: both v21 archives passed `unzip -t`; the overlay was extracted only into the disposable staging document root. The exact v21 host PHP lint/byte attestation remains a release gate, and a new Git commit ID remains unavailable because the existing Git index intermittently times out
- Public landing product commit: `982b8e2` (packaged together with this acceptance record in the following release commit)
- Public asset permission guard commit: `895c62e`
- Staging document root: `/home/resthvmn/roothvn-demo`
- Disposable staging database: `resthvmn_roothvn_preview`
- Host PHP version: `8.4.28` (`/usr/local/bin/lsphp`)
- Tested by / date: `Codex staging acceptance / 2026-11-29 Asia/Manila`

## Current evidence

The following source-level checks passed on the development checkout. They must
be repeated against the release commit and do not replace the pending staging
checks below.

| Area | Evidence | Current result |
| --- | --- | --- |
| Utility JavaScript | `node --check roothvn/assets/roothvn.js` | PASS (source) |
| RootHVN authentication brand | `node roothvn/tests/auth-brand-contract.cjs` plus isolated Chrome renders at phone and desktop widths | PASS (official rose asset, exact green/cream palette, Fraunces/Montserrat roles, functional native Sngine sign-in form, zero browser errors) |
| Learning JavaScript | `node --check roothvn/assets/learn.js` | PASS (source) |
| Course editor JavaScript | `node --check roothvn/assets/course-editor.js` | PASS (source) |
| Summit JavaScript | `node --check roothvn/assets/cohorts.js` | PASS (source) |
| Event sign-up JavaScript | `node --check roothvn/assets/rsvp.js` | PASS (source) |
| Service worker JavaScript | `node --check sw.js` | PASS (source) |
| Learning schema | `node roothvn/tests/learning-schema-acceptance.cjs` | PASS (25 namespaced tables) |
| Summit contract | `node roothvn/tests/cohort-acceptance.cjs` | PASS (source) |
| Event sign-up contract | `node roothvn/tests/calendar-rsvp-contract.cjs` | PASS (source) |
| Event sign-up staging lifecycle | `node staging-tests/event-rsvp-acceptance-harness-contract.cjs` plus the temporary same-origin HTTPS verifier | PASS: 3/3 owner, 10/10 member and 1/1 cleanup boundaries |
| Protected course media | `node roothvn/tests/course-media-contract.cjs` | PASS (source) |
| Exact offline font bundle | `node roothvn/tests/font-bundle-contract.cjs` | PASS (source) |
| Course curriculum, flashcards and workbook | `node roothvn/tests/course-depth-contract.cjs` | PASS (source: exact module/lesson set and reorder contracts, soft-delete/quarantine rules, checkpoint cards and instructor workbook) |
| Anonymous and signed-in gates | `node roothvn/tests/module-gate-contract.cjs` | PASS (source) |
| Signed mobile safety and disabled-module matrix | `node staging-tests/mobile-api-matrix-contract.cjs` plus the temporary HTTPS staging harness | PASS (source contract and 19/19 runtime probes; exact member, instructor and administrator fixtures; malformed JWT fails closed; Community, Messaging and Payments stay absent; report/block safety remains available; disposable sessions are deleted in `finally`) |
| Super-app module registry and independence | `node roothvn/tests/module-activation-contract.cjs` | PASS (source: all 15 utility, community, learning, event, publishing and commerce modules are seeded with safe defaults; owner/admin state changes are audited and non-destructive; Today remains the signed-in home; Courses and Summits remain independent of Community; protected instructor uploads and explicit course-to-feed consent are enforced) |
| Release allowlist containment | `node roothvn/tests/release-allowlist-contract.cjs` | PASS (source) |
| Public asset permissions | `node roothvn/tests/public-asset-permissions-contract.cjs` | PASS (18 allowlisted browser assets package as `0644`) |
| Migration collision safety | `node roothvn/tests/migration-safety-contract.cjs` | PASS (source) |
| Kids Mode PIN boundary | `node roothvn/tests/kids-mode-contract.cjs` | PASS (source) |
| Kids Mode staging lifecycle | `node staging-tests/kids-mode-acceptance-harness-contract.cjs` plus the temporary same-origin HTTPS verifier | PASS: 1/1 owner preparation, 14/14 member PIN/lockout/privacy boundaries and 1/1 exact cleanup |
| Course access staging matrix | `node staging-tests/course-access-acceptance-harness-contract.cjs` plus the temporary same-origin HTTPS verifier | PASS: owner preview, 5/5 active learner, 6/6 completed/Kids Mode learner, 6/6 unenrolled minor and exact cleanup boundaries |
| Summit access staging matrix | `node staging-tests/summit-access-acceptance-harness-contract.cjs` plus the temporary same-origin HTTPS verifier | PASS: owner preview, 5/5 active member, 6/6 adult nonmember/privacy/Kids Mode, 4/4 minor and exact cleanup boundaries |
| Summit workflow staging matrix | `node staging-tests/summit-workflow-acceptance-harness-contract.cjs` plus the temporary same-origin HTTPS verifier | PASS: invite/replay/revoke/reinvite, invite-only join/replay, native and RootHVN count synchronization, moderator promotion/demotion/replay, one public event/replay, leave/replay, invitation/membership/role audits and exact cleanup boundaries |
| Course calendar/share staging matrix | `node staging-tests/course-integration-acceptance-harness-contract.cjs` plus the temporary same-origin HTTPS verifier | PASS: no automatic item/post, unconfirmed-share denial, deterministic calendar replay, one-time explicit share replay and exact cleanup boundaries |
| Versioned public PWA shell | `node roothvn/tests/pwa-shell-contract.cjs` | PASS (source) |
| Profile color allowlist | `node roothvn/tests/profile-color-contract.cjs` | PASS (source) |
| Profile calendar privacy | `node roothvn/tests/profile-calendar-contract.cjs` | PASS (source) |
| Profile calendar host projection | `node staging-tests/profile-calendar-transaction-harness-contract.cjs` and `node staging-tests/profile-calendar-rendered-acceptance-harness-contract.cjs` plus temporary rollback-only staging verifiers | PASS: anonymous received only the public row, a real follower received public plus followers-only, private descriptions/identifiers never rendered, and disabling Calendar/Planning removed the projection; transactions rolled back and public harnesses return 404 |
| Web session and cross-account boundary | `node staging-tests/security-boundary-acceptance-harness-contract.cjs` plus the temporary same-origin HTTPS verifier | PASS: two synthetic members received only their own private bootstrap; foreign item, subtask, habit and reminder mutations failed with exact unavailable errors; member module mutation failed `platform_admin_required`; malformed and expired sessions exposed no private data; valid CSRF passed; cleanup was exact |
| Private MP4/WebVTT depth | `node staging-tests/course-media-depth-acceptance-harness-contract.cjs` plus the temporary same-origin HTTPS verifier | PASS: MP4 and WebVTT validation/finalization, transaction and file rollback on forced failure, authorized 200/206 delivery, exact range bytes, enrolled-role access, unenrolled 404 without disclosure, raw-path denial and exact cleanup |
| Planner and subtasks | `node roothvn/tests/planner-depth-contract.cjs` | PASS (source) |
| Notebook drawing | `node roothvn/tests/notebook-drawing-contract.cjs` | PASS (source) |
| Notebook browser lifecycle | `node roothvn/tests/notebook-browser-acceptance.cjs` with headless Chrome against the public offline shell | PASS (draft recovery, 12 ink/width combinations, undo, confirmed clear/remove, 12-page and 4,500-point boundaries, oversized-save denial, zero browser errors) |
| Habit management | `node roothvn/tests/habit-depth-contract.cjs` | PASS (source) |
| Habit cross-account isolation | `node staging-tests/habit-isolation-harness-contract.cjs` plus the temporary same-origin HTTPS verifier | PASS: 2/2 owner setup, 8/8 hostile member boundaries and 1/1 exact cleanup |
| Calendar views | `node roothvn/tests/calendar-depth-contract.cjs` | PASS (source) |
| Responsive calendar, private phone connection and alert choices | `node roothvn/tests/calendar-connect-alerts-contract.cjs` plus a signed-in mobile-width staging measurement | PASS: the 559 CSS-pixel responsive viewport had matching page/card/grid scroll widths, seven equal weekday columns, all 42 grid cells inside the viewport, a fixed five-destination bottom navigation and 16px minimum form controls; the read-only Apple/Google/ICS dialog and default-off, category-level alert dialog rendered without creating a token or changing permission |
| Offline astronomy | `node roothvn/tests/astronomy-contract.cjs` plus pinned-vendor checksum | PASS (source) |
| Recipe groceries | `node roothvn/tests/recipe-grocery-contract.cjs` | PASS (source) |
| Reminder lifecycle | `node roothvn/tests/reminder-contract.cjs` | PASS (source only; delivery pending) |
| Utility-first launch boundary | `node roothvn/tests/utility-launch-contract.cjs` | PASS (source) |
| Offline PWA browser lifecycle | `node roothvn/tests/offline-acceptance.cjs` with headless Chrome, an intentional disconnected API and a controlled reconnect API | PASS (cold shell, private-cache exclusion, selected-date capture, account-scoped create/update/delete queueing, one-time replay, zero-entry outbox reconciliation, missing-pointer isolation and invalid-auth fail-closed cleanup) |
| Patch hygiene | `git diff --check` | PASS (source) |
| Retired Growth Tracker | No active template, route, asset or module seed | PASS (source) |
| Complete non-browser regression | All `roothvn/tests/*.cjs` contracts except the two dedicated browser harnesses, plus all `staging-tests/*-contract.cjs` source guards | PASS on the 127-file candidate after the signed-mobile Course/Summit router and staging acceptance contracts were added |

## Staging evidence captured on 2026-11-28

These are runtime results from the separate HTTPS staging installation. A
partial result does not close the corresponding hard gate.

| Area | Runtime evidence | Result |
| --- | --- | --- |
| Owner bootstrap | Synthetic `rh_test_owner` reviewed by exact username and account ID; one-time owner lock succeeded and was recorded in the role audit log | PASS |
| Role separation | The synthetic owner sees audited module switches. Authorized platform admins receive the same module-management surface; ordinary members and instructors remain excluded. Reversible member/admin previews, authenticated disabled-module probes, enabled Course/Summit matrices, forged business-host rejection, and the web cross-account utility/session matrix all passed and returned to the canonical owner | PASS for owner/admin/member/instructor server authority, module-management allocation, forged host denial, private bootstrap isolation and foreign utility mutation denial; physical-device real-credential replay remains a user gate |
| Disabled Courses | With Courses Disabled, member editor/workbook/native routes redirected closed, course mutation and protected-media endpoints returned exact 404 `module_disabled`, administrator preview writes stopped at 403 `csrf`, and the signed-mobile disabled/enabled Course/Summit matrix passed without writes | PASS for page, web mutation and signed-mobile boundaries with exact cleanup |
| Authentication sign-out | Runtime test found and fixed a missing Sngine cache token in the RootHVN sign-out link; the corrected link ended the authenticated session and returned the signed-out form | PASS |
| Member data isolation | A task created as `rh_test_member_a` did not render for `rh_test_member_b` | PASS for online task read isolation |
| Today layouts | Narrow layout rendered bottom utility navigation; wide layout rendered the persistent utility rail and the same private member data. The signed-in staging Today page was then measured at the 768×1024 tablet breakpoint: the 784 CSS-pixel viewport had matching 784 scroll width (no horizontal overflow), a 736-pixel content column with 24-pixel gutters, the complete greeting/three daily metrics/Agenda/Habits/Notebook/Coming up structure, and a 760-pixel five-destination utility bar | PASS for phone, tablet and desktop |
| Reminder persistence | A synthetic member scheduled and updated an in-app reminder, then closed and reopened the item and retained the updated time. A second browser pass under the canonical staging owner created the disposable `RH Reminder Acceptance 2026-11-29` item, scheduled an in-app reminder for 09:00, changed it to 09:30, reloaded and retained the exact updated time, cancelled it through RootHVN's accessible confirmation dialog, deleted the parent item and reloaded with the fixture absent and the app at `Synced` | PASS for schedule/update/reopen/cancel and fixture cleanup; notification permission, real device delivery and sign-out/account cleanup remain pending |
| Kids Mode | Through Sngine's native reversible Login As boundary, `rh_test_member_b` created PIN 2468, enabled Kids Mode, changed the PIN to 1357, proved the old PIN failed, disabled and re-enabled with the new PIN, accumulated four ordinary failures, received exact 429 `kids_mode_locked` on failure five, and remained locked even with the correct PIN. The server retained only its password hash and lock state; the safe bootstrap exposed status only, and IndexedDB plus local/session storage contained no PIN, hash, failure count or lock timestamp | PASS: 1/1 owner preparation, 14/14 member boundaries and 1/1 exact cleanup; the exact prior absence of a preference row was restored and the temporary verifier now returns HTTP 404 |
| Profile color | The canonical staging owner selected Sage mist, Soft moss, Garden glass, RootHVN green, Earth brown, Warm gold, Pressed rose and Evening charcoal through the real More controls. Each accepted value appeared on a fresh public `/webdevk` profile response as the exact escaped `--rh-profile-accent` value; the saved button state survived server reloads. Default then removed the override, returned the control to pressed Default and removed the public inline accent. The source contract independently locks the same eight-value server allowlist, rejects arbitrary input and requires Smarty HTML escaping | PASS |
| Host compatibility | Earlier exact candidates passed all 34 allowlisted PHP lints on `/usr/local/bin/lsphp` 8.4.28 with pdo_mysql, fileinfo, mbstring, GD and Zip loaded. v20 retains the shared private-media finalization refactor and adds the expanded offline replay acceptance record; it must repeat the same host checks | Accept only with the external v20 byte/lint attestation |
| Migration state | Authenticated installer reports `Installed`, lists migrations `0001` through `0007` with stored SHA-256 values, exposes no apply action on the repeat visit, and identifies only the synthetic RootHVN owner | PASS on disposable staging database |
| Exact staging overlay | The prior candidate passed private backup, rollback and forward recovery with exact 127-file comparison and 34 PHP lints. The v20 archive retains the same 127-path allowlist while incorporating the shared media-finalization refactor and expanded offline replay evidence | Accept only with its sibling checksum and external v20 127/127 byte/lint attestation |
| Independent Courses and Summits | With Community Feed still Disabled, the owner enabled Courses and Summits separately with audited reasons. Learn rendered course discovery, library, Teach, review and the approved `Synthetic Rooted Week` course. The owner linked that course into the private `Synthetic Rooted Circle`; `rh_test_member_a` opened it from the Summit and retained 100% learner progress. The same member entered the exact linked native group, created and reloaded a disposable Summit discussion, added a comment, then deleted the parent post and verified both fixtures were gone. This exposed and corrected two integration defects: the linked group was previously inherited from the disabled global Community gate, and Sngine's custom confirmation prevented the old unlink handler from sending its request. v14 now grants only authorized linked-Summit access, while v15 uses an accessible two-step unlink control. The temporary relationship was removed and persisted after reload; Courses, Summits and Community were returned to audited Disabled, direct linked-group access failed closed, and the retained course remained available to owner preview | PASS for the tested linked-course learner path, native Summit post/comment lifecycle, cleanup, positive unlink and independent launch switches; remaining privacy combinations and signed-mobile Course/Summit matrices stay separate gates |
| Social master switch | The owner enabled Community Feed with audited staging reasons and reloaded the server-owned shell. `Open community` reached the native Sngine News Feed with Stories, the post composer, Photos, Video, feed filters and suggested people/Pages; the same native navigation linked directly back to Today, Calendar, Planning and Notebook, and Today returned with the owner utility data intact. Through Sngine's reversible `Login As` boundary, `rh_test_member_a` first created, verified and deleted the unmistakable public post `RH SOCIAL ACCEPTANCE 2026-11-29`. In a separate disposable lifecycle, the member created `RH SOCIAL INTERACTIONS 2026-11-29`, added and verified `RH COMMENT ACCEPTANCE 2026-11-29`, added a Like that rendered `1 Likes`, then deleted the parent post and verified that both the post and child comment disappeared. The canonical owner session was restored and Community Feed was returned to audited Disabled; after reload Search, Create and Open community disappeared while every utility stayed enabled | PASS for the social switch, native-feed surface, ordinary-member post/comment/reaction lifecycle, cleanup and social-to-utility round trip; cross-account privacy, report/block and high-volume moderation remain separate regression gates |
| Independent Messaging switch | The candidate synchronizes the audited RootHVN Messaging state with Sngine's native `chat_enabled` option. With Community Feed Disabled, enabling Messaging exposed the native Messages menu and composer. Staging then found and corrected two hidden Community dependencies: recipient autocomplete now supplies an explicit Messaging context to the server gate, and the profile Message action is independent from the social Follow block. As `rh_test_member_a`, the profile showed Message but not Follow, the native composer sent the exact disposable fixture to `rh_test_member_b`, Member B received it with an unread indicator and the exact text, and Member A deleted the conversation. The empty inbox was verified, the canonical owner session was restored, Messaging was returned to audited Disabled, a fresh reload hid the Messages control, and direct `/messages` access returned safely to Today while all utilities stayed enabled | PASS for independent switch, native profile/composer, member-to-member send, recipient receipt/unread state, Community separation, deletion/cleanup and disabled-route enforcement |
| Global-root navigation | The signed-in topbar and internal RootHVN wordmark now link explicitly to `roothvn.php?view=today`, keeping the private utility workspace as the stable home whether Community is disabled or enabled. The staged link was clicked successfully at the default desktop width and a 390×844 phone viewport, landing on the full Today experience both times without the prior bare-URL failure | PASS |
| Anonymous utility-first boundary | Signed-out home rendered the sign-in surface with no post/story/feed content; a public fixture profile exposed only All/About plus the explicit closed-Community message; staging metadata reads “Plan your day. Plant your roots.” The signed-mobile safety matrix retained report/block access while Community stayed unavailable | PASS for the staged anonymous surface and report/block module boundary |
| Course authoring and review | Authorized synthetic instructor created, submitted and revised a course with module, sanitized article lesson, quiz and flashcard; owner and native administrator review, stale-version rejection, audit inspection and notification-failure isolation passed. A signed-mobile forged business-Page creation returned exact 422 `Choose a business Page you manage.` without inserting a course | PASS for the tested free-course workflow, concurrency, review/audit isolation and forged-host boundary; minor access is covered by the separate Course access matrix |
| Curriculum management | The synthetic course module title and lesson summary were edited/restored, modules and lessons were created/reordered/preserved/soft-deleted, the winning mutation advanced the locked course version while the stale mutation created no row, and enabled web/signed-mobile authority matrices rejected foreign curriculum writes | PASS for lifecycle, cleanup, review invalidation, concurrency and cross-role mutation boundaries |
| Personal and business course hosts | The server maps only managed Pages, rechecks Page adminship on creation, retains the accountable instructor and locks host identity. Authorized personal/managed-Page lifecycles passed; a signed-mobile forged Page submission returned exact 422 and created no course; disposable Page/course/session data were removed | PASS for authorized and hostile host boundaries with cleanup |
| Course learner path | Synthetic member discovered the approved course, enrolled, read the lesson, revealed the flashcard, answered the quiz and reached 100% progress; Courses were then returned to audited Disabled | PASS for the tested enrollment/progress workflow |
| Flashcard lifecycle | With Community Feed still Disabled, the owner independently enabled Courses under an audited temporary reason. `rh_test_instructor` added two unmistakable lesson-scoped cards, reordered B ahead of A, edited A, reloaded and retained the exact value, and submitted the course. A temporary mutation-free staging harness then sent the current course version with a stale card version; the API returned exact 409 `version_conflict` and preserved the saved term and definition. Owner review became pending, the owner reapproved it, and `rh_test_member_a` saw the exact B-then-A order and revealed both exact definitions. The instructor removed both cards through the two-press safeguard, resubmitted, and the owner reapproved the restored one-card baseline. The stale-conflict harness was removed from the public root and a cache-bypassed request returned RootHVN's 404. The canonical owner session was restored, Courses returned to audited Disabled, an ordinary member direct course request redirected to `roothvn.php?unavailable=courses`, and owner preview retained the preserved course | PASS for create, edit, persistence, exact reorder, stale-row conflict, review invalidation/reapproval, learner reveal, delete, cleanup, independent Course operation and disabled-member/owner-preview boundaries |
| Member course authority | With Community Feed Disabled, an enrolled member retained learner progress while editor/workbook access failed closed. Disabled course mutation/media probes returned exact 404. Enabled web and signed-mobile matrices then rejected foreign curriculum/media actions for ordinary members while instructor/admin previews reached only their intended validation boundaries | PASS for learner access, authoring/workbook denial and enabled/disabled cross-role mutation authority |
| Instructor workbook authority | With Courses independently enabled and Community Feed still Disabled, `rh_test_instructor` opened the retained course's full instructor studio and the visible `Download workbook PDF` control completed a protected media download. The canonical owner session was restored and Courses returned to audited Disabled with the acceptance result recorded in the module audit reason | PASS for accountable-instructor download, owner/admin preview and ordinary-member denial |
| Protected course cover | The existing official RootHVN rose asset was uploaded through the chunked protected-media endpoint, invalidated approval, and returned through authenticated delivery; later media matrices proved replacement quarantine, hostile-file rejection, role/range delivery and cross-account denial | PASS |
| Protected lesson material | CSV replacement/quarantine and hostile-type rejection passed first. The depth matrix then validated a minimal MP4 and WebVTT into private storage, finalized both through the shared production transaction, forced a failed finalize and proved both database rollback and file unlink, returned exact 200/206 protected media with `ftyp` range bytes and WebVTT body to an authorized viewer, denied an unenrolled viewer with nondisclosing 404, denied the raw private path, and removed every disposable row/file | PASS for validation, private storage, replacement/quarantine, byte ranges, captions, raw-path denial, rollback and cleanup |
| Summit invitation and approval | Owner created a synthetic Summit backed by a native Sngine Group, invited two exact usernames, observed an invited member join, required host approval for another member, approved the request and assigned the approved member as moderator | PASS for invitation, approval and moderator paths |
| Summit privacy and revocation | Invite-only discovery listed the Summit but denied uninvited joining; Private removed it from an unauthorized minor’s discovery and returned only `Summit unavailable` for the direct URL; an approved member left through the two-step confirmation and immediately lost direct access | PASS for tested discovery, direct-access and revocation boundaries |
| Summit module reset | Owner recorded the acceptance result in the module audit reason and returned Summits to Disabled without deleting the synthetic acceptance data | PASS |
| Habit lifecycle | Synthetic member created, edited, completed/uncompleted, archived/restored and deleted a habit. A separate hostile-member matrix denied read/update/archive/restore/delete/complete/uncomplete, and the later web security matrix again rejected foreign habit mutation without changing the row | PASS for lifecycle, read isolation, direct mutation denial and cleanup |
| Utility confirmations | Runtime testing exposed Sngine's asynchronous override of `window.confirm`, which left destructive utility actions inert; RootHVN now uses its own accessible confirmation dialog for planner, reminder, habit and notebook actions, and the corrected habit archive/delete flow passed in staging | PASS for the corrected habit path; remaining destructive paths require runtime replay |
| Planner depth | Synthetic member created and edited a private task with emoji, details, date, exact time, duration, time-of-day, priority, highlighter and Roots; added, edited, reordered and completed two quantity/note subtasks; scheduled, updated and cancelled a reminder; duplicated and deleted the copy; completed/reopened the task; snoozed it to the following week; and permanently deleted the original with its children. All four list styles and all goal horizon/state values persisted after reload and appeared consistently in Planning, Today and Calendar | PASS for the complete browser matrix and final fixture deletion |
| Queued planner mutations | Reordering now batches both position updates before one flush, and the generic outbox automatically drains mutations added while another flush is active. A rapid reminder update/cancel and the four-list/three-goal creation burst all reached `Synced` and survived reload without a later manual mutation. The disconnected-browser matrix then queued create, update and delete, replayed each exactly once after reconnect, drained the outbox to zero and rendered the reconciled server state | PASS |
| Offline replay server boundary | A temporary host-locked, exact-account, CSRF-protected staging harness created one private `RH Offline Replay Acceptance 2026-11-29` task through the production mutation endpoint. Replaying the exact create mutation returned the stored receipt with `replayed:true` and left exactly one row; the current update advanced version 1 to 2; a different mutation carrying stale version 1 returned `conflict`, preserved the version-2 title and appeared in the account conflict list; the version-2 delete applied once and replayed without a second delete. The harness then removed the exact soft-deleted item, one conflict and all four receipts, was moved to cPanel trash and returned RootHVN's 404 at a cache-bypassed URL. The local browser half separately queued and reconciled create/update/delete through the production client path | PASS for client queue/reconnect, server receipt idempotency, current update, stale conflict preservation, delete replay and exact cleanup |
| Calendar views and entry styling | A synthetic Event persisted on November 29; Grid, Plan, Today and Grid again preserved the selected date and item state; completion survived the view cycle and reopening survived reload. Tapping List, Event, Note, Recipe, Custom and Emoji selected the matching exact type. Pink persisted after reload and Default cleared the explicit highlighter. The fixture was then permanently deleted | PARTIAL: view, tap, persistence, completion and cleanup passed; the physical 350 ms hold gesture and its menu on each type remain pending |
| Offline astronomy layers | Moon phases alone rendered the November 2 Last Quarter, November 9 New Moon, November 17 First Quarter and November 24 Full Moon markers plus selected-day Waning Gibbous. Enabling retrogrades added Saturn, Uranus and Neptune on November 28, `Venus retrograde begins today` on October 3 and `Venus retrograde ends today` on November 14. Both preferences survived reload for member A, stayed off for member B, returned for member A and were reset after evidence capture | PARTIAL: online runtime, station labels, persistence and account isolation passed; cold-offline reopen and independent request audit remain pending |
| Recipe groceries | The first synthetic run detected quantity/unit ingredients, accepted a manual ingredient, created one private grocery list, and preserved a checked row and a manually edited row until repeat conversion exposed an extra normalized duplicate. The reconciliation defect was fixed in `980ca5f`, host-linted, archive-matched and replayed to `Synced`; retained deleted evidence contains exactly three ordered rows—checked `2 tbsp olive oil`, edited `3 cloves garlic — chopped` with `Keep this manual grocery edit`, and `1 lemon`—with no plain duplicate. The real offline acceptance then exposed and fixed a dependent-version handoff defect: the queued recipe save now hands conversion version N+1. A host-locked owner harness stored the save and dependent conversion in IndexedDB, replayed save version 2 before creating one private grocery list with exactly three rows, replayed the identical conversion without duplication, advanced the recipe to server version 3 and proved stale client version 2 returned a conflict without changing the grocery list. Exact cleanup removed 2 items, 3 subtasks, 1 conflict and all 5 receipts; the harness was moved to cPanel trash, returned RootHVN's 404 and live Planning contained no acceptance fixture | PASS |
| Notebook server integrity | The canonical synthetic owner ran the production mutation endpoint through a bounded, self-restoring staging harness. The first run exposed that the shared conflict helper read entity `version` but not Notebook `revision`, so the document stayed protected while the reported server version was incorrectly zero. A one-file repair normalizes both names. The rerun passed a signed save at revision 7, exact replay without a revision bump, stale client revision 6 versus server revision 7 with the saved document unchanged, host rejection of page 13, point 4,501 and a document above 64 KB, and exact restoration of the original revision-6 two-page notebook. The normal Notebook UI then showed the original `RootHVN notebook check` and `Drawing practice` pages at `Synced`; the temporary harness was moved to cPanel trash and its cache-bypassed URL returned RootHVN's 404 | PASS |
| Profile calendar server projection | A token-gated transaction verified exact anonymous public-only and follower public-plus-followers query results without private descriptions or unsafe keys. A second rendered-session replay proved those same rows in the public profile and removed the projection when Calendar/Planning were disabled. Both transactions rolled back to zero marker rows and all temporary URLs return 404 | PASS for query, rendered privacy, disabled-module behavior and cleanup |
| Event sign-up runtime lifecycle | The canonical staging owner first proved the Disabled switch returns exact 404 `module_disabled`, then created two unmistakable future/past Event fixtures and temporarily enabled the audited Event sign-up module. The owner received 404 `event_unavailable` on self-sign-up. Through Sngine's native reversible Login As boundary, `rh_test_member_b` passed 10/10: first sign-up and duplicate retry both returned count 1, the production profile projection reported current-viewer `signedUp:true` without attendee identity, the past event returned 409 `event_ended`, a temporary member-to-owner block returned 404 and was removed, first and duplicate cancellation both returned count 0, and the projection cleared current-viewer state without identity. The owner session was restored; cleanup passed 1/1 with zero fixture items/responses and Event sign-ups audited back to Disabled. The harness was moved to cPanel trash and now returns HTTP 404 | PASS |
| Habit cross-account mutation isolation | The canonical owner created one exact version-1 Habit through the production mutation endpoint and retained only a private cleanup manifest. Through Sngine's reversible Login As boundary, `rh_test_member_b` passed 8/8: foreign update, archive, restore, delete, complete and uncomplete mutations each returned rejected `habit_unavailable`; the foreign Habit was absent from the member bootstrap; and a direct integrity check proved the owner, title, notes, color, unarchived state, version 1 and zero foreign completions were unchanged. The owner session was restored; cleanup passed 1/1 with zero Habit, completion or receipt rows and the private manifest removed. The public verifier was moved to cPanel trash and returns HTTP 404 | PASS |
| Kids Mode PIN and lockout lifecycle | The canonical owner prepared a private exact-state cleanup manifest and entered `rh_test_member_b` through Sngine's reversible Login As boundary. The member passed 14/14 setup, enable, PIN-change, old-PIN rejection, disable/re-enable, five-failure lockout, correct-PIN-during-lockout denial, server-hash/status-only-bootstrap and offline-store privacy checks. Cleanup restored the exact prior absence of a preference row, removed the private manifest, restored the owner session and moved the public verifier to cPanel trash; its URL now returns HTTP 404 | PASS |
| Course access runtime matrix | The canonical owner created three unmistakable general, Kids-safe and adult-only disposable courses, temporarily enabled Courses under audit and proved owner preview unlocked the full curriculum without enrollment. Through Sngine's reversible Login As boundary, `rh_test_member_a` passed 5/5 active-enrollment checks with 50% progress, both lessons unlocked and activities available; `rh_test_member_b` passed 6/6 completed/Kids Mode checks with 100% progress, complete curriculum access before Kids Mode, exact general-course denial in Kids Mode, Kids-safe access and filtered discovery; `rh_test_minor` passed 6/6 unenrolled/minor checks with one preview lesson unlocked, the enrolled-only lesson locked, activities hidden and adult-only course denied and absent from discovery. Cleanup removed all three courses and their cascaded rows, restored the exact prior Kids preference and Courses state, restored the owner session and removed the public verifier to HTTP 404 | PASS |
| Summit access runtime matrix | The canonical owner retained the approved synthetic Summit, temporarily enabled Summits under audit and proved private adult-only owner preview plus the retained active-member boundary. Through Sngine's reversible Login As boundary, `rh_test_member_a` passed 5/5 private-membership checks, including discoverability and the exact linked native Group; adult nonmember `rh_test_member_b` passed 6/6 public-preview, invite-only/private denial and Kids Mode exclusion checks; `rh_test_minor` passed 4/4 identity, general-access, adult-only denial and discovery-exclusion checks. Every visibility, adult-only and Kids preference mutation was transactionally rolled back. Cleanup restored the exact prior preference and module state with Summits Disabled, removed the private manifest, restored the owner session and moved the public verifier to cPanel trash; its cache-bypassed URL returns HTTP 404 | PASS |
| Summit workflow runtime matrix | The canonical staging owner prepared an invite-only retained Summit, while its exact synthetic host performed host-only role and event actions. `rh_test_member_b` passed invitation creation, exact replay, revocation and reinvitation; accepted the invite; retried the invite-only join without needing a second invitation; synchronized the native Group and RootHVN member counts; was promoted to moderator, replayed, demoted and replayed; then left and replayed the leave. The host created exactly one public Summit event and the interrupted-client retry returned that same item. Final inspection found two invited, one revoked and one accepted invitation audit plus active, role-transition and left membership audits. Cleanup removed the exact event/key, native member/admin/shortcut/invite rows and new audits; restored the member's prior historical RootHVN row byte-for-value, restored exact module/Summit settings and counts, removed the private manifest and moved the public verifier to cPanel trash. Its cache-bypassed URL returns HTTP 404. The run found and repaired the prior invite-only retry ordering defect | PASS |
| Course calendar and explicit-share runtime matrix | With zero prior share-consent rows and zero matching posts, the canonical owner temporarily enabled Courses and Community while retaining Calendar. Native Login As entered `rh_test_instructor`, where the production endpoint first proved that an unconfirmed share was denied and that merely enabling or opening the course created no calendar item, consent row or feed post. The first course-plan request created one private instructor-owned calendar event; an exact retry returned the same item with `replayed:true`. The first confirmed friends-only share created one consent row and one Sngine post; an exact consent-token retry returned the same post with `replayed:true`. Cleanup removed the item, consent row and post, restored Courses and Community to Disabled and Calendar to Enabled with exact updater/reason state, restored the owner session and moved the public verifier to cPanel trash; its cache-bypassed URL returns HTTP 404 | PASS |
| Local PWA and Notebook acceptance | Headless Chrome cold-opened the cached shell, excluded private HTML/API from Cache Storage, queued account-scoped create/update/delete mutations, replayed each once on reconnect, drained the outbox to zero, leaked no data without the active pointer, cleared state after invalid authentication, recovered a notebook draft, drew all 12 ink/width combinations, and enforced undo/clear/remove and all client limits | PASS locally; staging HTTPS installation and physical-device portions remain separate gates |
| Anonymous HTTPS boundary | Fresh anonymous sessions checked all 29 legacy page routes mapped by the RootHVN gate. Every route redirected to RootHVN with the correct disabled-module reason. Native Courses redirected into RootHVN Learn, whose signed-out response was only the sign-in page. Nine representative unauthenticated POSTs across Messaging, Community, Publishing, Payments and Botanica returned 404 `module_unavailable` JSON with `private, no-store` and `nosniff`; the utility API returned only Sngine's sign-in callback and no private payload | PASS for the anonymous page and representative write/AJAX matrix |
| Authenticated disabled-module boundary | A same-origin harness issued 19 probes as ordinary member and native administrator; both passed 19/19 with exact module/legacy/CSRF failures and no writes. Enabled Course/Summit and utility cross-account matrices later exercised representative owned-data writes, all failing closed without mutation | PASS for disabled boundaries and representative enabled hostile/cross-account writes |
| Signed mobile JWT boundary | Temporary exact-account sessions used Sngine's real signed request contract without rendering credentials or private bodies. The safety matrix passed 19/19. The canonical RootHVN Course/Summit router then passed 28/28 disabled/enabled reads, privacy, representative cross-role mutations, stale versions, unknown actions and forged-business-Page creation; exact sessions/module state were restored, retained fixtures were unchanged and public harnesses return 404 | PASS for signed authentication, module gating, Course/Summit authority and forged host denial; physical-device client use remains separate |
| Enabled Course and Summit authority | Audited temporary enablement supported 7/7 member, 4/4 instructor and 3/3 administrator web probes plus 28/28 signed-mobile disabled/enabled Course/Summit, privacy, mutation and forged-business-host probes. No retained row/file changed, module state and sessions were restored, and public harnesses return 404 | PASS for tested web/signed-mobile authority, owned-data boundaries and forged host denial |
| Staging PWA resources | `/manifest.php`, `/sw.js`, the offline shell and versioned RootHVN CSS/JavaScript returned 200 over HTTPS. The manifest declared the RootHVN identity, `/roothvn.php?source=pwa` start URL, root scope and standalone display; both declared 192px and 512px PNG icons returned 200. A stale-v21 admin shell was found during real staging use; later candidates advanced the worker, HTML, CSS and JavaScript URLs together through v25, including the repaired offline recipe dependency handoff and responsive calendar/phone-connection controls. The v9 editor additionally advanced its page-specific asset URL to `course-editor.js?v=7`; a fresh signed-in reload loaded that exact URL and executed the concurrency-safe request shape | PARTIAL: deployed fresh-client resource recovery and the signed-in v25 calendar measurement passed; installed-client activation, stale-cache deletion and physical-device reopen remain pending |
| Synthetic cleanup | Every disposable planner, reminder, habit, recipe, notebook, profile-calendar, event, Kids Mode, Course/Summit authority, social, Messaging, media, flashcard, review and offline-replay fixture was deleted or transactionally rolled back. The final rendered profile-calendar run retained zero marker rows; the forged-host mobile run deleted its sessions and created no course; the private-media run removed its disposable lesson, assets and failed-finalize residue; the web security run removed its item, habit, reminder, sessions and CSRF state. Exact module/preference states and the canonical owner session were restored. All temporary public verifiers were moved out of the document root and their URLs return 404. The named retained Course and Summit are deliberate staging acceptance fixtures, not disposable residue | PASS |

## Hard release gates

Every row must be marked PASS with retained evidence. A failure keeps the
affected module disabled. Do not substitute a screenshot of source code for a
runtime result.

| Gate | Required evidence | Result |
| --- | --- | --- |
| Allowlisted install | Package contents exactly match `RELEASE_FILES.txt`; no recursive Sngine overlay | v20 must contain exactly 127 allowlisted paths and match all 127 host files byte-for-byte; record the result in the external attestation |
| PHP syntax | Host `php -l` passes every changed PHP file | PASS: all 34 allowlisted PHP files passed twice on staging PHP 8.4.28, including after forward recovery |
| Host extensions | PDO MySQL, fileinfo, mbstring and GD are available | PASS (staging PHP 8.4.28) |
| Migration safety | Installer reports no legacy signature collision; preserved legacy rows are reconciled from backup; `0001` through `0007` install in order on a disposable database; required schema signature passes; second run is a no-op; checksums match | PASS (disposable staging DB; Installed with stored hashes for 0001–0007 and no repeat apply action) |
| Backup restore | Pre-change staging code and database restore rehearsal completes | PARTIAL: the private mode-0600 code backup restored 125 files and removed 2 candidate-only files, the rolled-back Today page passed, and forward recovery returned all 127 candidate bytes plus 34/34 lints. A fresh production database backup/restore remains a publication-time gate |
| Authentication | Signed-out, expired-session and malformed-session requests fail closed without private offline restoration | PASS for server/browser acceptance: local invalid-auth cleanup cleared rendered private data and the active-account pointer; staging anonymous, malformed-cookie and expired-token requests returned only the login callback and no private payload. Physical installed-PWA sign-out/account-switch remains a device gate under Offline isolation |
| Roles | Temporary member, instructor, Sngine admin and canonical RootHVN owner have only intended authority | PASS for staged server authority: module management, reversible previews, authoring/workbook denial, disabled and enabled web/mobile matrices, forged-host denial, private bootstrap isolation and foreign utility mutation denial all passed with exact cleanup. Physical-device replay with final real credentials remains a user gate |
| Module gates | Anonymous and signed-in direct page, AJAX and API attempts fail closed for every disabled module | PASS for the staged candidate's mapped routes and registered mutation families: 29 anonymous pages, nine anonymous writes, 19 authenticated web probes per tested role, 19 signed-mobile safety probes and 28 signed-mobile Course/Summit probes failed closed as designed; representative enabled hostile/cross-account writes also produced no mutation |
| Utility-first surfaces | With Community disabled, anonymous home returns no feed, profiles expose no posts/stories/connection subviews, responsive navigation shows only enabled utilities, and report/block safety remains usable | PASS: anonymous and signed-in surfaces, module-aware navigation, social-to-utility round trip, disabled direct routes and signed-mobile report/block safety passed while utility state remained intact |
| Today layouts | Human-designed Today view works at narrow phone, tablet and desktop widths | PASS: narrow and desktop browser runs retained the correct bottom-navigation/utility-rail structures and private data; the 768×1024 tablet run retained the complete hand-authored Today hierarchy with 24-pixel gutters, a 736-pixel content column, five-destination utility bar and zero horizontal overflow |
| Profile customization | Every approved botanical color persists, renders on the public profile, escapes safely and resets to default | PASS: all eight approved values were selected through the staging control and returned as the exact public profile accent on a fresh server response; Default removed the stored override and public inline style. `profile-color-contract.cjs` locks the eight-value server allowlist, arbitrary-input rejection and escaped template output |
| Profile calendar privacy | Anonymous viewer sees only public descriptions; a real follower also sees follower descriptions; private rows, titles, notes, metadata and identifiers never render; disabled Calendar/Planning rows stay hidden | PASS: database projection and rendered anonymous/follower sessions returned exactly the intended rows, exposed no private descriptions or unsafe keys, removed the projection when Calendar/Planning were disabled, rolled back to zero marker rows and removed the verifier to HTTP 404 |
| Event sign-ups | With the switch off, no sign-up UI or endpoint succeeds; with it on, a member can sign up/cancel exactly once, duplicate requests remain idempotent, aggregate count/current-viewer state update, owner/block/past-event denials pass, and no attendee identity is returned | PASS: 3/3 owner boundaries, 10/10 member boundaries and 1/1 cleanup passed through the production endpoint/projection on staging HTTPS; zero event/response residue, owner session restored, module audited back to Disabled and verifier removed to HTTP 404 |
| Offline isolation | Cold reopen restores only the explicitly active temporary account; sign-out clears its pointer | PARTIAL: local cold-shell restore, missing-pointer denial and invalid-auth pointer cleanup passed; staged sign-out and physical installed-app account-switch replay remain pending |
| Mutation replay | Offline create/update/delete replay once, duplicate IDs stay idempotent and stale versions expose a conflict | PASS: local browser acceptance queued create/update/delete while disconnected, replayed all three after reconnect, drained the outbox to zero and rendered the reconciled state. The staging production endpoint independently passed exact duplicate-create receipt replay, current update, stale-version conflict preservation, delete replay and residue-free cleanup |
| Planner depth | Create/edit/duplicate/snooze/delete tasks, all four list categories and all goal horizons/states; edit/reorder/complete steps with notes and quantities; verify time, duration, priority, color, Root tags and privacy across Today, Calendar and Planning | PASS (staging browser matrix; all synthetic planner fixtures deleted) |
| Calendar views | Grid opens by default; switch to Plan and Today and back without losing selected dates, edits or completion state; tap all six calendar entry choices and hold each for 350 ms to verify the exact eight highlighters persist and Default clears the selection | PARTIAL: view cycle, selected date, completion, six tap choices, persisted Pink and Default reset passed; hold menus pending |
| Offline astronomy | Enable Moon phases and retrogrades separately; compare selected-day phase, exact quarter marker, Rx bodies and begin/end station labels to the pinned engine in the device timezone; cold-reopen offline; verify no location or third-party request; verify preferences remain account-isolated | PARTIAL: runtime phase/quarters/Rx/station labels, reload persistence and two-account isolation passed; independent comparison, cold-offline and request audit pending |
| Recipe groceries | Detect heading-based and quantity/unit ingredients; add/remove manually; convert online and offline; repeat the same mutation without duplicates; reconvert after checking and editing rows and verify checkmarks/edits remain; stale recipe save must block conversion | PASS: online detection/manual add/conversion and row-preserving reconciliation passed; retained deleted evidence contains the exact checked/edited/noted three-row result without a normalized duplicate. The v24 client hands a dependent conversion the post-save version; staged IndexedDB replay saved version 2 before creating exactly one private three-row grocery list, identical conversion replay stayed idempotent, stale client version 2 against server version 3 returned a conflict without altering the list, and exact cleanup left no item, row, conflict or receipt residue |
| Notebook depth | Draw with all approved inks and widths; undo, clear and remove a page; verify reload/recovery, 12-page, 4,500-point and 64 KB boundaries | PASS: local browser acceptance passed recovery, all 12 ink/width combinations, undo, confirmed clear/remove and client limits. Signed staging then passed persistent save, idempotent replay, stale revision conflict with the server document unchanged, exact host rejection at page 13/point 4,501/above 64 KB, and exact restoration of the original notebook with no conflict or receipt residue |
| Habit depth | Create, edit, color, check/uncheck on two different dates, archive, restore and delete; verify another account cannot read or mutate it | PASS: the browser lifecycle and original read-isolation run passed; the later signed staging matrix proved the second account could neither read nor update/archive/restore/delete/complete/uncomplete the owner Habit, every direct mutation failed `habit_unavailable`, the row stayed version 1 with no foreign completion, and exact cleanup left no Habit/completion/receipt residue |
| PWA lifecycle | Manifest, install, root-scope worker, update activation and stale-cache cleanup work on staging HTTPS | PARTIAL: local browser acceptance passes root-scope cold navigation, versioned shell cache and private-cache exclusion; deployed v24 resources and the v7 page-specific editor URL recovered fresh clients from older cached code. Verify installed-client activation, stale-cache removal and physical-device reopen |
| Offline typography | Fraunces/Montserrat load from same-origin cached files; airplane-mode reopen makes no Google Fonts request and preserves intended type roles | PARTIAL: local cache inspection contained only the approved same-origin Fraunces/Montserrat files and no third-party font URL; physical-device visual roles remain pending |
| Reminders | Permission, schedule, update, cancel and sign-out/account cleanup work on each claimed platform | PARTIAL: staging HTTPS schedule, update, reload persistence and cancel passed twice, including a clean disposable lifecycle after the confirmation repair; source contracts also keep reminders owner-scoped and deliberately omit background push. Browser/OS permission, active-app device delivery, sign-out/account cleanup and physical-iPhone behavior remain pending |
| Course access | Preview, unenrolled, enrolled, completed, minor and Kids Mode boundaries pass on the server | PASS: owner preview, 5/5 active learner, 6/6 completed/Kids Mode learner and 6/6 unenrolled minor checks passed through the production learning read model on staging HTTPS. Exact cleanup removed all disposable courses, restored the prior preference and Courses state, restored the owner session and removed the verifier to HTTP 404 |
| Kids Mode control | Setup, enable, disable, change PIN, five-failure lockout and absence of PIN data from offline stores pass | PASS: 14/14 member boundaries and exact cleanup passed on staging HTTPS through the production preference handlers; the safe bootstrap returned status only, browser offline stores contained no PIN/lock metadata, the prior absent-row state was restored, the owner session was restored and the verifier was removed to HTTP 404 |
| Course authoring | Draft, personal/business host, modules, lessons, activities, ordering, review invalidation and publish requirements pass | PASS: personal and managed-business creation, locked rendering, lifecycle/reorder/preservation, activity and flashcard paths, review invalidation, current-version enforcement, cross-role mutation denial and signed-mobile forged-business-host rejection passed with cleanup |
| Course media | Chunk upload, validation, private storage, replacement quarantine, byte range and denied raw paths pass | PASS: PNG, CSV, MP4 and WebVTT validation/delivery passed; hostile content was rejected; replacement quarantined its predecessor; authorized 200/206 and invalid-range behavior had private security headers; unenrolled access and raw paths returned nondisclosing 404; forced finalization failure rolled back the database and unlinked the file; cleanup was exact |
| Flashcards | Create, edit, conflict, reorder, delete and learner reveal pass | PASS: the accountable instructor created two lesson-scoped cards, reordered them, edited and reloaded an exact definition, and the mutation-free staging harness proved a stale card version returns 409 without overwriting the saved row. Owner approval was invalidated and restored; the enrolled learner saw the saved B-then-A order and revealed both exact definitions. Both cards were deleted, only the original checkpoint card remained, the course was reapproved, the harness was removed, and Courses returned to audited Disabled while Community remained Disabled |
| Instructor workbook | PDF opens/renders with official rose watermark; learner download is denied; no learner writing appears | PASS: the staged v11 owner/admin download returned a one-page A4 PDF, complete-text extraction and visual rendering passed, the official rose watermark was visible, paragraph boundaries and the ASCII footer rendered cleanly after the v11 fix, and the document contained course/instructor material but no learner responses. With Courses temporarily enabled, `rh_test_instructor` completed the protected workbook download from the full studio while `rh_test_member_a` received an HTTP response failure instead of the PDF; Courses was returned to audited Disabled |
| Course review | Owner/admin preview, approve, reject, audit and notification-failure isolation pass | PASS: safe owner preview, reject/revise/resubmit/approve and two independent flashcard-driven approval invalidation/reapproval cycles passed with exact review notes. `rh_test_admin` then approved the clean retained course through the native administrator queue; a token-gated read-only verifier matched the exact pending-to-approved audit row, administrator actor, published/approved state and unchanged original card. The source contract proves the review transaction commits before notification and the adapter catches `Throwable`; a second token-gated runtime verifier forced that exact adapter's transport to throw once and confirmed the exception stayed contained while course state, version and review-audit count remained unchanged. Both verifiers were removed and returned HTTP 404 |
| Summits | Discovery, privacy, membership, roles, invitations, counts, audits, public event creation and linked native Group access pass | PASS: web owner/member/privacy, Kids Mode/minor, invitation/revocation/acceptance, invite-only retry, count consistency, role transitions/replay, audits, public-event/replay, leave/replay and linked native Group retention passed with exact cleanup. The combined signed-mobile Course/Summit authority matrix passed 28/28 with exact module/session restoration and unchanged retained fixtures |
| Course integrations | Calendar retry is idempotent; community share requires explicit one-time consent and never auto-posts | PASS: the production endpoint created one private calendar item and replayed the same deterministic mutation without duplication; unconfirmed sharing failed before any row or post, the first confirmed friends-only consent created one post, and exact replay returned the same post. Cleanup restored all module states and left zero disposable residue |
| Clean regression | Existing Sngine sign-in, profile, posts, notifications and approved native features still work | PASS for the utility-first candidate: owner Today, More/module controls, public profile, Notifications, Learn and Summits rendered after the exact install; the earlier native Community post/comment/reaction and independent Messaging lifecycles passed with exact cleanup. Disabled modules remained launch-safe |
| Physical iPhone | Installed Safari PWA cold-reopens in airplane mode; video and local reminder behavior pass | PENDING |
| Rollback | Code rollback leaves namespaced data dormant; database/private media evidence is preserved | PASS for staging code rollback and forward recovery: 125 files restored, 2 candidate-only files removed, private manifest/archive stayed mode 0600, Today remained usable, and reinstall returned 127/127 exact bytes with no database or retained fixture mutation. Production database/media restore is still required immediately before publication |

## Disposable staging fixtures

Use synthetic identities that cannot be confused with real customers. Do not
promote Sabrina's real account during acceptance.

| Fixture | Purpose |
| --- | --- |
| `RH_TEST_OWNER` | Canonical owner bootstrap, module controls and safe role previews |
| `RH_TEST_ADMIN` | Sngine administrator without automatic RootHVN owner authority |
| `RH_TEST_INSTRUCTOR` | Course and Summit authoring, review, analytics and media uploads |
| `RH_TEST_MEMBER_A` | Adult enrollment, progress, offline replay and public Summit membership |
| `RH_TEST_MEMBER_B` | Cross-account privacy and private-content denial |
| `RH_TEST_MINOR` | Minor and Kids Mode denial paths |

Create strong one-time passwords in the staging password manager or cPanel
secret facility. Do not place passwords, cookies, reset links or API keys in
this document, a screenshot, the release archive or Git.

## Staging execution order

1. Make verified code and disposable-database backups before replacing a file.
2. Extract the release archive into a new temporary directory and compare its
   paths to `roothvn/RELEASE_FILES.txt` before copying any allowlisted path.
3. Copy only allowlisted paths to the separate staging tree. Keep every new
   RootHVN module disabled.
4. Run host PHP lint and confirm required PHP extensions.
5. Point staging at the disposable database and use the authenticated
   administrator installer to verify and apply migrations.
6. Create the six temporary fixtures above, then bootstrap only
   `RH_TEST_OWNER` as the canonical owner.
7. Test disabled routes and APIs before enabling one module at a time for its
   acceptance rows. Return the module to disabled after each test set.
8. Test the utility, learning engine and Summits using synthetic content only.
9. Run the browser/PWA scenarios on staging HTTPS and the physical-iPhone
   scenarios from Safari, not from an Expo or desktop simulation.
10. Rerun regression checks, restore rehearsal, and the static suite against the
    release commit. Record screenshots, logs and checksums without credentials.
11. Delete temporary identities and synthetic private media only after evidence
    and rollback copies are retained.

## Course media scenarios

- Accept valid JPG/PNG/WebP covers, MP4 trailer/lesson video, WebVTT captions
  and PDF/TXT/CSV materials within documented limits.
- Reject renamed executables, MIME mismatches, malformed MP4/WebVTT, oversized
  chunks, incomplete assemblies, external lesson URLs and checksum mismatch.
- Confirm upload replacement quarantines the previous asset and returns an
  approved course to pending review.
- Confirm unauthenticated, other-account, minor, Kids Mode, unpublished and
  unenrolled requests receive no file bytes or private path.
- Confirm valid preview/instructor/enrollment requests support normal and byte
  range playback without writing the response into a shared public cache.

## Course-depth scenarios

- Verify checkpoint cards preserve module/lesson order and flip between term
  and definition without exposing instructor controls to learners.
- Submit a stale flashcard version and retain the visible conflict instead of
  silently overwriting the newer record.
- Open the workbook as instructor and authorized owner/admin preview; deny it to
  a learner even when that learner is enrolled.
- Inspect the PDF for official RootHVN rose artwork, readable lesson/activity
  structure and answer cues. Search the rendered PDF for synthetic private
  journal text and confirm it is absent.
- Verify course edits, media replacements and flashcard edits all invalidate
  prior approval and require a new review.

## Payments and paid access

Paid course and paid Summit access is intentionally fail-closed. The Replit
source did not contain a complete settled-payment-to-entitlement or refund
pipeline, and the local audit cannot verify the licensed Sngine payment module
or provider configuration. Until staging proves signed webhook verification,
idempotent order settlement, refund reconciliation, enrollment revocation and
audit behavior:

- do not expose a purchase-success path;
- do not grant access from a browser-supplied payment result;
- keep Payments disabled and paid enrollment unavailable; and
- launch only verified free access if every other applicable gate passes.

## Final authorization

Passing this document means the release is eligible for a separate production
cutover decision. It does not authorize publication. Production files, real
accounts, real content and the live database remain untouched until the user
explicitly says **Publish RootHVN** and the exact release archive and checksum
are named in that approval.
