🎯 Goal
Lock the new relational + action model with thorough tests and a core coverage gate (mirroring quality_core.io at 100%), so the shared schema is bulletproof for both tools.
📋 Tasks
✅ Definition of Done
🛠 How to execute
Primary: test-automator + /python-testing-patterns. Support: /code-review.
Files: packages/quality-core/tests/, .github/workflows/ci.yml, app CLAUDE.md gate docs.
Verify: uv run pytest packages/quality-core --cov=quality_core.schema --cov-fail-under=100.
🔗 Dependencies
Blocked by W05-2, W05-3 (can overlap W05-4/5).
📎 References
W04-5 (core io 100% + CI gate) for the gate pattern and the duck-typed-fake testing approach.
🧭 Fresh-session orientation
- Repo:
quality-platform/ uv workspace (members: packages/quality-core, apps/fmea, apps/spc). Read apps/fmea/CLAUDE.md first.
- Gate (must be green before close):
uv run ruff check . · uv run mypy · uv run pytest --cov. Locally: uv at ~/.local/bin/uv; or source .venv/bin/activate then python -m pytest.
- Workflow: one issue at a time → multi-agent
/code-review before finishing → conventional commit → push → CI green → close issue, card → Done.
- Precedent: Week 04 shared
quality_core/io; this week shares schema. FMEA exports must stay content-identical (openpyxl/fpdf2 embed build timestamps — compare cell grids + strip PDF /CreationDate, never raw bytes).
🎯 Goal
Lock the new relational + action model with thorough tests and a core coverage gate (mirroring
quality_core.ioat 100%), so the shared schema is bulletproof for both tools.📋 Tasks
quality_core.schemaat the chosen threshold (100% target, likeio).✅ Definition of Done
quality_core.schemaat gate threshold; validation + round-trip + effectiveness paths covered; CI gate added; full suite green.🛠 How to execute
Primary:
test-automator+/python-testing-patterns. Support:/code-review.Files:
packages/quality-core/tests/,.github/workflows/ci.yml, appCLAUDE.mdgate docs.Verify:
uv run pytest packages/quality-core --cov=quality_core.schema --cov-fail-under=100.🔗 Dependencies
Blocked by W05-2, W05-3 (can overlap W05-4/5).
📎 References
W04-5 (core io 100% + CI gate) for the gate pattern and the duck-typed-fake testing approach.
🧭 Fresh-session orientation
quality-platform/uv workspace (members:packages/quality-core,apps/fmea,apps/spc). Readapps/fmea/CLAUDE.mdfirst.uv run ruff check .·uv run mypy·uv run pytest --cov. Locally:uvat~/.local/bin/uv; orsource .venv/bin/activatethenpython -m pytest./code-reviewbefore finishing → conventional commit → push → CI green → close issue, card → Done.quality_core/io; this week shares schema. FMEA exports must stay content-identical (openpyxl/fpdf2 embed build timestamps — compare cell grids + strip PDF/CreationDate, never raw bytes).