opencode-swarm 7.125.6 → 7.126.0

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.
Files changed (33) hide show
  1. package/.opencode/skills/brainstorm/SKILL.md +18 -14
  2. package/.opencode/skills/plan/SKILL.md +21 -15
  3. package/.opencode/skills/specify/SKILL.md +18 -14
  4. package/dist/agents/architect.d.ts +9 -7
  5. package/dist/cli/{curation-policy-62w2pwfz.js → curation-policy-dptr1rfe.js} +2 -2
  6. package/dist/cli/{curator-gke6nrc4.js → curator-23hynz78.js} +9 -9
  7. package/dist/cli/{curator-llm-factory-40c4852v.js → curator-llm-factory-r648jn8e.js} +9 -9
  8. package/dist/cli/{guardrail-explain-m34vcgjg.js → guardrail-explain-6atsd4vr.js} +10 -10
  9. package/dist/cli/{hive-promoter-6fg3redm.js → hive-promoter-bnkhzd46.js} +9 -9
  10. package/dist/cli/{index-d17kqe54.js → index-0ff5cm9j.js} +75 -37
  11. package/dist/cli/{index-4b1e5m0d.js → index-16z6txq3.js} +1 -1
  12. package/dist/cli/{index-gbnpz7rh.js → index-2bnfwmk3.js} +1 -1
  13. package/dist/cli/{index-1012f47p.js → index-2yd75hms.js} +3 -3
  14. package/dist/cli/{index-zp330ss0.js → index-68fpa7ff.js} +10 -10
  15. package/dist/cli/{index-74xejn4v.js → index-a1c9az5e.js} +117 -19
  16. package/dist/cli/{index-0f45t7xy.js → index-bcgfhxzv.js} +4 -4
  17. package/dist/cli/{index-e315gwc9.js → index-cdx337js.js} +1 -1
  18. package/dist/cli/{index-yq4s3q43.js → index-kwnsatzq.js} +2 -2
  19. package/dist/cli/{index-1htanqp1.js → index-mgrsx5hn.js} +1 -1
  20. package/dist/cli/{index-1cxp3b5y.js → index-y4ry07h8.js} +1 -1
  21. package/dist/cli/{index-gd5w3ef8.js → index-yfzn5r9s.js} +3 -3
  22. package/dist/cli/index.js +9 -9
  23. package/dist/cli/{knowledge-escalator-h3hg7ek7.js → knowledge-escalator-4hc8w7sd.js} +3 -3
  24. package/dist/cli/{knowledge-events-jtr66wxz.js → knowledge-events-kyqjv1f8.js} +1 -1
  25. package/dist/cli/{knowledge-store-69ttjjjs.js → knowledge-store-06k0p1gs.js} +1 -1
  26. package/dist/cli/{knowledge-validator-yn06rh13.js → knowledge-validator-42xjmcmh.js} +4 -4
  27. package/dist/cli/{scan-cursor-r0w2p5gz.js → scan-cursor-gjcvpyta.js} +2 -2
  28. package/dist/cli/{skill-generator-a7xfyddq.js → skill-generator-t6j93mwt.js} +5 -5
  29. package/dist/commands/turbo-constants.d.ts +6 -0
  30. package/dist/config/constants.d.ts +1 -1
  31. package/dist/config/loader.d.ts +26 -0
  32. package/dist/index.js +20 -60
  33. package/package.json +2 -1
@@ -74,24 +74,28 @@ until PLAN; MODE: PLAN will choose safe parallelism automatically. Keep commit
74
74
  frequency at phase-level only.
75
75
  Now ask the user which QA gates to enable for this plan, how many parallel coders to use, the commit frequency, and auto_proceed -- do not select on their behalf. Present all four items together as one unified exchange.
76
76
 
77
+ <!-- BEGIN QA_GATE_BODY -->
78
+
77
79
  Present the eleven gates with their defaults (DEFAULT_QA_GATES), parallel coder count, commit frequency, and auto_proceed as a single user-facing section. Offer the user a one-shot choice: accept defaults, or customize. The eleven gates are:
