@jaimevalasek/aioson 1.5.1 → 1.7.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 (341) hide show
  1. package/CHANGELOG.md +49 -0
  2. package/README.md +729 -226
  3. package/docs/design-previews/aurora-command-ui-website.html +884 -0
  4. package/docs/design-previews/aurora-command-ui.html +682 -0
  5. package/docs/design-previews/bold-editorial-ui-website.html +658 -0
  6. package/docs/design-previews/bold-editorial-ui.html +717 -0
  7. package/docs/design-previews/clean-saas-ui-website.html +1202 -0
  8. package/docs/design-previews/clean-saas-ui.html +549 -0
  9. package/docs/design-previews/cognitive-core-ui-website.html +1009 -0
  10. package/docs/design-previews/cognitive-core-ui.html +463 -0
  11. package/docs/design-previews/glassmorphism-ui-website.html +572 -0
  12. package/docs/design-previews/glassmorphism-ui.html +886 -0
  13. package/docs/design-previews/index.html +699 -0
  14. package/docs/design-previews/interface-design-website.html +1187 -0
  15. package/docs/design-previews/interface-design.html +513 -0
  16. package/docs/design-previews/neo-brutalist-ui-website.html +621 -0
  17. package/docs/design-previews/neo-brutalist-ui.html +797 -0
  18. package/docs/design-previews/premium-command-center-ui-website.html +1217 -0
  19. package/docs/design-previews/premium-command-center-ui.html +552 -0
  20. package/docs/design-previews/pt.squarespace.com-homepage.html +889 -0
  21. package/docs/design-previews/warm-craft-ui-website.html +684 -0
  22. package/docs/design-previews/warm-craft-ui.html +739 -0
  23. package/docs/en/cli-reference.md +20 -9
  24. package/docs/integrations/sdlc-genius-boundary.md +76 -0
  25. package/docs/integrations/sdlc-genius-eval-matrix.md +75 -0
  26. package/docs/integrations/sdlc-genius-install-checklist.md +93 -0
  27. package/docs/integrations/sdlc-genius-review-samples.md +86 -0
  28. package/docs/pt/README.md +10 -0
  29. package/docs/pt/agent-sharding.md +132 -0
  30. package/docs/pt/agentes.md +9 -2
  31. package/docs/pt/busca-de-contexto.md +129 -0
  32. package/docs/pt/cache-de-contexto.md +156 -0
  33. package/docs/pt/comandos-cli.md +915 -1
  34. package/docs/pt/design-hybrid-forge.md +356 -0
  35. package/docs/pt/devlog-pipeline.md +270 -0
  36. package/docs/pt/fluxo-artefatos.md +178 -0
  37. package/docs/pt/hooks-session-guard.md +454 -0
  38. package/docs/pt/inicio-rapido.md +54 -3
  39. package/docs/pt/inteligencia-adaptativa.md +324 -0
  40. package/docs/pt/monitor-de-contexto.md +158 -0
  41. package/docs/pt/recuperacao-de-sessao.md +125 -0
  42. package/docs/pt/sandbox.md +125 -0
  43. package/docs/pt/sdd-automation-scripts.md +557 -0
  44. package/docs/pt/site-forge.md +309 -0
  45. package/docs/pt/skills.md +98 -6
  46. package/docs/pt/spec-learnings-pipeline.md +265 -0
  47. package/package.json +1 -1
  48. package/src/a2a/client.js +165 -0
  49. package/src/a2a/server.js +223 -0
  50. package/src/agent-loader.js +280 -0
  51. package/src/cli.js +329 -1
  52. package/src/commands/agent-audit.js +397 -0
  53. package/src/commands/agent-export-skill.js +229 -0
  54. package/src/commands/agent-loader.js +85 -0
  55. package/src/commands/artifact-validate.js +189 -0
  56. package/src/commands/brief-gen.js +405 -0
  57. package/src/commands/brief-validate.js +65 -0
  58. package/src/commands/classify.js +256 -0
  59. package/src/commands/context-cache.js +90 -0
  60. package/src/commands/context-compact.js +49 -0
  61. package/src/commands/context-health.js +175 -0
  62. package/src/commands/context-monitor.js +163 -0
  63. package/src/commands/context-search.js +66 -0
  64. package/src/commands/context-trim.js +177 -0
  65. package/src/commands/design-hybrid-options.js +385 -0
  66. package/src/commands/detect-test-runner.js +55 -0
  67. package/src/commands/devlog-export-brains.js +27 -0
  68. package/src/commands/devlog-process.js +292 -0
  69. package/src/commands/devlog-watch.js +131 -0
  70. package/src/commands/feature-close.js +165 -0
  71. package/src/commands/gate-check.js +228 -0
  72. package/src/commands/health.js +214 -0
  73. package/src/commands/hooks-emit.js +253 -0
  74. package/src/commands/hooks-install.js +347 -0
  75. package/src/commands/init.js +54 -13
  76. package/src/commands/install.js +52 -13
  77. package/src/commands/learning-auto-promote.js +195 -0
  78. package/src/commands/learning-evolve.js +364 -0
  79. package/src/commands/learning-export.js +103 -0
  80. package/src/commands/learning-rollback.js +164 -0
  81. package/src/commands/live.js +59 -1
  82. package/src/commands/pattern-detect.js +33 -0
  83. package/src/commands/preflight-context.js +30 -0
  84. package/src/commands/preflight.js +208 -0
  85. package/src/commands/pulse-update.js +130 -0
  86. package/src/commands/recovery.js +43 -0
  87. package/src/commands/runner-daemon.js +274 -0
  88. package/src/commands/runner-plan.js +70 -0
  89. package/src/commands/runner-queue-from-plan.js +166 -0
  90. package/src/commands/runner-queue.js +189 -0
  91. package/src/commands/runner-run.js +129 -0
  92. package/src/commands/runtime.js +47 -1
  93. package/src/commands/sandbox.js +37 -0
  94. package/src/commands/self-implement-loop.js +256 -0
  95. package/src/commands/session-guard.js +218 -0
  96. package/src/commands/setup-context.js +22 -2
  97. package/src/commands/setup.js +178 -0
  98. package/src/commands/sizing.js +165 -0
  99. package/src/commands/skill.js +144 -32
  100. package/src/commands/spec-checkpoint.js +177 -0
  101. package/src/commands/spec-status.js +79 -0
  102. package/src/commands/spec-sync.js +190 -0
  103. package/src/commands/spec-tasks.js +288 -0
  104. package/src/commands/squad-autorun.js +1220 -0
  105. package/src/commands/squad-bus.js +217 -0
  106. package/src/commands/squad-card.js +149 -0
  107. package/src/commands/squad-daemon.js +134 -0
  108. package/src/commands/squad-dependency-graph.js +164 -0
  109. package/src/commands/squad-review.js +106 -0
  110. package/src/commands/squad-scaffold.js +55 -0
  111. package/src/commands/squad-tool-register.js +157 -0
  112. package/src/commands/state-save.js +122 -0
  113. package/src/commands/tool-registry-cmd.js +232 -0
  114. package/src/commands/update.js +9 -0
  115. package/src/commands/verify-gate.js +572 -0
  116. package/src/commands/workflow-execute.js +241 -0
  117. package/src/constants.js +18 -0
  118. package/src/context-cache.js +159 -0
  119. package/src/context-search.js +326 -0
  120. package/src/design-variation-catalog.js +503 -0
  121. package/src/i18n/messages/en.js +32 -2
  122. package/src/i18n/messages/es.js +30 -2
  123. package/src/i18n/messages/fr.js +30 -2
  124. package/src/i18n/messages/pt-BR.js +32 -2
  125. package/src/install-animation.js +260 -0
  126. package/src/install-profile.js +143 -0
  127. package/src/install-wizard.js +475 -0
  128. package/src/installer.js +44 -10
  129. package/src/lib/health-check.js +158 -0
  130. package/src/lib/hook-protocol.js +76 -0
  131. package/src/mcp/apps/squad-dashboard/app.js +163 -0
  132. package/src/mcp/apps/squad-dashboard/index.html +261 -0
  133. package/src/mcp/apps/squad-dashboard/mcp-manifest.json +23 -0
  134. package/src/mcp/resources/squad-state.js +130 -0
  135. package/src/parser.js +7 -1
  136. package/src/preflight-engine.js +443 -0
  137. package/src/recovery-context-session.js +154 -0
  138. package/src/runner/cascade.js +97 -0
  139. package/src/runner/cli-launcher.js +109 -0
  140. package/src/runner/plan-importer.js +63 -0
  141. package/src/runner/queue-store.js +159 -0
  142. package/src/runtime-store.js +158 -4
  143. package/src/sandbox.js +177 -0
  144. package/src/squad/agent-teams-adapter.js +264 -0
  145. package/src/squad/brief-validator.js +350 -0
  146. package/src/squad/bus-bridge.js +140 -0
  147. package/src/squad/context-compactor.js +265 -0
  148. package/src/squad/cross-ai-synthesizer.js +250 -0
  149. package/src/squad/hooks-generator.js +196 -0
  150. package/src/squad/inter-squad-events.js +175 -0
  151. package/src/squad/intra-bus.js +345 -0
  152. package/src/squad/learning-extractor.js +213 -0
  153. package/src/squad/pattern-detector.js +365 -0
  154. package/src/squad/preflight-context.js +296 -0
  155. package/src/squad/recovery-context.js +242 -71
  156. package/src/squad/reflection.js +365 -0
  157. package/src/squad/squad-scaffold.js +177 -0
  158. package/src/squad/state-manager.js +310 -0
  159. package/src/squad/task-decomposer.js +652 -0
  160. package/src/squad/verify-gate.js +303 -0
  161. package/src/tool-executor.js +94 -0
  162. package/src/updater.js +10 -3
  163. package/src/worker-runner.js +186 -1
  164. package/template/.aioson/agents/analyst.md +119 -3
  165. package/template/.aioson/agents/architect.md +98 -0
  166. package/template/.aioson/agents/design-hybrid-forge.md +141 -0
  167. package/template/.aioson/agents/dev.md +335 -14
  168. package/template/.aioson/agents/deyvin.md +117 -2
  169. package/template/.aioson/agents/discovery-design-doc.md +44 -0
  170. package/template/.aioson/agents/genome.md +14 -0
  171. package/template/.aioson/agents/neo.md +78 -1
  172. package/template/.aioson/agents/orache.md +50 -4
  173. package/template/.aioson/agents/orchestrator.md +197 -1
  174. package/template/.aioson/agents/pm.md +93 -0
  175. package/template/.aioson/agents/product.md +77 -4
  176. package/template/.aioson/agents/profiler-enricher.md +14 -0
  177. package/template/.aioson/agents/profiler-forge.md +14 -0
  178. package/template/.aioson/agents/profiler-researcher.md +14 -0
  179. package/template/.aioson/agents/qa.md +249 -19
  180. package/template/.aioson/agents/setup.md +144 -12
  181. package/template/.aioson/agents/sheldon.md +237 -11
  182. package/template/.aioson/agents/site-forge.md +1753 -0
  183. package/template/.aioson/agents/squad.md +162 -0
  184. package/template/.aioson/agents/tester.md +209 -0
  185. package/template/.aioson/agents/ux-ui.md +34 -1
  186. package/template/.aioson/brains/README.md +128 -0
  187. package/template/.aioson/brains/_index.json +16 -0
  188. package/template/.aioson/brains/scripts/query.js +103 -0
  189. package/template/.aioson/brains/site-forge/visual-patterns.brain.json +205 -0
  190. package/template/.aioson/config.md +158 -13
  191. package/template/.aioson/constitution.md +33 -0
  192. package/template/.aioson/context/forensics/.gitkeep +0 -0
  193. package/template/.aioson/context/project-pulse.md +34 -0
  194. package/template/.aioson/context/seeds/seed-example.md +27 -0
  195. package/template/.aioson/context/user-profile.md +42 -0
  196. package/template/.aioson/docs/LAYERS.md +79 -0
  197. package/template/.aioson/docs/README.md +76 -0
  198. package/template/.aioson/docs/example-external-api-context.md +72 -0
  199. package/template/.aioson/locales/en/agents/architect.md +17 -0
  200. package/template/.aioson/locales/en/agents/dev.md +79 -13
  201. package/template/.aioson/locales/en/agents/orache.md +6 -0
  202. package/template/.aioson/locales/en/agents/orchestrator.md +24 -0
  203. package/template/.aioson/locales/en/agents/product.md +50 -0
  204. package/template/.aioson/locales/en/agents/setup.md +33 -1
  205. package/template/.aioson/locales/en/agents/sheldon.md +115 -0
  206. package/template/.aioson/locales/en/agents/squad.md +14 -0
  207. package/template/.aioson/locales/en/agents/tester.md +6 -0
  208. package/template/.aioson/locales/es/agents/analyst.md +2 -0
  209. package/template/.aioson/locales/es/agents/architect.md +19 -0
  210. package/template/.aioson/locales/es/agents/dev.md +64 -4
  211. package/template/.aioson/locales/es/agents/deyvin.md +2 -0
  212. package/template/.aioson/locales/es/agents/discovery-design-doc.md +2 -0
  213. package/template/.aioson/locales/es/agents/genome.md +2 -0
  214. package/template/.aioson/locales/es/agents/neo.md +2 -0
  215. package/template/.aioson/locales/es/agents/orache.md +2 -0
  216. package/template/.aioson/locales/es/agents/orchestrator.md +26 -0
  217. package/template/.aioson/locales/es/agents/pair.md +2 -0
  218. package/template/.aioson/locales/es/agents/pm.md +2 -0
  219. package/template/.aioson/locales/es/agents/product.md +52 -0
  220. package/template/.aioson/locales/es/agents/profiler-enricher.md +2 -0
  221. package/template/.aioson/locales/es/agents/profiler-forge.md +2 -0
  222. package/template/.aioson/locales/es/agents/profiler-researcher.md +2 -0
  223. package/template/.aioson/locales/es/agents/qa.md +2 -0
  224. package/template/.aioson/locales/es/agents/setup.md +35 -1
  225. package/template/.aioson/locales/es/agents/sheldon.md +117 -0
  226. package/template/.aioson/locales/es/agents/squad.md +16 -0
  227. package/template/.aioson/locales/es/agents/tester.md +9 -0
  228. package/template/.aioson/locales/es/agents/ux-ui.md +2 -0
  229. package/template/.aioson/locales/fr/agents/analyst.md +2 -0
  230. package/template/.aioson/locales/fr/agents/architect.md +19 -0
  231. package/template/.aioson/locales/fr/agents/dev.md +64 -4
  232. package/template/.aioson/locales/fr/agents/deyvin.md +2 -0
  233. package/template/.aioson/locales/fr/agents/discovery-design-doc.md +2 -0
  234. package/template/.aioson/locales/fr/agents/genome.md +2 -0
  235. package/template/.aioson/locales/fr/agents/neo.md +2 -0
  236. package/template/.aioson/locales/fr/agents/orache.md +2 -0
  237. package/template/.aioson/locales/fr/agents/orchestrator.md +26 -0
  238. package/template/.aioson/locales/fr/agents/pair.md +2 -0
  239. package/template/.aioson/locales/fr/agents/pm.md +2 -0
  240. package/template/.aioson/locales/fr/agents/product.md +52 -0
  241. package/template/.aioson/locales/fr/agents/profiler-enricher.md +2 -0
  242. package/template/.aioson/locales/fr/agents/profiler-forge.md +2 -0
  243. package/template/.aioson/locales/fr/agents/profiler-researcher.md +2 -0
  244. package/template/.aioson/locales/fr/agents/qa.md +2 -0
  245. package/template/.aioson/locales/fr/agents/setup.md +35 -1
  246. package/template/.aioson/locales/fr/agents/sheldon.md +117 -0
  247. package/template/.aioson/locales/fr/agents/squad.md +16 -0
  248. package/template/.aioson/locales/fr/agents/tester.md +9 -0
  249. package/template/.aioson/locales/fr/agents/ux-ui.md +2 -0
  250. package/template/.aioson/locales/pt-BR/agents/analyst.md +64 -3
  251. package/template/.aioson/locales/pt-BR/agents/architect.md +42 -0
  252. package/template/.aioson/locales/pt-BR/agents/dev.md +147 -14
  253. package/template/.aioson/locales/pt-BR/agents/deyvin.md +47 -0
  254. package/template/.aioson/locales/pt-BR/agents/neo.md +62 -1
  255. package/template/.aioson/locales/pt-BR/agents/orchestrator.md +158 -2
  256. package/template/.aioson/locales/pt-BR/agents/pm.md +95 -1
  257. package/template/.aioson/locales/pt-BR/agents/product.md +145 -18
  258. package/template/.aioson/locales/pt-BR/agents/qa.md +16 -0
  259. package/template/.aioson/locales/pt-BR/agents/setup.md +134 -19
  260. package/template/.aioson/locales/pt-BR/agents/sheldon.md +132 -1
  261. package/template/.aioson/locales/pt-BR/agents/squad.md +14 -0
  262. package/template/.aioson/locales/pt-BR/agents/tester.md +449 -0
  263. package/template/.aioson/rules/README.md +69 -0
  264. package/template/.aioson/rules/data-format-convention.md +136 -0
  265. package/template/.aioson/rules/example-monetary-values.md +30 -0
  266. package/template/.aioson/schemas/squad-manifest.schema.json +124 -3
  267. package/template/.aioson/skills/design/aurora-command-ui/SKILL.md +243 -0
  268. package/template/.aioson/skills/design/aurora-command-ui/references/art-direction.md +293 -0
  269. package/template/.aioson/skills/design/aurora-command-ui/references/components.md +827 -0
  270. package/template/.aioson/skills/design/aurora-command-ui/references/dashboards.md +250 -0
  271. package/template/.aioson/skills/design/aurora-command-ui/references/design-tokens.md +585 -0
  272. package/template/.aioson/skills/design/aurora-command-ui/references/motion.md +365 -0
  273. package/template/.aioson/skills/design/aurora-command-ui/references/patterns.md +482 -0
  274. package/template/.aioson/skills/design/aurora-command-ui/references/websites.md +387 -0
  275. package/template/.aioson/skills/design/glassmorphism-ui/SKILL.md +222 -0
  276. package/template/.aioson/skills/design/glassmorphism-ui/references/art-direction.md +159 -0
  277. package/template/.aioson/skills/design/glassmorphism-ui/references/components.md +498 -0
  278. package/template/.aioson/skills/design/glassmorphism-ui/references/dashboards.md +236 -0
  279. package/template/.aioson/skills/design/glassmorphism-ui/references/design-tokens.md +274 -0
  280. package/template/.aioson/skills/design/glassmorphism-ui/references/motion.md +355 -0
  281. package/template/.aioson/skills/design/glassmorphism-ui/references/patterns.md +198 -0
  282. package/template/.aioson/skills/design/glassmorphism-ui/references/websites.md +307 -0
  283. package/template/.aioson/skills/design/neo-brutalist-ui/SKILL.md +213 -0
  284. package/template/.aioson/skills/design/neo-brutalist-ui/references/art-direction.md +228 -0
  285. package/template/.aioson/skills/design/neo-brutalist-ui/references/components.md +855 -0
  286. package/template/.aioson/skills/design/neo-brutalist-ui/references/dashboards.md +334 -0
  287. package/template/.aioson/skills/design/neo-brutalist-ui/references/design-tokens.md +342 -0
  288. package/template/.aioson/skills/design/neo-brutalist-ui/references/motion.md +286 -0
  289. package/template/.aioson/skills/design/neo-brutalist-ui/references/patterns.md +458 -0
  290. package/template/.aioson/skills/design/neo-brutalist-ui/references/websites.md +723 -0
  291. package/template/.aioson/skills/design/pt.squarespace.com/.skill-meta.json +31 -0
  292. package/template/.aioson/skills/design/pt.squarespace.com/SKILL.md +66 -0
  293. package/template/.aioson/skills/design/pt.squarespace.com/references/components.md +368 -0
  294. package/template/.aioson/skills/design/pt.squarespace.com/references/design-tokens.md +150 -0
  295. package/template/.aioson/skills/design/pt.squarespace.com/references/motion.md +270 -0
  296. package/template/.aioson/skills/design/pt.squarespace.com/references/patterns.md +189 -0
  297. package/template/.aioson/skills/design/pt.squarespace.com/references/websites.md +165 -0
  298. package/template/.aioson/skills/process/aioson-spec-driven/SKILL.md +46 -0
  299. package/template/.aioson/skills/process/aioson-spec-driven/references/analyst.md +30 -0
  300. package/template/.aioson/skills/process/aioson-spec-driven/references/approval-gates.md +109 -0
  301. package/template/.aioson/skills/process/aioson-spec-driven/references/architect.md +23 -0
  302. package/template/.aioson/skills/process/aioson-spec-driven/references/artifact-map.md +44 -0
  303. package/template/.aioson/skills/process/aioson-spec-driven/references/classification-map.md +37 -0
  304. package/template/.aioson/skills/process/aioson-spec-driven/references/dev.md +47 -0
  305. package/template/.aioson/skills/process/aioson-spec-driven/references/deyvin.md +27 -0
  306. package/template/.aioson/skills/process/aioson-spec-driven/references/hardening-lane.md +49 -0
  307. package/template/.aioson/skills/process/aioson-spec-driven/references/maintenance-and-state.md +101 -0
  308. package/template/.aioson/skills/process/aioson-spec-driven/references/product.md +25 -0
  309. package/template/.aioson/skills/process/aioson-spec-driven/references/qa.md +30 -0
  310. package/template/.aioson/skills/process/aioson-spec-driven/references/sheldon.md +25 -0
  311. package/template/.aioson/skills/process/aioson-spec-driven/references/ui-language.md +75 -0
  312. package/template/.aioson/skills/process/design-hybrid-forge/SKILL.md +147 -0
  313. package/template/.aioson/skills/process/design-hybrid-forge/references/crossover-protocol.md +221 -0
  314. package/template/.aioson/skills/process/design-hybrid-forge/references/naming-registry.md +88 -0
  315. package/template/.aioson/skills/process/design-hybrid-forge/references/output-contract.md +306 -0
  316. package/template/.aioson/skills/process/design-hybrid-forge/references/pair-compatibility.md +149 -0
  317. package/template/.aioson/skills/process/design-hybrid-forge/references/quality-gates.md +208 -0
  318. package/template/.aioson/skills/process/design-hybrid-forge/references/variation-library.md +125 -0
  319. package/template/.aioson/skills/process/simplify/SKILL.md +173 -0
  320. package/template/.aioson/skills/static/context-budget-guide.md +46 -0
  321. package/template/.aioson/skills/static/harness-sensors.md +74 -0
  322. package/template/.aioson/skills/static/multi-agent-patterns.md +43 -0
  323. package/template/.aioson/skills/static/react-motion-patterns.md +22 -0
  324. package/template/.aioson/skills/static/static-html-patterns/checklists.md +43 -0
  325. package/template/.aioson/skills/static/static-html-patterns/css-tokens.md +609 -0
  326. package/template/.aioson/skills/static/static-html-patterns/motion.md +193 -0
  327. package/template/.aioson/skills/static/static-html-patterns/premium.md +711 -0
  328. package/template/.aioson/skills/static/static-html-patterns/structure.md +209 -0
  329. package/template/.aioson/skills/static/static-html-patterns/utilities.md +190 -0
  330. package/template/.aioson/skills/static/static-html-patterns.md +58 -1913
  331. package/template/.aioson/skills/static/threejs-patterns.md +929 -0
  332. package/template/.aioson/skills/static/web-research-cache.md +112 -0
  333. package/template/.aioson/tasks/implementation-plan.md +21 -1
  334. package/template/.claude/commands/aioson/agent/design-hybrid-forge.md +5 -0
  335. package/template/.claude/commands/aioson/agent/orache.md +5 -0
  336. package/template/.claude/commands/aioson/agent/sheldon.md +5 -0
  337. package/template/.claude/commands/aioson/agent/site-forge.md +5 -0
  338. package/template/AGENTS.md +75 -1
  339. package/template/CLAUDE.md +31 -0
  340. package/template/OPENCODE.md +4 -0
  341. package/template/researchs/.gitkeep +0 -0
