opencode-swarm 6.72.0 → 6.73.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.
- package/dist/__tests__/critic_hallucination_verifier-whitelist.test.d.ts +1 -0
- package/dist/agents/architect.d.ts +11 -0
- package/dist/agents/critic.d.ts +2 -1
- package/dist/cli/index.js +243 -224
- package/dist/config/constants.d.ts +2 -2
- package/dist/db/qa-gate-profile.d.ts +15 -7
- package/dist/index.js +856 -375
- package/dist/state.d.ts +27 -1
- package/dist/tools/convene-council.d.ts +1 -1
- package/dist/tools/index.d.ts +1 -0
- package/dist/tools/tool-names.d.ts +1 -1
- package/dist/tools/write-hallucination-evidence.d.ts +30 -0
- package/package.json +1 -1
|
@@ -2,8 +2,8 @@ import type { ToolName } from '../tools/tool-names';
|
|
|
2
2
|
export declare const QA_AGENTS: readonly ["reviewer", "critic", "critic_oversight"];
|
|
3
3
|
export declare const PIPELINE_AGENTS: readonly ["explorer", "coder", "test_engineer"];
|
|
4
4
|
export declare const ORCHESTRATOR_NAME: "architect";
|
|
5
|
-
export declare const ALL_SUBAGENT_NAMES: readonly ["sme", "docs", "designer", "critic_sounding_board", "critic_drift_verifier", "curator_init", "curator_phase", "reviewer", "critic", "critic_oversight", "explorer", "coder", "test_engineer"];
|
|
6
|
-
export declare const ALL_AGENT_NAMES: readonly ["architect", "sme", "docs", "designer", "critic_sounding_board", "critic_drift_verifier", "curator_init", "curator_phase", "reviewer", "critic", "critic_oversight", "explorer", "coder", "test_engineer"];
|
|
5
|
+
export declare const ALL_SUBAGENT_NAMES: readonly ["sme", "docs", "designer", "critic_sounding_board", "critic_drift_verifier", "critic_hallucination_verifier", "curator_init", "curator_phase", "reviewer", "critic", "critic_oversight", "explorer", "coder", "test_engineer"];
|
|
6
|
+
export declare const ALL_AGENT_NAMES: readonly ["architect", "sme", "docs", "designer", "critic_sounding_board", "critic_drift_verifier", "critic_hallucination_verifier", "curator_init", "curator_phase", "reviewer", "critic", "critic_oversight", "explorer", "coder", "test_engineer"];
|
|
7
7
|
export type QAAgentName = (typeof QA_AGENTS)[number];
|
|
8
8
|
export type PipelineAgentName = (typeof PIPELINE_AGENTS)[number];
|
|
9
9
|
export type AgentName = (typeof ALL_AGENT_NAMES)[number];
|
|
@@ -73,14 +73,22 @@ export declare function computeProfileHash(profile: QaGateProfile): string;
|
|
|
73
73
|
*
|
|
74
74
|
* IMPORTANT — caller responsibility: this function is the *computation*
|
|
75
75
|
* of effective gates, not an enforcement point. Enforcement consumers
|
|
76
|
-
*
|
|
77
|
-
*
|
|
78
|
-
* `getProfile` and the agent session's `qaGateSessionOverrides ?? {}`.
|
|
76
|
+
* must call this at their own check sites, passing the current profile
|
|
77
|
+
* from `getProfile` and the agent session's `qaGateSessionOverrides ?? {}`.
|
|
79
78
|
* Reading raw `profile.gates` directly from an enforcement site will
|
|
80
|
-
* silently ignore operator-applied session overrides.
|
|
81
|
-
*
|
|
82
|
-
* enforcement consumers
|
|
83
|
-
*
|
|
79
|
+
* silently ignore operator-applied session overrides.
|
|
80
|
+
*
|
|
81
|
+
* Active enforcement consumers (keep this list in sync when wiring new gates):
|
|
82
|
+
* - reviewer / test_engineer — src/hooks/delegation-gate.ts (Stage B state
|
|
83
|
+
* machine; blocks coder→next-coder advancement until reviewer + test_engineer
|
|
84
|
+
* delegations observed).
|
|
85
|
+
* - council_mode — src/state.ts isCouncilGateActive + src/hooks/delegation-gate.ts
|
|
86
|
+
* (Stage B replaced by convene_council verdict).
|
|
87
|
+
* - sme_enabled — consumed during MODE: BRAINSTORM/SPECIFY architect dialogue.
|
|
88
|
+
* - critic_pre_plan — consumed by MODE: PLAN critic delegation before save_plan.
|
|
89
|
+
* - sast_enabled — consumed inside pre_check_batch tool.
|
|
90
|
+
* - hallucination_guard — src/tools/phase-complete.ts Gate 3 (blocks phase_complete
|
|
91
|
+
* until .swarm/evidence/{phase}/hallucination-guard.json has APPROVED verdict).
|
|
84
92
|
*
|
|
85
93
|
* Session overrides are intentionally ephemeral — they live only in
|
|
86
94
|
* in-memory `AgentSessionState.qaGateSessionOverrides` and are NOT
|