vektor-slipstream 1.3.1 → 1.3.2
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/axon.js +1 -1
- package/cerebellum.js +3 -3
- package/package.json +1 -1
- package/token.js +1 -1
package/axon.js
CHANGED
|
@@ -212,7 +212,7 @@ async function onSessionStart({ projectPath, memory } = {}) {
|
|
|
212
212
|
try {
|
|
213
213
|
const results = await memory.recall(
|
|
214
214
|
`[CLOAK_AXON_MEMCELL] project:${_sessionLog.projectName}`,
|
|
215
|
-
|
|
215
|
+
1
|
|
216
216
|
);
|
|
217
217
|
if (results && results.length > 0) {
|
|
218
218
|
lastContext = results[0].content;
|
package/cerebellum.js
CHANGED
|
@@ -116,7 +116,7 @@ async function checkWrite({ content, filePath, memory } = {}) {
|
|
|
116
116
|
// Query causal error graph for patterns similar to this write
|
|
117
117
|
const errorPatterns = await memory.recall(
|
|
118
118
|
`${ERROR_PREFIX} ${content.slice(0, 300)}`,
|
|
119
|
-
|
|
119
|
+
MAX_PATTERNS_TO_CHECK
|
|
120
120
|
);
|
|
121
121
|
|
|
122
122
|
if (!errorPatterns || errorPatterns.length === 0) {
|
|
@@ -147,7 +147,7 @@ async function checkWrite({ content, filePath, memory } = {}) {
|
|
|
147
147
|
// Also check Do-Not-Repeat rules (always enforced regardless of similarity)
|
|
148
148
|
const dnrRules = await memory.recall(
|
|
149
149
|
`${DNR_PREFIX}`,
|
|
150
|
-
|
|
150
|
+
5
|
|
151
151
|
);
|
|
152
152
|
|
|
153
153
|
if (dnrRules) {
|
|
@@ -254,7 +254,7 @@ async function autoResolve({ content, filePath, memory } = {}) {
|
|
|
254
254
|
// Pull all open errors on this file, then let REM cycle verify.
|
|
255
255
|
const candidates = await memory.recall(
|
|
256
256
|
`${ERROR_PREFIX} file:${filePath}`,
|
|
257
|
-
|
|
257
|
+
MAX_PATTERNS_TO_CHECK
|
|
258
258
|
);
|
|
259
259
|
|
|
260
260
|
if (!candidates || candidates.length === 0) return { resolved: [], written: 0 };
|
package/package.json
CHANGED
package/token.js
CHANGED