aboutsummaryrefslogtreecommitdiff
path: root/claude-templates/.ai/workflows/code-quality.org
diff options
context:
space:
mode:
Diffstat (limited to 'claude-templates/.ai/workflows/code-quality.org')
-rw-r--r--claude-templates/.ai/workflows/code-quality.org9
1 files changed, 8 insertions, 1 deletions
diff --git a/claude-templates/.ai/workflows/code-quality.org b/claude-templates/.ai/workflows/code-quality.org
index 2406f4c..3c4ed8f 100644
--- a/claude-templates/.ai/workflows/code-quality.org
+++ b/claude-templates/.ai/workflows/code-quality.org
@@ -1,5 +1,5 @@
#+TITLE: Code-Quality Sweep Workflow
-#+AUTHOR: Craig Jennings & Claude
+#+AUTHOR: Craig Jennings
#+DATE: 2026-06-28
* Overview
@@ -9,6 +9,13 @@ One trigger that runs every behavior-preserving quality pass over a scope of
orchestrator — each pass keeps its own discipline and its own confirm gate; this
workflow only sequences them and collects the residue.
+*Behavior-preserving rests on a test net.* The passes below claim to preserve
+behavior, but a refactor on untested code is a guess, not a preservation. Where
+the scope has no tests, bring it under a characterization net first
+(Normal/Boundary/Error per unit, per the =testing-standards= skill's "Adding Tests to Existing
+Untested Code") — that net is what turns "behavior-preserving" from an assertion
+into something the green suite actually verifies across each pass.
+
The passes it chains:
1. =/refactor= — structural and logic cleanup on measurable metrics (complexity,