@@ -6,39 +6,50 @@ Complete reference for all `aioson` commands.
6
6
 
7
7
  ## init
8
8
 
9
- Create a new project directory and install AIOSON inside it.
9
+ Create a new project directory and install AIOSON inside it. In interactive terminals, an **install wizard** runs first so you choose which AI tools and modes to install.
10
10
 
11
11
  ```bash
12
12
  aioson init <project-name>
13
13
  aioson init my-app --lang=pt-BR
14
14
  aioson init my-app --tool=codex
15
- aioson init my-app --lang=es --tool=gemini --json
15
+ aioson init my-app --no-interactive
16
16
  ```
17
17
 
18
18
  **Options:**
19
19
  - `--lang=en|pt-BR|es|fr` — sets `conversation_language` in the generated context and applies the matching agent locale pack. Default: `en`.
20
20
  - `--tool=codex|claude|gemini|opencode` — configures the primary AI client. Affects which gateway file is used. Default: `codex`.
21
+ - `--no-interactive` — skip the wizard and install all files (CI / automation).
21
22
  - `--json` — prints structured JSON result instead of human-readable output.
22
23
 
23
24
  **What it does:**
24
25
  1. Creates `<project-name>/` directory.
25
- 2. Copies all template files into it.
26
- 3. Applies the selected locale pack.
27
- 4. Prints the recommended first command (`@setup`).
26
+ 2. Runs the install wizard (tools + mode selection).
27
+ 3. Copies only the files matching your profile.
28
+ 4. Shows the AIOSON reveal animation and install summary.
29
+ 5. Applies the selected locale pack.
28
30
 
