@zaip-ai/cli 1.0.6 → 1.0.7

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 (887) hide show
  1. package/README.md +4 -2
  2. package/dist/services/adapter-hook-sources.d.ts +3 -0
  3. package/dist/services/adapter-hook-sources.d.ts.map +1 -0
  4. package/dist/services/adapter-hook-sources.js +3 -0
  5. package/dist/services/adapter-hook-sources.js.map +1 -0
  6. package/dist/services/adapters.d.ts.map +1 -1
  7. package/dist/services/adapters.js +75 -600
  8. package/dist/services/adapters.js.map +1 -1
  9. package/dist/services/adapters.test.js +41 -0
  10. package/dist/services/adapters.test.js.map +1 -1
  11. package/dist/services/agent-adapters.d.ts +7 -0
  12. package/dist/services/agent-adapters.d.ts.map +1 -1
  13. package/dist/services/agent-adapters.js +81 -13
  14. package/dist/services/agent-adapters.js.map +1 -1
  15. package/dist/services/agent-adapters.test.js +56 -7
  16. package/dist/services/agent-adapters.test.js.map +1 -1
  17. package/dist/services/claude-settings-template.d.ts +2 -0
  18. package/dist/services/claude-settings-template.d.ts.map +1 -0
  19. package/dist/services/claude-settings-template.js +8 -0
  20. package/dist/services/claude-settings-template.js.map +1 -0
  21. package/dist/services/codex-config-template.d.ts +3 -0
  22. package/dist/services/codex-config-template.d.ts.map +1 -0
  23. package/dist/services/codex-config-template.js +98 -0
  24. package/dist/services/codex-config-template.js.map +1 -0
  25. package/dist/services/codex-pre-tool-hook-template.d.ts +2 -0
  26. package/dist/services/codex-pre-tool-hook-template.d.ts.map +1 -0
  27. package/dist/services/codex-pre-tool-hook-template.js +472 -0
  28. package/dist/services/codex-pre-tool-hook-template.js.map +1 -0
  29. package/dist/services/codex-rules.d.ts +1 -1
  30. package/dist/services/codex-rules.d.ts.map +1 -1
  31. package/dist/services/codex-rules.js +22 -13
  32. package/dist/services/codex-rules.js.map +1 -1
  33. package/dist/services/codex-subagent-hook-template.d.ts +2 -0
  34. package/dist/services/codex-subagent-hook-template.d.ts.map +1 -0
  35. package/dist/services/codex-subagent-hook-template.js +250 -0
  36. package/dist/services/codex-subagent-hook-template.js.map +1 -0
  37. package/dist/services/doctor.d.ts.map +1 -1
  38. package/dist/services/doctor.js +8 -35
  39. package/dist/services/doctor.js.map +1 -1
  40. package/dist/services/global-codex-config.d.ts +12 -6
  41. package/dist/services/global-codex-config.d.ts.map +1 -1
  42. package/dist/services/global-codex-config.js +72 -53
  43. package/dist/services/global-codex-config.js.map +1 -1
  44. package/dist/services/global-codex-config.test.js +35 -84
  45. package/dist/services/global-codex-config.test.js.map +1 -1
  46. package/dist/services/install-agents-template.d.ts.map +1 -1
  47. package/dist/services/install-agents-template.js +55 -19
  48. package/dist/services/install-agents-template.js.map +1 -1
  49. package/dist/services/local-state-migration.d.ts +19 -0
  50. package/dist/services/local-state-migration.d.ts.map +1 -0
  51. package/dist/services/local-state-migration.js +122 -0
  52. package/dist/services/local-state-migration.js.map +1 -0
  53. package/dist/services/logger.d.ts.map +1 -1
  54. package/dist/services/logger.js +4 -6
  55. package/dist/services/logger.js.map +1 -1
  56. package/dist/services/logger.test.js +36 -3
  57. package/dist/services/logger.test.js.map +1 -1
  58. package/dist/services/runtime-template.test.js +22 -18
  59. package/dist/services/runtime-template.test.js.map +1 -1
  60. package/dist/services/template-manifest.d.ts +1 -0
  61. package/dist/services/template-manifest.d.ts.map +1 -1
  62. package/dist/services/template-manifest.js +31 -11
  63. package/dist/services/template-manifest.js.map +1 -1
  64. package/dist/services/transactional-files.d.ts.map +1 -1
  65. package/dist/services/transactional-files.js +84 -27
  66. package/dist/services/transactional-files.js.map +1 -1
  67. package/dist/types.d.ts +2 -1
  68. package/dist/types.d.ts.map +1 -1
  69. package/package.json +2 -2
  70. package/templates/.agents/config/agents/catalog.yaml +1081 -145
  71. package/templates/.agents/config/clients/codex/agents/zaip-agent-analyst.toml +30 -0
  72. package/templates/.agents/config/clients/codex/agents/zaip-agent-auditor.toml +30 -0
  73. package/templates/.agents/config/clients/codex/agents/zaip-agent-backend.toml +30 -0
  74. package/templates/.agents/config/clients/codex/agents/zaip-agent-builder.toml +31 -0
  75. package/templates/.agents/config/clients/codex/agents/zaip-agent-cloud-engineer.toml +30 -0
  76. package/templates/.agents/config/clients/codex/agents/zaip-agent-data-analyst.toml +30 -0
  77. package/templates/.agents/config/clients/codex/agents/zaip-agent-designer.toml +31 -0
  78. package/templates/.agents/config/clients/codex/agents/zaip-agent-finalizer.toml +31 -0
  79. package/templates/.agents/config/clients/codex/agents/zaip-agent-frontend.toml +31 -0
  80. package/templates/.agents/config/clients/codex/agents/zaip-agent-integrator.toml +30 -0
  81. package/templates/.agents/config/clients/codex/agents/zaip-agent-marketing-analyst.toml +30 -0
  82. package/templates/.agents/config/clients/codex/agents/zaip-agent-orchestrator.toml +37 -0
  83. package/templates/.agents/config/clients/codex/agents/zaip-agent-refactoring-specialist.toml +35 -0
  84. package/templates/.agents/config/clients/codex/agents/zaip-agent-reviewer.toml +30 -0
  85. package/templates/.agents/config/clients/codex/agents/zaip-agent-security-auditor.toml +30 -0
  86. package/templates/.agents/config/clients/codex/agents/zaip-agent-task-executor.toml +31 -0
  87. package/templates/.agents/config/clients/codex/agents/zaip-agent-website-developer.toml +30 -0
  88. package/templates/.agents/config/clients/codex/agents/zaip-agent-writer.toml +32 -0
  89. package/templates/.agents/config/clients.yaml +152 -0
  90. package/templates/{.zaip-aios → .agents/config}/pricing/models.json +4 -13
  91. package/templates/.agents/config/project.yaml +24 -1
  92. package/templates/.agents/dashboard/.zaip-managed.json +1140 -12
  93. package/templates/.agents/dashboard/README.md +23 -4
  94. package/templates/.agents/dashboard/apps/frontend/dist/assets/AgentCatalogSettingsPage-CLYIi7Vo.js +1 -0
  95. package/templates/.agents/dashboard/apps/frontend/dist/assets/AgentCatalogSettingsPage-DTDNVQGX.css +1 -0
  96. package/templates/.agents/dashboard/apps/frontend/dist/assets/DashboardHelpDialog-Cv-JcoxP.js +1320 -0
  97. package/templates/.agents/dashboard/apps/frontend/dist/assets/DashboardHelpDialog-Je5nK-Et.css +1 -0
  98. package/templates/.agents/dashboard/apps/frontend/dist/assets/PricingSettingsDialog-CzEggcRb.js +1 -0
  99. package/templates/.agents/dashboard/apps/frontend/dist/assets/ProjectSettingsPage-05YKn6Z4.js +3 -0
  100. package/templates/.agents/dashboard/apps/frontend/dist/assets/ProjectSettingsPage-YO3yqtgV.css +1 -0
  101. package/templates/.agents/dashboard/apps/frontend/dist/assets/dashboard-localization-C98LGC-Q.js +231 -0
  102. package/templates/.agents/dashboard/apps/frontend/dist/assets/index-8AzCnl3a.js +77 -0
  103. package/templates/.agents/dashboard/apps/frontend/dist/assets/index-DdBYQ_8D.css +1 -0
  104. package/templates/.agents/dashboard/apps/frontend/dist/index.html +2 -2
  105. package/templates/{.zaip-aios/dashboard/apps/frontend/dist → .agents/dashboard/apps/frontend}/index.html +1 -2
  106. package/templates/.agents/dashboard/apps/frontend/package.json +22 -0
  107. package/templates/.agents/dashboard/apps/frontend/src/AgentCatalogSettingsPage.tsx +617 -0
  108. package/templates/.agents/dashboard/apps/frontend/src/App.tsx +766 -0
  109. package/templates/.agents/dashboard/apps/frontend/src/AppLoadingPanels.tsx +134 -0
  110. package/templates/.agents/dashboard/apps/frontend/src/DashboardCapabilityNav.tsx +117 -0
  111. package/templates/.agents/dashboard/apps/frontend/src/DashboardHelpDialog.tsx +242 -0
  112. package/templates/.agents/dashboard/apps/frontend/src/PricingSettingsDialog.tsx +295 -0
  113. package/templates/.agents/dashboard/apps/frontend/src/ProjectSettingsPage.tsx +719 -0
  114. package/templates/.agents/dashboard/apps/frontend/src/TraceabilityWorkspace.tsx +72 -0
  115. package/templates/.agents/dashboard/apps/frontend/src/agent-catalog-settings-page.css +660 -0
  116. package/templates/.agents/dashboard/apps/frontend/src/agent-catalog-settings.test.ts +249 -0
  117. package/templates/.agents/dashboard/apps/frontend/src/dashboard-api.test.ts +31 -0
  118. package/templates/.agents/dashboard/apps/frontend/src/dashboard-api.ts +374 -0
  119. package/templates/.agents/dashboard/apps/frontend/src/dashboard-capability-nav.css +81 -0
  120. package/templates/.agents/dashboard/apps/frontend/src/dashboard-help-dialog.css +202 -0
  121. package/templates/.agents/dashboard/apps/frontend/src/dashboard-localization.test.ts +72 -0
  122. package/templates/.agents/dashboard/apps/frontend/src/dashboard-localization.ts +361 -0
  123. package/templates/.agents/dashboard/apps/frontend/src/loading-feedback.css +42 -0
  124. package/templates/{.zaip-aios/design/apps/catalog → .agents/dashboard/apps/frontend}/src/main.tsx +5 -1
  125. package/templates/.agents/dashboard/apps/frontend/src/operations-period.test.ts +18 -0
  126. package/templates/.agents/dashboard/apps/frontend/src/operations-period.ts +22 -0
  127. package/templates/.agents/dashboard/apps/frontend/src/pricing-settings-dialog.css +309 -0
  128. package/templates/.agents/dashboard/apps/frontend/src/project-settings-model.ts +129 -0
  129. package/templates/.agents/dashboard/apps/frontend/src/project-settings-page.css +335 -0
  130. package/templates/.agents/dashboard/apps/frontend/src/project-settings.test.ts +57 -0
  131. package/templates/.agents/dashboard/apps/frontend/src/snapshot-coherence.test.ts +79 -0
  132. package/templates/.agents/dashboard/apps/frontend/src/snapshot-coherence.ts +17 -0
  133. package/templates/.agents/dashboard/apps/frontend/src/styles.css +761 -0
  134. package/templates/.agents/dashboard/apps/frontend/src/traceability-workspace.css +70 -0
  135. package/templates/{.zaip-aios/design/apps/catalog → .agents/dashboard/apps/frontend}/tsconfig.json +1 -7
  136. package/templates/.agents/dashboard/apps/frontend/vite.config.ts +22 -0
  137. package/templates/{.zaip-aios/design/apps/catalog → .agents/dashboard/apps/frontend}/vitest.config.ts +3 -1
  138. package/templates/.agents/dashboard/dashboard.config.json +4 -0
  139. package/templates/.agents/dashboard/modules/cost-monitor/composition-root.ts +6 -0
  140. package/templates/.agents/dashboard/modules/cost-monitor/package.json +24 -0
  141. package/templates/.agents/dashboard/modules/cost-monitor/src/agent-groups.test.ts +43 -0
  142. package/templates/.agents/dashboard/modules/cost-monitor/src/agent-groups.ts +40 -0
  143. package/templates/.agents/dashboard/modules/cost-monitor/src/contracts.ts +221 -0
  144. package/templates/.agents/dashboard/modules/cost-monitor/src/provider.test.ts +19 -0
  145. package/templates/.agents/dashboard/modules/cost-monitor/src/provider.ts +5 -0
  146. package/templates/.agents/dashboard/modules/cost-monitor/src/react/CostCharts.test.ts +75 -0
  147. package/templates/.agents/dashboard/modules/cost-monitor/src/react/CostCharts.tsx +260 -0
  148. package/templates/.agents/dashboard/modules/cost-monitor/src/react/CostFilters.tsx +351 -0
  149. package/templates/.agents/dashboard/modules/cost-monitor/src/react/CostModelsAuditTable.test.ts +51 -0
  150. package/templates/.agents/dashboard/modules/cost-monitor/src/react/CostModelsAuditTable.tsx +327 -0
  151. package/templates/.agents/dashboard/modules/cost-monitor/src/react/CostMonitorIcons.tsx +50 -0
  152. package/templates/.agents/dashboard/modules/cost-monitor/src/react/CostMonitorPage.test.ts +251 -0
  153. package/templates/.agents/dashboard/modules/cost-monitor/src/react/CostMonitorPage.tsx +775 -0
  154. package/templates/.agents/dashboard/modules/cost-monitor/src/react/CostPeriodAverageCards.tsx +89 -0
  155. package/templates/.agents/dashboard/modules/cost-monitor/src/react/CostSummary.tsx +64 -0
  156. package/templates/.agents/dashboard/modules/cost-monitor/src/react/CostTableIcons.tsx +9 -0
  157. package/templates/.agents/dashboard/modules/cost-monitor/src/react/CostTables.test.ts +708 -0
  158. package/templates/.agents/dashboard/modules/cost-monitor/src/react/CostTables.tsx +797 -0
  159. package/templates/.agents/dashboard/modules/cost-monitor/src/react/MacroCostTable.test.ts +79 -0
  160. package/templates/.agents/dashboard/modules/cost-monitor/src/react/MacroCostTable.tsx +218 -0
  161. package/templates/.agents/dashboard/modules/cost-monitor/src/react/cost-duration.ts +17 -0
  162. package/templates/.agents/dashboard/modules/cost-monitor/src/react/cost-monitor-copy.ts +84 -0
  163. package/templates/.agents/dashboard/modules/cost-monitor/src/react/cost-monitor-embedded.css +11 -0
  164. package/templates/.agents/dashboard/modules/cost-monitor/src/react/cost-monitor-layout.test.ts +28 -0
  165. package/templates/.agents/dashboard/modules/cost-monitor/src/react/cost-monitor-responsive.css +123 -0
  166. package/templates/.agents/dashboard/modules/cost-monitor/src/react/cost-monitor-summary.ts +130 -0
  167. package/templates/.agents/dashboard/modules/cost-monitor/src/react/cost-monitor.css +683 -0
  168. package/templates/.agents/dashboard/modules/cost-monitor/src/react/cost-run-origin.css +28 -0
  169. package/templates/.agents/dashboard/modules/cost-monitor/src/react/cost-table-metrics.ts +77 -0
  170. package/templates/.agents/dashboard/modules/cost-monitor/src/react/index.ts +2 -0
  171. package/templates/.agents/dashboard/modules/cost-monitor/src/react/period-cost-groups.test.ts +111 -0
  172. package/templates/.agents/dashboard/modules/cost-monitor/src/react/period-cost-groups.ts +140 -0
  173. package/templates/.agents/dashboard/modules/cost-monitor/src/run-display.ts +10 -0
  174. package/templates/.agents/dashboard/modules/cost-monitor/src/server/aggregate.test.ts +213 -0
  175. package/templates/.agents/dashboard/modules/cost-monitor/src/server/aggregate.ts +86 -0
  176. package/templates/.agents/dashboard/modules/cost-monitor/src/server/build-cost-monitor-pricing.test.ts +132 -0
  177. package/templates/.agents/dashboard/modules/cost-monitor/src/server/build-cost-monitor-projection-filtering.test.ts +193 -0
  178. package/templates/.agents/dashboard/modules/cost-monitor/src/server/build-cost-monitor-projection-pricing.test.ts +167 -0
  179. package/templates/.agents/dashboard/modules/cost-monitor/src/server/build-cost-monitor-projection.test-fixtures.ts +213 -0
  180. package/templates/.agents/dashboard/modules/cost-monitor/src/server/build-cost-monitor-projection.test.ts +793 -0
  181. package/templates/.agents/dashboard/modules/cost-monitor/src/server/build-cost-monitor-projection.ts +622 -0
  182. package/templates/.agents/dashboard/modules/cost-monitor/src/server/index.ts +2 -0
  183. package/templates/.agents/dashboard/modules/cost-monitor/src/server/run-telemetry.test.ts +36 -0
  184. package/templates/.agents/dashboard/modules/cost-monitor/src/server/run-telemetry.ts +22 -0
  185. package/templates/.agents/dashboard/modules/cost-monitor/src/task-cost-groups.test.ts +137 -0
  186. package/templates/.agents/dashboard/modules/cost-monitor/src/task-cost-groups.ts +64 -0
  187. package/templates/.agents/dashboard/modules/cost-monitor/tsconfig.json +10 -0
  188. package/templates/.agents/dashboard/modules/operations/composition-root.ts +19 -0
  189. package/templates/.agents/dashboard/modules/operations/package.json +30 -0
  190. package/templates/.agents/dashboard/modules/operations/src/contracts.ts +409 -0
  191. package/templates/.agents/dashboard/modules/operations/src/duration-population.test.ts +16 -0
  192. package/templates/.agents/dashboard/modules/operations/src/duration-population.ts +35 -0
  193. package/templates/.agents/dashboard/modules/operations/src/react/EntityDetailsDialog.tsx +309 -0
  194. package/templates/.agents/dashboard/modules/operations/src/react/EntityTables.test.ts +33 -0
  195. package/templates/.agents/dashboard/modules/operations/src/react/EntityTables.tsx +491 -0
  196. package/templates/.agents/dashboard/modules/operations/src/react/MacroBoard.test.ts +28 -0
  197. package/templates/.agents/dashboard/modules/operations/src/react/MacroBoard.tsx +313 -0
  198. package/templates/.agents/dashboard/modules/operations/src/react/MacroGrid.tsx +61 -0
  199. package/templates/.agents/dashboard/modules/operations/src/react/MacroPlanningDialog.tsx +427 -0
  200. package/templates/.agents/dashboard/modules/operations/src/react/OperationDateFilters.test.ts +32 -0
  201. package/templates/.agents/dashboard/modules/operations/src/react/OperationDateFilters.tsx +124 -0
  202. package/templates/.agents/dashboard/modules/operations/src/react/OperationsIcons.tsx +58 -0
  203. package/templates/.agents/dashboard/modules/operations/src/react/OperationsOverview.helpers.tsx +412 -0
  204. package/templates/.agents/dashboard/modules/operations/src/react/OperationsOverview.test.ts +498 -0
  205. package/templates/.agents/dashboard/modules/operations/src/react/OperationsOverview.tsx +621 -0
  206. package/templates/.agents/dashboard/modules/operations/src/react/OperationsPage.tsx +800 -0
  207. package/templates/.agents/dashboard/modules/operations/src/react/OperationsPageDetails.tsx +113 -0
  208. package/templates/.agents/dashboard/modules/operations/src/react/PeriodSummaryTable.tsx +248 -0
  209. package/templates/.agents/dashboard/modules/operations/src/react/PrdDocumentDialog.tsx +235 -0
  210. package/templates/.agents/dashboard/modules/operations/src/react/TaskBoard.test.ts +141 -0
  211. package/templates/.agents/dashboard/modules/operations/src/react/TaskBoard.tsx +352 -0
  212. package/templates/.agents/dashboard/modules/operations/src/react/TaskDetailsDialog.tsx +134 -0
  213. package/templates/.agents/dashboard/modules/operations/src/react/UnifiedWorkBoard.tsx +502 -0
  214. package/templates/.agents/dashboard/modules/operations/src/react/UnifiedWorkList.test.ts +48 -0
  215. package/templates/.agents/dashboard/modules/operations/src/react/UnifiedWorkList.tsx +298 -0
  216. package/templates/.agents/dashboard/modules/operations/src/react/card-elapsed-time.css +19 -0
  217. package/templates/.agents/dashboard/modules/operations/src/react/card-elapsed-time.test.ts +47 -0
  218. package/templates/.agents/dashboard/modules/operations/src/react/card-elapsed-time.ts +66 -0
  219. package/templates/.agents/dashboard/modules/operations/src/react/card-type-colors.css +35 -0
  220. package/templates/.agents/dashboard/modules/operations/src/react/conversation-rows.test.ts +50 -0
  221. package/templates/.agents/dashboard/modules/operations/src/react/conversation-rows.ts +75 -0
  222. package/templates/.agents/dashboard/modules/operations/src/react/entity-details-dialog.css +76 -0
  223. package/templates/.agents/dashboard/modules/operations/src/react/execution-metrics.test.ts +170 -0
  224. package/templates/.agents/dashboard/modules/operations/src/react/execution-metrics.ts +88 -0
  225. package/templates/.agents/dashboard/modules/operations/src/react/export/ExcelExportAction.test.ts +32 -0
  226. package/templates/.agents/dashboard/modules/operations/src/react/export/ExcelExportAction.tsx +93 -0
  227. package/templates/.agents/dashboard/modules/operations/src/react/export/ExportProgressToast.tsx +26 -0
  228. package/templates/.agents/dashboard/modules/operations/src/react/export/export-layout.test.ts +67 -0
  229. package/templates/.agents/dashboard/modules/operations/src/react/export/export-session.test.ts +208 -0
  230. package/templates/.agents/dashboard/modules/operations/src/react/export/export-session.ts +194 -0
  231. package/templates/.agents/dashboard/modules/operations/src/react/export/export.css +31 -0
  232. package/templates/.agents/dashboard/modules/operations/src/react/format-card-created-at.test.ts +19 -0
  233. package/templates/.agents/dashboard/modules/operations/src/react/format-card-created-at.ts +19 -0
  234. package/templates/.agents/dashboard/modules/operations/src/react/format-rounded-duration.test.ts +27 -0
  235. package/templates/.agents/dashboard/modules/operations/src/react/format-rounded-duration.ts +14 -0
  236. package/templates/.agents/dashboard/modules/operations/src/react/fullscreen-dialog.test.tsx +113 -0
  237. package/templates/.agents/dashboard/modules/operations/src/react/index.ts +10 -0
  238. package/templates/.agents/dashboard/modules/operations/src/react/macro-dialog-data.test.ts +70 -0
  239. package/templates/.agents/dashboard/modules/operations/src/react/macro-dialog-data.ts +24 -0
  240. package/templates/.agents/dashboard/modules/operations/src/react/macro-dialog-usage.tsx +83 -0
  241. package/templates/.agents/dashboard/modules/operations/src/react/macro-planning-dialog-responsive.css +74 -0
  242. package/templates/.agents/dashboard/modules/operations/src/react/macro-planning-dialog.css +752 -0
  243. package/templates/.agents/dashboard/modules/operations/src/react/metric-accessibility.test.ts +17 -0
  244. package/templates/.agents/dashboard/modules/operations/src/react/operation-date-range.test.ts +55 -0
  245. package/templates/.agents/dashboard/modules/operations/src/react/operation-date-range.ts +135 -0
  246. package/templates/.agents/dashboard/modules/operations/src/react/operation-duration.test.ts +19 -0
  247. package/templates/.agents/dashboard/modules/operations/src/react/operation-duration.ts +27 -0
  248. package/templates/.agents/dashboard/modules/operations/src/react/operations-date-filters.css +154 -0
  249. package/templates/.agents/dashboard/modules/operations/src/react/operations-filter-panel.css +187 -0
  250. package/templates/.agents/dashboard/modules/operations/src/react/operations-layout.test.ts +15 -0
  251. package/templates/.agents/dashboard/modules/operations/src/react/operations-overview-period-filter.test.ts +69 -0
  252. package/templates/.agents/dashboard/modules/operations/src/react/operations-overview.css +588 -0
  253. package/templates/.agents/dashboard/modules/operations/src/react/operations-page-filters.ts +51 -0
  254. package/templates/.agents/dashboard/modules/operations/src/react/operations-responsive.css +94 -0
  255. package/templates/.agents/dashboard/modules/operations/src/react/operations-table-badges.css +57 -0
  256. package/templates/.agents/dashboard/modules/operations/src/react/operations-view-order.test.ts +19 -0
  257. package/templates/.agents/dashboard/modules/operations/src/react/operations.css +753 -0
  258. package/templates/.agents/dashboard/modules/operations/src/react/period-summary.css +12 -0
  259. package/templates/.agents/dashboard/modules/operations/src/react/period-summary.test.ts +472 -0
  260. package/templates/.agents/dashboard/modules/operations/src/react/period-summary.ts +237 -0
  261. package/templates/.agents/dashboard/modules/operations/src/react/popup-localization.test.ts +48 -0
  262. package/templates/.agents/dashboard/modules/operations/src/react/run-scope.test.ts +29 -0
  263. package/templates/.agents/dashboard/modules/operations/src/react/run-scope.ts +25 -0
  264. package/templates/.agents/dashboard/modules/operations/src/react/sort-by-created-at.test.ts +35 -0
  265. package/templates/.agents/dashboard/modules/operations/src/react/sort-by-created-at.ts +11 -0
  266. package/templates/.agents/dashboard/modules/operations/src/react/status-labels.ts +36 -0
  267. package/templates/.agents/dashboard/modules/operations/src/react/table-order.test.ts +34 -0
  268. package/templates/.agents/dashboard/modules/operations/src/react/table-order.ts +15 -0
  269. package/templates/.agents/dashboard/modules/operations/src/react/task-origin-badge.css +23 -0
  270. package/templates/.agents/dashboard/modules/operations/src/react/task-origin.test.ts +46 -0
  271. package/templates/.agents/dashboard/modules/operations/src/react/task-origin.ts +27 -0
  272. package/templates/.agents/dashboard/modules/operations/src/react/unified-work-board.css +187 -0
  273. package/templates/.agents/dashboard/modules/operations/src/react/use-current-time.ts +12 -0
  274. package/templates/.agents/dashboard/modules/operations/src/react/use-infinite-column.ts +29 -0
  275. package/templates/.agents/dashboard/modules/operations/src/react/work-board-model.test.ts +247 -0
  276. package/templates/.agents/dashboard/modules/operations/src/react/work-board-model.ts +179 -0
  277. package/templates/.agents/dashboard/modules/operations/src/server/build-operations-projection-helpers.ts +43 -0
  278. package/templates/.agents/dashboard/modules/operations/src/server/build-operations-projection.test.ts +364 -0
  279. package/templates/.agents/dashboard/modules/operations/src/server/build-operations-projection.ts +787 -0
  280. package/templates/.agents/dashboard/modules/operations/src/server/canonical-compat.ts +176 -0
  281. package/templates/.agents/dashboard/modules/operations/src/server/canonical-run-projection.ts +140 -0
  282. package/templates/.agents/dashboard/modules/operations/src/server/execution-relationship-counts.test.ts +137 -0
  283. package/templates/.agents/dashboard/modules/operations/src/server/execution-relationship-counts.ts +121 -0
  284. package/templates/.agents/dashboard/modules/operations/src/server/filter.test.ts +33 -0
  285. package/templates/.agents/dashboard/modules/operations/src/server/filter.ts +17 -0
  286. package/templates/.agents/dashboard/modules/operations/src/server/index.ts +2 -0
  287. package/templates/.agents/dashboard/modules/operations/src/server/internal.ts +8 -0
  288. package/templates/.agents/dashboard/modules/operations/src/server/macro.ts +68 -0
  289. package/templates/.agents/dashboard/modules/operations/src/server/metric-coverage.ts +60 -0
  290. package/templates/.agents/dashboard/modules/operations/src/server/planned-task-previews.test.ts +22 -0
  291. package/templates/.agents/dashboard/modules/operations/src/server/planned-task-previews.ts +55 -0
  292. package/templates/.agents/dashboard/modules/operations/src/server/read-task-detail.ts +86 -0
  293. package/templates/.agents/dashboard/modules/operations/src/server/run-order.test.ts +23 -0
  294. package/templates/.agents/dashboard/modules/operations/src/server/run-order.ts +11 -0
  295. package/templates/.agents/dashboard/modules/operations/src/server/runs.test.ts +27 -0
  296. package/templates/.agents/dashboard/modules/operations/src/server/runs.ts +77 -0
  297. package/templates/.agents/dashboard/modules/operations/src/server/task-test-counts.test.ts +32 -0
  298. package/templates/.agents/dashboard/modules/operations/src/server/task-test-counts.ts +49 -0
  299. package/templates/.agents/dashboard/modules/operations/src/server/usage.test.ts +25 -0
  300. package/templates/.agents/dashboard/modules/operations/src/server/usage.ts +139 -0
  301. package/templates/.agents/dashboard/modules/operations/src/work-readiness.ts +26 -0
  302. package/templates/.agents/dashboard/modules/operations/tsconfig.json +10 -0
  303. package/templates/.agents/dashboard/modules/traceability/composition-root.ts +7 -0
  304. package/templates/.agents/dashboard/modules/traceability/golden/golden-view.test.ts +27 -0
  305. package/templates/.agents/dashboard/modules/traceability/golden/golden-view.ts +57 -0
  306. package/templates/.agents/dashboard/modules/traceability/golden/index.ts +1 -0
  307. package/templates/.agents/dashboard/modules/traceability/package.json +26 -0
  308. package/templates/.agents/dashboard/modules/traceability/src/contracts.ts +76 -0
  309. package/templates/.agents/dashboard/modules/traceability/src/react/TaskTracePanel.test.ts +80 -0
  310. package/templates/.agents/dashboard/modules/traceability/src/react/TaskTracePanel.tsx +681 -0
  311. package/templates/.agents/dashboard/modules/traceability/src/react/TraceDocumentDialog.tsx +34 -0
  312. package/templates/.agents/dashboard/modules/traceability/src/react/TraceStageDetail.tsx +129 -0
  313. package/templates/.agents/dashboard/modules/traceability/src/react/TraceStageDialog.tsx +49 -0
  314. package/templates/.agents/dashboard/modules/traceability/src/react/index.ts +1 -0
  315. package/templates/.agents/dashboard/modules/traceability/src/react/traceability-embedded.css +9 -0
  316. package/templates/.agents/dashboard/modules/traceability/src/react/traceability-navigation.css +122 -0
  317. package/templates/.agents/dashboard/modules/traceability/src/react/traceability-stage-detail.css +175 -0
  318. package/templates/.agents/dashboard/modules/traceability/src/react/traceability-stage-dialog.css +127 -0
  319. package/templates/.agents/dashboard/modules/traceability/src/react/traceability-usage.css +120 -0
  320. package/templates/.agents/dashboard/modules/traceability/src/react/traceability.css +727 -0
  321. package/templates/.agents/dashboard/modules/traceability/src/server/build-task-trace.test.ts +311 -0
  322. package/templates/.agents/dashboard/modules/traceability/src/server/build-task-trace.ts +421 -0
  323. package/templates/.agents/dashboard/modules/traceability/src/server/index.ts +1 -0
  324. package/templates/.agents/dashboard/modules/traceability/tsconfig.json +10 -0
  325. package/templates/.agents/dashboard/packages/branding/package.json +14 -0
  326. package/templates/.agents/dashboard/packages/branding/src/index.ts +10 -0
  327. package/templates/.agents/dashboard/packages/branding/tsconfig.json +7 -0
  328. package/templates/.agents/dashboard/packages/contracts/package.json +17 -0
  329. package/templates/.agents/dashboard/packages/contracts/src/export.ts +29 -0
  330. package/templates/.agents/dashboard/packages/contracts/src/index.ts +155 -0
  331. package/templates/.agents/dashboard/packages/contracts/src/period-counts.test.ts +48 -0
  332. package/templates/.agents/dashboard/packages/contracts/tsconfig.json +7 -0
  333. package/templates/.agents/dashboard/packages/data-export/package.json +19 -0
  334. package/templates/.agents/dashboard/packages/data-export/src/index.test.ts +268 -0
  335. package/templates/.agents/dashboard/packages/data-export/src/index.ts +84 -0
  336. package/templates/.agents/dashboard/packages/data-export/src/ooxml-stream.test.ts +19 -0
  337. package/templates/.agents/dashboard/packages/data-export/src/ooxml-stream.ts +260 -0
  338. package/templates/.agents/dashboard/packages/local-runtime/package.json +31 -0
  339. package/templates/.agents/dashboard/packages/local-runtime/server.mjs +68 -46
  340. package/templates/.agents/dashboard/packages/local-runtime/src/agent-catalog-settings.test.ts +224 -0
  341. package/templates/.agents/dashboard/packages/local-runtime/src/agent-catalog-settings.ts +320 -0
  342. package/templates/.agents/dashboard/packages/local-runtime/src/export/index.ts +7 -0
  343. package/templates/.agents/dashboard/packages/local-runtime/src/manifest-runs.ts +204 -0
  344. package/templates/.agents/dashboard/packages/local-runtime/src/project-settings.test.ts +92 -0
  345. package/templates/.agents/dashboard/packages/local-runtime/src/project-settings.ts +32 -0
  346. package/templates/.agents/dashboard/packages/local-runtime/src/runtime.mjs +222 -0
  347. package/templates/.agents/dashboard/packages/local-runtime/src/server-settings.test.ts +217 -0
  348. package/templates/.agents/dashboard/packages/local-runtime/src/server-snapshot.test.ts +526 -0
  349. package/templates/.agents/dashboard/packages/local-runtime/src/server-summary-helpers.ts +73 -0
  350. package/templates/.agents/dashboard/packages/local-runtime/src/server.test-fixtures.ts +147 -0
  351. package/templates/.agents/dashboard/packages/local-runtime/src/server.test.ts +580 -0
  352. package/templates/.agents/dashboard/packages/local-runtime/src/server.ts +799 -0
  353. package/templates/.agents/dashboard/packages/local-runtime/src/start-dashboard.mjs +81 -0
  354. package/templates/.agents/dashboard/packages/local-runtime/start-dashboard.mjs +85 -33
  355. package/templates/.agents/dashboard/packages/local-runtime/start-dashboard.test.mjs +378 -0
  356. package/templates/.agents/dashboard/packages/local-runtime/tsconfig.json +8 -0
  357. package/templates/.agents/dashboard/packages/ui/package.json +18 -0
  358. package/templates/.agents/dashboard/packages/ui/src/DashboardHeader.test.mjs +20 -0
  359. package/templates/.agents/dashboard/packages/ui/src/DashboardHeader.tsx +273 -0
  360. package/templates/.agents/dashboard/packages/ui/src/DataTable.test.tsx +61 -0
  361. package/templates/.agents/dashboard/packages/ui/src/DataTable.tsx +292 -0
  362. package/templates/.agents/dashboard/packages/ui/src/PeriodAverageCards.test.tsx +27 -0
  363. package/templates/.agents/dashboard/packages/ui/src/PeriodAverageCards.tsx +27 -0
  364. package/templates/.agents/dashboard/packages/ui/src/format.test.ts +54 -0
  365. package/templates/.agents/dashboard/packages/ui/src/format.ts +81 -0
  366. package/templates/.agents/dashboard/packages/ui/src/index.ts +6 -0
  367. package/templates/.agents/dashboard/packages/ui/src/period-average-cards.css +64 -0
  368. package/templates/.agents/dashboard/packages/ui/src/ui.css +451 -0
  369. package/templates/.agents/dashboard/packages/ui/tsconfig.json +10 -0
  370. package/templates/.agents/dashboard/packages/windows-launcher/Program.cs +214 -0
  371. package/templates/.agents/dashboard/packages/windows-launcher/ZaipDashboardLauncher.csproj +11 -0
  372. package/templates/.agents/dashboard/packages/windows-launcher/build-dashboard-launcher.ps1 +142 -0
  373. package/templates/.agents/dashboard/packages/windows-launcher/zaip-dashboard.cmd +4 -0
  374. package/templates/.agents/dashboard/tests/e2e/package.json +18 -0
  375. package/templates/.agents/dashboard/tests/e2e/playwright.config.ts +33 -0
  376. package/templates/.agents/dashboard/tests/e2e/specs/dashboard.spec.ts +531 -0
  377. package/templates/.agents/dashboard/tests/e2e/tsconfig.json +9 -0
  378. package/templates/.agents/dashboard/zaip-dashboard.exe +0 -0
  379. package/templates/{.zaip-aios → .agents}/design/.zaip-managed.json +62 -50
  380. package/templates/.agents/design/DESIGN.md +7 -0
  381. package/templates/.agents/design/apps/catalog/dist/assets/index-BEmIE7WE.css +1 -0
  382. package/templates/{.zaip-aios/design/apps/catalog/dist/assets/index-Bvwc3Bgw.js → .agents/design/apps/catalog/dist/assets/index-CqqYWY2f.js} +1 -1
  383. package/templates/.agents/design/apps/catalog/dist/assets/{index-Bvwc3Bgw.js → index-D9pj7Jlf.js} +1 -1
  384. package/templates/.agents/design/apps/catalog/dist/index.html +2 -2
  385. package/templates/.agents/design/apps/catalog/dist/storybook/assets/CatalogShell-BWY-80s4.js +1 -0
  386. package/templates/.agents/design/apps/catalog/dist/storybook/assets/{Color-6AOWCN3U-D8qyAXo4.js → Color-6AOWCN3U-B-kAgAjB.js} +1 -1
  387. package/templates/.agents/design/apps/catalog/dist/storybook/assets/Components.stories-Be2mDUQj.js +27 -0
  388. package/templates/.agents/design/apps/catalog/dist/storybook/assets/DesignSystem.stories-DRx9blDs.js +1 -0
  389. package/templates/.agents/design/apps/catalog/dist/storybook/assets/{DocsRenderer-JROSPFPF-LmiVo77Q.js → DocsRenderer-JROSPFPF-BVN7xHtv.js} +4 -4
  390. package/templates/.agents/design/apps/catalog/dist/storybook/assets/{WithTooltip-7X4HQR7L-CTMWAwDe.js → WithTooltip-7X4HQR7L-CDHtKYkz.js} +1 -1
  391. package/templates/.agents/design/apps/catalog/dist/storybook/assets/{chunk-DRQKCCAG-DUhJxxRU.js → chunk-DRQKCCAG-D6AsDkMK.js} +1 -1
  392. package/templates/{.zaip-aios/design/apps/catalog/dist/storybook/assets/chunk-W22LQPXL-9RCn9-l7.js → .agents/design/apps/catalog/dist/storybook/assets/chunk-W22LQPXL-B4m5uloN.js} +1 -1
  393. package/templates/.agents/design/apps/catalog/dist/storybook/assets/{components-BX1OfYUi.js → components-CN8YyTUg.js} +5 -5
  394. package/templates/.agents/design/apps/catalog/dist/storybook/assets/formatter-L2YTDE3Q-EwuTh8Zk.js +1 -0
  395. package/templates/.agents/design/apps/catalog/dist/storybook/assets/{iframe-LMhZM1ce.js → iframe-9yZfIsdT.js} +3 -3
  396. package/templates/.agents/design/apps/catalog/dist/storybook/assets/iframe-BEmIE7WE.css +1 -0
  397. package/templates/{.zaip-aios/design/apps/catalog/dist/storybook/assets/react-18-jAz3avmR.js → .agents/design/apps/catalog/dist/storybook/assets/react-18-BoCSnq6H.js} +1 -1
  398. package/templates/.agents/design/apps/catalog/dist/storybook/assets/react-DyL61NPT.js +1 -0
  399. package/templates/{.zaip-aios/design/apps/catalog/dist/storybook/assets/syntaxhighlighter-YFXUGROL-DV8X2acD.js → .agents/design/apps/catalog/dist/storybook/assets/syntaxhighlighter-YFXUGROL-Bnn_nMwJ.js} +1 -1
  400. package/templates/{.zaip-aios/design/apps/catalog/dist/storybook/assets/theming-CHbHkcNi.js → .agents/design/apps/catalog/dist/storybook/assets/theming-DS_ue2sb.js} +1 -1
  401. package/templates/.agents/design/apps/catalog/dist/storybook/iframe.html +2 -2
  402. package/templates/.agents/design/apps/catalog/dist/storybook/index.json +1 -1
  403. package/templates/.agents/design/apps/catalog/src/components/Primitives.tsx +168 -2
  404. package/templates/.agents/design/apps/catalog/src/components/dialog-focus.test.ts +42 -0
  405. package/templates/.agents/design/apps/catalog/src/components/dialog-focus.ts +38 -0
  406. package/templates/.agents/design/apps/catalog/src/design-contract.test.ts +37 -8
  407. package/templates/.agents/design/apps/catalog/src/pages/ComponentsPage.tsx +89 -28
  408. package/templates/.agents/design/apps/catalog/src/stories/Components.stories.tsx +54 -0
  409. package/templates/.agents/design/apps/catalog/src/styles/components.css +204 -3
  410. package/templates/.agents/design/apps/catalog/src/styles/design-system.css +2 -0
  411. package/templates/.agents/design/apps/catalog/src/styles.css +5 -0
  412. package/templates/.agents/design/tokens.json +9 -1
  413. package/templates/.agents/requirements/autonomous-assurance.md +9 -10
  414. package/templates/.agents/requirements/comparative-audit.md +22 -0
  415. package/templates/.agents/requirements/context-engine.md +5 -5
  416. package/templates/.agents/requirements/cost-observability.md +3 -2
  417. package/templates/.agents/requirements/data-export.md +57 -0
  418. package/templates/.agents/requirements/design-system.md +2 -2
  419. package/templates/.agents/requirements/execution-engine.md +8 -6
  420. package/templates/.agents/requirements/kanban-dashboard.md +3 -3
  421. package/templates/.agents/requirements/model-orchestration.md +11 -11
  422. package/templates/.agents/requirements/public-distribution.md +4 -4
  423. package/templates/.agents/requirements/software-architecture.md +4 -4
  424. package/templates/.agents/requirements/strategic-improvements.md +24 -0
  425. package/templates/.agents/requirements/work-lifecycle.md +20 -10
  426. package/templates/.agents/requirements/zaip-strategic-95.md +20 -0
  427. package/templates/.agents/rules/{zaip/architecture.md → architecture.md} +1 -1
  428. package/templates/{.zaip-aios/templates/rules/zaip → .agents/rules}/context.md +3 -3
  429. package/templates/.agents/rules/core.md +21 -0
  430. package/templates/.agents/rules/{zaip/evolution.md → evolution.md} +1 -1
  431. package/templates/.agents/rules/frontend-lite.md +18 -0
  432. package/templates/{.zaip-aios/templates/rules/zaip → .agents/rules}/model-orchestration.md +1 -1
  433. package/templates/.agents/rules/run-lifecycle-closure.md +24 -0
  434. package/templates/{.zaip-aios/templates/rules/zaip → .agents/rules}/security.md +1 -1
  435. package/templates/.agents/rules/text-writing-utf8.md +12 -0
  436. package/templates/.agents/rules/workflow.md +25 -0
  437. package/templates/{.zaip-aios → .agents/runtime}/bin/zaip.mjs +399 -195
  438. package/templates/.agents/runtime/checksums.sha256 +9 -0
  439. package/templates/.agents/runtime/manifest.json +16 -0
  440. package/templates/{.zaip-aios → .agents/runtime}/sbom.cdx.json +532 -10
  441. package/templates/.agents/skills/criar-pasta-obsidian/SKILL.md +20 -0
  442. package/templates/.agents/skills/criar-pasta-obsidian/agents/openai.yaml +4 -0
  443. package/templates/.agents/skills/criar-pasta-obsidian/scripts/generate-obsidian-vault.mjs +414 -0
  444. package/templates/.agents/skills/criar-pasta-obsidian/scripts/generate-obsidian-vault.test.mjs +144 -0
  445. package/templates/.agents/skills/zaip-aios/SKILL.md +2 -2
  446. package/templates/.agents/skills/zaip-aios/agents/openai.yaml +4 -0
  447. package/templates/.agents/skills/zaip-skill-adapters/SKILL.md +1 -1
  448. package/templates/.agents/skills/zaip-skill-backend/SKILL.md +10 -0
  449. package/templates/.agents/skills/zaip-skill-backend/agents/openai.yaml +4 -0
  450. package/templates/.agents/skills/zaip-skill-cloud-engineering/SKILL.md +10 -0
  451. package/templates/.agents/skills/zaip-skill-cloud-engineering/agents/openai.yaml +4 -0
  452. package/templates/.agents/skills/zaip-skill-config/SKILL.md +3 -3
  453. package/templates/.agents/skills/zaip-skill-data-analyst/SKILL.md +23 -0
  454. package/templates/.agents/skills/zaip-skill-data-analyst/agents/openai.yaml +4 -0
  455. package/templates/.agents/skills/zaip-skill-design-system/SKILL.md +50 -0
  456. package/templates/.agents/skills/zaip-skill-design-system/agents/openai.yaml +4 -0
  457. package/templates/.agents/skills/zaip-skill-design-system/references/scope.md +21 -0
  458. package/templates/.agents/skills/zaip-skill-enforce-architecture/SKILL.md +2 -2
  459. package/templates/.agents/skills/zaip-skill-execution/SKILL.md +11 -8
  460. package/templates/.agents/skills/zaip-skill-execution/references/prepared-plan.md +2 -0
  461. package/templates/.agents/skills/zaip-skill-frontend/SKILL.md +10 -0
  462. package/templates/.agents/skills/zaip-skill-frontend/agents/openai.yaml +4 -0
  463. package/templates/.agents/skills/zaip-skill-github-deploy/SKILL.md +41 -15
  464. package/templates/.agents/skills/zaip-skill-github-deploy/agents/openai.yaml +2 -2
  465. package/templates/.agents/skills/zaip-skill-github-deploy/scripts/github-deploy-contract.test.mjs +80 -0
  466. package/templates/.agents/skills/zaip-skill-github-setup/SKILL.md +1 -1
  467. package/templates/.agents/skills/zaip-skill-marketing/SKILL.md +10 -0
  468. package/templates/.agents/skills/zaip-skill-marketing/agents/openai.yaml +4 -0
  469. package/templates/.agents/skills/zaip-skill-move-prd/SKILL.md +10 -6
  470. package/templates/.agents/skills/zaip-skill-move-spec/SKILL.md +9 -6
  471. package/templates/.agents/skills/zaip-skill-observability/SKILL.md +1 -1
  472. package/templates/.agents/skills/zaip-skill-prd/SKILL.md +27 -11
  473. package/templates/.agents/skills/zaip-skill-reconcile-telemetry/SKILL.md +3 -4
  474. package/templates/.agents/skills/zaip-skill-reconcile-telemetry/scripts/reconcile-local-telemetry.mjs +59 -13
  475. package/templates/.agents/skills/zaip-skill-reconcile-telemetry/scripts/reconcile-telemetry-lib.mjs +131 -28
  476. package/templates/.agents/skills/zaip-skill-reconcile-telemetry/scripts/reconcile-telemetry-lib.test.mjs +81 -2
  477. package/templates/.agents/skills/zaip-skill-reconcile-telemetry/scripts/reconcile-telemetry-remeasurement.mjs +167 -0
  478. package/templates/.agents/skills/zaip-skill-reconcile-telemetry/scripts/reconcile-telemetry-remeasurement.test.mjs +267 -0
  479. package/templates/.agents/skills/zaip-skill-refactor-existing-code/SKILL.md +55 -0
  480. package/templates/.agents/skills/zaip-skill-refactor-existing-code/agents/openai.yaml +4 -0
  481. package/templates/.agents/skills/zaip-skill-refactor-existing-code/references/refactor-map-contract.md +33 -0
  482. package/templates/.agents/skills/zaip-skill-refactor-existing-code/references/visual-modes.md +17 -0
  483. package/templates/.agents/skills/zaip-skill-refactor-existing-code/scripts/inventory-source.mjs +181 -0
  484. package/templates/.agents/skills/zaip-skill-refactor-existing-code/scripts/refactor-scripts.test.mjs +293 -0
  485. package/templates/.agents/skills/zaip-skill-refactor-existing-code/scripts/validate-refactor-map.mjs +294 -0
  486. package/templates/.agents/skills/zaip-skill-requirements/SKILL.md +1 -1
  487. package/templates/.agents/skills/zaip-skill-review/SKILL.md +1 -1
  488. package/templates/.agents/skills/zaip-skill-rules/SKILL.md +4 -4
  489. package/templates/.agents/skills/zaip-skill-setup/SKILL.md +2 -2
  490. package/templates/.agents/skills/zaip-skill-spec/SKILL.md +10 -10
  491. package/templates/.agents/skills/zaip-skill-task/SKILL.md +3 -3
  492. package/templates/.agents/skills/zaip-skill-tool-setup/references/secrets.md +1 -1
  493. package/templates/.agents/skills/zaip-skill-tool-setup/scripts/tool-state.mjs +1 -1
  494. package/templates/.agents/skills/zaip-skill-website-readiness/SKILL.md +53 -0
  495. package/templates/.agents/skills/zaip-skill-website-readiness/agents/openai.yaml +4 -0
  496. package/templates/.agents/skills/zaip-skill-website-readiness/references/capability-checklist.md +32 -0
  497. package/templates/.agents/tools/catalog.yaml +0 -6
  498. package/templates/.agents/zaip-aios/README.md +1 -1
  499. package/templates/.agents/zaip-aios/guides/01-primeiros-passos.md +4 -2
  500. package/templates/.agents/zaip-aios/guides/03-tasks.md +6 -0
  501. package/templates/.agents/zaip-aios/guides/04-specs.md +7 -3
  502. package/templates/.agents/zaip-aios/guides/05-prds.md +26 -1
  503. package/templates/.agents/zaip-aios/guides/06-execucao.md +10 -0
  504. package/templates/.agents/zaip-aios/guides/08-contexto-e-tokens.md +1 -1
  505. package/templates/.agents/zaip-aios/guides/11-observabilidade-e-custos.md +2 -0
  506. package/templates/.agents/zaip-aios/guides/13-boas-praticas.md +3 -0
  507. package/templates/.agents/zaip-aios/guides/14-troubleshooting.md +3 -1
  508. package/templates/.agents/zaip-aios/guides/16-lifecycle-e-reconciliacao.md +7 -1
  509. package/templates/.local/gitignore.template +2 -0
  510. package/templates/template-manifest.json +1650 -1859
  511. package/templates/.agents/dashboard/apps/frontend/dist/assets/index-_yxs47Hd.css +0 -1
  512. package/templates/.agents/dashboard/apps/frontend/dist/assets/index-ehU9Etwm.js +0 -1207
  513. package/templates/.agents/design/apps/catalog/dist/assets/index-B4pfFtvJ.css +0 -1
  514. package/templates/.agents/design/apps/catalog/dist/storybook/assets/Components.stories-DkBtOSHX.js +0 -1
  515. package/templates/.agents/design/apps/catalog/dist/storybook/assets/DesignSystem.stories-BttERyCr.js +0 -1
  516. package/templates/.agents/design/apps/catalog/dist/storybook/assets/Primitives-HZpQ6PjX.js +0 -1
  517. package/templates/.agents/design/apps/catalog/dist/storybook/assets/chunk-W22LQPXL-9RCn9-l7.js +0 -18
  518. package/templates/.agents/design/apps/catalog/dist/storybook/assets/formatter-L2YTDE3Q-Bu6KfEwW.js +0 -1
  519. package/templates/.agents/design/apps/catalog/dist/storybook/assets/iframe-B4pfFtvJ.css +0 -1
  520. package/templates/.agents/design/apps/catalog/dist/storybook/assets/react-18-jAz3avmR.js +0 -9
  521. package/templates/.agents/design/apps/catalog/dist/storybook/assets/react-DvDPBd6Q.js +0 -1
  522. package/templates/.agents/design/apps/catalog/dist/storybook/assets/syntaxhighlighter-YFXUGROL-DV8X2acD.js +0 -6
  523. package/templates/.agents/design/apps/catalog/dist/storybook/assets/theming-CHbHkcNi.js +0 -39
  524. package/templates/.agents/rules/project/.gitkeep +0 -0
  525. package/templates/.agents/rules/zaip/context.md +0 -22
  526. package/templates/.agents/rules/zaip/core.md +0 -24
  527. package/templates/.agents/rules/zaip/model-orchestration.md +0 -48
  528. package/templates/.agents/rules/zaip/security.md +0 -20
  529. package/templates/.agents/rules/zaip/workflow.md +0 -35
  530. package/templates/.agents/skills/zaip-skill-reconcile-telemetry/scripts/inspect-local-sqlite.py +0 -52
  531. package/templates/.agents/tools/mcp/development/sqlite/README.md +0 -20
  532. package/templates/.agents/tools/mcp/development/sqlite/manifest.yaml +0 -25
  533. package/templates/.zaip-aios/checksums.sha256 +0 -370
  534. package/templates/.zaip-aios/dashboard/.zaip-managed.json +0 -46
  535. package/templates/.zaip-aios/dashboard/README.md +0 -91
  536. package/templates/.zaip-aios/dashboard/apps/frontend/dist/assets/index-_yxs47Hd.css +0 -1
  537. package/templates/.zaip-aios/dashboard/apps/frontend/dist/assets/index-ehU9Etwm.js +0 -1207
  538. package/templates/.zaip-aios/dashboard/apps/frontend/dist/assets/logo_novo_azul-BBx5pA2B.png +0 -0
  539. package/templates/.zaip-aios/dashboard/packages/local-runtime/server.mjs +0 -199
  540. package/templates/.zaip-aios/dashboard/packages/local-runtime/start-dashboard.mjs +0 -726
  541. package/templates/.zaip-aios/dashboard/zaip-dashboard.exe +0 -0
  542. package/templates/.zaip-aios/design/DESIGN.md +0 -180
  543. package/templates/.zaip-aios/design/README.md +0 -47
  544. package/templates/.zaip-aios/design/apps/catalog/.storybook/main.ts +0 -15
  545. package/templates/.zaip-aios/design/apps/catalog/.storybook/preview.ts +0 -21
  546. package/templates/.zaip-aios/design/apps/catalog/dist/assets/index-B4pfFtvJ.css +0 -1
  547. package/templates/.zaip-aios/design/apps/catalog/dist/index.html +0 -14
  548. package/templates/.zaip-aios/design/apps/catalog/dist/logo_novo_azul.png +0 -0
  549. package/templates/.zaip-aios/design/apps/catalog/dist/storybook/assets/Color-6AOWCN3U-D8qyAXo4.js +0 -1
  550. package/templates/.zaip-aios/design/apps/catalog/dist/storybook/assets/Components.stories-DkBtOSHX.js +0 -1
  551. package/templates/.zaip-aios/design/apps/catalog/dist/storybook/assets/DesignSystem.stories-BttERyCr.js +0 -1
  552. package/templates/.zaip-aios/design/apps/catalog/dist/storybook/assets/DocsRenderer-JROSPFPF-LmiVo77Q.js +0 -46
  553. package/templates/.zaip-aios/design/apps/catalog/dist/storybook/assets/Primitives-HZpQ6PjX.js +0 -1
  554. package/templates/.zaip-aios/design/apps/catalog/dist/storybook/assets/WithTooltip-7X4HQR7L-CTMWAwDe.js +0 -9
  555. package/templates/.zaip-aios/design/apps/catalog/dist/storybook/assets/axe-Bk3eEgJf.js +0 -20
  556. package/templates/.zaip-aios/design/apps/catalog/dist/storybook/assets/chunk-242VQQM5-DB2JSNUA.js +0 -1
  557. package/templates/.zaip-aios/design/apps/catalog/dist/storybook/assets/chunk-DRQKCCAG-DUhJxxRU.js +0 -1
  558. package/templates/.zaip-aios/design/apps/catalog/dist/storybook/assets/chunk-QQBDHPVZ-nYh9QWsm.js +0 -1
  559. package/templates/.zaip-aios/design/apps/catalog/dist/storybook/assets/components-BX1OfYUi.js +0 -243
  560. package/templates/.zaip-aios/design/apps/catalog/dist/storybook/assets/formatter-L2YTDE3Q-Bu6KfEwW.js +0 -1
  561. package/templates/.zaip-aios/design/apps/catalog/dist/storybook/assets/iframe-B4pfFtvJ.css +0 -1
  562. package/templates/.zaip-aios/design/apps/catalog/dist/storybook/assets/iframe-LMhZM1ce.js +0 -1154
  563. package/templates/.zaip-aios/design/apps/catalog/dist/storybook/assets/jsx-runtime-f3rHp9ZU.js +0 -1
  564. package/templates/.zaip-aios/design/apps/catalog/dist/storybook/assets/matchers-JIUQ3HVY-9iRExWZO.js +0 -28
  565. package/templates/.zaip-aios/design/apps/catalog/dist/storybook/assets/preload-helper-BdFrVu1K.js +0 -1
  566. package/templates/.zaip-aios/design/apps/catalog/dist/storybook/assets/react-DvDPBd6Q.js +0 -1
  567. package/templates/.zaip-aios/design/apps/catalog/dist/storybook/favicon-wrapper.svg +0 -46
  568. package/templates/.zaip-aios/design/apps/catalog/dist/storybook/favicon.svg +0 -1
  569. package/templates/.zaip-aios/design/apps/catalog/dist/storybook/iframe.html +0 -710
  570. package/templates/.zaip-aios/design/apps/catalog/dist/storybook/index.html +0 -152
  571. package/templates/.zaip-aios/design/apps/catalog/dist/storybook/index.json +0 -1
  572. package/templates/.zaip-aios/design/apps/catalog/dist/storybook/logo_novo_azul.png +0 -0
  573. package/templates/.zaip-aios/design/apps/catalog/dist/storybook/nunito-sans-bold-italic.woff2 +0 -0
  574. package/templates/.zaip-aios/design/apps/catalog/dist/storybook/nunito-sans-bold.woff2 +0 -0
  575. package/templates/.zaip-aios/design/apps/catalog/dist/storybook/nunito-sans-italic.woff2 +0 -0
  576. package/templates/.zaip-aios/design/apps/catalog/dist/storybook/nunito-sans-regular.woff2 +0 -0
  577. package/templates/.zaip-aios/design/apps/catalog/dist/storybook/sb-addons/a11y-2/manager-bundle.js +0 -57
  578. package/templates/.zaip-aios/design/apps/catalog/dist/storybook/sb-addons/docs-1/manager-bundle.js +0 -18
  579. package/templates/.zaip-aios/design/apps/catalog/dist/storybook/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +0 -632
  580. package/templates/.zaip-aios/design/apps/catalog/dist/storybook/sb-common-assets/favicon-wrapper.svg +0 -46
  581. package/templates/.zaip-aios/design/apps/catalog/dist/storybook/sb-common-assets/favicon.svg +0 -1
  582. package/templates/.zaip-aios/design/apps/catalog/dist/storybook/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
  583. package/templates/.zaip-aios/design/apps/catalog/dist/storybook/sb-common-assets/nunito-sans-bold.woff2 +0 -0
  584. package/templates/.zaip-aios/design/apps/catalog/dist/storybook/sb-common-assets/nunito-sans-italic.woff2 +0 -0
  585. package/templates/.zaip-aios/design/apps/catalog/dist/storybook/sb-common-assets/nunito-sans-regular.woff2 +0 -0
  586. package/templates/.zaip-aios/design/apps/catalog/dist/storybook/sb-manager/globals-runtime.js +0 -78957
  587. package/templates/.zaip-aios/design/apps/catalog/dist/storybook/sb-manager/globals.js +0 -24
  588. package/templates/.zaip-aios/design/apps/catalog/dist/storybook/sb-manager/manager-stores.js +0 -23
  589. package/templates/.zaip-aios/design/apps/catalog/dist/storybook/sb-manager/runtime.js +0 -28253
  590. package/templates/.zaip-aios/design/apps/catalog/dist/storybook/vite-inject-mocker-entry.js +0 -2
  591. package/templates/.zaip-aios/design/apps/catalog/index.html +0 -13
  592. package/templates/.zaip-aios/design/apps/catalog/package.json +0 -32
  593. package/templates/.zaip-aios/design/apps/catalog/public/logo_novo_azul.png +0 -0
  594. package/templates/.zaip-aios/design/apps/catalog/src/App.tsx +0 -29
  595. package/templates/.zaip-aios/design/apps/catalog/src/components/CatalogShell.tsx +0 -78
  596. package/templates/.zaip-aios/design/apps/catalog/src/components/Primitives.tsx +0 -137
  597. package/templates/.zaip-aios/design/apps/catalog/src/design-contract.test.ts +0 -33
  598. package/templates/.zaip-aios/design/apps/catalog/src/pages/ComponentsPage.tsx +0 -83
  599. package/templates/.zaip-aios/design/apps/catalog/src/pages/DesignSystemPage.tsx +0 -185
  600. package/templates/.zaip-aios/design/apps/catalog/src/stories/Components.stories.tsx +0 -12
  601. package/templates/.zaip-aios/design/apps/catalog/src/stories/DesignSystem.stories.tsx +0 -12
  602. package/templates/.zaip-aios/design/apps/catalog/src/styles/catalog.css +0 -315
  603. package/templates/.zaip-aios/design/apps/catalog/src/styles/components.css +0 -228
  604. package/templates/.zaip-aios/design/apps/catalog/src/styles/design-system.css +0 -137
  605. package/templates/.zaip-aios/design/apps/catalog/src/styles.css +0 -85
  606. package/templates/.zaip-aios/design/apps/catalog/vite.config.ts +0 -10
  607. package/templates/.zaip-aios/design/packages/local-runtime/package.json +0 -9
  608. package/templates/.zaip-aios/design/packages/local-runtime/runtime.mjs +0 -238
  609. package/templates/.zaip-aios/design/packages/local-runtime/runtime.test.mjs +0 -66
  610. package/templates/.zaip-aios/design/packages/local-runtime/start-design.mjs +0 -46
  611. package/templates/.zaip-aios/design/packages/windows-launcher/Program.cs +0 -110
  612. package/templates/.zaip-aios/design/packages/windows-launcher/build-design-launcher.ps1 +0 -107
  613. package/templates/.zaip-aios/design/tokens.json +0 -52
  614. package/templates/.zaip-aios/design/zaip-design.exe +0 -0
  615. package/templates/.zaip-aios/manifest.json +0 -377
  616. package/templates/.zaip-aios/profiles/clients.json +0 -506
  617. package/templates/.zaip-aios/profiles/fixtures/architecture/negative/modules/orders/application/queries/list.query.ts +0 -5
  618. package/templates/.zaip-aios/profiles/fixtures/architecture/negative/modules/orders/domain/order.ts +0 -3
  619. package/templates/.zaip-aios/profiles/fixtures/architecture/positive/modules/orders/application/queries/list.query.ts +0 -5
  620. package/templates/.zaip-aios/profiles/typescript-hono-kysely.json +0 -41
  621. package/templates/.zaip-aios/templates/config/agents/catalog.yaml +0 -246
  622. package/templates/.zaip-aios/templates/requirements/.gitkeep +0 -0
  623. package/templates/.zaip-aios/templates/requirements/autonomous-assurance.md +0 -63
  624. package/templates/.zaip-aios/templates/requirements/context-engine.md +0 -44
  625. package/templates/.zaip-aios/templates/requirements/cost-observability.md +0 -39
  626. package/templates/.zaip-aios/templates/requirements/design-system.md +0 -48
  627. package/templates/.zaip-aios/templates/requirements/execution-engine.md +0 -60
  628. package/templates/.zaip-aios/templates/requirements/kanban-dashboard.md +0 -30
  629. package/templates/.zaip-aios/templates/requirements/model-orchestration.md +0 -58
  630. package/templates/.zaip-aios/templates/requirements/public-distribution.md +0 -40
  631. package/templates/.zaip-aios/templates/requirements/software-architecture.md +0 -57
  632. package/templates/.zaip-aios/templates/requirements/work-lifecycle.md +0 -82
  633. package/templates/.zaip-aios/templates/rules/project/.gitkeep +0 -0
  634. package/templates/.zaip-aios/templates/rules/zaip/architecture.md +0 -28
  635. package/templates/.zaip-aios/templates/rules/zaip/core.md +0 -24
  636. package/templates/.zaip-aios/templates/rules/zaip/evolution.md +0 -22
  637. package/templates/.zaip-aios/templates/rules/zaip/workflow.md +0 -35
  638. package/templates/.zaip-aios/templates/skills/.gitkeep +0 -0
  639. package/templates/.zaip-aios/templates/skills/zaip-aios/SKILL.md +0 -9
  640. package/templates/.zaip-aios/templates/skills/zaip-skill-adapt-stack/SKILL.md +0 -11
  641. package/templates/.zaip-aios/templates/skills/zaip-skill-adapt-stack/agents/openai.yaml +0 -4
  642. package/templates/.zaip-aios/templates/skills/zaip-skill-adapters/SKILL.md +0 -15
  643. package/templates/.zaip-aios/templates/skills/zaip-skill-adapters/agents/openai.yaml +0 -4
  644. package/templates/.zaip-aios/templates/skills/zaip-skill-api-to-mcp/SKILL.md +0 -19
  645. package/templates/.zaip-aios/templates/skills/zaip-skill-api-to-mcp/agents/openai.yaml +0 -4
  646. package/templates/.zaip-aios/templates/skills/zaip-skill-api-to-mcp/assets/adapter.example.yaml +0 -26
  647. package/templates/.zaip-aios/templates/skills/zaip-skill-api-to-mcp/references/security-contract.md +0 -10
  648. package/templates/.zaip-aios/templates/skills/zaip-skill-api-to-mcp/references/server-layout.md +0 -19
  649. package/templates/.zaip-aios/templates/skills/zaip-skill-api-to-mcp/scripts/inspect-openapi.mjs +0 -60
  650. package/templates/.zaip-aios/templates/skills/zaip-skill-api-to-mcp/scripts/scaffold-local-mcp.mjs +0 -47
  651. package/templates/.zaip-aios/templates/skills/zaip-skill-author-skills/SKILL.md +0 -21
  652. package/templates/.zaip-aios/templates/skills/zaip-skill-author-skills/agents/openai.yaml +0 -4
  653. package/templates/.zaip-aios/templates/skills/zaip-skill-change/SKILL.md +0 -20
  654. package/templates/.zaip-aios/templates/skills/zaip-skill-change/agents/openai.yaml +0 -4
  655. package/templates/.zaip-aios/templates/skills/zaip-skill-config/SKILL.md +0 -22
  656. package/templates/.zaip-aios/templates/skills/zaip-skill-config/agents/openai.yaml +0 -4
  657. package/templates/.zaip-aios/templates/skills/zaip-skill-context/SKILL.md +0 -16
  658. package/templates/.zaip-aios/templates/skills/zaip-skill-context/agents/openai.yaml +0 -4
  659. package/templates/.zaip-aios/templates/skills/zaip-skill-cqrs/SKILL.md +0 -11
  660. package/templates/.zaip-aios/templates/skills/zaip-skill-cqrs/agents/openai.yaml +0 -4
  661. package/templates/.zaip-aios/templates/skills/zaip-skill-decisions/SKILL.md +0 -14
  662. package/templates/.zaip-aios/templates/skills/zaip-skill-decisions/agents/openai.yaml +0 -4
  663. package/templates/.zaip-aios/templates/skills/zaip-skill-enforce-architecture/SKILL.md +0 -14
  664. package/templates/.zaip-aios/templates/skills/zaip-skill-enforce-architecture/agents/openai.yaml +0 -4
  665. package/templates/.zaip-aios/templates/skills/zaip-skill-eval/SKILL.md +0 -14
  666. package/templates/.zaip-aios/templates/skills/zaip-skill-eval/agents/openai.yaml +0 -4
  667. package/templates/.zaip-aios/templates/skills/zaip-skill-execution/SKILL.md +0 -36
  668. package/templates/.zaip-aios/templates/skills/zaip-skill-execution/agents/openai.yaml +0 -6
  669. package/templates/.zaip-aios/templates/skills/zaip-skill-execution/references/prepared-plan.md +0 -31
  670. package/templates/.zaip-aios/templates/skills/zaip-skill-frontend-launcher/SKILL.md +0 -29
  671. package/templates/.zaip-aios/templates/skills/zaip-skill-frontend-launcher/agents/openai.yaml +0 -4
  672. package/templates/.zaip-aios/templates/skills/zaip-skill-frontend-launcher/references/launcher-contract.md +0 -36
  673. package/templates/.zaip-aios/templates/skills/zaip-skill-github-deploy/SKILL.md +0 -75
  674. package/templates/.zaip-aios/templates/skills/zaip-skill-github-deploy/agents/openai.yaml +0 -6
  675. package/templates/.zaip-aios/templates/skills/zaip-skill-github-deploy/scripts/preflight.mjs +0 -256
  676. package/templates/.zaip-aios/templates/skills/zaip-skill-github-setup/SKILL.md +0 -80
  677. package/templates/.zaip-aios/templates/skills/zaip-skill-github-setup/agents/openai.yaml +0 -4
  678. package/templates/.zaip-aios/templates/skills/zaip-skill-move-prd/SKILL.md +0 -37
  679. package/templates/.zaip-aios/templates/skills/zaip-skill-move-prd/agents/openai.yaml +0 -4
  680. package/templates/.zaip-aios/templates/skills/zaip-skill-move-spec/SKILL.md +0 -38
  681. package/templates/.zaip-aios/templates/skills/zaip-skill-move-spec/agents/openai.yaml +0 -4
  682. package/templates/.zaip-aios/templates/skills/zaip-skill-navigate-work/SKILL.md +0 -16
  683. package/templates/.zaip-aios/templates/skills/zaip-skill-navigate-work/agents/openai.yaml +0 -4
  684. package/templates/.zaip-aios/templates/skills/zaip-skill-observability/SKILL.md +0 -24
  685. package/templates/.zaip-aios/templates/skills/zaip-skill-observability/agents/openai.yaml +0 -4
  686. package/templates/.zaip-aios/templates/skills/zaip-skill-openai-docs/SKILL.md +0 -17
  687. package/templates/.zaip-aios/templates/skills/zaip-skill-openai-docs/agents/openai.yaml +0 -4
  688. package/templates/.zaip-aios/templates/skills/zaip-skill-openai-docs/references/routing.md +0 -11
  689. package/templates/.zaip-aios/templates/skills/zaip-skill-prd/SKILL.md +0 -44
  690. package/templates/.zaip-aios/templates/skills/zaip-skill-prd/agents/openai.yaml +0 -4
  691. package/templates/.zaip-aios/templates/skills/zaip-skill-preview/SKILL.md +0 -16
  692. package/templates/.zaip-aios/templates/skills/zaip-skill-preview/agents/openai.yaml +0 -4
  693. package/templates/.zaip-aios/templates/skills/zaip-skill-reconcile-telemetry/SKILL.md +0 -39
  694. package/templates/.zaip-aios/templates/skills/zaip-skill-reconcile-telemetry/agents/openai.yaml +0 -4
  695. package/templates/.zaip-aios/templates/skills/zaip-skill-reconcile-telemetry/scripts/inspect-local-sqlite.py +0 -52
  696. package/templates/.zaip-aios/templates/skills/zaip-skill-reconcile-telemetry/scripts/normalize-run-agents.mjs +0 -63
  697. package/templates/.zaip-aios/templates/skills/zaip-skill-reconcile-telemetry/scripts/reconcile-local-telemetry.mjs +0 -698
  698. package/templates/.zaip-aios/templates/skills/zaip-skill-reconcile-telemetry/scripts/reconcile-telemetry-lib.mjs +0 -361
  699. package/templates/.zaip-aios/templates/skills/zaip-skill-reconcile-telemetry/scripts/reconcile-telemetry-lib.test.mjs +0 -187
  700. package/templates/.zaip-aios/templates/skills/zaip-skill-requirements/SKILL.md +0 -16
  701. package/templates/.zaip-aios/templates/skills/zaip-skill-requirements/agents/openai.yaml +0 -4
  702. package/templates/.zaip-aios/templates/skills/zaip-skill-review/SKILL.md +0 -18
  703. package/templates/.zaip-aios/templates/skills/zaip-skill-review/agents/openai.yaml +0 -4
  704. package/templates/.zaip-aios/templates/skills/zaip-skill-rules/SKILL.md +0 -19
  705. package/templates/.zaip-aios/templates/skills/zaip-skill-rules/agents/openai.yaml +0 -4
  706. package/templates/.zaip-aios/templates/skills/zaip-skill-security/SKILL.md +0 -30
  707. package/templates/.zaip-aios/templates/skills/zaip-skill-security/agents/openai.yaml +0 -4
  708. package/templates/.zaip-aios/templates/skills/zaip-skill-setup/SKILL.md +0 -25
  709. package/templates/.zaip-aios/templates/skills/zaip-skill-setup/agents/openai.yaml +0 -4
  710. package/templates/.zaip-aios/templates/skills/zaip-skill-spec/SKILL.md +0 -45
  711. package/templates/.zaip-aios/templates/skills/zaip-skill-spec/agents/openai.yaml +0 -4
  712. package/templates/.zaip-aios/templates/skills/zaip-skill-task/SKILL.md +0 -41
  713. package/templates/.zaip-aios/templates/skills/zaip-skill-task/agents/openai.yaml +0 -4
  714. package/templates/.zaip-aios/templates/skills/zaip-skill-text-encoding/SKILL.md +0 -27
  715. package/templates/.zaip-aios/templates/skills/zaip-skill-text-encoding/agents/openai.yaml +0 -6
  716. package/templates/.zaip-aios/templates/skills/zaip-skill-tool-setup/SKILL.md +0 -22
  717. package/templates/.zaip-aios/templates/skills/zaip-skill-tool-setup/agents/openai.yaml +0 -4
  718. package/templates/.zaip-aios/templates/skills/zaip-skill-tool-setup/references/codex-config.md +0 -24
  719. package/templates/.zaip-aios/templates/skills/zaip-skill-tool-setup/references/secrets.md +0 -8
  720. package/templates/.zaip-aios/templates/skills/zaip-skill-tool-setup/scripts/configure-local-mcp.mjs +0 -52
  721. package/templates/.zaip-aios/templates/skills/zaip-skill-tool-setup/scripts/inspect-tool.mjs +0 -35
  722. package/templates/.zaip-aios/templates/skills/zaip-skill-tool-setup/scripts/tool-state.mjs +0 -26
  723. package/templates/.zaip-aios/templates/tools/README.md +0 -9
  724. package/templates/.zaip-aios/templates/tools/api/asaas/README.md +0 -22
  725. package/templates/.zaip-aios/templates/tools/api/asaas/manifest.yaml +0 -20
  726. package/templates/.zaip-aios/templates/tools/api/github/README.md +0 -22
  727. package/templates/.zaip-aios/templates/tools/api/github/manifest.yaml +0 -20
  728. package/templates/.zaip-aios/templates/tools/api/google-ads/README.md +0 -23
  729. package/templates/.zaip-aios/templates/tools/api/google-ads/manifest.yaml +0 -21
  730. package/templates/.zaip-aios/templates/tools/api/google-analytics/README.md +0 -22
  731. package/templates/.zaip-aios/templates/tools/api/google-analytics/manifest.yaml +0 -20
  732. package/templates/.zaip-aios/templates/tools/api/google-search-console/README.md +0 -21
  733. package/templates/.zaip-aios/templates/tools/api/google-search-console/manifest.yaml +0 -19
  734. package/templates/.zaip-aios/templates/tools/api/google-tag-manager/README.md +0 -22
  735. package/templates/.zaip-aios/templates/tools/api/google-tag-manager/manifest.yaml +0 -20
  736. package/templates/.zaip-aios/templates/tools/api/hubspot/README.md +0 -22
  737. package/templates/.zaip-aios/templates/tools/api/hubspot/manifest.yaml +0 -20
  738. package/templates/.zaip-aios/templates/tools/api/instagram-graph/README.md +0 -23
  739. package/templates/.zaip-aios/templates/tools/api/instagram-graph/manifest.yaml +0 -21
  740. package/templates/.zaip-aios/templates/tools/api/kommo-crm/README.md +0 -23
  741. package/templates/.zaip-aios/templates/tools/api/kommo-crm/manifest.yaml +0 -21
  742. package/templates/.zaip-aios/templates/tools/api/linkedin-ads/README.md +0 -23
  743. package/templates/.zaip-aios/templates/tools/api/linkedin-ads/manifest.yaml +0 -21
  744. package/templates/.zaip-aios/templates/tools/api/meta-ads/README.md +0 -23
  745. package/templates/.zaip-aios/templates/tools/api/meta-ads/manifest.yaml +0 -21
  746. package/templates/.zaip-aios/templates/tools/api/openai/README.md +0 -22
  747. package/templates/.zaip-aios/templates/tools/api/openai/manifest.yaml +0 -20
  748. package/templates/.zaip-aios/templates/tools/api/shopify/README.md +0 -23
  749. package/templates/.zaip-aios/templates/tools/api/shopify/manifest.yaml +0 -21
  750. package/templates/.zaip-aios/templates/tools/api/slack/README.md +0 -22
  751. package/templates/.zaip-aios/templates/tools/api/slack/manifest.yaml +0 -20
  752. package/templates/.zaip-aios/templates/tools/api/stripe/README.md +0 -22
  753. package/templates/.zaip-aios/templates/tools/api/stripe/manifest.yaml +0 -20
  754. package/templates/.zaip-aios/templates/tools/api/tiktok-ads/README.md +0 -23
  755. package/templates/.zaip-aios/templates/tools/api/tiktok-ads/manifest.yaml +0 -21
  756. package/templates/.zaip-aios/templates/tools/api/youtube-analytics/README.md +0 -22
  757. package/templates/.zaip-aios/templates/tools/api/youtube-analytics/manifest.yaml +0 -20
  758. package/templates/.zaip-aios/templates/tools/catalog.yaml +0 -358
  759. package/templates/.zaip-aios/templates/tools/mcp/development/browser/README.md +0 -20
  760. package/templates/.zaip-aios/templates/tools/mcp/development/browser/manifest.yaml +0 -24
  761. package/templates/.zaip-aios/templates/tools/mcp/development/filesystem/README.md +0 -20
  762. package/templates/.zaip-aios/templates/tools/mcp/development/filesystem/manifest.yaml +0 -24
  763. package/templates/.zaip-aios/templates/tools/mcp/development/git/README.md +0 -20
  764. package/templates/.zaip-aios/templates/tools/mcp/development/git/manifest.yaml +0 -24
  765. package/templates/.zaip-aios/templates/tools/mcp/development/github/README.md +0 -20
  766. package/templates/.zaip-aios/templates/tools/mcp/development/github/manifest.yaml +0 -25
  767. package/templates/.zaip-aios/templates/tools/mcp/development/gitlab/README.md +0 -20
  768. package/templates/.zaip-aios/templates/tools/mcp/development/gitlab/manifest.yaml +0 -25
  769. package/templates/.zaip-aios/templates/tools/mcp/development/jira/README.md +0 -21
  770. package/templates/.zaip-aios/templates/tools/mcp/development/jira/manifest.yaml +0 -26
  771. package/templates/.zaip-aios/templates/tools/mcp/development/linear/README.md +0 -20
  772. package/templates/.zaip-aios/templates/tools/mcp/development/linear/manifest.yaml +0 -25
  773. package/templates/.zaip-aios/templates/tools/mcp/development/notion/README.md +0 -20
  774. package/templates/.zaip-aios/templates/tools/mcp/development/notion/manifest.yaml +0 -25
  775. package/templates/.zaip-aios/templates/tools/mcp/development/openai-docs/README.md +0 -15
  776. package/templates/.zaip-aios/templates/tools/mcp/development/openai-docs/manifest.yaml +0 -21
  777. package/templates/.zaip-aios/templates/tools/mcp/development/postgresql/README.md +0 -20
  778. package/templates/.zaip-aios/templates/tools/mcp/development/postgresql/manifest.yaml +0 -25
  779. package/templates/.zaip-aios/templates/tools/mcp/development/slack/README.md +0 -20
  780. package/templates/.zaip-aios/templates/tools/mcp/development/slack/manifest.yaml +0 -25
  781. package/templates/.zaip-aios/templates/tools/mcp/development/sqlite/README.md +0 -20
  782. package/templates/.zaip-aios/templates/tools/mcp/development/sqlite/manifest.yaml +0 -25
  783. package/templates/.zaip-aios/templates/tools/mcp/infra/aws/README.md +0 -21
  784. package/templates/.zaip-aios/templates/tools/mcp/infra/aws/manifest.yaml +0 -26
  785. package/templates/.zaip-aios/templates/tools/mcp/infra/azure/README.md +0 -20
  786. package/templates/.zaip-aios/templates/tools/mcp/infra/azure/manifest.yaml +0 -25
  787. package/templates/.zaip-aios/templates/tools/mcp/infra/cloudflare/README.md +0 -21
  788. package/templates/.zaip-aios/templates/tools/mcp/infra/cloudflare/manifest.yaml +0 -26
  789. package/templates/.zaip-aios/templates/tools/mcp/infra/docker/README.md +0 -20
  790. package/templates/.zaip-aios/templates/tools/mcp/infra/docker/manifest.yaml +0 -24
  791. package/templates/.zaip-aios/templates/tools/mcp/infra/gcp/README.md +0 -21
  792. package/templates/.zaip-aios/templates/tools/mcp/infra/gcp/manifest.yaml +0 -26
  793. package/templates/.zaip-aios/templates/tools/mcp/infra/hostinger/README.md +0 -20
  794. package/templates/.zaip-aios/templates/tools/mcp/infra/hostinger/manifest.yaml +0 -25
  795. package/templates/.zaip-aios/templates/tools/mcp/infra/kubernetes/README.md +0 -20
  796. package/templates/.zaip-aios/templates/tools/mcp/infra/kubernetes/manifest.yaml +0 -25
  797. package/templates/.zaip-aios/templates/tools/mcp/infra/terraform/README.md +0 -20
  798. package/templates/.zaip-aios/templates/tools/mcp/infra/terraform/manifest.yaml +0 -24
  799. package/templates/.zaip-aios/templates/tools/mcp/marketing/google-ads/README.md +0 -21
  800. package/templates/.zaip-aios/templates/tools/mcp/marketing/google-ads/manifest.yaml +0 -26
  801. package/templates/.zaip-aios/templates/tools/mcp/marketing/google-analytics/README.md +0 -20
  802. package/templates/.zaip-aios/templates/tools/mcp/marketing/google-analytics/manifest.yaml +0 -25
  803. package/templates/.zaip-aios/templates/tools/mcp/marketing/google-search-console/README.md +0 -19
  804. package/templates/.zaip-aios/templates/tools/mcp/marketing/google-search-console/manifest.yaml +0 -24
  805. package/templates/.zaip-aios/templates/tools/mcp/marketing/google-tag-manager/README.md +0 -21
  806. package/templates/.zaip-aios/templates/tools/mcp/marketing/google-tag-manager/manifest.yaml +0 -26
  807. package/templates/.zaip-aios/templates/tools/mcp/marketing/hubspot/README.md +0 -20
  808. package/templates/.zaip-aios/templates/tools/mcp/marketing/hubspot/manifest.yaml +0 -25
  809. package/templates/.zaip-aios/templates/tools/mcp/marketing/instagram-insights/README.md +0 -21
  810. package/templates/.zaip-aios/templates/tools/mcp/marketing/instagram-insights/manifest.yaml +0 -26
  811. package/templates/.zaip-aios/templates/tools/mcp/marketing/linkedin-ads/README.md +0 -21
  812. package/templates/.zaip-aios/templates/tools/mcp/marketing/linkedin-ads/manifest.yaml +0 -26
  813. package/templates/.zaip-aios/templates/tools/mcp/marketing/mailchimp/README.md +0 -21
  814. package/templates/.zaip-aios/templates/tools/mcp/marketing/mailchimp/manifest.yaml +0 -26
  815. package/templates/.zaip-aios/templates/tools/mcp/marketing/meta-ads/README.md +0 -21
  816. package/templates/.zaip-aios/templates/tools/mcp/marketing/meta-ads/manifest.yaml +0 -26
  817. package/templates/.zaip-aios/templates/tools/mcp/marketing/semrush/README.md +0 -20
  818. package/templates/.zaip-aios/templates/tools/mcp/marketing/semrush/manifest.yaml +0 -25
  819. package/templates/.zaip-aios/templates/tools/mcp/marketing/tiktok-ads/README.md +0 -21
  820. package/templates/.zaip-aios/templates/tools/mcp/marketing/tiktok-ads/manifest.yaml +0 -26
  821. package/templates/.zaip-aios/templates/tools/mcp/marketing/youtube-analytics/README.md +0 -21
  822. package/templates/.zaip-aios/templates/tools/mcp/marketing/youtube-analytics/manifest.yaml +0 -26
  823. package/templates/.zaip-aios/templates/tools/mcp/observability/cloudwatch/README.md +0 -21
  824. package/templates/.zaip-aios/templates/tools/mcp/observability/cloudwatch/manifest.yaml +0 -26
  825. package/templates/.zaip-aios/templates/tools/mcp/observability/datadog/README.md +0 -21
  826. package/templates/.zaip-aios/templates/tools/mcp/observability/datadog/manifest.yaml +0 -26
  827. package/templates/.zaip-aios/templates/tools/mcp/observability/elasticsearch/README.md +0 -21
  828. package/templates/.zaip-aios/templates/tools/mcp/observability/elasticsearch/manifest.yaml +0 -26
  829. package/templates/.zaip-aios/templates/tools/mcp/observability/grafana/README.md +0 -21
  830. package/templates/.zaip-aios/templates/tools/mcp/observability/grafana/manifest.yaml +0 -26
  831. package/templates/.zaip-aios/templates/tools/mcp/observability/kibana/README.md +0 -21
  832. package/templates/.zaip-aios/templates/tools/mcp/observability/kibana/manifest.yaml +0 -26
  833. package/templates/.zaip-aios/templates/tools/mcp/observability/loki/README.md +0 -19
  834. package/templates/.zaip-aios/templates/tools/mcp/observability/loki/manifest.yaml +0 -24
  835. package/templates/.zaip-aios/templates/tools/mcp/observability/new-relic/README.md +0 -21
  836. package/templates/.zaip-aios/templates/tools/mcp/observability/new-relic/manifest.yaml +0 -26
  837. package/templates/.zaip-aios/templates/tools/mcp/observability/opentelemetry/README.md +0 -20
  838. package/templates/.zaip-aios/templates/tools/mcp/observability/opentelemetry/manifest.yaml +0 -25
  839. package/templates/.zaip-aios/templates/tools/mcp/observability/prometheus/README.md +0 -19
  840. package/templates/.zaip-aios/templates/tools/mcp/observability/prometheus/manifest.yaml +0 -24
  841. package/templates/.zaip-aios/templates/tools/mcp/observability/sentry/README.md +0 -21
  842. package/templates/.zaip-aios/templates/tools/mcp/observability/sentry/manifest.yaml +0 -26
  843. package/templates/.zaip-aios/templates/tools/policies/approval-rules.yaml +0 -8
  844. package/templates/.zaip-aios/templates/tools/policies/financial-limits.yaml +0 -6
  845. package/templates/.zaip-aios/templates/tools/policies/permissions.yaml +0 -8
  846. package/templates/.zaip-aios/templates/tools/policies/secret-handling.md +0 -7
  847. package/templates/.zaip-aios/templates/tools/profiles/business.yaml +0 -8
  848. package/templates/.zaip-aios/templates/tools/profiles/default.yaml +0 -8
  849. package/templates/.zaip-aios/templates/tools/profiles/development.yaml +0 -13
  850. package/templates/.zaip-aios/templates/tools/profiles/infrastructure.yaml +0 -8
  851. package/templates/.zaip-aios/templates/tools/profiles/marketing.yaml +0 -9
  852. package/templates/.zaip-aios/templates/tools/profiles/observability.yaml +0 -8
  853. package/templates/.zaip-aios/templates/tools/runtime/README.md +0 -3
  854. package/templates/.zaip-aios/templates/tools/runtime/api-mcp-runtime.mjs +0 -217
  855. package/templates/.zaip-aios/templates/tools/runtime/api-mcp-runtime.test.mjs +0 -56
  856. package/templates/.zaip-aios/templates/tools/runtime/fixtures/definition.json +0 -17
  857. package/templates/.zaip-aios/templates/tools/runtime/runner.mjs +0 -16
  858. package/templates/.zaip-aios/templates/tools/runtime/stdio.test.mjs +0 -32
  859. package/templates/.zaip-aios/templates/tools/state.example.yaml +0 -8
  860. package/templates/.zaip-aios/templates/zaip-aios/INDEX.md +0 -26
  861. package/templates/.zaip-aios/templates/zaip-aios/README.md +0 -13
  862. package/templates/.zaip-aios/templates/zaip-aios/VERSION +0 -1
  863. package/templates/.zaip-aios/templates/zaip-aios/guides/01-primeiros-passos.md +0 -10
  864. package/templates/.zaip-aios/templates/zaip-aios/guides/02-requirements.md +0 -12
  865. package/templates/.zaip-aios/templates/zaip-aios/guides/03-tasks.md +0 -12
  866. package/templates/.zaip-aios/templates/zaip-aios/guides/04-specs.md +0 -16
  867. package/templates/.zaip-aios/templates/zaip-aios/guides/05-prds.md +0 -13
  868. package/templates/.zaip-aios/templates/zaip-aios/guides/06-execucao.md +0 -13
  869. package/templates/.zaip-aios/templates/zaip-aios/guides/07-revisao-e-validacao.md +0 -8
  870. package/templates/.zaip-aios/templates/zaip-aios/guides/08-contexto-e-tokens.md +0 -10
  871. package/templates/.zaip-aios/templates/zaip-aios/guides/09-agentes-e-squads.md +0 -8
  872. package/templates/.zaip-aios/templates/zaip-aios/guides/10-seguranca.md +0 -206
  873. package/templates/.zaip-aios/templates/zaip-aios/guides/11-observabilidade-e-custos.md +0 -10
  874. package/templates/.zaip-aios/templates/zaip-aios/guides/12-instalacao-e-upgrade.md +0 -10
  875. package/templates/.zaip-aios/templates/zaip-aios/guides/13-boas-praticas.md +0 -12
  876. package/templates/.zaip-aios/templates/zaip-aios/guides/14-troubleshooting.md +0 -12
  877. package/templates/.zaip-aios/templates/zaip-aios/guides/15-tools-e-codex.md +0 -25
  878. package/templates/.zaip-aios/templates/zaip-aios/guides/16-lifecycle-e-reconciliacao.md +0 -47
  879. /package/templates/{.zaip-aios → .agents/config}/pricing/fx/2026/07/12/usd-brl.json +0 -0
  880. /package/templates/{.zaip-aios/dashboard/apps/frontend/dist → .agents/dashboard/apps/frontend/public}/icon_zaip.png +0 -0
  881. /package/templates/{.zaip-aios/dashboard/apps/frontend/dist → .agents/dashboard/apps/frontend/public}/logo_novo_azul.png +0 -0
  882. /package/templates/{.zaip-aios → .agents/runtime}/LICENSE +0 -0
  883. /package/templates/{.zaip-aios → .agents/runtime}/THIRD_PARTY_NOTICES.md +0 -0
  884. /package/templates/{.zaip-aios → .agents/runtime}/VERSION +0 -0
  885. /package/templates/{.zaip-aios → .agents/runtime}/migrations/001-layout-v1.json +0 -0
  886. /package/templates/{.zaip-aios → .agents/runtime}/migrations/002-layout-v2.json +0 -0
  887. /package/templates/{.zaip-aios → .agents/runtime}/schemas/contracts.schema.json +0 -0
