chore(engine): remove triage broad-scope heuristics
Removes the BROAD_SCOPE_FLAG_VERSION/decideBroadScopeFlag pipeline, the triage.ts call site that wrote `broadScopeFlag` source metadata and emitted task:broad-scope-flagged-at-triage audit events, the DatabaseMutationType enum entry, the diagnostic doc section, and the associated unit + reliability-interaction tests. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -326,10 +326,8 @@ export type DatabaseMutationType =
|
||||
| "task:auto-recover-worktree-metadata-skipped-active"
|
||||
// task:auto-archived-ghost-bug metadata: { findings: Array<{ construct: { kind: string; raw: string; filePath?: string; line?: number }; matched: boolean; probeError?: string; output?: string }>; reason: string }
|
||||
// task:auto-archived-duplicate metadata: { siblingTaskIds: string[]; scores: Record<string, number> }
|
||||
// task:broad-scope-flagged-at-triage metadata: { score: number; reasons: string[]; signals: { size: "S"|"M"|"L"|null; stepCount: number; fileScopeCount: number; failingFileMentions: number }; thresholds: { stepsHigh: number; fileScopeHigh: number; failingFileMentionsHigh: number; sizeLStepsThreshold: number }; version: number }
|
||||
| "task:auto-archived-ghost-bug"
|
||||
| "task:auto-archived-duplicate"
|
||||
| "task:broad-scope-flagged-at-triage"
|
||||
| "task:auto-reconciled-self-defeating-dep"
|
||||
| "task:dependency-cycle-rejected"
|
||||
| "task:dependency-cycle-detected"
|
||||
|
||||
Reference in New Issue
Block a user