Skip to content

MergeSuggestionService

Defined in: src/merge-suggest.ts:89

new MergeSuggestionService(deps): MergeSuggestionService

Defined in: src/merge-suggest.ts:105

MergeSuggestionDeps

MergeSuggestionService

consider(repoPath): void

Defined in: src/merge-suggest.ts:153

Intra-repo: propose merge groups when a repo has enough active rules and its active set changed since the last pass. No-op otherwise. Never awaits the spawn.

string

void


considerCrossRepo(): void

Defined in: src/merge-suggest.ts:164

Cross-repo: propose promote-to-global suggestions for rules recurring across repos. Runs once per sweep globally; gated on repo span + a changed global signature.

void


health(): object

Defined in: src/merge-suggest.ts:117

object

consecutiveFailures: number

lastFailure: { at: number; key: string; reason: string; } | null

ok: boolean


mergeNow(repoPath): void

Defined in: src/merge-suggest.ts:175

Manual trigger for a repo’s intra pass — bypasses the active-count + signature gates (still needs ≥2 active rules to have anything to merge). Subject to the concurrency cap.

string

void


tick(): Promise<void>

Defined in: src/merge-suggest.ts:287

Finalize any run whose output file is ready or that timed out, then drain the queue.

Promise<void>