fix(workflow): semantic accuracy check in mandatory pre-commit file review (#274)#285
Conversation
Greptile SummaryThis PR adds a semantic accuracy check to the mandatory pre-commit file review in both Confidence Score: 5/5Safe to merge — changes are additive documentation edits with no runtime risk. All remaining findings are P2 (style/clarity). The only issue is that the illustrative example in deft-build is borrowed from the roadmap-refresh domain, which is a minor clarity gap and does not affect correctness or enforcement. Both acceptance criteria from the spec task are satisfied, the renumbering in deft-build is correct, and the CHANGELOG entry is accurate. No files require special attention; the P2 note on skills/deft-build/SKILL.md line 142 is a minor wording improvement, not a blocker. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Pre-Commit / Pre-Flight] --> B[Re-read ALL modified files]
B --> C{Check 1: Encoding errors}
C --> D{Check 2: Unintended duplication}
D --> E{Check 3: Structural issues}
E --> F{Check 4: Semantic accuracy NEW}
F --> G[deft-build only]
G --> H{Check 5: Semantic contradictions}
H --> I{Check 6: Strength duplicates}
F --> J[deft-roadmap-refresh only]
J --> K[Proceed to commit / push]
I --> K
Prompt To Fix All With AIThis is a comment left during a code review.
Path: skills/deft-build/SKILL.md
Line: 142
Comment:
**Example is roadmap-refresh-specific**
The parenthetical example `"triaged 4 issues"` is copied verbatim from the roadmap-refresh skill and has no meaning in a build workflow. A reader of `deft-build` who has never used `deft-roadmap-refresh` won't recognise this as relevant, which reduces the check's signal value for the intended audience.
Consider replacing with a build-domain example such as counts of tasks implemented, tests written, or phases completed:
```suggestion
4. ! **Semantic accuracy** -- verify that counts, claims, and summaries in CHANGELOG entries match the actual data in the commit (e.g. "added 3 tests" must match the tests actually added, task IDs cited must match the tasks actually implemented)
```
How can I resolve this? If you propose a fix, please make it concise.Reviews (3): Last reviewed commit: "fix(workflow): add semantic accuracy che..." | Re-trigger Greptile |
60c0847 to
f067b30
Compare
|
Rebase-only force-push onto updated master (PR #284 merged). No logic changes -- rebased to resolve CHANGELOG.md insertion-point conflict. |
…le review (#274) - Add semantic accuracy check as fourth check category to skills/deft-roadmap-refresh/SKILL.md Phase 4 pre-flight mandatory file review - Add equivalent semantic accuracy check to skills/deft-build/SKILL.md pre-commit checklist (inserted before existing semantic contradictions and strength duplicates checks, renumbered accordingly) - Check verifies counts, claims, and summaries in CHANGELOG entries and ROADMAP changelog lines match the actual data in the commit - Add CHANGELOG entry under [Unreleased] for t1.15.1
f067b30 to
1d8772d
Compare
Summary
Add semantic accuracy check to the mandatory pre-commit file review step in both
deft-roadmap-refreshanddeft-buildskills.Closes #274
Changes
Spec Task
t1.15.1 (#274) -- acceptance criteria:
Checklist
task checkpasses/deft:changeN/A (fewer than 3 files changed)