78
- - reviewer (default: ON) -- code review of coder output
79
- - test_engineer (default: ON) -- test verification of coder output
80
- - sme_enabled (default: ON) -- SME consultation during planning/clarification
81
- - critic_pre_plan (default: ON) -- critic review before plan finalization
82
- - sast_enabled (default: ON) -- static security scanning
83
- - council_mode (default: OFF) -- replaces per-task Stage B (reviewer + test_engineer) with the full 5-member council (critic, reviewer, sme, test_engineer, explorer). Requires council.enabled: true in config. (recommended for high-impact architecture, public APIs, schema/data mutation, security-sensitive code)
84
- - hallucination_guard (default: OFF) -- when enabled, mandatory per-phase API/signature/claim/citation verification via critic_hallucination_verifier at PHASE-WRAP; phase_complete will REJECT phase completion unless .swarm/evidence/{phase}/hallucination-guard.json exists with an APPROVED verdict (recommended for claim-heavy or research-heavy work)
85
- - mutation_test (default: OFF) -- when enabled, runs mutation testing on source files touched this phase via generate_mutants + mutation_test + write_mutation_evidence at PHASE-WRAP; FAIL verdict blocks phase_complete; WARN is non-blocking (recommended for projects with coverage gaps or safety-critical code)
86
- - phase_council (default: OFF) -- full 5-member council reviews all work in a phase holistically at phase_complete time. Requires council.enabled: true in config. (recommended for multi-task phases with cross-cutting concerns or high-risk integration)
87
- - drift_check (default: ON) -- when enabled, mandatory per-phase drift verification via critic_drift_verifier at PHASE-WRAP; compares implemented changes against spec.md intent; hard-blocks phase_complete when spec.md exists and drift evidence is missing or REJECTED; advisory-only when no spec.md exists (recommended for all projects with a specification)
88
- - final_council (default: OFF) -- when enabled, after all phases complete the architect dispatches the full 5-member council (critic, reviewer, sme, test_engineer, explorer) -- NOT the General Council -- at project scope, collects `CouncilMemberVerdict` objects, and calls `write_final_council_evidence`. This does not require `council.general.enabled`.
80
+ - reviewer (default: ON) - code review of coder output
81
+ - test_engineer (default: ON) - test verification of coder output
82
+ - sme_enabled (default: ON) - SME consultation during planning/clarification
83
+ - critic_pre_plan (default: ON) - critic review before plan finalization
84
+ - sast_enabled (default: ON) - static security scanning
85
+ - council_mode (default: OFF) - replaces per-task Stage B (reviewer + test_engineer) with the full 5-member council (critic, reviewer, sme, test_engineer, explorer). Requires council.enabled: true in config.
86
+ - hallucination_guard (default: OFF) - when enabled, mandatory per-phase API/signature/claim/citation verification at PHASE-WRAP; phase_complete will REJECT phase completion unless .swarm/evidence/{phase}/hallucination-guard.json exists with an APPROVED verdict.
87
+ - mutation_test (default: OFF) - when enabled, runs mutation testing on source files touched this phase via generate_mutants + mutation_test + write_mutation_evidence at PHASE-WRAP; FAIL verdict blocks phase_complete; WARN is non-blocking.
88
+ - phase_council (default: OFF) - full 5-member council reviews all work in a phase holistically at phase_complete time. Requires council.enabled: true in config.
89
+ - drift_check (default: ON) - mandatory per-phase drift verification via critic_drift_verifier at PHASE-WRAP; hard-blocks phase_complete when spec.md exists and drift evidence is missing or REJECTED; advisory-only when no spec.md exists.
90
+ - final_council (default: OFF) - when enabled, after all phases complete the architect dispatches the full 5-member council (critic, reviewer, sme, test_engineer, explorer) - NOT the General Council - at project scope, collects `CouncilMemberVerdict` objects, and calls `write_final_council_evidence`. This does not require `council.general.enabled`.
89
91
 
90
92
  Additionally, present these three sub-items as part of the same exchange:
