kb_plan_bootstrap
Generates a deterministic, snapshot-bound bootstrap plan for onboarding repositories with empty or incomplete knowledge bases, returning evidence, scoped questions, ordered actions, and a plan hash.
Instructions
Generate a deterministic, snapshot-bound kibi.bootstrap-plan.v1 for repository onboarding. Use it only to onboard a repository whose KB is empty or incomplete (the kibi-bootstrap skill drives it); for a change in an onboarded project use kb_compile_intent. Read-only analysis of the repository plus any declared knowledge sources and cited intent claims returns evidence, bounded context questions, exact dependency-ordered actions, a canonical plan hash, and no mutation side effects.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entityTypes | No | Optional filter to limit candidate generation to specific entity types. | |
| maxCandidates | No | Budget for candidates Kibi discovers itself (symbols, tests, repository documents). Declared intentClaims sit outside it: they are never capped and never use its slots. Clamped to [1, 200]. Default: 50. | |
| minConfidence | No | Minimum confidence threshold for candidates. Clamped to [0.60, 0.95]. Default: 0.80. | |
| workspaceRoot | No | Optional absolute path of the workspace this call is about when it differs from the one the server started in, for example the git worktree you are working in. The server answers from that workspace's knowledge base when it is a worktree of the same repository or lies under the client's MCP roots; otherwise it answers from its own workspace and adds a workspace_mismatch diagnostic. Host hooks fill this in automatically where available. | |
| bootstrapContext | No | Optional declared bootstrap context supplied by the agent to ground the read-only synthesis output. | |
| includeGenericMarkdown | No | Whether to include generic markdown file content as candidate facts. Default: true, or false when bootstrapContext declares intentClaims (the declared sources already carry the intent); set it explicitly to override. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| error | No | ||
| status | Yes | ||
| effects | Yes | ||
| operation | Yes | ||
| diagnostics | Yes | ||
| nextActions | Yes | ||
| kibiProtocol | Yes | ||
| resultVersion | Yes |