neurastream 0.3.28 → 0.3.29
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
CHANGED
package/src/core/guards/stop.ts
CHANGED
|
@@ -93,10 +93,10 @@ export function checkInject(e: InjectEvent, cfg: Config): Decision {
|
|
|
93
93
|
const tier = currentTier(cfg);
|
|
94
94
|
const tierNote =
|
|
95
95
|
tier === "strict"
|
|
96
|
-
? `Main changes at most ${cfg.autonomy.strict_edit_limit} project files per ${cfg.guards.main_window_min} min, and every git push / glab mr merge / gh pr merge waits for your "${cfg.autonomy.go_phrase}" (one landing, valid ${cfg.autonomy.go_minutes} min).`
|
|
96
|
+
? `Main changes at most ${cfg.autonomy.strict_edit_limit} project files per ${cfg.guards.main_window_min} min (resets on timer or owner chat message), and every git push / glab mr merge / gh pr merge waits for your "${cfg.autonomy.go_phrase}" (one landing, valid ${cfg.autonomy.go_minutes} min).`
|
|
97
97
|
: tier === "full"
|
|
98
98
|
? `Main works unattended: no edit cap, its own "Priority skip: <plan> — Main: \\"<reason>\\"" skips pass, pushes and merges go through. Owner-only moves (guard files, the phone page, notify secrets, the unlock) stay locked.`
|
|
99
|
-
: `Main changes at most ${cfg.guards.main_edit_limit} project files per ${cfg.guards.main_window_min} min; pushes and merges go through.`;
|
|
99
|
+
: `Main changes at most ${cfg.guards.main_edit_limit} project files per ${cfg.guards.main_window_min} min (resets on timer or owner chat message); pushes and merges go through.`;
|
|
100
100
|
const unlockNote = continuation ? "" : unlockLine(cfg);
|
|
101
101
|
const mayNote = ` Main may edit Status/WAITING/Waits on/False positive lines. Test before saying "cannot".`;
|
|
102
102
|
const editLimit = continuation ? "" : `\nautonomy: ${tier} — ${tierNote}${mayNote}${unlockNote}`;
|
package/src/core/guards/tool.ts
CHANGED
|
@@ -376,7 +376,7 @@ function editWindow(e: ToolEvent, input: Record<string, unknown>, cfg: Config):
|
|
|
376
376
|
write: false,
|
|
377
377
|
result: deny(
|
|
378
378
|
`main-guard: tier ${tier} — Main already changed project files ${w.used.length} times in this ${cfg.guards.main_window_min}-minute window ` +
|
|
379
|
-
`(${limitName} ${limit}; resets in ${mins} min). Main writes plans, not code: put the work in a plan ` +
|
|
379
|
+
`(${limitName} ${limit}; resets in ${mins} min or on an owner chat message). Main writes plans, not code: put the work in a plan ` +
|
|
380
380
|
`(listed in ${cfg.paths.queue_index}, phase-0 blockers first) and spawn an implementer. Changes so far: ${w.used.join(", ")}`,
|
|
381
381
|
"main.edit-window",
|
|
382
382
|
),
|