Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.encoreos.io/llms.txt

Use this file to discover all available pages before exploring further.

This punch list tracks the work needed to get the repository to a fully green CI baseline.

Success Criteria

  • npm run format:check passes
  • npm run typecheck passes
  • npm run lint:ci -- --quiet passes
  • CI=true SKIP_SUPABASE_TESTS=true npm test passes
  • npm run check-rls-coverage -- --min-coverage 100 passes
  • npm run build passes
  • CI=true ENFORCE_RUNTIME_SUPABASE_HEALTH=false MIN_RUNTIME_REST_REACHABLE=0 npm run test:baseline:smoke passes

Phase A — Static Quality Gates

  • A1. Capture baseline output for format/typecheck/lint/test
  • A2. Apply repository-wide formatting pass
  • A3. Re-run format:check and confirm clean state
  • A4. Fix all lint errors (warnings can be tracked separately)
  • A5. Re-run lint:ci -- --quiet

Phase B — Test Harness Stabilization

  • B1. Fix missing QueryClientProvider usage in failing tests
  • B2. Standardize provider wrappers for permission/auth dependent component tests
  • B3. Re-run targeted failing accessibility/component suites

Phase C — Failing Test Remediation

  • C1. Fix assertion drift for accessibility tests impacted by UI behavior changes
  • C2. Re-run targeted unit/integration suites until clean
  • C3. Re-run CI=true SKIP_SUPABASE_TESTS=true npm test

Phase D — Full Validation

  • D1. Run npm run check-rls-coverage -- --min-coverage 100
  • D2. Run npm run build
  • D3. Run CI-like smoke gate command
  • D4. Document remaining blockers (if any) and next cleanup batch

Current Remaining Work

  • Finish C2 by re-enabling and remediating Supabase-backed integration/RLS coverage in CI-like test runs.
  • Complete D4 with an explicit backlog of suites still requiring real Supabase connectivity or guard adoption.