@@ -3,244 +3,1180 @@ agents:
3
3
  - id: agent-orchestrator
4
4
  version: 1
5
5
  purpose: Resolve the DAG and delegate only to capable least-privilege agents.
6
+ use_when: ["Executable work has multiple steps or needs specialist delegation."]
7
+ do_not_use: ["Direct implementation, independent review, or approval."]
6
8
  codex_name: zaip-agent-orchestrator
7
- nickname_candidates: [zaip-agent-Atlas, zaip-agent-Conductor, zaip-agent-Nexus]
9
+ codex_task_name: dave_product_owner_zaip_agent
10
+ persona: { nome: dave, cargo: product_owner }
11
+ nickname_candidates:
12
+ - dave_product_owner_zaip_agent
8
13
  role: orchestrator
9
14
  priority: 10
10
15
  inherits: null
11
- capabilities: [dag-orchestration, lifecycle-governance]
16
+ capabilities:
17
+ - dag-orchestration
18
+ - lifecycle-governance
12
19
  execution_eligibility: []
13
- tools: [zaip-cli]
14
- skills: [zaip-skill-execution]
20
+ tools:
21
+ - zaip-cli
22
+ skills:
23
+ - zaip-skill-execution
15
24
  write_scopes: []
16
25
  permissions:
17
- filesystem: { allow: [], deny: [workspace-write] }
18
- network: { allow: [], deny: [external] }
19
- shell: { allow: [zaip-cli], deny: [destructive] }
20
- deployment: { allow: [], deny: [all] }
26
+ filesystem:
27
+ allow: []
28
+ deny:
29
+ - workspace-write
30
+ network:
31
+ allow: []
32
+ deny:
33
+ - external
34
+ shell:
35
+ allow:
36
+ - zaip-cli
37
+ deny:
38
+ - destructive
39
+ deployment:
40
+ allow: []
41
+ deny:
42
+ - all
21
43
  model:
22
- required_capabilities: [tool-use, structured-output]
23
- preferred: [policy-selected]
24
- budget: { soft_cycles: 24, soft_input_tokens: 120000, max_repair_cycles: 2 }
44
+ required_capabilities:
45
+ - tool-use
46
+ - structured-output
47
+ preferred:
48
+ - gpt-5.6-terra
49
+ reasoning_effort: medium
50
+ budget:
51
+ soft_cycles: 12
25
52
  contract:
26
- inputs: [prepared-plan, active-work]
27
- outputs: [delegation, execution-state]
28
- evidence: [run-attribution]
29
- review: { can_approve: false, cannot_review_roles: [orchestrator, builder] }
30
- escalation: [agent-auditor]
53
+ inputs:
54
+ - prepared-plan
55
+ - active-work
56
+ outputs:
57
+ - delegation
58
+ - execution-state
59
+ evidence:
60
+ - run-attribution
61
+ - idempotent-subagent-capture
62
+ review:
63
+ can_approve: false
64
+ cannot_review_roles:
65
+ - orchestrator
66
+ - builder
67
+ escalation:
68
+ - agent-auditor
31
69
  - id: agent-builder
32
70
  version: 1
33
- purpose: Implement bounded TypeScript work inside declared scopes.
71
+ purpose: Deliver generic technical work and SPEC decomposition, including dashboard or local scope when no specialist is mandatory.
72
+ use_when: ["Technical definition or a change without a more specific mandatory specialist."]
73
+ do_not_use: ["PRD, central design, specialized website, frontend, or backend work."]
34
74
  codex_name: zaip-agent-builder
