@open-agent-toolkit/cli 0.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +50 -0
- package/assets/agents/oat-codebase-mapper.md +275 -0
- package/assets/agents/oat-reviewer.md +350 -0
- package/assets/agents/skeptical-evaluator.md +126 -0
- package/assets/docs/contributing/code.md +95 -0
- package/assets/docs/contributing/commit-conventions.md +41 -0
- package/assets/docs/contributing/design-principles.md +124 -0
- package/assets/docs/contributing/documentation.md +69 -0
- package/assets/docs/contributing/hooks-and-safety.md +31 -0
- package/assets/docs/contributing/index.md +18 -0
- package/assets/docs/contributing/markdown-features.md +117 -0
- package/assets/docs/contributing/skills.md +68 -0
- package/assets/docs/guide/cli-reference.md +211 -0
- package/assets/docs/guide/concepts.md +88 -0
- package/assets/docs/guide/configuration.md +130 -0
- package/assets/docs/guide/documentation/commands.md +157 -0
- package/assets/docs/guide/documentation/index.md +27 -0
- package/assets/docs/guide/documentation/quickstart.md +164 -0
- package/assets/docs/guide/documentation/workflows.md +67 -0
- package/assets/docs/guide/getting-started.md +63 -0
- package/assets/docs/guide/ideas/index.md +34 -0
- package/assets/docs/guide/ideas/lifecycle.md +106 -0
- package/assets/docs/guide/index.md +20 -0
- package/assets/docs/guide/provider-sync/commands.md +100 -0
- package/assets/docs/guide/provider-sync/config.md +77 -0
- package/assets/docs/guide/provider-sync/index.md +65 -0
- package/assets/docs/guide/provider-sync/manifest-and-drift.md +55 -0
- package/assets/docs/guide/provider-sync/providers.md +67 -0
- package/assets/docs/guide/provider-sync/scope-and-surface.md +64 -0
- package/assets/docs/guide/skills/index.md +115 -0
- package/assets/docs/guide/tool-packs.md +167 -0
- package/assets/docs/guide/workflow/artifacts.md +44 -0
- package/assets/docs/guide/workflow/hill-checkpoints.md +53 -0
- package/assets/docs/guide/workflow/index.md +34 -0
- package/assets/docs/guide/workflow/lifecycle.md +207 -0
- package/assets/docs/guide/workflow/pr-flow.md +55 -0
- package/assets/docs/guide/workflow/repo-analysis.md +96 -0
- package/assets/docs/guide/workflow/reviews.md +98 -0
- package/assets/docs/guide/workflow/state-machine.md +74 -0
- package/assets/docs/index.md +45 -0
- package/assets/docs/quickstart.md +162 -0
- package/assets/docs/reference/docs-index-contract.md +53 -0
- package/assets/docs/reference/file-locations.md +109 -0
- package/assets/docs/reference/index.md +29 -0
- package/assets/docs/reference/oat-directory-structure.md +236 -0
- package/assets/docs/reference/troubleshooting.md +63 -0
- package/assets/public-package-versions.json +6 -0
- package/assets/scripts/resolve-tracking.sh +233 -0
- package/assets/skills/analyze/SKILL.md +358 -0
- package/assets/skills/compare/SKILL.md +276 -0
- package/assets/skills/create-agnostic-skill/SKILL.md +410 -0
- package/assets/skills/create-agnostic-skill/references/skill-template.md +195 -0
- package/assets/skills/deep-research/SKILL.md +350 -0
- package/assets/skills/deep-research/references/schema-analysis.md +93 -0
- package/assets/skills/deep-research/references/schema-architectural.md +75 -0
- package/assets/skills/deep-research/references/schema-base.md +70 -0
- package/assets/skills/deep-research/references/schema-comparative.md +72 -0
- package/assets/skills/deep-research/references/schema-conceptual.md +68 -0
- package/assets/skills/deep-research/references/schema-technical.md +64 -0
- package/assets/skills/oat-agent-instructions-analyze/SKILL.md +500 -0
- package/assets/skills/oat-agent-instructions-analyze/references/analysis-artifact-template.md +248 -0
- package/assets/skills/oat-agent-instructions-analyze/references/bundle-summary-template.md +31 -0
- package/assets/skills/oat-agent-instructions-analyze/references/directory-assessment-criteria.md +93 -0
- package/assets/skills/oat-agent-instructions-analyze/references/docs/agent-instruction.md +575 -0
- package/assets/skills/oat-agent-instructions-analyze/references/docs/cursor-rules-files.md +510 -0
- package/assets/skills/oat-agent-instructions-analyze/references/docs/provider-reference.md +429 -0
- package/assets/skills/oat-agent-instructions-analyze/references/docs/rules-files.md +594 -0
- package/assets/skills/oat-agent-instructions-analyze/references/file-type-discovery-checklist.md +273 -0
- package/assets/skills/oat-agent-instructions-analyze/references/quality-checklist.md +125 -0
- package/assets/skills/oat-agent-instructions-analyze/references/recommendation-pack-template.md +45 -0
- package/assets/skills/oat-agent-instructions-analyze/references/recommendations-manifest-template.yaml +27 -0
- package/assets/skills/oat-agent-instructions-analyze/scripts/resolve-instruction-files.sh +120 -0
- package/assets/skills/oat-agent-instructions-analyze/scripts/resolve-providers.sh +135 -0
- package/assets/skills/oat-agent-instructions-apply/SKILL.md +507 -0
- package/assets/skills/oat-agent-instructions-apply/references/apply-plan-template.md +80 -0
- package/assets/skills/oat-agent-instructions-apply/references/docs/agent-instruction.md +575 -0
- package/assets/skills/oat-agent-instructions-apply/references/docs/cursor-rules-files.md +510 -0
- package/assets/skills/oat-agent-instructions-apply/references/docs/provider-reference.md +429 -0
- package/assets/skills/oat-agent-instructions-apply/references/docs/rules-files.md +594 -0
- package/assets/skills/oat-agent-instructions-apply/references/instruction-file-templates/agents-md-root.md +85 -0
- package/assets/skills/oat-agent-instructions-apply/references/instruction-file-templates/agents-md-scoped.md +62 -0
- package/assets/skills/oat-agent-instructions-apply/references/instruction-file-templates/frontmatter/claude-rule.md +67 -0
- package/assets/skills/oat-agent-instructions-apply/references/instruction-file-templates/frontmatter/copilot-instruction.md +70 -0
- package/assets/skills/oat-agent-instructions-apply/references/instruction-file-templates/frontmatter/copilot-shim.md +35 -0
- package/assets/skills/oat-agent-instructions-apply/references/instruction-file-templates/frontmatter/cursor-rule.md +84 -0
- package/assets/skills/oat-agent-instructions-apply/references/instruction-file-templates/glob-scoped-rule.md +59 -0
- package/assets/skills/oat-docs/SKILL.md +214 -0
- package/assets/skills/oat-docs-analyze/SKILL.md +355 -0
- package/assets/skills/oat-docs-analyze/references/analysis-artifact-template.md +192 -0
- package/assets/skills/oat-docs-analyze/references/directory-assessment-criteria.md +46 -0
- package/assets/skills/oat-docs-analyze/references/quality-checklist.md +48 -0
- package/assets/skills/oat-docs-apply/SKILL.md +339 -0
- package/assets/skills/oat-docs-apply/references/apply-plan-template.md +69 -0
- package/assets/skills/oat-doctor/SKILL.md +293 -0
- package/assets/skills/oat-idea-ideate/SKILL.md +187 -0
- package/assets/skills/oat-idea-new/SKILL.md +152 -0
- package/assets/skills/oat-idea-scratchpad/SKILL.md +115 -0
- package/assets/skills/oat-idea-summarize/SKILL.md +172 -0
- package/assets/skills/oat-pjm-add-backlog-item/SKILL.md +155 -0
- package/assets/skills/oat-pjm-review-backlog/SKILL.md +171 -0
- package/assets/skills/oat-pjm-review-backlog/references/backlog-review-template.md +172 -0
- package/assets/skills/oat-pjm-update-repo-reference/SKILL.md +128 -0
- package/assets/skills/oat-project-capture/SKILL.md +306 -0
- package/assets/skills/oat-project-clear-active/SKILL.md +50 -0
- package/assets/skills/oat-project-complete/SKILL.md +461 -0
- package/assets/skills/oat-project-design/SKILL.md +461 -0
- package/assets/skills/oat-project-discover/SKILL.md +395 -0
- package/assets/skills/oat-project-document/SKILL.md +468 -0
- package/assets/skills/oat-project-implement/SKILL.md +736 -0
- package/assets/skills/oat-project-import-plan/SKILL.md +228 -0
- package/assets/skills/oat-project-import-plan/scripts/find-recent-provider-plans.sh +149 -0
- package/assets/skills/oat-project-new/SKILL.md +74 -0
- package/assets/skills/oat-project-next/SKILL.md +345 -0
- package/assets/skills/oat-project-open/SKILL.md +47 -0
- package/assets/skills/oat-project-plan/SKILL.md +415 -0
- package/assets/skills/oat-project-plan-writing/SKILL.md +116 -0
- package/assets/skills/oat-project-pr-final/SKILL.md +391 -0
- package/assets/skills/oat-project-pr-progress/SKILL.md +354 -0
- package/assets/skills/oat-project-progress/SKILL.md +342 -0
- package/assets/skills/oat-project-promote-spec-driven/SKILL.md +155 -0
- package/assets/skills/oat-project-quick-start/SKILL.md +363 -0
- package/assets/skills/oat-project-reconcile/SKILL.md +738 -0
- package/assets/skills/oat-project-review-provide/SKILL.md +728 -0
- package/assets/skills/oat-project-review-receive/SKILL.md +641 -0
- package/assets/skills/oat-project-review-receive-remote/SKILL.md +235 -0
- package/assets/skills/oat-project-revise/SKILL.md +316 -0
- package/assets/skills/oat-project-spec/SKILL.md +471 -0
- package/assets/skills/oat-project-subagent-implement/SKILL.md +549 -0
- package/assets/skills/oat-project-subagent-implement/examples/pattern-hill-checkpoint.md +110 -0
- package/assets/skills/oat-project-subagent-implement/examples/pattern-parallel-phases.md +118 -0
- package/assets/skills/oat-project-subagent-implement/scripts/dispatch.sh +133 -0
- package/assets/skills/oat-project-subagent-implement/scripts/reconcile.sh +182 -0
- package/assets/skills/oat-project-subagent-implement/scripts/review-gate.sh +187 -0
- package/assets/skills/oat-project-subagent-implement/tests/fixtures/sample-plan.md +234 -0
- package/assets/skills/oat-project-subagent-implement/tests/test-dry-run.sh +126 -0
- package/assets/skills/oat-project-subagent-implement/tests/test-hill-checkpoint.sh +127 -0
- package/assets/skills/oat-project-subagent-implement/tests/test-reconcile.sh +254 -0
- package/assets/skills/oat-project-subagent-implement/tests/test-review-gate.sh +220 -0
- package/assets/skills/oat-project-summary/SKILL.md +227 -0
- package/assets/skills/oat-repo-knowledge-index/SKILL.md +724 -0
- package/assets/skills/oat-repo-knowledge-index/references/templates/architecture.md +83 -0
- package/assets/skills/oat-repo-knowledge-index/references/templates/concerns.md +97 -0
- package/assets/skills/oat-repo-knowledge-index/references/templates/conventions.md +100 -0
- package/assets/skills/oat-repo-knowledge-index/references/templates/integrations.md +91 -0
- package/assets/skills/oat-repo-knowledge-index/references/templates/stack.md +86 -0
- package/assets/skills/oat-repo-knowledge-index/references/templates/structure.md +88 -0
- package/assets/skills/oat-repo-knowledge-index/references/templates/testing.md +137 -0
- package/assets/skills/oat-repo-maintainability-review/SKILL.md +198 -0
- package/assets/skills/oat-repo-maintainability-review/references/dx-checklist.md +33 -0
- package/assets/skills/oat-repo-maintainability-review/references/repo-review-artifact-template.md +72 -0
- package/assets/skills/oat-repo-maintainability-review/references/repo-review-rubric.md +66 -0
- package/assets/skills/oat-repo-maintainability-review/scripts/resolve-analysis-output.sh +162 -0
- package/assets/skills/oat-review-provide/SKILL.md +231 -0
- package/assets/skills/oat-review-provide/references/review-artifact-template.md +55 -0
- package/assets/skills/oat-review-provide/scripts/resolve-review-output.sh +124 -0
- package/assets/skills/oat-review-receive/SKILL.md +238 -0
- package/assets/skills/oat-review-receive-remote/SKILL.md +250 -0
- package/assets/skills/oat-worktree-bootstrap/SKILL.md +208 -0
- package/assets/skills/oat-worktree-bootstrap/references/worktree-conventions.md +58 -0
- package/assets/skills/oat-worktree-bootstrap-auto/SKILL.md +245 -0
- package/assets/skills/oat-worktree-bootstrap-auto/scripts/bootstrap.sh +194 -0
- package/assets/skills/skeptic/SKILL.md +261 -0
- package/assets/skills/synthesize/SKILL.md +361 -0
- package/assets/templates/backlog-item.md +24 -0
- package/assets/templates/design.md +315 -0
- package/assets/templates/discovery.md +135 -0
- package/assets/templates/docs-app-fuma/app/[[...slug]]/page.tsx +30 -0
- package/assets/templates/docs-app-fuma/app/api/search/route.ts +8 -0
- package/assets/templates/docs-app-fuma/app/globals.css +69 -0
- package/assets/templates/docs-app-fuma/app/layout.tsx +26 -0
- package/assets/templates/docs-app-fuma/docs/contributing.md +71 -0
- package/assets/templates/docs-app-fuma/docs/getting-started.md +40 -0
- package/assets/templates/docs-app-fuma/docs/index.md +13 -0
- package/assets/templates/docs-app-fuma/lib/source.ts +8 -0
- package/assets/templates/docs-app-fuma/next.config.js +6 -0
- package/assets/templates/docs-app-fuma/package.json.template +38 -0
- package/assets/templates/docs-app-fuma/postcss.config.mjs +7 -0
- package/assets/templates/docs-app-fuma/source.config.ts +14 -0
- package/assets/templates/docs-app-fuma/tsconfig.json +25 -0
- package/assets/templates/docs-app-mkdocs/docs/contributing.md +122 -0
- package/assets/templates/docs-app-mkdocs/docs/getting-started.md +28 -0
- package/assets/templates/docs-app-mkdocs/docs/index.md +8 -0
- package/assets/templates/docs-app-mkdocs/mkdocs.yml +47 -0
- package/assets/templates/docs-app-mkdocs/package.json.template +19 -0
- package/assets/templates/docs-app-mkdocs/requirements.txt +6 -0
- package/assets/templates/docs-app-mkdocs/setup-docs.sh +18 -0
- package/assets/templates/ideas/idea-discovery.md +39 -0
- package/assets/templates/ideas/idea-summary.md +42 -0
- package/assets/templates/ideas/ideas-backlog.md +21 -0
- package/assets/templates/ideas/ideas-scratchpad.md +10 -0
- package/assets/templates/implementation.md +207 -0
- package/assets/templates/plan.md +171 -0
- package/assets/templates/roadmap.md +24 -0
- package/assets/templates/spec.md +138 -0
- package/assets/templates/state.md +49 -0
- package/assets/templates/summary.md +82 -0
- package/dist/agents/canonical/index.d.ts +4 -0
- package/dist/agents/canonical/index.d.ts.map +1 -0
- package/dist/agents/canonical/index.js +2 -0
- package/dist/agents/canonical/parse.d.ts +4 -0
- package/dist/agents/canonical/parse.d.ts.map +1 -0
- package/dist/agents/canonical/parse.js +97 -0
- package/dist/agents/canonical/render.d.ts +3 -0
- package/dist/agents/canonical/render.d.ts.map +1 -0
- package/dist/agents/canonical/render.js +17 -0
- package/dist/agents/canonical/types.d.ts +22 -0
- package/dist/agents/canonical/types.d.ts.map +1 -0
- package/dist/agents/canonical/types.js +1 -0
- package/dist/app/command-context.d.ts +21 -0
- package/dist/app/command-context.d.ts.map +1 -0
- package/dist/app/command-context.js +18 -0
- package/dist/app/create-program.d.ts +3 -0
- package/dist/app/create-program.d.ts.map +1 -0
- package/dist/app/create-program.js +17 -0
- package/dist/commands/__tests__/helpers.d.ts +12 -0
- package/dist/commands/__tests__/helpers.d.ts.map +1 -0
- package/dist/commands/__tests__/helpers.js +36 -0
- package/dist/commands/backlog/index.d.ts +14 -0
- package/dist/commands/backlog/index.d.ts.map +1 -0
- package/dist/commands/backlog/index.js +80 -0
- package/dist/commands/backlog/init.d.ts +2 -0
- package/dist/commands/backlog/init.d.ts.map +1 -0
- package/dist/commands/backlog/init.js +66 -0
- package/dist/commands/backlog/regenerate-index.d.ts +2 -0
- package/dist/commands/backlog/regenerate-index.d.ts.map +1 -0
- package/dist/commands/backlog/regenerate-index.js +78 -0
- package/dist/commands/backlog/shared/generate-id.d.ts +4 -0
- package/dist/commands/backlog/shared/generate-id.d.ts.map +1 -0
- package/dist/commands/backlog/shared/generate-id.js +65 -0
- package/dist/commands/cleanup/artifacts/artifacts.d.ts +44 -0
- package/dist/commands/cleanup/artifacts/artifacts.d.ts.map +1 -0
- package/dist/commands/cleanup/artifacts/artifacts.js +381 -0
- package/dist/commands/cleanup/artifacts/artifacts.types.d.ts +13 -0
- package/dist/commands/cleanup/artifacts/artifacts.types.d.ts.map +1 -0
- package/dist/commands/cleanup/artifacts/artifacts.types.js +1 -0
- package/dist/commands/cleanup/artifacts/artifacts.utils.d.ts +14 -0
- package/dist/commands/cleanup/artifacts/artifacts.utils.d.ts.map +1 -0
- package/dist/commands/cleanup/artifacts/artifacts.utils.js +74 -0
- package/dist/commands/cleanup/cleanup.types.d.ts +26 -0
- package/dist/commands/cleanup/cleanup.types.d.ts.map +1 -0
- package/dist/commands/cleanup/cleanup.types.js +1 -0
- package/dist/commands/cleanup/cleanup.utils.d.ts +17 -0
- package/dist/commands/cleanup/cleanup.utils.d.ts.map +1 -0
- package/dist/commands/cleanup/cleanup.utils.js +44 -0
- package/dist/commands/cleanup/index.d.ts +3 -0
- package/dist/commands/cleanup/index.d.ts.map +1 -0
- package/dist/commands/cleanup/index.js +9 -0
- package/dist/commands/cleanup/project/project.d.ts +20 -0
- package/dist/commands/cleanup/project/project.d.ts.map +1 -0
- package/dist/commands/cleanup/project/project.js +263 -0
- package/dist/commands/cleanup/project/project.utils.d.ts +8 -0
- package/dist/commands/cleanup/project/project.utils.d.ts.map +1 -0
- package/dist/commands/cleanup/project/project.utils.js +48 -0
- package/dist/commands/config/index.d.ts +16 -0
- package/dist/commands/config/index.d.ts.map +1 -0
- package/dist/commands/config/index.js +700 -0
- package/dist/commands/docs/analyze.d.ts +8 -0
- package/dist/commands/docs/analyze.d.ts.map +1 -0
- package/dist/commands/docs/analyze.js +45 -0
- package/dist/commands/docs/apply.d.ts +8 -0
- package/dist/commands/docs/apply.d.ts.map +1 -0
- package/dist/commands/docs/apply.js +45 -0
- package/dist/commands/docs/index-generate/generator.d.ts +9 -0
- package/dist/commands/docs/index-generate/generator.d.ts.map +1 -0
- package/dist/commands/docs/index-generate/generator.js +114 -0
- package/dist/commands/docs/index-generate/index.d.ts +16 -0
- package/dist/commands/docs/index-generate/index.d.ts.map +1 -0
- package/dist/commands/docs/index-generate/index.js +72 -0
- package/dist/commands/docs/index.d.ts +3 -0
- package/dist/commands/docs/index.d.ts.map +1 -0
- package/dist/commands/docs/index.js +17 -0
- package/dist/commands/docs/init/index.d.ts +18 -0
- package/dist/commands/docs/init/index.d.ts.map +1 -0
- package/dist/commands/docs/init/index.js +129 -0
- package/dist/commands/docs/init/resolve-options.d.ts +41 -0
- package/dist/commands/docs/init/resolve-options.d.ts.map +1 -0
- package/dist/commands/docs/init/resolve-options.js +120 -0
- package/dist/commands/docs/init/scaffold.d.ts +18 -0
- package/dist/commands/docs/init/scaffold.d.ts.map +1 -0
- package/dist/commands/docs/init/scaffold.js +233 -0
- package/dist/commands/docs/migrate/codemod.d.ts +6 -0
- package/dist/commands/docs/migrate/codemod.d.ts.map +1 -0
- package/dist/commands/docs/migrate/codemod.js +62 -0
- package/dist/commands/docs/migrate/frontmatter.d.ts +12 -0
- package/dist/commands/docs/migrate/frontmatter.d.ts.map +1 -0
- package/dist/commands/docs/migrate/frontmatter.js +55 -0
- package/dist/commands/docs/migrate/index.d.ts +18 -0
- package/dist/commands/docs/migrate/index.d.ts.map +1 -0
- package/dist/commands/docs/migrate/index.js +138 -0
- package/dist/commands/docs/nav/contents.d.ts +14 -0
- package/dist/commands/docs/nav/contents.d.ts.map +1 -0
- package/dist/commands/docs/nav/contents.js +106 -0
- package/dist/commands/docs/nav/index.d.ts +3 -0
- package/dist/commands/docs/nav/index.d.ts.map +1 -0
- package/dist/commands/docs/nav/index.js +7 -0
- package/dist/commands/docs/nav/sync.d.ts +20 -0
- package/dist/commands/docs/nav/sync.d.ts.map +1 -0
- package/dist/commands/docs/nav/sync.js +92 -0
- package/dist/commands/doctor/index.d.ts +32 -0
- package/dist/commands/doctor/index.d.ts.map +1 -0
- package/dist/commands/doctor/index.js +373 -0
- package/dist/commands/index-cmd/index.d.ts +11 -0
- package/dist/commands/index-cmd/index.d.ts.map +1 -0
- package/dist/commands/index-cmd/index.js +62 -0
- package/dist/commands/index-cmd/thin-index.d.ts +19 -0
- package/dist/commands/index-cmd/thin-index.d.ts.map +1 -0
- package/dist/commands/index-cmd/thin-index.js +330 -0
- package/dist/commands/index.d.ts +3 -0
- package/dist/commands/index.d.ts.map +1 -0
- package/dist/commands/index.js +38 -0
- package/dist/commands/init/detect-docs.d.ts +11 -0
- package/dist/commands/init/detect-docs.d.ts.map +1 -0
- package/dist/commands/init/detect-docs.js +51 -0
- package/dist/commands/init/gitignore.d.ts +6 -0
- package/dist/commands/init/gitignore.d.ts.map +1 -0
- package/dist/commands/init/gitignore.js +41 -0
- package/dist/commands/init/index.d.ts +70 -0
- package/dist/commands/init/index.d.ts.map +1 -0
- package/dist/commands/init/index.js +570 -0
- package/dist/commands/init/tools/core/index.d.ts +12 -0
- package/dist/commands/init/tools/core/index.d.ts.map +1 -0
- package/dist/commands/init/tools/core/index.js +67 -0
- package/dist/commands/init/tools/core/install-core.d.ts +30 -0
- package/dist/commands/init/tools/core/install-core.d.ts.map +1 -0
- package/dist/commands/init/tools/core/install-core.js +50 -0
- package/dist/commands/init/tools/docs/index.d.ts +17 -0
- package/dist/commands/init/tools/docs/index.d.ts.map +1 -0
- package/dist/commands/init/tools/docs/index.js +110 -0
- package/dist/commands/init/tools/docs/install-docs.d.ts +23 -0
- package/dist/commands/init/tools/docs/install-docs.d.ts.map +1 -0
- package/dist/commands/init/tools/docs/install-docs.js +58 -0
- package/dist/commands/init/tools/ideas/index.d.ts +16 -0
- package/dist/commands/init/tools/ideas/index.d.ts.map +1 -0
- package/dist/commands/init/tools/ideas/index.js +94 -0
- package/dist/commands/init/tools/ideas/install-ideas.d.ts +25 -0
- package/dist/commands/init/tools/ideas/install-ideas.d.ts.map +1 -0
- package/dist/commands/init/tools/ideas/install-ideas.js +78 -0
- package/dist/commands/init/tools/index.d.ts +51 -0
- package/dist/commands/init/tools/index.d.ts.map +1 -0
- package/dist/commands/init/tools/index.js +387 -0
- package/dist/commands/init/tools/project-management/index.d.ts +12 -0
- package/dist/commands/init/tools/project-management/index.d.ts.map +1 -0
- package/dist/commands/init/tools/project-management/index.js +61 -0
- package/dist/commands/init/tools/project-management/install-project-management.d.ts +22 -0
- package/dist/commands/init/tools/project-management/install-project-management.d.ts.map +1 -0
- package/dist/commands/init/tools/project-management/install-project-management.js +52 -0
- package/dist/commands/init/tools/research/index.d.ts +17 -0
- package/dist/commands/init/tools/research/index.d.ts.map +1 -0
- package/dist/commands/init/tools/research/index.js +110 -0
- package/dist/commands/init/tools/research/install-research.d.ts +23 -0
- package/dist/commands/init/tools/research/install-research.d.ts.map +1 -0
- package/dist/commands/init/tools/research/install-research.js +52 -0
- package/dist/commands/init/tools/shared/copy-helpers.d.ts +12 -0
- package/dist/commands/init/tools/shared/copy-helpers.d.ts.map +1 -0
- package/dist/commands/init/tools/shared/copy-helpers.js +52 -0
- package/dist/commands/init/tools/shared/skill-manifest.d.ts +22 -0
- package/dist/commands/init/tools/shared/skill-manifest.d.ts.map +1 -0
- package/dist/commands/init/tools/shared/skill-manifest.js +102 -0
- package/dist/commands/init/tools/shared/version.d.ts +3 -0
- package/dist/commands/init/tools/shared/version.d.ts.map +1 -0
- package/dist/commands/init/tools/shared/version.js +27 -0
- package/dist/commands/init/tools/utility/index.d.ts +17 -0
- package/dist/commands/init/tools/utility/index.d.ts.map +1 -0
- package/dist/commands/init/tools/utility/index.js +109 -0
- package/dist/commands/init/tools/utility/install-utility.d.ts +20 -0
- package/dist/commands/init/tools/utility/install-utility.d.ts.map +1 -0
- package/dist/commands/init/tools/utility/install-utility.js +35 -0
- package/dist/commands/init/tools/workflows/index.d.ts +14 -0
- package/dist/commands/init/tools/workflows/index.d.ts.map +1 -0
- package/dist/commands/init/tools/workflows/index.js +84 -0
- package/dist/commands/init/tools/workflows/install-workflows.d.ts +32 -0
- package/dist/commands/init/tools/workflows/install-workflows.d.ts.map +1 -0
- package/dist/commands/init/tools/workflows/install-workflows.js +135 -0
- package/dist/commands/instructions/index.d.ts +3 -0
- package/dist/commands/instructions/index.d.ts.map +1 -0
- package/dist/commands/instructions/index.js +9 -0
- package/dist/commands/instructions/instructions.types.d.ts +52 -0
- package/dist/commands/instructions/instructions.types.d.ts.map +1 -0
- package/dist/commands/instructions/instructions.types.js +1 -0
- package/dist/commands/instructions/instructions.utils.d.ts +13 -0
- package/dist/commands/instructions/instructions.utils.d.ts.map +1 -0
- package/dist/commands/instructions/instructions.utils.js +211 -0
- package/dist/commands/instructions/sync/sync.d.ts +4 -0
- package/dist/commands/instructions/sync/sync.d.ts.map +1 -0
- package/dist/commands/instructions/sync/sync.js +142 -0
- package/dist/commands/instructions/validate/validate.d.ts +4 -0
- package/dist/commands/instructions/validate/validate.d.ts.map +1 -0
- package/dist/commands/instructions/validate/validate.js +53 -0
- package/dist/commands/internal/index.d.ts +3 -0
- package/dist/commands/internal/index.d.ts.map +1 -0
- package/dist/commands/internal/index.js +7 -0
- package/dist/commands/internal/validate-oat-skills.d.ts +10 -0
- package/dist/commands/internal/validate-oat-skills.d.ts.map +1 -0
- package/dist/commands/internal/validate-oat-skills.js +66 -0
- package/dist/commands/local/apply.d.ts +6 -0
- package/dist/commands/local/apply.d.ts.map +1 -0
- package/dist/commands/local/apply.js +56 -0
- package/dist/commands/local/expand.d.ts +8 -0
- package/dist/commands/local/expand.d.ts.map +1 -0
- package/dist/commands/local/expand.js +83 -0
- package/dist/commands/local/index.d.ts +3 -0
- package/dist/commands/local/index.d.ts.map +1 -0
- package/dist/commands/local/index.js +248 -0
- package/dist/commands/local/manage.d.ts +18 -0
- package/dist/commands/local/manage.d.ts.map +1 -0
- package/dist/commands/local/manage.js +66 -0
- package/dist/commands/local/status.d.ts +7 -0
- package/dist/commands/local/status.d.ts.map +1 -0
- package/dist/commands/local/status.js +46 -0
- package/dist/commands/local/sync.d.ts +20 -0
- package/dist/commands/local/sync.d.ts.map +1 -0
- package/dist/commands/local/sync.js +40 -0
- package/dist/commands/project/archive/archive-utils.d.ts +70 -0
- package/dist/commands/project/archive/archive-utils.d.ts.map +1 -0
- package/dist/commands/project/archive/archive-utils.js +236 -0
- package/dist/commands/project/archive/index.d.ts +20 -0
- package/dist/commands/project/archive/index.d.ts.map +1 -0
- package/dist/commands/project/archive/index.js +217 -0
- package/dist/commands/project/index.d.ts +3 -0
- package/dist/commands/project/index.d.ts.map +1 -0
- package/dist/commands/project/index.js +15 -0
- package/dist/commands/project/new/index.d.ts +17 -0
- package/dist/commands/project/new/index.d.ts.map +1 -0
- package/dist/commands/project/new/index.js +76 -0
- package/dist/commands/project/new/scaffold.d.ts +24 -0
- package/dist/commands/project/new/scaffold.d.ts.map +1 -0
- package/dist/commands/project/new/scaffold.js +177 -0
- package/dist/commands/project/open/index.d.ts +26 -0
- package/dist/commands/project/open/index.d.ts.map +1 -0
- package/dist/commands/project/open/index.js +139 -0
- package/dist/commands/project/pause/index.d.ts +27 -0
- package/dist/commands/project/pause/index.d.ts.map +1 -0
- package/dist/commands/project/pause/index.js +120 -0
- package/dist/commands/project/set-mode/index.d.ts +14 -0
- package/dist/commands/project/set-mode/index.d.ts.map +1 -0
- package/dist/commands/project/set-mode/index.js +115 -0
- package/dist/commands/providers/index.d.ts +4 -0
- package/dist/commands/providers/index.d.ts.map +1 -0
- package/dist/commands/providers/index.js +11 -0
- package/dist/commands/providers/inspect/inspect.d.ts +4 -0
- package/dist/commands/providers/inspect/inspect.d.ts.map +1 -0
- package/dist/commands/providers/inspect/inspect.js +156 -0
- package/dist/commands/providers/list/list.d.ts +4 -0
- package/dist/commands/providers/list/list.d.ts.map +1 -0
- package/dist/commands/providers/list/list.js +163 -0
- package/dist/commands/providers/providers.types.d.ts +63 -0
- package/dist/commands/providers/providers.types.d.ts.map +1 -0
- package/dist/commands/providers/providers.types.js +1 -0
- package/dist/commands/providers/set/index.d.ts +4 -0
- package/dist/commands/providers/set/index.d.ts.map +1 -0
- package/dist/commands/providers/set/index.js +138 -0
- package/dist/commands/remove/index.d.ts +3 -0
- package/dist/commands/remove/index.d.ts.map +1 -0
- package/dist/commands/remove/index.js +9 -0
- package/dist/commands/remove/skill/index.d.ts +2 -0
- package/dist/commands/remove/skill/index.d.ts.map +1 -0
- package/dist/commands/remove/skill/index.js +1 -0
- package/dist/commands/remove/skill/remove-skill.d.ts +23 -0
- package/dist/commands/remove/skill/remove-skill.d.ts.map +1 -0
- package/dist/commands/remove/skill/remove-skill.js +231 -0
- package/dist/commands/remove/skills/index.d.ts +2 -0
- package/dist/commands/remove/skills/index.d.ts.map +1 -0
- package/dist/commands/remove/skills/index.js +1 -0
- package/dist/commands/remove/skills/remove-skills.d.ts +14 -0
- package/dist/commands/remove/skills/remove-skills.d.ts.map +1 -0
- package/dist/commands/remove/skills/remove-skills.js +98 -0
- package/dist/commands/repo/index.d.ts +3 -0
- package/dist/commands/repo/index.d.ts.map +1 -0
- package/dist/commands/repo/index.js +7 -0
- package/dist/commands/repo/pr-comments/collect/collect-comments.d.ts +9 -0
- package/dist/commands/repo/pr-comments/collect/collect-comments.d.ts.map +1 -0
- package/dist/commands/repo/pr-comments/collect/collect-comments.js +284 -0
- package/dist/commands/repo/pr-comments/collect/graphql-queries.d.ts +3 -0
- package/dist/commands/repo/pr-comments/collect/graphql-queries.d.ts.map +1 -0
- package/dist/commands/repo/pr-comments/collect/graphql-queries.js +56 -0
- package/dist/commands/repo/pr-comments/collect/index.d.ts +4 -0
- package/dist/commands/repo/pr-comments/collect/index.d.ts.map +1 -0
- package/dist/commands/repo/pr-comments/collect/index.js +25 -0
- package/dist/commands/repo/pr-comments/collect/pr-comments.types.d.ts +62 -0
- package/dist/commands/repo/pr-comments/collect/pr-comments.types.d.ts.map +1 -0
- package/dist/commands/repo/pr-comments/collect/pr-comments.types.js +1 -0
- package/dist/commands/repo/pr-comments/index.d.ts +3 -0
- package/dist/commands/repo/pr-comments/index.d.ts.map +1 -0
- package/dist/commands/repo/pr-comments/index.js +9 -0
- package/dist/commands/repo/pr-comments/triage-collection/index.d.ts +4 -0
- package/dist/commands/repo/pr-comments/triage-collection/index.d.ts.map +1 -0
- package/dist/commands/repo/pr-comments/triage-collection/index.js +21 -0
- package/dist/commands/repo/pr-comments/triage-collection/triage-comments.d.ts +13 -0
- package/dist/commands/repo/pr-comments/triage-collection/triage-comments.d.ts.map +1 -0
- package/dist/commands/repo/pr-comments/triage-collection/triage-comments.js +81 -0
- package/dist/commands/shared/adopt-stray.d.ts +22 -0
- package/dist/commands/shared/adopt-stray.d.ts.map +1 -0
- package/dist/commands/shared/adopt-stray.js +135 -0
- package/dist/commands/shared/agents-md.d.ts +18 -0
- package/dist/commands/shared/agents-md.d.ts.map +1 -0
- package/dist/commands/shared/agents-md.js +81 -0
- package/dist/commands/shared/codex-strays.d.ts +16 -0
- package/dist/commands/shared/codex-strays.d.ts.map +1 -0
- package/dist/commands/shared/codex-strays.js +116 -0
- package/dist/commands/shared/frontmatter-write.d.ts +8 -0
- package/dist/commands/shared/frontmatter-write.d.ts.map +1 -0
- package/dist/commands/shared/frontmatter-write.js +27 -0
- package/dist/commands/shared/frontmatter.d.ts +6 -0
- package/dist/commands/shared/frontmatter.d.ts.map +1 -0
- package/dist/commands/shared/frontmatter.js +35 -0
- package/dist/commands/shared/messages.d.ts +2 -0
- package/dist/commands/shared/messages.d.ts.map +1 -0
- package/dist/commands/shared/messages.js +1 -0
- package/dist/commands/shared/oat-paths.d.ts +2 -0
- package/dist/commands/shared/oat-paths.d.ts.map +1 -0
- package/dist/commands/shared/oat-paths.js +13 -0
- package/dist/commands/shared/shared.prompts.d.ts +21 -0
- package/dist/commands/shared/shared.prompts.d.ts.map +1 -0
- package/dist/commands/shared/shared.prompts.js +107 -0
- package/dist/commands/shared/shared.utils.d.ts +6 -0
- package/dist/commands/shared/shared.utils.d.ts.map +1 -0
- package/dist/commands/shared/shared.utils.js +9 -0
- package/dist/commands/state/generate.d.ts +21 -0
- package/dist/commands/state/generate.d.ts.map +1 -0
- package/dist/commands/state/generate.js +440 -0
- package/dist/commands/state/index.d.ts +11 -0
- package/dist/commands/state/index.d.ts.map +1 -0
- package/dist/commands/state/index.js +58 -0
- package/dist/commands/status/index.d.ts +44 -0
- package/dist/commands/status/index.d.ts.map +1 -0
- package/dist/commands/status/index.js +340 -0
- package/dist/commands/sync/apply.d.ts +4 -0
- package/dist/commands/sync/apply.d.ts.map +1 -0
- package/dist/commands/sync/apply.js +100 -0
- package/dist/commands/sync/dry-run.d.ts +4 -0
- package/dist/commands/sync/dry-run.d.ts.map +1 -0
- package/dist/commands/sync/dry-run.js +74 -0
- package/dist/commands/sync/index.d.ts +4 -0
- package/dist/commands/sync/index.d.ts.map +1 -0
- package/dist/commands/sync/index.js +225 -0
- package/dist/commands/sync/sync.types.d.ts +80 -0
- package/dist/commands/sync/sync.types.d.ts.map +1 -0
- package/dist/commands/sync/sync.types.js +1 -0
- package/dist/commands/sync/sync.utils.d.ts +3 -0
- package/dist/commands/sync/sync.utils.d.ts.map +1 -0
- package/dist/commands/sync/sync.utils.js +8 -0
- package/dist/commands/tools/index.d.ts +3 -0
- package/dist/commands/tools/index.d.ts.map +1 -0
- package/dist/commands/tools/index.js +17 -0
- package/dist/commands/tools/info/index.d.ts +4 -0
- package/dist/commands/tools/info/index.d.ts.map +1 -0
- package/dist/commands/tools/info/index.js +74 -0
- package/dist/commands/tools/info/info-tool.d.ts +21 -0
- package/dist/commands/tools/info/info-tool.d.ts.map +1 -0
- package/dist/commands/tools/info/info-tool.js +52 -0
- package/dist/commands/tools/install/index.d.ts +4 -0
- package/dist/commands/tools/install/index.d.ts.map +1 -0
- package/dist/commands/tools/install/index.js +34 -0
- package/dist/commands/tools/list/index.d.ts +4 -0
- package/dist/commands/tools/list/index.d.ts.map +1 -0
- package/dist/commands/tools/list/index.js +25 -0
- package/dist/commands/tools/list/list-tools.d.ts +13 -0
- package/dist/commands/tools/list/list-tools.d.ts.map +1 -0
- package/dist/commands/tools/list/list-tools.js +43 -0
- package/dist/commands/tools/outdated/index.d.ts +4 -0
- package/dist/commands/tools/outdated/index.d.ts.map +1 -0
- package/dist/commands/tools/outdated/index.js +25 -0
- package/dist/commands/tools/outdated/outdated-tools.d.ts +13 -0
- package/dist/commands/tools/outdated/outdated-tools.d.ts.map +1 -0
- package/dist/commands/tools/outdated/outdated-tools.js +43 -0
- package/dist/commands/tools/remove/index.d.ts +5 -0
- package/dist/commands/tools/remove/index.d.ts.map +1 -0
- package/dist/commands/tools/remove/index.js +122 -0
- package/dist/commands/tools/remove/remove-tools.d.ts +31 -0
- package/dist/commands/tools/remove/remove-tools.d.ts.map +1 -0
- package/dist/commands/tools/remove/remove-tools.js +41 -0
- package/dist/commands/tools/shared/auto-sync.d.ts +16 -0
- package/dist/commands/tools/shared/auto-sync.d.ts.map +1 -0
- package/dist/commands/tools/shared/auto-sync.js +17 -0
- package/dist/commands/tools/shared/scan-tools.d.ts +18 -0
- package/dist/commands/tools/shared/scan-tools.d.ts.map +1 -0
- package/dist/commands/tools/shared/scan-tools.js +128 -0
- package/dist/commands/tools/shared/types.d.ts +12 -0
- package/dist/commands/tools/shared/types.d.ts.map +1 -0
- package/dist/commands/tools/shared/types.js +1 -0
- package/dist/commands/tools/update/index.d.ts +8 -0
- package/dist/commands/tools/update/index.d.ts.map +1 -0
- package/dist/commands/tools/update/index.js +149 -0
- package/dist/commands/tools/update/update-tools.d.ts +29 -0
- package/dist/commands/tools/update/update-tools.d.ts.map +1 -0
- package/dist/commands/tools/update/update-tools.js +148 -0
- package/dist/config/index.d.ts +4 -0
- package/dist/config/index.d.ts.map +1 -0
- package/dist/config/index.js +2 -0
- package/dist/config/oat-config.d.ts +61 -0
- package/dist/config/oat-config.d.ts.map +1 -0
- package/dist/config/oat-config.js +319 -0
- package/dist/config/runtime.d.ts +2 -0
- package/dist/config/runtime.d.ts.map +1 -0
- package/dist/config/runtime.js +3 -0
- package/dist/config/sync-config.d.ts +49 -0
- package/dist/config/sync-config.d.ts.map +1 -0
- package/dist/config/sync-config.js +94 -0
- package/dist/drift/detector.d.ts +4 -0
- package/dist/drift/detector.d.ts.map +1 -0
- package/dist/drift/detector.js +69 -0
- package/dist/drift/drift.types.d.ts +17 -0
- package/dist/drift/drift.types.d.ts.map +1 -0
- package/dist/drift/drift.types.js +1 -0
- package/dist/drift/index.d.ts +4 -0
- package/dist/drift/index.d.ts.map +1 -0
- package/dist/drift/index.js +2 -0
- package/dist/drift/strays.d.ts +7 -0
- package/dist/drift/strays.d.ts.map +1 -0
- package/dist/drift/strays.js +153 -0
- package/dist/engine/compute-plan.d.ts +16 -0
- package/dist/engine/compute-plan.d.ts.map +1 -0
- package/dist/engine/compute-plan.js +234 -0
- package/dist/engine/engine.types.d.ts +28 -0
- package/dist/engine/engine.types.d.ts.map +1 -0
- package/dist/engine/engine.types.js +8 -0
- package/dist/engine/execute-plan.d.ts +5 -0
- package/dist/engine/execute-plan.d.ts.map +1 -0
- package/dist/engine/execute-plan.js +141 -0
- package/dist/engine/hook.d.ts +23 -0
- package/dist/engine/hook.d.ts.map +1 -0
- package/dist/engine/hook.js +254 -0
- package/dist/engine/index.d.ts +9 -0
- package/dist/engine/index.d.ts.map +1 -0
- package/dist/engine/index.js +6 -0
- package/dist/engine/markers.d.ts +6 -0
- package/dist/engine/markers.d.ts.map +1 -0
- package/dist/engine/markers.js +24 -0
- package/dist/engine/scanner.d.ts +11 -0
- package/dist/engine/scanner.d.ts.map +1 -0
- package/dist/engine/scanner.js +65 -0
- package/dist/engine/test-helpers.d.ts +3 -0
- package/dist/engine/test-helpers.d.ts.map +1 -0
- package/dist/engine/test-helpers.js +31 -0
- package/dist/errors/cli-error.d.ts +5 -0
- package/dist/errors/cli-error.d.ts.map +1 -0
- package/dist/errors/cli-error.js +8 -0
- package/dist/errors/index.d.ts +2 -0
- package/dist/errors/index.d.ts.map +1 -0
- package/dist/errors/index.js +1 -0
- package/dist/fs/assets.d.ts +2 -0
- package/dist/fs/assets.d.ts.map +1 -0
- package/dist/fs/assets.js +22 -0
- package/dist/fs/index.d.ts +4 -0
- package/dist/fs/index.d.ts.map +1 -0
- package/dist/fs/index.js +3 -0
- package/dist/fs/io.d.ts +9 -0
- package/dist/fs/io.d.ts.map +1 -0
- package/dist/fs/io.js +74 -0
- package/dist/fs/paths.d.ts +9 -0
- package/dist/fs/paths.d.ts.map +1 -0
- package/dist/fs/paths.js +42 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +48 -0
- package/dist/manifest/hash.d.ts +5 -0
- package/dist/manifest/hash.d.ts.map +1 -0
- package/dist/manifest/hash.js +75 -0
- package/dist/manifest/index.d.ts +5 -0
- package/dist/manifest/index.d.ts.map +1 -0
- package/dist/manifest/index.js +3 -0
- package/dist/manifest/manager.d.ts +8 -0
- package/dist/manifest/manager.d.ts.map +1 -0
- package/dist/manifest/manager.js +86 -0
- package/dist/manifest/manifest.types.d.ts +157 -0
- package/dist/manifest/manifest.types.d.ts.map +1 -0
- package/dist/manifest/manifest.types.js +56 -0
- package/dist/providers/claude/adapter.d.ts +3 -0
- package/dist/providers/claude/adapter.d.ts.map +1 -0
- package/dist/providers/claude/adapter.js +20 -0
- package/dist/providers/claude/index.d.ts +3 -0
- package/dist/providers/claude/index.d.ts.map +1 -0
- package/dist/providers/claude/index.js +2 -0
- package/dist/providers/claude/paths.d.ts +4 -0
- package/dist/providers/claude/paths.d.ts.map +1 -0
- package/dist/providers/claude/paths.js +38 -0
- package/dist/providers/claude/rule-transform.d.ts +3 -0
- package/dist/providers/claude/rule-transform.d.ts.map +1 -0
- package/dist/providers/claude/rule-transform.js +22 -0
- package/dist/providers/codex/adapter.d.ts +3 -0
- package/dist/providers/codex/adapter.d.ts.map +1 -0
- package/dist/providers/codex/adapter.js +20 -0
- package/dist/providers/codex/codec/config-merge.d.ts +17 -0
- package/dist/providers/codex/codec/config-merge.d.ts.map +1 -0
- package/dist/providers/codex/codec/config-merge.js +61 -0
- package/dist/providers/codex/codec/export-to-codex.d.ts +9 -0
- package/dist/providers/codex/codec/export-to-codex.d.ts.map +1 -0
- package/dist/providers/codex/codec/export-to-codex.js +45 -0
- package/dist/providers/codex/codec/import-from-codex.d.ts +9 -0
- package/dist/providers/codex/codec/import-from-codex.d.ts.map +1 -0
- package/dist/providers/codex/codec/import-from-codex.js +52 -0
- package/dist/providers/codex/codec/shared.d.ts +7 -0
- package/dist/providers/codex/codec/shared.d.ts.map +1 -0
- package/dist/providers/codex/codec/shared.js +21 -0
- package/dist/providers/codex/codec/sync-extension.d.ts +32 -0
- package/dist/providers/codex/codec/sync-extension.d.ts.map +1 -0
- package/dist/providers/codex/codec/sync-extension.js +227 -0
- package/dist/providers/codex/index.d.ts +6 -0
- package/dist/providers/codex/index.d.ts.map +1 -0
- package/dist/providers/codex/index.js +5 -0
- package/dist/providers/codex/paths.d.ts +4 -0
- package/dist/providers/codex/paths.d.ts.map +1 -0
- package/dist/providers/codex/paths.js +28 -0
- package/dist/providers/copilot/adapter.d.ts +3 -0
- package/dist/providers/copilot/adapter.d.ts.map +1 -0
- package/dist/providers/copilot/adapter.js +30 -0
- package/dist/providers/copilot/index.d.ts +3 -0
- package/dist/providers/copilot/index.d.ts.map +1 -0
- package/dist/providers/copilot/index.js +2 -0
- package/dist/providers/copilot/paths.d.ts +4 -0
- package/dist/providers/copilot/paths.d.ts.map +1 -0
- package/dist/providers/copilot/paths.js +38 -0
- package/dist/providers/copilot/rule-transform.d.ts +3 -0
- package/dist/providers/copilot/rule-transform.d.ts.map +1 -0
- package/dist/providers/copilot/rule-transform.js +58 -0
- package/dist/providers/cursor/adapter.d.ts +3 -0
- package/dist/providers/cursor/adapter.d.ts.map +1 -0
- package/dist/providers/cursor/adapter.js +20 -0
- package/dist/providers/cursor/index.d.ts +3 -0
- package/dist/providers/cursor/index.d.ts.map +1 -0
- package/dist/providers/cursor/index.js +2 -0
- package/dist/providers/cursor/paths.d.ts +4 -0
- package/dist/providers/cursor/paths.d.ts.map +1 -0
- package/dist/providers/cursor/paths.js +38 -0
- package/dist/providers/cursor/rule-transform.d.ts +3 -0
- package/dist/providers/cursor/rule-transform.d.ts.map +1 -0
- package/dist/providers/cursor/rule-transform.js +48 -0
- package/dist/providers/gemini/adapter.d.ts +3 -0
- package/dist/providers/gemini/adapter.d.ts.map +1 -0
- package/dist/providers/gemini/adapter.js +20 -0
- package/dist/providers/gemini/index.d.ts +3 -0
- package/dist/providers/gemini/index.d.ts.map +1 -0
- package/dist/providers/gemini/index.js +2 -0
- package/dist/providers/gemini/paths.d.ts +4 -0
- package/dist/providers/gemini/paths.d.ts.map +1 -0
- package/dist/providers/gemini/paths.js +28 -0
- package/dist/providers/shared/adapter.types.d.ts +21 -0
- package/dist/providers/shared/adapter.types.d.ts.map +1 -0
- package/dist/providers/shared/adapter.types.js +1 -0
- package/dist/providers/shared/adapter.utils.d.ts +12 -0
- package/dist/providers/shared/adapter.utils.d.ts.map +1 -0
- package/dist/providers/shared/adapter.utils.js +57 -0
- package/dist/providers/shared/agent-codec.types.d.ts +13 -0
- package/dist/providers/shared/agent-codec.types.d.ts.map +1 -0
- package/dist/providers/shared/agent-codec.types.js +1 -0
- package/dist/providers/shared/index.d.ts +6 -0
- package/dist/providers/shared/index.d.ts.map +1 -0
- package/dist/providers/shared/index.js +2 -0
- package/dist/providers/shared/markdown-agent-codec.d.ts +5 -0
- package/dist/providers/shared/markdown-agent-codec.d.ts.map +1 -0
- package/dist/providers/shared/markdown-agent-codec.js +12 -0
- package/dist/release/public-package-contract.d.ts +14 -0
- package/dist/release/public-package-contract.d.ts.map +1 -0
- package/dist/release/public-package-contract.js +97 -0
- package/dist/rules/canonical/index.d.ts +6 -0
- package/dist/rules/canonical/index.d.ts.map +1 -0
- package/dist/rules/canonical/index.js +4 -0
- package/dist/rules/canonical/parse.d.ts +9 -0
- package/dist/rules/canonical/parse.d.ts.map +1 -0
- package/dist/rules/canonical/parse.js +103 -0
- package/dist/rules/canonical/provider-filenames.d.ts +3 -0
- package/dist/rules/canonical/provider-filenames.d.ts.map +1 -0
- package/dist/rules/canonical/provider-filenames.js +13 -0
- package/dist/rules/canonical/render.d.ts +5 -0
- package/dist/rules/canonical/render.d.ts.map +1 -0
- package/dist/rules/canonical/render.js +32 -0
- package/dist/rules/canonical/types.d.ts +16 -0
- package/dist/rules/canonical/types.d.ts.map +1 -0
- package/dist/rules/canonical/types.js +6 -0
- package/dist/shared/index.d.ts +3 -0
- package/dist/shared/index.d.ts.map +1 -0
- package/dist/shared/index.js +1 -0
- package/dist/shared/types.d.ts +10 -0
- package/dist/shared/types.d.ts.map +1 -0
- package/dist/shared/types.js +14 -0
- package/dist/ui/ansi.d.ts +2 -0
- package/dist/ui/ansi.d.ts.map +1 -0
- package/dist/ui/ansi.js +19 -0
- package/dist/ui/index.d.ts +7 -0
- package/dist/ui/index.d.ts.map +1 -0
- package/dist/ui/index.js +3 -0
- package/dist/ui/logger.d.ts +15 -0
- package/dist/ui/logger.d.ts.map +1 -0
- package/dist/ui/logger.js +52 -0
- package/dist/ui/output.d.ts +16 -0
- package/dist/ui/output.d.ts.map +1 -0
- package/dist/ui/output.js +135 -0
- package/dist/ui/spinner.d.ts +16 -0
- package/dist/ui/spinner.d.ts.map +1 -0
- package/dist/ui/spinner.js +46 -0
- package/dist/validation/index.d.ts +3 -0
- package/dist/validation/index.d.ts.map +1 -0
- package/dist/validation/index.js +1 -0
- package/dist/validation/skills.d.ts +10 -0
- package/dist/validation/skills.d.ts.map +1 -0
- package/dist/validation/skills.js +166 -0
- package/package.json +62 -0
|
@@ -0,0 +1,339 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: oat-docs-apply
|
|
3
|
+
version: 1.2.0
|
|
4
|
+
description: Run when you have a docs analysis artifact and want to generate or update documentation structure and content. Creates a branch, applies approved changes, and optionally opens a PR.
|
|
5
|
+
disable-model-invocation: true
|
|
6
|
+
user-invocable: true
|
|
7
|
+
allowed-tools: Read, Write, Edit, Bash(git:*), Bash(gh:*), Glob, Grep, AskUserQuestion
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Docs Apply
|
|
11
|
+
|
|
12
|
+
Generate or update documentation files from a docs analysis artifact, with explicit approval and branch-based workflow.
|
|
13
|
+
|
|
14
|
+
## Prerequisites
|
|
15
|
+
|
|
16
|
+
- A recent docs analysis artifact in `.oat/repo/analysis/`.
|
|
17
|
+
- If no analysis exists, run `oat-docs-analyze` first.
|
|
18
|
+
- `jq` available in PATH for tracking updates.
|
|
19
|
+
- `gh` available if a PR should be opened automatically.
|
|
20
|
+
|
|
21
|
+
## Mode Assertion
|
|
22
|
+
|
|
23
|
+
**OAT MODE: Docs Apply**
|
|
24
|
+
|
|
25
|
+
**Purpose:** Apply approved documentation changes derived from a docs analysis artifact.
|
|
26
|
+
|
|
27
|
+
**BLOCKED Activities:**
|
|
28
|
+
|
|
29
|
+
- No unapproved documentation changes.
|
|
30
|
+
- No branch creation before the recommendation plan is reviewed.
|
|
31
|
+
- No changes outside the documentation scope except deterministic nav sync and tracking updates.
|
|
32
|
+
|
|
33
|
+
**ALLOWED Activities:**
|
|
34
|
+
|
|
35
|
+
- Reading analysis artifacts and the current docs surface.
|
|
36
|
+
- Creating or updating docs files and `mkdocs.yml` when approved.
|
|
37
|
+
- Running `oat docs nav sync` after approved structural changes.
|
|
38
|
+
- Creating branches, commits, and optional PRs.
|
|
39
|
+
|
|
40
|
+
## Analyze vs Apply Boundary
|
|
41
|
+
|
|
42
|
+
Treat the docs analysis artifact as the source of truth for what should be changed and why.
|
|
43
|
+
|
|
44
|
+
Apply may:
|
|
45
|
+
|
|
46
|
+
- read the exact evidence sources cited by the artifact
|
|
47
|
+
- verify that cited files still exist
|
|
48
|
+
- translate approved recommendations into concrete docs changes
|
|
49
|
+
|
|
50
|
+
Apply must **not**:
|
|
51
|
+
|
|
52
|
+
- invent unsupported docs conventions
|
|
53
|
+
- infer structure or migration rules from defaults or a tiny sample
|
|
54
|
+
- create new recommendations that are not present in the artifact
|
|
55
|
+
- silently fill in missing evidence gaps
|
|
56
|
+
|
|
57
|
+
**Self-Correction Protocol:**
|
|
58
|
+
If you catch yourself:
|
|
59
|
+
|
|
60
|
+
- Editing docs outside approved recommendations -> STOP and remove the extra change from the work plan.
|
|
61
|
+
- Applying manual nav changes when `oat docs nav sync` should be used -> STOP and switch to the CLI helper.
|
|
62
|
+
|
|
63
|
+
**Recovery:**
|
|
64
|
+
|
|
65
|
+
1. Return to the approved recommendation list.
|
|
66
|
+
2. Re-apply only approved docs changes and deterministic nav sync.
|
|
67
|
+
|
|
68
|
+
## Progress Indicators (User-Facing)
|
|
69
|
+
|
|
70
|
+
When executing this skill, provide lightweight progress feedback so the user can tell what’s happening.
|
|
71
|
+
|
|
72
|
+
- Print a phase banner once at start:
|
|
73
|
+
|
|
74
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
75
|
+
OAT ▸ DOCS APPLY
|
|
76
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
77
|
+
|
|
78
|
+
- Use step indicators:
|
|
79
|
+
- `[1/7] Loading analysis artifact…`
|
|
80
|
+
- `[2/7] Building recommendation plan…`
|
|
81
|
+
- `[3/7] Reviewing approvals…`
|
|
82
|
+
- `[4/7] Creating branch…`
|
|
83
|
+
- `[5/7] Applying docs changes…`
|
|
84
|
+
- `[6/7] Running nav sync + verification…`
|
|
85
|
+
- `[7/7] Committing, tracking, and summary…`
|
|
86
|
+
|
|
87
|
+
## Process
|
|
88
|
+
|
|
89
|
+
### Step 0: Intake - Find Analysis Artifact
|
|
90
|
+
|
|
91
|
+
Locate the most recent docs analysis artifact:
|
|
92
|
+
|
|
93
|
+
```bash
|
|
94
|
+
ls -t .oat/repo/analysis/docs-*.md 2>/dev/null | head -1
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
If none exists, stop and instruct the user to run `oat-docs-analyze`.
|
|
98
|
+
|
|
99
|
+
Validate that each recommendation in the artifact includes:
|
|
100
|
+
|
|
101
|
+
- evidence
|
|
102
|
+
- confidence
|
|
103
|
+
- disclosure
|
|
104
|
+
- link targets when disclosure is `link_only`
|
|
105
|
+
|
|
106
|
+
If the artifact is missing that detail, stop and tell the user to re-run `oat-docs-analyze`.
|
|
107
|
+
|
|
108
|
+
### Step 1: Build the Recommendation Plan
|
|
109
|
+
|
|
110
|
+
Read the analysis artifact and build the plan from its recommendations.
|
|
111
|
+
Do not rediscover conventions from scratch during this step.
|
|
112
|
+
|
|
113
|
+
Common docs actions:
|
|
114
|
+
|
|
115
|
+
- Create missing `index.md`
|
|
116
|
+
- Add or repair `## Contents`
|
|
117
|
+
- Convert `overview.md` usage to the `index.md` contract
|
|
118
|
+
- Add or update `docs/contributing.md` plugin guidance
|
|
119
|
+
- Scaffold an OAT docs app when no docs app exists
|
|
120
|
+
- Run `oat docs nav sync` after approved structural changes
|
|
121
|
+
|
|
122
|
+
Carry forward the artifact's evidence refs, confidence, disclosure mode, and link targets into the apply plan.
|
|
123
|
+
|
|
124
|
+
Coverage-gap recommendations may also be:
|
|
125
|
+
|
|
126
|
+
- `omit`
|
|
127
|
+
- `ask_user`
|
|
128
|
+
|
|
129
|
+
If evidence is missing, stale, or contradicts the current docs tree, stop and ask for a fresh analysis instead of guessing.
|
|
130
|
+
|
|
131
|
+
Use `references/apply-plan-template.md` and preserve the exact presented markdown as `APPLY_PLAN_MARKDOWN` for commit/PR summary use.
|
|
132
|
+
|
|
133
|
+
### Step 2: Review the Plan with the User
|
|
134
|
+
|
|
135
|
+
Present the full recommendation plan first, then ask which review mode they want:
|
|
136
|
+
|
|
137
|
+
- `apply all`
|
|
138
|
+
- `apply interactively`
|
|
139
|
+
- `discuss`
|
|
140
|
+
|
|
141
|
+
For review-mode and follow-up decisions, use host-aware prompting:
|
|
142
|
+
|
|
143
|
+
- Claude Code: `AskUserQuestion`
|
|
144
|
+
- Codex: structured user-input tooling when available in the current host/runtime
|
|
145
|
+
- Fallback: plain-text questions
|
|
146
|
+
|
|
147
|
+
If the user chooses `apply all`:
|
|
148
|
+
|
|
149
|
+
- confirm the full plan
|
|
150
|
+
- capture any global notes that apply across the whole plan
|
|
151
|
+
- treat all non-blocked recommendations as approved unless the user names exceptions
|
|
152
|
+
|
|
153
|
+
If the user chooses `apply interactively`, ask for each recommendation:
|
|
154
|
+
|
|
155
|
+
- `approve`
|
|
156
|
+
- `modify`
|
|
157
|
+
- `skip`
|
|
158
|
+
|
|
159
|
+
If the user chooses `discuss`, answer questions, revise the plan if needed, and then ask again:
|
|
160
|
+
|
|
161
|
+
- `apply all`
|
|
162
|
+
- `apply interactively`
|
|
163
|
+
- `discuss`
|
|
164
|
+
|
|
165
|
+
If all recommendations are skipped, stop without changing files.
|
|
166
|
+
|
|
167
|
+
Build an `APPLIED_PLAN_DETAILS` block from approved or modified recommendations with:
|
|
168
|
+
|
|
169
|
+
- recommendation id
|
|
170
|
+
- action
|
|
171
|
+
- target path
|
|
172
|
+
- disclosure
|
|
173
|
+
- evidence refs
|
|
174
|
+
- decision (`approved_via_apply_all` / `approved` / `modified`)
|
|
175
|
+
- user notes
|
|
176
|
+
|
|
177
|
+
### Step 3: Create Branch
|
|
178
|
+
|
|
179
|
+
After approvals:
|
|
180
|
+
|
|
181
|
+
```bash
|
|
182
|
+
TIMESTAMP=$(date -u +"%Y-%m-%d-%H%M")
|
|
183
|
+
BRANCH="oat/docs-${TIMESTAMP}"
|
|
184
|
+
git checkout -b "$BRANCH"
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
If branch creation fails because of unrelated local changes, ask the user to resolve that state before continuing.
|
|
188
|
+
|
|
189
|
+
### Step 4: Apply Approved Changes
|
|
190
|
+
|
|
191
|
+
For each approved recommendation:
|
|
192
|
+
|
|
193
|
+
1. Read only the affected docs files and the evidence sources cited by the artifact.
|
|
194
|
+
2. Make targeted edits that satisfy the approved fix.
|
|
195
|
+
3. Preserve existing prose and only change the necessary sections.
|
|
196
|
+
4. Honor the disclosure mode from the artifact:
|
|
197
|
+
- `inline` -> keep the essential guidance in the target page
|
|
198
|
+
- `link_only` -> add a concise pointer to the canonical doc/config/example
|
|
199
|
+
- `omit` -> do not encode the item in the docs change
|
|
200
|
+
- `ask_user` -> require explicit user confirmation before writing
|
|
201
|
+
|
|
202
|
+
When approved actions involve docs app creation or nav updates:
|
|
203
|
+
|
|
204
|
+
- Use `oat docs init` for scaffolding when appropriate.
|
|
205
|
+
- Use `oat docs nav sync` instead of manually editing nav when the CLI helper can generate it.
|
|
206
|
+
|
|
207
|
+
Negative rules:
|
|
208
|
+
|
|
209
|
+
- Do not invent docs structure rules, migration rules, or plugin guidance not backed by the artifact's cited evidence.
|
|
210
|
+
- Do not inline large setup/config details when the artifact says `link_only`.
|
|
211
|
+
- Do not create replacement link targets if the artifact omitted them; stop and ask for a fresh analysis or user guidance.
|
|
212
|
+
- If a cited source no longer exists, stop that recommendation and ask for a fresh analysis or user guidance.
|
|
213
|
+
|
|
214
|
+
### Step 5: Verify and Sync Navigation
|
|
215
|
+
|
|
216
|
+
Run the smallest relevant verification set based on what changed:
|
|
217
|
+
|
|
218
|
+
- `oat docs nav sync`
|
|
219
|
+
- `pnpm --dir <docs-app> docs:lint` (no-op when no linter is configured)
|
|
220
|
+
- `pnpm --dir <docs-app> docs:format:check`
|
|
221
|
+
- `pnpm --dir <docs-app> docs:build`
|
|
222
|
+
|
|
223
|
+
If no docs app exists yet, use file-level verification and confirm the structural contract manually in the summary.
|
|
224
|
+
|
|
225
|
+
### Step 6: Commit and PR
|
|
226
|
+
|
|
227
|
+
Commit the approved changes:
|
|
228
|
+
|
|
229
|
+
```bash
|
|
230
|
+
git add {approved-files}
|
|
231
|
+
git commit -m "docs: apply approved docs recommendations"
|
|
232
|
+
```
|
|
233
|
+
|
|
234
|
+
**Offer to open a PR:**
|
|
235
|
+
|
|
236
|
+
After committing, proactively ask the user if they'd like to open a pull request. Frame this as the recommended next step:
|
|
237
|
+
|
|
238
|
+
```
|
|
239
|
+
Changes committed. Would you like me to push and open a pull request?
|
|
240
|
+
The PR will include the applied plan summary and the full analysis artifact for reference.
|
|
241
|
+
```
|
|
242
|
+
|
|
243
|
+
For the PR-choice prompt, use host-aware prompting:
|
|
244
|
+
|
|
245
|
+
- Claude Code: `AskUserQuestion`
|
|
246
|
+
- Codex: structured user-input tooling when available in the current host/runtime
|
|
247
|
+
- Fallback: plain-text questions
|
|
248
|
+
|
|
249
|
+
**If creating PR:**
|
|
250
|
+
|
|
251
|
+
1. Push the branch.
|
|
252
|
+
2. Create a PR with the structure below.
|
|
253
|
+
3. The PR body must include the full analysis artifact in a collapsible section at the bottom so reviewers can see the evidence behind every change.
|
|
254
|
+
|
|
255
|
+
```bash
|
|
256
|
+
git push -u origin "$(git rev-parse --abbrev-ref HEAD)"
|
|
257
|
+
gh pr create --base main \
|
|
258
|
+
--title "docs: apply approved docs recommendations" \
|
|
259
|
+
--body "$(cat <<'PRBODY'
|
|
260
|
+
## Summary
|
|
261
|
+
|
|
262
|
+
- Applied docs recommendations from analysis artifact
|
|
263
|
+
- Source: {analysis-artifact-path}
|
|
264
|
+
- Result: {N} created, {N} updated, {N} skipped
|
|
265
|
+
|
|
266
|
+
## Applied Plan
|
|
267
|
+
|
|
268
|
+
{APPLY_PLAN_MARKDOWN}
|
|
269
|
+
|
|
270
|
+
## Verification
|
|
271
|
+
|
|
272
|
+
- {commands run and results}
|
|
273
|
+
|
|
274
|
+
---
|
|
275
|
+
|
|
276
|
+
## Full Analysis Artifact
|
|
277
|
+
|
|
278
|
+
The complete analysis that produced these recommendations is included below for reviewer reference.
|
|
279
|
+
|
|
280
|
+
<details>
|
|
281
|
+
<summary>Click to expand full analysis</summary>
|
|
282
|
+
|
|
283
|
+
{full contents of the analysis artifact markdown file}
|
|
284
|
+
|
|
285
|
+
</details>
|
|
286
|
+
PRBODY
|
|
287
|
+
)"
|
|
288
|
+
```
|
|
289
|
+
|
|
290
|
+
**If `gh` is not available or fails:**
|
|
291
|
+
|
|
292
|
+
```
|
|
293
|
+
PR creation failed. To create manually:
|
|
294
|
+
1. Push: git push -u origin {branch}
|
|
295
|
+
2. Open PR at your repository's web interface
|
|
296
|
+
3. Use the structure above in the PR body, including the full analysis in a collapsible section
|
|
297
|
+
```
|
|
298
|
+
|
|
299
|
+
### Step 7: Update Tracking and Output Summary
|
|
300
|
+
|
|
301
|
+
Update shared tracking:
|
|
302
|
+
|
|
303
|
+
```bash
|
|
304
|
+
TRACKING_SCRIPT=".oat/scripts/resolve-tracking.sh"
|
|
305
|
+
ROOT_TARGET=$(bash "$TRACKING_SCRIPT" root)
|
|
306
|
+
ROOT_HASH=$(echo "$ROOT_TARGET" | jq -r '.commitHash')
|
|
307
|
+
ROOT_BRANCH=$(echo "$ROOT_TARGET" | jq -r '.baseBranch')
|
|
308
|
+
|
|
309
|
+
bash "$TRACKING_SCRIPT" write \
|
|
310
|
+
docsApply \
|
|
311
|
+
"$ROOT_HASH" \
|
|
312
|
+
"$ROOT_BRANCH" \
|
|
313
|
+
"apply"
|
|
314
|
+
```
|
|
315
|
+
|
|
316
|
+
Output:
|
|
317
|
+
|
|
318
|
+
```text
|
|
319
|
+
Apply complete.
|
|
320
|
+
|
|
321
|
+
Files created: {N}
|
|
322
|
+
Files updated: {N}
|
|
323
|
+
Files skipped: {N}
|
|
324
|
+
Docs target: {path}
|
|
325
|
+
Verification: {commands run}
|
|
326
|
+
|
|
327
|
+
Next step: Re-run oat-docs-analyze if you want a post-apply verification artifact.
|
|
328
|
+
```
|
|
329
|
+
|
|
330
|
+
## Deferred from v1
|
|
331
|
+
|
|
332
|
+
- Automatic content synthesis for missing topic pages
|
|
333
|
+
- Multi-docs-app fanout in one apply session
|
|
334
|
+
- Bulk conversion of legacy docs trees without user review
|
|
335
|
+
|
|
336
|
+
## References
|
|
337
|
+
|
|
338
|
+
- Apply plan template: `references/apply-plan-template.md`
|
|
339
|
+
- Shared tracking helper: `.oat/scripts/resolve-tracking.sh`
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
---
|
|
2
|
+
oat_generated: true
|
|
3
|
+
oat_generated_at: { YYYY-MM-DD }
|
|
4
|
+
oat_apply_type: docs
|
|
5
|
+
oat_source_analysis: { analysis-artifact-path }
|
|
6
|
+
oat_docs_target: { docs-target-path }
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Docs Apply Plan
|
|
10
|
+
|
|
11
|
+
**Date:** {YYYY-MM-DD}
|
|
12
|
+
**Source Analysis:** `{analysis-artifact-path}`
|
|
13
|
+
**Docs Target:** `{docs-target-path}`
|
|
14
|
+
|
|
15
|
+
## Instructions
|
|
16
|
+
|
|
17
|
+
Review the full recommendation set first, then choose a review mode:
|
|
18
|
+
|
|
19
|
+
- **apply all** — approve the full set as presented
|
|
20
|
+
- **apply interactively** — review recommendation by recommendation
|
|
21
|
+
- **discuss** — pause to talk through the plan before approving
|
|
22
|
+
|
|
23
|
+
Recommendations should already carry evidence, confidence, disclosure guidance, and link
|
|
24
|
+
targets when `link_only` is used. If a recommendation lacks that detail, it should be
|
|
25
|
+
blocked pending a fresh analysis rather than guessed.
|
|
26
|
+
|
|
27
|
+
## Review Mode
|
|
28
|
+
|
|
29
|
+
**Selected Mode:** {apply all / apply interactively / discuss / pending}
|
|
30
|
+
|
|
31
|
+
**Global Notes:** {Any notes that apply to the whole plan, or "None"}
|
|
32
|
+
|
|
33
|
+
## Recommendations
|
|
34
|
+
|
|
35
|
+
### {N}. {Action}: `{target-path}`
|
|
36
|
+
|
|
37
|
+
| Field | Value |
|
|
38
|
+
| ------------ | ----------------------------------------------------------------- |
|
|
39
|
+
| Action | {create / update / move / scaffold / sync-nav} |
|
|
40
|
+
| Target | `{target-path}` |
|
|
41
|
+
| Rationale | {why this recommendation exists} |
|
|
42
|
+
| Source | {finding # / contract gap / nav issue} |
|
|
43
|
+
| Evidence | {exact file refs / config / docs that justify the recommendation} |
|
|
44
|
+
| Confidence | {high / medium / low} |
|
|
45
|
+
| Disclosure | {inline / link_only / omit / ask_user} |
|
|
46
|
+
| Link Targets | {path or URL when link_only; otherwise N/A} |
|
|
47
|
+
| Helper | `oat docs nav sync` / `oat docs init` / `manual edit` |
|
|
48
|
+
|
|
49
|
+
**Context:** {1-2 sentences}
|
|
50
|
+
|
|
51
|
+
**Decision:** {approve / modify / skip | deferred until interactive review}
|
|
52
|
+
**Notes:** {user notes if modifying}
|
|
53
|
+
|
|
54
|
+
---
|
|
55
|
+
|
|
56
|
+
{Repeat for each recommendation}
|
|
57
|
+
|
|
58
|
+
## Summary of Actions
|
|
59
|
+
|
|
60
|
+
| # | Action | Target | Disclosure | Decision |
|
|
61
|
+
| --- | -------------------------------------- | -------- | -------------------------------- | -------------------------------------------------------- |
|
|
62
|
+
| {N} | {create/update/move/scaffold/sync-nav} | `{path}` | {inline/link_only/omit/ask_user} | {approved_via_apply_all/approved/modified/skip/deferred} |
|
|
63
|
+
| ... | | | | |
|
|
64
|
+
|
|
65
|
+
**Total:** {N} approved, {N} modified, {N} skipped
|
|
66
|
+
|
|
67
|
+
## Proceed?
|
|
68
|
+
|
|
69
|
+
Confirm to begin applying the approved documentation changes.
|
|
@@ -0,0 +1,293 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: oat-doctor
|
|
3
|
+
version: 1.0.0
|
|
4
|
+
description: Use when you need to diagnose your OAT setup, check for outdated skills, identify misconfigurations, or get a summary of installed tools and config. Runs health checks and recommends corrective actions.
|
|
5
|
+
argument-hint: '[--summary]'
|
|
6
|
+
disable-model-invocation: true
|
|
7
|
+
user-invocable: true
|
|
8
|
+
allowed-tools: Read, Bash, Glob, Grep, AskUserQuestion
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# OAT Doctor
|
|
12
|
+
|
|
13
|
+
Diagnose your OAT setup at both project and user levels. Checks for skill updates, identifies misconfigurations, summarizes what's installed, and recommends corrective actions.
|
|
14
|
+
|
|
15
|
+
## Prerequisites
|
|
16
|
+
|
|
17
|
+
- OAT CLI installed and available as `oat` in PATH.
|
|
18
|
+
- At least one `oat init` has been run (project or user level).
|
|
19
|
+
|
|
20
|
+
## Mode Assertion
|
|
21
|
+
|
|
22
|
+
**OAT MODE: Doctor (Diagnostic)**
|
|
23
|
+
|
|
24
|
+
**Purpose:** Inspect OAT setup and report findings with actionable fix commands. Never modify files or configuration.
|
|
25
|
+
|
|
26
|
+
**BLOCKED Activities:**
|
|
27
|
+
|
|
28
|
+
- No editing configuration files, skills, or templates.
|
|
29
|
+
- No running `oat init`, `oat sync`, `oat tools update`, or any mutating commands.
|
|
30
|
+
- No creating, modifying, or deleting any files.
|
|
31
|
+
|
|
32
|
+
**ALLOWED Activities:**
|
|
33
|
+
|
|
34
|
+
- Running `oat` CLI commands with `--json` flag for read-only data gathering.
|
|
35
|
+
- Reading files to inspect configuration state.
|
|
36
|
+
- Reading `~/.oat/docs/` for config key explanations.
|
|
37
|
+
- Presenting diagnostic findings and recommendations to the user.
|
|
38
|
+
|
|
39
|
+
**Self-Correction Protocol:**
|
|
40
|
+
If you catch yourself:
|
|
41
|
+
|
|
42
|
+
- About to run a mutating command → STOP and present it as a recommendation instead.
|
|
43
|
+
- Editing a file to fix a problem → STOP and tell the user the fix command.
|
|
44
|
+
|
|
45
|
+
**Recovery:**
|
|
46
|
+
|
|
47
|
+
1. Return to read-only diagnostic mode.
|
|
48
|
+
2. Present the needed fix as an actionable recommendation.
|
|
49
|
+
|
|
50
|
+
## Progress Indicators (User-Facing)
|
|
51
|
+
|
|
52
|
+
Print a phase banner once at start:
|
|
53
|
+
|
|
54
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
55
|
+
OAT ▸ DOCTOR
|
|
56
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
57
|
+
|
|
58
|
+
### Check Mode (default)
|
|
59
|
+
|
|
60
|
+
- `[1/4] Gathering installed tools…`
|
|
61
|
+
- `[2/4] Checking for outdated skills…`
|
|
62
|
+
- `[3/4] Inspecting configuration…`
|
|
63
|
+
- `[4/4] Reporting findings…`
|
|
64
|
+
|
|
65
|
+
### Summary Mode (`--summary`)
|
|
66
|
+
|
|
67
|
+
- `[1/6] Gathering installed tools…`
|
|
68
|
+
- `[2/6] Checking for outdated skills…`
|
|
69
|
+
- `[3/6] Inspecting configuration…`
|
|
70
|
+
- `[4/6] Discovering available packs…`
|
|
71
|
+
- `[5/6] Checking sync status…`
|
|
72
|
+
- `[6/6] Building dashboard…`
|
|
73
|
+
|
|
74
|
+
## Process
|
|
75
|
+
|
|
76
|
+
### Step 0: Determine Mode
|
|
77
|
+
|
|
78
|
+
Read `$ARGUMENTS`:
|
|
79
|
+
|
|
80
|
+
- If `$ARGUMENTS` contains `--summary` → **summary mode**
|
|
81
|
+
- Otherwise → **check mode** (default)
|
|
82
|
+
|
|
83
|
+
### Step 1: Gather Installed Tools
|
|
84
|
+
|
|
85
|
+
```bash
|
|
86
|
+
TOOLS_JSON=$(oat tools list --json --scope all 2>/dev/null || echo '{"tools":[]}')
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
Parse the JSON output. Each tool has: `name`, `type` (skill/agent), `scope` (project/user), `version`, `bundledVersion`, `pack` (core/docs/ideas/workflows/utility/project-management/research/custom), `status` (current/outdated/newer/not-bundled).
|
|
90
|
+
|
|
91
|
+
### Step 2: Check for Outdated Skills
|
|
92
|
+
|
|
93
|
+
```bash
|
|
94
|
+
OUTDATED_JSON=$(oat tools outdated --json --scope all 2>/dev/null || echo '{"tools":[]}')
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
Parse the JSON output. Each entry has `name`, `version` (installed), `bundledVersion` (available), `pack`, `scope`.
|
|
98
|
+
|
|
99
|
+
### Step 3: Inspect Configuration
|
|
100
|
+
|
|
101
|
+
```bash
|
|
102
|
+
CONFIG_JSON=$(oat config list --json 2>/dev/null || echo '{"configs":[]}')
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
Check for issues:
|
|
106
|
+
|
|
107
|
+
- **Stale `activeProject` pointer:** If `activeProject` is set, verify the directory exists. If not, warn.
|
|
108
|
+
- **Stale `activeIdea` pointer:** If `activeIdea` is set, verify the directory exists. If not, warn.
|
|
109
|
+
- **Missing `projects.root`:** If not configured and no default exists, warn.
|
|
110
|
+
|
|
111
|
+
For config key explanations, read from the bundled docs at `~/.oat/docs/`. Check `reference/file-locations.md` and `guide/cli-reference.md` for authoritative descriptions.
|
|
112
|
+
|
|
113
|
+
### Step 4: Check Mode — Report Findings
|
|
114
|
+
|
|
115
|
+
If in **check mode**, output a terse, `brew doctor`-style checklist.
|
|
116
|
+
|
|
117
|
+
**Format:**
|
|
118
|
+
|
|
119
|
+
```
|
|
120
|
+
Your OAT setup has {N} warning(s).
|
|
121
|
+
|
|
122
|
+
⚠ {N} outdated skill(s)
|
|
123
|
+
Run: oat tools update --scope {scope}
|
|
124
|
+
|
|
125
|
+
⚠ Stale activeProject pointer: {path} does not exist
|
|
126
|
+
Run: oat config set activeProject ""
|
|
127
|
+
|
|
128
|
+
⚠ Stale activeIdea pointer: {path} does not exist
|
|
129
|
+
Run: oat config set activeIdea ""
|
|
130
|
+
|
|
131
|
+
⚠ {pack} pack not installed at {scope} scope
|
|
132
|
+
Run: oat init tools
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
If no warnings:
|
|
136
|
+
|
|
137
|
+
```
|
|
138
|
+
Your OAT setup looks good. No issues found.
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
Stop here for check mode.
|
|
142
|
+
|
|
143
|
+
### Step 5: Summary Mode — Discover Available Packs
|
|
144
|
+
|
|
145
|
+
For summary mode, compare installed skills against the full manifest to identify available-but-uninstalled packs and skills.
|
|
146
|
+
|
|
147
|
+
**Bundled skill manifest (source of truth):**
|
|
148
|
+
|
|
149
|
+
Core pack skills:
|
|
150
|
+
|
|
151
|
+
- oat-docs, oat-doctor
|
|
152
|
+
|
|
153
|
+
Workflow pack skills:
|
|
154
|
+
|
|
155
|
+
- oat-project-capture, oat-project-clear-active, oat-project-complete
|
|
156
|
+
- oat-project-design, oat-project-discover, oat-project-document
|
|
157
|
+
- oat-project-implement, oat-project-import-plan, oat-project-new
|
|
158
|
+
- oat-project-open, oat-project-plan, oat-project-plan-writing
|
|
159
|
+
- oat-project-pr-final, oat-project-pr-progress, oat-project-progress
|
|
160
|
+
- oat-project-promote-spec-driven, oat-project-quick-start
|
|
161
|
+
- oat-project-reconcile, oat-project-revise, oat-project-review-provide
|
|
162
|
+
- oat-project-review-receive, oat-project-review-receive-remote
|
|
163
|
+
- oat-project-spec, oat-project-subagent-implement, oat-project-summary
|
|
164
|
+
- oat-repo-knowledge-index, oat-worktree-bootstrap, oat-worktree-bootstrap-auto
|
|
165
|
+
|
|
166
|
+
Ideas pack skills:
|
|
167
|
+
|
|
168
|
+
- oat-idea-new, oat-idea-ideate, oat-idea-summarize, oat-idea-scratchpad
|
|
169
|
+
|
|
170
|
+
Docs pack skills:
|
|
171
|
+
|
|
172
|
+
- oat-agent-instructions-analyze, oat-agent-instructions-apply
|
|
173
|
+
- oat-docs-analyze, oat-docs-apply
|
|
174
|
+
|
|
175
|
+
Utility pack skills:
|
|
176
|
+
|
|
177
|
+
- create-agnostic-skill
|
|
178
|
+
- oat-repo-maintainability-review, oat-review-provide
|
|
179
|
+
- oat-review-receive, oat-review-receive-remote
|
|
180
|
+
|
|
181
|
+
Project management pack skills:
|
|
182
|
+
|
|
183
|
+
- oat-pjm-add-backlog-item, oat-pjm-update-repo-reference
|
|
184
|
+
- oat-pjm-review-backlog
|
|
185
|
+
|
|
186
|
+
Research pack skills:
|
|
187
|
+
|
|
188
|
+
- analyze, compare, deep-research
|
|
189
|
+
- skeptic, synthesize
|
|
190
|
+
|
|
191
|
+
For each pack, determine:
|
|
192
|
+
|
|
193
|
+
- **Installed:** all pack skills found in installed tools list
|
|
194
|
+
- **Partially installed:** some but not all pack skills found
|
|
195
|
+
- **Not installed:** no pack skills found
|
|
196
|
+
- **Missing skills:** specific skills in the manifest but not in installed list (highlights newly-added skills after CLI upgrades)
|
|
197
|
+
|
|
198
|
+
### Step 6: Summary Mode — Check Sync Status
|
|
199
|
+
|
|
200
|
+
If in a project directory (`.oat/` exists):
|
|
201
|
+
|
|
202
|
+
```bash
|
|
203
|
+
SYNC_STATUS=$(oat sync --dry-run --json --scope project 2>/dev/null || echo '{}')
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
Report whether provider views are in sync or have pending changes.
|
|
207
|
+
|
|
208
|
+
### Step 7: Summary Mode — Build Dashboard
|
|
209
|
+
|
|
210
|
+
Output a full dashboard:
|
|
211
|
+
|
|
212
|
+
```
|
|
213
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
214
|
+
OAT ▸ DOCTOR SUMMARY
|
|
215
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
216
|
+
|
|
217
|
+
## Installed Packs
|
|
218
|
+
|
|
219
|
+
| Pack | Scope | Skills | Status |
|
|
220
|
+
| --------- | ------- | ------ | -------- |
|
|
221
|
+
| core | user | 2/2 | current |
|
|
222
|
+
| docs | project | 4/4 | current |
|
|
223
|
+
| workflows | project | 26/26 | current |
|
|
224
|
+
| ideas | user | 4/4 | current |
|
|
225
|
+
| project-management | project | 3/3 | current |
|
|
226
|
+
| research | project | 5/5 | current |
|
|
227
|
+
| utility | project | 5/5 | outdated |
|
|
228
|
+
|
|
229
|
+
## Outdated Skills
|
|
230
|
+
|
|
231
|
+
| Skill | Installed | Available | Scope |
|
|
232
|
+
| ----------------------- | --------- | --------- | ------- |
|
|
233
|
+
| oat-project-implement | 1.1.0 | 1.2.0 | project |
|
|
234
|
+
|
|
235
|
+
## Available But Not Installed
|
|
236
|
+
|
|
237
|
+
- **docs** pack: oat-docs-analyze, oat-docs-apply, oat-agent-instructions-analyze, oat-agent-instructions-apply (4 skills available)
|
|
238
|
+
→ Run: oat tools install docs --scope {scope}
|
|
239
|
+
- **project-management** pack: oat-pjm-add-backlog-item, oat-pjm-update-repo-reference, oat-pjm-review-backlog (3 skills available)
|
|
240
|
+
→ Run: oat tools install project-management --scope {scope}
|
|
241
|
+
- **research** pack: analyze, compare, deep-research, skeptic, synthesize (5 skills available)
|
|
242
|
+
→ Run: oat tools install research --scope {scope}
|
|
243
|
+
|
|
244
|
+
## Configuration
|
|
245
|
+
|
|
246
|
+
| Key | Value | Source |
|
|
247
|
+
| -------------------- | ------------------------- | ------- |
|
|
248
|
+
| activeProject | .oat/projects/shared/foo | local |
|
|
249
|
+
| activeIdea | (not set) | - |
|
|
250
|
+
| projects.root | .oat/projects/shared | default |
|
|
251
|
+
| documentation.root | (not set) | - |
|
|
252
|
+
| worktrees.root | (not set) | - |
|
|
253
|
+
|
|
254
|
+
### Config Key Explanations
|
|
255
|
+
|
|
256
|
+
Read config key descriptions from `~/.oat/docs/reference/file-locations.md` and `~/.oat/docs/guide/cli-reference.md`. If docs are not available, use these fallback descriptions:
|
|
257
|
+
|
|
258
|
+
- **activeProject:** Path to the currently active OAT project. Set automatically by project skills.
|
|
259
|
+
- **activeIdea:** Path to the currently active idea. Set by oat-idea-new.
|
|
260
|
+
- **lastPausedProject:** Path to the last paused project for quick resume.
|
|
261
|
+
- **projects.root:** Base directory for all OAT projects. Default: `.oat/projects/shared`.
|
|
262
|
+
- **documentation.root:** Root directory for documentation. Used by docs skills.
|
|
263
|
+
- **documentation.config:** Path to docs config file (e.g., mkdocs.yml).
|
|
264
|
+
- **documentation.tooling:** Docs tooling in use (e.g., mkdocs, fumadocs).
|
|
265
|
+
- **documentation.requireForProjectCompletion:** Whether docs update is required before project completion.
|
|
266
|
+
- **autoReviewAtCheckpoints:** When true, completing a plan phase checkpoint auto-triggers a subagent code review. Default false. Can be overridden per-project via `oat_auto_review_at_checkpoints` in plan.md frontmatter.
|
|
267
|
+
- **worktrees.root:** Base directory for git worktrees. Used by worktree-bootstrap skills.
|
|
268
|
+
|
|
269
|
+
## Sync Status
|
|
270
|
+
|
|
271
|
+
{In sync / N pending changes across M providers}
|
|
272
|
+
|
|
273
|
+
## Warnings
|
|
274
|
+
|
|
275
|
+
{Same warnings as check mode, if any}
|
|
276
|
+
|
|
277
|
+
## Recommendations
|
|
278
|
+
|
|
279
|
+
- Run `oat tools update` to update outdated skills.
|
|
280
|
+
- Run `oat init tools` to install newly available packs.
|
|
281
|
+
- Run `oat sync --scope project` to sync provider views.
|
|
282
|
+
```
|
|
283
|
+
|
|
284
|
+
Adapt the dashboard to show only sections with relevant data. Omit empty sections.
|
|
285
|
+
|
|
286
|
+
## Success Criteria
|
|
287
|
+
|
|
288
|
+
- ✅ Check mode reports all warnings with actionable fix commands.
|
|
289
|
+
- ✅ Summary mode shows a complete dashboard of installed packs, config, and available skills.
|
|
290
|
+
- ✅ Outdated skills are detected and update commands are provided.
|
|
291
|
+
- ✅ Stale config pointers are identified.
|
|
292
|
+
- ✅ Available-but-uninstalled packs/skills are surfaced (discovery gap closed).
|
|
293
|
+
- ✅ No files are modified — purely diagnostic output.
|