labs-claude 0.10.0 → 0.11.0
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/package.json +1 -1
- package/src/modpack.js +11 -7
package/package.json
CHANGED
package/src/modpack.js
CHANGED
|
@@ -117,17 +117,21 @@ Bug: $ARGUMENTS
|
|
|
117
117
|
`,
|
|
118
118
|
'verify.md': `Act as an independent Gatekeeper. Run the real test suite, inspect \`git diff\` for any weakened assertions or regressions, and return PASS or FAIL strictly from observed exit codes and output.
|
|
119
119
|
`,
|
|
120
|
-
'
|
|
120
|
+
'release-check.md': `Run the full test suite, inspect \`git status\` and \`git diff\`, confirm zero secrets or temp files remain, and give a concise 3-bullet summary of what is ready to ship.
|
|
121
|
+
`,
|
|
122
|
+
'retro.md': `Self-improvement loop (keep what works, prune what bloats):
|
|
123
|
+
1. Review what just worked vs. what caused retries, wasted tokens, or failures in this session.
|
|
124
|
+
2. Read \`~/.labs/learnings.md\` (create if missing).
|
|
125
|
+
3. Add at most 2 short, concrete, verified rules (1 line each) that prevent a real failure we just observed.
|
|
126
|
+
4. Prune any stale, vague, or redundant lines so \`learnings.md\` stays under 30 lines total (zero prompt bloat).
|
|
121
127
|
`,
|
|
122
128
|
};
|
|
123
129
|
|
|
124
130
|
const BRAIN_KERNEL = `<!-- LABS-BRAIN-START -->
|
|
125
|
-
## LABS
|
|
126
|
-
-
|
|
127
|
-
-
|
|
128
|
-
-
|
|
129
|
-
- **Feedback Control Loops:** Never declare a task done until you run the real test suite or verification command and observe exit code 0.
|
|
130
|
-
- **Game Theory (Adversarial Check & Anti-Reward-Hacking):** Think like a Breaker on edge cases (nulls, timeouts, malformed inputs, OS path quirks). Never delete failing assertions, hardcode test outputs, or silence errors with empty catch blocks.
|
|
131
|
+
## LABS Rules (Benchmarked Minimal — Zero Overthinking Bloat)
|
|
132
|
+
- Read only the exact files/lines needed; make the smallest viable diff.
|
|
133
|
+
- Never claim done without running the real test/check and seeing exit code 0.
|
|
134
|
+
- Never delete failing assertions or silence errors with empty catch blocks.
|
|
131
135
|
<!-- LABS-BRAIN-END -->`;
|
|
132
136
|
|
|
133
137
|
function installAutoVerifyHook() {
|