@caddis/cli 0.4.12 → 0.4.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/antigravity-plugin/guard_agy.py +62 -13
- package/bundles/antigravity-plugin/plugin.json +1 -1
- package/bundles/antigravity-plugin/repo_freshness.py +146 -0
- package/bundles/antigravity-plugin/scripts/caddis-run.ps1 +11 -0
- package/bundles/antigravity-plugin/scripts/caddis-run.sh +9 -0
- package/bundles/antigravity-plugin/scripts/caddis_gate.py +24 -3
- package/bundles/antigravity-plugin/scripts/caddis_governor.py +542 -0
- package/bundles/antigravity-plugin/scripts/caddis_host_guard.py +689 -0
- package/bundles/antigravity-plugin/scripts/caddis_inventory.py +7 -3
- package/bundles/antigravity-plugin/scripts/caddis_lanes.py +1632 -0
- package/bundles/antigravity-plugin/scripts/caddis_spawn.py +159 -14
- package/bundles/antigravity-plugin/scripts/check_doc_coverage.py +59 -7
- package/bundles/antigravity-plugin/scripts/install-host-guard.ps1 +393 -0
- package/bundles/antigravity-plugin/skills/feature-plan/SKILL.md +30 -4
- package/bundles/antigravity-plugin/skills/implement/SKILL.md +48 -1
- package/bundles/antigravity-plugin/skills/kb/SKILL.md +4 -0
- package/bundles/antigravity-plugin/skills/spawn-session/SKILL.md +89 -16
- package/bundles/antigravity-plugin/warm_start_agy.py +38 -4
- package/bundles/manifest.json +2 -2
- package/package.json +1 -1
|
@@ -325,12 +325,16 @@ def _run_tests(cmd: list[str], cwd: Path, timeout: int = 900) -> tuple[str, str]
|
|
|
325
325
|
return (f"could not run the suite ({type(exc).__name__})", shown)
|
|
326
326
|
|
|
327
327
|
blob = (r.stdout or "") + chr(10) + (r.stderr or "")
|
|
328
|
-
#
|
|
328
|
+
# The summary is the last line naming passed/failed/error. Case-insensitive, because Pester
|
|
329
|
+
# capitalises it (`Tests Passed: 22, Failed: 0`) — found 2026-09-10 in an all-Pester repo.
|
|
329
330
|
tail = [l.strip() for l in blob.splitlines()
|
|
330
|
-
if (
|
|
331
|
+
if any(w in l.lower() for w in ("passed", "failed", "error")) and "==" not in l[:2]]
|
|
331
332
|
if tail:
|
|
332
333
|
return (tail[-1], shown)
|
|
333
|
-
|
|
334
|
+
# Say WHAT was run and how to change it. A bare "no summary" read as "this repo has no tests"
|
|
335
|
+
# when the truth was "the tool and the repo disagree about how to run them".
|
|
336
|
+
return (f"no test summary from `{shown}` (exit {r.returncode}) — if this repo's tests are "
|
|
337
|
+
"not pytest, set [handover] test_cmd in .caddis/config.toml", shown)
|
|
334
338
|
|
|
335
339
|
|
|
336
340
|
def _test_command(root: Path) -> list[str]:
|