Skip to content

Commit 4bcd1df

Browse files
committed
docs: update milestones and pilot evidence artifacts
1 parent 291dab2 commit 4bcd1df

11 files changed

Lines changed: 97 additions & 2 deletions

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ Before deploying, ensure quality gates pass:
127127
- **[API_V1.md](docs/API_V1.md)** - Public and agency API contract (v1)
128128
- **[DATA_DICTIONARY.md](docs/DATA_DICTIONARY.md)** - Canonical domain field definitions
129129
- **[RBAC_ACCOUNT_ORG_MANAGEMENT.md](docs/RBAC_ACCOUNT_ORG_MANAGEMENT.md)** - Enterprise role, account, and organization management model
130+
- **[MIGRATION_VALIDATION.md](docs/MIGRATION_VALIDATION.md)** - Fresh database migration replay validation process
130131
- **[AGENCY_ONBOARDING.md](docs/AGENCY_ONBOARDING.md)** - First-time agency setup guide
131132
- **[AGENCY_ADMIN_GUIDE.md](docs/AGENCY_ADMIN_GUIDE.md)** - Guide for government staff
132133
- **[PUBLIC_USER_GUIDE.md](docs/PUBLIC_USER_GUIDE.md)** - Guide for citizens
@@ -135,6 +136,9 @@ Before deploying, ensure quality gates pass:
135136
- **[SECURITY_AUDIT_GUIDE.md](docs/SECURITY_AUDIT_GUIDE.md)** - Security audit procedures
136137
- **[CONTROL_MAPPING.md](docs/CONTROL_MAPPING.md)** - Federal-ready control evidence mapping
137138
- **[ACCESSIBILITY_TRACKER.md](docs/ACCESSIBILITY_TRACKER.md)** - Accessibility compliance tracking
139+
- **[RELEASE_EVIDENCE_INDEX.md](docs/RELEASE_EVIDENCE_INDEX.md)** - Consolidated release evidence mapping
140+
- **[PILOT_EXECUTION_GUIDE.md](docs/PILOT_EXECUTION_GUIDE.md)** - Pilot execution procedure and evidence requirements
141+
- **[PILOT_FINDINGS.md](docs/PILOT_FINDINGS.md)** - Append-only pilot findings log
138142
- **[PERFORMANCE_NOTES.md](docs/PERFORMANCE_NOTES.md)** - Performance optimization guide
139143

140144
## 🤝 Contributing

docs/ACCESSIBILITY_TRACKER.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,14 @@ Accessibility work is tracked in `/docs/plan/M07-ux-accessibility-and-design-sys
2222
- `/comments/search`
2323
- `/contact`
2424
- `/agency/login`
25+
- `/about`
26+
- `/faqs`
27+
- `/onboarding`
28+
- `/status`
29+
- `/data-access`
30+
- `/accessibility`
31+
- `/privacy`
32+
- `/terms`
2533
- Result: no Axe `critical` violations detected on covered routes.
2634

2735
## Verification Checklist (WCAG 2.1 AA)

docs/PILOT_EXECUTION_GUIDE.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Pilot Execution Guide
2+
3+
This guide defines the minimum pilot required before `v1.0.0` release.
4+
5+
## Objective
6+
7+
Validate one real agency workflow end-to-end in a controlled production-like environment.
8+
9+
## Pilot Scope
10+
11+
- Agency onboarding and membership setup.
12+
- Docket creation and publication.
13+
- Public comment submission.
14+
- Moderation and publication decision.
15+
- Export generation and retrieval.
16+
17+
## Exit Criteria
18+
19+
- All scoped workflow steps execute without Sev-1/Sev-2 incidents.
20+
- Findings are logged in `docs/PILOT_FINDINGS.md`.
21+
- Mitigations are either completed or tracked with owner/severity.
22+
23+
## Evidence to capture
24+
25+
- Role assignments and membership screenshots (or SQL evidence).
26+
- Docket lifecycle timestamps.
27+
- Comment moderation logs.
28+
- Export job and downloaded artifact checksum.
29+
- Any defects, severity, and mitigation decision.

docs/PILOT_FINDINGS.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Pilot Findings Log
2+
3+
| ID | Date | Scenario | Severity | Finding | Resolution Status | Owner |
4+
| --- | --- | --- | --- | --- | --- | --- |
5+
| P-001 | TBD | TBD | TBD | TBD | Open | TBD |
6+
7+
## Notes
8+
9+
- Replace seed row with real pilot findings.
10+
- Keep this file append-only during pilot execution.

docs/RBAC_ACCOUNT_ORG_MANAGEMENT.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ Database-enforced guardrails are implemented in `supabase/migrations/20260211000
3030
- Role self-downgrades require ownership transfer flow.
3131
- Self profile updates cannot modify protected fields (`role`, `email`, `agency_name`) unless platform-admin.
3232

33+
Platform-scope guardrails are implemented in `supabase/migrations/20260211000700_platform_role_scope_hardening.sql`:
34+
35+
- `super_user` cannot assign `owner` role through platform invite flows.
36+
- `super_user` cannot change owner/admin agency memberships.
37+
- Ownership transfer through platform admin requires `super_owner`.
38+
3339
## Primary Workflows
3440

3541
### 1. Member self-service

