agent-ops-cli 0.1.1__tar.gz

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.
Files changed (354) hide show
  1. agent_ops_cli-0.1.1/.ao/AGENTS.example.md +182 -0
  2. agent_ops_cli-0.1.1/.ao/LICENSE +21 -0
  3. agent_ops_cli-0.1.1/.ao/README.md +0 -0
  4. agent_ops_cli-0.1.1/.ao/agents/ao-plan.agent.md +90 -0
  5. agent_ops_cli-0.1.1/.ao/agents/ao-setup.agent.md +26 -0
  6. agent_ops_cli-0.1.1/.ao/agents/ao-worker.agent.md +311 -0
  7. agent_ops_cli-0.1.1/.ao/bundle-categories.yaml +58 -0
  8. agent_ops_cli-0.1.1/.ao/prompts/ao-api-review.prompt.md +42 -0
  9. agent_ops_cli-0.1.1/.ao/prompts/ao-baseline.prompt.md +17 -0
  10. agent_ops_cli-0.1.1/.ao/prompts/ao-complete.prompt.md +50 -0
  11. agent_ops_cli-0.1.1/.ao/prompts/ao-constitution.prompt.md +31 -0
  12. agent_ops_cli-0.1.1/.ao/prompts/ao-create-python-project.prompt.md +39 -0
  13. agent_ops_cli-0.1.1/.ao/prompts/ao-create-skill.prompt.md +34 -0
  14. agent_ops_cli-0.1.1/.ao/prompts/ao-debug.prompt.md +49 -0
  15. agent_ops_cli-0.1.1/.ao/prompts/ao-discover.prompt.md +59 -0
  16. agent_ops_cli-0.1.1/.ao/prompts/ao-execute.prompt.md +75 -0
  17. agent_ops_cli-0.1.1/.ao/prompts/ao-help.prompt.md +153 -0
  18. agent_ops_cli-0.1.1/.ao/prompts/ao-housekeeping.prompt.md +40 -0
  19. agent_ops_cli-0.1.1/.ao/prompts/ao-idea.prompt.md +51 -0
  20. agent_ops_cli-0.1.1/.ao/prompts/ao-implement.prompt.md +22 -0
  21. agent_ops_cli-0.1.1/.ao/prompts/ao-init.prompt.md +29 -0
  22. agent_ops_cli-0.1.1/.ao/prompts/ao-install.prompt.md +39 -0
  23. agent_ops_cli-0.1.1/.ao/prompts/ao-interview.prompt.md +185 -0
  24. agent_ops_cli-0.1.1/.ao/prompts/ao-llm-export.prompt.md +153 -0
  25. agent_ops_cli-0.1.1/.ao/prompts/ao-map.prompt.md +26 -0
  26. agent_ops_cli-0.1.1/.ao/prompts/ao-markdown-to-jira.prompt.md +37 -0
  27. agent_ops_cli-0.1.1/.ao/prompts/ao-migrate.prompt.md +58 -0
  28. agent_ops_cli-0.1.1/.ao/prompts/ao-optimize-instructions.prompt.md +53 -0
  29. agent_ops_cli-0.1.1/.ao/prompts/ao-parallel.prompt.md +87 -0
  30. agent_ops_cli-0.1.1/.ao/prompts/ao-plan-preview.prompt.md +48 -0
  31. agent_ops_cli-0.1.1/.ao/prompts/ao-plan.prompt.md +83 -0
  32. agent_ops_cli-0.1.1/.ao/prompts/ao-planning.prompt.md +192 -0
  33. agent_ops_cli-0.1.1/.ao/prompts/ao-quickfix.prompt.md +79 -0
  34. agent_ops_cli-0.1.1/.ao/prompts/ao-recover.prompt.md +22 -0
  35. agent_ops_cli-0.1.1/.ao/prompts/ao-report.prompt.md +54 -0
  36. agent_ops_cli-0.1.1/.ao/prompts/ao-retrospective.prompt.md +15 -0
  37. agent_ops_cli-0.1.1/.ao/prompts/ao-review.prompt.md +41 -0
  38. agent_ops_cli-0.1.1/.ao/prompts/ao-sections.prompt.md +55 -0
  39. agent_ops_cli-0.1.1/.ao/prompts/ao-spec.prompt.md +30 -0
  40. agent_ops_cli-0.1.1/.ao/prompts/ao-task.prompt.md +75 -0
  41. agent_ops_cli-0.1.1/.ao/prompts/ao-testing.prompt.md +33 -0
  42. agent_ops_cli-0.1.1/.ao/prompts/ao-update.prompt.md +497 -0
  43. agent_ops_cli-0.1.1/.ao/prompts/ao-validation.prompt.md +42 -0
  44. agent_ops_cli-0.1.1/.ao/prompts/ao-version.prompt.md +77 -0
  45. agent_ops_cli-0.1.1/.ao/prompts/code-review.prompt.md +118 -0
  46. agent_ops_cli-0.1.1/.ao/reference/README.md +29 -0
  47. agent_ops_cli-0.1.1/.ao/reference/anchor-link-policy.md +100 -0
  48. agent_ops_cli-0.1.1/.ao/reference/api-guidelines.md +154 -0
  49. agent_ops_cli-0.1.1/.ao/reference/cautious-reasoning.md +102 -0
  50. agent_ops_cli-0.1.1/.ao/reference/code-review-framework.md +189 -0
  51. agent_ops_cli-0.1.1/.ao/reference/completion-gate.md +139 -0
  52. agent_ops_cli-0.1.1/.ao/reference/confidence.md +207 -0
  53. agent_ops_cli-0.1.1/.ao/reference/conflict-detection.md +307 -0
  54. agent_ops_cli-0.1.1/.ao/reference/file-audit-trail.md +163 -0
  55. agent_ops_cli-0.1.1/.ao/reference/frontmatter-standards.md +228 -0
  56. agent_ops_cli-0.1.1/.ao/reference/issue-schema.json +97 -0
  57. agent_ops_cli-0.1.1/.ao/reference/lang-csharp.md +725 -0
  58. agent_ops_cli-0.1.1/.ao/reference/lang-python.md +517 -0
  59. agent_ops_cli-0.1.1/.ao/reference/lang-typescript.md +647 -0
  60. agent_ops_cli-0.1.1/.ao/reference/preferences-pattern.md +524 -0
  61. agent_ops_cli-0.1.1/.ao/reference/selective-git-scripts.md +365 -0
  62. agent_ops_cli-0.1.1/.ao/reference/skills-schema.json +123 -0
  63. agent_ops_cli-0.1.1/.ao/reference/tools-schema.json +112 -0
  64. agent_ops_cli-0.1.1/.ao/reference/yagni.md +78 -0
  65. agent_ops_cli-0.1.1/.ao/skill-index.md +313 -0
  66. agent_ops_cli-0.1.1/.ao/skills/BACKLOG_INTEGRATION_SUMMARY.md +229 -0
  67. agent_ops_cli-0.1.1/.ao/skills/COMPARISON_plan-vs-task.md +484 -0
  68. agent_ops_cli-0.1.1/.ao/skills/_archived/ao-api-review/SKILL.md +300 -0
  69. agent_ops_cli-0.1.1/.ao/skills/_archived/ao-code-review-comprehensive/SKILL.md +330 -0
  70. agent_ops_cli-0.1.1/.ao/skills/_archived/ao-code-review-interactive/SKILL.md +275 -0
  71. agent_ops_cli-0.1.1/.ao/skills/_archived/ao-critical-review/SKILL.md +481 -0
  72. agent_ops_cli-0.1.1/.ao/skills/_archived/ao-docker-review/SKILL.md +415 -0
  73. agent_ops_cli-0.1.1/.ao/skills/_archived/ao-existential-review/SKILL.md +62 -0
  74. agent_ops_cli-0.1.1/.ao/skills/ao-adversary/SKILL.md +199 -0
  75. agent_ops_cli-0.1.1/.ao/skills/ao-article-verification/SKILL.md +406 -0
  76. agent_ops_cli-0.1.1/.ao/skills/ao-astro-docs/SKILL.md +536 -0
  77. agent_ops_cli-0.1.1/.ao/skills/ao-auto/IMPLEMENTATION.md +229 -0
  78. agent_ops_cli-0.1.1/.ao/skills/ao-auto/LOW_CONFIDENCE_EXCLUSION.md +251 -0
  79. agent_ops_cli-0.1.1/.ao/skills/ao-auto/RENAMING_SUMMARY.md +212 -0
  80. agent_ops_cli-0.1.1/.ao/skills/ao-auto/SKILL.md +890 -0
  81. agent_ops_cli-0.1.1/.ao/skills/ao-auto/WORKFLOW_INVESTIGATION.md +345 -0
  82. agent_ops_cli-0.1.1/.ao/skills/ao-baseline/SKILL.md +168 -0
  83. agent_ops_cli-0.1.1/.ao/skills/ao-baseline/templates/baseline.template.md +39 -0
  84. agent_ops_cli-0.1.1/.ao/skills/ao-branch-workflow/SKILL.md +583 -0
  85. agent_ops_cli-0.1.1/.ao/skills/ao-build/SKILL.md +356 -0
  86. agent_ops_cli-0.1.1/.ao/skills/ao-calibrator/SKILL.md +225 -0
  87. agent_ops_cli-0.1.1/.ao/skills/ao-cognitive-load/SKILL.md +290 -0
  88. agent_ops_cli-0.1.1/.ao/skills/ao-complete/SKILL.md +270 -0
  89. agent_ops_cli-0.1.1/.ao/skills/ao-complete/templates/BUG-verification.md +141 -0
  90. agent_ops_cli-0.1.1/.ao/skills/ao-complete/templates/FEAT-verification.md +185 -0
  91. agent_ops_cli-0.1.1/.ao/skills/ao-confidence-decay/SKILL.md +47 -0
  92. agent_ops_cli-0.1.1/.ao/skills/ao-constitution/SKILL.md +182 -0
  93. agent_ops_cli-0.1.1/.ao/skills/ao-constitution/templates/constitution.template.md +140 -0
  94. agent_ops_cli-0.1.1/.ao/skills/ao-context-map/SKILL.md +99 -0
  95. agent_ops_cli-0.1.1/.ao/skills/ao-context-map/templates/map.template.md +49 -0
  96. agent_ops_cli-0.1.1/.ao/skills/ao-create-python-project/SKILL.md +120 -0
  97. agent_ops_cli-0.1.1/.ao/skills/ao-create-python-project/TEMPLATES.md +420 -0
  98. agent_ops_cli-0.1.1/.ao/skills/ao-create-skill/SKILL.md +370 -0
  99. agent_ops_cli-0.1.1/.ao/skills/ao-create-technical-docs/REFERENCE.md +187 -0
  100. agent_ops_cli-0.1.1/.ao/skills/ao-create-technical-docs/SKILL.md +403 -0
  101. agent_ops_cli-0.1.1/.ao/skills/ao-debugging/SKILL.md +328 -0
  102. agent_ops_cli-0.1.1/.ao/skills/ao-debugging/templates/BUG-debug-template.md +119 -0
  103. agent_ops_cli-0.1.1/.ao/skills/ao-dependencies/SKILL.md +235 -0
  104. agent_ops_cli-0.1.1/.ao/skills/ao-docs/SKILL.md +239 -0
  105. agent_ops_cli-0.1.1/.ao/skills/ao-docx/SKILL.md +318 -0
  106. agent_ops_cli-0.1.1/.ao/skills/ao-dogfood/SKILL.md +256 -0
  107. agent_ops_cli-0.1.1/.ao/skills/ao-epic-analyzer/SKILL.md +82 -0
  108. agent_ops_cli-0.1.1/.ao/skills/ao-execute/SKILL.md +337 -0
  109. agent_ops_cli-0.1.1/.ao/skills/ao-focus-scan/SKILL.md +352 -0
  110. agent_ops_cli-0.1.1/.ao/skills/ao-frontend-design/SKILL.md +108 -0
  111. agent_ops_cli-0.1.1/.ao/skills/ao-gh-actionable-comments/SKILL.md +207 -0
  112. agent_ops_cli-0.1.1/.ao/skills/ao-gh-pr-info/SKILL.md +949 -0
  113. agent_ops_cli-0.1.1/.ao/skills/ao-gherkin-step-generator/SKILL.md +655 -0
  114. agent_ops_cli-0.1.1/.ao/skills/ao-git/SKILL.md +275 -0
  115. agent_ops_cli-0.1.1/.ao/skills/ao-git-analysis/SKILL.md +231 -0
  116. agent_ops_cli-0.1.1/.ao/skills/ao-git-story/SKILL.md +280 -0
  117. agent_ops_cli-0.1.1/.ao/skills/ao-git-worktree/SKILL.md +177 -0
  118. agent_ops_cli-0.1.1/.ao/skills/ao-github/SKILL.md +351 -0
  119. agent_ops_cli-0.1.1/.ao/skills/ao-guide/SKILL.md +209 -0
  120. agent_ops_cli-0.1.1/.ao/skills/ao-housekeeping/REFERENCE.md +226 -0
  121. agent_ops_cli-0.1.1/.ao/skills/ao-housekeeping/SKILL.md +148 -0
  122. agent_ops_cli-0.1.1/.ao/skills/ao-housekeeping/templates/history.template.md +15 -0
  123. agent_ops_cli-0.1.1/.ao/skills/ao-idea/SKILL.md +368 -0
  124. agent_ops_cli-0.1.1/.ao/skills/ao-impl-details/REFERENCE.md +290 -0
  125. agent_ops_cli-0.1.1/.ao/skills/ao-impl-details/SKILL.md +166 -0
  126. agent_ops_cli-0.1.1/.ao/skills/ao-implementation/SKILL.md +926 -0
  127. agent_ops_cli-0.1.1/.ao/skills/ao-implementation/templates/FEAT-TDD-checklist.md +183 -0
  128. agent_ops_cli-0.1.1/.ao/skills/ao-improvement-discovery/SKILL.md +232 -0
  129. agent_ops_cli-0.1.1/.ao/skills/ao-init/BACKLOG_CREATION_SUMMARY.md +239 -0
  130. agent_ops_cli-0.1.1/.ao/skills/ao-init/SKILL.md +255 -0
  131. agent_ops_cli-0.1.1/.ao/skills/ao-install/SKILL.md +269 -0
  132. agent_ops_cli-0.1.1/.ao/skills/ao-intent-drift/SKILL.md +373 -0
  133. agent_ops_cli-0.1.1/.ao/skills/ao-interview/SKILL.md +354 -0
  134. agent_ops_cli-0.1.1/.ao/skills/ao-issue-merge/SKILL.md +147 -0
  135. agent_ops_cli-0.1.1/.ao/skills/ao-junior-explain/SKILL.md +47 -0
  136. agent_ops_cli-0.1.1/.ao/skills/ao-lint-instructions/SKILL.md +335 -0
  137. agent_ops_cli-0.1.1/.ao/skills/ao-llm-export/SKILL.md +726 -0
  138. agent_ops_cli-0.1.1/.ao/skills/ao-llm-export/export.py +209 -0
  139. agent_ops_cli-0.1.1/.ao/skills/ao-markdown-jira/SKILL.md +189 -0
  140. agent_ops_cli-0.1.1/.ao/skills/ao-mermaid/SKILL.md +146 -0
  141. agent_ops_cli-0.1.1/.ao/skills/ao-migrate/SKILL.md +357 -0
  142. agent_ops_cli-0.1.1/.ao/skills/ao-mkdocs/SKILL.md +489 -0
  143. agent_ops_cli-0.1.1/.ao/skills/ao-narrative-audit/SKILL.md +50 -0
  144. agent_ops_cli-0.1.1/.ao/skills/ao-optimize-instructions/SKILL.md +258 -0
  145. agent_ops_cli-0.1.1/.ao/skills/ao-parallel/SKILL.md +244 -0
  146. agent_ops_cli-0.1.1/.ao/skills/ao-parallel/templates/PARALLEL-dispatch.md +165 -0
  147. agent_ops_cli-0.1.1/.ao/skills/ao-plan-integrate-review/SKILL.md +216 -0
  148. agent_ops_cli-0.1.1/.ao/skills/ao-plan-preview/SKILL.md +834 -0
  149. agent_ops_cli-0.1.1/.ao/skills/ao-plan-review-import/SKILL.md +189 -0
  150. agent_ops_cli-0.1.1/.ao/skills/ao-planning/SKILL.md +681 -0
  151. agent_ops_cli-0.1.1/.ao/skills/ao-playwright/SKILL.md +272 -0
  152. agent_ops_cli-0.1.1/.ao/skills/ao-postmortem/SKILL.md +263 -0
  153. agent_ops_cli-0.1.1/.ao/skills/ao-potential-discovery/SKILL.md +365 -0
  154. agent_ops_cli-0.1.1/.ao/skills/ao-pptx/SKILL.md +198 -0
  155. agent_ops_cli-0.1.1/.ao/skills/ao-project-sections/SKILL.md +228 -0
  156. agent_ops_cli-0.1.1/.ao/skills/ao-prove-your-worth/SKILL.md +534 -0
  157. agent_ops_cli-0.1.1/.ao/skills/ao-reality-audit/SKILL.md +256 -0
  158. agent_ops_cli-0.1.1/.ao/skills/ao-recovery/SKILL.md +111 -0
  159. agent_ops_cli-0.1.1/.ao/skills/ao-report/SKILL.md +693 -0
  160. agent_ops_cli-0.1.1/.ao/skills/ao-research/SKILL.md +343 -0
  161. agent_ops_cli-0.1.1/.ao/skills/ao-retrospective/SKILL.md +111 -0
  162. agent_ops_cli-0.1.1/.ao/skills/ao-review/SKILL.md +247 -0
  163. agent_ops_cli-0.1.1/.ao/skills/ao-review/templates/code-quality.md +165 -0
  164. agent_ops_cli-0.1.1/.ao/skills/ao-review/templates/plan-compliance.md +100 -0
  165. agent_ops_cli-0.1.1/.ao/skills/ao-review-domain/SKILL.md +181 -0
  166. agent_ops_cli-0.1.1/.ao/skills/ao-review-response/SKILL.md +136 -0
  167. agent_ops_cli-0.1.1/.ao/skills/ao-selective-branch/SKILL.md +281 -0
  168. agent_ops_cli-0.1.1/.ao/skills/ao-selective-merge/SKILL.md +169 -0
  169. agent_ops_cli-0.1.1/.ao/skills/ao-shadow-plan/SKILL.md +324 -0
  170. agent_ops_cli-0.1.1/.ao/skills/ao-skill-fatigue/SKILL.md +51 -0
  171. agent_ops_cli-0.1.1/.ao/skills/ao-skills-advisor/SKILL.md +206 -0
  172. agent_ops_cli-0.1.1/.ao/skills/ao-skills-sh/SKILL.md +303 -0
  173. agent_ops_cli-0.1.1/.ao/skills/ao-spec/SKILL.md +40 -0
  174. agent_ops_cli-0.1.1/.ao/skills/ao-spec/templates/spec.template.md +59 -0
  175. agent_ops_cli-0.1.1/.ao/skills/ao-state/SKILL.md +245 -0
  176. agent_ops_cli-0.1.1/.ao/skills/ao-state/templates/focus.template.json +23 -0
  177. agent_ops_cli-0.1.1/.ao/skills/ao-state/templates/focus.template.md +23 -0
  178. agent_ops_cli-0.1.1/.ao/skills/ao-state/templates/issues.template.md +75 -0
  179. agent_ops_cli-0.1.1/.ao/skills/ao-state/templates/memory.template.md +14 -0
  180. agent_ops_cli-0.1.1/.ao/skills/ao-state/templates/time-tracking.template.json +10 -0
  181. agent_ops_cli-0.1.1/.ao/skills/ao-task/REFERENCE.md +219 -0
  182. agent_ops_cli-0.1.1/.ao/skills/ao-task/SKILL.md +498 -0
  183. agent_ops_cli-0.1.1/.ao/skills/ao-temporal-risk/SKILL.md +59 -0
  184. agent_ops_cli-0.1.1/.ao/skills/ao-testing/SKILL.md +359 -0
  185. agent_ops_cli-0.1.1/.ao/skills/ao-time-report/SKILL.md +271 -0
  186. agent_ops_cli-0.1.1/.ao/skills/ao-tools/SKILL.md +476 -0
  187. agent_ops_cli-0.1.1/.ao/skills/ao-update/REFERENCE.md +347 -0
  188. agent_ops_cli-0.1.1/.ao/skills/ao-update/SKILL.md +133 -0
  189. agent_ops_cli-0.1.1/.ao/skills/ao-validation/SKILL.md +481 -0
  190. agent_ops_cli-0.1.1/.ao/skills/ao-versioning/SKILL.md +342 -0
  191. agent_ops_cli-0.1.1/.ao/skills/ao-web-artifacts/SKILL.md +214 -0
  192. agent_ops_cli-0.1.1/.ao/skills/ao-web-assets/SKILL.md +229 -0
  193. agent_ops_cli-0.1.1/.ao/skills/ao-youtube-transcript/SKILL.md +226 -0
  194. agent_ops_cli-0.1.1/.ao/skills/aoi-usage/SKILL.md +271 -0
  195. agent_ops_cli-0.1.1/.claude/agents/ao-plan.md +90 -0
  196. agent_ops_cli-0.1.1/.claude/agents/ao-setup.md +33 -0
  197. agent_ops_cli-0.1.1/.claude/agents/ao-worker.md +305 -0
  198. agent_ops_cli-0.1.1/.claude/commands/ao-auto.md +48 -0
  199. agent_ops_cli-0.1.1/.claude/commands/ao-baseline.md +18 -0
  200. agent_ops_cli-0.1.1/.claude/commands/ao-constitution.md +42 -0
  201. agent_ops_cli-0.1.1/.claude/commands/ao-continue.md +35 -0
  202. agent_ops_cli-0.1.1/.claude/commands/ao-create-python-project.md +41 -0
  203. agent_ops_cli-0.1.1/.claude/commands/ao-create-skill.md +35 -0
  204. agent_ops_cli-0.1.1/.claude/commands/ao-debug.md +50 -0
  205. agent_ops_cli-0.1.1/.claude/commands/ao-gh-actionable-comments.md +42 -0
  206. agent_ops_cli-0.1.1/.claude/commands/ao-help.md +133 -0
  207. agent_ops_cli-0.1.1/.claude/commands/ao-housekeeping.md +41 -0
  208. agent_ops_cli-0.1.1/.claude/commands/ao-idea.md +58 -0
  209. agent_ops_cli-0.1.1/.claude/commands/ao-implement.md +35 -0
  210. agent_ops_cli-0.1.1/.claude/commands/ao-init.md +28 -0
  211. agent_ops_cli-0.1.1/.claude/commands/ao-map.md +25 -0
  212. agent_ops_cli-0.1.1/.claude/commands/ao-plan-preview.md +48 -0
  213. agent_ops_cli-0.1.1/.claude/commands/ao-plan.md +72 -0
  214. agent_ops_cli-0.1.1/.claude/commands/ao-quickfix.md +80 -0
  215. agent_ops_cli-0.1.1/.claude/commands/ao-report.md +55 -0
  216. agent_ops_cli-0.1.1/.claude/commands/ao-retrospective.md +16 -0
  217. agent_ops_cli-0.1.1/.claude/commands/ao-review.md +42 -0
  218. agent_ops_cli-0.1.1/.claude/commands/ao-spec.md +31 -0
  219. agent_ops_cli-0.1.1/.claude/commands/ao-task.md +76 -0
  220. agent_ops_cli-0.1.1/.claude/commands/ao-testing.md +33 -0
  221. agent_ops_cli-0.1.1/.claude/commands/ao-time-report.md +51 -0
  222. agent_ops_cli-0.1.1/.claude/commands/ao-update.md +135 -0
  223. agent_ops_cli-0.1.1/.claude/commands/ao-validation.md +42 -0
  224. agent_ops_cli-0.1.1/.claude/commands/ao-version.md +78 -0
  225. agent_ops_cli-0.1.1/.claude/settings.json +59 -0
  226. agent_ops_cli-0.1.1/.github/agents/ao-plan.agent.md +85 -0
  227. agent_ops_cli-0.1.1/.github/agents/ao-setup.agent.md +18 -0
  228. agent_ops_cli-0.1.1/.github/agents/ao-worker.agent.md +277 -0
  229. agent_ops_cli-0.1.1/.github/copilot-instructions.md +124 -0
  230. agent_ops_cli-0.1.1/.github/prompts/ao-baseline.prompt.md +16 -0
  231. agent_ops_cli-0.1.1/.github/prompts/ao-constitution.prompt.md +30 -0
  232. agent_ops_cli-0.1.1/.github/prompts/ao-create-python-project.prompt.md +39 -0
  233. agent_ops_cli-0.1.1/.github/prompts/ao-create-skill.prompt.md +33 -0
  234. agent_ops_cli-0.1.1/.github/prompts/ao-debug.prompt.md +48 -0
  235. agent_ops_cli-0.1.1/.github/prompts/ao-gh-actionable-comments.prompt.md +33 -0
  236. agent_ops_cli-0.1.1/.github/prompts/ao-help.prompt.md +124 -0
  237. agent_ops_cli-0.1.1/.github/prompts/ao-housekeeping.prompt.md +39 -0
  238. agent_ops_cli-0.1.1/.github/prompts/ao-idea.prompt.md +56 -0
  239. agent_ops_cli-0.1.1/.github/prompts/ao-implement.prompt.md +21 -0
  240. agent_ops_cli-0.1.1/.github/prompts/ao-init.prompt.md +78 -0
  241. agent_ops_cli-0.1.1/.github/prompts/ao-map.prompt.md +23 -0
  242. agent_ops_cli-0.1.1/.github/prompts/ao-plan-preview.prompt.md +46 -0
  243. agent_ops_cli-0.1.1/.github/prompts/ao-plan.prompt.md +59 -0
  244. agent_ops_cli-0.1.1/.github/prompts/ao-quickfix.prompt.md +78 -0
  245. agent_ops_cli-0.1.1/.github/prompts/ao-report.prompt.md +53 -0
  246. agent_ops_cli-0.1.1/.github/prompts/ao-retrospective.prompt.md +14 -0
  247. agent_ops_cli-0.1.1/.github/prompts/ao-review.prompt.md +40 -0
  248. agent_ops_cli-0.1.1/.github/prompts/ao-spec.prompt.md +29 -0
  249. agent_ops_cli-0.1.1/.github/prompts/ao-task.prompt.md +74 -0
  250. agent_ops_cli-0.1.1/.github/prompts/ao-testing.prompt.md +31 -0
  251. agent_ops_cli-0.1.1/.github/prompts/ao-time-report.prompt.md +49 -0
  252. agent_ops_cli-0.1.1/.github/prompts/ao-update.prompt.md +133 -0
  253. agent_ops_cli-0.1.1/.github/prompts/ao-usage.prompt.md +19 -0
  254. agent_ops_cli-0.1.1/.github/prompts/ao-validation.prompt.md +40 -0
  255. agent_ops_cli-0.1.1/.github/prompts/ao-version.prompt.md +76 -0
  256. agent_ops_cli-0.1.1/.github/workflows/python-publish.yml +91 -0
  257. agent_ops_cli-0.1.1/.gitignore +24 -0
  258. agent_ops_cli-0.1.1/.opencode/agents/ao-worker.md +233 -0
  259. agent_ops_cli-0.1.1/.opencode/commands/ao-auto.md +48 -0
  260. agent_ops_cli-0.1.1/.opencode/commands/ao-baseline.md +16 -0
  261. agent_ops_cli-0.1.1/.opencode/commands/ao-constitution.md +40 -0
  262. agent_ops_cli-0.1.1/.opencode/commands/ao-create-python-project.md +39 -0
  263. agent_ops_cli-0.1.1/.opencode/commands/ao-create-skill.md +33 -0
  264. agent_ops_cli-0.1.1/.opencode/commands/ao-debug.md +48 -0
  265. agent_ops_cli-0.1.1/.opencode/commands/ao-gh-actionable-comments.md +36 -0
  266. agent_ops_cli-0.1.1/.opencode/commands/ao-help.md +131 -0
  267. agent_ops_cli-0.1.1/.opencode/commands/ao-housekeeping.md +39 -0
  268. agent_ops_cli-0.1.1/.opencode/commands/ao-idea.md +56 -0
  269. agent_ops_cli-0.1.1/.opencode/commands/ao-implement.md +33 -0
  270. agent_ops_cli-0.1.1/.opencode/commands/ao-init.md +26 -0
  271. agent_ops_cli-0.1.1/.opencode/commands/ao-map.md +23 -0
  272. agent_ops_cli-0.1.1/.opencode/commands/ao-plan-preview.md +46 -0
  273. agent_ops_cli-0.1.1/.opencode/commands/ao-plan.md +70 -0
  274. agent_ops_cli-0.1.1/.opencode/commands/ao-quickfix.md +78 -0
  275. agent_ops_cli-0.1.1/.opencode/commands/ao-report.md +53 -0
  276. agent_ops_cli-0.1.1/.opencode/commands/ao-retrospective.md +14 -0
  277. agent_ops_cli-0.1.1/.opencode/commands/ao-review.md +40 -0
  278. agent_ops_cli-0.1.1/.opencode/commands/ao-spec.md +29 -0
  279. agent_ops_cli-0.1.1/.opencode/commands/ao-task.md +74 -0
  280. agent_ops_cli-0.1.1/.opencode/commands/ao-testing.md +31 -0
  281. agent_ops_cli-0.1.1/.opencode/commands/ao-time-report.md +49 -0
  282. agent_ops_cli-0.1.1/.opencode/commands/ao-update.md +133 -0
  283. agent_ops_cli-0.1.1/.opencode/commands/ao-validation.md +40 -0
  284. agent_ops_cli-0.1.1/.opencode/commands/ao-version.md +76 -0
  285. agent_ops_cli-0.1.1/.opencode/config.json +9 -0
  286. agent_ops_cli-0.1.1/.opencode/plugins/ao.js +41 -0
  287. agent_ops_cli-0.1.1/.opencode/plugins/aoi.js +41 -0
  288. agent_ops_cli-0.1.1/PKG-INFO +125 -0
  289. agent_ops_cli-0.1.1/README.md +100 -0
  290. agent_ops_cli-0.1.1/pyproject.toml +107 -0
  291. agent_ops_cli-0.1.1/src/ao/__init__.py +3 -0
  292. agent_ops_cli-0.1.1/src/ao/_internal/__init__.py +0 -0
  293. agent_ops_cli-0.1.1/src/ao/_internal/admin.py +141 -0
  294. agent_ops_cli-0.1.1/src/ao/_internal/agent_hook.py +382 -0
  295. agent_ops_cli-0.1.1/src/ao/_internal/agent_install.py +206 -0
  296. agent_ops_cli-0.1.1/src/ao/_internal/apply.py +346 -0
  297. agent_ops_cli-0.1.1/src/ao/_internal/bench.py +79 -0
  298. agent_ops_cli-0.1.1/src/ao/_internal/commands/__init__.py +0 -0
  299. agent_ops_cli-0.1.1/src/ao/_internal/commands/ac.py +120 -0
  300. agent_ops_cli-0.1.1/src/ao/_internal/commands/complete.py +189 -0
  301. agent_ops_cli-0.1.1/src/ao/_internal/commands/duplicate.py +143 -0
  302. agent_ops_cli-0.1.1/src/ao/_internal/commands/epic.py +155 -0
  303. agent_ops_cli-0.1.1/src/ao/_internal/commands/epic_analyze.py +240 -0
  304. agent_ops_cli-0.1.1/src/ao/_internal/commands/event.py +96 -0
  305. agent_ops_cli-0.1.1/src/ao/_internal/commands/export.py +44 -0
  306. agent_ops_cli-0.1.1/src/ao/_internal/commands/focus.py +307 -0
  307. agent_ops_cli-0.1.1/src/ao/_internal/commands/install.py +1184 -0
  308. agent_ops_cli-0.1.1/src/ao/_internal/commands/issue.py +602 -0
  309. agent_ops_cli-0.1.1/src/ao/_internal/commands/label.py +146 -0
  310. agent_ops_cli-0.1.1/src/ao/_internal/commands/link.py +395 -0
  311. agent_ops_cli-0.1.1/src/ao/_internal/commands/ls.py +275 -0
  312. agent_ops_cli-0.1.1/src/ao/_internal/commands/onboard.py +210 -0
  313. agent_ops_cli-0.1.1/src/ao/_internal/commands/ref.py +166 -0
  314. agent_ops_cli-0.1.1/src/ao/_internal/commands/stale.py +83 -0
  315. agent_ops_cli-0.1.1/src/ao/_internal/commands/triage.py +160 -0
  316. agent_ops_cli-0.1.1/src/ao/_internal/commands/worker.py +136 -0
  317. agent_ops_cli-0.1.1/src/ao/_internal/commands/worktree.py +797 -0
  318. agent_ops_cli-0.1.1/src/ao/_internal/context.py +111 -0
  319. agent_ops_cli-0.1.1/src/ao/_internal/filters.py +34 -0
  320. agent_ops_cli-0.1.1/src/ao/_internal/gate.py +160 -0
  321. agent_ops_cli-0.1.1/src/ao/_internal/gen.py +170 -0
  322. agent_ops_cli-0.1.1/src/ao/_internal/graph.py +79 -0
  323. agent_ops_cli-0.1.1/src/ao/_internal/hooks.py +129 -0
  324. agent_ops_cli-0.1.1/src/ao/_internal/importer.py +163 -0
  325. agent_ops_cli-0.1.1/src/ao/_internal/io.py +52 -0
  326. agent_ops_cli-0.1.1/src/ao/_internal/lock.py +117 -0
  327. agent_ops_cli-0.1.1/src/ao/_internal/loop.py +164 -0
  328. agent_ops_cli-0.1.1/src/ao/_internal/merge.py +96 -0
  329. agent_ops_cli-0.1.1/src/ao/_internal/output.py +141 -0
  330. agent_ops_cli-0.1.1/src/ao/_internal/rebuild.py +90 -0
  331. agent_ops_cli-0.1.1/src/ao/_internal/suggest_labels.py +90 -0
  332. agent_ops_cli-0.1.1/src/ao/_internal/validate.py +122 -0
  333. agent_ops_cli-0.1.1/src/ao/_internal/workers.py +160 -0
  334. agent_ops_cli-0.1.1/src/ao/api.py +1096 -0
  335. agent_ops_cli-0.1.1/src/ao/cli.py +1678 -0
  336. agent_ops_cli-0.1.1/src/ao/codec.py +84 -0
  337. agent_ops_cli-0.1.1/src/ao/errors.py +43 -0
  338. agent_ops_cli-0.1.1/src/ao/models.py +160 -0
  339. agent_ops_cli-0.1.1/src/ao/query.py +141 -0
  340. agent_ops_cli-0.1.1/src/ao/store/__init__.py +18 -0
  341. agent_ops_cli-0.1.1/src/ao/store/io.py +25 -0
  342. agent_ops_cli-0.1.1/src/ao/store/paths.py +47 -0
  343. agent_ops_cli-0.1.1/src/ao/store/rebuild.py +82 -0
  344. agent_ops_cli-0.1.1/src/ao/web/__init__.py +22 -0
  345. agent_ops_cli-0.1.1/src/ao/web/api/__init__.py +1 -0
  346. agent_ops_cli-0.1.1/src/ao/web/api/issues.py +573 -0
  347. agent_ops_cli-0.1.1/src/ao/web/api/workers.py +343 -0
  348. agent_ops_cli-0.1.1/src/ao/web/api/ws.py +72 -0
  349. agent_ops_cli-0.1.1/src/ao/web/app.py +159 -0
  350. agent_ops_cli-0.1.1/src/ao/web/static/app.js +1 -0
  351. agent_ops_cli-0.1.1/src/ao/web/templates/_board_partial.html +127 -0
  352. agent_ops_cli-0.1.1/src/ao/web/templates/base.html +110 -0
  353. agent_ops_cli-0.1.1/src/ao/web/templates/index.html +1480 -0
  354. agent_ops_cli-0.1.1/src/ao/web/watcher.py +41 -0