91
- - Parallel coders (default: 1, range: 1-6) -- how many coders should run in parallel. Parallel coders each run in an isolated git worktree (separate working dir + branch) and merge back automatically, so they never overwrite each other's files -- safe and faster, but only for tasks whose file scopes do NOT overlap. The per-task file scopes that determine a safe parallel count are not known until the plan is finalized, so default to 1 (serial) here; the precise recommendation is made at plan time once the tasks and their scopes exist.
93
+ - Parallel coders (default: 1, range: 1-6) - how many coders should run in parallel. Parallel coders each run in an isolated git worktree (separate working dir + branch) and merge back automatically, so they never overwrite each other's files - safe and faster, but only for tasks whose declared file scopes do NOT overlap. The per-task file scopes that determine a safe parallel count are not known until the plan is finalized, so default to 1 (serial) here; the precise recommendation is made at plan time once the tasks and their scopes exist.
92
94
  > COMMON MISCONCEPTION: worktree isolation is baseline for standard parallel coders, governed by the parallel execution profile plus top-level `worktree.policy`. It is not provided by Lean Turbo or Epic. Do not recommend Lean Turbo or Epic to obtain worktree isolation; recommend them only for what they add beyond baseline (Lean Turbo: lane planning, file locks, phase reviewer, integrated diff; Epic: co-change awareness and auto-decide). Worktrees also do not make overlapping scopes safe: dependency readiness, file-disjoint scopes, and merge-back ownership are still required.
93
- - Commit frequency (default: phase-level only) -- optional per-task checkpoint commit after each task completion.
94
- - auto_proceed (boolean, default: false) -- when true, auto-advance to the next phase without asking "Ready for Phase N+1?"; runtime toggle via /swarm auto-proceed on|off.
95
+ - Commit frequency (default: phase-level only) - optional per-task checkpoint commit after each task completion.
96
+ - auto_proceed (boolean, default: false) - when true, auto-advance to the next phase without asking "Ready for Phase N+1?"; runtime toggle via /swarm auto-proceed on|off.
97
+
98
+ <!-- END QA_GATE_BODY -->
95
99
 
96
100
  The user answers all four items (gates, parallel coders, commit frequency, auto_proceed) in one exchange. Wait for the user's response.
97
101
 
@@ -228,22 +228,28 @@ After `save_plan` succeeds, read `.swarm/context.md`:
228
228
  - If a `## Pending Parallelization Config` section also exists: parse the values and call `save_plan` again with `execution_profile` set to `{ parallelization_enabled: <parsed>, max_concurrent_tasks: <parsed>, council_parallel: false, locked: true }`. Then remove the section from context.md. If the plan already had `execution_profile.locked: true`, skip this step — the profile is already locked and immutable.
229
229
  - If a `## Task Completion Commit Policy` section exists: preserve it in `.swarm/context.md` (do NOT remove). This section is execution-time guidance for optional per-task checkpoint commits after `update_task_status(status="completed")`.
230
230
  - If no pending section exists, ask the user inline now. Present the eleven gates with their defaults (DEFAULT_QA_GATES), parallel coder count, commit frequency, and auto_proceed as a single user-facing section. Offer the user a one-shot choice: accept defaults, or customize. The eleven gates are:
