diff --git a/docs/artifact-registry.md b/docs/artifact-registry.md index 1f62f99..0758f2a 100644 --- a/docs/artifact-registry.md +++ b/docs/artifact-registry.md @@ -16,7 +16,7 @@ document of a type. `Primary File` may contain a glob (e.g. | PP | Project Plan | docs/project-plan.md | 002 | | MIL | Milestone / Gateway | docs/milestones/*.md | 007 | | DICT | Domain Dictionary | docs/dictionary.md | 002 | -| RC | SQA Review Record | docs/sqa/reviews/rc-*.md | 018 | +| RC | SQA Review Record | docs/sqa/reviews/rc-*.md | 019 | ## Languages diff --git a/docs/sqa/reviews/rc-018-mil-006-code.md b/docs/sqa/reviews/rc-018-mil-006-code.md new file mode 100644 index 0000000..dd175b1 --- /dev/null +++ b/docs/sqa/reviews/rc-018-mil-006-code.md @@ -0,0 +1,59 @@ +# RC-018: Code review of MIL-006 (screenshot: no Python change) + +## Metadata +| Key | Value | +| --- | --- | +| ID | RC-018 | +| CrossReference | [MIL-006], [QC-PY-001] | + +## Version History +| Date | Status | Author | Reviewer | Change | Commit | +| --- | --- | --- | --- | --- | --- | +| 2026-10-13 | Proposed | Jens Tirsvad Nielsen | AI as stand-in for S01 | Initial version | pending | + +--- + +## Artifact Under Review + +- Instance reviewed: the source and tests that [MIL-006] delivers (screenshot: no Python change) +- Checklist used: [QC-PY-001] +- Scope: full review of the files changed on the branch of the milestone: no Python file is among them +- Language and domain: n/a +- Language reviewer: none +- Mode: autonomous, not independent (the reviewer is `AI as stand-in for S01`; the assistant also wrote the code) + +## Checklist Results + +| # | Criterion | Status | Evidence/Notes | +| --- | --- | --- | --- | +| 1 | Packages, modules, functions, variables, classes and constants follow PEP 8 casing (`snake_case`, `PascalCase`, `UPPER_SNAKE`) | N-A | No Python file changed on this branch (`git diff main --stat` shows the PNG, README.md and wiki/ only); the code of the repository was reviewed in RC-009 to RC-012. | +| 2 | Names state purpose in the domain's language; no unexplained abbreviations, no single-letter names outside tiny scopes | N-A | No Python file changed on this branch (`git diff main --stat` shows the PNG, README.md and wiki/ only); the code of the repository was reviewed in RC-009 to RC-012. | +| 3 | Code is produced by the project's formatter and passes its linter with no unexplained suppressions | N-A | No Python file changed on this branch (`git diff main --stat` shows the PNG, README.md and wiki/ only); the code of the repository was reviewed in RC-009 to RC-012. | +| 4 | Every function and method signature is type-annotated, including `-> None` | N-A | No Python file changed on this branch (`git diff main --stat` shows the PNG, README.md and wiki/ only); the code of the repository was reviewed in RC-009 to RC-012. | +| 5 | No bare `except:`, no swallowed exceptions; specific exceptions are raised and the cause is kept (`raise ... from`) | N-A | No Python file changed on this branch (`git diff main --stat` shows the PNG, README.md and wiki/ only); the code of the repository was reviewed in RC-009 to RC-012. | +| 6 | No mutable default arguments and no shadowed builtins | N-A | No Python file changed on this branch (`git diff main --stat` shows the PNG, README.md and wiki/ only); the code of the repository was reviewed in RC-009 to RC-012. | +| 7 | Files, locks and connections are managed with context managers | N-A | No Python file changed on this branch (`git diff main --stat` shows the PNG, README.md and wiki/ only); the code of the repository was reviewed in RC-009 to RC-012. | +| 8 | Public modules, classes and functions have docstrings that say what, not how | N-A | No Python file changed on this branch (`git diff main --stat` shows the PNG, README.md and wiki/ only); the code of the repository was reviewed in RC-009 to RC-012. | +| 9 | Logging uses `logging`, not `print`; no secrets or personal data in log output | N-A | No Python file changed on this branch (`git diff main --stat` shows the PNG, README.md and wiki/ only); the code of the repository was reviewed in RC-009 to RC-012. | +| 10 | Classes and operations trace to the Design Class Diagram they implement; deviations are recorded | N-A | No Python file changed on this branch (`git diff main --stat` shows the PNG, README.md and wiki/ only); the code of the repository was reviewed in RC-009 to RC-012. | +| 11 | Tests exist for new behaviour, are named for the behaviour, and do not depend on order or the network | N-A | No Python file changed on this branch (`git diff main --stat` shows the PNG, README.md and wiki/ only); the code of the repository was reviewed in RC-009 to RC-012. | +| 12 | Type checker runs in strict mode without errors; `Any` is justified in a comment | N-A | No Python file changed on this branch (`git diff main --stat` shows the PNG, README.md and wiki/ only); the code of the repository was reviewed in RC-009 to RC-012. | +| 13 | Dependencies are declared and pinned in the project's dependency file, none unused | N-A | No Python file changed on this branch (`git diff main --stat` shows the PNG, README.md and wiki/ only); the code of the repository was reviewed in RC-009 to RC-012. | +| 14 | Each piece of knowledge (a business rule, constant, format, validation or query) is defined in one place; code is merged only where it expresses the same knowledge, not where it merely looks alike | N-A | No Python file changed on this branch (`git diff main --stat` shows the PNG, README.md and wiki/ only); the code of the repository was reviewed in RC-009 to RC-012. | +| 15 | Imports point inward: business-rule modules import no framework, database, UI or delivery-mechanism code, and there are no import cycles | N-A | No Python file changed on this branch (`git diff main --stat` shows the PNG, README.md and wiki/ only); the code of the repository was reviewed in RC-009 to RC-012. | +| 16 | SOLID holds: a class or module has one reason to change; new behaviour is added by extension, not by editing a type test in several places; subclasses honour the contract of their base; protocols are narrow; high-level code depends on protocols or abstract types and receives its implementations | N-A | No Python file changed on this branch (`git diff main --stat` shows the PNG, README.md and wiki/ only); the code of the repository was reviewed in RC-009 to RC-012. | + +## Overall Verdict + +Go — no Python file changed in this milestone, so every criterion is not applicable; the repository's code stands on RC-009 to RC-012. Assessed on 2026-10-13 by the assistant that wrote the code, as stand-in for S01 in autonomous mode. Mode: autonomous, not independent. The pull request is the second look. + +## Action Items + +| Action | Owner | Due | +| --- | --- | --- | +| Challenge this `Go` in the run summary or on the pull request if the stand-in decision is not wanted | S01 | 2026-10-20 | + +--- + +[MIL-006]: ../../milestones/mil-006-screenshot.md +[QC-PY-001]: ../../../framework/qc/code/qc-programming-python.md