@rosetears/aili-pi 0.1.0

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 (531) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +109 -0
  3. package/THIRD_PARTY_NOTICES.md +64 -0
  4. package/extensions/index.ts +6 -0
  5. package/install.sh +5 -0
  6. package/manifests/adapter-evidence.json +45 -0
  7. package/manifests/capabilities.json +124 -0
  8. package/manifests/live-verification.json +26 -0
  9. package/manifests/provenance.json +71 -0
  10. package/manifests/roles.json +474 -0
  11. package/manifests/sbom.json +7797 -0
  12. package/manifests/skill-compatibility.json +8100 -0
  13. package/manifests/subagent-provenance.json +37 -0
  14. package/package.json +91 -0
  15. package/prompts/build.md +8 -0
  16. package/prompts/define.md +8 -0
  17. package/prompts/ideate.md +8 -0
  18. package/prompts/local-review.md +8 -0
  19. package/prompts/ship.md +8 -0
  20. package/roles/agent-evaluator.md +47 -0
  21. package/roles/ai-regression-scout.md +47 -0
  22. package/roles/browser-qa-runner.md +47 -0
  23. package/roles/code-reviewer.md +47 -0
  24. package/roles/code-scout.md +47 -0
  25. package/roles/convergence-reviewer.md +55 -0
  26. package/roles/doc-researcher.md +47 -0
  27. package/roles/e2e-artifact-runner.md +47 -0
  28. package/roles/implementer.md +47 -0
  29. package/roles/opensource-sanitizer.md +47 -0
  30. package/roles/plan-auditor.md +47 -0
  31. package/roles/pr-test-analyzer.md +47 -0
  32. package/roles/security-auditor.md +47 -0
  33. package/roles/silent-failure-reviewer.md +47 -0
  34. package/roles/spec-miner.md +47 -0
  35. package/roles/test-coverage-reviewer.md +47 -0
  36. package/roles/test-engineer.md +48 -0
  37. package/roles/web-performance-auditor.md +47 -0
  38. package/roles/web-researcher.md +47 -0
  39. package/scripts/apply-adapter-evidence.ts +73 -0
  40. package/scripts/bootstrap.sh +180 -0
  41. package/scripts/generate-provenance.ts +143 -0
  42. package/scripts/local-package-e2e.ts +51 -0
  43. package/scripts/sync-roles.ts +213 -0
  44. package/scripts/sync-skills.ts +356 -0
  45. package/scripts/validate-runtime.ts +11 -0
  46. package/skills/academic-paper-review/SKILL.md +81 -0
  47. package/skills/agents-md-initialization/SKILL.md +121 -0
  48. package/skills/agents-md-initialization/references/agents-template.md +83 -0
  49. package/skills/agents-md-initialization/references/agents_md.py +215 -0
  50. package/skills/ai-regression-scout/SKILL.md +24 -0
  51. package/skills/aili-delivery-flow/SKILL.md +125 -0
  52. package/skills/aili-delivery-flow/references/artifact-contracts.md +138 -0
  53. package/skills/aili-delivery-flow/references/backend-routing.md +40 -0
  54. package/skills/aili-delivery-flow/references/build-execution-loop.md +113 -0
  55. package/skills/aili-delivery-flow/references/build-goal-mode.md +3 -0
  56. package/skills/aili-delivery-flow/references/direct-vs-delegated-work.md +38 -0
  57. package/skills/aili-delivery-flow/references/implementation-packages.md +54 -0
  58. package/skills/aili-delivery-flow/references/lifecycle.md +127 -0
  59. package/skills/aili-delivery-flow/references/protocols/acceptance-test-plan.md +18 -0
  60. package/skills/aili-delivery-flow/references/protocols/alignment-questionnaire.md +10 -0
  61. package/skills/aili-delivery-flow/references/protocols/closeout-report.md +101 -0
  62. package/skills/aili-delivery-flow/references/protocols/compact-evidence-pack.md +46 -0
  63. package/skills/aili-delivery-flow/references/protocols/idea-brief.md +10 -0
  64. package/skills/aili-delivery-flow/references/protocols/implementation-package.md +53 -0
  65. package/skills/aili-delivery-flow/references/protocols/research-evidence-pack.md +19 -0
  66. package/skills/aili-delivery-flow/references/protocols/review-report.md +7 -0
  67. package/skills/aili-delivery-flow/references/protocols/spec-draft.md +12 -0
  68. package/skills/aili-delivery-flow/references/protocols/subagent-result.md +60 -0
  69. package/skills/aili-delivery-flow/references/protocols/subagent-task-packet.md +29 -0
  70. package/skills/aili-delivery-flow/references/protocols/worktree-context.md +109 -0
  71. package/skills/aili-delivery-flow/references/questionnaire-policy.md +62 -0
  72. package/skills/aili-delivery-flow/references/review-repair-loop.md +16 -0
  73. package/skills/aili-delivery-flow/references/test-document-policy.md +35 -0
  74. package/skills/android-native-dev/SKILL.md +722 -0
  75. package/skills/android-native-dev/references/accessibility.md +209 -0
  76. package/skills/android-native-dev/references/adaptive-screens.md +231 -0
  77. package/skills/android-native-dev/references/design-style-guide.md +365 -0
  78. package/skills/android-native-dev/references/functional-requirements.md +229 -0
  79. package/skills/android-native-dev/references/motion-system.md +203 -0
  80. package/skills/android-native-dev/references/performance-stability.md +223 -0
  81. package/skills/android-native-dev/references/privacy-security.md +244 -0
  82. package/skills/android-native-dev/references/testing.md +554 -0
  83. package/skills/android-native-dev/references/visual-design.md +246 -0
  84. package/skills/api-and-interface-design/SKILL.md +318 -0
  85. package/skills/browser-qa/SKILL.md +32 -0
  86. package/skills/browser-testing-with-devtools/SKILL.md +323 -0
  87. package/skills/build-failure-repair/SKILL.md +49 -0
  88. package/skills/chart-visualization/SKILL.md +73 -0
  89. package/skills/ci-cd-and-automation/SKILL.md +353 -0
  90. package/skills/code-review-and-quality/SKILL.md +375 -0
  91. package/skills/code-review-quality-gates/SKILL.md +132 -0
  92. package/skills/code-simplification/SKILL.md +371 -0
  93. package/skills/comment-accuracy-review/SKILL.md +37 -0
  94. package/skills/consulting-analysis/SKILL.md +69 -0
  95. package/skills/context-engineering/SKILL.md +375 -0
  96. package/skills/coverage-review/SKILL.md +24 -0
  97. package/skills/data-analysis/SKILL.md +74 -0
  98. package/skills/deprecation-and-migration/SKILL.md +222 -0
  99. package/skills/documentation-and-adrs/SKILL.md +330 -0
  100. package/skills/e2e-artifact-handling/SKILL.md +30 -0
  101. package/skills/evidence-scoped-retrospective/SKILL.md +156 -0
  102. package/skills/explain-by-allegory/SKILL.md +99 -0
  103. package/skills/flutter-dev/SKILL.md +162 -0
  104. package/skills/flutter-dev/references/animations.md +497 -0
  105. package/skills/flutter-dev/references/bloc-state.md +281 -0
  106. package/skills/flutter-dev/references/forms.md +656 -0
  107. package/skills/flutter-dev/references/gorouter-navigation.md +257 -0
  108. package/skills/flutter-dev/references/localization.md +510 -0
  109. package/skills/flutter-dev/references/networking.md +566 -0
  110. package/skills/flutter-dev/references/performance.md +305 -0
  111. package/skills/flutter-dev/references/platform-specific.md +417 -0
  112. package/skills/flutter-dev/references/project-structure.md +273 -0
  113. package/skills/flutter-dev/references/riverpod-state.md +232 -0
  114. package/skills/flutter-dev/references/testing.md +364 -0
  115. package/skills/flutter-dev/references/widget-patterns.md +233 -0
  116. package/skills/frontend-dev/SKILL.md +468 -0
  117. package/skills/frontend-dev/canvas-fonts/ArsenalSC-OFL.txt +93 -0
  118. package/skills/frontend-dev/canvas-fonts/ArsenalSC-Regular.ttf +0 -0
  119. package/skills/frontend-dev/canvas-fonts/BigShoulders-Bold.ttf +0 -0
  120. package/skills/frontend-dev/canvas-fonts/BigShoulders-OFL.txt +93 -0
  121. package/skills/frontend-dev/canvas-fonts/BigShoulders-Regular.ttf +0 -0
  122. package/skills/frontend-dev/canvas-fonts/Boldonse-OFL.txt +93 -0
  123. package/skills/frontend-dev/canvas-fonts/Boldonse-Regular.ttf +0 -0
  124. package/skills/frontend-dev/canvas-fonts/BricolageGrotesque-Bold.ttf +0 -0
  125. package/skills/frontend-dev/canvas-fonts/BricolageGrotesque-OFL.txt +93 -0
  126. package/skills/frontend-dev/canvas-fonts/BricolageGrotesque-Regular.ttf +0 -0
  127. package/skills/frontend-dev/canvas-fonts/CrimsonPro-Bold.ttf +0 -0
  128. package/skills/frontend-dev/canvas-fonts/CrimsonPro-Italic.ttf +0 -0
  129. package/skills/frontend-dev/canvas-fonts/CrimsonPro-OFL.txt +93 -0
  130. package/skills/frontend-dev/canvas-fonts/CrimsonPro-Regular.ttf +0 -0
  131. package/skills/frontend-dev/canvas-fonts/DMMono-OFL.txt +93 -0
  132. package/skills/frontend-dev/canvas-fonts/DMMono-Regular.ttf +0 -0
  133. package/skills/frontend-dev/canvas-fonts/EricaOne-OFL.txt +94 -0
  134. package/skills/frontend-dev/canvas-fonts/EricaOne-Regular.ttf +0 -0
  135. package/skills/frontend-dev/canvas-fonts/GeistMono-Bold.ttf +0 -0
  136. package/skills/frontend-dev/canvas-fonts/GeistMono-OFL.txt +93 -0
  137. package/skills/frontend-dev/canvas-fonts/GeistMono-Regular.ttf +0 -0
  138. package/skills/frontend-dev/canvas-fonts/Gloock-OFL.txt +93 -0
  139. package/skills/frontend-dev/canvas-fonts/Gloock-Regular.ttf +0 -0
  140. package/skills/frontend-dev/canvas-fonts/IBMPlexMono-Bold.ttf +0 -0
  141. package/skills/frontend-dev/canvas-fonts/IBMPlexMono-OFL.txt +93 -0
  142. package/skills/frontend-dev/canvas-fonts/IBMPlexMono-Regular.ttf +0 -0
  143. package/skills/frontend-dev/canvas-fonts/IBMPlexSerif-Bold.ttf +0 -0
  144. package/skills/frontend-dev/canvas-fonts/IBMPlexSerif-BoldItalic.ttf +0 -0
  145. package/skills/frontend-dev/canvas-fonts/IBMPlexSerif-Italic.ttf +0 -0
  146. package/skills/frontend-dev/canvas-fonts/IBMPlexSerif-Regular.ttf +0 -0
  147. package/skills/frontend-dev/canvas-fonts/InstrumentSans-Bold.ttf +0 -0
  148. package/skills/frontend-dev/canvas-fonts/InstrumentSans-BoldItalic.ttf +0 -0
  149. package/skills/frontend-dev/canvas-fonts/InstrumentSans-Italic.ttf +0 -0
  150. package/skills/frontend-dev/canvas-fonts/InstrumentSans-OFL.txt +93 -0
  151. package/skills/frontend-dev/canvas-fonts/InstrumentSans-Regular.ttf +0 -0
  152. package/skills/frontend-dev/canvas-fonts/InstrumentSerif-Italic.ttf +0 -0
  153. package/skills/frontend-dev/canvas-fonts/InstrumentSerif-Regular.ttf +0 -0
  154. package/skills/frontend-dev/canvas-fonts/Italiana-OFL.txt +93 -0
  155. package/skills/frontend-dev/canvas-fonts/Italiana-Regular.ttf +0 -0
  156. package/skills/frontend-dev/canvas-fonts/JetBrainsMono-Bold.ttf +0 -0
  157. package/skills/frontend-dev/canvas-fonts/JetBrainsMono-OFL.txt +93 -0
  158. package/skills/frontend-dev/canvas-fonts/JetBrainsMono-Regular.ttf +0 -0
  159. package/skills/frontend-dev/canvas-fonts/Jura-Light.ttf +0 -0
  160. package/skills/frontend-dev/canvas-fonts/Jura-Medium.ttf +0 -0
  161. package/skills/frontend-dev/canvas-fonts/Jura-OFL.txt +93 -0
  162. package/skills/frontend-dev/canvas-fonts/LibreBaskerville-OFL.txt +93 -0
  163. package/skills/frontend-dev/canvas-fonts/LibreBaskerville-Regular.ttf +0 -0
  164. package/skills/frontend-dev/canvas-fonts/Lora-Bold.ttf +0 -0
  165. package/skills/frontend-dev/canvas-fonts/Lora-BoldItalic.ttf +0 -0
  166. package/skills/frontend-dev/canvas-fonts/Lora-Italic.ttf +0 -0
  167. package/skills/frontend-dev/canvas-fonts/Lora-OFL.txt +93 -0
  168. package/skills/frontend-dev/canvas-fonts/Lora-Regular.ttf +0 -0
  169. package/skills/frontend-dev/canvas-fonts/NationalPark-Bold.ttf +0 -0
  170. package/skills/frontend-dev/canvas-fonts/NationalPark-OFL.txt +93 -0
  171. package/skills/frontend-dev/canvas-fonts/NationalPark-Regular.ttf +0 -0
  172. package/skills/frontend-dev/canvas-fonts/NothingYouCouldDo-OFL.txt +93 -0
  173. package/skills/frontend-dev/canvas-fonts/NothingYouCouldDo-Regular.ttf +0 -0
  174. package/skills/frontend-dev/canvas-fonts/Outfit-Bold.ttf +0 -0
  175. package/skills/frontend-dev/canvas-fonts/Outfit-OFL.txt +93 -0
  176. package/skills/frontend-dev/canvas-fonts/Outfit-Regular.ttf +0 -0
  177. package/skills/frontend-dev/canvas-fonts/PixelifySans-Medium.ttf +0 -0
  178. package/skills/frontend-dev/canvas-fonts/PixelifySans-OFL.txt +93 -0
  179. package/skills/frontend-dev/canvas-fonts/PoiretOne-OFL.txt +93 -0
  180. package/skills/frontend-dev/canvas-fonts/PoiretOne-Regular.ttf +0 -0
  181. package/skills/frontend-dev/canvas-fonts/RedHatMono-Bold.ttf +0 -0
  182. package/skills/frontend-dev/canvas-fonts/RedHatMono-OFL.txt +93 -0
  183. package/skills/frontend-dev/canvas-fonts/RedHatMono-Regular.ttf +0 -0
  184. package/skills/frontend-dev/canvas-fonts/Silkscreen-OFL.txt +93 -0
  185. package/skills/frontend-dev/canvas-fonts/Silkscreen-Regular.ttf +0 -0
  186. package/skills/frontend-dev/canvas-fonts/SmoochSans-Medium.ttf +0 -0
  187. package/skills/frontend-dev/canvas-fonts/SmoochSans-OFL.txt +93 -0
  188. package/skills/frontend-dev/canvas-fonts/Tektur-Medium.ttf +0 -0
  189. package/skills/frontend-dev/canvas-fonts/Tektur-OFL.txt +93 -0
  190. package/skills/frontend-dev/canvas-fonts/Tektur-Regular.ttf +0 -0
  191. package/skills/frontend-dev/canvas-fonts/WorkSans-Bold.ttf +0 -0
  192. package/skills/frontend-dev/canvas-fonts/WorkSans-BoldItalic.ttf +0 -0
  193. package/skills/frontend-dev/canvas-fonts/WorkSans-Italic.ttf +0 -0
  194. package/skills/frontend-dev/canvas-fonts/WorkSans-OFL.txt +93 -0
  195. package/skills/frontend-dev/canvas-fonts/WorkSans-Regular.ttf +0 -0
  196. package/skills/frontend-dev/canvas-fonts/YoungSerif-OFL.txt +93 -0
  197. package/skills/frontend-dev/canvas-fonts/YoungSerif-Regular.ttf +0 -0
  198. package/skills/frontend-dev/references/asset-prompt-guide.md +43 -0
  199. package/skills/frontend-dev/references/env-setup.md +33 -0
  200. package/skills/frontend-dev/references/minimax-cli-reference.md +133 -0
  201. package/skills/frontend-dev/references/minimax-image-guide.md +65 -0
  202. package/skills/frontend-dev/references/minimax-music-guide.md +216 -0
  203. package/skills/frontend-dev/references/minimax-tts-guide.md +78 -0
  204. package/skills/frontend-dev/references/minimax-video-guide.md +82 -0
  205. package/skills/frontend-dev/references/minimax-voice-catalog.md +685 -0
  206. package/skills/frontend-dev/references/motion-recipes.md +407 -0
  207. package/skills/frontend-dev/references/troubleshooting.md +85 -0
  208. package/skills/frontend-dev/scripts/minimax_image.py +137 -0
  209. package/skills/frontend-dev/scripts/minimax_music.py +157 -0
  210. package/skills/frontend-dev/scripts/minimax_tts.py +127 -0
  211. package/skills/frontend-dev/scripts/minimax_video.py +187 -0
  212. package/skills/frontend-dev/templates/generator_template.js +223 -0
  213. package/skills/frontend-dev/templates/viewer.html +599 -0
  214. package/skills/frontend-ui-engineering/SKILL.md +367 -0
  215. package/skills/fullstack-dev/SKILL.md +819 -0
  216. package/skills/fullstack-dev/references/api-design.md +444 -0
  217. package/skills/fullstack-dev/references/auth-flow.md +165 -0
  218. package/skills/fullstack-dev/references/db-schema.md +706 -0
  219. package/skills/fullstack-dev/references/django-best-practices.md +466 -0
  220. package/skills/fullstack-dev/references/environment-management.md +78 -0
  221. package/skills/fullstack-dev/references/release-checklist.md +278 -0
  222. package/skills/fullstack-dev/references/technology-selection.md +254 -0
  223. package/skills/fullstack-dev/references/testing-strategy.md +404 -0
  224. package/skills/git-workflow-and-versioning/SKILL.md +446 -0
  225. package/skills/github-evidence-triage/SKILL.md +115 -0
  226. package/skills/harness-evolution/SKILL.md +59 -0
  227. package/skills/harness-evolution/references/activation-matrix.md +13 -0
  228. package/skills/harness-evolution/references/approval-policy.md +20 -0
  229. package/skills/harness-evolution/references/change-report-template.md +33 -0
  230. package/skills/harness-evolution/references/component-taxonomy.md +19 -0
  231. package/skills/harness-evolution/references/verdict-policy.md +13 -0
  232. package/skills/harness-issue-triage/SKILL.md +72 -0
  233. package/skills/harness-issue-triage/references/component-diagnosis.md +25 -0
  234. package/skills/harness-issue-triage/references/triage-report-template.md +34 -0
  235. package/skills/harness-optimization-audit/SKILL.md +125 -0
  236. package/skills/idea-refine/SKILL.md +191 -0
  237. package/skills/idea-refine/references/upstream/addyosmani-agent-skills/6bcfeb9dae52b11eaad23511acc165109746dbc3/LICENSE +21 -0
  238. package/skills/idea-refine/references/upstream/addyosmani-agent-skills/6bcfeb9dae52b11eaad23511acc165109746dbc3/NOTICE.md +9 -0
  239. package/skills/idea-refine/references/upstream/addyosmani-agent-skills/6bcfeb9dae52b11eaad23511acc165109746dbc3/idea-refine/SKILL.upstream.md +178 -0
  240. package/skills/idea-refine/references/upstream/addyosmani-agent-skills/6bcfeb9dae52b11eaad23511acc165109746dbc3/idea-refine/examples.md +238 -0
  241. package/skills/idea-refine/references/upstream/addyosmani-agent-skills/6bcfeb9dae52b11eaad23511acc165109746dbc3/idea-refine/frameworks.md +99 -0
  242. package/skills/idea-refine/references/upstream/addyosmani-agent-skills/6bcfeb9dae52b11eaad23511acc165109746dbc3/idea-refine/refinement-criteria.md +113 -0
  243. package/skills/idea-refine/references/upstream/addyosmani-agent-skills/6bcfeb9dae52b11eaad23511acc165109746dbc3/idea-refine/scripts/idea-refine.upstream.sh +15 -0
  244. package/skills/incremental-implementation/SKILL.md +252 -0
  245. package/skills/ios-application-dev/SKILL.md +212 -0
  246. package/skills/ios-application-dev/references/accessibility.md +259 -0
  247. package/skills/ios-application-dev/references/graphics-animation.md +350 -0
  248. package/skills/ios-application-dev/references/layout-system.md +199 -0
  249. package/skills/ios-application-dev/references/metal-shader.md +178 -0
  250. package/skills/ios-application-dev/references/navigation-patterns.md +175 -0
  251. package/skills/ios-application-dev/references/swift-coding-standards.md +757 -0
  252. package/skills/ios-application-dev/references/swiftui-design-guidelines.md +1167 -0
  253. package/skills/ios-application-dev/references/system-integration.md +401 -0
  254. package/skills/ios-application-dev/references/uikit-components.md +297 -0
  255. package/skills/local-review-gate/SKILL.md +207 -0
  256. package/skills/local-review-gate/references/addyosmani-code-review-rubric.md +33 -0
  257. package/skills/local-review-gate/references/codex-github-compatibility.md +26 -0
  258. package/skills/local-review-gate/references/ecc-code-review-adaptation.md +40 -0
  259. package/skills/local-review-gate/references/graphify-local-review.md +33 -0
  260. package/skills/local-review-gate/references/orchestration-adaptation.md +51 -0
  261. package/skills/local-review-gate/references/review-repair-lane-adaptation.md +46 -0
  262. package/skills/local-review-gate/references/upstream-provenance.md +61 -0
  263. package/skills/mature-project-pattern-research/SKILL.md +155 -0
  264. package/skills/mature-project-pattern-research/references/research-rubric.md +45 -0
  265. package/skills/minimax-docx/LICENSE +21 -0
  266. package/skills/minimax-docx/SKILL.md +273 -0
  267. package/skills/minimax-docx/assets/styles/academic_styles.xml +250 -0
  268. package/skills/minimax-docx/assets/styles/corporate_styles.xml +284 -0
  269. package/skills/minimax-docx/assets/styles/default_styles.xml +449 -0
  270. package/skills/minimax-docx/assets/xsd/aesthetic-rules.xsd +470 -0
  271. package/skills/minimax-docx/assets/xsd/business-rules.xsd +130 -0
  272. package/skills/minimax-docx/assets/xsd/common-types.xsd +159 -0
  273. package/skills/minimax-docx/assets/xsd/wml-subset.xsd +589 -0
  274. package/skills/minimax-docx/references/cjk_typography.md +357 -0
  275. package/skills/minimax-docx/references/cjk_university_template_guide.md +184 -0
  276. package/skills/minimax-docx/references/comments_guide.md +191 -0
  277. package/skills/minimax-docx/references/design_good_bad_examples.md +829 -0
  278. package/skills/minimax-docx/references/design_principles.md +819 -0
  279. package/skills/minimax-docx/references/openxml_element_order.md +308 -0
  280. package/skills/minimax-docx/references/openxml_encyclopedia_part1.md +4061 -0
  281. package/skills/minimax-docx/references/openxml_encyclopedia_part2.md +2820 -0
  282. package/skills/minimax-docx/references/openxml_encyclopedia_part3.md +3381 -0
  283. package/skills/minimax-docx/references/openxml_namespaces.md +82 -0
  284. package/skills/minimax-docx/references/openxml_units.md +72 -0
  285. package/skills/minimax-docx/references/scenario_a_create.md +284 -0
  286. package/skills/minimax-docx/references/scenario_b_edit_content.md +295 -0
  287. package/skills/minimax-docx/references/scenario_c_apply_template.md +456 -0
  288. package/skills/minimax-docx/references/track_changes_guide.md +200 -0
  289. package/skills/minimax-docx/references/troubleshooting.md +506 -0
  290. package/skills/minimax-docx/references/typography_guide.md +294 -0
  291. package/skills/minimax-docx/references/xsd_validation_guide.md +158 -0
  292. package/skills/minimax-docx/scripts/doc_to_docx.sh +40 -0
  293. package/skills/minimax-docx/scripts/docx_preview.sh +37 -0
  294. package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Cli/MiniMaxAIDocx.Cli.csproj +19 -0
  295. package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Cli/Program.cs +18 -0
  296. package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Commands/AnalyzeCommand.cs +147 -0
  297. package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Commands/ApplyTemplateCommand.cs +322 -0
  298. package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Commands/CreateCommand.cs +324 -0
  299. package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Commands/DiffCommand.cs +155 -0
  300. package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Commands/EditContentCommand.cs +487 -0
  301. package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Commands/FixOrderCommand.cs +108 -0
  302. package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Commands/MergeRunsCommand.cs +122 -0
  303. package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Commands/ValidateCommand.cs +107 -0
  304. package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/MiniMaxAIDocx.Core.csproj +15 -0
  305. package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/CommentSynchronizer.cs +169 -0
  306. package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/ElementOrder.cs +80 -0
  307. package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/NamespaceConstants.cs +42 -0
  308. package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/RunMerger.cs +81 -0
  309. package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/StyleAnalyzer.cs +81 -0
  310. package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/TrackChangesHelper.cs +99 -0
  311. package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/UnitConverter.cs +23 -0
  312. package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/AestheticRecipeSamples.cs +1832 -0
  313. package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/AestheticRecipeSamples_Batch1.cs +910 -0
  314. package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/AestheticRecipeSamples_Batch2.cs +999 -0
  315. package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/AestheticRecipeSamples_Batch3.cs +1048 -0
  316. package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/AestheticRecipeSamples_Batch4.cs +1038 -0
  317. package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/CharacterFormattingSamples.cs +1020 -0
  318. package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/DocumentCreationSamples.cs +1121 -0
  319. package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/FieldAndTocSamples.cs +624 -0
  320. package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/FootnoteAndCommentSamples.cs +675 -0
  321. package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/HeaderFooterSamples.cs +838 -0
  322. package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/ImageSamples.cs +917 -0
  323. package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/ListAndNumberingSamples.cs +826 -0
  324. package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/ParagraphFormattingSamples.cs +1199 -0
  325. package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/StyleSystemSamples.cs +1487 -0
  326. package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/TableSamples.cs +1163 -0
  327. package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/TrackChangesSamples.cs +595 -0
  328. package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Typography/CjkHelper.cs +39 -0
  329. package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Typography/FontDefaults.cs +24 -0
  330. package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Typography/PageSizes.cs +20 -0
  331. package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Validation/BusinessRuleValidator.cs +224 -0
  332. package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Validation/GateCheckValidator.cs +148 -0
  333. package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Validation/ValidationResult.cs +23 -0
  334. package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Validation/XsdValidator.cs +69 -0
  335. package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.slnx +4 -0
  336. package/skills/minimax-docx/scripts/env_check.sh +196 -0
  337. package/skills/minimax-docx/scripts/setup.ps1 +274 -0
  338. package/skills/minimax-docx/scripts/setup.sh +504 -0
  339. package/skills/minimax-pdf/README.md +222 -0
  340. package/skills/minimax-pdf/SKILL.md +218 -0
  341. package/skills/minimax-pdf/design/design.md +381 -0
  342. package/skills/minimax-pdf/scripts/cover.py +1579 -0
  343. package/skills/minimax-pdf/scripts/fill_inspect.py +200 -0
  344. package/skills/minimax-pdf/scripts/fill_write.py +242 -0
  345. package/skills/minimax-pdf/scripts/make.sh +491 -0
  346. package/skills/minimax-pdf/scripts/merge.py +112 -0
  347. package/skills/minimax-pdf/scripts/palette.py +521 -0
  348. package/skills/minimax-pdf/scripts/reformat_parse.py +374 -0
  349. package/skills/minimax-pdf/scripts/render_body.py +1052 -0
  350. package/skills/minimax-pdf/scripts/render_cover.js +111 -0
  351. package/skills/minimax-xlsx/SKILL.md +156 -0
  352. package/skills/minimax-xlsx/references/create.md +691 -0
  353. package/skills/minimax-xlsx/references/edit.md +684 -0
  354. package/skills/minimax-xlsx/references/fix.md +37 -0
  355. package/skills/minimax-xlsx/references/format.md +768 -0
  356. package/skills/minimax-xlsx/references/ooxml-cheatsheet.md +231 -0
  357. package/skills/minimax-xlsx/references/read-analyze.md +97 -0
  358. package/skills/minimax-xlsx/references/validate.md +772 -0
  359. package/skills/minimax-xlsx/scripts/formula_check.py +422 -0
  360. package/skills/minimax-xlsx/scripts/libreoffice_recalc.py +248 -0
  361. package/skills/minimax-xlsx/scripts/shared_strings_builder.py +163 -0
  362. package/skills/minimax-xlsx/scripts/style_audit.py +575 -0
  363. package/skills/minimax-xlsx/scripts/xlsx_add_column.py +395 -0
  364. package/skills/minimax-xlsx/scripts/xlsx_insert_row.py +274 -0
  365. package/skills/minimax-xlsx/scripts/xlsx_pack.py +87 -0
  366. package/skills/minimax-xlsx/scripts/xlsx_reader.py +362 -0
  367. package/skills/minimax-xlsx/scripts/xlsx_shift_rows.py +396 -0
  368. package/skills/minimax-xlsx/scripts/xlsx_unpack.py +130 -0
  369. package/skills/minimax-xlsx/templates/minimal_xlsx/[Content_Types].xml +9 -0
  370. package/skills/minimax-xlsx/templates/minimal_xlsx/_rels/.rels +6 -0
  371. package/skills/minimax-xlsx/templates/minimal_xlsx/xl/_rels/workbook.xml.rels +19 -0
  372. package/skills/minimax-xlsx/templates/minimal_xlsx/xl/sharedStrings.xml +33 -0
  373. package/skills/minimax-xlsx/templates/minimal_xlsx/xl/styles.xml +160 -0
  374. package/skills/minimax-xlsx/templates/minimal_xlsx/xl/workbook.xml +30 -0
  375. package/skills/minimax-xlsx/templates/minimal_xlsx/xl/worksheets/sheet1.xml +70 -0
  376. package/skills/newsletter-generation/SKILL.md +71 -0
  377. package/skills/oss-release-readiness/SKILL.md +47 -0
  378. package/skills/parallel-subagent-dispatch/SKILL.md +58 -0
  379. package/skills/performance-optimization/SKILL.md +364 -0
  380. package/skills/planning-and-task-breakdown/SKILL.md +290 -0
  381. package/skills/pptx-generator/SKILL.md +275 -0
  382. package/skills/pptx-generator/references/design-system.md +392 -0
  383. package/skills/pptx-generator/references/editing.md +162 -0
  384. package/skills/pptx-generator/references/pitfalls.md +112 -0
  385. package/skills/pptx-generator/references/pptxgenjs.md +420 -0
  386. package/skills/pptx-generator/references/slide-types.md +413 -0
  387. package/skills/pr-test-analysis/SKILL.md +24 -0
  388. package/skills/react-native-dev/SKILL.md +180 -0
  389. package/skills/react-native-dev/references/animations.md +254 -0
  390. package/skills/react-native-dev/references/components.md +124 -0
  391. package/skills/react-native-dev/references/engineering.md +527 -0
  392. package/skills/react-native-dev/references/forms.md +300 -0
  393. package/skills/react-native-dev/references/native-capabilities.md +163 -0
  394. package/skills/react-native-dev/references/navigation.md +271 -0
  395. package/skills/react-native-dev/references/networking.md +346 -0
  396. package/skills/react-native-dev/references/performance.md +215 -0
  397. package/skills/react-native-dev/references/state-management.md +230 -0
  398. package/skills/react-native-dev/references/styling.md +117 -0
  399. package/skills/react-native-dev/references/testing.md +341 -0
  400. package/skills/requirements-grilling/SKILL.md +447 -0
  401. package/skills/requirements-grilling/references/ADR-FORMAT.md +46 -0
  402. package/skills/requirements-grilling/references/CONTEXT-FORMAT.md +41 -0
  403. package/skills/requirements-grilling/references/INTERVIEW-PACKET-FORMAT.md +62 -0
  404. package/skills/requirements-grilling/references/MIT-LICENSE-MATT-POCOCK.md +25 -0
  405. package/skills/requirements-grilling/references/upstream/addyosmani-agent-skills/6bcfeb9dae52b11eaad23511acc165109746dbc3/LICENSE +21 -0
  406. package/skills/requirements-grilling/references/upstream/addyosmani-agent-skills/6bcfeb9dae52b11eaad23511acc165109746dbc3/NOTICE.md +9 -0
  407. package/skills/requirements-grilling/references/upstream/addyosmani-agent-skills/6bcfeb9dae52b11eaad23511acc165109746dbc3/interview-me/SKILL.upstream.md +225 -0
  408. package/skills/requirements-grilling/references/upstream/mattpocock-skills/9603c1cc8118d08bc1b3bf34cf714f62178dea3b/LICENSE +21 -0
  409. package/skills/requirements-grilling/references/upstream/mattpocock-skills/9603c1cc8118d08bc1b3bf34cf714f62178dea3b/NOTICE.md +12 -0
  410. package/skills/requirements-grilling/references/upstream/mattpocock-skills/9603c1cc8118d08bc1b3bf34cf714f62178dea3b/batch-grill-me/SKILL.upstream.md +15 -0
  411. package/skills/requirements-grilling/references/upstream/mattpocock-skills/9603c1cc8118d08bc1b3bf34cf714f62178dea3b/grill-me/SKILL.upstream.md +7 -0
  412. package/skills/requirements-grilling/references/upstream/mattpocock-skills/9603c1cc8118d08bc1b3bf34cf714f62178dea3b/grilling/SKILL.upstream.md +12 -0
  413. package/skills/review-pipeline/SKILL.md +38 -0
  414. package/skills/rose-memory/SKILL.md +210 -0
  415. package/skills/rose-memory/references/README.md +48 -0
  416. package/skills/rose-memory/references/memory_cli.py +2384 -0
  417. package/skills/rose-memory/references/schema.sql +315 -0
  418. package/skills/security-and-hardening/SKILL.md +369 -0
  419. package/skills/session-handoff/SKILL.md +88 -0
  420. package/skills/session-handoff/references/upstream/mattpocock-skills/391a2701dd948f94f56a39f7533f8eea9a859c87/LICENSE +21 -0
  421. package/skills/session-handoff/references/upstream/mattpocock-skills/391a2701dd948f94f56a39f7533f8eea9a859c87/NOTICE.md +9 -0
  422. package/skills/session-handoff/references/upstream/mattpocock-skills/391a2701dd948f94f56a39f7533f8eea9a859c87/productivity/handoff/SKILL.upstream.md +16 -0
  423. package/skills/session-handoff/scripts/session_handoff.py +764 -0
  424. package/skills/shader-dev/SKILL.md +316 -0
  425. package/skills/shader-dev/reference/ambient-occlusion.md +382 -0
  426. package/skills/shader-dev/reference/analytic-ray-tracing.md +651 -0
  427. package/skills/shader-dev/reference/anti-aliasing.md +71 -0
  428. package/skills/shader-dev/reference/atmospheric-scattering.md +571 -0
  429. package/skills/shader-dev/reference/camera-effects.md +80 -0
  430. package/skills/shader-dev/reference/cellular-automata.md +635 -0
  431. package/skills/shader-dev/reference/color-palette.md +481 -0
  432. package/skills/shader-dev/reference/csg-boolean-operations.md +466 -0
  433. package/skills/shader-dev/reference/domain-repetition.md +436 -0
  434. package/skills/shader-dev/reference/domain-warping.md +419 -0
  435. package/skills/shader-dev/reference/fluid-simulation.md +425 -0
  436. package/skills/shader-dev/reference/fractal-rendering.md +525 -0
  437. package/skills/shader-dev/reference/lighting-model.md +639 -0
  438. package/skills/shader-dev/reference/matrix-transform.md +535 -0
  439. package/skills/shader-dev/reference/multipass-buffer.md +571 -0
  440. package/skills/shader-dev/reference/normal-estimation.md +418 -0
  441. package/skills/shader-dev/reference/particle-system.md +589 -0
  442. package/skills/shader-dev/reference/path-tracing-gi.md +602 -0
  443. package/skills/shader-dev/reference/polar-uv-manipulation.md +521 -0
  444. package/skills/shader-dev/reference/post-processing.md +375 -0
  445. package/skills/shader-dev/reference/procedural-2d-pattern.md +439 -0
  446. package/skills/shader-dev/reference/procedural-noise.md +551 -0
  447. package/skills/shader-dev/reference/ray-marching.md +396 -0
  448. package/skills/shader-dev/reference/sdf-2d.md +724 -0
  449. package/skills/shader-dev/reference/sdf-3d.md +805 -0
  450. package/skills/shader-dev/reference/sdf-tricks.md +63 -0
  451. package/skills/shader-dev/reference/shadow-techniques.md +476 -0
  452. package/skills/shader-dev/reference/simulation-physics.md +644 -0
  453. package/skills/shader-dev/reference/sound-synthesis.md +578 -0
  454. package/skills/shader-dev/reference/terrain-rendering.md +839 -0
  455. package/skills/shader-dev/reference/texture-mapping-advanced.md +87 -0
  456. package/skills/shader-dev/reference/texture-sampling.md +553 -0
  457. package/skills/shader-dev/reference/volumetric-rendering.md +608 -0
  458. package/skills/shader-dev/reference/voronoi-cellular-noise.md +486 -0
  459. package/skills/shader-dev/reference/voxel-rendering.md +701 -0
  460. package/skills/shader-dev/reference/water-ocean.md +445 -0
  461. package/skills/shader-dev/reference/webgl-pitfalls.md +41 -0
  462. package/skills/shader-dev/techniques/ambient-occlusion.md +364 -0
  463. package/skills/shader-dev/techniques/analytic-ray-tracing.md +542 -0
  464. package/skills/shader-dev/techniques/anti-aliasing.md +124 -0
  465. package/skills/shader-dev/techniques/atmospheric-scattering.md +522 -0
  466. package/skills/shader-dev/techniques/camera-effects.md +115 -0
  467. package/skills/shader-dev/techniques/cellular-automata.md +531 -0
  468. package/skills/shader-dev/techniques/color-palette.md +380 -0
  469. package/skills/shader-dev/techniques/csg-boolean-operations.md +491 -0
  470. package/skills/shader-dev/techniques/domain-repetition.md +333 -0
  471. package/skills/shader-dev/techniques/domain-warping.md +414 -0
  472. package/skills/shader-dev/techniques/fluid-simulation.md +1175 -0
  473. package/skills/shader-dev/techniques/fractal-rendering.md +436 -0
  474. package/skills/shader-dev/techniques/lighting-model.md +527 -0
  475. package/skills/shader-dev/techniques/matrix-transform.md +455 -0
  476. package/skills/shader-dev/techniques/multipass-buffer.md +922 -0
  477. package/skills/shader-dev/techniques/normal-estimation.md +318 -0
  478. package/skills/shader-dev/techniques/particle-system.md +1203 -0
  479. package/skills/shader-dev/techniques/path-tracing-gi.md +623 -0
  480. package/skills/shader-dev/techniques/polar-uv-manipulation.md +373 -0
  481. package/skills/shader-dev/techniques/post-processing.md +788 -0
  482. package/skills/shader-dev/techniques/procedural-2d-pattern.md +346 -0
  483. package/skills/shader-dev/techniques/procedural-noise.md +554 -0
  484. package/skills/shader-dev/techniques/ray-marching.md +467 -0
  485. package/skills/shader-dev/techniques/sdf-2d.md +631 -0
  486. package/skills/shader-dev/techniques/sdf-3d.md +589 -0
  487. package/skills/shader-dev/techniques/sdf-tricks.md +100 -0
  488. package/skills/shader-dev/techniques/shadow-techniques.md +776 -0
  489. package/skills/shader-dev/techniques/simulation-physics.md +1542 -0
  490. package/skills/shader-dev/techniques/sound-synthesis.md +490 -0
  491. package/skills/shader-dev/techniques/terrain-rendering.md +408 -0
  492. package/skills/shader-dev/techniques/texture-mapping-advanced.md +121 -0
  493. package/skills/shader-dev/techniques/texture-sampling.md +382 -0
  494. package/skills/shader-dev/techniques/volumetric-rendering.md +375 -0
  495. package/skills/shader-dev/techniques/voronoi-cellular-noise.md +458 -0
  496. package/skills/shader-dev/techniques/voxel-rendering.md +985 -0
  497. package/skills/shader-dev/techniques/water-ocean.md +490 -0
  498. package/skills/shader-dev/techniques/webgl-pitfalls.md +170 -0
  499. package/skills/shipping-and-launch/SKILL.md +334 -0
  500. package/skills/silent-failure-hunting/SKILL.md +24 -0
  501. package/skills/source-driven-development/SKILL.md +223 -0
  502. package/skills/spec-driven-development/SKILL.md +235 -0
  503. package/skills/spec-driven-development/references/upstream/addyosmani-agent-skills/6bcfeb9dae52b11eaad23511acc165109746dbc3/LICENSE +21 -0
  504. package/skills/spec-driven-development/references/upstream/addyosmani-agent-skills/6bcfeb9dae52b11eaad23511acc165109746dbc3/NOTICE.md +9 -0
  505. package/skills/spec-driven-development/references/upstream/addyosmani-agent-skills/6bcfeb9dae52b11eaad23511acc165109746dbc3/spec-driven-development/SKILL.upstream.md +206 -0
  506. package/skills/strategy-stress-test/SKILL.md +185 -0
  507. package/skills/systematic-literature-review/SKILL.md +77 -0
  508. package/skills/test-document-generator/SKILL.md +152 -0
  509. package/skills/test-document-generator/references/test-document-template.md +45 -0
  510. package/skills/test-driven-development/SKILL.md +399 -0
  511. package/skills/write-skills/GLOSSARY.md +113 -0
  512. package/skills/write-skills/SKILL.md +133 -0
  513. package/skills/write-skills/references/upstream/mattpocock-skills/391a2701dd948f94f56a39f7533f8eea9a859c87/LICENSE +21 -0
  514. package/skills/write-skills/references/upstream/mattpocock-skills/391a2701dd948f94f56a39f7533f8eea9a859c87/NOTICE.md +9 -0
  515. package/skills/write-skills/references/upstream/mattpocock-skills/391a2701dd948f94f56a39f7533f8eea9a859c87/productivity/writing-great-skills/GLOSSARY.md +201 -0
  516. package/skills/write-skills/references/upstream/mattpocock-skills/391a2701dd948f94f56a39f7533f8eea9a859c87/productivity/writing-great-skills/SKILL.upstream.md +83 -0
  517. package/src/runtime/child-guard.ts +70 -0
  518. package/src/runtime/conflicts.ts +25 -0
  519. package/src/runtime/contracts.ts +9 -0
  520. package/src/runtime/doctor.ts +134 -0
  521. package/src/runtime/global-resources.ts +152 -0
  522. package/src/runtime/index.ts +23 -0
  523. package/src/runtime/lifecycle.ts +19 -0
  524. package/src/runtime/native-integrations.ts +44 -0
  525. package/src/runtime/path-boundaries.ts +69 -0
  526. package/src/runtime/registry.ts +213 -0
  527. package/src/runtime/roles.ts +64 -0
  528. package/src/runtime/rose-context.ts +24 -0
  529. package/src/runtime/subagents.ts +426 -0
  530. package/templates/APPEND_SYSTEM.md +12 -0
  531. package/upstream/aili-workflows.lock.json +3226 -0
