Phase 0: foundations #1

Open
clerik wants to merge 1 commit from feature/phase-0-foundations into main
Owner

Summary

  • Phase 0 foundations of the new platform (plan §12)
  • Details: docs/plan/phase-0-foundations.md

Exit criteria

  • Tenant resolved by DNS
  • Staff sign-in with mandatory 2FA
  • Job traced end to end
  • Isolation tests green (row-level security on every tenant table)

Checks

  • 68 tests pass (46 unit, 22 integration on PostgreSQL 17)
  • eng/ci.sh passes locally

To review

  • 2FA enrolment at first sign-in (invitations later)
  • Job/outbox tables outside RLS (ids only)
  • No CI config for this forge yet (open item O6)
## Summary - Phase 0 foundations of the new platform (plan §12) - Details: `docs/plan/phase-0-foundations.md` ## Exit criteria - Tenant resolved by DNS - Staff sign-in with mandatory 2FA - Job traced end to end - Isolation tests green (row-level security on every tenant table) ## Checks - 68 tests pass (46 unit, 22 integration on PostgreSQL 17) - `eng/ci.sh` passes locally ## To review - 2FA enrolment at first sign-in (invitations later) - Job/outbox tables outside RLS (ids only) - No CI config for this forge yet (open item O6)
Phase 0: foundations
Some checks are pending
ci / build-test (pull_request) Waiting to run
ci / secrets-and-dependencies-scan (pull_request) Waiting to run
e6f7788225
- Solution skeleton: web, worker, migrations, Aspire AppHost
- Tenancy by DNS with PostgreSQL row-level security
- Staff identity with mandatory 2FA and permissions
- Job queue, recurring schedules, transactional outbox
- Audit log, settings, feature flags, branding tokens, FR/EN
- OpenTelemetry, CI script, deploy references, ADRs
- 68 tests (unit + PostgreSQL integration)

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FPZo4fgxzGb9v3ed61NxcJ
Some checks are pending
ci / build-test (pull_request) Waiting to run
ci / secrets-and-dependencies-scan (pull_request) Waiting to run
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feature/phase-0-foundations:feature/phase-0-foundations
git switch feature/phase-0-foundations

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff feature/phase-0-foundations
git switch feature/phase-0-foundations
git rebase main
git switch main
git merge --ff-only feature/phase-0-foundations
git switch feature/phase-0-foundations
git rebase main
git switch main
git merge --no-ff feature/phase-0-foundations
git switch main
git merge --squash feature/phase-0-foundations
git switch main
git merge --ff-only feature/phase-0-foundations
git switch main
git merge feature/phase-0-foundations
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
clerik/agenda!1
No description provided.