SOP 001 DocControl
1. Purpose
Define how ACME GmbH creates, reviews, approves, revises, distributes, and archives controlled QMS documents and quality records.
2. Scope
Applies to all controlled QMS documents and quality records maintained within repositories designated under this QMS as systems of record. Product/study execution records may be maintained outside this upstream baseline repository when the designated repository is identified in the applicable dossier or process record.
- Change request, issue, CAPA, audit finding, or management review action
- Applicable standard/regulatory update
- Existing controlled document revision
4. Outputs
- Approved controlled document revision in
main of the governing repository
- Immutable execution record through PR history and released record assets
- Updated published index and training obligations
5. Roles and Responsibilities
| Role |
Responsibilities |
| QA Lead |
Maintains document control process and naming/version rules. |
| Management Representative |
Approves new or revised controlled documents and critical records. |
| Process Owner |
Drafts/updates document content and verifies technical correctness. |
| All Personnel |
Use only current approved revisions and maintain the security of their uniquely assigned GitHub credentials. The use of a user's GitHub account to approve a pull request under this QMS constitutes their legally binding electronic signature. |
6. Procedure
6.1 Document Classes
QM: top-level quality manual documents in qm/.
SOP: controlled procedures in sops/.
WI: controlled work instructions in wis/ that define default execution detail for selected SOP activities.
Matrix: structured governance references in matrices/.
Template: forms for planning/execution in .github/ISSUE_TEMPLATE and template artifacts in records/*.
Execution Record: objective evidence maintained in approved target record repositories.
- QM files must use
QM-XXX-Title.md naming and include YAML front matter fields: qm_id, title, revision, revision_date, status, owner_role, approver_role.
- SOP files must use
SOP-XXX-Title.md naming and include YAML front matter fields: sop_id, title, revision, revision_date, status, owner_role, approver_role.
- WI files must use
WI-XXX-Title.md naming and include YAML front matter fields: wi_id, title, revision, revision_date, status, owner_role, related_sops.
- Revision format is
RNN (for example R03). The revision_date field is the date the revision text was approved on main; a controlled document becomes effective only when its revision is included in a published QMS-YYYY-MM-DD-RNNN release tag.
6.3 Draft, Review, and Approval
- All controlled document and record changes are prepared on a branch in the target repository and submitted via PR with either linked issue context or sufficient change context stated directly in the PR.
- Branch-only and PR-draft states are work-in-progress and are not approved controlled revisions, released baselines, or record evidence.
- The PR must state the change or execution context and the required electronic-signature meaning and roles. A separate issue may be referenced when one is used.
- At least one designated approver reviews technical and compliance adequacy.
- Electronic Signature Declaration: Execution of a PR approval in GitHub, when captured by the baseline signature automation, constitutes a legally binding electronic signature equivalent to a handwritten signature.
- Merges are permitted only after required status checks and reviewer approvals are successfully completed.
- Controlled state exists only after merge to
main in the governing repository and, where required by process, after the associated immutable release/tag evidence is created.
- Signature collection and attestation evidence are captured post-merge on the merged PR and must complete before immutable record publication.
- User accounts used for review or approval must be uniquely assigned, access-controlled, and traceable. Authentication, authorization, and audit-trail controls must preserve the integrity and non-repudiation of electronic signatures.
6.4 Published Index Synchronization
- Any QM, SOP, or WI text change must update the Published Controlled Document Index in
README.md.
- Index entries must include document ID, title, file, revision date, revision, and status.
1.4_qms_content_gate.yml blocks PRs where controlled-document updates are not reflected in index changes.
6.5 Training and Role Impact Synchronization
- QM and SOP revisions must be evaluated for role and training impact.
matrices/training_matrix.yml must be updated when role coverage or required document revisions change.
- Training assignment automation creates issues only for mapped roles/users.
6.6 Record Retention and Immutability
- Merged PRs serve as the trigger for immutable evidence of the approved document state.
- The definitive quality record consists of the cryptographically signed
signed_attestation.json and corresponding immutable GitHub Release/Sigstore attestation bundle in the target record repository.
- A human-readable
Electronic_Signature_Certificate.pdf is automatically generated alongside these assets to satisfy regulatory manifestation requirements (for example displaying the printed name, date/time, and meaning of the signature).
- Required quality records are published as immutable release assets in the designated record repository and linked back to source PR context.
- GitHub and associated automation used for document control, electronic signatures, and record retention must be validated for intended use under
SOP-006.
- Quality records must be retained for at least the documented device lifetime and not less than 10 years after the last product has been placed on the market, or 15 years for implantable devices, unless longer retention is required by applicable regulations.
- Where device lifetime cannot be reasonably determined, retain the quality record for at least 10 years from record creation.
- Product-specific retention requirements must be defined in the product dossier and implemented in the designated record repository.
- Obsolete revisions remain available in Git history and must not be deleted.
6.7 External Documents
- External normative references are maintained as citation metadata, not copied full text.
- If external requirements change, impacted SOPs are revised through controlled change.
- A controlled document authored outside GitHub, for example in Word, must be brought under QMS control through a manifest-based record package in the target repository.
- The package must include:
- the controlled rendering approved under this QMS, normally PDF
- the native source file when retention is required by process or product needs
- source-system identifier, source revision/version, and export timestamp
- SHA-256 hashes for the controlled rendering and retained native source
- PR reference and any associated issue reference used for approval and immutable release publication
- Approval and retention of such external-origin documents follow the same change-context -> PR -> merge -> signature attestation -> immutable release sequence used for GitHub-authored controlled records, where the change context may be established in a separate issue or directly in the PR.
- The approved rendering and manifest in the target repository are the QMS-controlled record of the approved state, even when the authoring system is external.
7. Required Records
- PR with approvals and signature attestation
- Updated
README.md published controlled document index
- Record release manifest and immutable release assets in the designated record repository when applicable
- External document manifest and hash evidence when external-origin controlled documents are used
- Training issue/record when applicable
8. Traceability
| Standard Clause |
Control in this SOP |
| ISO 13485:2016 4.2.4 |
Defines document approval, revision control, and controlled availability. |
| ISO 13485:2016 4.2.5 |
Defines record identification, retention, and immutability expectations. |
- QM-001 Quality Manual
- SOP-005 QMS Governance
- SOP-009 Change Management
- WI-001 Verification and Validation Execution
- WI-002 Configuration and Release Management Execution
records/external/external_document_manifest_template.yml
README.md Published Controlled Document Index
10. Revision History
| Revision |
Revision Date |
Change Summary |
| R00 |
2026-03-01 |
Initial placeholder release. |
| R01 |
2026-03-02 |
Full procedure content implemented for ACME GmbH. |
| R02 |
2026-03-05 |
Updated Sections 5, 6.3, and 6.6 to formally define GitHub PR approvals as binding electronic signatures and clarify the structure of immutable cryptographic records. |
| R03 |
2026-03-05 |
Updated repository-of-record model: product/study records are maintained outside qms-lite, and SOP workflow wording now matches post-merge signature collection before immutable publication. |
| R04 |
2026-03-06 |
Added controlled WI document class and metadata rules for the targeted GitHub-native execution instructions. |
| R05 |
2026-03-06 |
Added normative control path for external-origin documents and clarified manifest/hash requirements for documents authored outside GitHub. |
| R06 |
2026-03-07 |
Updated workflow references and terminology to the current gate and electronic-signature naming model. |
| R07 |
2026-03-07 |
Updated workflow filename references to the per-automation numbering scheme. |
| R08 |
2026-03-07 |
Clarified that controlled state exists only after merge to main or required immutable publication, and that PRs may carry their own controlled change context without a mandatory linked issue. |
| R09 |
2026-03-07 |
Removed overly specific signature-regulation terminology from the controlled signature wording and kept the SOP language technology-neutral. |
| R10 |
2026-03-08 |
Added QM as a first-class controlled document class and generalized the published index and training-sync rules from SOP-only to controlled-document scope. |
| R11 |
2026-03-10 |
Updated upstream baseline naming, licensing, and open-source publication references used in document control. |
| R12 |
2026-03-18 |
Merged Section 6.2 SOP metadata requirements and removed top-table standards clause metadata from SOP front matter. |
| R13 |
2026-03-25 |
Clarified designated-system-of-record scope, strengthened user-account/signature controls, linked GitHub validation to SOP-006, and added explicit record-retention requirements. |
| R14 |
2026-04-27 |
Renamed YAML metadata field effective_date to revision_date to align controlled-document metadata with the tag-based publication model. The effective date is derived from the published QMS release tag rather than from the document front matter. |
| R15 |
2026-05-04 |
Standardize standards citations to specific versions. |