231
- - reviewer (default: ON) - code review of coder output
232
- - test_engineer (default: ON) - test verification of coder output
233
- - sme_enabled (default: ON) - SME consultation during planning/clarification
234
- - critic_pre_plan (default: ON) - critic review before plan finalization
235
- - sast_enabled (default: ON) - static security scanning
236
- - council_mode (default: OFF) - replaces per-task Stage B (reviewer + test_engineer) with the full 5-member council (critic, reviewer, sme, test_engineer, explorer). Requires council.enabled: true in config.
237
- - hallucination_guard (default: OFF) - mandatory per-phase API/signature/claim/citation verification at PHASE-WRAP
238
- - mutation_test (default: OFF) - mutation testing on source files touched this phase at PHASE-WRAP
239
- - phase_council (default: OFF) - full 5-member council reviews all work in a phase holistically at phase_complete time. Requires council.enabled: true in config.
240
- - drift_check (default: ON) - mandatory per-phase drift verification at PHASE-WRAP
241
- - final_council (default: OFF) - when enabled, after all phases complete the architect dispatches the full 5-member council (critic, reviewer, sme, test_engineer, explorer) -- NOT the General Council -- at project scope, collects `CouncilMemberVerdict` objects, and calls `write_final_council_evidence`. This does not require `council.general.enabled`.
242
- Additionally, present these three sub-items as part of the same exchange:
243
- - Parallel coders (default: 1, range: 1-6) - how many coders should run in parallel. Parallel coders each run in an isolated git worktree (separate working dir + branch) and merge back automatically, so they never overwrite each other's files - safe and faster, but only for tasks whose declared file scopes do NOT overlap. Inspect the plan and recommend a count equal to the number of dependency-ready, file-disjoint task groups (clamped 1-6); recommend 1 (serial) when scopes overlap or are unknown. State your recommendation and reasoning when you ask.
231
+ <!-- BEGIN QA_GATE_BODY -->
232
+
233
+ Present the eleven gates with their defaults (DEFAULT_QA_GATES), parallel coder count, commit frequency, and auto_proceed as a single user-facing section. Offer the user a one-shot choice: accept defaults, or customize. The eleven gates are:
234
+ - reviewer (default: ON) - code review of coder output
235
+ - test_engineer (default: ON) - test verification of coder output
236
+ - sme_enabled (default: ON) - SME consultation during planning/clarification
237
+ - critic_pre_plan (default: ON) - critic review before plan finalization
238
+ - sast_enabled (default: ON) - static security scanning
239
+ - council_mode (default: OFF) - replaces per-task Stage B (reviewer + test_engineer) with the full 5-member council (critic, reviewer, sme, test_engineer, explorer). Requires council.enabled: true in config.
240
+ - hallucination_guard (default: OFF) - when enabled, mandatory per-phase API/signature/claim/citation verification at PHASE-WRAP; phase_complete will REJECT phase completion unless .swarm/evidence/{phase}/hallucination-guard.json exists with an APPROVED verdict.
241
+ - mutation_test (default: OFF) - when enabled, runs mutation testing on source files touched this phase via generate_mutants + mutation_test + write_mutation_evidence at PHASE-WRAP; FAIL verdict blocks phase_complete; WARN is non-blocking.
242
+ - phase_council (default: OFF) - full 5-member council reviews all work in a phase holistically at phase_complete time. Requires council.enabled: true in config.
243
+ - drift_check (default: ON) - mandatory per-phase drift verification via critic_drift_verifier at PHASE-WRAP; hard-blocks phase_complete when spec.md exists and drift evidence is missing or REJECTED; advisory-only when no spec.md exists.
244
+ - final_council (default: OFF) - when enabled, after all phases complete the architect dispatches the full 5-member council (critic, reviewer, sme, test_engineer, explorer) - NOT the General Council - at project scope, collects `CouncilMemberVerdict` objects, and calls `write_final_council_evidence`. This does not require `council.general.enabled`.
245
+
246
+ Additionally, present these three sub-items as part of the same exchange:
247
+ - Parallel coders (default: 1, range: 1-6) - how many coders should run in parallel. Parallel coders each run in an isolated git worktree (separate working dir + branch) and merge back automatically, so they never overwrite each other's files - safe and faster, but only for tasks whose declared file scopes do NOT overlap. The per-task file scopes that determine a safe parallel count are not known until the plan is finalized, so default to 1 (serial) here; the precise recommendation is made at plan time once the tasks and their scopes exist.
244
248
  > COMMON MISCONCEPTION: worktree isolation is baseline for standard parallel coders, governed by the parallel execution profile plus top-level `worktree.policy`. It is not provided by Lean Turbo or Epic. Do not recommend Lean Turbo or Epic to obtain worktree isolation; recommend them only for what they add beyond baseline (Lean Turbo: lane planning, file locks, phase reviewer, integrated diff; Epic: co-change awareness and auto-decide). Worktrees also do not make overlapping scopes safe: dependency readiness, file-disjoint scopes, and merge-back ownership are still required.
245
- - Commit frequency (default: phase-level only) - optional per-task checkpoint commit after each task completion.
246
- - auto_proceed (boolean, default: false) - when true, auto-advance to the next phase without asking "Ready for Phase N+1?"; runtime toggle via /swarm auto-proceed on|off.
249
+ - Commit frequency (default: phase-level only) - optional per-task checkpoint commit after each task completion.
250
+ - auto_proceed (boolean, default: false) - when true, auto-advance to the next phase without asking "Ready for Phase N+1?"; runtime toggle via /swarm auto-proceed on|off.
251
+
252
+ <!-- END QA_GATE_BODY -->
247
253
  The user answers all four (gates, parallel coders, commit frequency, auto_proceed) in one exchange. Wait for the user's response.
248
254
  If the user says parallel coders > 1, write a `## Pending Parallelization Config` section to `.swarm/context.md` alongside the gate selection:
249
255
  ```
@@ -53,24 +53,28 @@ Activates when: user asks to "specify", "define requirements", "write a spec", o
53
53
  5b. **QA GATE SELECTION, PARALLEL CODERS, COMMIT FREQUENCY, AND AUTO_PROCEED (dialogue only).**
54
54
  Ask the user which QA gates to enable for this plan, how many parallel coders to use, the commit frequency, and auto_proceed -- do not select on their behalf. Present all four items together as one unified exchange. Exception: when SPECIFY is running inside MODE: LOOP with `autonomy=auto`, write the balanced-speed default `## Pending QA Gate Selection` instead (reviewer, test_engineer, sme_enabled, critic_pre_plan, sast_enabled, drift_check ON; council_mode, hallucination_guard, mutation_test, phase_council, final_council OFF), keep phase-level commits, and let MODE: PLAN choose safe parallelism after task scopes exist.
55
55
 
56
+ <!-- BEGIN QA_GATE_BODY -->
57
+
56
58
  Present the eleven gates with their defaults (DEFAULT_QA_GATES), parallel coder count, commit frequency, and auto_proceed as a single user-facing section. Offer the user a one-shot choice: accept defaults, or customize. The eleven gates are:
57
- - reviewer (default: ON) -- code review of coder output
58
- - test_engineer (default: ON) -- test verification of coder output
59
- - sme_enabled (default: ON) -- SME consultation during planning/clarification
60
- - critic_pre_plan (default: ON) -- critic review before plan finalization
61
- - sast_enabled (default: ON) -- static security scanning
62
- - council_mode (default: OFF) -- replaces per-task Stage B (reviewer + test_engineer) with the full 5-member council (critic, reviewer, sme, test_engineer, explorer). Requires council.enabled: true in config. (recommended for high-impact architecture, public APIs, schema/data mutation, security-sensitive code)
63
- - hallucination_guard (default: OFF) -- when enabled, mandatory per-phase API/signature/claim/citation verification via critic_hallucination_verifier at PHASE-WRAP; phase_complete will REJECT phase completion unless .swarm/evidence/{phase}/hallucination-guard.json exists with an APPROVED verdict (recommended for claim-heavy or research-heavy work)
64
- - mutation_test (default: OFF) -- when enabled, runs mutation testing on source files touched this phase via generate_mutants + mutation_test + write_mutation_evidence at PHASE-WRAP; FAIL verdict blocks phase_complete; WARN is non-blocking (recommended for projects with coverage gaps or safety-critical code)
65
- - phase_council (default: OFF) -- full 5-member council reviews all work in a phase holistically at phase_complete time. Requires council.enabled: true in config. (recommended for multi-task phases with cross-cutting concerns or high-risk integration)
66
- - drift_check (default: ON) -- when enabled, mandatory per-phase drift verification via critic_drift_verifier at PHASE-WRAP; compares implemented changes against spec.md intent; hard-blocks phase_complete when spec.md exists and drift evidence is missing or REJECTED; advisory-only when no spec.md exists (recommended for all projects with a specification)
67
- - final_council (default: OFF) -- when enabled, after all phases complete the architect dispatches the full 5-member council (critic, reviewer, sme, test_engineer, explorer) -- NOT the General Council -- at project scope, collects `CouncilMemberVerdict` objects, and calls `write_final_council_evidence`. This does not require `council.general.enabled`.
59
+ - reviewer (default: ON) - code review of coder output
60
+ - test_engineer (default: ON) - test verification of coder output
61
+ - sme_enabled (default: ON) - SME consultation during planning/clarification
62
+ - critic_pre_plan (default: ON) - critic review before plan finalization
63
+ - sast_enabled (default: ON) - static security scanning
64
+ - council_mode (default: OFF) - replaces per-task Stage B (reviewer + test_engineer) with the full 5-member council (critic, reviewer, sme, test_engineer, explorer). Requires council.enabled: true in config.
65
+ - hallucination_guard (default: OFF) - when enabled, mandatory per-phase API/signature/claim/citation verification at PHASE-WRAP; phase_complete will REJECT phase completion unless .swarm/evidence/{phase}/hallucination-guard.json exists with an APPROVED verdict.
66
+ - mutation_test (default: OFF) - when enabled, runs mutation testing on source files touched this phase via generate_mutants + mutation_test + write_mutation_evidence at PHASE-WRAP; FAIL verdict blocks phase_complete; WARN is non-blocking.
67
+ - phase_council (default: OFF) - full 5-member council reviews all work in a phase holistically at phase_complete time. Requires council.enabled: true in config.
68
+ - drift_check (default: ON) - mandatory per-phase drift verification via critic_drift_verifier at PHASE-WRAP; hard-blocks phase_complete when spec.md exists and drift evidence is missing or REJECTED; advisory-only when no spec.md exists.
69
+ - final_council (default: OFF) - when enabled, after all phases complete the architect dispatches the full 5-member council (critic, reviewer, sme, test_engineer, explorer) - NOT the General Council - at project scope, collects `CouncilMemberVerdict` objects, and calls `write_final_council_evidence`. This does not require `council.general.enabled`.
68
70
 
