Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix: have the dev-environment audit clean up what its own measurement run leaves behind

[._.]/ Adam Eivyfa8ddc0fdc4d
diff --git a/server/services/taskPromptDefaults/integrity.snapshot.json b/server/services/taskPromptDefaults/integrity.snapshot.json
index d40bef102c..d28db49d9e 100644
--- a/server/services/taskPromptDefaults/integrity.snapshot.json
+++ b/server/services/taskPromptDefaults/integrity.snapshot.json
@@ -6,7 +6,7 @@
"better-cognitive-load": "a1fe22f6ef936131456c55a6b0623204",
"better-complexity": "c99f67b43ff54a1c8cf0176c721d9c06",
"better-dependency-freedom": "8a79c8be829f926bbc7720ee29818d53",
- "better-dev-environment": "5eff78a11e5d856ce1a91edfe429f782",
+ "better-dev-environment": "62523b82066e70ff1c786da22ccf0372",
"better-runtime-safety": "1038ac5008cb52e418460f53f262ad22",
"better-structural-drift": "941389a1f1c8983eef4f87af1241fbf9",
"better-test-quality": "ab53a477cd194a5c4fbda09d901a3775",
diff --git a/server/services/taskPromptDefaults/prompts.js b/server/services/taskPromptDefaults/prompts.js
index d455360cc2..eca429f048 100644
--- a/server/services/taskPromptDefaults/prompts.js
+++ b/server/services/taskPromptDefaults/prompts.js
@@ -1689,9 +1689,11 @@ start of its dev server stopped after about 60 seconds, snapshot:
Run only commands the repository documents for development. Never run a suite
against real user data or a production database, never start a second copy of
a long-running service on its production port, and follow the repository's
-instructions about which databases and directories tests may use. Measurement
-is read-only: do not delete anything that existed before your run — report its
-count and the safe cleanup command instead.
+instructions about which databases and directories tests may use. Do not
+delete anything that existed before your run — report its count and the safe
+cleanup command instead. After recording the measurement, stop every process and
+remove every temp entry YOUR run created (the after-minus-before set), so the
+audit does not add the leaks it reports.
## Hunt for