You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,14 @@ and this project follows SemVer for bundle versions.
10
10
### Added
11
11
12
12
- Documentation: authoritative `docs/reference/documentation-url-contract.md` for core vs modules URL ownership; `redirect_from` aliases for legacy `/guides/<basename>/` on pages whose canonical path is outside `/guides/`; sidebar link to the contract page.
13
+
- Add expanded clean-code review coverage to `specfact-code-review`, including
14
+
naming, KISS, YAGNI, DRY, SOLID, and PR-checklist findings plus the bundled
Copy file name to clipboardExpand all lines: docs/bundles/code-review/overview.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,10 @@ Use it together with the [Codebase](../codebase/overview/) bundle (`import`, `an
45
45
46
46
## Bundle-owned skills and policy packs
47
47
48
-
House rules and review payloads ship **inside the bundle** (for example Semgrep packs and skill metadata). They are **not** core CLI-owned resources. Install or refresh IDE-side assets with `specfact init ide` after upgrading the bundle.
48
+
House rules and review payloads ship **inside the bundle** (for example Semgrep
49
+
packs, the `specfact/clean-code-principles` policy-pack manifest, and skill
50
+
metadata). They are **not** core CLI-owned resources. Install or refresh
51
+
IDE-side assets with `specfact init ide` after upgrading the bundle.
and the targeted unit tests so the new clean-code checks, strict PR-mode gating, dependency-root detection, KISS tool labeling, and Semgrep parsing behavior matched the review comments.
30
+
-`2026-03-31T01:06:30+02:00` Green phase:
31
+
`SPECFACT_ALLOW_UNSIGNED=1 hatch run pytest tests/unit/specfact_code_review/run/test_runner.py tests/unit/specfact_code_review/tools/test_ast_clean_code_runner.py tests/unit/specfact_code_review/tools/test_radon_runner.py tests/unit/specfact_code_review/tools/test_semgrep_runner.py -q`
32
+
passed with `50 passed in 20.26s`.
33
+
-`2026-03-31T01:08:11+02:00` Release validation:
34
+
`hatch run verify-modules-signature --require-signature --payload-from-filesystem --enforce-version-bump`
35
+
passed after the module was signed again.
36
+
-`2026-03-31T01:10:42+02:00` Review validation:
37
+
`SPECFACT_ALLOW_UNSIGNED=1 hatch run specfact code review run --json --out .specfact/code-review.json`
Copy file name to clipboardExpand all lines: openspec/changes/clean-code-02-expanded-review-module/tasks.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,27 +2,27 @@
2
2
3
3
## 1. Branch and dependency guardrails
4
4
5
-
-[] 1.1 Create dedicated worktree branch `feature/clean-code-02-expanded-review-module` from `dev` before implementation work.
6
-
-[] 1.2 Confirm the archived runner and review-run changes are available locally and note the cross-repo dependency on specfact-cli `code-review-zero-findings`.
7
-
-[] 1.3 Reconfirm scope against the 2026-03-22 clean-code implementation plan and `openspec/CHANGE_ORDER.md`.
5
+
-[x] 1.1 Create dedicated worktree branch `feature/clean-code-02-expanded-review-module` from `dev` before implementation work.
6
+
-[x] 1.2 Confirm the archived runner and review-run changes are available locally and note the cross-repo dependency on specfact-cli `code-review-zero-findings`.
7
+
-[x] 1.3 Reconfirm scope against the 2026-03-22 clean-code implementation plan and `openspec/CHANGE_ORDER.md`.
8
8
9
9
## 2. Spec-first and test-first preparation
10
10
11
-
-[] 2.1 Finalize spec deltas for finding schema expansion, runner behavior, policy-pack payload, and house-rules skill output.
12
-
-[] 2.2 Add or update tests derived from those scenarios before touching implementation.
13
-
-[] 2.3 Run targeted tests expecting failure and record results in `TDD_EVIDENCE.md`.
11
+
-[x] 2.1 Finalize spec deltas for finding schema expansion, runner behavior, policy-pack payload, and house-rules skill output.
12
+
-[x] 2.2 Add or update tests derived from those scenarios before touching implementation.
13
+
-[x] 2.3 Run targeted tests expecting failure and record results in `TDD_EVIDENCE.md`.
14
14
15
15
## 3. Implementation
16
16
17
-
-[] 3.1 Extend the review finding schema and runner orchestration for the new clean-code categories.
18
-
-[] 3.2 Implement or update the semgrep, radon, solid, yagni, dry, and checklist paths required by the new scenarios.
19
-
-[] 3.3 Ship the `specfact/clean-code-principles` policy-pack payload and refresh `skills/specfact-code-review/SKILL.md` with the compact charter.
17
+
-[x] 3.1 Extend the review finding schema and runner orchestration for the new clean-code categories.
18
+
-[x] 3.2 Implement or update the semgrep, radon, solid, yagni, dry, and checklist paths required by the new scenarios.
19
+
-[x] 3.3 Ship the `specfact/clean-code-principles` policy-pack payload and refresh `skills/specfact-code-review/SKILL.md` with the compact charter.
20
20
21
21
## 4. Validation and documentation
22
22
23
-
-[] 4.1 Re-run targeted tests, quality gates, and review fixtures until all changed scenarios pass.
24
-
-[] 4.2 Update bundle docs, changelog, and release metadata for the new categories and pack payload.
25
-
-[] 4.3 Run `openspec validate clean-code-02-expanded-review-module --strict` and resolve all issues.
23
+
-[x] 4.1 Re-run targeted tests, quality gates, and review fixtures until all changed scenarios pass.
24
+
-[x] 4.2 Update bundle docs, changelog, and release metadata for the new categories and pack payload.
25
+
-[x] 4.3 Run `openspec validate clean-code-02-expanded-review-module --strict` and resolve all issues.
0 commit comments