Rulvar API reference / @rulvar/core / GitWorktreeProviderOptions
Interface: GitWorktreeProviderOptions
Defined in: packages/core/src/tools/isolation.ts:32
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
keepOnError? | boolean | Retain the tree of a FAILED agent for inspection when the engine requests keep on dispose. Default false. | packages/core/src/tools/isolation.ts:39 |
maxPinnedWorktrees? | number | Pin cap shared by park/unpark and retainWorktree (default 4). A nonnegative integer (zero retains nothing), validated at construction: the retention compares pinned.size < cap, and every comparison with NaN is false, so an unvalidated NaN performed the acquire effects and then dropped every tree as "cap reached" (v1.35.0 review P2-5). | packages/core/src/tools/isolation.ts:48 |
onWarn? | (msg) => void | Warning sink (cap overflow); defaults to process.emitWarning. | packages/core/src/tools/isolation.ts:50 |
repoRoot? | string | Host repository root; default process.cwd(). | packages/core/src/tools/isolation.ts:34 |