69
71
  Additionally, present these three sub-items as part of the same exchange:
70
- - Parallel coders (default: 1, range: 1-6) -- how many coders should run in parallel. Parallel coders each run in an isolated git worktree (separate working dir + branch) and merge back automatically, so they never overwrite each other's files -- safe and faster, but only for tasks whose file scopes do NOT overlap. The per-task file scopes that determine a safe parallel count are not known until the plan is finalized, so default to 1 (serial) here; the precise recommendation is made at plan time once the tasks and their scopes exist.
72
+ - Parallel coders (default: 1, range: 1-6) - how many coders should run in parallel. Parallel coders each run in an isolated git worktree (separate working dir + branch) and merge back automatically, so they never overwrite each other's files - safe and faster, but only for tasks whose declared file scopes do NOT overlap. The per-task file scopes that determine a safe parallel count are not known until the plan is finalized, so default to 1 (serial) here; the precise recommendation is made at plan time once the tasks and their scopes exist.
71
73
  > COMMON MISCONCEPTION: worktree isolation is baseline for standard parallel coders, governed by the parallel execution profile plus top-level `worktree.policy`. It is not provided by Lean Turbo or Epic. Do not recommend Lean Turbo or Epic to obtain worktree isolation; recommend them only for what they add beyond baseline (Lean Turbo: lane planning, file locks, phase reviewer, integrated diff; Epic: co-change awareness and auto-decide). Worktrees also do not make overlapping scopes safe: dependency readiness, file-disjoint scopes, and merge-back ownership are still required.
72
- - Commit frequency (default: phase-level only) -- optional per-task checkpoint commit after each task completion.
73
- - auto_proceed (boolean, default: false) -- when true, auto-advance to the next phase without asking "Ready for Phase N+1?"; runtime toggle via /swarm auto-proceed on|off.
74
+ - Commit frequency (default: phase-level only) - optional per-task checkpoint commit after each task completion.
75
+ - auto_proceed (boolean, default: false) - when true, auto-advance to the next phase without asking "Ready for Phase N+1?"; runtime toggle via /swarm auto-proceed on|off.
76
+
77
+ <!-- END QA_GATE_BODY -->
74
78
 
75
79
  The user answers all four (gates, parallel coders, commit frequency, auto_proceed) in one exchange. Wait for the user's response.
76
80
 
@@ -61,14 +61,16 @@ export declare function buildArchitectureSupervisionWorkflow(arch?: Architecture
61
61
  */
62
62
  export declare function buildCouncilWorkflow(council?: CouncilWorkflowConfig): string;
63
63
  /**
64
- * Build the user-facing QA gate selection dialogue, used by MODE: SPECIFY
65
- * (step 5b), MODE: BRAINSTORM (Phase 6), and MODE: PLAN (post-`save_plan`
66
- * inline path). The dialogue is dialogue-only persistence happens during
67
- * MODE: PLAN after `save_plan` creates `plan.json`.
64
+ * TEST-ONLY ORACLE: This function is no longer wired into the architect prompt
65
+ * (the {{QA_GATE_DIALOGUE_*}} placeholder substitution was removed in #1690,
66
+ * task 3.1). It is retained here because three test files import it directly:
67
+ * - src/__tests__/qa-gate-hardening.test.ts:17
68
+ * - tests/unit/agents/architect-hallucination-gate.test.ts:3
69
+ * - tests/unit/skills/plan-protocol.test.ts:8
68
70
  *
69
- * The lead-in sentence varies per mode, but the body (ten gates with
70
- * defaults, one-shot accept-or-customize prompt) is shared so SPECIFY,
71
- * BRAINSTORM, and PLAN inline paths stay in lockstep.
71
+ * Future work (task 3.2) will create `references/qa-gate-gates-body.md` and
72
+ * migrate those tests to assert against the canonical body. Once migrated,
73
+ * this helper may be deleted.
72
74
  */
73
75
  export declare function buildQaGateSelectionDialogue(modeLabel: 'BRAINSTORM' | 'SPECIFY' | 'PLAN'): string;
74
76
  export declare function createArchitectAgent(model: string, customPrompt?: string, customAppendPrompt?: string, adversarialTesting?: AdversarialTestingConfig, council?: CouncilWorkflowConfig, uiReview?: UIReviewConfig, memoryEnabled?: boolean, architecturalSupervision?: ArchitectureSupervisionWorkflowConfig, designDocsEnabled?: boolean, externalSkillsEnabled?: boolean, turboEnabled?: boolean, skillsEnabled?: boolean): AgentDefinition;
@@ -4,9 +4,9 @@ import {
4
4
  authorizeCuration,
5
5
  buildConfigFingerprintInput,
6
6
  readCohortConfigFingerprint
7
- } from "./index-1htanqp1.js";
7
+ } from "./index-mgrsx5hn.js";
8
8
  import"./index-rtry5xyf.js";