@@ -0,0 +1,53 @@
1
+ # Implementation Package Protocol
2
+
3
+ - Trace ID:
4
+ - Source requirement/decision/risk:
5
+ - Package goal:
6
+ - Allowed files:
7
+ - Target files/artifacts:
8
+ - Forbidden files:
9
+ - Acceptance criteria:
10
+ - Required context reads:
11
+ - WT-001 context ref: <context_id, evidence_version, freshness, mode> | N/A
12
+ - Traceability mapping:
13
+ - source requirement/decision/risk:
14
+ - task/package:
15
+ - file/artifact boundary:
16
+ - verification command or inspection:
17
+ - expected evidence:
18
+ - coverage status: covered | Open Question | Unverified
19
+ - Parallelism analysis:
20
+ - shared scaffold/source-of-truth:
21
+ - safe parallel lanes:
22
+ - serial dependencies:
23
+ - benefit-gated independent lanes (maximum two by default):
24
+ - ownership boundaries:
25
+ - join point and expected evidence:
26
+ - blockers or no-parallel reason:
27
+ - Research-first evidence gate: required-satisfied | not-triggered | blocked
28
+ - Implementation constraints:
29
+ - Delegation plan:
30
+ - Verification command:
31
+ - Evidence return expectation: changed files/artifacts plus verification evidence for each mapped source requirement, decision, or risk; uncovered links labeled `Open Question` or `Unverified`.
32
+ - Task-end branch/worktree hygiene:
33
+ - branch/status inspection: inspect `git status --short --branch` in the target repo and review the relevant diff.
34
+ - dirty path classification: classify dirty paths as task-scoped, unrelated/pre-existing, generated/ignored, scratch, or unknown.
35
+ - safe scratch cleanup: remove only safe task-owned, non-user-visible scratch artifacts created by the current task.
36
+ - cleanup proposal: propose cleanup for remaining residue without touching unrelated dirty paths.
37
+ - approval-gated operations: ask explicit approval before push, destructive clean/reset, branch deletion, worktree removal, OpenSpec archive, stashing unrelated changes, or deleting user-visible artifacts.
38
+ - commit allowance: savepoint commits may be proactive only when current task/project rules explicitly allow task-scoped verified commits; otherwise ask once with the cleanup package.
39
+ - Packaging flow when user-requested:
40
+ - target/platform:
41
+ - pre-package tests/checks:
42
+ - package/build command:
43
+ - package failure classification:
44
+ - repair/retest/repackage limit:
45
+ - Repair / retry limit:
46
+ - Stop conditions:
47
+ - Expected return format:
48
+
49
+ An A33 package references exactly one current `WT-001` context per declared repository lane. It may not copy, rebind, or reinterpret roots, keys, Git identity/state, approvals, operation class/risk, deltas, target rules, command/cwd, or containment facts. Target rules are re-read at the operation/dispatch boundary, may only narrow authority, and same-level conflicts block. Artifacts stay in the owning target repository.
50
+
51
+ Decision-shaping research that can affect scope, architecture, dependencies, public contract, permissions, acceptance, or verification strategy must be closed in DEFINE. It cannot be waived or accepted as `Unverified`; discovery during BUILD emits `BUILD_MATERIAL_DISCOVERY` and stops changed work. Named non-material runtime residuals remain under their separate fail-closed operation gates.
52
+
53
+ Run the proactive delegation scan before package work. When an existing Task trigger is met, dispatch promptly; direct work is the no-trigger/blocked fallback. Default concurrency is at most two but is not a hard cap; larger bounded fan-out requires independent non-overlapping lanes, concrete benefit, suitable owners, and an explicit join plan. Each Task context receives one bounded assignment, returns one terminal result or failure, never delegates, and is never resumed through an old `task_id`. A failed, empty, blocked, or partial result does not trigger an automatic fresh retry; later same-type use requires a fresh trigger-and-benefit decision and a fresh context with no prior `task_id`. ROSE retains lifecycle, integration, reconciliation, and final-verdict ownership. A package never creates automatic review, test, security, verifier, full-suite, or repair-loop lanes. Verification is the smallest fresh check that proves the exact claim.
@@ -0,0 +1,19 @@
1
+ # Research Evidence Pack Protocol
2
+
3
+ - Trace ID:
4
+ - Research question:
5
+ - Planning trigger: official/API docs | fast-changing/version-sensitive | model uncertainty | user-requested research | mature-project/prior-art | packaging/distribution | platform/runtime | security/permissions | external integration | UI/animation/product-form | local repository evidence
6
+ - Sources checked:
7
+ - Official/API facts:
8
+ - Local repository facts:
9
+ - Prior-art or mature-project patterns:
10
+ - Assumptions:
11
+ - Rejected options / not-recommended patterns:
12
+ - Key risks:
13
+ - Conflicts or gaps:
14
+ - Applicability to this repo:
15
+ - Confidence:
16
+ - Evidence-backed 方案 / recommended decisions:
17
+ - User confirmation state: confirmed | waived | accepted as UNVERIFIED | pending
18
+ - Implementation gate: proceed | blocked | waived | UNVERIFIED
19
+ - Evidence anchors:
@@ -0,0 +1,7 @@
1
+ # Review Report Protocol
2
+
3
+ Review, test, security, coverage, convergence, evaluator, and focused-recheck reports use the exact canonical result/finding envelope in `subagent-result.md`; this protocol does not restate or extend that schema. Each worker context is single-use and its report is terminal. Workers provide evidence and propose dispositions. ROSE reconciles and owns lifecycle, integration, and final disposition; do not vote on lane results, average confidence, treat a worker verdict as acceptance authority, resume an old `task_id`, or create an automatic fresh-session retry.
4
+
5
+ For A33, reject a result unless it references one current WT-001 context, names one packet-declared repository/cwd, points to applicable target rules and the owning-repository artifact destination, records inspected scope/freshness/skips and soft-boundary limits, and performs no broad host scan. A result may reference but never duplicate or rebind identity, keys, approvals, Git state, rule bodies, verification command/cwd, or containment facts.
6
+
7
+ `review_arbitration_ref` is non-`N/A` only for a disputed, blocking, cross-session, or materially inconsistent finding. The exact change-local path is `openspec/changes/<change-id>/review-arbitration.md`. That artifact preserves the stable finding ID, competing claims, evidence and counter-evidence, proposed dispositions, ROSE disposition and rationale, owner, status, required recheck, freshness, and residual `Unverified` items. Do not create it for routine agreement, and do not create an instance in advance of a real qualifying finding.
@@ -0,0 +1,12 @@
1
+ # Spec Draft Protocol
2
+
3
+ - Trace ID:
4
+ - Problem statement:
5
+ - Goals:
6
+ - Non-goals:
7
+ - Requirements:
8
+ - Scenarios / acceptance criteria:
9
+ - Risks:
10
+ - Open questions:
11
+ - Verification plan:
12
+ - Source evidence:
@@ -0,0 +1,60 @@
1
+ # Subagent Result
2
+
3
+ This is the one canonical terminal result and finding envelope for delegated review, test, security, coverage, convergence, evaluator, and focused-recheck lanes. Return only what ROSE needs to decide the next action; the Task context closes after this result or failure.
4
+
5
+ ```text
6
+ CANONICAL RESULT:
7
+ result_id:
8
+ trace_id:
9
+ lane:
10
+ owner:
11
+ status: completed | partial | blocked | unverified
12
+ confidence: HIGH | MED | LOW | VERY LOW | UNKNOWN
13
+ worktree_context_ref: <context_id, evidence_version, freshness, mode> | N/A
14
+ declared_repository:
15
+ cwd:
16
+ target_rules_ref:
17
+ artifact_destination:
18
+ inspected_scope:
19
+ checks:
20
+ freshness:
21
+ skipped_checks:
22
+ soft_boundary_limitations:
23
+ blockers:
24
+ unverified:
25
+ findings:
26
+ convergence_links:
27
+ review_arbitration_ref: openspec/changes/<change-id>/review-arbitration.md | N/A
28
+ ```
29
+
30
+ Each finding has exactly:
31
+
32
+ ```text
33
+ finding_id:
34
+ source:
35
+ claim:
36
+ severity:
37
+ evidence_anchors:
38
+ affected_requirement:
39
+ proposed_disposition: fix | refute-with-counter-evidence | accept-named-risk | Unverified-block
40
+ required_action:
41
+ verification:
42
+ ```
43
+
44
+ P6 compatibility markers remain aliases, not a second envelope: `STATUS: completed | partial | blocked | unverified`, `WT-001 context ref`, `EVIDENCE:`, and `BLOCKERS:` map to `status`, `worktree_context_ref`, finding/evidence anchors, and `blockers` above.
45
+
46
+ ## Rules
47
+
48
+ - Evidence must support the reported status.
49
+ - Keep raw logs, broad dumps, and full files out of the result.
50
+ - Mark unsupported claims `Unverified`.
51
+ - A no-finding result uses `findings: []` and still reports inspected scope, checks, freshness, skipped checks, blockers, and `Unverified` items.
52
+ - Do not issue the final PASS, acceptance, release, or integration decision.
53
+ - Never resume the result's old `task_id` for follow-up, clarification, continuation, repair, recheck, or additional work.
54
+ - A failed, empty, blocked, or partial result does not authorize an automatic fresh-session retry. ROSE handles the bounded gap directly or reports the blocker.
55
+ - A later use of the same `subagent_type` is allowed only through a fresh Task with no prior `task_id` after a fresh trigger-and-benefit decision independently justifies changed evidence or a new assignment.
56
+ - No result grants permission for another operation, external access, Git integration, cleanup, lifecycle transition, approval, integration decision, or nested delegation; ROSE owns reconciliation and the final verdict.
57
+ - An A33 result references the same one current WT-001 context as its task and names exactly one packet-declared repository/cwd, the applicable target-rules reference, and an owning-repository artifact destination. It records the shared-trust soft-boundary limitation and performs no broad host scan.
58
+ - The repository/cwd fields repeat only the packet's ownership declaration; they do not create identity or command authority. The result never duplicates or rebinds roots, keys, identity, Git state, approvals, operation class/risk, deltas, rule bodies, verification command/cwd, or containment facts.
59
+ - A changed, stale, missing, mixed-mode, or duplicate WT reference blocks acceptance and returns to ROSE for reconciliation.
60
+ - `review_arbitration_ref` is non-`N/A` only for a disputed, blocking, cross-session, or materially inconsistent finding. ROSE, not a worker, creates or updates that artifact and owns final disposition without voting or confidence averaging.
@@ -0,0 +1,29 @@
1
+ # Subagent Task Packet
2
+
3
+ Use only when delegation meets `direct-vs-delegated-work.md`. Keep packets small enough to read in one pass.
4
+
5
+ ```text
6
+ Goal:
7
+ Scope:
8
+ WT-001 context ref: <context_id, evidence_version, freshness, mode> | N/A
9
+ Allowed actions:
10
+ Expected result:
11
+ Stop when:
12
+ ```
13
+
14
+ ## Rules
15
+
16
+ - `Goal` names one bounded outcome.
17
+ - `Scope` names the files, repository, cwd, or evidence sources.
18
+ - `Allowed actions` says read-only or lists exact editable files and approved commands.
19
+ - `Expected result` asks for compact evidence, artifacts, or a command result.
20
+ - `Stop when` names missing permission, conflicting rules, scope expansion, or unavailable evidence.
21
+ - The packet creates one fresh Task context for one bounded assignment. Never pass or resume an old `task_id` for follow-up, clarification, continuation, repair, recheck, or additional work.
22
+ - A terminal, failed, empty, blocked, or partial session is not automatically retried. ROSE handles the bounded gap directly or reports the blocker.
23
+ - The same `subagent_type` may receive a later fresh packet only after a fresh trigger-and-benefit decision independently justifies the assignment or changed evidence; the new Task omits every prior `task_id`.
24
+ - A packet narrows runtime authority; it never grants a tool, path, edit, command, network call, or delegation permission.
25
+ - Every non-ROSE subagent remains non-delegating.
26
+ - ROSE retains lifecycle, approval, integration, reconciliation, and final-verdict ownership.
27
+ - For an approved A33 attached repository, `Scope` names exactly one declared repository/cwd and the packet references exactly one current `WT-001` context. The compact reference contains only context id, evidence version, freshness, and mode.
28
+ - Never copy, rebind, or reinterpret WT-001 host/source/target identity, keys, paths, Git state, approval, operation class, risk, delta, command/cwd, or containment facts. A duplicate is non-authoritative and blocks dispatch.
29
+ - Target rules are re-read at dispatch. They may narrow the packet but never broaden it; same-level conflicts block. User-visible artifacts remain in the owning target repository.
@@ -0,0 +1,109 @@
1
+ # WT-001 Worktree Context Protocol
2
+
3
+ Repository source path: `.agents/skills/aili-delivery-flow/references/protocols/worktree-context.md`. Installed runtime target: `$HOME/.agents/skills/aili-delivery-flow/references/protocols/worktree-context.md`.
4
+
5
+ `WT-001` is the single authority for attached-repository target identity and parent-observed evidence. Task packets, results, implementation packages, and backend adapters reference one context by id; they must not copy, rebind, or independently reinterpret roots, keys, Git identity, approvals, permission boundaries, or evidence.
6
+
7
+ Every envelope has exactly one mode:
8
+
9
+ - `a30-a31-external-read`: historical, non-gating evidence only. Its external-path ask, shared-common-dir, and A30 provider-probe fields remain valid only inside that historical record.
10
+ - `a33-attached-shared-trust-domain`: current authority. Mixed A30 fields or guarantees, managed-subagent external ask, cross-repository common-dir equality, and use of an A30 probe as A33 proof are invalid.
11
+
12
+ ## Canonical context
13
+
14
+ ```text
15
+ WT-001:
16
+ - context_id:
17
+ - evidence_version:
18
+ - freshness:
19
+ - mode: a30-a31-external-read | a33-attached-shared-trust-domain
20
+ - source_session_root:
21
+ - repo_key:
22
+ - worktree_key:
23
+ - target_repo_root:
24
+ - target_worktree_root:
25
+ - branch:
26
+ - base_ref:
27
+ - branch_mode: existing | create
28
+ - reflog_policy: enabled | disabled
29
+ - operation_class: driver_fixture | real
30
+ - trusted_code_risk: accepted | declined | unavailable | not_applicable | null
31
+ - host_identity: A33Identity
32
+ - source_identity: A33Identity
33
+ - target_identity_pre: A33Identity
34
+ - target_identity_post: A33Identity
35
+ - expected_delta:
36
+ - observed_delta:
37
+ - allowed_paths:
38
+ - forbidden_paths:
39
+ - artifact_paths:
40
+ - target_rules_read_at: operation | dispatch
41
+ - operation_approval_ref:
42
+ - soft_boundary_disclosure:
43
+ - containment_status: ready | blocked | Unverified
44
+ - blocked_reasons:
45
+ - unverified:
46
+ ```
47
+
48
+ The A33 host is the Git repository where the user started OpenCode. AILI does not rank, move, broadly scan for, or auto-select a host. Every target is exactly `<session-root>/.worktrees/<repo_key>/<worktree_key>`; visible `worktrees/` and historical `.tmp/worktrees/` are not aliases. `repo_key` and `worktree_key` are nonempty and match `^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$`. Empty, `.`, `..`, `.git`, `.worktrees`, path-like, absolute, control, newline, NUL, separator, reserved, colliding, tracked, or ambiguous values block without suffixing, guessing, forcing, `-B`, orphan creation, remote guessing, or implicit ref selection.
49
+
50
+ Admission requires a Git session root, the exact prospective destination ignored through root `/.worktrees/` with no re-inclusion, no tracked destination, and safe non-submodule topology. Tracked `.gitmodules`, mode-160000 gitlinks, source/superproject relations, malformed topology, and symlink/junction/mount/path escape ambiguity block. AILI never silently edits the host ignore file.
51
+
52
+ Every PREPARE pending operation, ADD/REMOVE operation, and approval carries both exact keys. Every operation binds explicit nonempty source, destination, branch, base ref, `branch_mode`, source `reflog_policy`, and `operation_class`. PREPARE is descriptor-only and grants no authority. Each attachment ADD requires one fresh exact approval and `trusted_code_risk:accepted`; each later non-force REMOVE requires a different fresh exact approval after complete deletion inventory and uses observed `trusted_code_risk:not_applicable`. Missing, declined, unavailable, stale, expired, mismatched, wrong-operation, wrong-class, wrong-risk, wrong-key, or reused approval has zero effect. Fixture and real approvals are never interchangeable.
53
+
54
+ ## Exact A33 identity and deltas
55
+
56
+ `A33Identity` has all and only:
57
+
58
+ `identity_state, declared_root, path_state, canonical_root, git_toplevel, git_private_dir, git_common_dir, git_head, git_branch, detached_head, worktree_membership, dirty_state, tracked_files, untracked_files, ignored_files, artifact_files, unknown_files`.
59
+
60
+ `identity_state` is `populated | absent`; `declared_root` is always a nonempty canonical absolute string; `path_state` is `present | absent`; and membership is `main | linked | absent`. Populated identities require present path, nonempty canonical/Git roots and HEAD, boolean detached state agreeing with branch nullability, main/linked membership, exact typed dirty state `{tracked_modified:boolean,tracked_deleted:boolean,untracked_count:nonnegative_integer,ignored_count:nonnegative_integer}`, and duplicate-free sorted canonical repository-relative file arrays. Absent identities keep only `identity_state`, `declared_root`, `path_state`, and `worktree_membership` non-null; every other field is JSON `null`. Host/source are populated. ADD target is absent→populated; REMOVE target is populated→absent. No identity hash/digest field or string sentinel is valid.
61
+
62
+ Compare typed identity fields, sorted file arrays, and explicit admin delta records directly. `expected_delta` and `observed_delta` contain all of `target_path,worktree_membership,common_dir_identity,common_dir_admin_entry,branch_ref,branch_reflog,unrelated_common_dir_entries,unrelated_refs,config,hooks,unrelated_worktree_records,unrelated_prunable_entries,other_files`; each value is exactly `{before,after,change}` with JSON `null` for absence and `change:created|deleted|unchanged`. Common-dir canonical identity always remains unchanged. ADD creates only the declared admin entry/membership plus the bound create-mode ref and, only when policy is enabled, reflog. Existing mode creates neither ref nor reflog. REMOVE deletes only the declared admin entry/membership and preserves branch ref/reflog. All unrelated/prunable entries, refs, reflogs, config, hooks, worktree records, and other files remain unchanged.
63
+
64
+ Every declared result field is present. JSON `null` represents absent or inapplicable data; omission, wrong types, or string sentinels are invalid. The only A33 `not_applicable` enum is `trusted_code_risk` on an observed REMOVE approval. Joined static rows keep outer identity/delta/operation/approval/cleanup fields JSON `null`.
65
+
66
+ ## Required boundary evidence
67
+
68
+ Re-read target `AGENTS.md` and applicable rules at every operation/dispatch boundary. Target rules may narrow tools, paths, web, and permissions but never broaden them; same-level conflicts block. Each lane targets one declared repository/cwd, performs no recursive host scan, and writes user-visible artifacts only in the owning target repository. Missing/stale identity, rules, operation, approval, or delta evidence blocks.
69
+
70
+ Historical A30 read-only snapshots and provider behavior remain non-gating and cannot satisfy A33 identity, operation, runtime, or join evidence.
71
+
72
+ Only redacted metadata commands may be pre-approved for identity capture: `git status --short --branch`, `git status --porcelain=v1`, `git branch --show-current`, `git rev-parse --show-toplevel`, `git rev-parse --git-common-dir`, `git rev-parse --verify HEAD`, `git symbolic-ref --short -q HEAD`, and `git worktree list --porcelain`. Content-emitting Git commands, shell search commands, command substitution, pipelines, redirects, metacharacters, and subprocess launchers are not metadata evidence.
73
+
74
+ ## Permission intersection and deny precedence
75
+
76
+ Effective authority comes from the final runtime-merged child permission rules and their provenance. The conceptual intersection is:
77
+
78
+ `effective_allow = parent_allow ∩ base_role_allow ∩ task_allow − any_deny`
79
+
80
+ Any parent, base-role, task-overlay, runtime, external-directory, path, operation, or protocol deny wins. Missing, ambiguous, unsupported, stale, or conflicting permission evidence is a deny. `role_overlay` is evidence and narrowing text, never permission authority: it cannot turn `ask` or `deny` into `allow`, add a tool, clone ROSE permissions, expand external-directory access, or prove the final effective child rules.
81
+
82
+ Admission and operation approval are separate. Only ROSE owns exact add/non-force-remove operations. Add/remove approval never authorizes test, debug, verification, integration, cleanup, another attachment, or another operation. Prune, move, repair, lock/unlock, force remove, clean/reset, merge/rebase, commit/push, branch deletion, automatic integration, and real-repository cleanup remain excluded.
83
+
84
+ Delegation is non-transitive. Every non-ROSE subagent has `task: deny` and `external_directory: deny`; no packet can copy ROSE permission or turn ask/deny into allow. Built-in `explore` and `general` remain outside A33 guarantees until effective profile and provenance are proven.
85
+
86
+ ## Managed-role and Git boundary
87
+
88
+ The canonical inventory is exactly ROSE plus 19 managed Agent files. All 19 managed profiles deny `external_directory` and Task. `web-researcher` remains deny-by-default, local/external/mutation/delegation denied, and only `webfetch`/`websearch` ask. Where OpenCode patterns can express them without disabling legitimate same-root task work, managed profiles deny direct `.git` reads/edits and Git mutation commands. Read-only Git metadata may still reach the trusted common-dir. These are policy controls, not process containment.
89
+
90
+ ## Soft boundary and fail-closed rule
91
+
92
+ The host and attachments are one explicitly trusted same-owner, same-sensitivity, mutually readable/writable trust domain. OpenCode path/cwd/permission rules are a soft coordination boundary, not hard repository isolation or an OS sandbox. Trusted Git hooks/config/filters/tests can execute with user privileges and ambient network. A33 provides no sandbox, DLP, network isolation, universal TOCTOU guarantee, or arbitrary-process containment. Different repositories need not and normally do not share a Git common-dir; never claim cross-common-dir equality.
93
+
94
+ Static A33 evidence cannot prove effective runtime profiles, installed equality, nested operation behavior, or UV-007. Staged runtime modes may use only driver-owned temporary repositories. Usage exits `2`; unavailable mandatory runtime evidence or a missing/declined/unavailable required-valid-operation approval exits `3`; schema/set/key/identity/null/class/risk/mutation or observed effect/ref/reflog/delta/cleanup violations exit `5`. Narrow exit `0` does not upgrade the soft-boundary residuals above.
95
+
96
+ ## Reference-only use
97
+
98
+ Packets and results carry only:
99
+
100
+ ```text
101
+ worktree_context_ref:
102
+ protocol_path: .agents/skills/aili-delivery-flow/references/protocols/worktree-context.md
103
+ context_id:
104
+ evidence_version:
105
+ freshness:
106
+ mode: a33-attached-shared-trust-domain
107
+ ```
108
+
109
+ If a packet or result duplicates/rebinds WT-001 identity, approval, path, Git, dirty-state, command/cwd, or containment facts, the duplicate is non-authoritative and the operation is blocked for reconciliation.
@@ -0,0 +1,62 @@
1
+ # Questionnaire Policy
2
+
3
+ `requirements-grilling` is the sole requirements-refinement authority. `interview.md` is its one OpenSpec artifact. The phrases `change-interviewer`, `grill-me`, and `batch-grill-me` are compatibility routing only and own no second skill, prompt, command, artifact, state, manifest entry, or readiness authority.
4
+
5
+ ## When Required
6
+
7
+ - Requirements can be implemented in incompatible ways.
8
+ - Product, safety, data, or UX decisions are missing.
9
+ - Scope boundaries or forbidden files are unclear.
10
+ - Acceptance criteria cannot be verified from existing artifacts.
11
+
12
+ ## When Not Required
13
+
14
+ - The task is a small local edit with clear acceptance criteria.
15
+ - A current spec already answers the blocking questions.
16
+ - Current evidence fully resolves every material dimension.
17
+
18
+ ## Gate
19
+
20
+ DEFINE writes `openspec/changes/<change-id>/interview.md` through `requirements-grilling` when a material clarification exists. Ask the smallest decision-changing question by default. Use one bounded static Packet Mode artifact only when several independent blockers are already known and presenting them together reduces user effort. Use Frontier Batch Mode only when the user explicitly asks for batch grilling or to receive all currently dependency-ready questions together; never infer it from blocker count. Every question names the subject/decision, target, why now, risk/trade-off, options, evidence-backed recommendation or uncertainty, denial effect, and writeback target. Do not ask for facts current code/spec/test/config or the one applicable approved source lookup already establishes.
21
+
22
+ Write accepted chat/UI/custom answers to `interview.md`, then re-read disk before classification or readiness. Ambiguous, contradictory, incomplete, untestable, out-of-scope, or evidence-conflicting answers remain `Open Question`/`Unverified` and trigger a focused follow-up rather than guessed writeback. A custom answer is evaluated against the same evidence and materiality rules as a listed option; it is never forced into the nearest option.
23
+
24
+ Classify every confirmed correction, new requirement, artifact/design/task/test change, accepted finding, or implementation feedback as `covered`, `material-question`, `material-delta`, `ordinary-steering`, or `Unverified`. A `material-delta` writes/re-reads only affected artifacts and direct dependents, reruns required validation, and stales final-test-plan acceptance only when its acceptance or required verification changes. Never ask whether to save an in-scope delta, guess identity, expand permission, bypass high-risk approval, or start BUILD.
25
+
26
+ BUILD readiness requires coherent required artifacts, no unresolved material decision or decision-shaping source gap, required validation, and explicit final `test-plan.md` acceptance. Select only the source class needed for the exact gap; do not require local, official, prior-art, security, and alternatives lanes as a bundle. Named non-material runtime residuals may remain `Unverified` under their fail-closed gates. Test-plan acceptance is the sole lifecycle-level pre-BUILD user gate; material/coherence/validation/permission/destructive/high-risk gates remain separate.
27
+
28
+ ## Explicit Frontier Batch Mode
29
+
30
+ Frontier Batch Mode is user-invoked only. Explicit phrases such as “batch grill me”, “批量拷问”, or “ask every currently answerable decision together” select it. A request that merely contains several blockers does not.
31
+
32
+ - Resolve change identity and non-OpenSpec placement before the first batch. Keep permission, approval, destructive, external-access, dependency, schema/auth/security, commit/push/merge/release, and exact-operation questions separate and single; no batch answer grants or implies authority.
33
+ - Model the selected material scope as a decision tree. The current frontier is the complete set of material user decisions whose prerequisite decisions and required evidence are settled. Ask that frontier in one numbered packet, with no generic coverage questions. If only one material decision is ready, ask it as one question.
34
+ - A question that depends on another question still open in the current round belongs to a later round. Do not guess the prerequisite answer merely to enlarge the frontier.
35
+ - Finding facts remains the agent's job. ROSE runs the proactive delegation scan; `requirements-grilling` may return `need-evidence` with the affected dependency but must not dispatch, and only questions downstream of missing evidence wait. If an existing Task trigger is met, ROSE dispatches a fresh single-use Task with no old `task_id`; direct inspection is the no-trigger/blocked fallback and unrelated frontier questions remain eligible.
36
+ - Accept partial answers. Persist confirmed answers and dispositions to the one `interview.md` or agreed target, re-read disk, keep unanswered or invalid answers unresolved, and recompute the frontier from current evidence before the next round.
37
+ - The session ends only when the frontier is empty and the user explicitly confirms shared understanding. That confirmation is not requirements readiness by itself and never substitutes for validation, final `test-plan.md` acceptance, permission, or exact-operation approval.
38
+
39
+ ## Default Interaction
40
+
41
+ - Persist an OpenSpec `interview.md` only when clarification decisions need a durable record; do not manufacture a packet when current evidence resolves all material dimensions.
42
+ - Follow-up unresolved readiness questions are chat-first by default: ask concise blocking questions in chat, not by requiring the user to manually fill `interview.md`.
43
+ - Chat answers are not readiness evidence until ROSE writes them back into `interview.md` or the agreed questionnaire artifact.
44
+ - Direct file editing is supported when the user chooses it; after any direct edit, disk content wins after re-read and reconciliation.
45
+ - Before answer classification, readiness, BUILD gating, or local review evidence use, ROSE must re-read the artifact from disk after any AI write-back or user edit.
46
+
47
+ ## Artifact Freshness
48
+
49
+ Disk wins for user-editable questionnaire artifacts such as `interview.md`, but freshness is event-directed rather than a blanket continuation gate.
50
+
51
+ Before using, merging, validating, or overwriting a questionnaire artifact, ROSE must:
52
+
53
+ 1. Re-read the artifact after ROSE writes it and after a user edit, hook, conflict, or resume checkpoint makes it relevant.
54
+ 2. Inspect scoped working-tree/diff evidence only when needed to distinguish current user edits or merge conflicts.
55
+ 3. Treat on-disk content as the source of truth and refresh only direct dependents.
56
+ 4. Never claim “no changes detected” without current disk evidence.
57
+
58
+ ## Coverage proportional to the decision
59
+
60
+ Cover only dimensions capable of changing this change's implementation or acceptance. Record each applicable item as confirmed, needs question, open question, or `Unverified`; do not create a full generic coverage matrix for an already coherent bounded change.
61
+
62
+ `requirements-grilling` owns its direct consistency check and then stops. It must not invoke `strategy-stress-test`, `test-document-generator`, planning, TDD, review, or security. It may return one named material loophole or downstream artifact need to ROSE; ROSE selects the next canonical loop only if the current user intent or concrete gap warrants it. No interview readiness state creates another approval gate.
@@ -0,0 +1,16 @@
1
+ # Review and Repair Loop
2
+
3
+ This loop triggers only on explicit review/repair intent or one concrete blocking finding in an affected completion/SHIP claim. Run the proactive delegation scan; direct inspection is the no-trigger/blocked fallback, and entering BUILD or SHIP does not automatically activate specialist review.
4
+
5
+ 1. Resolve the accepted scope, final diff, applicable task rows, one repository/cwd, owning artifact destination, and checks already run. For A33, require one current WT-001 reference, re-read target rules, disclose the soft boundary, and do not scan the host broadly.
6
+ 2. ROSE inspects the diff/task coverage and runs the smallest check that proves each required claim.
7
+ 3. Select at most one auxiliary review capability when the user requests it or a concrete gap cannot be covered directly. Dispatch eligible contexts promptly. Default concurrency is at most two but is not a hard cap; larger bounded read-only fan-out requires independent non-overlapping units, concrete benefit, suitable owners, and an explicit join plan. Every context must use the canonical result envelope.
8
+ 4. Reconcile their evidence without voting; subagents never own the final verdict or duplicate/rebind WT identity, keys, approvals, Git state, rules, or command/cwd.
9
+ 5. If one blocking issue is found, apply one targeted repair and rerun only the affected check. Report any remaining blocker instead of starting another cycle.
10
+ 6. Keep uncovered requirements, skipped checks, stale evidence, and unsupported readiness claims `Open Question` or `Unverified`.
11
+
12
+ Run a spec coverage check for formal changes that maps requirements/tasks/test-plan items to implementation, verification, review, and security evidence without requiring automatic specialist lanes.
13
+
14
+ BUILD's completion inspection runs the proactive delegation scan and one minimal changed-scope check, dispatches one auxiliary capability when a concrete gap triggers it, permits at most one targeted repair/recheck, records `IMPLEMENTED_TARGETED_VERIFIED` or blocks, and stops before SHIP. SHIP requires fresh explicit intent and reuses evidence unless an affected event stales it. Unchanged transport preserves evidence; relevant hook, tree/content, config, dependency, toolchain, target, or changed-merge events stale only affected rows. CI failure reports and stops for user decision; it never auto-repairs, commits, or pushes.
15
+
16
+ Do not create an automatic code/test/security/coverage/convergence swarm, a full-suite requirement without claim need, or a fixed multi-cycle review loop.
@@ -0,0 +1,35 @@
1
+ # Test Document Policy
2
+
3
+ The test document turns requirements into verification evidence before implementation starts.
4
+
5
+ ## Required Content
6
+
7
+ - requirement or scenario identifier;
8
+ - traceability matrix for formal changes, mapping requirement, decision, or risk to task/package, file or artifact, verification command or inspection, evidence, and coverage status;
9
+ - test case or manual check;
10
+ - expected result;
11
+ - command or evidence source;
12
+ - status: planned, passed, failed, skipped, or unverified.
13
+
14
+ ## Gate
15
+
16
+ - Generate or materially revise a test document only on explicit test-plan/QA/acceptance-matrix intent or when one concrete missing testability decision blocks a formal change. Formal OpenSpec DEFINE writes its required `openspec/changes/<change-id>/test-plan.md` through `test-document-generator`; ordinary implementation does not manufacture a test-plan workflow.
17
+ - Formal changes must include a requirements/decisions/risks traceability matrix. Missing task/package, file/artifact, verification, or evidence links must be labeled `Open Question` when they need a decision, or `Unverified` when they need later evidence.
18
+ - BUILD may start only after applicable decision-shaping research is closed, the artifacts and traceability are coherent/validated, and the user explicitly accepts the final test plan. A waiver or accepted-`Unverified` label cannot substitute for either material research closure or final test-plan acceptance.
19
+ - Named non-material runtime residuals such as UV-006/UV-007 may remain explicitly `Unverified` only when their runtime/operation paths fail closed; they continue to block any claim or operation that needs the missing evidence.
20
+ - BUILD readiness is only `READY` or `BLOCKED`; `WAIVED` and accepted-`UNVERIFIED` are not readiness alternatives. Package savepoints and package boundaries add no test-plan or package approval.
21
+ - Test-document generation creates no scheme, packet, test-plan-draft, or research-summary approval. Final `test-plan.md` acceptance remains the one lifecycle-level pre-BUILD user gate for formal work.
22
+ - The artifact owner performs a direct consistency pass and stops. It must not invoke stress-test, research, TDD, review, or another process skill; it may return one concrete missing decision/evidence need to ROSE.
23
+ - BUILD ends after the canonical owner selects one minimal changed-scope completion check at `IMPLEMENTED_TARGETED_VERIFIED`. SHIP requires fresh explicit intent, reuses still-covering BUILD evidence, and refreshes only affected claim rows. A full traceability matrix or specialist capability is selected only for a concrete gap.
24
+ - Material DEFINE decisions, the one final test-plan acceptance, fresh SHIP intent, and exact commit/push/merge/release approvals remain distinct controls. CI failure returns to the user and never authorizes automatic repair, commit, push, merge, or release.
25
+
26
+ ## Artifact Freshness
27
+
28
+ Disk wins for user-editable test artifacts such as `test-plan.md`; freshness is event-directed.
29
+
30
+ Before using, merging, validating, or overwriting a test document, ROSE must:
31
+
32
+ 1. Re-read the artifact after ROSE writes it and after a user edit, hook, conflict, or resume checkpoint makes it relevant.
33
+ 2. Inspect scoped status/diff only when needed to distinguish current edits or merge conflicts.
34
+ 3. Treat on-disk content as source of truth and refresh only direct dependents.
35
+ 4. Never claim “no changes detected” without current disk evidence.