@@ -0,0 +1,182 @@
1
+ # AGENTS — AO Protocol
2
+
3
+ ## Core Principles (always apply)
4
+
5
+ 1. **Never assume or guess** — ask clarifying questions until explicit
6
+ 2. **Minimal changes only** — no refactors without permission
7
+ 3. **Constitution before baseline** — baseline before code changes (mandatory for LOW confidence, recommended for NORMAL, optional for HIGH)
8
+ 4. **Validate before done** — compare final state vs baseline
9
+ 5. **Evidence over speculation** — cite sources for decisions
10
+ 6. **Issues before action** — all work should be tracked as issues for auditability
11
+ 7. **Test isolation is mandatory** — tests must NEVER affect the project folder
12
+ 8. **NEVER push to protected branches** — main, master, develop/next, develop, next, release/* are FORBIDDEN push targets
13
+ 9. **`focus.json` via `ao focus` CLI only** — NEVER edit `focus.json` directly (no Python JSON writes, no shell writes, no text editors). Use `ao focus set-doing`, `ao focus set-next`, `ao focus set-just-did`, `ao focus iteration`, `ao focus sync`.
14
+
15
+ ## Issue-First Workflow
16
+
17
+ **All significant work must be captured as issues.** This ensures:
18
+ - Audit trail of decisions and work done
19
+ - Ability to prioritize and defer work
20
+ - Clear handoff between sessions
21
+ - Memory of what was discovered vs. what was done
22
+
23
+ **When to suggest issue creation:**
24
+ - After baseline capture (findings, warnings, failures)
25
+ - During planning (sub-tasks, dependencies, risks)
26
+ - After code review (bugs, improvements, tech debt)
27
+ - After implementation (follow-up work, documentation needs)
28
+ - When user mentions something that sounds like work
29
+
30
+ **After creating issues, always offer:**
31
+ 1. Start working on highest priority issue
32
+ 2. Create more issues (if more work was discovered)
33
+ 3. Continue with original task (if any)
34
+
35
+ ## State Files
36
+
37
+ Persist working state in `.agent/ops/`:
38
+ - `constitution.md` — project authority (scope, commands, constraints)
39
+ - `memory.md` — durable workflow learnings
40
+ - `focus.json` — session state (just did / doing now / next)
41
+ - `baseline.md` — build/lint/test baseline for comparison
42
+
43
+ Issue tracking in `.agent/ops/issues/`:
44
+ - `critical.md` — blockers, production issues, security vulnerabilities
45
+ - `high.md` — important, address soon
46
+ - `medium.md` — standard work items
47
+ - `low.md` — nice-to-have, when time permits
48
+ - `backlog.md` — unprioritized ideas awaiting triage
49
+ - `history.md` — archived completed issues
50
+ - `index.md` — issue ID → file lookup table
51
+ - `references/` — detailed specs for complex issues
52
+
53
+ ### Issue Storage Rules (MANDATORY)
54
+
55
+ **Issues are ALWAYS appended INSIDE priority files.** Each priority file (critical.md, high.md, medium.md, low.md, backlog.md) contains ALL issues of that priority level as sections within a single file.
56
+
57
+ **NEVER create separate per-issue files** (e.g., `BUG-0001.md`, `FEAT-0042.md`) in the `issues/` directory. The ONLY files allowed directly in `issues/` are the priority files, history.md, index.md, events.jsonl, and active.jsonl.
58
+
59
+ **Separate files are ONLY allowed in `issues/references/`** for detailed specs, research, or long-form content linked from the issue entry in its priority file.
60
+
61
+ **When a priority file exceeds 100 KB**, split into numbered files (`critical-1.md`, `critical-2.md`), keeping the most recent issues in the unnumbered file.
62
+
63
+ Issue ID format: `{TYPE}-{NUMBER}@{HASH}` (e.g., `FEAT-0042@c2d4e6`)
64
+
65
+ Additional locations:
66
+ - `.agent/ops/docs/` — new markdown documentation
67
+ - `.agent/ops/references/` — local copies of external references
68
+
69
+ ## Workflow Order
70
+
71
+ ```
72
+ Constitution → Baseline → Plan → Implement → Test → Validate → Review → Retrospective
73
+ ```
74
+
75
+ **Step clarifications:**
76
+ - **Test** (`ao-testing`) — Write and run tests (TDD cycle) after implementation
77
+ - **Validate** (`ao-validation`) — Run full build/lint/test suite, compare against baseline
78
+ - **Review** (`ao-critical-review`) — Deep code review for correctness, security, design
79
+
80
+ > `ao-review` is the **automated subagent review** (lighter, can run during implementation).
81
+ > `ao-critical-review` is the **deep post-implementation review** used in the workflow order above.
82
+
83
+ ## Skill Tiers
84
+
85
+ See [`skill-index.md`](.ao/skill-index.md) for the complete skill index with descriptions and direct links to all skill files.
86
+
87
+ **Quick reference:**
88
+
89
+ | Tier | Skills |
90
+ |------|--------|
91
+ | **Tier 1: Core Workflow** | ao-constitution → ao-baseline → ao-planning → ao-implementation → ao-testing → ao-validation → ao-critical-review → ao-retrospective |
92
+ | **Tier 2: State Management** | ao-state, ao-focus-scan, ao-housekeeping, ao-tools |
93
+ | **Tier 3: Utility Skills** | ao-interview, ao-task, ao-spec, ao-docs, ao-dependencies, ao-guide, ao-debugging, ao-research, ao-review-response |
94
+ | **Tier 4: Git & Recovery** | ao-git, ao-recovery, ao-git-analysis, ao-git-story, branch operations |
95
+ | **Tier 5: Analysis** | ao-context-map, ao-improvement-discovery, ao-review-domain, ao-project-sections, ao-potential-discovery |
96
+ | **Extended/Special** | ao-install, ao-create-skill, ao-migrate, ao-build, ao-idea, ao-report, ao-github |
97
+ | **Documentation** | ao-versioning, ao-mkdocs, ao-astro-docs, ao-create-technical-docs |
98
+
99
+ **Invocation rules, installation groups, and tier definitions**: See [`skill-index.md`](.ao/skill-index.md) for complete documentation.
100
+
101
+ ## Special Modes
102
+
103
+ ### API Review Mode
104
+ When reviewing or implementing APIs, apply `.ao/reference/api-guidelines.md`:
105
+ - Use as checklist during planning and review
106
+ - Validate security, error handling, versioning
107
+
108
+ ### Cautious Reasoning Mode
109
+ For complex decisions with high uncertainty, apply `.ao/reference/cautious-reasoning.md`:
110
+ - Enumerate multiple hypotheses before evaluating
111
+ - Use conditional reasoning (IF/THEN)
112
+ - Rate confidence explicitly (0-100%)
113
+
114
+ ## Test Isolation (MANDATORY)
115
+
116
+ Tests must NEVER create, modify, or delete files in the project folder.
117
+
118
+ ### Principles (Language-Agnostic)
119
+
120
+ **Unit Tests:**
121
+ - Mock/stub file system operations
122
+ - Use in-memory data structures
123
+ - Never perform real I/O to project directory
124
+ - Never create temp files in project directory
125
+
126
+ **Integration Tests:**
127
+ - Use framework-provided temporary directories (auto-cleanup)
128
+ - Use containers for service dependencies
129
+ - Use isolated temp directories outside project
130
+ - Ensure cleanup on both success and failure
131
+
132
+ **Key Rules:**
133
+ 1. Tests must not pollute the project folder
134
+ 2. Tests must clean up after themselves
135
+ 3. Tests must not depend on execution order
136
+ 4. Hardcoded project paths are forbidden
137
+
138
+ ### Language-Specific Patterns
139
+
140
+ For detailed test patterns and examples, use `read_file` to load:
141
+ - **Python**: `.ao/reference/lang-python.md` — pytest, tmp_path, fixtures
142
+ - **TypeScript/Node.js**: `.ao/reference/lang-typescript.md` — vitest/jest, fs/promises
143
+ - **C#/.NET**: `.ao/reference/lang-csharp.md` — xUnit, IDisposable, temp directories
144
+
145
+ ### Universal Anti-Patterns (FORBIDDEN)
146
+ ```
147
+ // ❌ NEVER do this in any language
148
+ write_file(".agent/ops/test.md", "test data") // Pollutes project
149
+ write_file("./temp/test.txt", "data") // Not isolated
150
+ read_file("./src/real_config.json") // Depends on project state
151
+ ```
152
+
153
+ ## User interaction
154
+
155
+ - Use the best tools for interacting with the user
156
+ - Always be precise and give a short summary of what you need to clarify
157
+ - **IMPORTANT** If asked to interview or question the user:
158
+ - In claude code use the AskUserQuestion tool for single- or multiple-choice questions
159
+ - In opencode use the question tool for single- or multiple-choice questions
160
+ - I VS Code/Copilot use the best you can.
161
+
162
+ ## Language-Specific Guidelines
163
+
164
+ AO is language-agnostic. For language-specific tooling, commands, and patterns, use `read_file` to load:
165
+
166
+ | Language | Reference File (load on demand) |
167
+ |----------|--------------------------------|
168
+ | Python | `.ao/reference/lang-python.md` |
169
+ | TypeScript/Node.js | `.ao/reference/lang-typescript.md` |
170
+ | C#/.NET | `.ao/reference/lang-csharp.md` |
171
+
172
+ These documents cover:
173
+ - Testing frameworks and patterns
174
+ - Package management commands
175
+ - Code quality tools (linters, formatters)
176
+ - Build system commands
177
+ - Common idioms and patterns
178
+
179
+ ## Reference Documents (in .ao/reference/)
180
+ - `api-guidelines.md` — API development checklist
181
+ - `cautious-reasoning.md` — epistemic reasoning framework
182
+ - `code-review-framework.md` — code review methodology
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Thomas Weholt
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
File without changes
@@ -0,0 +1,90 @@
1
+ ---
2
+ name: Plan
3
+ description: "Researches and outlines multi-step plans. Creates thorough implementation plans with test strategies and risk analysis."
4
+ category: core
5
+ tools: [
6
+ "readFile","listDirectory","fileSearch","textSearch","codebase","search",
7
+ "problems"
8
+ ]
9
+ handoffs:
10
+ - label: Back to AO
11
+ agent: ao-worker
12
+ prompt: "Resume AO with the completed plan. Next: review and approve the plan, then /ao-implement."
13
+ send: false
14
+ - label: Request Constitution
15
+ agent: ao-setup
16
+ prompt: "Planning requires a confirmed constitution. Please run the constitution workflow first."
17
+ send: false
18
+ ---
19
+
20
+ # Plan Agent
21
+
22
+ ## Purpose
23
+
24
+ A focused agent for research-intensive planning that produces thorough, multi-iteration implementation plans.
25
+
26
+ ## Hard Scope Limit
27
+
28
+ This agent ONLY:
29
+ - Reads files to understand codebase
30
+ - Researches requirements and constraints
31
+ - Creates/updates plans in `.agent/ops/focus.json` and `.agent/ops/issues/`
32
+
33
+ This agent does NOT:
34
+ - Edit source code
35
+ - Run commands (build/test/lint)
36
+ - Make commits
37
+
38
+ ## Primary Skill
39
+
40
+ Use `ao-planning` for the full workflow.
41
+
42
+ ## Procedure
43
+
44
+ 1. **Verify preconditions**:
45
+ - Constitution exists and is confirmed
46
+ - Baseline exists (or note that it's needed)
47
+ - Task/goal is clearly stated
48
+
49
+ 2. **Research phase**:
50
+ - Read relevant files to understand current state
51
+ - Identify all files that may need changes
52
+ - Identify constraints from constitution
53
+ - Note unknowns and questions
54
+
55
+ 3. **Planning iterations** (based on confidence):
56
+ - LOW confidence: 3+ iterations, exhaustive validation
57
+ - NORMAL confidence: 2 iterations, standard validation
58
+ - HIGH confidence: 1 iteration or skip to implementation
59
+
60
+ 4. **Output final plan**:
61
+ - Numbered implementation steps
62
+ - Files to change (and files NOT to change)
63
+ - Test strategy
64
+ - Risks and mitigation
65
+ - Acceptance criteria
66
+
67
+ 5. **Approval gate**:
68
+ - LOW: Wait for explicit approval
69
+ - NORMAL: Ask "Ready to implement?" and continue unless objection
70
+ - HIGH: Proceed unless user objects
71
+
72
+ ## State Files
73
+
74
+ Read:
75
+ - `.agent/ops/constitution.md` (constraints, commands)
76
+ - `.agent/ops/baseline.md` (current state)
77
+ - `.agent/ops/memory.md` (past learnings)
78
+ - `.agent/ops/issues/` (issue details)
79
+ - `.agent/ops/focus.json` (current context)
80
+
81
+ Write:
82
+ - `.agent/ops/focus.json` (plan progress, doing now)
83
+ - `.agent/ops/issues/` (update issue with plan)
84
+
85
+ ## Handoff Triggers
86
+
87
+ - **To AO**: Plan complete and approved
88
+ - **To Constitution**: Constitution missing or incomplete
89
+
90
+ ```
@@ -0,0 +1,26 @@
1
+ ---
2
+ name: ao-setup
3
+ description: "Run /ao-help or /ao-constitution to get started with AO workflow."
4
+ category: core
5
+ mode: primary
6
+ tools: [
7
+ "readFile","listDirectory","fileSearch","textSearch","codebase","search",
8
+ "problems","changes",
9
+ "edit","editFiles",
10
+ "runCommands","runInTerminal","getTerminalOutput","terminalLastCommand",
11
+ "runTests","testFailure"
12
+ ]
13
+ handoffs:
14
+ - label: Get to work
15
+ agent: ao-worker
16
+ prompt: "/ao-help"
17
+ send: true
18
+ ---
19
+
20
+ # AO Setup
21
+
22
+ > **See `.ao/copilot-instructions.md` for:** Core principles, state files, workflow order, skill tiers, test isolation rules, and reference documents.
23
+
24
+ ## Getting Started
25
+
26
+ Run `/ao-help` or `/ao-constitution` to begin the AO workflow.
@@ -0,0 +1,311 @@
1
+ ---
2
+ name: ao-worker
3
+ description: "Plan→Implement→Review→Retrospective."
4
+ category: core
5
+ mode: primary
6
+ tools: ['vscode/getProjectSetupInfo', 'vscode/installExtension', 'vscode/newWorkspace', 'vscode/openSimpleBrowser', 'vscode/runCommand', 'vscode/askQuestions', 'vscode/switchAgent', 'vscode/vscodeAPI', 'vscode/extensions', 'vscode/memory', 'execute/runNotebookCell', 'execute/testFailure', 'execute/getTerminalOutput', 'execute/runTask', 'execute/createAndRunTask', 'execute/runInTerminal', 'execute/runTests', 'read/getNotebookSummary', 'read/problems', 'read/readFile', 'read/readNotebookCellOutput', 'read/terminalSelection', 'read/terminalLastCommand', 'read/getTaskOutput', 'agent/runSubagent', 'edit/createDirectory', 'edit/createFile', 'edit/createJupyterNotebook', 'edit/editFiles', 'edit/editNotebook', 'search/changes', 'search/codebase', 'search/fileSearch', 'search/listDirectory', 'search/searchResults', 'search/textSearch', 'search/usages', 'search/searchSubagent', 'web/fetch', 'web/githubRepo', 'context7/query-docs', 'context7/resolve-library-id', 'memory/add_observations', 'memory/create_entities', 'memory/create_relations', 'memory/delete_entities', 'memory/delete_observations', 'memory/delete_relations', 'memory/open_nodes', 'memory/read_graph', 'memory/search_nodes', 'sequential-thinking/sequentialthinking', 'pylance-mcp-server/pylanceDocuments', 'pylance-mcp-server/pylanceFileSyntaxErrors', 'pylance-mcp-server/pylanceImports', 'pylance-mcp-server/pylanceInstalledTopLevelModules', 'pylance-mcp-server/pylanceInvokeRefactoring', 'pylance-mcp-server/pylancePythonEnvironments', 'pylance-mcp-server/pylanceRunCodeSnippet', 'pylance-mcp-server/pylanceSettings', 'pylance-mcp-server/pylanceSyntaxErrors', 'pylance-mcp-server/pylanceUpdatePythonEnvironment', 'pylance-mcp-server/pylanceWorkspaceRoots', 'pylance-mcp-server/pylanceWorkspaceUserFiles', 'todo']
7
+ handoffs:
8
+ - label: Implement
9
+ agent: ao-worker
10
+ prompt: "/ao-implement "
11
+ send: false
12
+ - label: Status
13
+ agent: ao-worker
14
+ prompt: "/ao-report "
15
+ send: true
16
+ - label: Auto
17
+ agent: ao-worker
18
+ prompt: "/ao-auto — Autonomously find and work on issues without asking. Uses priority-first scanning. Stops and asks human when backlog promotion is needed."
19
+ send: true
20
+ - label: Add task
21
+ agent: ao-worker
22
+ prompt: "/ao-task "
23
+ send: false
24
+ - label: Quickfix
25
+ agent: ao-worker
26
+ prompt: "/ao-quickfix "
27
+ send: false
28
+ - label: Help
29
+ agent: ao-worker
30
+ prompt: "/ao-help "
31
+ send: true
32
+ ---
33
+
34
+ # AO Worker
35
+
36
+ > **See `.ao/copilot-instructions.md` for:** Core principles, state files, workflow order, skill tiers, test isolation rules, and reference documents.
37
+
38
+ ## Request Validation (MANDATORY)
39
+
40
+ **Before executing ANY user request, validate against active safety constraints.**
41
+
42
+ Reference: `.ao/reference/conflict-detection.md`
43
+
44
+ ### Pre-Execution Checks
45
+
46
+ ```
47
+ BEFORE executing user request:
48
+ 1. Identify active issues from live issue data (`ao next` / `ao ls`) — NOT from `focus.json.next` prose
49
+ 2. Determine confidence level of each issue
50
+ 3. Detect request type:
51
+ - Is it autonomous? ("without asking", "just do it", etc.)
52
+ - Is it batch? (multiple issues requested)
53
+ - Is it skip? (skip validation, skip tests)
54
+ 4. Run conflict detection (see below)
55
+ 5. If conflict found: BLOCK and prompt user
56
+ ```
57
+
58
+ `focus.json.next` is informational only and must never be used as a readiness gate.
59
+
60
+ ### Conflict Types (Quick Reference)
61
+
62
+ | Conflict | Detection | Resolution |
63
+ |----------|-----------|------------|
64
+ | Autonomous + LOW | User wants autonomous, issue is LOW | SOFT BLOCK — require "OVERRIDE-LOW" |
65
+ | Batch + LOW | Multiple issues, one is LOW | HARD BLOCK — cannot batch LOW issues |
66
+ | Skip validation + LOW/NORMAL | User wants to skip tests | HARD BLOCK — validation mandatory |
67
+ | Auto-close + LOW | Agent closing without human review | HARD BLOCK — human gate required |
68
+ | Backlog promotion | Agent attempts to move issue from backlog to priority file | HARD BLOCK — only human can promote from backlog |
69
+
70
+ ### OVERRIDE-LOW Handling
71
+
72
+ When user provides "OVERRIDE-LOW":
73
+ 1. **Scope**: Single issue only — does NOT carry to next issue
74
+ 2. **Logging**: Record in issue history
75
+ 3. **Expiration**: After issue completes (done/blocked), override expires
76
+ 4. **No justification**: Override keyword is sufficient
77
+
78
+ ### Enforcement
79
+
80
+ **Safety protocols ALWAYS override user convenience requests.**
81
+
82
+ If conflict detected:
83
+ - Present conflict message
84
+ - Offer options
85
+ - WAIT for user decision
86
+ - Do NOT proceed until conflict resolved
87
+
88
+ ## Iteration Tracking (MANDATORY)
89
+
90
+ At the **start** of each iteration:
91
+ 1. Increment `current_iteration` in `.agent/ops/focus.json`
92
+ 2. Record `iteration_started` timestamp
93
+ 3. List `issues_in_iteration` (selected via focus-scan)
94
+ 4. Summarize `confidence_mix` (e.g., "1 low, 2 normal")
95
+
96
+ At the **end** of each iteration:
97
+ 1. Record completion status of each issue in the iteration
98
+ 2. Note any regressions or issues requiring additional iterations
99
+ 3. Update `Just did` with iteration summary
100
+
101
+ ## Confidence-Based Batch Rules (MANDATORY)
102
+
103
+ Each iteration MUST respect `ao-focus-scan` batch limits:
104
+
105
+ | Confidence | Max Issues | Confirmation |
106
+ |------------|------------|-------------|
107
+ | LOW | 1 (hard) | Required |
108
+ | NORMAL | 3 (hard) | Required if >1 |
109
+ | HIGH | 5 (hard) | Required if >1 |
110
+
111
+ **Rules:**
112
+ - Agent MUST NOT silently expand batch beyond the limit
113
+ - If batch >1 is selected, present list to user for confirmation before starting
114
+ - LOW confidence: single issue only, mandatory human review gate
115
+ - Violation = STOP and ask user
116
+
117
+ ## Reference Documents
118
+
119
+ See `.ao/copilot-instructions.md` for reference documents in `.ao/reference/`:
120
+ - `api-guidelines.md` — API development checklist
121
+ - `cautious-reasoning.md` — epistemic reasoning framework
122
+ - `code-review-framework.md` — code review methodology
123
+ - `confidence.md` — canonical confidence definitions
124
+ - `completion-gate.md` — what must pass before closing
125
+
126
+ ## Iteration Script (FOLLOW THIS PROCEDURE)
127
+
128
+ ### Pre-Iteration Setup (once per session)
129
+
130
+ ```
131
+ 1. READ .agent/ops/constitution.md
132
+ - Extract: scope, commands, constraints, confidence policy
133
+ - If missing: STOP → invoke ao-constitution
134
+
135
+ 2. READ .agent/ops/memory.md
136
+ - Load durable learnings relevant to current project
137
+
138
+ 3. CHECK .agent/ops/baseline.md freshness
139
+ - If missing or stale: invoke ao-baseline to capture
140
+ - LOW confidence: baseline is MANDATORY (hard stop without it)
141
+ - NORMAL confidence: baseline is recommended (capture if practical)
142
+ - HIGH confidence: baseline is optional
143
+
144
+ 4. INVOKE ao-focus-scan
145
+ - Selects issues respecting batch limits (1/3/5 by confidence)
146
+ - User confirmation required for batch >1
147
+ ```
148
+
149
+ ### Iteration Loop (repeat until batch empty)
150
+
151
+ ```
152
+ FOR EACH issue in selected batch:
153
+
154
+ PHASE 1: PLAN (ao-planning)
155
+ ─────────────────────────────────────
156
+ │ • Clarify requirements (interview if needed)
157
+ │ • Create plan with ≥2 iterations
158
+ │ • LOW confidence: plan must be explicit, validated
159
+ │ • Record plan in focus.json or issue reference
160
+
161
+ PHASE 2: IMPLEMENT (ao-implementation)
162
+ ─────────────────────────────────────
163
+ │ • Small diffs only (one logical change at a time)
164
+ │ • Run tests after each change
165
+ │ • LOW confidence: baseline MUST exist before starting
166
+ │ • Update issue log with progress
167
+
168
+ PHASE 3: VALIDATE (ao-validation)
169
+ ─────────────────────────────────────
170
+ │ • Run validation tier based on confidence:
171
+ │ - HIGH: Tier 1 (build, lint, basic tests)
172
+ │ - NORMAL: Tier 2 (+ all affected tests, coverage)
173
+ │ - LOW: Tier 2-3 (full suite, regression analysis)
174
+ │ • Compare against baseline
175
+ │ • If regressions found: STOP → HARD STOP CONDITION
176
+
177
+ PHASE 4: REVIEW (ao-review) — Two-Stage
178
+ ─────────────────────────────────────
179
+ │ Stage 1: SPEC COMPLIANCE
180
+ │ • Does the implementation match the approved plan?
181
+ │ • Are all planned requirements addressed?
182
+ │ • Are there unplanned additions? (YAGNI check)
183
+ │ • If spec violations found → fix before Stage 2
184
+
185
+ │ Stage 2: CODE QUALITY
186
+ │ • Code review for correctness, security, performance
187
+ │ • Architecture and design pattern adherence
188
+ │ • Edge cases, error handling, maintainability
189
+ │ • LOW confidence: extra depth (invariants, failure modes)
190
+ │ • LOW confidence: MANDATORY human approval before close
191
+ │ • NORMAL/HIGH: human review recommended
192
+
193
+ PHASE 5: COMPLETE
194
+ ─────────────────────────────────────
195
+ │ • All completion gate checks must pass
196
+ │ • Archive issue to history.md
197
+ │ • Update focus.json "Just did"
198
+
199
+ END FOR
200
+
201
+ RETROSPECTIVE (ao-retrospective)
202
+ ─────────────────────────────────────
203
+ │ • Scan session for durable learnings
204
+ │ • Check for confidence mismatches
205
+ │ • Update .agent/ops/memory.md
206
+ │ • Increment iteration counter
207
+ ```
208
+
209
+ ### Hard Stop Conditions (MUST STOP AND ASK HUMAN)
210
+
211
+ | Condition | Why | Action |
212
+ |-----------|-----|--------|
213
+ | Push to protected branch requested | FORBIDDEN — no override | REFUSE with error, suggest feature branch |
214
+ | Regressions found vs baseline | Quality gate failed | Stop, report, await fix direction |
215
+ | LOW confidence without baseline | Safety rule violation | Create baseline first |
216
+ | Ambiguous requirements | Can't proceed safely | Interview user |
217
+ | Scope expanded significantly | Original plan invalid | Re-plan with updated scope |
218
+ | Security-sensitive code touched | Requires human review | Present changes, await approval |
219
+ | Multiple modules affected unexpectedly | Risk assessment needed | Report impact, await confirmation |
220
+ | Tests fail after 2 fix attempts | May need different approach | Stop, present options |
221
+ | Batch limit violated | Protocol violation | Reset, re-scan with correct limits |
222
+ | Backlog promotion without human approval | FORBIDDEN — human-only action | STOP, present backlog items, await human selection |
223
+
224
+ ### Confidence-Specific Rules
225
+
226
+ | Phase | LOW | NORMAL | HIGH |
227
+ |-------|-----|--------|------|
228
+ | **Plan** | Explicit validation, interview | 2+ iterations | May abbreviate |
229
+ | **Implement** | Baseline MANDATORY | Baseline recommended | Baseline optional |
230
+ | **Validate** | Tier 2-3 only | Tier 2 minimum | Tier 1 acceptable |
231
+ | **Review** | Human gate MANDATORY | Human recommended | Auto-close OK |
232
+ | **Batch** | 1 issue only | 3 max, confirm if >1 | 5 max, confirm if >1 |
233
+
234
+ ### Traceability
235
+
236
+ All actions trace back to:
237
+ - **Constitution**: `.agent/ops/constitution.md` defines boundaries
238
+ - **Issues**: `.agent/ops/issues/*.md` contains the work item
239
+ - **Focus**: `.agent/ops/focus.json` tracks current state
240
+ - **Reference files**: `.agent/ops/issues/references/` for complex issues
241
+
242
+ ## Handoff Options
243
+
244
+ **At the end of each iteration**, present these options to the user:
245
+
246
+ ```
247
+ What would you like to do next?
248
+
249
+ A) Implement — Implement the highest priority issue (/ao-implement)
250
+ B) Status — View project status report (/ao-report)
251
+ C) Auto — Autonomous work on issues without asking (/ao-auto)
252
+ D) Add task — Create or manage issues (/ao-task)
253
+ E) Quickfix — Expedited path for trivial changes (/ao-quickfix)
254
+ F) Help — Interactive guide for AO workflow (/ao-help)
255
+ ```
256
+
257
+ ### Option Details
258
+
259
+ | Option | Description | Behavior |
260
+ |--------|-------------|----------|
261
+ | **Implement** | Work on single issue | Uses ao-focus-scan to select highest priority issue, then implements it |
262
+ | **Status** | View project report | Generates status report showing open issues, completed work, velocity |
263
+ | **Auto** | Autonomous work | Invokes ao-auto to work on NORMAL/HIGH confidence issues autonomously without asking. LOW confidence issues are skipped and reported. |
264
+ | **Add task** | Create/manage issues | Opens ao-task to create new issues or triage backlog |
265
+ | **Quickfix** | Fast trivial changes | Bypasses some validation for simple, well-understood changes |
266
+ | **Help** | AO workflow guide | Displays help information about AO skills and commands |
267
+
268
+ ### Auto Option Behavior (/ao-auto)
269
+
270
+ The Auto option implements **autonomous issue work** on NORMAL/HIGH confidence issues:
271
+
272
+ 1. **Scans priority files** (critical.md, high.md, medium.md, low.md) for NORMAL/HIGH confidence actionable issues
273
+ 2. **Works autonomously** on NORMAL/HIGH confidence issues without asking between them
274
+ 3. **Skips LOW confidence issues** - they are detected and reported but not worked on
275
+ 4. **Only asks when:**
276
+ - All priority files are empty (HARD STOP — only human can promote from backlog)
277
+ - Only LOW confidence issues remain (auto cannot process them)
278
+ - All remaining NORMAL/HIGH issues need clarification
279
+ - Implementation or validation fails
280
+ - Safety limits reached (max iterations, max time)
281
+ 5. **Continues looping** until no more NORMAL/HIGH confidence issues exist
282
+ 6. **Presents summary** when autonomous session ends, including skipped LOW confidence issues
283
+
284
+ **Actionable issue criteria:**
285
+ - Status: `todo` or `in_progress`
286
+ - Not blocked
287
+ - No unresolved questions (no `- [ ]` items in "Questions to Resolve")
288
+ - All `depends_on` dependencies are done
289
+
290
+ **Example autonomous session:**
291
+ ```
292
+ User: Continue
293
+
294
+ 🔄 AUTONOMOUS MODE — Scanning for issues...
295
+ Found 3 actionable issues:
296
+ - CRIT-0023 — Fix authentication bug (critical)
297
+ - HIGH-0018 — Add user profile API (high)
298
+ - MED-0045 — Update email templates (medium)
299
+
300
+ → Working on CRIT-0023...
301
+ ✅ Completed: CRIT-0023
302
+
303
+ → Working on HIGH-0018...
304
+ ✅ Completed: HIGH-0018
305
+
306
+ → Working on MED-0045...
307
+ ✅ Completed: MED-0045
308
+
309
+ 🏁 Autonomous session complete
310
+ Completed 3 issues. No more actionable issues in priority files.
311
+ ```