9
- import"./index-gbnpz7rh.js";
9
+ import"./index-2bnfwmk3.js";
10
10
  import"./index-ae75rja9.js";
11
11
  import"./index-q27bajqb.js";
12
12
  import"./index-zgwm4ryv.js";
@@ -14,28 +14,28 @@ import {
14
14
  runCuratorInit,
15
15
  runCuratorPhase,
16
16
  writeCuratorSummary
17
- } from "./index-d17kqe54.js";
17
+ } from "./index-0ff5cm9j.js";
18
18
  import"./index-dezgmvtw.js";
19
19
  import"./index-jt7hnr7q.js";
20
20
  import"./index-kk1scggc.js";
21
21
  import"./index-4905hd2m.js";
22
22
  import"./index-134d35c1.js";
23
23
  import"./index-6n2jpz7x.js";
24
- import"./index-gd5w3ef8.js";
25
- import"./index-0f45t7xy.js";
26
- import"./index-e315gwc9.js";
24
+ import"./index-yfzn5r9s.js";
25
+ import"./index-bcgfhxzv.js";
26
+ import"./index-cdx337js.js";
27
27
  import"./index-vxv732ex.js";
28
28
  import"./index-c8s9a3zh.js";
29
29
  import"./index-9ss2m4rs.js";
30
30
  import"./index-23zsx7dm.js";
31
- import"./index-yq4s3q43.js";
32
- import"./index-1htanqp1.js";
31
+ import"./index-kwnsatzq.js";
32
+ import"./index-mgrsx5hn.js";
33
33
  import"./index-rtry5xyf.js";
34
- import"./index-1012f47p.js";
35
- import"./index-gbnpz7rh.js";
34
+ import"./index-2yd75hms.js";
35
+ import"./index-2bnfwmk3.js";
36
36
  import"./index-ae75rja9.js";
37
37
  import"./index-q27bajqb.js";
38
- import"./index-74xejn4v.js";
38
+ import"./index-a1c9az5e.js";
39
39
  import"./index-k5jrywpr.js";
40
40
  import"./index-n832052r.js";
41
41
  import"./index-r1gdkn2d.js";
@@ -1,28 +1,28 @@
1
1
  // @bun
2
2
  import {
3
3
  createCuratorLLMDelegate
4
- } from "./index-d17kqe54.js";
4
+ } from "./index-0ff5cm9j.js";
5
5
  import"./index-dezgmvtw.js";
6
6
  import"./index-jt7hnr7q.js";
7
7
  import"./index-kk1scggc.js";
8
8
  import"./index-4905hd2m.js";
9
9
  import"./index-134d35c1.js";
10
10
  import"./index-6n2jpz7x.js";
11
- import"./index-gd5w3ef8.js";
12
- import"./index-0f45t7xy.js";
13
- import"./index-e315gwc9.js";
11
+ import"./index-yfzn5r9s.js";
12
+ import"./index-bcgfhxzv.js";
13
+ import"./index-cdx337js.js";
14
14
  import"./index-vxv732ex.js";
15
15
  import"./index-c8s9a3zh.js";
16
16
  import"./index-9ss2m4rs.js";
17
17
  import"./index-23zsx7dm.js";
18
- import"./index-yq4s3q43.js";
19
- import"./index-1htanqp1.js";
18
+ import"./index-kwnsatzq.js";
19
+ import"./index-mgrsx5hn.js";
20
20
  import"./index-rtry5xyf.js";
