Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,17 @@ def deploy(target: str, config_path: Path, dry_run: bool) -> None:
"owner_role": "Quality Management Officer",
"approver": config.organisation.management,
"author": config.organisation.quality_officer,
"date": "TODO",
"date": "TBD",
# Record-template placeholders — filled in per instance
"audit_date": "TBD",
"auditor": "TBD",
"audit_scope": "TBD",
"contact": "TBD",
"capa_id": "CAPA-XXXX-NNN",
"opened_date": "TBD",
"opened_by": "TBD",
"source_ref": "TBD",
"participants": "TBD",
},
)
rendered[doc.id] = (doc.title, content)
Expand Down
16 changes: 14 additions & 2 deletions config/core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ clauses:
documents: [process_map, customer_requirements_procedure, supplier_evaluation, nonconformity_procedure]
- id: "9"
title: "Performance Evaluation"
documents: [internal_audit_procedure, management_review_procedure, kpi_dashboard]
documents: [internal_audit_procedure, internal_audit_checklist, management_review_procedure, mgmt_review_agenda, kpi_dashboard]
- id: "10"
title: "Improvement"
documents: [capa_procedure, continual_improvement_procedure]
documents: [capa_procedure, capa_form, continual_improvement_procedure]

documents:
# Clause 4
Expand Down Expand Up @@ -130,10 +130,18 @@ documents:
title: "Procedure: Internal Audits"
template: procedure
clause: "9.2"
- id: internal_audit_checklist
title: "Internal Audit Checklist"
template: internal_audit_checklist
clause: "9.2"
- id: management_review_procedure
title: "Procedure: Management Review"
template: procedure
clause: "9.3"
- id: mgmt_review_agenda
title: "Management Review — Agenda and Minutes"
template: mgmt_review_agenda
clause: "9.3"
- id: kpi_dashboard
title: "KPI Dashboard / Performance Indicators"
template: kpi_dashboard
Expand All @@ -143,6 +151,10 @@ documents:
title: "Procedure: Corrective Actions (CAPA)"
template: procedure
clause: "10.2"
- id: capa_form
title: "CAPA Form — Corrective Action"
template: capa_form
clause: "10.2"
- id: continual_improvement_procedure
title: "Procedure: Continual Improvement"
template: procedure
Expand Down
9 changes: 2 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,11 @@ dependencies = [

[project.optional-dependencies]
dev = [
"pytest>=8.0",
"pytest>=9.1",
"pytest-cov>=5.0",
"mypy>=1.10",
"bandit>=1.8",
"ruff>=0.11",
"hatchling>=1.25",
"types-pyyaml>=6.0",
"types-requests>=2.31",
Expand All @@ -35,12 +36,6 @@ dev = [
[project.scripts]
qms-kit = "cli.main:cli"

[dependency-groups]
dev = [
"pytest>=9.1.1",
"ruff>=0.15.20",
]

[tool.ruff]
line-length = 100
target-version = "py312"
Expand Down
16 changes: 3 additions & 13 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.