B2BEA.org Rebuild build-execution S-01
build-execution artifact · for B2BEA.org Rebuild · phase S-01 · status complete
- Added Cloudflare Pages Function endpoint /api/access/decision.
- Added functions/_lib/runtimeAccess.js for runtime route policy, bearer/cookie token extraction, Supabase Auth user resolution, role lookup, platform_admin authority, and access decision evaluation.
- Updated admin and studio layouts to reveal only after /api/access/decision allows the current route.
- Added tests ensuring admin/studio use server runtime access decisions and runtime access does not use legacy people.is_pro as authority.
- Rebased cleanly onto main after Slice 0 merged and removed the stacked merge commit from PR #36.
| detail | result | command |
|---|---|---|
| 40/40 tests passed after rebase onto main | pass | npm test |
| CSS governance audit passed | pass | node scripts/audit-css-governance.js |
| Eleventy wrote 126 files; local missing Sanity/Supabase env warnings are expected fallbacks | pass | npm run build |
| PR #36 check run succeeded | pass | GitHub Actions CI / build |
| PR #36 preview deployment succeeded | pass | Cloudflare Pages preview |
feature/b2bea-slice-1-runtime-access
https://github.com/b2bea-org/b2bea-website/pull/36
Start the next runtime slice from origin/main: extend access decisions into member/vendor/company route families and begin data-backed app endpoints.
Start the next runtime slice from origin/main: extend access decisions into member/vendor/company route families and begin data-backed app endpoints.
| detail | result | command |
|---|---|---|
| 40/40 tests passed after rebase onto main | pass | npm test |
| CSS governance audit passed | pass | node scripts/audit-css-governance.js |
| Eleventy wrote 126 files; local missing Sanity/Supabase env warnings are expected fallbacks | pass | npm run build |
| PR #36 check run succeeded | pass | GitHub Actions CI / build |
| PR #36 preview deployment succeeded | pass | Cloudflare Pages preview |
- Added Cloudflare Pages Function endpoint /api/access/decision.
- Added functions/_lib/runtimeAccess.js for runtime route policy, bearer/cookie token extraction, Supabase Auth user resolution, role lookup, platform_admin authority, and access decision evaluation.
- Updated admin and studio layouts to reveal only after /api/access/decision allows the current route.
- Added tests ensuring admin/studio use server runtime access decisions and runtime access does not use legacy people.is_pro as authority.
- Rebased cleanly onto main after Slice 0 merged and removed the stacked merge commit from PR #36.
Start the next runtime slice from origin/main: extend access decisions into member/vendor/company route families and begin data-backed app endpoints.
Machine-readable source fields
build-execution
feature/b2bea-slice-1-runtime-access
b2bea-website
S-01
/Users/justinking/Vaults/Projects/B2BEA-org-new/.worktrees/b2bea-slice-1-runtime-access
- Added Cloudflare Pages Function endpoint /api/access/decision.
- Added functions/_lib/runtimeAccess.js for runtime route policy, bearer/cookie token extraction, Supabase Auth user resolution, role lookup, platform_admin authority, and access decision evaluation.
- Updated admin and studio layouts to reveal only after /api/access/decision allows the current route.
- Added tests ensuring admin/studio use server runtime access decisions and runtime access does not use legacy people.is_pro as authority.
- Rebased cleanly onto main after Slice 0 merged and removed the stacked merge commit from PR #36.
2026-05-08T17:23:36Z
main
a0de8ae207dbf775b891017a654aae9ab6417ef7 feat: add runtime access decision gate
Start the next runtime slice from origin/main: extend access decisions into member/vendor/company route families and begin data-backed app endpoints.
d94e107508430003769de0f8e1891cca7fae90c4
https://github.com/b2bea-org/b2bea-website/pull/36
| detail | result | command |
|---|---|---|
| 40/40 tests passed after rebase onto main | pass | npm test |
| CSS governance audit passed | pass | node scripts/audit-css-governance.js |
| Eleventy wrote 126 files; local missing Sanity/Supabase env warnings are expected fallbacks | pass | npm run build |
| PR #36 check run succeeded | pass | GitHub Actions CI / build |
| PR #36 preview deployment succeeded | pass | Cloudflare Pages preview |
2026-05-08T17:24:40.861Z