21
- import"./index-1012f47p.js";
22
- import"./index-gbnpz7rh.js";
21
+ import"./index-2yd75hms.js";
22
+ import"./index-2bnfwmk3.js";
23
23
  import"./index-ae75rja9.js";
24
24
  import"./index-q27bajqb.js";
25
- import"./index-74xejn4v.js";
25
+ import"./index-a1c9az5e.js";
26
26
  import"./index-k5jrywpr.js";
27
27
  import"./index-n832052r.js";
28
28
  import"./index-r1gdkn2d.js";
@@ -1,29 +1,29 @@
1
1
  // @bun
2
2
  import {
3
3
  handleGuardrailExplain
4
- } from "./index-1cxp3b5y.js";
5
- import"./index-d17kqe54.js";
4
+ } from "./index-y4ry07h8.js";
5
+ import"./index-0ff5cm9j.js";
6
6
  import"./index-dezgmvtw.js";
7
7
  import"./index-jt7hnr7q.js";
8
8
  import"./index-kk1scggc.js";
9
9
  import"./index-4905hd2m.js";
10
10
  import"./index-134d35c1.js";
11
11
  import"./index-6n2jpz7x.js";
12
- import"./index-gd5w3ef8.js";
13
- import"./index-0f45t7xy.js";
14
- import"./index-e315gwc9.js";
12
+ import"./index-yfzn5r9s.js";
13
+ import"./index-bcgfhxzv.js";
14
+ import"./index-cdx337js.js";
15
15
  import"./index-vxv732ex.js";
16
16
  import"./index-c8s9a3zh.js";
17
17
  import"./index-9ss2m4rs.js";
18
18
  import"./index-23zsx7dm.js";
19
- import"./index-yq4s3q43.js";
20
- import"./index-1htanqp1.js";
19
+ import"./index-kwnsatzq.js";
20
+ import"./index-mgrsx5hn.js";
21
21
  import"./index-rtry5xyf.js";
22
- import"./index-1012f47p.js";
23
- import"./index-gbnpz7rh.js";
22
+ import"./index-2yd75hms.js";
23
+ import"./index-2bnfwmk3.js";
24
24
  import"./index-ae75rja9.js";
25
25
  import"./index-q27bajqb.js";
26
- import"./index-74xejn4v.js";
26
+ import"./index-a1c9az5e.js";
27
27
  import"./index-k5jrywpr.js";
28
28
  import"./index-n832052r.js";
29
29
  import"./index-r1gdkn2d.js";
@@ -7,30 +7,30 @@ import {
7
7
  isHiveEligible,
8
8
  promoteFromSwarm,
9
9
  promoteToHive
10
- } from "./index-d17kqe54.js";
10
+ } from "./index-0ff5cm9j.js";
11
11
  import"./index-dezgmvtw.js";
12
12
  import"./index-jt7hnr7q.js";
13
13
  import"./index-kk1scggc.js";
14
14
  import"./index-4905hd2m.js";
15
15
  import"./index-134d35c1.js";
16
16
  import"./index-6n2jpz7x.js";
17
- import"./index-gd5w3ef8.js";
18
- import"./index-0f45t7xy.js";
19
- import"./index-e315gwc9.js";
17
+ import"./index-yfzn5r9s.js";
18
+ import"./index-bcgfhxzv.js";
19
+ import"./index-cdx337js.js";
20
20
  import"./index-vxv732ex.js";
21
21
  import"./index-c8s9a3zh.js";
22
22
  import"./index-9ss2m4rs.js";
23
23
  import"./index-23zsx7dm.js";
24
- import"./index-yq4s3q43.js";
25
- import"./index-1htanqp1.js";
24
+ import"./index-kwnsatzq.js";
25
+ import"./index-mgrsx5hn.js";
26
26
  import"./index-rtry5xyf.js";
27
27
  import {
28
28
  resolveHiveKnowledgePath
29
- } from "./index-1012f47p.js";
30
- import"./index-gbnpz7rh.js";
29
+ } from "./index-2yd75hms.js";
30
+ import"./index-2bnfwmk3.js";
31
31
  import"./index-ae75rja9.js";
32
32
  import"./index-q27bajqb.js";
33
- import"./index-74xejn4v.js";
33
+ import"./index-a1c9az5e.js";
34
34
  import"./index-k5jrywpr.js";
35
35
  import"./index-n832052r.js";
36
36
  import"./index-r1gdkn2d.js";