Use Garry Tan's exact Claude Code setup: 23 opinionated tools that serve as CEO, Designer, Eng Manager, Release Manager, Doc Engineer, and QA
TypeScript
v1.91.201.0 fix(confidence): one severity scale, CRITICAL/INFORMATIONAL, for /ship's review army and /plan-eng-review (#3349) (#3402)
Garry Tan749a2382750e
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 915bb0512..bdfb0ccdf 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -1,5 +1,18 @@# Changelog+## [1.91.201.0] - 2026-10-25++**/ship's review army and /plan-eng-review now ask for one severity scale, CRITICAL or INFORMATIONAL, the same scale /review, the specialist JSON and the review checklist already use (#3349).** The shared confidence rubric those two skills render told the model to label findings `[P1]` and `[P2]` and to report a 1-2 confidence finding "only if severity would be P0", while the rest of /ship's Step 9 (Pass 1 CRITICAL, Pass 2 INFORMATIONAL, `"severity":"CRITICAL|INFORMATIONAL"`) used the other scale. A finding from one skill couldn't be compared, deduplicated or gated against a finding from another. Garry picked CRITICAL/INFORMATIONAL for plan-eng-review on 2026-10-24.++### Fixed+- **`scripts/resolvers/confidence.ts`** (default branch, rendered into `ship/sections/review-army.md` and `plan-eng-review/sections/review-sections.md`): every finding carries a severity, CRITICAL (blocks shipping) or INFORMATIONAL (lower severity, still actioned). The format is `[CRITICAL|INFORMATIONAL] (confidence: N/10) file:line — description` with CRITICAL and INFORMATIONAL examples. A 1-2 score is reported only for a suspected release-blocking catastrophe, at CRITICAL severity and marked explicitly speculative, the rule /review already uses. Repeated sentences in the verification gate and the calibration-learning note were shortened, so ship's skeleton-plus-sections size falls by 77 bytes (313,204 against its 313,281 cap).++### Tests+- `test/eng-first-review.test.ts`: the two captured plan-eng-review first-review questions (`eng-annotated-cache-au`, `eng-declarative-as`) still open review when their `[P1]` label becomes `[CRITICAL]` or `[INFORMATIONAL]`. They stay closed for `[HIGH]`, `[critical]`, `[Critical]`, `[P4]`, `[CRITICAL|INFORMATIONAL]` and no label.++### Gate integrity+- One accepted-input change to review: the paid-test detectors `test/helpers/eng-cache-writer-decision.ts` and `test/helpers/pty/boundaries.ts` accept `[CRITICAL]` and `[INFORMATIONAL]` alongside `[P0]`-`[P3]` in a plan finding's annotation, because the skill now asks for those labels. Without it, both captures relabelled `[CRITICAL]` are rejected. Verdict: not a weakening. The label is metadata, and every substantive check (decision, assessment, actors, options) is unchanged. Mutation checks: restoring `P[0-3]` alone fails the positive cases; `[^\]]+`, `P[0-9]` or a case-insensitive CRITICAL each fail the negative controls. `scripts/harness-version.json` records `test/helpers/pty/boundaries.ts` as non-behavioral at HARNESS_VERSION 6: only the changed plan-eng-review prompt asks for the new labels, and the cases that run it already start their own series. The 11 plan-eng-review size pins in `test/fixtures/skill-md-size-allowlist.json` come down by 75 characters. No threshold, budget, timeout, trial count or case kind changed.+## [1.91.200.0] - 2026-10-25**/cso doctor no longer calls a Go repository "stack: python".** A repository with a root `go.mod` and no Node, Bun, Rails or JVM build matched no supported stack, so preparation fell back to Python and doctor reported `stack: python` with `MISSING_METADATA requirements.txt`, which sent Go users looking for a Python file they never needed (#3263). Go runtime support itself is not planned for now (Garry, 2026-10-24), so /cso keeps running static assessment on Go repositories; the runtime catalog and the /cso release contract are unchanged.diff --git a/VERSION b/VERSIONindex 122611d8e..745abaa9b 100644--- a/VERSION+++ b/VERSION@@ -1 +1 @@-1.91.200.0+1.91.201.0diff --git a/agents-digest/gstack-AGENTS.md b/agents-digest/gstack-AGENTS.mdindex c968125c0..23cc25c10 100644--- a/agents-digest/gstack-AGENTS.md+++ b/agents-digest/gstack-AGENTS.md@@ -1,4 +1,4 @@-# gstack digest v1.91.200.0 — regenerate/re-copy after upgrading gstack+# gstack digest v1.91.201.0 — regenerate/re-copy after upgrading gstackBehavioral rules from gstack (https://github.com/garrytan/gstack), compressedfor agent hosts without a full skill install. The full skills add workflows,diff --git a/package.json b/package.jsonindex 41f3b6340..026ccc362 100644--- a/package.json+++ b/package.json@@ -1,6 +1,6 @@{"name": "gstack",- "version": "1.91.200",+ "version": "1.91.201","description": "Garry's Stack — Claude Code skills + fast headless browser. One repo, one install, entire AI engineering workflow.","license": "MIT","type": "module",diff --git a/plan-eng-review/sections/review-sections.md b/plan-eng-review/sections/review-sections.mdindex 0f43c741c..399ee8401 100644--- a/plan-eng-review/sections/review-sections.md+++ b/plan-eng-review/sections/review-sections.md@@ -125,7 +125,8 @@ building proposed code. Keep suppressed findings for the output appendix.## Confidence Calibration-Every finding MUST include a confidence score (1-10):+Every finding MUST include a severity, CRITICAL (blocks shipping) or INFORMATIONAL+(lower severity, still actioned), and a confidence score (1-10):| Score | Meaning | Display rule ||-------|---------|-------------|@@ -133,20 +134,18 @@ Every finding MUST include a confidence score (1-10):| 7-8 | High confidence pattern match. Very likely correct. | Show normally || 5-6 | Moderate. Could be a false positive. | Show with caveat: "Medium confidence, verify this is actually an issue" || 3-4 | Low confidence. Pattern is suspicious but may be fine. | Suppress from main report. Include in appendix only. |-| 1-2 | Speculation. | Only report if severity would be P0. |+| 1-2 | Speculation. | Only report a suspected release-blocking catastrophe (widespread data loss, total outage or system-wide compromise), at CRITICAL severity and marked explicitly speculative. |**Finding format:**-`[SEVERITY] (confidence: N/10) file:line — description`+`[CRITICAL|INFORMATIONAL] (confidence: N/10) file:line — description`Example:-`[P1] (confidence: 9/10) app/models/user.rb:42 — SQL injection via string interpolation in where clause`-`[P2] (confidence: 5/10) app/controllers/api/v1/users_controller.rb:18 — Possible N+1 query, verify with production logs`+`[CRITICAL] (confidence: 9/10) app/models/user.rb:42 — SQL injection via string interpolation in where clause`+`[INFORMATIONAL] (confidence: 5/10) app/controllers/api/v1/users_controller.rb:18 — Possible N+1 query, verify with production logs`### Pre-emit verification gate-Before any finding is promoted to the report, the gate requires:-1. **Quote the specific code line that motivates the finding** — file:line plusthe verbatim text of the line(s) that triggered it. If the finding is "fieldX doesn't exist on model Y", quote the lines of class Y where the field@@ -156,9 +155,7 @@ Before any finding is promoted to the report, the gate requires:2. **If you cannot quote the motivating line(s), the finding is unverified.**Force its confidence to 4-5. Use 4 when it should be suppressed from the mainreport; use 5 only when it belongs in the report with the medium-confidence- caveat. Keep suppressed items in the appendix so reviewers can audit- calibration. Do not work around this by inventing- speculative confidence 7+ — that defeats the gate.+ caveat. Never invent speculative confidence 7+.**Framework-meta nudge:** When the symbol is generated by a frameworkmetaclass, descriptor, ORM Meta inner-class, or migration history (Django@@ -178,10 +175,8 @@ False-positive classes the gate catches:| "save() might lose fields" | Requires quoting the ORM signature or model definition || "update_fields might miss X" | Requires quoting the field set; if X doesn't exist, the FP is self-evident |-**Calibration learning:** If you report a finding with confidence < 7 and the user-confirms it IS a real issue, that is a calibration event. Your initial confidence was-too low. Log the corrected pattern as a learning so future reviews catch it with-higher confidence.+**Calibration learning:** If the user confirms a reported finding scored < 7 is+real, log the corrected pattern as a learning.## Decision procedurediff --git a/scripts/harness-version.json b/scripts/harness-version.jsonindex d95e24d5a..bcf395dd3 100644--- a/scripts/harness-version.json+++ b/scripts/harness-version.json@@ -34,7 +34,7 @@"test/helpers/pty-screen.ts": {"blob":"4f77569f9ce11f9cee9f347216e468cd7c956820","since":6},"test/helpers/pty/auq.ts": {"blob":"16e5ea2bb5b9f28f44808a1a09024dbd3e6f28c4","since":6},"test/helpers/pty/binary.ts": {"blob":"404d7515076d5c00804f89e23ea69296312c00e1","since":6},- "test/helpers/pty/boundaries.ts": {"blob":"8c87100c9dd0cfc28c02598f250726fd93bfbdea","since":6,"nonBehavioral":"Removes the plan-design 0D focus picker from the shared harness; floor.ts gains an optional pickSetupChoice hook that no other caller passes, so no other case's input or verdict can change. plan-design-finding-floor, the only case whose seed raises that menu, passes the picker from its owned fixture test/fixtures/design-floor-focus-picker.ts, so its owned bytes start its own new series."},+ "test/helpers/pty/boundaries.ts": {"blob":"c5520118da36f96f60a3c9720751bb57a669865c","since":6,"nonBehavioral":"Widens the plan-eng-review first-review severity annotation from [P0-3] to [P0-3|CRITICAL|INFORMATIONAL] (#3349). Only a question carrying the new labels can change verdict, and only the changed plan-eng-review prompt asks for them; every case that runs it owns that generated SKILL.md, which this change also edits, so those cases already start their own series. No other case's input or verdict can change."},"test/helpers/pty/classify.ts": {"blob":"3f2daa12ff6484f96b8d28d910a50231c4bb3ae8","since":6},"test/helpers/pty/fake-session.ts": {"blob":"554e064ef259b8444280eddfe9b0db93c66a8202","since":6},"test/helpers/pty/judge.ts": {"blob":"81c5bb4c48ab928aca2f186a1ade9df7169d7fbe","since":6},diff --git a/scripts/resolvers/confidence.ts b/scripts/resolvers/confidence.tsindex f10d15a79..747bdc225 100644--- a/scripts/resolvers/confidence.ts+++ b/scripts/resolvers/confidence.ts@@ -53,7 +53,8 @@ real, log the corrected pattern as a learning.`;const result = `## Confidence Calibration-Every finding MUST include a confidence score (1-10):+Every finding MUST include a severity, CRITICAL (blocks shipping) or INFORMATIONAL+(lower severity, still actioned), and a confidence score (1-10):| Score | Meaning | Display rule ||-------|---------|-------------|@@ -61,20 +62,18 @@ Every finding MUST include a confidence score (1-10):| 7-8 | High confidence pattern match. Very likely correct. | Show normally || 5-6 | Moderate. Could be a false positive. | Show with caveat: "Medium confidence, verify this is actually an issue" || 3-4 | Low confidence. Pattern is suspicious but may be fine. | Suppress from main report. Include in appendix only. |-| 1-2 | Speculation. | Only report if severity would be P0. |+| 1-2 | Speculation. | Only report a suspected release-blocking catastrophe (widespread data loss, total outage or system-wide compromise), at CRITICAL severity and marked explicitly speculative. |**Finding format:**-\\\`[SEVERITY] (confidence: N/10) file:line — description\\\`+\\\`[CRITICAL|INFORMATIONAL] (confidence: N/10) file:line — description\\\`Example:-\\\`[P1] (confidence: 9/10) app/models/user.rb:42 — SQL injection via string interpolation in where clause\\\`-\\\`[P2] (confidence: 5/10) app/controllers/api/v1/users_controller.rb:18 — Possible N+1 query, verify with production logs\\\`+\\\`[CRITICAL] (confidence: 9/10) app/models/user.rb:42 — SQL injection via string interpolation in where clause\\\`+\\\`[INFORMATIONAL] (confidence: 5/10) app/controllers/api/v1/users_controller.rb:18 — Possible N+1 query, verify with production logs\\\`### Pre-emit verification gate-Before any finding is promoted to the report, the gate requires:-1. **Quote the specific code line that motivates the finding** — file:line plusthe verbatim text of the line(s) that triggered it. If the finding is "fieldX doesn't exist on model Y", quote the lines of class Y where the field@@ -84,9 +83,7 @@ Before any finding is promoted to the report, the gate requires:2. **If you cannot quote the motivating line(s), the finding is unverified.**Force its confidence to 4-5. Use 4 when it should be suppressed from the mainreport; use 5 only when it belongs in the report with the medium-confidence- caveat. Keep suppressed items in the appendix so reviewers can audit- calibration. Do not work around this by inventing- speculative confidence 7+ — that defeats the gate.+ caveat. Never invent speculative confidence 7+.**Framework-meta nudge:** When the symbol is generated by a frameworkmetaclass, descriptor, ORM Meta inner-class, or migration history (Django@@ -106,9 +103,7 @@ False-positive classes the gate catches:| "save() might lose fields" | Requires quoting the ORM signature or model definition || "update_fields might miss X" | Requires quoting the field set; if X doesn't exist, the FP is self-evident |-**Calibration learning:** If you report a finding with confidence < 7 and the user-confirms it IS a real issue, that is a calibration event. Your initial confidence was-too low. Log the corrected pattern as a learning so future reviews catch it with-higher confidence.`;+**Calibration learning:** If the user confirms a reported finding scored < 7 is+real, log the corrected pattern as a learning.`;return _ctx.skillName === 'plan-eng-review' ? result.replaceAll('\\`', '`') : result;}diff --git a/ship/sections/review-army.md b/ship/sections/review-army.mdindex 348458c08..b5c65db07 100644--- a/ship/sections/review-army.md+++ b/ship/sections/review-army.md@@ -12,7 +12,8 @@ Finish the complete review and QA before applying any fix in Step 9.4.## Confidence Calibration-Every finding MUST include a confidence score (1-10):+Every finding MUST include a severity, CRITICAL (blocks shipping) or INFORMATIONAL+(lower severity, still actioned), and a confidence score (1-10):| Score | Meaning | Display rule ||-------|---------|-------------|@@ -20,20 +21,18 @@ Every finding MUST include a confidence score (1-10):| 7-8 | High confidence pattern match. Very likely correct. | Show normally || 5-6 | Moderate. Could be a false positive. | Show with caveat: "Medium confidence, verify this is actually an issue" || 3-4 | Low confidence. Pattern is suspicious but may be fine. | Suppress from main report. Include in appendix only. |-| 1-2 | Speculation. | Only report if severity would be P0. |+| 1-2 | Speculation. | Only report a suspected release-blocking catastrophe (widespread data loss, total outage or system-wide compromise), at CRITICAL severity and marked explicitly speculative. |**Finding format:**-\`[SEVERITY] (confidence: N/10) file:line — description\`+\`[CRITICAL|INFORMATIONAL] (confidence: N/10) file:line — description\`Example:-\`[P1] (confidence: 9/10) app/models/user.rb:42 — SQL injection via string interpolation in where clause\`-\`[P2] (confidence: 5/10) app/controllers/api/v1/users_controller.rb:18 — Possible N+1 query, verify with production logs\`+\`[CRITICAL] (confidence: 9/10) app/models/user.rb:42 — SQL injection via string interpolation in where clause\`+\`[INFORMATIONAL] (confidence: 5/10) app/controllers/api/v1/users_controller.rb:18 — Possible N+1 query, verify with production logs\`### Pre-emit verification gate-Before any finding is promoted to the report, the gate requires:-1. **Quote the specific code line that motivates the finding** — file:line plusthe verbatim text of the line(s) that triggered it. If the finding is "fieldX doesn't exist on model Y", quote the lines of class Y where the field@@ -43,9 +42,7 @@ Before any finding is promoted to the report, the gate requires:2. **If you cannot quote the motivating line(s), the finding is unverified.**Force its confidence to 4-5. Use 4 when it should be suppressed from the mainreport; use 5 only when it belongs in the report with the medium-confidence- caveat. Keep suppressed items in the appendix so reviewers can audit- calibration. Do not work around this by inventing- speculative confidence 7+ — that defeats the gate.+ caveat. Never invent speculative confidence 7+.**Framework-meta nudge:** When the symbol is generated by a frameworkmetaclass, descriptor, ORM Meta inner-class, or migration history (Django@@ -65,10 +62,8 @@ False-positive classes the gate catches:| "save() might lose fields" | Requires quoting the ORM signature or model definition || "update_fields might miss X" | Requires quoting the field set; if X doesn't exist, the FP is self-evident |-**Calibration learning:** If you report a finding with confidence < 7 and the user-confirms it IS a real issue, that is a calibration event. Your initial confidence was-too low. Log the corrected pattern as a learning so future reviews catch it with-higher confidence.+**Calibration learning:** If the user confirms a reported finding scored < 7 is+real, log the corrected pattern as a learning.### Core checklistdiff --git a/test/eng-first-review.test.ts b/test/eng-first-review.test.tsindex 26d19c8bc..26e74de94 100644--- a/test/eng-first-review.test.ts+++ b/test/eng-first-review.test.ts@@ -1467,3 +1467,19 @@ describe('Y whole-plan complexity setup decision', () => {});});});++describe('plan finding severity labels (#3349)', () => {+const relabel = (captured: { call: unknown }, label: string) => {+ const c = structuredClone(captured.call) as NativePlanQuestionCall, q = c.questions[0]!, picked = c.answers![q.question]!;+ q.question = label ? q.question.replace('[P1] (confidence', `${label} (confidence`) : q.question.replace('[P1] ', '');+ c.answers = { [q.question]: picked };+ return engFirstReviewAUQ(nativePlanCallFingerprint(c, Date.parse(c.answeredAt!), true));+};+const captures = [['eng-annotated-cache-au', captured_eng_annotated_cache_au], ['eng-declarative-as', captured_eng_declarative_as]] as const;+test.each(captures)('%s opens review under either severity scale', (_, captured) => {+ for (const label of ['[P1]', '[CRITICAL]', '[INFORMATIONAL]']) expect(relabel(captured, label)).toBe(true);+});+test.each(captures)('%s rejects labels outside both scales', (_, captured) => {+ for (const label of ['[HIGH]', '[critical]', '[Critical]', '[P4]', '[CRITICAL|INFORMATIONAL]', '']) expect(relabel(captured, label)).toBe(false);+});+});diff --git a/test/fixtures/skill-md-size-allowlist.json b/test/fixtures/skill-md-size-allowlist.jsonindex cd196ee0d..948752968 100644--- a/test/fixtures/skill-md-size-allowlist.json+++ b/test/fixtures/skill-md-size-allowlist.json@@ -8,7 +8,7 @@"agy/gstack-land-and-deploy": 117722,"agy/gstack-plan-design-review": 140013,"agy/gstack-plan-devex-review": 135760,- "agy/gstack-plan-eng-review": 152701,+ "agy/gstack-plan-eng-review": 152626,"agy/gstack-review": 124218,"claude/design-review": 136531,"codex/gstack-autoplan": 130628,@@ -18,7 +18,7 @@"codex/gstack-office-hours": 102339,"codex/gstack-plan-design-review": 142466,"codex/gstack-plan-devex-review": 138649,- "codex/gstack-plan-eng-review": 155247,+ "codex/gstack-plan-eng-review": 155172,"codex/gstack-review": 125122,"copilot/gstack-autoplan": 131637,"copilot/gstack-codex": 100235,@@ -28,7 +28,7 @@"copilot/gstack-office-hours": 100495,"copilot/gstack-plan-design-review": 140884,"copilot/gstack-plan-devex-review": 136912,- "copilot/gstack-plan-eng-review": 153426,+ "copilot/gstack-plan-eng-review": 153351,"copilot/gstack-review": 125489,"cursor/gstack-autoplan": 129278,"cursor/gstack-design-consultation": 107222,@@ -36,7 +36,7 @@"cursor/gstack-land-and-deploy": 116645,"cursor/gstack-plan-design-review": 138968,"cursor/gstack-plan-devex-review": 134591,- "cursor/gstack-plan-eng-review": 151555,+ "cursor/gstack-plan-eng-review": 151480,"cursor/gstack-review": 140750,"factory/gstack-autoplan": 131562,"factory/gstack-codex": 100655,@@ -46,34 +46,34 @@"factory/gstack-office-hours": 101374,"factory/gstack-plan-design-review": 141749,"factory/gstack-plan-devex-review": 137960,- "factory/gstack-plan-eng-review": 154669,+ "factory/gstack-plan-eng-review": 154594,"factory/gstack-review": 144529,"gbrain/gstack-autoplan": 129815,"gbrain/gstack-design-review": 132842,"gbrain/gstack-land-and-deploy": 117167,"gbrain/gstack-plan-design-review": 127855,"gbrain/gstack-plan-devex-review": 115129,- "gbrain/gstack-plan-eng-review": 134287,+ "gbrain/gstack-plan-eng-review": 134212,"hermes/gstack-autoplan": 129905,"hermes/gstack-design-review": 132949,"hermes/gstack-land-and-deploy": 117269,"hermes/gstack-plan-design-review": 127964,"hermes/gstack-plan-devex-review": 115215,- "hermes/gstack-plan-eng-review": 134372,+ "hermes/gstack-plan-eng-review": 134297,"kiro/gstack-autoplan": 129040,"kiro/gstack-design-consultation": 107064,"kiro/gstack-design-review": 142321,"kiro/gstack-land-and-deploy": 116533,"kiro/gstack-plan-design-review": 138808,"kiro/gstack-plan-devex-review": 134431,- "kiro/gstack-plan-eng-review": 151405,+ "kiro/gstack-plan-eng-review": 151330,"kiro/gstack-review": 140562,"openclaw/gstack-autoplan": 129520,"openclaw/gstack-design-review": 131647,"openclaw/gstack-land-and-deploy": 116757,"openclaw/gstack-plan-design-review": 126706,"openclaw/gstack-plan-devex-review": 113968,- "openclaw/gstack-plan-eng-review": 132684,+ "openclaw/gstack-plan-eng-review": 132609,"opencode/gstack-autoplan": 131640,"opencode/gstack-design-consultation": 109357,"opencode/gstack-design-review": 144705,@@ -81,7 +81,7 @@"opencode/gstack-office-hours": 100329,"opencode/gstack-plan-design-review": 140738,"opencode/gstack-plan-devex-review": 136812,- "opencode/gstack-plan-eng-review": 153307,+ "opencode/gstack-plan-eng-review": 153232,"opencode/gstack-review": 142985,"slate/gstack-autoplan": 129159,"slate/gstack-design-consultation": 107143,@@ -89,7 +89,7 @@"slate/gstack-land-and-deploy": 116589,"slate/gstack-plan-design-review": 138888,"slate/gstack-plan-devex-review": 134511,- "slate/gstack-plan-eng-review": 151480,+ "slate/gstack-plan-eng-review": 151405,"slate/gstack-review": 140656}}diff --git a/test/helpers/eng-cache-writer-decision.ts b/test/helpers/eng-cache-writer-decision.tsindex a39ecbc9d..50686b8d5 100644--- a/test/helpers/eng-cache-writer-decision.ts+++ b/test/helpers/eng-cache-writer-decision.ts@@ -6,7 +6,7 @@ export function engCacheWriterDecision(q: NativePlanQuestion): boolean {const lines = q.question.split('\n');// Severity, confidence and source citations annotate an owned issue; they// never replace its current defect, assessment or opposed choices.- const annotated = /^D([1-9]\d*) [—–:-] Issue ([1-9]\d*) \[P[0-3]\] \(confidence (?:10|[1-9])\/10\) [A-Za-z][\w./-]*:[1-9]\d*(?:-[1-9]\d*)?(?: \+ :[1-9]\d*(?:-[1-9]\d*)?)? [—–:-] ([A-Za-z_$][\w$]*) and ([A-Za-z_$][\w$]*) both mutate one module-level ([A-Za-z_$][\w$]*) that does not serialize mutations\. How should the shared cache be wired\?$/.exec(lines[0] ?? '');+ const annotated = /^D([1-9]\d*) [—–:-] Issue ([1-9]\d*) \[(?:P[0-3]|CRITICAL|INFORMATIONAL)\] \(confidence (?:10|[1-9])\/10\) [A-Za-z][\w./-]*:[1-9]\d*(?:-[1-9]\d*)?(?: \+ :[1-9]\d*(?:-[1-9]\d*)?)? [—–:-] ([A-Za-z_$][\w$]*) and ([A-Za-z_$][\w$]*) both mutate one module-level ([A-Za-z_$][\w$]*) that does not serialize mutations\. How should the shared cache be wired\?$/.exec(lines[0] ?? '');const architecture = /^D([1-9]\d*) [—–:-] Architecture issue ([1-9]\d*): global mutable ([A-Za-z_$][\w$]*) shared by two services with unserialized mutations\.?$/.exec(lines[0] ?? '');const declared = annotated || architecture;const ordinal = declared?.[1] ?? /^D([1-9]\d*) [—–:-] Who is allowed to write to the auth cache\?$/.exec(lines[0] ?? '')?.[1];diff --git a/test/helpers/pty/boundaries.ts b/test/helpers/pty/boundaries.tsindex 8c87100c9..c5520118d 100644--- a/test/helpers/pty/boundaries.ts+++ b/test/helpers/pty/boundaries.ts@@ -234,7 +234,7 @@ function engNumberedFindingAUQ(fp: AskUserQuestionFingerprint): boolean {// A declarative severity-labelled issue can own the same cache repair as// an interrogative title. Require its native decision, current assessment,// and opposed implementation options; metadata alone never opens review.- const declaredCache = /^(?:Issue|Finding) ([1-9]\d*) \[P[0-3]\] \(confidence (?:10|[1-9])\/10\) [A-Za-z][\w./-]*:[1-9]\d*(?:-[1-9]\d*)?: ([A-Za-z_$][\w$]*) and ([A-Za-z_$][\w$]*) share a global mutable ([A-Za-z_$][\w$]*) via module-level export, and both mutate it\.$/.exec(title);+ const declaredCache = /^(?:Issue|Finding) ([1-9]\d*) \[(?:P[0-3]|CRITICAL|INFORMATIONAL)\] \(confidence (?:10|[1-9])\/10\) [A-Za-z][\w./-]*:[1-9]\d*(?:-[1-9]\d*)?: ([A-Za-z_$][\w$]*) and ([A-Za-z_$][\w$]*) share a global mutable ([A-Za-z_$][\w$]*) via module-level export, and both mutate it\.$/.exec(title);if (declaredCache) return engDeclaredCacheFinding(q, declaredCache);if (engCacheWriterDecision(q)) return true;const libraryHooks = engLibraryHooksFinding(q, title);