/** * sf_governance_history 工具 — 查询 governance 决策审计摘要(只读)。 * * 返回审计摘要(id/taskId/status/policyIds/requirementIds/createdAt),不返回完整内部对象。 * 不修改 Store 数据,不重算 governance。 */ import type { ToolRegistrationContext } from "./middleware.js"; /** 决策审计摘要(只读视图,不含完整 governanceResult)。 */ export interface GovernanceDecisionSummary { id: string; taskId: string; status: string; policyIds: string[]; requirementIds: string[]; createdAt: number; } /** sf_governance_history 核心编排(可测):查询决策审计摘要。 */ export declare function runSfGovernanceHistory(taskId: string | undefined, projectPath: string): Promise<{ decisions: GovernanceDecisionSummary[]; }>; export declare function registerSfGovernanceHistoryTools(ctx: ToolRegistrationContext): Promise;