29
31
  ---
30
32
 
31
33
  ## install
32
34
 
33
- Install AIOSON in an existing directory (or the current directory).
35
+ Install AIOSON in an existing directory (or the current directory). Runs the same wizard as `init` when in a TTY.
34
36
 
35
37
  ```bash
36
38
  aioson install
37
39
  aioson install ./my-project
38
40
  aioson install --lang=pt-BR --tool=claude
41
+ aioson install --reconfigure
42
+ aioson install --no-interactive
39
43
  ```
40
44
 
41
- **Options:** same as `init`.
45
+ **Options:**
46
+ - `--lang=en|pt-BR|es|fr` — sets locale pack.
47
+ - `--tool=codex|claude|gemini|opencode` — configures AI client.
48
+ - `--reconfigure` — re-run the wizard even if a profile already exists (e.g. to add Gemini later).
49
+ - `--no-interactive` — skip the wizard and install all files.
50
+ - `--force` — overwrite existing files.
51
+ - `--dry-run` — preview without writing.
52
+ - `--json` — prints structured JSON result.
42
53
 
43
54
  **Use this when:**
44
55
  - The project already exists (legacy codebase, existing repo).
@@ -48,7 +59,7 @@ aioson install --lang=pt-BR --tool=claude
48
59
 
49
60
  ## update
