neurastream 0.2.51 → 0.2.52

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "neurastream",
3
- "version": "0.2.51",
3
+ "version": "0.2.52",
4
4
  "description": "Guardrails for running many AI coding agents at once: plan queue, blockers, call budgets, provider caps, scoring, merge-verified close.",
5
5
  "keywords": [
6
6
  "ai-agents",
@@ -937,7 +937,10 @@ export function createOmpAdapter(pi: ExtensionHost, initial: Config, freshConfig
937
937
  try {
938
938
  after = readFileSync(file, "utf8");
939
939
  } catch {}
940
- const d = checkPlanEdit({ path: file, before, after, agent: c.kind === "sub" ? "sub" : "main", agentId: id }, cfg);
940
+ // agentId must be the agent identity (ctx.agent.id = spawn name for subs), not the
941
+ // tool-call id: matchReviewSpawn compares it with the registered review spawn name,
942
+ // and a toolCallId there made every named reviewer's verdict restore (2026-10-29).
943
+ const d = checkPlanEdit({ path: file, before, after, agent: c.kind === "sub" ? "sub" : "main", agentId: c.id ?? "main" }, cfg);
941
944
  if (!d.allow && d.restore) {
942
945
  try {
943
946
  if (d.restore.text === null) rmSync(d.restore.path, { force: true });