bootstrap_context
Initialize a project context structure by creating .context/ with governance docs and a project.md from interview answers, skipping existing artifacts.
Instructions
Atomically scaffold a brand-new .context/ directory for a project that doesn't have one yet: creates decisions/ and sessions/, writes the bundled ADR_CREATE_AND_MANAGEMENT.md and PLANNING_LOOP.md governance docs, writes an interview-driven project.md (answers from get_bootstrap_questions), and creates a governance ADR-00001 establishing the project's ADR process. Every step is additive and idempotent — artifacts that already exist are skipped, not overwritten. If the repository has a .project-bootstrap-questions.yaml file at its root, its questions are merged into the interview set used for project.md.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| auto_reindex | No | When true, automatically re-run `index_project_context` after the write and include its result. When false (default), the response includes a manual-reindex reminder. | |
| project_name | Yes | The project's name, used in project.md's title. | |
| project_path | Yes | Absolute filesystem path, a short 'owner/repo' identifier, or a full https:// repository URL. | |
| project_sections | No | Interview answers keyed by the 'key' fields from `get_bootstrap_questions('project')`, e.g. {'One-liner': '...'}. |