50
61
 
51
- Update managed files to the latest template version. Preserves context files and anything not in the managed file list.
62
+ Update managed files to the latest template version. Respects the saved install profile only updates files that were originally installed.
52
63
 
53
64
  ```bash
54
65
  aioson update
@@ -60,7 +71,7 @@ aioson update --lang=pt-BR
60
71
  - `--lang=en|pt-BR|es|fr` — re-applies the locale pack after updating. If omitted, re-applies whatever locale is currently active.
61
72
  - `--json` — prints structured JSON result.
62
73
 
63
- **What it updates:** all files in the `MANAGED_FILES` list (agents, config, gateway files, skills). Does not touch `project.context.md`, `discovery.md`, `architecture.md`, or other context files you created.
74
+ **What it updates:** all files in the `MANAGED_FILES` list that match your install profile (agents, config, gateway files, skills). Does not touch `project.context.md`, `discovery.md`, `architecture.md`, or other context files you created.
64
75
 
65
76
  ---
66
77
 
@@ -0,0 +1,76 @@
1
+ # SDLC Genius — Integration Boundary
2
+
3
+ > Created: 2026-04-02
4
+ > Status: pre-pilot — defines what the app is allowed and not allowed to influence
5
+
6
+ ---
7
+
8
+ ## Boundary Rule
9
+
10
+ **AIOSON artifacts drive work. SDLC Genius may react to GitHub changes. SDLC Genius does not mutate AIOSON source-of-truth artifacts directly.**
11
+
12
+ ---
13
+
14
+ ## What SDLC Genius Must NOT Own
15
+
16
+ These artifacts are AIOSON's exclusive responsibility:
17
+
18
+ | Artifact | Owner | Reason |
19
+ |----------|-------|--------|
20
+ | `prd-{slug}.md` | @product | Product decisions require human + agent deliberation |
21
+ | `requirements-{slug}.md` | @analyst | Business rules require structured discovery |
22
+ | `spec-{slug}.md` | @analyst / @dev | Feature memory and phase gates are AIOSON's execution state |
23
+ | `architecture.md` | @architect | Architecture decisions require full project context |
24
+ | `design-doc*.md` | @architect / @discovery-design-doc | Scope decisions are AIOSON artifacts |
25
+ | `implementation-plan*.md` | @dev / @orchestrator | Execution sequencing belongs to AIOSON |
26
+ | `.aioson/constitution.md` | User | Never externally modified |
27
+ | `.aioson/rules/` | User / @dev | Project conventions are internal |
28
+
29
+ SDLC Genius must never write to these files, even indirectly.
30
+
31
+ ---
32
+
33
+ ## What SDLC Genius May Own Well
34
+
35
+ These are appropriate surfaces for a GitHub execution assistant:
36
+
37
+ | Surface | Notes |
38
+ |---------|-------|
39
+ | PR review comments | Secondary signal — complements @qa, does not replace it |
40
+ | Test generation suggestions | Must be reviewed by developer before accepting |
41
+ | Documentation nudges | Flags stale docs, does not rewrite them |
42
+ | GitHub workflow insights | Metrics and visibility in GitHub context |
43
+ | Code quality signals | Language-level feedback that AIOSON agents do not produce |
44
+
45
+ ---
46
+
47
+ ## How to Interpret SDLC Genius Output
48
+
49
+ When SDLC Genius comments on a PR:
50
+
51
+ 1. **Check if the comment is already covered by AIOSON artifacts** — if `requirements-{slug}.md` or `spec-{slug}.md` already addresses the point, SDLC Genius is confirming what AIOSON decided
52
+ 2. **If the comment contradicts a spec decision** — do not change the code; flag the contradiction to the user for a spec update
53
+ 3. **If the comment is about language-level quality** (naming, type safety, unused imports) — act directly without spec update
54
+ 4. **If the comment suggests a new requirement** — this is a spec change; route to @product or @analyst, not directly to @dev
55
+
56
+ ---
57
+
58
+ ## Conflict Resolution
59
+
60
+ When SDLC Genius output conflicts with AIOSON artifacts:
61
+
62
+ **AIOSON artifact wins.** Always.
63
+
64
+ The spec is the single source of truth. SDLC Genius is a secondary signal.
65
+
66
+ If a conflict repeats across multiple PRs, this is a signal that the spec may need updating — not that SDLC Genius is right.
67
+
68
+ ---
69
+
70
+ ## What Happens When the Pilot Ends
71
+
72
+ After the pilot evaluation (Plan 70 Phase 5):
73
+
74
+ - **Outcome A (adopt):** this boundary document becomes a standing operating note, promoted to `template/.aioson/docs/sdlc-genius-operating-mode.md`
75
+ - **Outcome B (limited use):** this document is updated to reflect the narrower scope approved
76
+ - **Outcome C (reject):** this document is archived; SDLC Genius is uninstalled
@@ -0,0 +1,75 @@
1
+ # SDLC Genius — Evaluation Rubric
2
+
3
+ > Created: 2026-04-02
4
+ > Purpose: Measure pilot PR reviews against consistent criteria
5
+ > Use: Fill one row per tested PR in `sdlc-genius-review-samples.md`
6
+
7
+ ---
8
+
9
+ ## Evaluation Axes
10
+
11
+ For each PR where SDLC Genius commented, score each axis from 0 to 3:
12
+
13
+ | Axis | 0 | 1 | 2 | 3 |
14
+ |------|---|---|---|---|
15
+ | **Relevance** | Comments are unrelated to the change | Partially related | Mostly related | Directly addresses the actual change |
16
+ | **Signal** | No real bugs/risks caught | Low-value noise | Caught something worth reviewing | Caught a real bug or risk not found elsewhere |
17
+ | **Duplication** | Repeats exactly what AIOSON/QA already enforced | Significant overlap | Some overlap | Adds information not in AIOSON artifacts |
18
+ | **Actionability** | Developer cannot act without research | Possible but unclear | Actionable with context | Developer can act immediately |
19
+ | **Traceability** | Cannot link to spec or requirements | Vague connection | Connects to requirements | Explicitly references behavior in spec |
20
+ | **Noise risk** | Too many low-value comments per PR | Several noise comments | Occasional noise | Clean, focused output |
21
+
22
+ **Score range per PR:** 0–18
23
+
24
+ ---
25
+
26
+ ## Score Interpretation
27
+
28
+ | Total | Interpretation |
29
+ |-------|---------------|
30
+ | 15–18 | Excellent — strong signal, low noise, high actionability |
31
+ | 10–14 | Good — useful but with improvements needed |
32
+ | 5–9 | Marginal — some value but noise outweighs it in current state |
33
+ | 0–4 | Poor — does not improve on AIOSON-only workflow |
34
+
35
+ ---
36
+
37
+ ## Comparison Against AIOSON Artifacts
38
+
39
+ For each scored PR, also answer:
40
+
41
+ | Question | Yes / Partial / No |
42
+ |----------|-------------------|
43
+ | Did SDLC Genius comment on something already in `requirements-{slug}.md`? | |
44
+ | Did SDLC Genius comment on something already in `spec-{slug}.md`? | |
45
+ | Did SDLC Genius catch something AIOSON artifacts missed? | |
46
+ | Did SDLC Genius suggest a change that contradicts a spec decision? | |
47
+
48
+ ---
49
+
50
+ ## Noise Threshold
51
+
52
+ If more than 30% of comments per PR are scored 0–1 on Relevance or Actionability, the PR is flagged as **noise-dominated**.
53
+
54
+ A pilot with more than 2 noise-dominated PRs out of 5 tested = Outcome C (reject) unless tuning options exist and reduce noise significantly.
55
+
56
+ ---
57
+
58
+ ## Pilot Conclusion Criteria
59
+
60
+ | Condition | Suggested Outcome |
61
+ |-----------|------------------|
62
+ | Average score ≥ 12 across 5+ PRs, no spec contradictions | Outcome A — Adopt |
63
+ | Average score 7–11, useful in narrow scope (e.g., code quality only) | Outcome B — Limited use |
64
+ | Average score < 7, OR repeated spec contradictions, OR noise-dominated | Outcome C — Reject |
65
+ | Permissions too broad and cannot be scoped | Outcome C — Reject regardless of score |
66
+
67
+ ---
68
+
69
+ ## How to Use This Matrix
70
+
71
+ 1. Run the pilot PR (see Phase 2 of Plan 70)
72
+ 2. For each PR where SDLC Genius commented, score each axis
73
+ 3. Record in `sdlc-genius-review-samples.md` with the score, evidence, and comparison against AIOSON artifacts
74
+ 4. After 5+ PRs, sum up and apply the conclusion criteria above
75
+ 5. Write outcome in `plans/70.1-RESULT-sdlc-genius-pilot.md`
@@ -0,0 +1,93 @@
1
+ # SDLC Genius — Pilot Install and Rollback Checklist
2
+
3
+ > Created: 2026-04-02
4
+ > Status: template — fill in before installation
5
+ > Purpose: Ensure the pilot is safe, scoped, and reversible before any installation
6
+
7
+ ---
8
+
9
+ ## Pre-Installation Gate
10
+
11
+ Do NOT proceed with installation until ALL of the following are confirmed:
12
+
13
+ - [ ] Plan 69 Phase 0 is complete (process-skill reference debt fixed)
14
+ - [ ] `docs/integrations/sdlc-genius-boundary.md` is read and understood by the pilot owner
15
+ - [ ] Public evaluation questions in `searchings/sdlc-genius-public-evaluation.md` are answered
16
+ - [ ] Privacy policy at https://sof.to/privacy-policy has been reviewed
17
+ - [ ] Pilot repo is chosen and is NOT a production-critical repo
18
+ - [ ] At least one person knows how to uninstall the app
19
+
20
+ ---
21
+
22
+ ## Pilot Scope
23
+
24
+ | Field | Value |
25
+ |-------|-------|
26
+ | Pilot repo | _(fill in)_ |
27
+ | Installer name | _(fill in)_ |
28
+ | Install date | _(fill in)_ |
29
+ | Planned end date | _(fill in)_ |
30
+ | Organization | _(fill in)_ |
31
+
32
+ ---
33
+
34
+ ## Permissions Review
35
+
36
+ Before installation, verify and record the permissions the app requests:
37
+
38
+ | Permission | Requested? | Acceptable? | Notes |
39
+ |------------|-----------|-------------|-------|
40
+ | Repository read (code) | _(confirm)_ | _(yes/no)_ | |
41
+ | Repository write (pull requests) | _(confirm)_ | _(yes/no)_ | |
42
+ | Repo limited to pilot repo only | _(confirm)_ | _(yes/no)_ | |
43
+ | Org-wide access | _(confirm)_ | _(yes/no/reject)_ | Reject if org-wide and cannot scope |
44
+ | Other permissions | _(list any)_ | _(yes/no)_ | |
45
+
46
+ **If org-wide write access cannot be scoped to a single repo: DO NOT INSTALL.**
47
+
48
+ ---
49
+
50
+ ## Rollback Path
51
+
52
+ | Step | Owner | Done? |
53
+ |------|-------|-------|
54
+ | Identify uninstall path in GitHub App settings | _(name)_ | [ ] |
55
+ | Confirm the pilot repo reverts to normal after uninstall | _(name)_ | [ ] |
56
+ | Identify who has permissions to uninstall | _(name)_ | [ ] |
57
+ | Document uninstall steps here | _(fill in)_ | [ ] |
58
+
59
+ Uninstall steps:
60
+ ```
61
+ 1. _(fill in after confirming from GitHub App settings)_
62
+ 2.
63
+ 3.
64
+ ```
65
+
66
+ ---
67
+
68
+ ## Safety Settings to Verify Before First PR
69
+
70
+ - [ ] SDLC Genius comments are visible but not blocking (no required status checks set)
71
+ - [ ] The app cannot merge PRs automatically
72
+ - [ ] The app cannot push commits to the repo
73
+ - [ ] A pilot owner has verified the first comment output before telling others to use it
74
+
75
+ ---
76
+
77
+ ## Rollback Owner
78
+
79
+ | Role | Name |
80
+ |------|------|
81
+ | Pilot owner (decision to install) | _(fill in)_ |
82
+ | Uninstall owner (authorized to remove) | _(fill in)_ |
83
+ | Privacy review owner | _(fill in)_ |
84
+
85
+ ---
86
+
87
+ ## Post-Pilot Disposition
88
+
89
+ At the end of the pilot, one of the following applies:
90
+
91
+ - [ ] **Keep** — update boundary doc, promote to template
92
+ - [ ] **Keep with limits** — update scope in boundary doc, document narrow use
93
+ - [ ] **Remove** — uninstall, archive this checklist, record reason in `plans/70.1-RESULT-sdlc-genius-pilot.md`
@@ -0,0 +1,86 @@
1
+ # SDLC Genius — Pilot Evidence Log
2
+
3
+ > Created: 2026-04-02
4
+ > Status: template — fill during pilot
5
+ > Purpose: Record concrete PR review samples for final evaluation
6
+
7
+ ---
8
+
9
+ ## How to Use This File
10
+
11
+ For each PR where SDLC Genius commented during the pilot:
12
+
13
+ 1. Copy one sample block below
14
+ 2. Fill in the PR details and SDLC Genius output
15
+ 3. Score each axis using the rubric in `sdlc-genius-eval-matrix.md`
16
+ 4. Record the comparison against AIOSON artifacts
17
+ 5. Write a 1-line decision: keep / tune / reject
18
+
19
+ ---
20
+
21
+ ## Sample Block Template
22
+
23
+ ```
24
+ ### PR #N — [short description of change]
25
+
26
+ **Date:** YYYY-MM-DD
27
+ **Repo:** [repo name]
28
+ **Feature slug (if any):** [slug or none]
29
+
30
+ **Most useful SDLC Genius comment:**
31
+ > [paste comment]
32
+
33
+ **Least useful SDLC Genius comment:**
34
+ > [paste comment]
35
+
36
+ **Total SDLC Genius comments on this PR:** N
37
+
38
+ **Axis scores (0–3 each):**
39
+ - Relevance:
40
+ - Signal:
41
+ - Duplication:
42
+ - Actionability:
43
+ - Traceability:
44
+ - Noise risk:
45
+ - **Total:** /18
46
+
47
+ **AIOSON comparison:**
48
+ - Did requirements-{slug}.md already cover the main SDLC Genius point? Yes / No / Partial
49
+ - Did spec-{slug}.md already cover it? Yes / No / Partial
50
+ - Did SDLC Genius catch something AIOSON missed? Yes / No
51
+ - Did SDLC Genius contradict a spec decision? Yes / No — if yes, describe:
52
+
53
+ **Decision:** keep / tune / reject
54
+ **Reason:** [1 line]
55
+ ```
56
+
57
+ ---
58
+
59
+ ## PR Samples
60
+
61
+ _(Empty — fill during pilot)_
62
+
63
+ ---
64
+
65
+ ## Running Totals
66
+
67
+ | PR | Score | Noise-dominated? | Spec contradiction? |
68
+ |----|-------|-----------------|---------------------|
69
+ | #1 | /18 | | |
70
+ | #2 | /18 | | |
71
+ | #3 | /18 | | |
72
+ | #4 | /18 | | |
73
+ | #5 | /18 | | |
74
+ | **Average** | /18 | | |
75
+
76
+ ---
77
+
78
+ ## Preliminary Conclusion
79
+
80
+ _(Fill after 5+ PRs — apply criteria from `sdlc-genius-eval-matrix.md`)_
81
+
82
+ - Average score: /18
83
+ - Noise-dominated PRs: / tested
84
+ - Spec contradictions:
85
+ - Suggested outcome: A / B / C
86
+ - Next step: write `plans/70.1-RESULT-sdlc-genius-pilot.md`
package/docs/pt/README.md CHANGED
@@ -15,9 +15,19 @@ Bem-vindo à documentação em português do AIOSON — um framework leve de age
15
15
  | [Squad e Genome](./squad-genome.md) | Como criar squads modulares, diferenciar skill de genome, aplicar genomes e publicar entregáveis HTML |
16
16
  | [Agentes Customizados](./agentes-customizados.md) | Criar agentes personalizados com `squad:agent-create` — tipos, Voice DNA, infra operacional, maturity scoring |
17
17
  | [Skills](./skills.md) | Sistema de skills: tipos, instalação, mapeamento por framework e compatibilidade cross-tool |
18
+ | [design-hybrid-forge](./design-hybrid-forge.md) | Fluxo canônico para criar skills híbridas de design com preset visual, locale automático e histórico |
18
19
  | [Automação de Squads](./automacao-squads.md) | Transformar processos de squad em scripts executáveis (Python/Node.js) que rodam sem LLM |
19
20
  | [Output Strategy e Delivery](./output-strategy-delivery.md) | Configurar webhooks, automatizar entrega de conteúdo, monitorar delivery e troubleshoot |
20
21
  | [Suporte Web3](./web3.md) | Guia para projetos dApp (Ethereum, Solana, Cardano) |
22
+ | [Recuperação de Sessão](./recuperacao-de-sessao.md) | Gerar e restaurar contexto entre sessões do Claude Code após compactação |
23
+ | [Monitor de Contexto](./monitor-de-contexto.md) | Visualizar uso de janela de contexto por agente com alertas de warning e critical |
24
+ | [Busca de Contexto](./busca-de-contexto.md) | Indexar e buscar documentos do projeto via FTS5 com ranking por relevância e recência |
25
+ | [Cache de Contexto](./cache-de-contexto.md) | Salvar snapshots de contexto e restaurar entre sessões |
26
+ | [Sandbox de Execução](./sandbox.md) | Executar comandos com timeout, redação de secrets e summarização de output |
27
+ | [Agent Sharding](./agent-sharding.md) | Carregar apenas as seções relevantes de instruções de agente para uma tarefa específica |
28
+ | [Spec & Learnings Pipeline](./spec-learnings-pipeline.md) | Sincronizar specs Markdown com o SQLite, exportar learnings para brains e acompanhar progresso de features |
29
+ | [Devlog Pipeline](./devlog-pipeline.md) | Processar devlogs manuais dos agentes, sincronizar artifacts/learnings/verdict com o SQLite e exportar para brains |
30
+ | [Hooks & Session Guard](./hooks-session-guard.md) | Visibilidade automática no dashboard para Claude Code, Antigravity e Codex — instalar hooks, session:guard e diagnóstico |
21
31
 
22
32
  ## Documentação em inglês
23
33
 
@@ -0,0 +1,132 @@
1
+ # Agent Sharding
2
+
3
+ > Carrega apenas as seções relevantes de um arquivo de instruções de agente para uma tarefa específica, reduzindo consumo de tokens.
4
+
5
+ Arquivos de instrução de agente podem conter muitas seções — role, guidelines, error handling, output format, checklist de revisão — mas para uma tarefa específica, apenas algumas são necessárias. O `agent:load` divide o arquivo em shards semânticos por heading, indexa via FTS5 e carrega apenas os shards mais relevantes para o objetivo informado.
6
+
7
+ ---
8
+
9
+ ## Comandos
10
+
11
+ ### `agent:shard:index`
12
+
13
+ Indexa os arquivos de instruções de agentes para permitir carregamento inteligente.
14
+
15
+ ```bash
16
+ aioson agent:shard:index [path] [opções]
17
+ ```
18
+
19
+ **Opções:**
20
+
21
+ | Opção | Descrição |
22
+ |---|---|
23
+ | `--agents-dir=<path>` | Diretório dos agentes (padrão: `.aioson/agents`) |
24
+ | `--force` | Reindexar mesmo se já indexado |
25
+ | `--json` | Retorna resultado em JSON |
26
+
27
+ **Exemplos:**
28
+
29
+ ```bash
30
+ # Indexar todos os agentes do projeto
31
+ aioson agent:shard:index .
32
+
33
+ # Forçar reindexação após atualizar arquivos de agente
34
+ aioson agent:shard:index . --force
35
+
36
+ # Diretório customizado de agentes
37
+ aioson agent:shard:index . --agents-dir=.aioson/my-agents
38
+ ```
39
+
40
+ ---
41
+
42
+ ### `agent:load`
43
+
44
+ Carrega os shards mais relevantes de um agente para um objetivo dado.
45
+
46
+ ```bash
47
+ aioson agent:load <agent-id> [opções]
48
+ ```
49
+
50
+ **Opções:**
51
+
52
+ | Opção | Descrição |
53
+ |---|---|
54
+ | `--goal="..."` | Objetivo da tarefa (direciona a seleção de shards) |
55
+ | `--agents-dir=<path>` | Diretório dos agentes (padrão: `.aioson/agents`) |
56
+ | `--max-shards=<n>` | Máximo de shards a carregar (padrão: 3) |
57
+ | `--max-tokens=<n>` | Orçamento de tokens (padrão: 2000) |
58
+ | `--print` | Exibe o conteúdo completo dos shards selecionados |
59
+ | `--json` | Retorna shards e tokens em JSON |
60
+
61
+ **Exemplos:**
62
+
63
+ ```bash
64
+ # Ver quais seções do agente dev são relevantes para a tarefa
65
+ aioson agent:load dev --goal="implementar endpoint de pagamento com TDD"
66
+
67
+ # Exibir o conteúdo para usar diretamente no prompt
68
+ aioson agent:load dev --goal="refatorar autenticação" --print
69
+
70
+ # Carregar mais shards se necessário
71
+ aioson agent:load dev --goal="..." --max-shards=5 --max-tokens=3000
72
+
73
+ # JSON para integração em scripts
74
+ aioson agent:load dev --goal="..." --json
75
+ ```
76
+
77
+ **Saída:**
78
+
79
+ ```
80
+ Agent: dev (3/8 shards, 420 tokens)
81
+
82
+ ## Role (85 tokens)
83
+ ## Implementation Guidelines (180 tokens)
84
+ ## Error Handling (155 tokens)
85
+ ```
86
+
87
+ ---
88
+
89
+ ## Como funciona
90
+
91
+ **Divisão em shards:**
92
+ O arquivo de instruções é dividido por headings H2 (`##`) e H3 (`###`). Cada shard é uma seção com seu conteúdo. O bloco antes do primeiro heading vira o shard `(preamble)`.
93
+
94
+ **Indexação:**
95
+ Os shards são salvos como arquivos individuais em `~/.aioson/shards/` e indexados via FTS5 (o mesmo motor do `context:search`).
96
+
97
+ **Seleção:**
98
+ 1. O shard `(preamble)` e os shards de `Role` são sempre incluídos
99
+ 2. O FTS5 busca os shards mais relevantes para o `--goal`
100
+ 3. Shards são adicionados até preencher o orçamento de tokens
101
+ 4. Se ainda há espaço, shards restantes são adicionados em ordem
102
+
103
+ **Orçamento:**
104
+ O total de tokens dos shards selecionados fica dentro de `--max-tokens` (padrão 2000, estimado como chars/4).
105
+
106
+ ---
107
+
108
+ ## Exemplo de redução de contexto
109
+
110
+ Para um agente com 9 seções e 228 tokens totais:
111
+
112
+ ```
113
+ Carregando para "implementar com TDD e error handling":
114
+ Shards selecionados: 3 de 9
115
+ Tokens usados: 73 de 228
116
+
117
+ → Redução de 68% no consumo de tokens
118
+ ```
119
+
120
+ ---
121
+
122
+ ## Onde ficam os índices
123
+
124
+ Os shards são indexados em `~/.aioson/shards/` — fora do repositório, não commitado. Use `--force` para atualizar após editar os arquivos de agente.
125
+
126
+ ---
127
+
128
+ ## Quando usar
129
+
130
+ - Quando um arquivo de instrução de agente tem muitas seções e você quer enviar ao LLM apenas o que é necessário para a tarefa atual
131
+ - Para reduzir tokens consumidos por instruções fixas do agente
132
+ - Para agentes que têm seções muito diferentes (implementação, revisão, documentação, deploy) e você quer carregar apenas o contexto certo para cada tarefa
@@ -125,6 +125,7 @@ O `@product` detecta esses arquivos automaticamente e pergunta se deve usá-los
125
125
  - métricas de sucesso
