neurastream 0.3.17 → 0.3.18

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.3.17",
3
+ "version": "0.3.18",
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",
@@ -221,10 +221,10 @@ function writePlanReviews(reviews: Record<string, PlanReview>, code: Record<stri
221
221
  }
222
222
  }
223
223
 
224
- /** The progress entry that records a review — PLAN for the spawn gate, CODE for the phase tick gate (P6); only a subagent's edit can carry one. The verdict is the match, never a substring. The time may carry a zone word (`23:35 CET`). */
225
- const REVIEW_LINE = /^- (?:\d{4}-\d{2}-\d{2} \d{2}:\d{2}(?: [A-Z]{2,5})? [^\s:]+: )?(PLAN|CODE) REVIEW: (PASS|FAIL)\b/;
224
+ /** The progress entry that records a review — PLAN for the spawn gate, CODE for the phase tick gate (P6); only a subagent's edit can carry one. The verdict is the match, never a substring. The time may carry a `~` and a zone word (`~23:35 CET`); the author segment may carry a note (`Rev (re-verify): `) because the recorded name comes from the spawn, never from the line. */
225
+ const REVIEW_LINE = /^- (?:\d{4}-\d{2}-\d{2} ~?\d{2}:\d{2}(?: [A-Z]{2,5})? [^:\n]+?: )?(PLAN|CODE) REVIEW: (PASS|FAIL)\b/;
226
226
  /** Any entry that opens like a review line; one that REVIEW_LINE does not match is restored, not recorded. */
227
- const REVIEW_LOOKALIKE = /^- (?:\d{4}-\d{2}-\d{2} \d{2}:\d{2}(?: [A-Z]{2,5})? [^\s:]+: )?(PLAN|CODE) REVIEW\b/;
227
+ const REVIEW_LOOKALIKE = /^- (?:\d{4}-\d{2}-\d{2} ~?\d{2}:\d{2}(?: [A-Z]{2,5})? [^:\n]+?: )?(PLAN|CODE) REVIEW\b/;
228
228
 
229
229
  /** Who launches an agent: Main's launch may use a plan review's exemption, a sub's never may (plan 20261028_1600 P4i). */
230
230
  export type Spawner = "main" | "sub";