neurastream 0.2.82 → 0.2.83
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/core/guards.ts +3 -3
package/package.json
CHANGED
package/src/core/guards.ts
CHANGED
|
@@ -217,10 +217,10 @@ function writePlanReviews(reviews: Record<string, PlanReview>, code: Record<stri
|
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
219
|
|
|
220
|
-
/** 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. */
|
|
221
|
-
const REVIEW_LINE = /^- (?:\d{4}-\d{2}-\d{2} \d{2}:\d{2} [^\s:]+: )?(PLAN|CODE) REVIEW: (PASS|FAIL)\b/;
|
|
220
|
+
/** 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`). */
|
|
221
|
+
const REVIEW_LINE = /^- (?:\d{4}-\d{2}-\d{2} \d{2}:\d{2}(?: [A-Z]{2,5})? [^\s:]+: )?(PLAN|CODE) REVIEW: (PASS|FAIL)\b/;
|
|
222
222
|
/** Any entry that opens like a review line; one that REVIEW_LINE does not match is restored, not recorded. */
|
|
223
|
-
const REVIEW_LOOKALIKE = /^- (?:\d{4}-\d{2}-\d{2} \d{2}:\d{2} [^\s:]+: )?(PLAN|CODE) REVIEW\b/;
|
|
223
|
+
const REVIEW_LOOKALIKE = /^- (?:\d{4}-\d{2}-\d{2} \d{2}:\d{2}(?: [A-Z]{2,5})? [^\s:]+: )?(PLAN|CODE) REVIEW\b/;
|
|
224
224
|
|
|
225
225
|
/** Who launches an agent: Main's launch may use a plan review's exemption, a sub's never may (plan 20261028_1600 P4i). */
|
|
226
226
|
export type Spawner = "main" | "sub";
|