126
126
  - perguntas em aberto
127
127
  - identidade visual inicial, quando houver sinal suficiente
128
+ - `## Specify depth` (projetos SMALL e MEDIUM) — classificação aplicada, profundidade de spec escolhida e lista de ambiguidades que devem ser resolvidas antes que `@analyst` avance
128
129
 
129
130
  > Se o pedido mencionar explicitamente um command center premium, control tower, tri-rail shell ou estilo AIOS Dashboard, o `@product` deve registrar a skill `premium-command-center-ui` na seção de identidade visual do PRD.
130
131
 
@@ -223,6 +224,10 @@ Alias compativel:
223
224
  - Riscos identificados
224
225
  - Referências visuais (wireframes, links)
225
226
 
227
+ Em **modo feature**, entrega adicionalmente:
228
+ - `requirements-{slug}.md` — regras de negócio com IDs rastreáveis (`REQ-{slug}-N`) e acceptance criteria verificáveis por QA (`AC-{slug}-N`)
229
+ - `spec-{slug}.md` — esqueleto de memória da feature, com `phase_gates` no frontmatter para que `@dev` e `@deyvin` saibam quais fases já foram aprovadas
230
+
226
231
  ---
227
232
 
228
233
  ## @discovery-design-doc
@@ -290,8 +295,9 @@ tests/
290
295
  **Entrega:** Arquivo `.aioson/context/architecture.md` com:
