Strict rule placement: every rule names its level; core queue; rules move; level audit; unknown flags refused
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
4e549dedde
commit
bbf21ef178
9 files changed
+291
-87
No files matched your search
@@ -16,7 +16,7 @@ REPO = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
sys.path.insert(0, REPO)
|
||||
from sisi import retro, store
|
||||
GAP = ("--gap", "the export dropped rows with empty names until the person noticed",
|
||||
"--cause", "no check compared the row counts before and after", "--term", "evidence")
|
||||
"--cause", "no check compared the row counts before and after", "--term", "evidence", "--level", "project")
|
||||
|
||||
|
||||
def tree():
|
||||
@@ -87,7 +87,7 @@ class Problems(unittest.TestCase):
|
||||
self.assertNotIn("has come back", out)
|
||||
|
||||
# Open problem #2 by words
|
||||
rc, out, err = self.sisi("retro", "--gap", "build script left stale artifacts in output",
|
||||
rc, out, err = self.sisi("retro", "--level", "project", "--gap", "build script left stale artifacts in output",
|
||||
"--cause", "clean step was skipped on incremental runs",
|
||||
"--improve", "Always clean output directory before packaging release",
|
||||
"--term", "value", "--problem", "stale build artifacts")
|
||||
@@ -125,7 +125,7 @@ class Problems(unittest.TestCase):
|
||||
# Add more non-problem records and cite #2; numbers stay stable
|
||||
self.assertEqual(self.sisi("retro", "--no-gap", "the build passed cleanly on first run",
|
||||
"--term", "time", "--better", "parallelize the test suite run here")[0], 0)
|
||||
rc, out, _ = self.sisi("retro", "--gap", "build script left stale artifacts again",
|
||||
rc, out, _ = self.sisi("retro", "--level", "project", "--gap", "build script left stale artifacts again",
|
||||
"--cause", "incremental cache kept old binary",
|
||||
"--improve", "Hash inputs before reusing build artifacts",
|
||||
"--term", "value", "--problem", "2")
|
||||
|
||||
Reference in new issue
Block a user