mecfs-paperwork
March 10, 2026 ยท View on GitHub
mecfs-paperwork
Offline-first tool for creating and managing ME/CFS-related formpacks with export (DOCX, PDF, JSON).
Important: This repository must not contain any real patient data (not in issues, logs, screenshots, fixtures, or export files).
Use Discussions for general topics/feature requests. Use Issues for bugs.
Repository structure
app/- React/Vite frontend (build output:app/dist)app/public/formpacks/- Formpacks (schemas, UI schemas, i18n, templates)docs/- Project documentation (QA, i18n, formpacks, export formats)tools/- Local helper scripts (quality gates, support zip, skeletons).github/workflows/- CI workflows
Quick Start
cd app
npm ci
npm run dev
Note:
npm run devis fine for normal UI work.- For manual PDF export verification, use
npm run previewinstead. The app's CSP is stricter than Vite's dev bootstrap and can break PDF export behavior in the raw HMR server.
Documentation
Start here: docs/README.md
Highlights:
- Getting started and quality gates:
docs/getting-started.md - Accessibility baseline:
docs/a11y.md - Formpacks authoring:
docs/formpacks.md - Export formats:
docs/formats/pdf-export.mdanddocs/formats/json-export.md - Deployment and Docker/Compose:
docs/deployment.md - QA checklists:
docs/qa/README.md - Security:
docs/security/
Contributing & Security
- Contributing guide:
CONTRIBUTING.md - Security policy:
SECURITY.md - Code of conduct:
CODE_OF_CONDUCT.md - License:
LICENSE
AI-assisted development (transparency)
This project is developed in part with AI assistance (e.g., agents/Codex/Jules). This is intentional: the problem matters, development should move quickly, and AI helps deliver small changes faster.
Important: AI does not replace quality or security measures. Changes are not accepted "blindly"; they go through review and the existing quality gates (see "Quality gates" and CONTRIBUTING/AGENTS).
GitHub Copilot Instructions
This repository includes comprehensive instructions for GitHub Copilot coding agent:
.github/copilot-instructions.md- Repository-wide instructions with code examples, troubleshooting, and quality guidelinesAGENTS.md- Agent persona definitions, boundaries, and quality gate requirements.github/instructions/- Path-specific instructions:formpacks.md- Guidelines for formpack content (JSON schemas, DOCX templates)typescript-react.md- TypeScript/React code standards and testing requirements
These instructions help ensure consistent code quality, maintain privacy standards, and follow best practices automatically.