291
296
  - Estrutura de pastas (proporcional ao tamanho)
292
297
  - Stack definitiva
293
- - Decisões técnicas documentadas
298
+ - Decisões técnicas documentadas com **rationale** — não só o que foi decidido, mas por que aquela escolha reduz risco de debug e manutenção futura
294
299
  - Padrões de código
300
+ - **Gate B** — sinal explícito de aprovação ao final do arquivo (`@dev` só pode iniciar implementação após este gate)
295
301
 
296
302
  ---
297
303
 
@@ -627,7 +633,7 @@ Se o usuário pedir para pular o teste, o `@dev` resiste, explica, e só cede ap
627
633
  ```
628
634
 
629
635
  **Entrega:**
630
- - PRD enriquecido in-place (Modo A)
636
+ - PRD enriquecido in-place com sinal de **spec-hardened** ao final — o campo `readiness` em `sheldon-enrichment-{slug}.md` indica se o PRD está pronto para downstream (`ready_for_downstream`) ou ainda tem itens bloqueantes (`needs_work`) (Modo A)
631
637
  - Relatório de status de todos os PRDs (Modo B)
632
638
  - Checklist de validação + decisão go/no-go para implementação (Modo C)
633
639
 
@@ -660,6 +666,7 @@ Duração típica: dias a semanas. Análise completa, paralelismo, backlog forma
660
666
 
661
667
  ## Veja também
662
668
 
669
+ - [Fluxo de artefatos entre agentes](./fluxo-artefatos.md) — o que cada agente produz, o que @dev lê de fato e como o plano do Sheldon chega à implementação
663
670
  - [Cenários completos com exemplos práticos](./cenarios.md)
664
671
  - [Início rápido](./inicio-rapido.md)
665
672
  - [Guia do engenheiro: pair programming com IA](./guia-engineer.md)