Last Updated: 2026-04-12 Central entry point for all governance documentation in Encore Health OS. This file links to the authoritative sources for each governance domain — it does not duplicate their 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.
Document Hierarchy
constitution.md wins.
Platform Governance
| Document | Purpose |
|---|---|
| constitution.md | Non-negotiable engineering guardrails (architecture, security, database, PWA, testing, documentation, automation, definition of done) |
| AGENTS.md | AI agent quick reference: patterns, checklists, regulatory decision tree, what AI must never do |
| AI_GUIDE.md | AI contribution workflow: spec process, implementation log protocol, decision framework |
| docs/DOCUMENTATION_STANDARDS.md | Documentation hierarchy, naming, versioning, ownership, maintenance |
| docs/VERSIONS.md | Single source of truth for all documentation versions |
Architecture Governance
| Document | Purpose |
|---|---|
| docs/architecture/decisions/ | Architecture Decision Records (ADR-001 through ADR-013) — why the platform is built the way it is |
| docs/architecture/integrations/CROSS_CORE_INTEGRATIONS.md | Cross-core integration patterns, encounter lifecycle, event contracts |
| docs/architecture/integrations/PLATFORM_INTEGRATION_LAYERS.md | Platform Integration Layer (PIL) design |
Regulatory Compliance
| Document | Purpose |
|---|---|
| docs/compliance/REGULATORY_COMPLIANCE_TRACKER.md | Master compliance status: CL/PM regulations (42 CFR Part 2, HIPAA, AHCCCS, ONC, etc.) |
| docs/compliance/HR_WORKFORCE_COMPLIANCE_TRACKING.md | HR compliance: FLSA, FMLA, ERISA, ACA, I-9, OSHA, EEOC, credentialing |
| docs/compliance/FA_FINANCIAL_COMPLIANCE_TRACKING.md | FA compliance: IRS, FASB ASC 958, OMB 2 CFR 200 |
| docs/compliance/RH_RECOVERY_HOUSING_COMPLIANCE_TRACKING.md | RH compliance: AZ DHS, NARR, Fair Housing, fire safety |
| docs/compliance/GR_GOVERNANCE_COMPLIANCE_TRACKING.md | GR compliance: CARF, Joint Commission, HEDIS, NOMs, incident reporting |
| docs/compliance/IT_SECURITY_COMPLIANCE_TRACKING.md | IT security: HIPAA Security Rule, HITECH, NIST CSF, CIS Controls |
| docs/compliance/CE_COMMUNICATIONS_COMPLIANCE_TRACKING.md | CE communications: CAN-SPAM, TCPA, call recording |
| docs/compliance/FCRA_TCPA_COMPLIANCE_TRACKING.md | FCRA/TCPA: background checks, SMS consent |
| docs/compliance/ONC_CERTIFICATION_ROADMAP.md | ONC certification roadmap (CL-16, PM-01) |
| docs/compliance/PHI_CLASSIFICATION.md | PHI classification table (which columns/tables contain PHI) |
| docs/compliance/evidence/index.md | Compliance evidence packages (per-feature regulatory proof) |
AI & Automation Governance
| Document | Purpose |
|---|---|
| .cursor/README.md | Cursor IDE governance: agent catalog, command inventory, rules, MCP |
| .cursor/BUGBOT.md | Automated PR review rules (database, security, TODO/FIXME) |
| .cursor/hooks.json | IDE hooks: PHI scanner, sensitive file guard, risky command guard, post-edit check |
| .cursor/rules/RULES_GOVERNANCE.md | Cursor rule authoring standards and review cadence |
| .claude/README.md | Claude Code governance: agents, skills, hooks, conflict resolution |
| docs/development/AI_PLATFORM_PARITY.md | Capability matrix across Cursor, Claude Code, and GitHub Copilot |
AI Configuration Governance Cadence
Monthly (see AGENTS.md for full checklist):- Reconcile inventory counts for
.cursor/commands,.cursor/agents,.cursor/skills,.cursor/rules - Validate links in AI-facing docs and remove stale references
- Review MCP server list; confirm secrets are environment-driven
- Prune duplicate/overlapping rules; update skill/subagent taxonomy
.cursor/**, AGENTS.md, AI_GUIDE.md, docs/development/*CURSOR*):
- Update inventory/documentation references
- Confirm no committed plaintext secrets
- Confirm hook and command paths exist
- Include verification evidence
CI Governance Gates
| Gate | Script | Blocking? |
|---|---|---|
| Governance validation | npm run validate:governance | ✅ Yes |
| Version sync check | npm run validate-version-sync | ✅ Yes |
| Architecture boundary check | npm run check-architecture | ✅ Yes |
| RLS coverage | scripts/check-rls-coverage.ts --min-coverage 100 | ✅ Yes |
| AI slop detection | npm run check:slop:ci | ⚠️ Warning only |
| Dead code detection | npm run check:dead-code:ci | ⚠️ Warning only |
| Dependency audit | npm run check:deps | ⚠️ Warning only |
| Compliance evidence audit | npx tsx scripts/audit/audit-compliance-evidence.ts | Manual |
| Governance report | npm run governance:report (when created) | Manual/weekly CI |
Spec Governance
| Document | Purpose |
|---|---|
| docs/development/SPEC_WORKFLOW.md | Canonical spec workflow (create → clarify → validate → review → tasks → implement → verify → complete) |
| specs/README.md | Spec directory overview and discovery |
| specs/_templates/TEMPLATE_INDEX.md | Template decision tree and all template descriptions |
| specs/IMPLEMENTATION_LOG.md | Platform-wide implementation log |
| specs/DEFERRED_DASHBOARD.md | Deferred phase dashboard |
Governance Health Scripts
Related: GR Module (Product Governance)
The GR (Governance & Risk) core handles product-level governance workflows (policy management, audit management, risk assessments, accreditation tracking, incident reporting, AI compliance advisor). This file covers engineering and documentation governance.- specs/gr/README.md — GR module specs
- docs/compliance/GR_GOVERNANCE_COMPLIANCE_TRACKING.md — GR regulatory compliance