import type { ProposedShard } from "../types.js"; import { effectiveExcludedPaths } from "../security/excluded-defaults.js"; export function swarmShards(scope: string[]): ProposedShard[] { return [ { id: "flow", objective: "Trace request to persistence", scope, excludedScope: effectiveExcludedPaths(), lens: "flow", evidenceTarget: "request/state/persistence", expectedOutput: "facts", canRunIndependently: true, canChangeFinalDecision: true, writeIntent: false }, { id: "invariants", objective: "Extract tests and invariants", scope, excludedScope: effectiveExcludedPaths(), lens: "tests", evidenceTarget: "tests/invariants", expectedOutput: "facts", canRunIndependently: true, canChangeFinalDecision: true, writeIntent: false }, { id: "analogues", objective: "Find an analogous working implementation", scope, excludedScope: effectiveExcludedPaths(), lens: "analogues", evidenceTarget: "working implementation", expectedOutput: "facts", canRunIndependently: true, canChangeFinalDecision: true, writeIntent: false }, ]; }