35
- nickname_candidates: [zaip-agent-Forge, zaip-agent-Maker, zaip-agent-Builder]
75
+ codex_task_name: rafa_tech_lead_zaip_agent
76
+ persona: { nome: rafa, cargo: tech_lead }
77
+ nickname_candidates:
78
+ - rafa_tech_lead_zaip_agent
36
79
  role: builder
37
80
  priority: 20
38
81
  inherits: null
39
- capabilities: [typescript-delivery, test-authoring]
40
- execution_eligibility: [delivery]
41
- tools: [apply-patch, shell-read, test-runner]
42
- skills: [zaip-skill-change]
43
- write_scopes: [packages/*]
82
+ capabilities:
83
+ - project-stack-delivery
84
+ - test-authoring
85
+ - spec-creation
86
+ - spec-refinement
87
+ - technical-decomposition
88
+ execution_eligibility:
89
+ - delivery
90
+ - interaction
91
+ tools:
92
+ - apply-patch
93
+ - shell-read
94
+ - test-runner
95
+ - zaip-cli
96
+ skills:
97
+ - zaip-skill-change
98
+ - zaip-skill-spec
99
+ write_scopes:
100
+ - packages/*
101
+ - .agents/records/specs/*
102
+ - .agents/records/lifecycle/*
103
+ - .agents/dashboard/*
104
+ - .local/*
44
105
  permissions:
45
- filesystem: { allow: [declared-write-scope], deny: [outside-workspace] }
46
- network: { allow: [], deny: [external] }
47
- shell: { allow: [tests, typecheck, build], deny: [destructive, deploy] }
48
- deployment: { allow: [], deny: [all] }
106
+ filesystem:
107
+ allow:
108
+ - declared-write-scope
109
+ deny:
110
+ - outside-workspace
111
+ network:
112
+ allow: []
113
+ deny:
114
+ - external
115
+ shell:
116
+ allow:
117
+ - tests
118
+ - typecheck
119
+ - build
120
+ - zaip-cli
121
+ deny:
122
+ - destructive
123
+ - deploy
124
+ deployment:
125
+ allow: []
126
+ deny:
127
+ - all
49
128
  model:
50
- required_capabilities: [code, tool-use]
51
- preferred: [policy-selected]
52
- budget: { soft_cycles: 40, soft_input_tokens: 180000, max_repair_cycles: 3 }
129
+ required_capabilities:
130
+ - code
131
+ - tool-use
132
+ preferred:
133
+ - gpt-5.6-terra
134
+ reasoning_effort: medium
135
+ budget:
136
+ soft_cycles: 40
53
137
  contract:
54
- inputs: [task, requirements, context-pack]
55
- outputs: [diff, test-results]
56
- evidence: [acceptance-evidence]
57
- review: { can_approve: false, cannot_review_roles: [builder] }
58
- escalation: [agent-orchestrator]
138
+ inputs:
139
+ - task
140
+ - requirements
141
+ - context-pack
142
+ outputs:
143
+ - diff
144
+ - test-results
145
+ - spec-definition
146
+ - run-attribution
147
+ evidence:
148
+ - acceptance-evidence
149
+ review:
150
+ can_approve: false
151
+ cannot_review_roles:
152
+ - builder
153
+ escalation:
154
+ - agent-orchestrator
59
155
  - id: agent-task-executor
60
156
  version: 1
61
- purpose: Execute one bounded standalone Task end to end and return structured results to the orchestrator.
157
+ purpose: Execute one bounded generic Task, including dashboard or local scope, and return verification evidence to the orchestrator.
158
+ use_when: ["A ready, self-contained Task has no mandatory specialist scope."]
159
+ do_not_use: ["Macro planning, coordination, or independent review."]
62
160
  codex_name: zaip-agent-task-executor
63
- nickname_candidates: [zaip-agent-Tasker, zaip-agent-Runner, zaip-agent-Executor]
161
+ codex_task_name: leo_software_engineer_zaip_agent
162
+ persona: { nome: leo, cargo: software_engineer }
163
+ nickname_candidates:
164
+ - leo_software_engineer_zaip_agent
64
165
  role: task-executor
65
166
  priority: 20
66
167
  inherits: null
67
- capabilities: [task-delivery, verification, evidence-production]
68
- execution_eligibility: [delivery]
69
- tools: [apply-patch, shell-read, test-runner]
70
- skills: [zaip-skill-change]
71
- write_scopes: [declared-write-scope]
168
+ capabilities:
169
+ - task-delivery
170
+ - verification
171
+ - evidence-production
172
+ execution_eligibility:
173
+ - delivery
174
+ tools:
175
+ - apply-patch
176
+ - shell-read
177
+ - test-runner
178
+ skills:
179
+ - zaip-skill-change
180
+ write_scopes:
181
+ - declared-write-scope
72
182
  permissions:
73
- filesystem: { allow: [declared-write-scope], deny: [outside-workspace] }
74
- network: { allow: [], deny: [external] }
75
- shell: { allow: [tests, typecheck, build], deny: [destructive, deploy] }
76
- deployment: { allow: [], deny: [all] }
183
+ filesystem:
184
+ allow:
185
+ - declared-write-scope
186
+ deny:
187
+ - outside-workspace
188
+ network:
189
+ allow: []
190
+ deny:
191
+ - external
192
+ shell:
193
+ allow:
194
+ - tests
195
+ - typecheck
196
+ - build
197
+ deny:
198
+ - destructive
199
+ - deploy
200
+ deployment:
201
+ allow: []
202
+ deny:
203
+ - all
77
204
  model:
78
- required_capabilities: [tool-use, structured-output]
79
- preferred: [policy-selected]
80
- budget: { soft_cycles: 32, soft_input_tokens: 160000, max_repair_cycles: 2 }
205
+ required_capabilities:
206
+ - tool-use
207
+ - structured-output
208
+ preferred:
209
+ - gpt-5.6-terra
210
+ reasoning_effort: medium
211
+ budget:
212
+ soft_cycles: 32
81
213
  contract:
82
- inputs: [task, requirements, context-pack]
83
- outputs: [diff, verification, structured-outcome]
84
- evidence: [acceptance-evidence]
85
- review: { can_approve: false, cannot_review_roles: [task-executor, builder] }
86
- escalation: [agent-orchestrator]
214
+ inputs:
215
+ - task
216
+ - requirements
217
+ - context-pack
218
+ outputs:
219
+ - diff
220
+ - verification
221
+ - structured-outcome
222
+ evidence:
223
+ - acceptance-evidence
224
+ review:
225
+ can_approve: false
226
+ cannot_review_roles:
227
+ - task-executor
228
+ - builder
229
+ escalation:
230
+ - agent-orchestrator
87
231
  - id: agent-analyst
88
232
  version: 1
89
- purpose: Analyze interaction turns without manufacturing executable Tasks.
233
+ purpose: Manage product definition and interaction analysis, creating or refining PRDs through attributed ZAIP lifecycle commands without manufacturing delivery Tasks before readiness.
234
+ use_when: ["Product problem, PRD, discovery, scope, or refinement."]
235
+ do_not_use: ["SPEC, implementation, technical approval, or deployment."]
90
236
  codex_name: zaip-agent-analyst
91
- nickname_candidates: [zaip-agent-Analyst, zaip-agent-Insight, zaip-agent-Scout]
237
+ codex_task_name: bia_product_manager_zaip_agent
238
+ persona: { nome: bia, cargo: product_manager }
239
+ nickname_candidates:
240
+ - bia_product_manager_zaip_agent
92
241
  role: analyst
93
242
  priority: 20
94
243
  inherits: null
95
- capabilities: [conversation-analysis, question-answering, repository-analysis]
96
- execution_eligibility: [interaction]
97
- tools: [shell-read]
98
- skills: [zaip-skill-context]
99
- write_scopes: []
244
+ capabilities:
245
+ - conversation-analysis
246
+ - question-answering
247
+ - repository-analysis
248
+ - prd-creation
249
+ - prd-refinement
250
+ execution_eligibility:
251
+ - interaction
252
+ tools:
253
+ - shell-read
254
+ - zaip-cli
255
+ skills:
256
+ - zaip-skill-context
257
+ - zaip-skill-prd
258
+ write_scopes:
259
+ - .agents/records/prds/*
260
+ - .agents/records/specs/*
261
+ - .agents/records/lifecycle/*
262
+ - .local/*
100
263
  permissions:
101
- filesystem: { allow: [read-only], deny: [workspace-write] }
102
- network: { allow: [], deny: [external] }
103
- shell: { allow: [validation], deny: [mutation, deploy, destructive] }
104
- deployment: { allow: [], deny: [all] }
264
+ filesystem:
265
+ allow:
266
+ - declared-write-scope
267
+ deny:
268
+ - outside-workspace
269
+ network:
270
+ allow: []
271
+ deny:
272
+ - external
273
+ shell:
274
+ allow:
275
+ - validation
276
+ - zaip-cli
277
+ deny:
278
+ - deploy
279
+ - destructive
280
+ deployment:
281
+ allow: []
282
+ deny:
283
+ - all
105
284
  model:
106
- required_capabilities: [reasoning, structured-output]
107
- preferred: [policy-selected]
108
- budget: { soft_cycles: 16, soft_input_tokens: 80000, max_repair_cycles: 1 }
285
+ required_capabilities:
286
+ - reasoning
287
+ - structured-output
288
+ preferred:
289
+ - gpt-5.6-sol
290
+ reasoning_effort: medium
291
+ budget:
292
+ soft_cycles: 16
109
293
  contract:
110
- inputs: [interaction, context-pack]
111
- outputs: [analysis, answer]
112
- evidence: [run-attribution]
113
- review: { can_approve: false, cannot_review_roles: [analyst] }
114
- escalation: [agent-orchestrator]
294
+ inputs:
295
+ - interaction
296
+ - context-pack
297
+ outputs:
298
+ - analysis
299
+ - answer
300
+ - prd-definition
301
+ evidence:
302
+ - run-attribution
303
+ review:
304
+ can_approve: false
305
+ cannot_review_roles:
306
+ - analyst
307
+ escalation:
308
+ - agent-orchestrator
115
309
  - id: agent-finalizer
116
310
  version: 1
117
311
  purpose: Evaluate terminal Execution evidence as the mandatory final Sub-Run for interaction or delivery and return a restricted outcome.
312
+ use_when: ["Mandatorily as the final Sub-Run of interaction or delivery."]
313
+ do_not_use: ["Before executor or reviewer finishes, or to correct code."]
118
314
  codex_name: zaip-agent-finalizer
119
- nickname_candidates: [zaip-agent-Finalizer, zaip-agent-Closer, zaip-agent-Settler]
315
+ codex_task_name: gui_quality_assurance_lead_zaip_agent
316
+ persona: { nome: gui, cargo: quality_assurance_lead }
317
+ nickname_candidates:
318
+ - gui_quality_assurance_lead_zaip_agent
120
319
  role: execution-finalizer
121
320
  priority: 30
122
321
  inherits: null
123
- capabilities: [lifecycle-finalization, gate-evaluation, structured-output]
322
+ capabilities:
323
+ - lifecycle-finalization
324
+ - gate-evaluation
325
+ - structured-output
124
326
  execution_eligibility: []
125
- tools: [zaip-cli, shell-read]
126
- skills: [zaip-skill-execution]
327
+ tools:
328
+ - zaip-cli
329
+ - shell-read
330
+ skills:
331
+ - zaip-skill-execution
127
332
  write_scopes: []
128
333
  permissions:
129
- filesystem: { allow: [read-only], deny: [workspace-write] }
130
- network: { allow: [], deny: [external] }
131
- shell: { allow: [validation, zaip-cli-read], deny: [mutation, deploy, destructive] }
132
- deployment: { allow: [], deny: [all] }
334
+ filesystem:
335
+ allow:
336
+ - read-only
337
+ deny:
338
+ - workspace-write
339
+ network:
340
+ allow: []
341
+ deny:
342
+ - external
343
+ shell:
344
+ allow:
345
+ - validation
346
+ - zaip-cli-read
347
+ deny:
348
+ - mutation
349
+ - deploy
350
+ - destructive
351
+ deployment:
352
+ allow: []
353
+ deny:
354
+ - all
133
355
  model:
134
- required_capabilities: [reasoning, structured-output]
135
- preferred: [gpt-5.6-terra]
356
+ required_capabilities:
357
+ - reasoning
358
+ - structured-output
359
+ preferred:
360
+ - gpt-5.6-terra
136
361
  reasoning_effort: medium
137
- budget: { soft_cycles: 8, soft_input_tokens: 40000, max_repair_cycles: 0 }
362
+ budget:
363
+ soft_cycles: 8
138
364
  contract:
139
- inputs: [task, descendant-results, gates, evidence]
140
- outputs: [terminal-outcome, status-reason, evidence-refs]
141
- evidence: [finalization-decision]
142
- review: { can_approve: false, cannot_review_roles: [execution-finalizer] }
143
- escalation: [agent-auditor]
365
+ inputs:
366
+ - task
367
+ - descendant-results
368
+ - gates
369
+ - evidence
370
+ outputs:
371
+ - terminal-outcome
372
+ - status-reason
373
+ - evidence-refs
374
+ evidence:
375
+ - finalization-decision
376
+ review:
377
+ can_approve: false
378
+ cannot_review_roles:
379
+ - execution-finalizer
380
+ escalation:
381
+ - agent-auditor
144
382
  - id: agent-reviewer
145
383
  version: 1
146
384
  purpose: Review changes independently and emit findings without mutating product files.
385
+ use_when: ["Implemented change requiring independent review."]
386
+ do_not_use: ["Implementing its own correction or integrating worktrees."]
147
387
  codex_name: zaip-agent-reviewer
148
- nickname_candidates: [zaip-agent-Sentinel, zaip-agent-Lens, zaip-agent-Verifier]
388
+ codex_task_name: nanda_principal_engineer_zaip_agent
389
+ persona: { nome: nanda, cargo: principal_engineer }
390
+ nickname_candidates:
391
+ - nanda_principal_engineer_zaip_agent
149
392
  role: reviewer
150
393
  priority: 10
151
394
  inherits: null
152
- capabilities: [independent-review, architecture-review, security-review]
395
+ capabilities:
396
+ - independent-review
397
+ - architecture-review
398
+ - security-review
153
399
  execution_eligibility: []
154
- tools: [shell-read, test-runner]
155
- skills: [zaip-skill-review]
400
+ tools:
401
+ - shell-read
402
+ - test-runner
403
+ skills:
404
+ - zaip-skill-review
156
405
  write_scopes: []
157
406
  permissions:
158
- filesystem: { allow: [read-only], deny: [workspace-write] }
159
- network: { allow: [], deny: [external] }
160
- shell: { allow: [tests, validation], deny: [mutation, deploy] }
161
- deployment: { allow: [], deny: [all] }
407
+ filesystem:
408
+ allow:
409
+ - read-only
410
+ deny:
411
+ - workspace-write
412
+ network:
413
+ allow: []
414
+ deny:
415
+ - external
416
+ shell:
417
+ allow:
418
+ - tests
419
+ - validation
420
+ deny:
421
+ - mutation
422
+ - deploy
423
+ deployment:
424
+ allow: []
425
+ deny:
426
+ - all
162
427
  model:
163
- required_capabilities: [reasoning, tool-use]
164
- preferred: [policy-selected]
165
- budget: { soft_cycles: 24, soft_input_tokens: 120000, max_repair_cycles: 0 }
166
- contract:
167
- inputs: [task, diff, requirements, evidence]
168
- outputs: [findings, approval-state]
169
- evidence: [review-report]
170
- review: { can_approve: true, cannot_review_roles: [reviewer] }
171
- escalation: [agent-auditor]
428
+ required_capabilities:
429
+ - reasoning
430
+ - tool-use
431
+ preferred:
432
+ - gpt-5.6-terra
433
+ reasoning_effort: medium
434
+ budget:
435
+ soft_cycles: 12
436
+ contract:
437
+ inputs:
438
+ - task
439
+ - diff
440
+ - requirements
441
+ - evidence
442
+ outputs:
443
+ - findings
444
+ - approval-state
445
+ evidence:
446
+ - review-report
447
+ review:
448
+ can_approve: true
449
+ cannot_review_roles:
450
+ - reviewer
451
+ escalation:
452
+ - agent-auditor
172
453
  - id: agent-integrator
173
454
  version: 1
174
455
  purpose: Integrate reviewed worktrees and run combined gates.
456
+ use_when: ["Reviewed worktrees or independent reviewed changes need integration."]
457
+ do_not_use: ["Before review or to create requirements."]
175
458
  codex_name: zaip-agent-integrator
176
- nickname_candidates: [zaip-agent-Bridge, zaip-agent-Weaver, zaip-agent-Integrator]
459
+ codex_task_name: dani_integration_engineer_zaip_agent
460
+ persona: { nome: dani, cargo: integration_engineer }
461
+ nickname_candidates:
462
+ - dani_integration_engineer_zaip_agent
177
463
  role: integrator
178
464
  priority: 10
179
465
  inherits: null
180
- capabilities: [git-integration, full-verification]
466
+ capabilities:
467
+ - git-integration
468
+ - full-verification
181
469
  execution_eligibility: []
182
- tools: [git, test-runner, zaip-cli]
183
- skills: [zaip-skill-execution]
184
- write_scopes: [integration-branch]
470
+ tools:
471
+ - git
472
+ - test-runner
473
+ - zaip-cli
474
+ skills:
475
+ - zaip-skill-execution
476
+ write_scopes:
477
+ - integration-branch
185
478
  permissions:
186
- filesystem: { allow: [reviewed-worktree], deny: [unreviewed-worktree] }
187
- network: { allow: [], deny: [external] }
188
- shell: { allow: [git-integrate, tests, build], deny: [force-push, deploy] }
189
- deployment: { allow: [], deny: [all] }
479
+ filesystem:
480
+ allow:
481
+ - reviewed-worktree
482
+ deny:
483
+ - unreviewed-worktree
484
+ network:
485
+ allow: []
486
+ deny:
487
+ - external
488
+ shell:
489
+ allow:
490
+ - git-integrate
491
+ - tests
492
+ - build
493
+ deny:
494
+ - force-push
495
+ - deploy
496
+ deployment:
497
+ allow: []
498
+ deny:
499
+ - all
190
500
  model:
191
- required_capabilities: [tool-use, conflict-resolution]
192
- preferred: [policy-selected]
193
- budget: { soft_cycles: 20, soft_input_tokens: 100000, max_repair_cycles: 1 }
501
+ required_capabilities:
502
+ - tool-use
503
+ - conflict-resolution
504
+ preferred:
505
+ - gpt-5.6-terra
506
+ reasoning_effort: high
507
+ budget:
508
+ soft_cycles: 20
194
509
  contract:
195
- inputs: [reviewed-diffs, dependency-state]
196
- outputs: [integrated-diff, gate-results]
197
- evidence: [integration-evidence]
198
- review: { can_approve: false, cannot_review_roles: [integrator, builder] }
199
- escalation: [agent-orchestrator]
510
+ inputs:
511
+ - reviewed-diffs
512
+ - dependency-state
513
+ outputs:
514
+ - integrated-diff
515
+ - gate-results
516
+ evidence:
517
+ - integration-evidence
518
+ review:
519
+ can_approve: false
520
+ cannot_review_roles:
521
+ - integrator
522
+ - builder
523
+ escalation:
524
+ - agent-orchestrator
200
525
  - id: agent-auditor
201
526
  version: 1
202
527
  purpose: Reproduce evidence and issue the final independent audit.
528
+ use_when: ["High risk, release, or a claim requires final reproduction."]
529
+ do_not_use: ["Implementation, correction, or authorship of the evidence."]
203
530
  codex_name: zaip-agent-auditor
204
- nickname_candidates: [zaip-agent-Beacon, zaip-agent-Ledger, zaip-agent-Witness]
531
+ codex_task_name: ana_quality_auditor_zaip_agent
532
+ persona: { nome: ana, cargo: quality_auditor }
533
+ nickname_candidates:
534
+ - ana_quality_auditor_zaip_agent
205
535
  role: auditor
206
536
  priority: 10
207
537
  inherits: null
208
- capabilities: [independent-review, release-audit, score-reproduction]
538
+ capabilities:
539
+ - independent-review
540
+ - release-audit
541
+ - score-reproduction
542
+ execution_eligibility: []
543
+ tools:
544
+ - shell-read
545
+ - test-runner
546
+ - package-inspector
547
+ skills:
548
+ - zaip-skill-review
549
+ write_scopes: []
550
+ permissions:
551
+ filesystem:
552
+ allow:
553
+ - read-only
554
+ deny:
555
+ - workspace-write
556
+ network:
557
+ allow: []
558
+ deny:
559
+ - external
560
+ shell:
561
+ allow:
562
+ - tests
563
+ - validation
564
+ - package-inspection
565
+ deny:
566
+ - product-mutation
567
+ - deploy
568
+ deployment:
569
+ allow: []
570
+ deny:
571
+ - all
572
+ model:
573
+ required_capabilities:
574
+ - reasoning
575
+ - tool-use
576
+ - structured-output
577
+ preferred:
578
+ - gpt-5.6-sol
579
+ reasoning_effort: high
580
+ budget:
581
+ soft_cycles: 32
582
+ contract:
583
+ inputs:
584
+ - rubric
585
+ - evidence-manifest
586
+ - release-candidate
587
+ outputs:
588
+ - audit-report
589
+ - go-no-go
590
+ evidence:
591
+ - reproduced-score
592
+ review:
593
+ can_approve: true
594
+ cannot_review_roles:
595
+ - auditor
596
+ escalation:
597
+ - agent-orchestrator
598
+ - id: agent-text-summarizer
599
+ version: 1
600
+ purpose: Produce faithful summaries, timestamp-aware transcript analyses, and source-grounded documentation for a declared audience without unsupported claims.
601
+ use_when: ["Bounded summary, timestamped transcript, or documentation with declared sources."]
602
+ do_not_use: ["Research without sources, product decisions, or unsupported claims."]
603
+ codex_name: zaip-agent-writer
604
+ codex_task_name: lia_technical_writer_zaip_agent
605
+ persona: { nome: lia, cargo: technical_writer }
606
+ nickname_candidates:
607
+ - lia_technical_writer_zaip_agent
608
+ role: task-executor
609
+ priority: 40
610
+ inherits: null
611
+ capabilities:
612
+ - faithful-summarization
613
+ - timestamped-transcript-analysis
614
+ - source-grounded-documentation
615
+ execution_eligibility:
616
+ - interaction
617
+ - delivery
618
+ tools:
619
+ - apply-patch
620
+ - shell-read
621
+ - test-runner
622
+ skills:
623
+ - zaip-skill-context
624
+ - zaip-skill-change
625
+ - zaip-skill-text-encoding
626
+ write_scopes:
627
+ - declared-write-scope
628
+ permissions:
629
+ filesystem:
630
+ allow:
631
+ - declared-write-scope
632
+ deny:
633
+ - outside-workspace
634
+ network:
635
+ allow: []
636
+ deny:
637
+ - external
638
+ shell:
639
+ allow:
640
+ - tests
641
+ - validation
642
+ deny:
643
+ - mutation
644
+ - deploy
645
+ - destructive
646
+ deployment:
647
+ allow: []
648
+ deny:
649
+ - all
650
+ model:
651
+ required_capabilities:
652
+ - reasoning
653
+ - structured-output
654
+ preferred:
655
+ - gpt-5.6-terra
656
+ reasoning_effort: medium
657
+ budget:
658
+ soft_cycles: 12
659
+ contract:
660
+ inputs:
661
+ - task
662
+ - source-material
663
+ - audience
664
+ - output-constraints
665
+ outputs:
666
+ - faithful-summary
667
+ - timestamped-transcript-analysis
668
+ - source-grounded-documentation
669
+ evidence:
670
+ - source-grounding
671
+ - timestamped-findings
672
+ - acceptance-evidence
673
+ review:
674
+ can_approve: false
675
+ cannot_review_roles:
676
+ - task-executor
677
+ escalation:
678
+ - agent-orchestrator
679
+ - id: agent-data-analyst
680
+ version: 1
681
+ purpose: Analyze bounded datasets, explain methods and uncertainty, and return reproducible evidence-backed findings.
682
+ use_when: ["Metrics, structured data, or quantitative diagnostics are available."]
683
+ do_not_use: ["No data is available, or to implement product or edit the dashboard."]
684
+ codex_name: zaip-agent-data-analyst
685
+ codex_task_name: gabi_data_analyst_zaip_agent
686
+ persona: { nome: gabi, cargo: data_analyst }
687
+ nickname_candidates:
688
+ - gabi_data_analyst_zaip_agent
689
+ role: task-executor
690
+ priority: 40
691
+ inherits: null
692
+ capabilities:
693
+ - data-analysis
694
+ - metric-diagnostics
695
+ - evidence-production
696
+ execution_eligibility:
697
+ - delivery
698
+ tools:
699
+ - shell-read
700
+ - test-runner
701
+ skills:
702
+ - zaip-skill-change
703
+ - zaip-skill-data-analyst
704
+ write_scopes:
705
+ - declared-write-scope
706
+ permissions:
707
+ filesystem:
708
+ allow:
709
+ - declared-write-scope
710
+ deny:
711
+ - outside-workspace
712
+ network:
713
+ allow: []
714
+ deny:
715
+ - external
716
+ shell:
717
+ allow:
718
+ - tests
719
+ - validation
720
+ deny:
721
+ - destructive
722
+ - deploy
723
+ deployment:
724
+ allow: []
725
+ deny:
726
+ - all
727
+ model:
728
+ required_capabilities:
729
+ - reasoning
730
+ - code
731
+ - structured-output
732
+ preferred:
733
+ - gpt-5.6-terra
734
+ reasoning_effort: medium
735
+ budget:
736
+ soft_cycles: 24
737
+ contract:
738
+ inputs:
739
+ - task
740
+ - dataset
741
+ - metric-definitions
742
+ outputs:
743
+ - analysis
744
+ - reproducible-results
745
+ evidence:
746
+ - acceptance-evidence
747
+ review:
748
+ can_approve: false
749
+ cannot_review_roles:
750
+ - task-executor
751
+ escalation:
752
+ - agent-orchestrator
753
+ - id: agent-refactoring-specialist
754
+ version: 1
755
+ purpose: Plan and execute safe refactors, migrations, modularization, and architecture improvements from an inventory-backed map with reversible slices and explicit validation gates.
756
+ use_when: ["Refactor, migration, architecture, modularization, or source inventory."]
757
+ do_not_use: ["A point change without refactor, central design UI, or deployment."]
758
+ codex_name: zaip-agent-refactoring-specialist
759
+ codex_task_name: tati_refactoring_specialist_zaip_agent
760
+ persona: { nome: tati, cargo: refactoring_specialist }
761
+ nickname_candidates:
762
+ - tati_refactoring_specialist_zaip_agent
763
+ role: builder
764
+ priority: 15
765
+ inherits: null
766
+ capabilities:
767
+ - refactor-existing-code
768
+ - migration
769
+ - modularization
770
+ - architecture
771
+ - source-inventory
772
+ - refactor-map
773
+ - verification
774
+ execution_eligibility:
775
+ - delivery
776
+ tools:
777
+ - apply-patch
778
+ - shell-read
779
+ - test-runner
780
+ skills:
781
+ - zaip-skill-change
782
+ - zaip-skill-refactor-existing-code
783
+ - zaip-skill-enforce-architecture
784
+ write_scopes:
785
+ - declared-write-scope
786
+ permissions:
787
+ filesystem:
788
+ allow:
789
+ - declared-write-scope
790
+ deny:
791
+ - outside-workspace
792
+ network:
793
+ allow: []
794
+ deny:
795
+ - external
796
+ shell:
797
+ allow:
798
+ - tests
799
+ - typecheck
800
+ - build
801
+ - validation
802
+ deny:
803
+ - destructive
804
+ - deploy
805
+ deployment:
806
+ allow: []
807
+ deny:
808
+ - all
809
+ model:
810
+ required_capabilities:
811
+ - reasoning
812
+ - code
813
+ - tool-use
814
+ - structured-output
815
+ preferred:
816
+ - gpt-5.6-terra
817
+ reasoning_effort: medium
818
+ budget:
819
+ soft_cycles: 32
820
+ contract:
821
+ inputs:
822
+ - task
823
+ - source-root
824
+ - target-architecture
825
+ - baseline
826
+ outputs:
827
+ - refactor-map
828
+ - slice-report
829
+ - validation-results
830
+ evidence:
831
+ - inventory-source
832
+ - refactor-map-validation
833
+ - acceptance-evidence
834
+ review:
835
+ can_approve: false
836
+ cannot_review_roles:
837
+ - builder
838
+ escalation:
839
+ - agent-orchestrator
840
+ - id: agent-frontend
841
+ version: 1
842
+ purpose: Implement only apps/frontend frontend experiences, accessibility, and component integration using the central visual contract.
843
+ use_when: ["apps/frontend/** or explicit frontend capability."]
844
+ do_not_use: ["Dashboard/local, institutional website, backend, or central design rules."]
845
+ codex_name: zaip-agent-frontend
846
+ codex_task_name: doug_frontend_specialist_zaip_agent
847
+ persona: { nome: doug, cargo: frontend_specialist }
848
+ nickname_candidates: [doug_frontend_specialist_zaip_agent]
849
+ role: builder
850
+ priority: 15
851
+ inherits: null
852
+ capabilities: [frontend-delivery, accessibility, component-integration]
853
+ execution_eligibility: [delivery]
854
+ tools: [apply-patch, shell-read, test-runner]
855
+ skills: [zaip-skill-change]
856
+ write_scopes: [apps/frontend/*]
857
+ permissions:
858
+ filesystem: { allow: [declared-write-scope], deny: [outside-workspace] }
859
+ network: { allow: [], deny: [external] }
860
+ shell: { allow: [tests, typecheck, build], deny: [destructive, deploy] }
861
+ deployment: { allow: [], deny: [all] }
862
+ model:
863
+ required_capabilities: [code, tool-use]
864
+ preferred: [gpt-5.6-terra]
865
+ reasoning_effort: medium
866
+ budget: { soft_cycles: 32 }
867
+ contract:
868
+ inputs: [task, requirements, .agents/design/DESIGN.md]
869
+ outputs: [frontend-diff, visual-verification, structured-outcome]
870
+ evidence: [acceptance-evidence, visual-contract-check]
871
+ review: { can_approve: false, cannot_review_roles: [builder] }
872
+ escalation: [agent-orchestrator]
873
+ - id: agent-backend
874
+ version: 1
875
+ purpose: Implement and verify backend, API, persistence, and integration boundaries inside declared scopes.
876
+ use_when: ["apps/backend/**, modules/**, or backend capability."]
877
+ do_not_use: ["Frontend, website, or central visual design."]
878
+ codex_name: zaip-agent-backend
879
+ codex_task_name: will_backend_specialist_zaip_agent
880
+ persona: { nome: will, cargo: backend_specialist }
881
+ nickname_candidates: [will_backend_specialist_zaip_agent]
882
+ role: builder
883
+ priority: 15
884
+ inherits: null
885
+ capabilities: [backend-delivery, api-delivery, persistence-integration]
886
+ execution_eligibility: [delivery]
887
+ tools: [apply-patch, shell-read, test-runner]
888
+ skills: [zaip-skill-change]
889
+ write_scopes: [apps/backend/*, modules/*]
890
+ permissions:
891
+ filesystem: { allow: [declared-write-scope], deny: [outside-workspace] }
892
+ network: { allow: [], deny: [external] }
893
+ shell: { allow: [tests, typecheck, build], deny: [destructive, deploy] }
894
+ deployment: { allow: [], deny: [all] }
895
+ model:
896
+ required_capabilities: [code, tool-use]
897
+ preferred: [gpt-5.6-terra]
898
+ reasoning_effort: medium
899
+ budget: { soft_cycles: 32 }
900
+ contract:
901
+ inputs: [task, requirements, context-pack]
902
+ outputs: [diff, verification, structured-outcome]
903
+ evidence: [acceptance-evidence]
904
+ review: { can_approve: false, cannot_review_roles: [builder] }
905
+ escalation: [agent-orchestrator]
906
+ - id: agent-website-developer
907
+ version: 1
908
+ purpose: Build website experiences with design-system, SEO, GEO, Markdown for Agents, and Agent Readiness awareness.
909
+ use_when: ["apps/site/**, institutional site, landing page, SEO, GEO, or Markdown for Agents."]
910
+ do_not_use: ["Product app, backend, or central design-rule changes."]
911
+ codex_name: zaip-agent-website-developer
912
+ codex_task_name: jonny_website_developer_zaip_agent
913
+ persona: { nome: jonny, cargo: website_developer }
914
+ nickname_candidates: [jonny_website_developer_zaip_agent]
915
+ role: builder
916
+ priority: 10
917
+ inherits: null
918
+ capabilities: [website-delivery, design-system, seo, geo, markdown-for-agents, agent-readiness]
919
+ execution_eligibility: [delivery]
920
+ tools: [apply-patch, shell-read, test-runner]
921
+ skills: [zaip-skill-change, zaip-skill-website-readiness]
922
+ write_scopes: [apps/site/*]
923
+ permissions:
924
+ filesystem: { allow: [declared-write-scope], deny: [outside-workspace] }
925
+ network: { allow: [], deny: [external] }
926
+ shell: { allow: [tests, typecheck, build], deny: [destructive, deploy] }
927
+ deployment: { allow: [], deny: [all] }
928
+ model:
929
+ required_capabilities: [code, tool-use]
930
+ preferred: [gpt-5.6-terra]
931
+ reasoning_effort: medium
932
+ budget: { soft_cycles: 32 }
933
+ contract:
934
+ inputs: [task, requirements, website-context]
935
+ outputs: [diff, verification, structured-outcome]
936
+ evidence: [acceptance-evidence]
937
+ review: { can_approve: false, cannot_review_roles: [builder] }
938
+ escalation: [agent-orchestrator]
939
+ - id: agent-designer
940
+ version: 1
941
+ purpose: Own the central visual rule in DESIGN.md, design tokens, central components, and catalog pages inside declared scopes.
942
+ use_when: ["Central design rule, design system, tokens, design-system, or componentes."]
943
+ do_not_use: ["A product-local component that only consumes existing rules."]
944
+ codex_name: zaip-agent-designer
945
+ codex_task_name: manu_product_designer_zaip_agent
946
+ persona: { nome: manu, cargo: product_designer }
947
+ nickname_candidates: [manu_product_designer_zaip_agent]
948
+ role: builder
949
+ priority: 0
950
+ inherits: null
951
+ capabilities: [design-system, design-tokens, central-components, page-design]
952
+ execution_eligibility: [delivery]
953
+ tools: [apply-patch, shell-read, test-runner]
954
+ skills: [zaip-skill-change, zaip-skill-design-system, design-md]
955
+ write_scopes: [.agents/design/*, .agents/design/**]
956
+ permissions:
957
+ filesystem: { allow: [declared-write-scope], deny: [outside-workspace] }
958
+ network: { allow: [], deny: [external] }
959
+ shell: { allow: [tests, typecheck, build], deny: [destructive, deploy] }
960
+ deployment: { allow: [], deny: [all] }
961
+ model:
962
+ required_capabilities: [code, tool-use]
963
+ preferred: [gpt-5.6-terra]
964
+ reasoning_effort: medium
965
+ budget: { soft_cycles: 32 }
966
+ contract:
967
+ inputs: [task, requirements, design-context]
968
+ outputs: [diff, verification, structured-outcome]
969
+ evidence: [acceptance-evidence]
970
+ review: { can_approve: false, cannot_review_roles: [builder] }
971
+ escalation: [agent-orchestrator]
972
+ - id: agent-cloud-engineer
973
+ version: 1
974
+ purpose: Design and validate declared cloud infrastructure without deployment.
975
+ use_when: ["Cloud infrastructure, provisioning, containers, Terraform, or Docker environments."]
976
+ do_not_use: ["Application implementation, deployment, or unmanaged infrastructure changes."]
977
+ codex_name: zaip-agent-cloud-engineer
978
+ codex_task_name: dan_cloud_engineer_zaip_agent
979
+ persona: { nome: dan, cargo: cloud_engineer }
980
+ nickname_candidates: [dan_cloud_engineer_zaip_agent]
981
+ role: builder
982
+ priority: 10
983
+ inherits: null
984
+ capabilities: [cloud-infrastructure, terraform, docker, environment-provisioning]
985
+ execution_eligibility: [delivery]
986
+ tools: [apply-patch, shell-read, test-runner]
987
+ skills: [zaip-skill-change, zaip-skill-cloud-engineering]
988
+ write_scopes: [declared-write-scope]
989
+ permissions:
990
+ filesystem: { allow: [declared-write-scope], deny: [outside-workspace] }
991
+ network: { allow: [], deny: [external] }
992
+ shell: { allow: [tests, typecheck, build], deny: [destructive, deploy] }
993
+ deployment: { allow: [], deny: [all] }
994
+ model:
995
+ required_capabilities: [code, tool-use]
996
+ preferred: [gpt-5.6-terra]
997
+ reasoning_effort: medium
998
+ budget: { soft_cycles: 24 }
999
+ contract:
1000
+ inputs: [task, requirements, infrastructure-context]
1001
+ outputs: [diff, verification, structured-outcome]
1002
+ evidence: [acceptance-evidence]
1003
+ review: { can_approve: false, cannot_review_roles: [builder] }
1004
+ escalation: [agent-orchestrator]
1005
+ - id: agent-security-auditor
1006
+ version: 1
1007
+ purpose: Perform independent read-only technical security audits and prioritized recommendations.
1008
+ use_when: ["Security audit, sensitive change, or release requires independent assessment."]
1009
+ do_not_use: ["Implementation, remediation authorship, or deployment."]
1010
+ codex_name: zaip-agent-security-auditor
1011
+ codex_task_name: luiz_security_auditor_zaip_agent
1012
+ persona: { nome: luiz, cargo: security_auditor }
1013
+ nickname_candidates: [luiz_security_auditor_zaip_agent]
1014
+ role: auditor
1015
+ priority: 20
1016
+ inherits: null
1017
+ capabilities: [security-audit, security-review, risk-assessment]
209
1018
  execution_eligibility: []
210
1019
  tools: [shell-read, test-runner, package-inspector]
211
- skills: [zaip-skill-review]
1020
+ skills: [zaip-skill-review, zaip-skill-security]
212
1021
  write_scopes: []
213
1022
  permissions:
214
- filesystem: { allow: [read-only], deny: [workspace-write] }
1023
+ filesystem: { allow: [], deny: [workspace-write] }
215
1024
  network: { allow: [], deny: [external] }
216
- shell: { allow: [tests, validation, package-inspection], deny: [product-mutation, deploy] }
1025
+ shell: { allow: [tests, validation], deny: [destructive, deploy] }
217
1026
  deployment: { allow: [], deny: [all] }
218
1027
  model:
219
- required_capabilities: [reasoning, tool-use, structured-output]
220
- preferred: [policy-selected]
221
- budget: { soft_cycles: 32, soft_input_tokens: 180000, max_repair_cycles: 0 }
1028
+ required_capabilities: [reasoning, tool-use]
1029
+ preferred: [gpt-5.6-sol]
1030
+ reasoning_effort: high
1031
+ budget: { soft_cycles: 20 }
222
1032
  contract:
223
- inputs: [rubric, evidence-manifest, release-candidate]
224
- outputs: [audit-report, go-no-go]
225
- evidence: [reproduced-score]
1033
+ inputs: [audit-scope, evidence-manifest, release-candidate]
1034
+ outputs: [audit-report, prioritized-findings]
1035
+ evidence: [reproduced-security-evidence]
226
1036
  review: { can_approve: true, cannot_review_roles: [auditor] }
227
1037
  escalation: [agent-orchestrator]
1038
+ - id: agent-marketing-analyst
1039
+ version: 1
1040
+ purpose: Plan evidence-grounded marketing, copy, campaigns, and image briefs inside declared scopes.
1041
+ use_when: ["Marketing strategy, campaign, landing-page copy, or image brief."]
1042
+ do_not_use: ["Product implementation, backend changes, or central design governance."]
1043
+ codex_name: zaip-agent-marketing-analyst
1044
+ codex_task_name: lucia_marketing_analyst_zaip_agent
1045
+ persona: { nome: lucia, cargo: marketing_analyst }
1046
+ nickname_candidates: [lucia_marketing_analyst_zaip_agent]
1047
+ role: builder
1048
+ priority: 20
1049
+ inherits: null
1050
+ capabilities: [marketing-strategy, copywriting, campaign-planning, marketing-assets, image-briefing]
1051
+ execution_eligibility: [delivery]
1052
+ tools: [apply-patch, shell-read, imagegen]
1053
+ skills: [zaip-skill-change, zaip-skill-marketing]
1054
+ write_scopes: [declared-write-scope]
1055
+ permissions:
1056
+ filesystem: { allow: [declared-write-scope], deny: [outside-workspace] }
1057
+ network: { allow: [], deny: [external] }
1058
+ shell: { allow: [tests, validation], deny: [destructive, deploy] }
1059
+ deployment: { allow: [], deny: [all] }
1060
+ model:
1061
+ required_capabilities: [code, tool-use]
1062
+ preferred: [gpt-5.6-terra]
1063
+ reasoning_effort: medium
1064
+ budget: { soft_cycles: 20 }
1065
+ contract:
1066
+ inputs: [task, requirements, marketing-context]
1067
+ outputs: [strategy, copy-assets, structured-outcome]
1068
+ evidence: [acceptance-evidence]
1069
+ review: { can_approve: false, cannot_review_roles: [builder] }
1070
+ escalation: [agent-orchestrator]
228
1071
  squads:
229
1072
  - id: squad-critical-delivery
230
1073
  version: 1
231
1074
  purpose: Deliver critical work with independent review and controlled integration.
232
- members: [agent-orchestrator, agent-analyst, agent-task-executor, agent-finalizer, agent-builder, agent-reviewer, agent-integrator, agent-auditor]
1075
+ members:
1076
+ - agent-orchestrator
1077
+ - agent-analyst
1078
+ - agent-task-executor
1079
+ - agent-finalizer
1080
+ - agent-builder
1081
+ - agent-reviewer
1082
+ - agent-integrator
1083
+ - agent-auditor
1084
+ - agent-frontend
1085
+ - agent-backend
1086
+ - agent-website-developer
1087
+ - agent-designer
1088
+ - agent-text-summarizer
1089
+ - agent-refactoring-specialist
1090
+ - agent-data-analyst
1091
+ - agent-cloud-engineer
1092
+ - agent-security-auditor
1093
+ - agent-marketing-analyst
233
1094
  max_parallelism: 5
234
1095
  delegation:
235
- - { from: agent-orchestrator, to: agent-builder, capability: typescript-delivery }
236
- - { from: agent-orchestrator, to: agent-task-executor, capability: task-delivery }
237
- - { from: agent-orchestrator, to: agent-analyst, capability: conversation-analysis }
238
- - { from: agent-orchestrator, to: agent-finalizer, capability: lifecycle-finalization }
239
- - { from: agent-builder, to: agent-reviewer, capability: independent-review }
240
- - { from: agent-reviewer, to: agent-integrator, capability: git-integration }
241
- - { from: agent-integrator, to: agent-auditor, capability: release-audit }
1096
+ - from: agent-orchestrator
1097
+ to: agent-builder
1098
+ capability: project-stack-delivery
1099
+ - from: agent-orchestrator
1100
+ to: agent-builder
1101
+ capability: spec-creation
1102
+ - from: agent-orchestrator
1103
+ to: agent-task-executor
1104
+ capability: task-delivery
1105
+ - from: agent-orchestrator
1106
+ to: agent-analyst
1107
+ capability: conversation-analysis
1108
+ - from: agent-orchestrator
1109
+ to: agent-analyst
1110
+ capability: prd-creation
1111
+ - from: agent-orchestrator
1112
+ to: agent-finalizer
1113
+ capability: lifecycle-finalization
1114
+ - from: agent-orchestrator
1115
+ to: agent-frontend
1116
+ capability: frontend-delivery
1117
+ - from: agent-orchestrator
1118
+ to: agent-backend
1119
+ capability: backend-delivery
1120
+ - from: agent-orchestrator
1121
+ to: agent-website-developer
1122
+ capability: website-delivery
1123
+ - from: agent-orchestrator
1124
+ to: agent-designer
1125
+ capability: design-system
1126
+ - from: agent-orchestrator
1127
+ to: agent-data-analyst
1128
+ capability: data-analysis
1129
+ - from: agent-orchestrator
1130
+ to: agent-cloud-engineer
1131
+ capability: cloud-infrastructure
1132
+ - from: agent-orchestrator
1133
+ to: agent-security-auditor
1134
+ capability: security-audit
1135
+ - from: agent-orchestrator
1136
+ to: agent-marketing-analyst
1137
+ capability: marketing-strategy
1138
+ - from: agent-orchestrator
1139
+ to: agent-refactoring-specialist
1140
+ capability: refactor-existing-code
1141
+ - from: agent-orchestrator
1142
+ to: agent-refactoring-specialist
1143
+ capability: architecture
1144
+ - from: agent-orchestrator
1145
+ to: agent-reviewer
1146
+ capability: independent-review
1147
+ - from: agent-orchestrator
1148
+ to: agent-integrator
1149
+ capability: git-integration
1150
+ - from: agent-orchestrator
1151
+ to: agent-auditor
1152
+ capability: release-audit
1153
+ - from: agent-orchestrator
1154
+ to: agent-text-summarizer
1155
+ capability: faithful-summarization
1156
+ - from: agent-orchestrator
1157
+ to: agent-text-summarizer
1158
+ capability: timestamped-transcript-analysis
1159
+ - from: agent-orchestrator
1160
+ to: agent-text-summarizer
1161
+ capability: source-grounded-documentation
1162
+ - from: agent-builder
1163
+ to: agent-reviewer
1164
+ capability: independent-review
1165
+ - from: agent-reviewer
1166
+ to: agent-integrator
1167
+ capability: git-integration
1168
+ - from: agent-integrator
1169
+ to: agent-auditor
1170
+ capability: release-audit
242
1171
  review_policy:
243
1172
  independent: true
244
- executor_roles: [analyst, builder, task-executor]
245
- reviewer_roles: [reviewer, auditor]
246
- escalation: [agent-auditor, agent-orchestrator]
1173
+ executor_roles:
1174
+ - analyst
1175
+ - builder
1176
+ - task-executor
1177
+ reviewer_roles:
1178
+ - reviewer
1179
+ - auditor
1180
+ escalation:
1181
+ - agent-auditor
1182
+ - agent-orchestrator