docs/RELEASE_EVIDENCE_INDEX.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Release Evidence Index
2+
3+
This index tracks release-readiness evidence artifacts for `v1.0.0`.
4+
5+
## Engineering Quality
6+
7+
- `docs/RELEASE_READINESS_CHECKLIST.md`
8+
- `docs/RELEASE_NOTES.md`
9+
- `docs/OPERATIONS_RUNBOOK.md`
10+
11+
## Security and Controls
12+
13+
- `docs/CONTROL_MAPPING.md`
14+
- `docs/SECURITY_AUDIT_GUIDE.md`
15+
- `docs/RBAC_ACCOUNT_ORG_MANAGEMENT.md`
16+
17+
## Data and Schema
18+
19+
- `docs/MIGRATION_VALIDATION.md`
20+
- `docs/DATAMODEL.md`
21+
- `docs/API_V1.md`
22+
- `docs/DATA_DICTIONARY.md`
23+
24+
## Accessibility
25+
26+
- `docs/ACCESSIBILITY_TRACKER.md`
27+
28+
## Pilot
29+
30+
- `docs/PILOT_EXECUTION_GUIDE.md`
31+
- `docs/PILOT_FINDINGS.md`

docs/plan/M01-schema-and-contract-reconciliation.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,19 @@ Align database schema/RPC contracts with application code expectations.
2323
- [x] Add platform and agency management RPCs.
2424
- [x] Add compatibility wrapper for `get_public_dockets`.
2525
- [x] Add baseline RLS for newly introduced tables.
26+
- [x] Add reproducible fresh migration replay validation command.
2627

2728
## Acceptance criteria
2829

2930
- [x] Frontend no longer references non-existent schema objects.
3031
- [x] Core RPC calls resolve at runtime.
31-
- [ ] Migration applies cleanly on a fresh database.
32+
- [x] Migration applies cleanly on a fresh database.
3233

3334
## Risks/blockers
3435

3536
- Existing enum values may conflict with planned canonical status model.
3637
- RPC behavior may need iterative refinement for production constraints.
38+
- Supabase runtime-specific behaviors still require staging verification beyond SQL replay.
3739

3840
## Decision log
3941

@@ -52,3 +54,5 @@ Align database schema/RPC contracts with application code expectations.
5254
- 2026-02-11: Added follow-up migration `20260211000500_security_audit_and_abuse_events.sql` to introduce immutable audit trails and abuse-event telemetry primitives.
5355
- 2026-02-11: Added automated contract test `tests/schema-contracts.test.js` validating all `.from()` and `.rpc()` references in app/edge code map to objects defined by migrations.
5456
- 2026-02-11: Attempted fresh local migration validation with `supabase db reset --local --yes`; blocked because Docker daemon is unavailable in current environment.
57+
- 2026-02-11: Added `scripts/validate-migrations-fresh.sh` and `npm run db:validate:fresh` to validate migration replay using a temporary local PostgreSQL instance (no Docker dependency).
58+
- 2026-02-11: Executed `npm run db:validate:fresh`; all migrations through `20260211000700_platform_role_scope_hardening.sql` applied successfully on a fresh database.

docs/plan/M02-auth-rbac-and-multi-tenancy.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,4 @@ Implement real agency membership and permission checks with tenant isolation.
4848
- 2026-02-11: Added `tests/tenant-isolation-policies.test.js` to verify RLS enablement and tenant predicates exist across agency-scoped tables.
4949
- 2026-02-11: Added migration `20260211000600_rbac_account_management_hardening.sql` to tighten `is_agency_admin` semantics (owner/admin only), enforce enterprise role/status guardrails in membership RPCs, and protect restricted profile fields from self-escalation.
5050
- 2026-02-11: Expanded agency user experience with self-service profile management and role-permission catalog while retaining admin workflows for invite/role/status/ownership management.
51+
- 2026-02-11: Added migration `20260211000700_platform_role_scope_hardening.sql` to enforce super-user scope boundaries (no owner assignment/transfer via super-user), while retaining super-owner authority for platform-level governance.

docs/plan/M07-ux-accessibility-and-design-system.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,4 @@ Consolidate UX architecture and enforce accessible, coherent UI patterns.
4141
- 2026-02-11: Removed unused legacy pages (`src/pages/AgencyDashboard.tsx`, `src/pages/AgencyLogin.tsx`) that contained stale placeholder/duplicate agency UI, leaving canonical `/pages/agency/*` surfaces as the single implementation path.
4242
- 2026-02-11: Added Playwright + Axe automated accessibility baseline (`tests/playwright/accessibility.pw.ts`) and verified no `critical` violations on primary entry routes; recorded in `docs/ACCESSIBILITY_TRACKER.md`.
4343
- 2026-02-11: Refined `Users & Access` IA so all agency roles have a single profile/access surface, with admins getting advanced management controls and role catalog context in the same page.
44+
- 2026-02-11: Expanded automated accessibility baseline coverage to additional core informational/public routes and added landmark/heading smoke assertions in `tests/playwright/accessibility.spec.ts`.

docs/plan/M09-release-readiness-and-pilot.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,4 @@ Complete production readiness verification and pilot execution.
3838
- 2026-02-11: Published `docs/RELEASE_READINESS_CHECKLIST.md` and executed current engineering quality gates (lint/typecheck/test/build) as readiness evidence.
3939
- 2026-02-11: Expanded `docs/OPERATIONS_RUNBOOK.md` from placeholder to actionable incident and rollback playbooks for production operations.
4040
- 2026-02-11: Published `docs/RELEASE_NOTES.md` with milestone-driven v1.0.0-rc1 candidate notes and open GA blockers.
41+
- 2026-02-11: Added pilot execution artifacts: `docs/PILOT_EXECUTION_GUIDE.md`, `docs/PILOT_FINDINGS.md`, and consolidated evidence map in `docs/RELEASE_EVIDENCE_INDEX.md`.

0 commit comments

Comments
 (0)