# Implementation Status

Last updated: 2026-08-14

This file intentionally distinguishes a finished module from an implemented
foundation. Passing tests for one slice does not mark the whole platform done.

| Area | Status | Evidence / remaining work |
|---|---|---|
| Phase 0 architecture | Complete | assessment, domain map, DB blueprint, ADRs, risks, sequence |
| Foundation | Complete | Laravel 13/PHP 8.4 contract, explicit modules, trusted network boundaries, request IDs, redacted structured logging, security headers, liveness/readiness, DB/queue/scheduler telemetry, fail-closed production assertions, CI, runbook, and quality gates |
| Identity | Complete locally; MySQL CI pending | active-only timed login, generic active-only atomic recovery, signed verification, strong password rules, database-session revocation, queued verification/recovery notifications, encrypted TOTP/recovery codes, privileged 2FA enforcement, redacted lifecycle audit, security review, recovery runbook, and automated tests |
| RBAC / CEO protection | Complete locally; MySQL CI pending | canonical permissions, custom/system roles, Policies, Form Requests, dual-capability separation, privileged 2FA, stable locking order, optimistic versions, last-active-super-admin serialization, management UI, audit integration, and tests |
| Users | Complete locally; MySQL CI pending | create/profile/roles/deactivate/reactivate flows, queued onboarding, email reverification, session/token revocation, optimistic locking, policy enforcement, responsive management UI, redacted audit, and tests |
| Business audit and retention | Complete locally; MySQL CI pending | append-only redacted records, actor/request/IP context, permission-gated cross-module viewer and filters, immutable checksummed private archive batches, bounded scheduled retention workflow, and recovery guidance |
| Notification delivery | Complete locally; MySQL CI pending | tracked queued identity templates, stable notification IDs, per-recipient/channel idempotency, retry attempts, sanitized provider outcomes, recipient HMAC references, permission-gated console, and tests |
| Admin shell/themes | Complete | permission-aware responsive shell, reusable page headers and icons, active navigation, bound-resource breadcrumbs, system/light/dark persistence, account menu, accessible drawer behavior, RTL rules, responsive administration pages, and browser/feature verification |
| Analytics / executive dashboard | Complete locally; MySQL CI pending | consent-aware allow-listed ingestion, HMAC identifiers, idempotent append-only events, versioned metric definitions, bounded UTC aggregation, daily read models, permission-scoped 14-day executive cards, operations guide, and tests |
| Company / content / settings | Complete locally; MySQL CI pending | optimistic singleton company profile, relational immutable home revisions, atomic/scheduled publication, allow-listed typed settings, encrypted sensitive storage, permission-aware UI, redacted audit, operations guide, and tests |
| Catalog / media | Complete locally; MySQL CI pending | lifecycle-governed relational services/templates/taxonomy, dependency-safe publication, duplicate-proof pivots, randomized checksummed private storage, MIME/extension pairing, attachment-safe deletion, permission-aware UI, audit, operations guide, and tests |
| Pricing | Complete locally; MySQL CI pending | governed currencies, half-open effective price lists/entries, overlap serialization, relational packages, ordered rules, fixed-point deterministic engine, permission-aware UI, audit, operations guide, and tests |
| Portfolio / publishing / recruitment | Complete locally; MySQL CI pending | governed portfolio dependencies, immutable post revisions, scheduled atomic publishing, constrained job windows, private one-per-email applications, append-only workflow history, least-privilege UI, audit, operations guide, and tests |
| Scheduling | Complete locally; MySQL CI pending | typed human/AI registry, IANA-only UTC conversion, weekly availability and exceptions, exact lead boundary, per-assignee serialization, half-open conflict checks, ordered move locks, optimistic workflows, append-only histories, queued confirmation, permission-scoped public/admin UI, audit, operations guide, and tests |
| CRM / quotations | Complete locally; MySQL CI pending | normalized contacts, source-attributed leads, guarded lifecycles, optimistic drafts, immutable pricing and line snapshots, append-only histories, queued submission receipt, least-privilege public/admin UI, redacted audit, operations guide, and tests |
| AI / integrations / SEO | Complete locally; MySQL CI pending | provider-neutral retrieved-ID grounding, immutable safe run evidence, encrypted credentials, atomic consent-aware analytics outbox, idempotent delivery evidence, dynamic meta/sitemap/robots/local redirects, independent permission UI, redacted audit, operations guide, and tests |
| Production readiness | Implemented locally; external certification pending | Phase 14 adds immutable release checksums, fail-closed MySQL/cache/migration/scheduler/recovery preflight, release correlation headers, bounded k6 security/load smoke, a manual MySQL 8.4 + Redis certification workflow, and recovery/deploy/rollback evidence contracts; the exact release still requires retained external drill/workflow evidence |

## Current quality evidence

- PHPUnit: 133 tests, 686 assertions passing.
- Larastan: level 6, zero errors.
- Pint: clean.
- Composer validation: strict and passing.
- Composer audit: no known advisories.
- pnpm audit: no known vulnerabilities.
- Vite production build: passing.
- MySQL 8 CI job is defined; it has not been executed locally because the
  discovered MAMP server is MySQL 5.7 and was not running during Phase 0.

## Next implementation checkpoint

1. Run the existing MySQL 8.4 CI job to certify Phase 2 through Phase 13 database
   behavior and locking assumptions.
2. Execute the manual Phase 14 workflow for an immutable release only after a
   real isolated restore drill supplies `BACKUP_LAST_VERIFIED_AT`; retain the
   JSON, manifest, load, security, database, and observability evidence.
3. Rehearse the documented atomic deployment and schema-aware rollback decision
   in production-like infrastructure before approving launch.
