@zaip-ai/cli 2.2.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +36 -13
- package/dist/services/adapters.d.ts +1 -1
- package/dist/services/adapters.d.ts.map +1 -1
- package/dist/services/adapters.js +26 -9
- package/dist/services/adapters.js.map +1 -1
- package/dist/services/agent-adapters.js +37 -18
- package/dist/services/agent-adapters.js.map +1 -1
- package/dist/services/agent-discovery.d.ts +27 -0
- package/dist/services/agent-discovery.d.ts.map +1 -0
- package/dist/services/agent-discovery.js +73 -0
- package/dist/services/agent-discovery.js.map +1 -0
- package/dist/services/codex-conversation-lifecycle-hook.d.ts.map +1 -1
- package/dist/services/codex-conversation-lifecycle-hook.js +164 -24
- package/dist/services/codex-conversation-lifecycle-hook.js.map +1 -1
- package/dist/services/codex-pre-tool-hook-template.d.ts.map +1 -1
- package/dist/services/codex-pre-tool-hook-template.js +146 -72
- package/dist/services/codex-pre-tool-hook-template.js.map +1 -1
- package/dist/services/codex-rules.d.ts +1 -1
- package/dist/services/codex-rules.d.ts.map +1 -1
- package/dist/services/codex-rules.js +3 -3
- package/dist/services/codex-subagent-hook-template.d.ts +1 -1
- package/dist/services/codex-subagent-hook-template.d.ts.map +1 -1
- package/dist/services/codex-subagent-hook-template.js +117 -66
- package/dist/services/codex-subagent-hook-template.js.map +1 -1
- package/dist/services/install-agents-template.d.ts.map +1 -1
- package/dist/services/install-agents-template.js +65 -7
- package/dist/services/install-agents-template.js.map +1 -1
- package/dist/services/logger.js +1 -1
- package/dist/services/logger.js.map +1 -1
- package/dist/services/logger.test.js +22 -1
- package/dist/services/logger.test.js.map +1 -1
- package/dist/services/runtime-template.test.js +153 -1
- package/dist/services/runtime-template.test.js.map +1 -1
- package/dist/services/transactional-files.d.ts.map +1 -1
- package/dist/services/transactional-files.js +59 -14
- package/dist/services/transactional-files.js.map +1 -1
- package/package.json +1 -1
- package/templates/.agents/.env.example +9 -3
- package/templates/.agents/README-ENG.md +101 -15
- package/templates/.agents/README.md +102 -17
- package/templates/.agents/architecture/software-architecture.md +1 -59
- package/templates/.agents/branding/brandbook.md +3 -0
- package/templates/.agents/config/agents/catalog.yaml +25 -10
- package/templates/.agents/config/agents/discovery.json +319 -0
- package/templates/.agents/config/clients/codex/agents/zaip-agent-analyst.toml +1 -1
- package/templates/.agents/config/clients/codex/agents/zaip-agent-auditor.toml +1 -1
- package/templates/.agents/config/clients/codex/agents/zaip-agent-backend.toml +3 -3
- package/templates/.agents/config/clients/codex/agents/zaip-agent-brand-strategist.toml +1 -1
- package/templates/.agents/config/clients/codex/agents/zaip-agent-builder.toml +3 -3
- package/templates/.agents/config/clients/codex/agents/zaip-agent-cloud-engineer.toml +12 -9
- package/templates/.agents/config/clients/codex/agents/zaip-agent-data-analyst.toml +1 -1
- package/templates/.agents/config/clients/codex/agents/zaip-agent-designer.toml +3 -3
- package/templates/.agents/config/clients/codex/agents/zaip-agent-finalizer.toml +2 -2
- package/templates/.agents/config/clients/codex/agents/zaip-agent-frontend.toml +3 -3
- package/templates/.agents/config/clients/codex/agents/zaip-agent-general-operations.toml +1 -1
- package/templates/.agents/config/clients/codex/agents/zaip-agent-governance-compliance.toml +1 -1
- package/templates/.agents/config/clients/codex/agents/zaip-agent-growth-strategist.toml +1 -1
- package/templates/.agents/config/clients/codex/agents/zaip-agent-integrator.toml +1 -1
- package/templates/.agents/config/clients/codex/agents/zaip-agent-marketing-analyst.toml +1 -1
- package/templates/.agents/config/clients/codex/agents/zaip-agent-orchestrator.toml +13 -10
- package/templates/.agents/config/clients/codex/agents/zaip-agent-refactoring-specialist.toml +1 -1
- package/templates/.agents/config/clients/codex/agents/zaip-agent-reviewer.toml +1 -1
- package/templates/.agents/config/clients/codex/agents/zaip-agent-sales-specialist.toml +1 -1
- package/templates/.agents/config/clients/codex/agents/zaip-agent-security-auditor.toml +1 -1
- package/templates/.agents/config/clients/codex/agents/zaip-agent-task-executor.toml +3 -3
- package/templates/.agents/config/clients/codex/agents/zaip-agent-website-developer.toml +3 -3
- package/templates/.agents/config/clients/codex/agents/zaip-agent-writer.toml +1 -1
- package/templates/.agents/config/pricing/models.json +9 -5
- package/templates/.agents/config/project.yaml +22 -2
- package/templates/.agents/dashboard/.zaip-managed.json +530 -138
- package/templates/.agents/dashboard/README.md +16 -0
- package/templates/.agents/dashboard/apps/frontend/dist/assets/CostCalculationGuidePage-CEDZjl4V.js +1 -0
- package/templates/.agents/dashboard/apps/frontend/dist/assets/{DashboardHelpDialog-DaSllaJp.js → DashboardHelpDialog-TnrL1ZyZ.js} +967 -578
- package/templates/.agents/dashboard/apps/frontend/dist/assets/PricingSettingsDialog-DjQpBqGU.js +1 -0
- package/templates/.agents/dashboard/apps/frontend/dist/assets/ProjectSettingsPage-B9GWkEyN.css +1 -0
- package/templates/.agents/dashboard/apps/frontend/dist/assets/ProjectSettingsPage-BAvLPAee.js +3 -0
- package/templates/.agents/dashboard/apps/frontend/dist/assets/TraceabilityWorkspace-BQZXUnQu.js +1 -0
- package/templates/.agents/dashboard/apps/frontend/dist/assets/cost-monitor-06__WZco.js +68 -0
- package/templates/.agents/dashboard/apps/frontend/dist/assets/dashboard-localization-Basaw1NR.js +824 -0
- package/templates/.agents/dashboard/apps/frontend/dist/assets/{icons-vendor-TPUT2IUt.js → icons-vendor-DEmo6Tn2.js} +1 -1
- package/templates/.agents/dashboard/apps/frontend/dist/assets/index-BQe3zTvL.js +2 -0
- package/templates/.agents/dashboard/apps/frontend/dist/assets/{react-vendor-Ct48XHGL.js → react-vendor-CadYsm83.js} +1 -1
- package/templates/.agents/dashboard/apps/frontend/dist/assets/rolldown-runtime-Bh1tDfsg.js +1 -0
- package/templates/.agents/dashboard/apps/frontend/dist/assets/traceability-BzKK8kK3.js +1 -0
- package/templates/.agents/dashboard/apps/frontend/dist/index.html +6 -6
- package/templates/.agents/dashboard/apps/frontend/package.json +1 -1
- package/templates/.agents/dashboard/apps/frontend/src/App.tsx +3 -1264
- package/templates/.agents/dashboard/apps/frontend/src/AppDashboardContent.tsx +368 -0
- package/templates/.agents/dashboard/apps/frontend/src/AutonomySettings.tsx +82 -0
- package/templates/.agents/dashboard/apps/frontend/src/ProjectSettingsPage.dom.test.ts +130 -0
- package/templates/.agents/dashboard/apps/frontend/src/ProjectSettingsPage.tsx +206 -157
- package/templates/.agents/dashboard/apps/frontend/src/ProjectStackEditor.tsx +3 -1
- package/templates/.agents/dashboard/apps/frontend/src/__tests__/app-composition-support.ts +12 -0
- package/templates/.agents/dashboard/apps/frontend/src/cost-monitor-population.test.tsx +149 -0
- package/templates/.agents/dashboard/apps/frontend/src/cost-period-refresh.test.ts +9 -7
- package/templates/.agents/dashboard/apps/frontend/src/dashboard-api-settings.ts +152 -0
- package/templates/.agents/dashboard/apps/frontend/src/dashboard-api.test.ts +19 -0
- package/templates/.agents/dashboard/apps/frontend/src/dashboard-api.ts +50 -154
- package/templates/.agents/dashboard/apps/frontend/src/dashboard-app-shell.tsx +33 -0
- package/templates/.agents/dashboard/apps/frontend/src/dashboard-cost-facts.test.ts +54 -0
- package/templates/.agents/dashboard/apps/frontend/src/dashboard-cost-facts.ts +48 -0
- package/templates/.agents/dashboard/apps/frontend/src/dashboard-localization.test.ts +37 -43
- package/templates/.agents/dashboard/apps/frontend/src/dashboard-localization.ts +9 -251
- package/templates/.agents/dashboard/apps/frontend/src/dashboard-project-overview.ts +35 -2
- package/templates/.agents/dashboard/apps/frontend/src/dashboard-retry.ts +17 -0
- package/templates/.agents/dashboard/apps/frontend/src/dashboard-setup-route.ts +29 -0
- package/templates/.agents/dashboard/apps/frontend/src/dashboard-view-actions.test.ts +51 -0
- package/templates/.agents/dashboard/apps/frontend/src/dashboard-view-actions.ts +68 -0
- package/templates/.agents/dashboard/apps/frontend/src/operations-period-render.test.ts +38 -2
- package/templates/.agents/dashboard/apps/frontend/src/operations-period.test.ts +19 -4
- package/templates/.agents/dashboard/apps/frontend/src/operations-period.ts +5 -3
- package/templates/.agents/dashboard/apps/frontend/src/overview-status-page.test.ts +2 -2
- package/templates/.agents/dashboard/apps/frontend/src/project-installation-status.test.ts +137 -0
- package/templates/.agents/dashboard/apps/frontend/src/project-installation-status.ts +66 -0
- package/templates/.agents/dashboard/apps/frontend/src/project-settings-copy.ts +181 -0
- package/templates/.agents/dashboard/apps/frontend/src/project-settings-model.ts +11 -1
- package/templates/.agents/dashboard/apps/frontend/src/project-settings-page.css +102 -51
- package/templates/.agents/dashboard/apps/frontend/src/project-settings-state.css +55 -0
- package/templates/.agents/dashboard/apps/frontend/src/project-settings.test.ts +14 -2
- package/templates/.agents/dashboard/apps/frontend/src/sao-paulo-day-rollover.test.ts +36 -0
- package/templates/.agents/dashboard/apps/frontend/src/sao-paulo-day-rollover.ts +30 -0
- package/templates/.agents/dashboard/apps/frontend/src/snapshot-banner-semantics.test.ts +2 -5
- package/templates/.agents/dashboard/apps/frontend/src/snapshot-coherence.test.ts +31 -20
- package/templates/.agents/dashboard/apps/frontend/src/traceability-task-pagination.ts +1 -2
- package/templates/.agents/dashboard/apps/frontend/src/use-app-cost-loaders.test.ts +6 -0
- package/templates/.agents/dashboard/apps/frontend/src/use-app-cost-loaders.ts +2 -0
- package/templates/.agents/dashboard/apps/frontend/src/use-app-effects.ts +9 -1
- package/templates/.agents/dashboard/apps/frontend/src/use-app-trace-documents.ts +3 -1
- package/templates/.agents/dashboard/apps/frontend/src/use-app-trace-task-pagination.ts +66 -0
- package/templates/.agents/dashboard/apps/frontend/src/use-app-work-board.ts +397 -0
- package/templates/.agents/dashboard/apps/frontend/src/use-dashboard-app-model.tsx +782 -0
- package/templates/.agents/dashboard/apps/frontend/src/use-snapshot-notice.tsx +49 -0
- package/templates/.agents/dashboard/modules/cost-monitor/package.json +1 -1
- package/templates/.agents/dashboard/modules/cost-monitor/src/complete-cost-average.test.ts +73 -0
- package/templates/.agents/dashboard/modules/cost-monitor/src/contracts.ts +9 -0
- package/templates/.agents/dashboard/modules/cost-monitor/src/period-averages.ts +60 -0
- package/templates/.agents/dashboard/modules/cost-monitor/src/react/CostDeveloperPanelSlot.tsx +16 -0
- package/templates/.agents/dashboard/modules/cost-monitor/src/react/CostGroupsTable.tsx +459 -0
- package/templates/.agents/dashboard/modules/cost-monitor/src/react/CostMonitorContent.tsx +8 -22
- package/templates/.agents/dashboard/modules/cost-monitor/src/react/CostMonitorPage.test.ts +27 -17
- package/templates/.agents/dashboard/modules/cost-monitor/src/react/CostMonitorPage.tsx +64 -189
- package/templates/.agents/dashboard/modules/cost-monitor/src/react/CostMonitorRunDialog.tsx +20 -0
- package/templates/.agents/dashboard/modules/cost-monitor/src/react/CostPeriodAverageCards.tsx +32 -8
- package/templates/.agents/dashboard/modules/cost-monitor/src/react/CostTables-hides-calls-that-have-no-collected.test.ts +80 -0
- package/templates/.agents/dashboard/modules/cost-monitor/src/react/CostTables-keeps-legacy-codex-identity-fields-blank.test.ts +455 -0
- package/templates/.agents/dashboard/modules/cost-monitor/src/react/CostTables.test.ts +18 -525
- package/templates/.agents/dashboard/modules/cost-monitor/src/react/CostTables.tsx +32 -508
- package/templates/.agents/dashboard/modules/cost-monitor/src/react/cost-monitor-export-sources.ts +74 -0
- package/templates/.agents/dashboard/modules/cost-monitor/src/react/cost-monitor-page-actions.ts +19 -0
- package/templates/.agents/dashboard/modules/cost-monitor/src/react/cost-monitor-page-selectors.ts +49 -0
- package/templates/.agents/dashboard/modules/cost-monitor/src/react/cost-monitor-summary.ts +3 -2
- package/templates/.agents/dashboard/modules/cost-monitor/src/react/cost-table-formatters.ts +115 -0
- package/templates/.agents/dashboard/modules/cost-monitor/src/react/period-cost-groups.ts +1 -42
- package/templates/.agents/dashboard/modules/cost-monitor/src/react/use-cost-group-page.ts +2 -1
- package/templates/.agents/dashboard/modules/cost-monitor/src/server/build-cost-monitor-projection.test-fixtures.ts +2 -0
- package/templates/.agents/dashboard/modules/cost-monitor/src/server/build-cost-monitor-projection.ts +3 -2
- package/templates/.agents/dashboard/modules/cost-monitor/src/server/build-cost-summary-projection.ts +8 -2
- package/templates/.agents/dashboard/modules/cost-monitor/src/server/index.ts +1 -0
- package/templates/.agents/dashboard/modules/operations/package.json +1 -1
- package/templates/.agents/dashboard/modules/operations/src/contracts.ts +4 -0
- package/templates/.agents/dashboard/modules/operations/src/react/EntityTableBadges.tsx +34 -0
- package/templates/.agents/dashboard/modules/operations/src/react/EntityTables.tsx +8 -38
- package/templates/.agents/dashboard/modules/operations/src/react/OperationsOverview-keeps-structure-classes-mutually-exclusive.test.ts +244 -0
- package/templates/.agents/dashboard/modules/operations/src/react/OperationsOverview.helpers.tsx +66 -3
- package/templates/.agents/dashboard/modules/operations/src/react/OperationsOverview.test.ts +98 -276
- package/templates/.agents/dashboard/modules/operations/src/react/OperationsOverview.tsx +105 -276
- package/templates/.agents/dashboard/modules/operations/src/react/OperationsOverviewCharts.tsx +171 -0
- package/templates/.agents/dashboard/modules/operations/src/react/OperationsOverviewPanels.tsx +64 -0
- package/templates/.agents/dashboard/modules/operations/src/react/OperationsPage.tsx +9 -17
- package/templates/.agents/dashboard/modules/operations/src/react/OperationsPageOverview.tsx +3 -0
- package/templates/.agents/dashboard/modules/operations/src/react/OverviewCostKpi.tsx +46 -0
- package/templates/.agents/dashboard/modules/operations/src/react/PrdDocumentDialog.test.tsx +2 -1
- package/templates/.agents/dashboard/modules/operations/src/react/UnifiedWorkList.test.ts +28 -1
- package/templates/.agents/dashboard/modules/operations/src/react/UnifiedWorkList.tsx +11 -4
- package/templates/.agents/dashboard/modules/operations/src/react/index.ts +1 -0
- package/templates/.agents/dashboard/modules/operations/src/react/manual-work-priority.test.ts +2 -1
- package/templates/.agents/dashboard/modules/operations/src/react/operations-coverage-toast.test.ts +8 -4
- package/templates/.agents/dashboard/modules/operations/src/react/operations-overview-period-filter.test.ts +34 -22
- package/templates/.agents/dashboard/modules/operations/src/react/operations-overview.status-cards.test.ts +3 -1
- package/templates/.agents/dashboard/modules/operations/src/react/operations-page-contract.ts +21 -2
- package/templates/.agents/dashboard/modules/operations/src/react/overview-cost-card.test.tsx +89 -0
- package/templates/.agents/dashboard/modules/operations/src/react/overview-metric-format.ts +32 -0
- package/templates/.agents/dashboard/modules/operations/src/react/work-board-model.test.ts +3 -3
- package/templates/.agents/dashboard/modules/operations/src/work-board-model.ts +2 -1
- package/templates/.agents/dashboard/modules/traceability/package.json +1 -1
- package/templates/.agents/dashboard/packages/branding/package.json +1 -1
- package/templates/.agents/dashboard/packages/branding/src/index.ts +1 -1
- package/templates/.agents/dashboard/packages/contracts/package.json +1 -1
- package/templates/.agents/dashboard/packages/data-export/package.json +1 -1
- package/templates/.agents/dashboard/packages/local-runtime/dist/server.cjs +1625 -1613
- package/templates/.agents/dashboard/packages/local-runtime/dist/sqlite-read-model.cjs +1592 -1582
- package/templates/.agents/dashboard/packages/local-runtime/package.json +3 -2
- package/templates/.agents/dashboard/packages/local-runtime/scripts/build-sqlite-runtime.mjs +22 -28
- package/templates/.agents/dashboard/packages/local-runtime/server.mjs +1625 -1614
- package/templates/.agents/dashboard/packages/local-runtime/src/active-codex-telemetry.ts +25 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/agent-catalog-settings.test.ts +1 -1
- package/templates/.agents/dashboard/packages/local-runtime/src/project-installation-summary.test.ts +142 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/project-installation-summary.ts +190 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/project-settings.test.ts +118 -8
- package/templates/.agents/dashboard/packages/local-runtime/src/project-settings.ts +92 -36
- package/templates/.agents/dashboard/packages/local-runtime/src/projection-refresh-diagnostics.ts +35 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/server-browser-lease.test.ts +91 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/server-browser-lease.ts +24 -4
- package/templates/.agents/dashboard/packages/local-runtime/src/server-costs-routes.ts +168 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/server-dual-reads-manifest-summaries-without-losing.test.ts +344 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/server-hono-security.test.ts +17 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/server-http-contracts.ts +31 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/server-operations-routes.ts +364 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/server-read-projections.ts +461 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/server-reconciliation-refresh.test.ts +78 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/server-route-context.ts +13 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/server-snapshot-refresh.test.ts +94 -2
- package/templates/.agents/dashboard/packages/local-runtime/src/server-snapshot-refresh.ts +62 -12
- package/templates/.agents/dashboard/packages/local-runtime/src/server-snapshot-synchronization.test.ts +44 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/server-snapshot-synchronization.ts +22 -3
- package/templates/.agents/dashboard/packages/local-runtime/src/server-snapshot.test.ts +22 -21
- package/templates/.agents/dashboard/packages/local-runtime/src/server-sqlite-task-trace.test.ts +97 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/server-sqlite-task-trace.ts +10 -13
- package/templates/.agents/dashboard/packages/local-runtime/src/server-sqlite-view-allowlist.test.ts +25 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/server-trace-routes.ts +56 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/server-traceability-index.test.ts +84 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/server-work-reconciliation.test.ts +2 -30
- package/templates/.agents/dashboard/packages/local-runtime/src/server-work-reconciliation.ts +6 -23
- package/templates/.agents/dashboard/packages/local-runtime/src/server.test-fixtures.ts +1 -1
- package/templates/.agents/dashboard/packages/local-runtime/src/server.test.ts +2 -330
- package/templates/.agents/dashboard/packages/local-runtime/src/server.ts +87 -1060
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-cost-dimension-facts.test.ts +12 -1
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-file-index.test.ts +69 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-first-fold-cache.ts +3 -1
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-force-canonical.test.ts +3 -1
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-incremental-refresh.test.ts +2 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-materialize-first-fold.ts +78 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-materialize-projections.ts +570 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-materialize-runs.ts +600 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-metric-contract.test.ts +1 -1
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-period-averages.ts +46 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-provider-alias-parity.test.ts +50 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-query-agent-dimension.ts +269 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-query-context.ts +32 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-query-entity-group.ts +244 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-query-filtered-dimension.ts +303 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-query-financial.ts +547 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-query-model-dimension.ts +360 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-query-provider-dimension.ts +169 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-query-summary.ts +493 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-query-temporal-dimension.ts +134 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-query-timing.ts +299 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-query-view-page.ts +692 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-read-model-counts-every-root-execution-day-returns.test.ts +763 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-read-model-does-not-convert-delayed-historical-finalizer.test.ts +706 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-read-model-filesystem.ts +762 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-read-model-first-fold-types.ts +1 -1
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-read-model-keeps-orphan-telemetry-out-kanban-without.test.ts +710 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-read-model-marks-token-cost-telemetry-unavailable-when.test.ts +618 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-read-model-rebuild.ts +764 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-read-model-rebuilds-disposable-snapshot-serves-zaip-records.test.ts +276 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-read-model-schema.ts +193 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-read-model-source-fingerprint.test.ts +54 -1
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-read-model-source-fingerprint.ts +7 -3
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-read-model-types.ts +123 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-read-model.test.ts +5 -2806
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-read-model.ts +17 -6930
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-risk-population.test.ts +98 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-schema-base-views.ts +390 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-schema-dashboard-views.ts +413 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-snapshot-seed.test.ts +2 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/verify-project-settings.mjs +57 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/work-priority-contract.test.ts +4 -3
- package/templates/.agents/dashboard/packages/local-runtime/start-dashboard-build.mjs +195 -0
- package/templates/.agents/dashboard/packages/local-runtime/start-dashboard-lifecycle.test.mjs +2 -7
- package/templates/.agents/dashboard/packages/local-runtime/start-dashboard-logging.mjs +35 -0
- package/templates/.agents/dashboard/packages/local-runtime/start-dashboard-navigation.mjs +114 -0
- package/templates/.agents/dashboard/packages/local-runtime/start-dashboard-paths.mjs +90 -0
- package/templates/.agents/dashboard/packages/local-runtime/start-dashboard.mjs +89 -418
- package/templates/.agents/dashboard/packages/local-runtime/start-dashboard.test.mjs +22 -12
- package/templates/.agents/dashboard/packages/ui/package.json +1 -1
- package/templates/.agents/dashboard/scripts/qualify-observability.mjs +130 -0
- package/templates/.agents/dashboard/scripts/verify-autonomy-settings.mjs +175 -0
- package/templates/.agents/dashboard/scripts/verify-observability.mjs +254 -0
- package/templates/.agents/dashboard/scripts/verify-project-setup.mjs +64 -0
- package/templates/.agents/dashboard/tests/e2e/lease-global-setup.ts +37 -0
- package/templates/.agents/dashboard/tests/e2e/package.json +1 -1
- package/templates/.agents/dashboard/tests/e2e/playwright.config.ts +9 -4
- package/templates/.agents/dashboard/tests/e2e/specs/cost-monitor-period-transition.spec.ts +22 -1
- package/templates/.agents/dashboard/tests/e2e/specs/dashboard-performance-matrix.spec.ts +17 -8
- package/templates/.agents/dashboard/tests/e2e/specs/dashboard.spec.ts +47 -6
- package/templates/.agents/dashboard/tests/e2e/specs/lease-lifetime.spec.ts +14 -0
- package/templates/.agents/dashboard/tests/observability-fixture.mjs +200 -0
- package/templates/.agents/design/.zaip-managed.json +86 -42
- package/templates/.agents/design/DESIGN.md +2 -186
- package/templates/.agents/design/README.md +12 -2
- package/templates/.agents/design/apps/catalog/dist/assets/index-BJV597iq.js +72 -0
- package/templates/.agents/design/apps/catalog/dist/assets/index-BOjCcUaU.js +72 -0
- package/templates/.agents/design/apps/catalog/dist/assets/index-B_WhrCZe.js +72 -0
- package/templates/.agents/design/apps/catalog/dist/assets/index-CqtYXZfV.js +72 -0
- package/templates/.agents/design/apps/catalog/dist/assets/index-D_lfqoyx.js +72 -0
- package/templates/.agents/design/apps/catalog/dist/assets/index-i_PO2k9R.js +9 -0
- package/templates/.agents/design/apps/catalog/dist/index.html +1 -1
- package/templates/.agents/design/apps/catalog/dist/storybook/assets/CatalogShell-Cstn1UwA.js +1 -0
- package/templates/.agents/design/apps/catalog/dist/storybook/assets/{Color-6AOWCN3U-B-kAgAjB.js → Color-6AOWCN3U-Cm-yJJz_.js} +1 -1
- package/templates/.agents/design/apps/catalog/dist/storybook/assets/Components.stories-D1WopB2L.js +137 -0
- package/templates/.agents/design/apps/catalog/dist/storybook/assets/DesignSystem.stories-DQ9PJ3N3.js +1 -0
- package/templates/.agents/design/apps/catalog/dist/storybook/assets/{DocsRenderer-JROSPFPF-BVN7xHtv.js → DocsRenderer-JROSPFPF-Belk4jRr.js} +4 -4
- package/templates/.agents/design/apps/catalog/dist/storybook/assets/{WithTooltip-7X4HQR7L-CDHtKYkz.js → WithTooltip-7X4HQR7L-DoPvjkS1.js} +1 -1
- package/templates/.agents/design/apps/catalog/dist/storybook/assets/{chunk-DRQKCCAG-D6AsDkMK.js → chunk-DRQKCCAG-B1itKXEN.js} +1 -1
- package/templates/.agents/design/apps/catalog/dist/storybook/assets/{chunk-W22LQPXL-B4m5uloN.js → chunk-W22LQPXL-C-Eb5SPY.js} +1 -1
- package/templates/.agents/design/apps/catalog/dist/storybook/assets/{components-CN8YyTUg.js → components-DnyKLwhj.js} +5 -5
- package/templates/.agents/design/apps/catalog/dist/storybook/assets/formatter-L2YTDE3Q-D0OSgxWz.js +1 -0
- package/templates/.agents/design/apps/catalog/dist/storybook/assets/{iframe-9yZfIsdT.js → iframe-DcXBsFPz.js} +3 -3
- package/templates/.agents/design/apps/catalog/dist/storybook/assets/{react-18-BoCSnq6H.js → react-18-CRM89QRf.js} +1 -1
- package/templates/.agents/design/apps/catalog/dist/storybook/assets/react-C3tkVMIp.js +1 -0
- package/templates/.agents/design/apps/catalog/dist/storybook/assets/{syntaxhighlighter-YFXUGROL-Bnn_nMwJ.js → syntaxhighlighter-YFXUGROL-B03jQGTF.js} +1 -1
- package/templates/.agents/design/apps/catalog/dist/storybook/assets/{theming-DS_ue2sb.js → theming-4ZyufAga.js} +1 -1
- package/templates/.agents/design/apps/catalog/dist/storybook/iframe.html +1 -1
- package/templates/.agents/design/apps/catalog/dist/storybook/index.json +1 -1
- package/templates/.agents/design/apps/catalog/package.json +2 -2
- package/templates/.agents/design/apps/catalog/src/components/AutonomySpecimen.tsx +15 -0
- package/templates/.agents/design/apps/catalog/src/components/CostPopulationSpecimen.test.tsx +19 -0
- package/templates/.agents/design/apps/catalog/src/components/CostPopulationSpecimen.tsx +45 -0
- package/templates/.agents/design/apps/catalog/src/components/EstimatedCostSpecimen.tsx +48 -0
- package/templates/.agents/design/apps/catalog/src/components/ProjectStatusSpecimen.tsx +169 -0
- package/templates/.agents/design/apps/catalog/src/pages/ComponentsPage.tsx +55 -0
- package/templates/.agents/design/apps/catalog/src/stories/Components.stories.tsx +60 -0
- package/templates/.agents/design/packages/local-runtime/package.json +1 -1
- package/templates/.agents/growth/strategy.md +3 -0
- package/templates/.agents/marketing/strategy.md +3 -0
- package/templates/.agents/requirements/autonomous-assurance.md +2 -1
- package/templates/.agents/requirements/cloud-hostinger-autonomy.md +1 -1
- package/templates/.agents/requirements/comparative-audit.md +1 -1
- package/templates/.agents/requirements/context-engine.md +1 -1
- package/templates/.agents/requirements/cost-observability.md +1 -1
- package/templates/.agents/requirements/dashboard-launch.md +1 -1
- package/templates/.agents/requirements/data-export.md +1 -1
- package/templates/.agents/requirements/design-system.md +13 -4
- package/templates/.agents/requirements/execution-engine.md +1 -1
- package/templates/.agents/requirements/kanban-dashboard.md +1 -1
- package/templates/.agents/requirements/model-orchestration.md +1 -1
- package/templates/.agents/requirements/public-distribution.md +4 -2
- package/templates/.agents/requirements/software-architecture.md +1 -1
- package/templates/.agents/requirements/strategic-improvements.md +1 -1
- package/templates/.agents/requirements/work-lifecycle.md +6 -6
- package/templates/.agents/requirements/zaip-strategic-95.md +1 -1
- package/templates/.agents/rules/architecture.md +2 -0
- package/templates/.agents/rules/astra-diagnostic.md +3 -1
- package/templates/.agents/rules/autonomy-decision.md +12 -2
- package/templates/.agents/rules/cloud-hostinger-autonomy.md +2 -0
- package/templates/.agents/rules/context.md +2 -1
- package/templates/.agents/rules/core.md +15 -4
- package/templates/.agents/rules/design-system-central-contract.md +17 -0
- package/templates/.agents/rules/evolution.md +3 -1
- package/templates/.agents/rules/frontend-lite.md +3 -1
- package/templates/.agents/rules/local-sqlite-storage.md +2 -2
- package/templates/.agents/rules/meta-mcp.md +3 -1
- package/templates/.agents/rules/model-orchestration.md +1 -1
- package/templates/.agents/rules/run-lifecycle-closure.md +11 -7
- package/templates/.agents/rules/security.md +3 -1
- package/templates/.agents/rules/specialist-routing.md +3 -1
- package/templates/.agents/rules/text-writing-utf8.md +1 -1
- package/templates/.agents/rules/workflow.md +7 -5
- package/templates/.agents/runtime/VERSION +1 -1
- package/templates/.agents/runtime/bin/zaip.mjs +821 -516
- package/templates/.agents/runtime/checksums.sha256 +6 -6
- package/templates/.agents/runtime/manifest.json +1 -1
- package/templates/.agents/runtime/pnpm-lock.sha256 +1 -1
- package/templates/.agents/runtime/provenance.json +5 -5
- package/templates/.agents/runtime/sbom.cdx.json +3 -3
- package/templates/.agents/sales/playbook.md +3 -0
- package/templates/.agents/skills/zaip-aios/SKILL.md +5 -3
- package/templates/.agents/skills/zaip-skill-adapt-stack/SKILL.md +1 -0
- package/templates/.agents/skills/zaip-skill-api-contracts/SKILL.md +14 -0
- package/templates/.agents/skills/zaip-skill-api-contracts/agents/openai.yaml +4 -0
- package/templates/.agents/skills/zaip-skill-application-observability/SKILL.md +15 -0
- package/templates/.agents/skills/zaip-skill-application-observability/agents/openai.yaml +4 -0
- package/templates/.agents/skills/zaip-skill-application-observability/references/signal-design.md +3 -0
- package/templates/.agents/skills/zaip-skill-application-readiness/SKILL.md +15 -0
- package/templates/.agents/skills/zaip-skill-application-readiness/agents/openai.yaml +4 -0
- package/templates/.agents/skills/zaip-skill-application-readiness/references/evidence-matrix.md +3 -0
- package/templates/.agents/skills/zaip-skill-architecture-design/SKILL.md +14 -0
- package/templates/.agents/skills/zaip-skill-architecture-design/agents/openai.yaml +4 -0
- package/templates/.agents/skills/zaip-skill-async-jobs/SKILL.md +14 -0
- package/templates/.agents/skills/zaip-skill-async-jobs/agents/openai.yaml +4 -0
- package/templates/.agents/skills/zaip-skill-auth-tenancy/SKILL.md +15 -0
- package/templates/.agents/skills/zaip-skill-auth-tenancy/agents/openai.yaml +4 -0
- package/templates/.agents/skills/zaip-skill-auth-tenancy/references/data-access-paths.md +9 -0
- package/templates/.agents/skills/zaip-skill-auth-tenancy/references/worker-scenario.md +5 -0
- package/templates/.agents/skills/zaip-skill-auth-tenancy/scripts/worker-contract.test.mjs +27 -0
- package/templates/.agents/skills/zaip-skill-author-skills/SKILL.md +2 -0
- package/templates/.agents/skills/zaip-skill-author-skills/references/engineering-skill-index.md +9 -0
- package/templates/.agents/skills/zaip-skill-author-skills/scripts/audit-skill-catalog.mjs +5 -3
- package/templates/.agents/skills/zaip-skill-author-skills/scripts/author-skill-scripts.test.mjs +27 -0
- package/templates/.agents/skills/zaip-skill-backend/SKILL.md +4 -0
- package/templates/.agents/skills/zaip-skill-backend/references/deployment-environments.md +75 -0
- package/templates/.agents/skills/zaip-skill-backend/references/supabase-migration-contract.md +23 -0
- package/templates/.agents/skills/zaip-skill-brand-governance/SKILL.md +2 -0
- package/templates/.agents/skills/zaip-skill-cache-strategy/SKILL.md +14 -0
- package/templates/.agents/skills/zaip-skill-cache-strategy/agents/openai.yaml +4 -0
- package/templates/.agents/skills/zaip-skill-change/SKILL.md +1 -1
- package/templates/.agents/skills/zaip-skill-cloud-engineering/SKILL.md +7 -0
- package/templates/.agents/skills/zaip-skill-cloudflare-github-deploy/SKILL.md +37 -0
- package/templates/.agents/skills/zaip-skill-cloudflare-github-deploy/agents/openai.yaml +6 -0
- package/templates/.agents/skills/zaip-skill-cloudflare-github-deploy/references/workers-static-assets.md +26 -0
- package/templates/.agents/skills/zaip-skill-cloudflare-github-deploy/references/workflow-templates.md +71 -0
- package/templates/.agents/skills/zaip-skill-cloudflare-github-deploy/scripts/cloudflare-github-deploy-contract.test.mjs +77 -0
- package/templates/.agents/skills/zaip-skill-config/SKILL.md +21 -11
- package/templates/.agents/skills/zaip-skill-config/agents/openai.yaml +2 -2
- package/templates/.agents/skills/zaip-skill-container-runtime/SKILL.md +14 -0
- package/templates/.agents/skills/zaip-skill-container-runtime/agents/openai.yaml +4 -0
- package/templates/.agents/skills/zaip-skill-context/SKILL.md +6 -1
- package/templates/.agents/skills/zaip-skill-context/references/prd-spec-task-handoff.md +10 -0
- package/templates/.agents/skills/zaip-skill-context/references/rule-selection.md +20 -0
- package/templates/.agents/skills/zaip-skill-cqrs/SKILL.md +1 -0
- package/templates/.agents/skills/zaip-skill-cybersecurity/SKILL.md +18 -0
- package/templates/.agents/skills/zaip-skill-cybersecurity/agents/openai.yaml +4 -0
- package/templates/.agents/skills/zaip-skill-cybersecurity/references/audit-contract.md +94 -0
- package/templates/.agents/skills/zaip-skill-cybersecurity/scripts/score-audit.mjs +185 -0
- package/templates/.agents/skills/zaip-skill-cybersecurity/scripts/score-audit.test.mjs +101 -0
- package/templates/.agents/skills/zaip-skill-data-modeling/SKILL.md +14 -0
- package/templates/.agents/skills/zaip-skill-data-modeling/agents/openai.yaml +4 -0
- package/templates/.agents/skills/zaip-skill-database-migrations/SKILL.md +20 -0
- package/templates/.agents/skills/zaip-skill-database-migrations/agents/openai.yaml +4 -0
- package/templates/.agents/skills/zaip-skill-database-migrations/references/manual-mode.md +15 -0
- package/templates/.agents/skills/zaip-skill-database-migrations/references/promotion-example.md +5 -0
- package/templates/.agents/skills/zaip-skill-database-migrations/scripts/export-manual-sql.mjs +145 -0
- package/templates/.agents/skills/zaip-skill-database-migrations/scripts/export-manual-sql.test.mjs +178 -0
- package/templates/.agents/skills/zaip-skill-dependency-upgrade/SKILL.md +14 -0
- package/templates/.agents/skills/zaip-skill-dependency-upgrade/agents/openai.yaml +4 -0
- package/templates/.agents/skills/zaip-skill-deployment-pipeline/SKILL.md +15 -0
- package/templates/.agents/skills/zaip-skill-deployment-pipeline/agents/openai.yaml +4 -0
- package/templates/.agents/skills/zaip-skill-deployment-pipeline/references/runtime-shapes.md +3 -0
- package/templates/.agents/skills/zaip-skill-design-system/SKILL.md +20 -9
- package/templates/.agents/skills/zaip-skill-dev-environment/SKILL.md +16 -0
- package/templates/.agents/skills/zaip-skill-dev-environment/agents/openai.yaml +4 -0
- package/templates/.agents/skills/zaip-skill-dev-environment/references/inventory-contract.md +7 -0
- package/templates/.agents/skills/zaip-skill-dev-environment/scripts/inventory.mjs +77 -0
- package/templates/.agents/skills/zaip-skill-disaster-recovery/SKILL.md +15 -0
- package/templates/.agents/skills/zaip-skill-disaster-recovery/agents/openai.yaml +4 -0
- package/templates/.agents/skills/zaip-skill-disaster-recovery/references/recovery-scope.md +3 -0
- package/templates/.agents/skills/zaip-skill-execution/SKILL.md +31 -8
- package/templates/.agents/skills/zaip-skill-execution/references/correction-cycle.md +7 -0
- package/templates/.agents/skills/zaip-skill-execution/references/runtime-governance.md +18 -8
- package/templates/.agents/skills/zaip-skill-external-integrations/SKILL.md +14 -0
- package/templates/.agents/skills/zaip-skill-external-integrations/agents/openai.yaml +4 -0
- package/templates/.agents/skills/zaip-skill-frontend/SKILL.md +4 -0
- package/templates/.agents/skills/zaip-skill-frontend-componentization/SKILL.md +44 -0
- package/templates/.agents/skills/zaip-skill-frontend-componentization/agents/openai.yaml +4 -0
- package/templates/.agents/skills/zaip-skill-frontend-data-flows/SKILL.md +14 -0
- package/templates/.agents/skills/zaip-skill-frontend-data-flows/agents/openai.yaml +4 -0
- package/templates/.agents/skills/zaip-skill-general-operations/SKILL.md +2 -0
- package/templates/.agents/skills/zaip-skill-github-actions-setup/SKILL.md +36 -0
- package/templates/.agents/skills/zaip-skill-github-actions-setup/agents/openai.yaml +4 -0
- package/templates/.agents/skills/zaip-skill-github-actions-setup/references/cloudflare-pages.md +33 -0
- package/templates/.agents/skills/zaip-skill-github-actions-setup/references/github.md +63 -0
- package/templates/.agents/skills/zaip-skill-github-actions-setup/references/hostinger-vps.md +55 -0
- package/templates/.agents/skills/zaip-skill-github-actions-setup/references/npm.md +30 -0
- package/templates/.agents/skills/zaip-skill-github-actions-setup/scripts/check-skill.mjs +55 -0
- package/templates/.agents/skills/zaip-skill-github-actions-setup/scripts/verify-cloudflare.mjs +61 -0
- package/templates/.agents/skills/zaip-skill-github-actions-setup/scripts/verify-cloudflare.test.mjs +128 -0
- package/templates/.agents/skills/zaip-skill-github-actions-setup/scripts/verify-ssh.integration.test.mjs +106 -0
- package/templates/.agents/skills/zaip-skill-github-deploy/SKILL.md +42 -76
- package/templates/.agents/skills/zaip-skill-github-deploy/references/deployment-workflow.md +135 -0
- package/templates/.agents/skills/zaip-skill-github-deploy/references/github-release-workflow-template.md +31 -0
- package/templates/.agents/skills/zaip-skill-github-deploy/references/release-gate-matrix.md +24 -0
- package/templates/.agents/skills/zaip-skill-github-deploy/references/release-identity.md +44 -0
- package/templates/.agents/skills/zaip-skill-github-deploy/references/release-notes.md +134 -0
- package/templates/.agents/skills/zaip-skill-github-deploy/scripts/consumer-release-preparation.mjs +389 -0
- package/templates/.agents/skills/zaip-skill-github-deploy/scripts/consumer-release-preparation.test.mjs +134 -0
- package/templates/.agents/skills/zaip-skill-github-deploy/scripts/github-deploy-contract.test.mjs +25 -2
- package/templates/.agents/skills/zaip-skill-github-deploy/scripts/github-readiness-api.test.mjs +134 -0
- package/templates/.agents/skills/zaip-skill-github-deploy/scripts/github-readiness.mjs +98 -0
- package/templates/.agents/skills/zaip-skill-github-deploy/scripts/github-readiness.test.mjs +25 -0
- package/templates/.agents/skills/zaip-skill-github-deploy/scripts/install-github-readiness-workflow.mjs +159 -0
- package/templates/.agents/skills/zaip-skill-github-deploy/scripts/install-github-readiness-workflow.test.mjs +160 -0
- package/templates/.agents/skills/zaip-skill-github-deploy/scripts/preflight.mjs +149 -12
- package/templates/.agents/skills/zaip-skill-github-deploy/scripts/preflight.test.mjs +64 -5
- package/templates/.agents/skills/zaip-skill-github-deploy/scripts/release-notes-coverage.test.mjs +126 -0
- package/templates/.agents/skills/zaip-skill-github-deploy/scripts/resolve-release-identity.mjs +78 -0
- package/templates/.agents/skills/zaip-skill-github-deploy/scripts/resolve-release-identity.test.mjs +51 -0
- package/templates/.agents/skills/zaip-skill-github-deploy/scripts/validate-release-notes.mjs +184 -0
- package/templates/.agents/skills/zaip-skill-github-deploy/scripts/validate-release-notes.test.mjs +109 -0
- package/templates/.agents/skills/zaip-skill-growth-strategy-revops/SKILL.md +2 -0
- package/templates/.agents/skills/zaip-skill-hostinger-cloudflare-terraform/SKILL.md +18 -10
- package/templates/.agents/skills/zaip-skill-hostinger-cloudflare-terraform/agents/openai.yaml +3 -4
- package/templates/.agents/skills/zaip-skill-hostinger-cloudflare-terraform/references/aws-cli-terraform.md +62 -0
- package/templates/.agents/skills/zaip-skill-hostinger-cloudflare-terraform/references/guia-iniciante-hostinger-vps.md +183 -0
- package/templates/.agents/skills/zaip-skill-marketing/SKILL.md +2 -0
- package/templates/.agents/skills/zaip-skill-module-scaffold/SKILL.md +14 -0
- package/templates/.agents/skills/zaip-skill-module-scaffold/agents/openai.yaml +4 -0
- package/templates/.agents/skills/zaip-skill-module-scaffold/references/scaffold-contract.md +9 -0
- package/templates/.agents/skills/zaip-skill-module-scaffold/scripts/helpers.test.mjs +121 -0
- package/templates/.agents/skills/zaip-skill-module-scaffold/scripts/scaffold.mjs +169 -0
- package/templates/.agents/skills/zaip-skill-move-prd/SKILL.md +3 -1
- package/templates/.agents/skills/zaip-skill-move-spec/SKILL.md +1 -1
- package/templates/.agents/skills/zaip-skill-performance-engineering/SKILL.md +14 -0
- package/templates/.agents/skills/zaip-skill-performance-engineering/agents/openai.yaml +4 -0
- package/templates/.agents/skills/zaip-skill-prd/SKILL.md +3 -1
- package/templates/.agents/skills/zaip-skill-reconcile-telemetry/scripts/reconcile-local-telemetry.mjs +1 -0
- package/templates/.agents/skills/zaip-skill-reconcile-telemetry/scripts/reconcile-telemetry-lib.mjs +26 -9
- package/templates/.agents/skills/zaip-skill-reconcile-telemetry/scripts/reconcile-telemetry-lib.test.mjs +39 -13
- package/templates/.agents/skills/zaip-skill-reconcile-telemetry/scripts/reconcile-telemetry-remeasurement.mjs +1 -0
- package/templates/.agents/skills/zaip-skill-refactor-landing-page/SKILL.md +66 -0
- package/templates/.agents/skills/zaip-skill-refactor-landing-page/agents/openai.yaml +4 -0
- package/templates/.agents/skills/zaip-skill-refactor-landing-page/references/behavioral-dry-run.md +23 -0
- package/templates/.agents/skills/zaip-skill-release-qualification/SKILL.md +38 -1
- package/templates/.agents/skills/zaip-skill-release-qualification/references/local-preparation.md +122 -0
- package/templates/.agents/skills/zaip-skill-review/SKILL.md +1 -0
- package/templates/.agents/skills/zaip-skill-rules/SKILL.md +3 -3
- package/templates/.agents/skills/zaip-skill-sales-methodology/SKILL.md +2 -0
- package/templates/.agents/skills/zaip-skill-setup/SKILL.md +21 -21
- package/templates/.agents/skills/zaip-skill-setup/agents/openai.yaml +2 -2
- package/templates/.agents/skills/zaip-skill-spec/SKILL.md +3 -2
- package/templates/.agents/skills/zaip-skill-storage-uploads/SKILL.md +14 -0
- package/templates/.agents/skills/zaip-skill-storage-uploads/agents/openai.yaml +4 -0
- package/templates/.agents/skills/zaip-skill-systematic-debugging/SKILL.md +14 -0
- package/templates/.agents/skills/zaip-skill-systematic-debugging/agents/openai.yaml +4 -0
- package/templates/.agents/skills/zaip-skill-task/SKILL.md +16 -7
- package/templates/.agents/skills/zaip-skill-task/references/commit-policy.md +25 -0
- package/templates/.agents/skills/zaip-skill-test-data/SKILL.md +14 -0
- package/templates/.agents/skills/zaip-skill-test-data/agents/openai.yaml +4 -0
- package/templates/.agents/skills/zaip-skill-test-data/scripts/generate.mjs +72 -0
- package/templates/.agents/skills/zaip-skill-testing-strategy/SKILL.md +15 -0
- package/templates/.agents/skills/zaip-skill-testing-strategy/agents/openai.yaml +4 -0
- package/templates/.agents/skills/zaip-skill-testing-strategy/references/example-map.md +3 -0
- package/templates/.agents/skills/zaip-skill-tool-setup/SKILL.md +2 -0
- package/templates/.agents/skills/zaip-skill-website-readiness/SKILL.md +8 -0
- package/templates/.agents/zaip-aios/INDEX.md +9 -1
- package/templates/.agents/zaip-aios/README.md +23 -2
- package/templates/.agents/zaip-aios/VERSION +1 -1
- package/templates/.agents/zaip-aios/guides/01-primeiros-passos.md +5 -1
- package/templates/.agents/zaip-aios/guides/03-tasks.md +15 -2
- package/templates/.agents/zaip-aios/guides/04-specs.md +13 -0
- package/templates/.agents/zaip-aios/guides/05-prds.md +13 -0
- package/templates/.agents/zaip-aios/guides/06-execucao.md +19 -4
- package/templates/.agents/zaip-aios/guides/07-revisao-e-validacao.md +14 -0
- package/templates/.agents/zaip-aios/guides/08-contexto-e-tokens.md +4 -3
- package/templates/.agents/zaip-aios/guides/09-agentes-e-squads.md +17 -9
- package/templates/.agents/zaip-aios/guides/10-seguranca.md +11 -1
- package/templates/.agents/zaip-aios/guides/11-observabilidade-e-custos.md +69 -0
- package/templates/.agents/zaip-aios/guides/12-instalacao-e-upgrade.md +9 -4
- package/templates/.agents/zaip-aios/guides/13-boas-praticas.md +7 -1
- package/templates/.agents/zaip-aios/guides/14-troubleshooting.md +18 -0
- package/templates/.agents/zaip-aios/guides/16-lifecycle-e-reconciliacao.md +54 -3
- package/templates/.agents/zaip-aios/guides/18-catalogo-de-agentes.md +10 -2
- package/templates/.agents/zaip-aios/guides/19-assurance-e-autonomia.md +186 -5
- package/templates/.agents/zaip-aios/guides/20-instalacao-detalhada.md +26 -18
- package/templates/.agents/zaip-aios/guides/21-telemetria-monitor-custos.md +18 -2
- package/templates/.agents/zaip-aios/guides/22-fluxos-e-roteamento.md +14 -2
- package/templates/.agents/zaip-aios/guides/23-orquestracao-de-modelos.md +190 -489
- package/templates/.agents/zaip-aios/guides/26-qualidade-e-release.md +61 -13
- package/templates/.agents/zaip-aios/guides/27-telemetria-git-native.md +18 -0
- package/templates/.agents/zaip-aios/guides/28-lifecycle-completo.md +18 -1
- package/templates/scripts/validate-cloud-hostinger-contract.mjs +34 -0
- package/templates/template-manifest.json +1229 -329
- package/templates/.agents/branding/.gitkeep +0 -0
- package/templates/.agents/dashboard/apps/frontend/dist/assets/CostCalculationGuidePage-snUCQYTC.js +0 -1
- package/templates/.agents/dashboard/apps/frontend/dist/assets/PricingSettingsDialog-BPtVUGgs.js +0 -1
- package/templates/.agents/dashboard/apps/frontend/dist/assets/ProjectSettingsPage-3Awyaovx.js +0 -3
- package/templates/.agents/dashboard/apps/frontend/dist/assets/ProjectSettingsPage-GgzpZ_PY.css +0 -1
- package/templates/.agents/dashboard/apps/frontend/dist/assets/TraceabilityWorkspace-BCvZFMEf.js +0 -1
- package/templates/.agents/dashboard/apps/frontend/dist/assets/cost-monitor-DbaLbU2q.js +0 -68
- package/templates/.agents/dashboard/apps/frontend/dist/assets/dashboard-localization-CLJ0lT9v.js +0 -231
- package/templates/.agents/dashboard/apps/frontend/dist/assets/index-_MEktQNM.js +0 -2
- package/templates/.agents/dashboard/apps/frontend/dist/assets/rolldown-runtime-D9-fqq9M.js +0 -1
- package/templates/.agents/dashboard/apps/frontend/dist/assets/traceability-BDe4_Ubl.js +0 -1
- package/templates/.agents/design/apps/catalog/dist/storybook/assets/CatalogShell-BWY-80s4.js +0 -1
- package/templates/.agents/design/apps/catalog/dist/storybook/assets/Components.stories-Be2mDUQj.js +0 -27
- package/templates/.agents/design/apps/catalog/dist/storybook/assets/DesignSystem.stories-DRx9blDs.js +0 -1
- package/templates/.agents/design/apps/catalog/dist/storybook/assets/formatter-L2YTDE3Q-EwuTh8Zk.js +0 -1
- package/templates/.agents/design/apps/catalog/dist/storybook/assets/react-DyL61NPT.js +0 -1
- package/templates/.agents/growth/.gitkeep +0 -0
- package/templates/.agents/marketing/.gitkeep +0 -0
- package/templates/.agents/sales/.gitkeep +0 -0
package/templates/.agents/dashboard/apps/frontend/dist/assets/dashboard-localization-Basaw1NR.js
ADDED
|
@@ -0,0 +1,824 @@
|
|
|
1
|
+
function e(e,n,r){let i=Object.entries(r).map(([n,r])=>{let i=n.split(`/`).at(-1)??n,a=e===`en-US`?`> Language: Portuguese (pt-BR). Current canonical guide; an English translation is not available.
|
|
2
|
+
|
|
3
|
+
`+r:r;return{id:n,title:t(a,i),content:a}}).sort((t,n)=>t.title.localeCompare(n.title,e));return[{id:`readme`,title:`README · ZAIP-AIOS`,content:e===`en-US`?`# ZAIP-AIOS (6 Squads + 23 Agents)
|
|
4
|
+
|
|
5
|
+
English | [Português](README.md)
|
|
6
|
+
|
|
7
|
+
> **Bilingual maintenance / manutenção bilíngue:** \`README.md\` is the primary Portuguese source; keep this \`README-ENG.md\` as its corresponding English translation whenever either document is updated.
|
|
8
|
+
|
|
9
|
+
## Quick overview
|
|
10
|
+
|
|
11
|
+
ZAIP-AIOS is an operating system for autonomous work performed by AI agents. It coordinates 23 specialized agents, organized into six squads, within Codex.
|
|
12
|
+
|
|
13
|
+
Agents plan, execute, review, test, and validate work under the orchestrator's coordination. Authorized execution continues until acceptance or an evidence- and budget-based blocked/failed outcome. Persistent permits indefinite execution by explicit choice; other presets have per-Task quotas. No preset guarantees success or expands authority for external actions.
|
|
14
|
+
|
|
15
|
+
The approach seeks to reduce intervention, unnecessary context, and rework. The 34% and 62% figures below refer respectively to average cost per task and per hour in the illustrated historical series; they do not directly measure token reduction or guarantee savings in a new delivery.
|
|
16
|
+
|
|
17
|
+
Although it originated in software work, ZAIP-AIOS also coordinates Operations, Growth, Marketing, Branding, and Sales work. The framework and Dashboard run locally without a VPS. Authentication, quotas, billing, and integrations depend on the selected host/provider; using a Codex subscription does not turn the estimated equivalent cost into API billing.
|
|
18
|
+
|
|
19
|
+
<img src=".agents/config/src/Zaip%20AIOS%20Squads.png" alt="Organizational structure of ZAIP-AIOS's six squads and 23 agents" width="100%">
|
|
20
|
+
|
|
21
|
+
In practice, the system breaks down complex requests, organizes work, selects suitable agents, coordinates dependencies, tracks execution, and checks quality before a delivery is considered complete.
|
|
22
|
+
|
|
23
|
+
The Dashboard centralizes the operation in one view, bringing together Tasks, SPECs, and PRDs, along with dependencies, blockers, execution time, token consumption, costs, reviews, and evidence produced throughout the process.
|
|
24
|
+
|
|
25
|
+
<img src=".agents/config/src/dashboard_pt_1_visao_geral.png" alt="ZAIP-AIOS Dashboard, Overview" width="100%">
|
|
26
|
+
|
|
27
|
+
In a comparative sample of autonomously executed tasks, ZAIP-AIOS showed an approximate 34% reduction in average cost per task and 62% in average cost per hour. The comparison covers the full work cycle—planning, execution, tests, reviews, and documentation—and results must be interpreted within the limits of the analyzed sample.
|
|
28
|
+
|
|
29
|
+
<img src=".agents/config/src/analise_comparativa_reducao_custo_por_hora.png" alt="Comparative analysis: average hourly cost fell from R$ 410 to R$ 154" width="900">
|
|
30
|
+
|
|
31
|
+
The canonical source remains the repository's Git-native files. Requirements, decisions, implementations, and proof can be versioned; they enter remote history only after an explicitly authorized commit and publication. Secrets and private machine state stay outside that history.
|
|
32
|
+
|
|
33
|
+
The Dashboard uses a local, disposable, rebuildable database only as a query and visualization layer. No critical information depends solely on it. In ZAIP-AIOS, a Task is not complete merely because an agent finished its execution: objective evidence must show that Acceptance Criteria and quality requirements were met.
|
|
34
|
+
|
|
35
|
+
## Start here
|
|
36
|
+
|
|
37
|
+
| If you want to… | Start with… |
|
|
38
|
+
| --- | --- |
|
|
39
|
+
| Install and obtain the first result | [One-command installation](#one-command-installation) |
|
|
40
|
+
| See observed results | [Measured savings](#measured-savings-and-the-central-goal-per-task) |
|
|
41
|
+
| Track work, costs, and quality | [Local Dashboard](#local-dashboard) |
|
|
42
|
+
| Make a focused change | [Three ways to execute](#three-ways-to-execute) |
|
|
43
|
+
| Plan a technical or product delivery | [PRD as the autonomy interface](#prd-as-the-autonomy-interface) |
|
|
44
|
+
| Understand the method | [The six-step ZAIP method](#the-six-step-zaip-method) |
|
|
45
|
+
| Learn about specialized agents | [Agent personas and routing](#agent-personas-and-routing) |
|
|
46
|
+
| Consult technical contracts | [Technical and operational reference](#technical-and-operational-reference) |
|
|
47
|
+
| Maintain the framework | [Framework development](#framework-development) |
|
|
48
|
+
| Configure permissions safely | [Security with permission profiles](#security-with-permission-profiles) |
|
|
49
|
+
| Assess release, support, and commercialization | [Production and commercial readiness](docs/PRODUCTION-COMMERCIAL-READINESS.md) |
|
|
50
|
+
| Browse the 28 operational guides | [Complete handbook index](.agents/zaip-aios/INDEX.md) |
|
|
51
|
+
|
|
52
|
+
### How to read this documentation
|
|
53
|
+
|
|
54
|
+
Both READMEs are maintained in Portuguese and English. Dashboard Help loads
|
|
55
|
+
the canonical English README; guides without translations show the current
|
|
56
|
+
Portuguese source with a language notice, not stale parallel summaries.
|
|
57
|
+
|
|
58
|
+
This README and the [handbook](.agents/zaip-aios/INDEX.md) describe this repository's source code. Effective configuration, host support, the installed package, and a qualified candidate are distinct dimensions. \`@latest\` points to the published version, which may not include local changes. Dashboard images illustrate prior states; they are not visual proof of the current candidate.
|
|
59
|
+
|
|
60
|
+
Documentation changes do not approve a release. Consult the [qualification-limits record](docs/PRODUCTION-COMMERCIAL-READINESS.md#limites-conhecidos-da-qualificação) before promoting code; local tests, parity, CI, and production validation must be proven separately.
|
|
61
|
+
|
|
62
|
+
For v3 delivery, the complete suite runs in signed local preparation (\`full-v2\`). GitHub verifies the exact package, installation and publication without repeating source tests on every push. Activation requires full local qualification and enrolled trust. One automatic installation smoke precedes npm publication; source checks and the remote matrix are manual, with no private-draft pilot. See the [quality and release guide](.agents/zaip-aios/guides/26-qualidade-e-release.md). Historical telemetry gaps remain explicit, without invented values or waived tests for new data.
|
|
63
|
+
|
|
64
|
+
## One-command installation
|
|
65
|
+
|
|
66
|
+
With Node.js 22.16.0 or later and npm, run installation at the root of the project that will receive ZAIP-AIOS. In a fresh installation, \`init\` uses the full (\`full\`) profile: it installs missing stack dependencies and prepares Terraform. Every profile checks distributed runtimes and prepares and validates local SQLite without a separate driver. Existing package versions are preserved, with a notice showing the installed and ZAIP-AIOS-configured versions:
|
|
67
|
+
|
|
68
|
+
\`\`\`bash
|
|
69
|
+
npx --yes @zaip-ai/cli@latest init --project-only
|
|
70
|
+
node .agents/runtime/bin/zaip.mjs doctor --json
|
|
71
|
+
\`\`\`
|
|
72
|
+
|
|
73
|
+
These are the two steps for the first verified result: \`init\` installs the
|
|
74
|
+
framework in the selected project without changing global Codex configuration,
|
|
75
|
+
and \`doctor --json\` confirms the installed layout, checksums, and adapters. The
|
|
76
|
+
result is ready only when the JSON returns \`"valid": true\`.
|
|
77
|
+
|
|
78
|
+
Review the plan before writing to the project:
|
|
79
|
+
|
|
80
|
+
\`\`\`bash
|
|
81
|
+
npx --yes @zaip-ai/cli@latest init --project-only --dry-run
|
|
82
|
+
\`\`\`
|
|
83
|
+
|
|
84
|
+
Both commands use the profile saved in the project, or \`full\` if no choice exists. \`--yes\` before the package name accepts only the CLI's initial \`npx\` download; it does not force replacement of existing dependencies, files, or versions. It can be combined with any profile, for example \`npx --yes @zaip-ai/cli@latest init --profile lite\`. \`init --yes\`, after the package name, confirms replacement requested by \`--force\`. Use \`--force --yes\` only after reviewing the dry run; the installer creates a backup before replacement.
|
|
85
|
+
|
|
86
|
+
### Installation profiles
|
|
87
|
+
|
|
88
|
+
\`\`\`bash
|
|
89
|
+
npx @zaip-ai/cli@latest init --profile dev-lite
|
|
90
|
+
npx @zaip-ai/cli@latest init --profile lite
|
|
91
|
+
\`\`\`
|
|
92
|
+
|
|
93
|
+
| Profile | Command | Intended for |
|
|
94
|
+
| --- | --- | --- |
|
|
95
|
+
| Full (\`full\`, initial default) | \`npx @zaip-ai/cli@latest init\` | Development and infrastructure with Terraform |
|
|
96
|
+
| Development (\`dev-lite\`) | \`npx @zaip-ai/cli@latest init --profile dev-lite\` | Application development without installing Terraform |
|
|
97
|
+
| Operations (\`lite\`) | \`npx @zaip-ai/cli@latest init --profile lite\` | Growth and Ops without programming-stack packages or Terraform |
|
|
98
|
+
|
|
99
|
+
All profiles include the framework, agents, skills, and Dashboard. The \`lite\` profile retains dependencies required by ZAIP itself; Node/npm are still needed to run the installer. \`full\` and \`dev-lite\` create \`package.json\` and a lockfile when the project has neither.
|
|
100
|
+
|
|
101
|
+
The choice is saved in the project and honored by later upgrades. To enable development after a \`lite\` installation, run \`init --profile dev-lite\`; to include Terraform, run \`init --profile full\`. Moving to a smaller profile does not uninstall existing packages or tools. Use \`npx @zaip-ai/cli@latest init --profile lite\` to install that profile. Use \`--dry-run --profile full\` to inspect the change before installation.
|
|
102
|
+
|
|
103
|
+
| Dependency | Function | Default version |
|
|
104
|
+
| --- | --- | --- |
|
|
105
|
+
| TypeScript | Language and typing | 7.0.2 |
|
|
106
|
+
| Vite | Web build and development | 8.1.4 |
|
|
107
|
+
| Astro | Site framework | 7.2.4 |
|
|
108
|
+
| Redis | JavaScript Redis client | 6.2.1 |
|
|
109
|
+
| BullMQ | Queues and jobs | 6.2.0 |
|
|
110
|
+
| Hono | Web API | 4.12.34 |
|
|
111
|
+
| React | Web UI | 19.2.7 |
|
|
112
|
+
| React DOM | React DOM rendering | 19.2.7 |
|
|
113
|
+
| Local Node.js | Stack runtime, prepared automatically when needed | 22.23.2 (conditional) |
|
|
114
|
+
| SQLite | Local Dashboard database | Built into Node.js; varies by runtime |
|
|
115
|
+
| Terraform CLI | Infrastructure provisioning; only in the \`full\` profile | 1.16.1 for managed installation |
|
|
116
|
+
|
|
117
|
+
The command installs the latest public ZAIP-AIOS version, prepares missing dependencies for the selected profile, and preserves existing package versions. Source changes reach \`@latest\` only after publication to npm. Installation includes the Dashboard, Rules, skills, and Codex/Claude configuration. Run the same command again to update managed files without deleting history.
|
|
118
|
+
|
|
119
|
+
The Redis package includes only the JavaScript client; configure the server separately. The \`full\` profile reuses compatible Terraform or prepares a local installation with official download and SHA-256 validation. Configure cloud credentials separately. Providers declared in \`.tf\` files are downloaded when you run \`terraform init\`; installing ZAIP neither provisions resources nor runs \`terraform apply\`.
|
|
120
|
+
|
|
121
|
+
After installation, consult the [operational index](.agents/zaip-aios/INDEX.md) to get started.
|
|
122
|
+
|
|
123
|
+
## How the layers complement each other
|
|
124
|
+
|
|
125
|
+
| Type | Name | Responsibility |
|
|
126
|
+
| --- | --- | --- |
|
|
127
|
+
| **AI Model** | **GPT-5.6 (default)** | Main model for reasoning, programming, tool use, agent coordination, and complex task execution. Configuration remains open to testing, comparison, and substitution by other models. |
|
|
128
|
+
| **AI Harness** | **Codex (default)** | Official harness connecting the LLM to the terminal, tools, subagents, worktrees, sandbox, hooks, skills, and browser. Its alignment with the model's training provides greater optimization, predictability, and use of model capabilities. |
|
|
129
|
+
| **AI Coding methodology** | **ZAIP-AIOS** | Git-native autonomous, multi-agent engineering system. It turns PRDs and SPECs into executable Tasks, DAGs, and Changes; automates tests and reviews; and keeps decisions, executions, evidence, costs, and changes traceable in Git. |
|
|
130
|
+
|
|
131
|
+
The model provides intelligence, Codex provides the official execution environment, and ZAIP-AIOS adds method, governance, and verifiable memory. Together they define **what must be done, how work is organized, which rules apply, and which proof permits it to be declared complete**. The reference experience is optimized for GPT-5.6 and Codex, while alternate models and hosts remain available for comparison and compatibility through portable artifacts.
|
|
132
|
+
|
|
133
|
+
## Agent personas and routing
|
|
134
|
+
|
|
135
|
+
ZAIP-AIOS brings together 23 specialized agents so that each request is handled by the most suitable capability. The goal is not to use every agent in each delivery, but to form the smallest group able to execute, review, and prove the result with quality.
|
|
136
|
+
|
|
137
|
+
Technical identities remain separate from visible personas. Names and roles can therefore be displayed and configured in the Dashboard without compromising internal routing contracts. Selection considers the primary decision or outcome, specialization, scope, and risk; references and inputs support the work but do not alone change the executor. Authorship, context, and history remain traceable.
|
|
138
|
+
|
|
139
|
+
### The 23 agents
|
|
140
|
+
|
|
141
|
+
| Photo | # | Persona / role | Specialty |
|
|
142
|
+
| :---: | ---: | --- | --- |
|
|
143
|
+
| <img src=".agents/config/src/1%20-%20Dave%20-%20Product%20Owner.png" alt="Dave, Product Owner" width="400"> | 1 | Dave / Product Owner | Resolves the DAG and delegates |
|
|
144
|
+
| <img src=".agents/config/src/2%20-%20Rafa%20-%20Tech%20Lead.png" alt="Rafa, Tech Lead" width="400"> | 2 | Rafa / Tech Lead | Generic delivery, SPEC, and dashboard/local work |
|
|
145
|
+
| <img src=".agents/config/src/3%20-%20Leo%20-%20Software%20Engineer.png" alt="Leo, Software Engineer" width="400"> | 3 | Leo / Software Engineer | End-to-end generic Task |
|
|
146
|
+
| <img src=".agents/config/src/4%20-%20Bia%20-%20Product%20Manager.png" alt="Bia, Product Manager" width="400"> | 4 | Bia / Product Manager | PRD creation/refinement and product analysis |
|
|
147
|
+
| <img src=".agents/config/src/5%20-%20Gui%20-%20Quality%20Assurance%20Lead.png" alt="Gui, Quality Assurance Lead" width="400"> | 5 | Gui / Quality Assurance Lead | Restricted terminal outcome |
|
|
148
|
+
| <img src=".agents/config/src/6%20-%20Nanda%20-%20Principal%20Engineer.png" alt="Nanda, Principal Engineer" width="400"> | 6 | Nanda / Principal Engineer | Independent review |
|
|
149
|
+
| <img src=".agents/config/src/7%20-%20Dani%20-%20Integration%20Engineer.png" alt="Dani, Integration Engineer" width="400"> | 7 | Dani / Integration Engineer | Integration and combined gates |
|
|
150
|
+
| <img src=".agents/config/src/8%20-%20Ana%20-%20Quality%20Auditor.png" alt="Ana, Quality Auditor" width="400"> | 8 | Ana / Quality Auditor | Independent audit |
|
|
151
|
+
| <img src=".agents/config/src/9%20-%20Lia%20-%20Technical%20Writer.png" alt="Lia, Technical Writer" width="400"> | 9 | Lia / Technical Writer | Faithful summaries, transcript analysis, and source-grounded documentation |
|
|
152
|
+
| <img src=".agents/config/src/10%20-%20Gabi%20-%20Data%20Analyst.png" alt="Gabi, Data Analyst" width="400"> | 10 | Gabi / Data Analyst | Data analysis |
|
|
153
|
+
| <img src=".agents/config/src/11%20-%20Tati%20-%20Refactoring%20Specialist.png" alt="Tati, Refactoring Specialist" width="400"> | 11 | Tati / Refactoring Specialist | Safe refactoring, migration, and modularization |
|
|
154
|
+
| <img src=".agents/config/src/12%20-%20Doug%20-%20Frontend%20Developer.png" alt="Doug, Frontend Developer" width="400"> | 12 | Doug / Frontend Developer | Frontend and accessibility according to \`DESIGN.md\` |
|
|
155
|
+
| <img src=".agents/config/src/13%20-%20Will%20-%20Backend%20Developer.png" alt="Will, Backend Developer" width="400"> | 13 | Will / Backend Developer | API, backend, and modules |
|
|
156
|
+
| <img src=".agents/config/src/14%20-%20Jonny%20-%20Website%20Developer.png" alt="Jonny, Website Developer" width="400"> | 14 | Jonny / Website Developer | Sites and landing pages, SEO, GEO, and agent readiness |
|
|
157
|
+
| <img src=".agents/config/src/15%20-%20Manu%20-%20Product%20Designer.png" alt="Manu, Product Designer" width="400"> | 15 | Manu / Product Designer | \`DESIGN.md\`, Design System, tokens, and catalog |
|
|
158
|
+
| <img src=".agents/config/src/16%20-%20Dan%20-%20Cloud%20Engineer.png" alt="Dan, Cloud Engineer" width="400"> | 16 | Dan / Cloud Engineer | Cloud infrastructure, Terraform, Docker, and environments |
|
|
159
|
+
| <img src=".agents/config/src/17%20-%20Luis%20-%20Security%20Auditor.png" alt="Luiz, Security Auditor" width="400"> | 17 | Luiz / Security Auditor | Independent technical security audit |
|
|
160
|
+
| <img src=".agents/config/src/18%20-%20Lucia%20-%20Marketing%20Analyst.png" alt="Lucia, Marketing Analyst" width="400"> | 18 | Lucia / Marketing Analyst | Marketing planning, copy, and asset preparation |
|
|
161
|
+
| <img src=".agents/config/src/19%20-%20Renata%20-%20Compliance%20Specialist.png" alt="Renata, Compliance Specialist" width="400"> | 19 | Renata / Governance & Compliance Specialist | Internal HR, operational legal, policy, privacy, vendor, and risk artifacts |
|
|
162
|
+
| <img src=".agents/config/src/20%20-%20Clara%20-%20Operations%20Specialist.png" alt="Clara, Operations Specialist" width="400"> | 20 | Clara / Operations Generalist | Bounded documents, presentations, spreadsheets, processes, and comparisons outside mandatory specialties |
|
|
163
|
+
| <img src=".agents/config/src/21%20-%20Sarah%20-%20Branding%20Specialist.png" alt="Sarah, Branding Specialist" width="400"> | 21 | Sarah / Branding Specialist | Brand strategy and governance, Brandbook, archetypes, semantic differentiation, and brand architecture |
|
|
164
|
+
| <img src=".agents/config/src/22%20-%20Aaron%20-%20Sales%20Specialist.png" alt="Aaron, Sales Specialist" width="400"> | 22 | Aaron / Sales Specialist | Internal sales process, qualification, playbooks, scripts, and SDR-to-closer handoffs |
|
|
165
|
+
| <img src=".agents/config/src/23%20-%20Robert%20-%20Growth%20Strategist.png" alt="Robert, Growth Strategist" width="400"> | 23 | Robert / Growth Strategist | Growth strategy, RevOps, experiments, and data- and financial-impact-oriented recommendations |
|
|
166
|
+
|
|
167
|
+
The [agent catalog](.agents/zaip-aios/guides/18-catalogo-de-agentes.md) brings together the specialties and responsibilities of available ZAIP-AIOS agents.
|
|
168
|
+
|
|
169
|
+
### Organizational squads
|
|
170
|
+
|
|
171
|
+
<img src=".agents/config/src/Zaip%20AIOS%20Squads.png" alt="Organizational structure of ZAIP-AIOS's six squads and 23 agents" width="100%">
|
|
172
|
+
|
|
173
|
+
The six squads make responsibility structure easy to see: **Product** (Dave, Bia, and Manu), **Admin & Operations** (Clara, Renata, and Lia), **Development** (Rafa, Leo, Jonny, Will, Doug, and Tati), **Delivery Assurance** (Nanda, Gui, Ana, and Dani), **Infra & Security** (Dan and Luiz), and **Growth — Sales, Marketing and Branding** (Robert, Gabi, Lucia, Sarah, and Aaron).
|
|
174
|
+
|
|
175
|
+
This is an organizational view, not a routing rule. The orchestrator selects an agent by capability, declared scope, risk, and a Task's write scopes; being in the same squad grants no access, does not replace canonical selection, and does not require collaboration.
|
|
176
|
+
|
|
177
|
+
Each request can begin as a Task, a SPEC, or a PRD. In every entry point, intent is turned into structured work with an objective, scope, quality criteria, and traceable steps.
|
|
178
|
+
|
|
179
|
+
Codex remains the execution environment, while ZAIP-AIOS adds organization, governance, and visibility to the development cycle. Through the Dashboard, you can track delivery progress, dependencies, blockers, and results.
|
|
180
|
+
|
|
181
|
+
When run with a ChatGPT/Codex account, consumption follows that account's terms. When compatible telemetry and pricing exist, the Dashboard shows an estimated API-equivalent cost for comparison and planning; other providers can have their own billing models.
|
|
182
|
+
|
|
183
|
+
## Local Dashboard
|
|
184
|
+
|
|
185
|
+
The Dashboard turns ZAIP-AIOS technical history into a clear operational view. In one place it shows current work, observed costs, quality coverage, blockers, and the relation between intent, execution, and outcome.
|
|
186
|
+
|
|
187
|
+
<img src=".agents/config/src/dashboard_pt_1_visao_geral_este_mes.png" alt="ZAIP-AIOS Dashboard, monthly overview" width="100%">
|
|
188
|
+
|
|
189
|
+
Git-native records remain the official source. Everything shown on the screens can be rebuilt from canonical files and project configuration, without creating a parallel database or external infrastructure dependency.
|
|
190
|
+
|
|
191
|
+
**How the local Dashboard projection works**
|
|
192
|
+
|
|
193
|
+
Canonical ZAIP records remain in the standard \`.agents/records\` structure. To speed queries and views, the Dashboard rebuilds disposable SQLite as a *read model*. That file is neither source of truth nor canonical storage: it is only a rebuildable local projection.
|
|
194
|
+
|
|
195
|
+
No SQLite server, DBeaver, or external database is needed. \`.local/sqlite/\` is the central per-workspace directory for locally managed SQLite databases; several stable names can coexist according to purpose. The Dashboard uses exactly \`.local/sqlite/zaip-aios-dashboard.sqlite\`, without copies per port, PID, hash, or generation. WAL, SHM, and JOURNAL are normal auxiliary files for an open database. Disposable fixtures live in \`.local/sqlite/tests/<fixture>/\` with automatic cleanup; isolated workspaces use their own \`.local/sqlite/\`; internal databases of external tools follow those tools' storage conventions. Opening or refreshing the Dashboard does not authorize global Run reconciliation; that is a separate operation requiring confirmation.
|
|
196
|
+
|
|
197
|
+
### Kanban
|
|
198
|
+
|
|
199
|
+
It organizes PRDs, SPECs, and Tasks by stage, highlighting execution, verification, completion, criticality, time, tokens, and observed cost.
|
|
200
|
+
|
|
201
|
+
<img src=".agents/config/src/dashboard_pt_2_kanban.png" alt="ZAIP-AIOS Dashboard, Kanban" width="100%">
|
|
202
|
+
|
|
203
|
+
The Work (Kanban) and Work (List) views switch between stage reading and detailed comparison. Both retain the All Tasks, General Unified View, PRDs, SPECs, and Standalone Tasks filters, supporting analysis of status, origin, risk, Runs, Sub-Runs, time, tokens, cost, and coverage. Each item can be opened to investigate blockers and consult its traceable history.
|
|
204
|
+
|
|
205
|
+
### Cost Monitor
|
|
206
|
+
|
|
207
|
+
It consolidates tokens, duration, estimated equivalent cost, and coverage by period and work unit without turning missing telemetry into zero.
|
|
208
|
+
|
|
209
|
+
<img src=".agents/config/src/dashboard_pt_3_monitor_custos.png" alt="ZAIP-AIOS Dashboard, Cost Monitor" width="100%">
|
|
210
|
+
|
|
211
|
+
The monitor consolidates tokens, time, cost, and coverage by Run, Task, SPEC, and PRD. It supports comparison of conversation, planning, execution, new work, and rework, and identifies consumption averages and concentrations by day, month, or year. When Codex uses account tokens or quota instead of API billing, the module calculates the **estimated API-equivalent cost** in USD and BRL whenever compatible measurement and pricing exist. The estimate supports management and comparison but is never shown as actual billing. Unobserved values remain \`unknown\`, never artificially zero.
|
|
212
|
+
|
|
213
|
+
**Telemetry technical contract**
|
|
214
|
+
|
|
215
|
+
Codex telemetry uses sanitized local spool, one \`InvocationSummary\` per invocation, and Git-tracked monthly-manifest chunks. Period queries use manifests first and fall back to the Run projection when no applicable summary exists. Incomplete coverage remains explicit for every metric. [Git-native Codex telemetry](.agents/zaip-aios/guides/27-telemetria-git-native.md) documents contracts, storage, integrity, recovery, and rollout limits.
|
|
216
|
+
|
|
217
|
+
### Traceability
|
|
218
|
+
|
|
219
|
+
It relates intent, planning, execution, decisions, validations, and evidence to explain where every result came from.
|
|
220
|
+
|
|
221
|
+
<img src=".agents/config/src/dashboard_pt_4_rastreabilidade.png" alt="ZAIP-AIOS Dashboard, Traceability" width="100%">
|
|
222
|
+
|
|
223
|
+
It correlates PRD, Requirements, SPEC, Change, Task, Execution, Runs, Decisions, tests, reviews, evals, and Evidence in a logical traceability graph. The view details the six method stages and shows which documents and proof support each result. Each record receives an identifier, date, and time when part of lifecycle or telemetry; evidence stays linked and Git also preserves chronology. This supports audit, resumption, rework analysis, and intent-versus-execution comparison. Projections may be rebuilt and optimized; Git-native telemetry compaction preserves IDs, relationships, metrics, coverage, and hashes without versioning prompts or responses.
|
|
224
|
+
|
|
225
|
+
## Project settings
|
|
226
|
+
|
|
227
|
+
The Dashboard brings project settings together in a screen connected to the canonical \`.agents/config/project.yaml\` file. Before saving, settings are schema-validated, preserving an explicit definition of the framework, available capabilities, and an overview of project artifacts.
|
|
228
|
+
|
|
229
|
+
### Platform configuration
|
|
230
|
+
|
|
231
|
+
Platform configuration shows ZAIP-AIOS activation state and a summary of agents, squads, skills, Rules, hooks, and database. The same view shows the project's reference documents and indicates which already exist, keeping technical configuration and documentation visible in one context.
|
|
232
|
+
|
|
233
|
+
<img src=".agents/config/src/dashboard_pt_configuracao_plataforma.png" alt="ZAIP-AIOS Dashboard, platform configuration" width="100%">
|
|
234
|
+
|
|
235
|
+
### v3 autonomy presets
|
|
236
|
+
|
|
237
|
+
The sources being prepared for v3 add a per-Task preset, separate from
|
|
238
|
+
installation and assurance:
|
|
239
|
+
|
|
240
|
+
| Preset | Product executions per Task | Replans | Replanning models |
|
|
241
|
+
| --- | --- | --- | --- |
|
|
242
|
+
| Essential (\`essential\`) | 4: 1 initial + 3 repairs | 1 | Sol/high; never automatic Astra |
|
|
243
|
+
| Balanced (\`balanced\`, new default) | 10: 1 initial + 9 repairs | 3 | Sol/high → Astra/high → Astra/high |
|
|
244
|
+
| Persistent (\`persistent\`, opt-in) | Unlimited | Unlimited | Sol/high first; Astra/high thereafter |
|
|
245
|
+
|
|
246
|
+
Merge into \`.agents/config/project.yaml\`, or select **Autonomy preset** in
|
|
247
|
+
Dashboard **Project settings** and save:
|
|
248
|
+
|
|
249
|
+
\`\`\`yaml
|
|
250
|
+
autonomy:
|
|
251
|
+
version: 1
|
|
252
|
+
preset: balanced
|
|
253
|
+
\`\`\`
|
|
254
|
+
|
|
255
|
+
The durable ledger reserves before managed dispatch; restart or resume does
|
|
256
|
+
not reset the quota. Changes apply to new Tasks. There is no time-based
|
|
257
|
+
abandonment or automatic reduction of acceptance criteria. Persistent may
|
|
258
|
+
consume credits indefinitely until human cancellation; permissions stay unchanged.
|
|
259
|
+
|
|
260
|
+
A SPEC with ten Balanced Tasks allows up to 100 executions (10 initial +
|
|
261
|
+
90 repairs) and 30 replans; individual tests and internal Calls are not attempts.
|
|
262
|
+
Missing verification/safe conclusion ends as \`blocked\`; a proven technical
|
|
263
|
+
impediment ends as \`failed\`. Independent branches remain eligible.
|
|
264
|
+
|
|
265
|
+
**Current boundary:** counters are enforced in the managed runtime, not on
|
|
266
|
+
external \`spawn_agent\` calls made directly by Codex. New projects use
|
|
267
|
+
\`execution.runtime: managed\`: managed PRDs/SPECs and direct standalone Tasks.
|
|
268
|
+
Saving a preset does not invoke a provider. Legacy Tasks need explicit migration
|
|
269
|
+
without resetting consumption. See [autonomy and its guarantees](.agents/zaip-aios/guides/19-assurance-e-autonomia.md).
|
|
270
|
+
|
|
271
|
+
### Development stack
|
|
272
|
+
|
|
273
|
+
The development stack describes each responsibility separately, with technology, exact version, and package, image, or service reference. In this project, the contract includes TypeScript, Node.js, Hono, Kysely, PostgreSQL via Supabase, Supabase Auth + Storage, Redis, and BullMQ, keeping development choices recorded alongside project configuration.
|
|
274
|
+
|
|
275
|
+
<img src=".agents/config/src/dashboard_pt_configuracao_plataforma_stack.png" alt="ZAIP-AIOS Dashboard, development stack" width="100%">
|
|
276
|
+
|
|
277
|
+
## The cost that matters: completing the task
|
|
278
|
+
|
|
279
|
+
The price of a call or model alone does not represent the real cost of AI-assisted development. A delivery can involve understanding, context reading, implementation, tests, fixes, review, validation, and documentation. ZAIP-AIOS therefore measures **the cost to complete the work**, tracking Runs, phases, and rework by Task, SPEC, and PRD.
|
|
280
|
+
|
|
281
|
+
A practical way to analyze total cost is:
|
|
282
|
+
|
|
283
|
+
\`\`\`text
|
|
284
|
+
completed-task cost = model + tools + human time + rework + defect cost
|
|
285
|
+
\`\`\`
|
|
286
|
+
|
|
287
|
+
## PRD as the autonomy interface
|
|
288
|
+
|
|
289
|
+
A PRD governs a complete initiative without turning every technical decision into a new manual step. It records the expected outcome, organizes necessary deliveries, and leaves room for human review before execution.
|
|
290
|
+
|
|
291
|
+
When a user says **“Help me think about a PRD”**, the system keeps the interaction as a planning conversation.
|
|
292
|
+
|
|
293
|
+
When they say **“Create a PRD”**, the AI asks up to five important questions per turn for no more than three turns. It then creates:
|
|
294
|
+
|
|
295
|
+
- a PRD in \`draft\` state
|
|
296
|
+
- the necessary technical SPECs
|
|
297
|
+
- a \`PreparedPlan\`
|
|
298
|
+
- a summarized list of Tasks
|
|
299
|
+
|
|
300
|
+
Technical decisions that can be delegated are made and recorded by the AI.
|
|
301
|
+
|
|
302
|
+
**Planning, decomposition, and command details**
|
|
303
|
+
|
|
304
|
+
### SPEC organization
|
|
305
|
+
|
|
306
|
+
By default, each PRD uses only one SPEC to save resources.
|
|
307
|
+
|
|
308
|
+
A new SPEC should be created only when a capability can be independently and concurrently implemented and validated. When parts of the work depend on one another, they remain in the same SPEC and are organized by the Task DAG.
|
|
309
|
+
|
|
310
|
+
In the current runtime, a PRD materializes a deterministic child Execution for each eligible SPEC: its dependencies remain inside the SPEC and its write scopes do not conflict with any other branch. Each child runs with its own coordinator, state, and handoff; in \`autonomy-v1\`, recovery quotas remain per stable Task, under a queue bounded by effective parallelism and a single parent invocation ledger; the PRD Execution waits for terminal states, integrates candidates in the parent handoff, and only then applies cross-SPEC validation and finalization. SPECs with external dependencies or scope conflicts remain in the global coordinating DAG.
|
|
311
|
+
|
|
312
|
+
Before a PRD reaches \`ready\`, Tasks are only work definitions, not yet executing.
|
|
313
|
+
|
|
314
|
+
**“Make ready to execute”**, **“Finalize the PRD”**, and **“Complete the PRD”** create Tasks, Changes, and Executions in \`planned\` state but do not start implementation.
|
|
315
|
+
|
|
316
|
+
**“Execute”** acts on the smallest item named by the user: a Task, SPEC, or complete PRD.
|
|
317
|
+
|
|
318
|
+
### Decomposition limit
|
|
319
|
+
|
|
320
|
+
The 1-to-5 scale defines the PRD decomposition limit. It is not a required target.
|
|
321
|
+
|
|
322
|
+
* Level 1 covers a single vertical flow
|
|
323
|
+
* Levels 2 to 4 require independent capabilities with separate contracts and write scopes
|
|
324
|
+
* Level 5 should be used only in exceptional cases with five similar, independent implementations
|
|
325
|
+
|
|
326
|
+
When capabilities depend on one another, work must remain in the same SPEC. Projects with more than five capabilities must be split into other PRDs or record an exception.
|
|
327
|
+
|
|
328
|
+
### Command behavior
|
|
329
|
+
|
|
330
|
+
The \`implemente\` (“implement”) command considers the current work state:
|
|
331
|
+
|
|
332
|
+
* with no defined target, it opens a planning Conversation
|
|
333
|
+
* in \`draft\`, it completes the plan
|
|
334
|
+
* in \`ready\`, it starts execution
|
|
335
|
+
* in active or failed states, it continues, resumes, or starts rework
|
|
336
|
+
|
|
337
|
+
The \`desenvolva\`, \`melhore\`, and \`aprimore\` (“develop”, “improve”, and “enhance”) commands always return to planning or rework.
|
|
338
|
+
|
|
339
|
+
A canceled PRD cannot be changed. When necessary, a new rework PRD is created, preserving the link and audit history.
|
|
340
|
+
|
|
341
|
+
### Execution tracking
|
|
342
|
+
|
|
343
|
+
Every PRD or SPEC creation is linked to its responsible Run through \`creation_run_id\`.
|
|
344
|
+
|
|
345
|
+
Time, tokens, and cost are aggregated whenever this information is available or reconciled. Without sufficient data, values remain \`unknown\` or \`null\`.
|
|
346
|
+
|
|
347
|
+
Overview retains the compact **Estimated cost** card. When coverage is incomplete,
|
|
348
|
+
the accessible description and tooltip explain coverage without an icon. The
|
|
349
|
+
subtitle allocates known spend across the selected task count and recorded hours;
|
|
350
|
+
these are estimated allocation rates, not averages of complete per-task costs.
|
|
351
|
+
Missing costs are not imputed. Each rate independently displays \`—\` only when its
|
|
352
|
+
denominator is unavailable or zero, without hiding the other valid rate.
|
|
353
|
+
The subtotal is not the full account cost or a bill. Observed
|
|
354
|
+
zero remains zero, while missing measurements remain unavailable. Unexecuted Task
|
|
355
|
+
drafts remain in the work list, outside the executable Kanban stages and operational
|
|
356
|
+
indicators that exclude drafts.
|
|
357
|
+
|
|
358
|
+
## Quality and evidence
|
|
359
|
+
|
|
360
|
+
Quality is part of the definition of done. Each delivery combines tests, review, and checks proportionate to its risk, with objective proof of Acceptance Criteria. Evidence connects approved validations to the Task, Change, Execution, Run, Acceptance Criteria, and candidate. The [review guide](.agents/zaip-aios/guides/07-revisao-e-validacao.md) explains how to record the procedure actually executed and its result.
|
|
361
|
+
|
|
362
|
+
The current contract adds \`confirmed\`, \`limited\`, \`pending\`, \`failed\`, and \`not_applicable\` observations without replacing Validation/Evidence V2. The CLI validates structure and links; it does not run the declared command, inspect images, or query services automatically. Technical proof is not equivalent to visual proof, real integration, or production proof. Isolated or pending observations do not approve a delivery.
|
|
363
|
+
|
|
364
|
+
New Validation, Evidence, Observation, and Run-event records reject known credential patterns before persistence without repeating a sensitive value in the error. Use sanitized locators and results; protection does not certify that text is free of every secret or personal datum. Historical records remain readable and are not rewritten automatically. To reduce cycles without lowering quality, choose early a scenario that can reveal a wrong direction. Repeat after a concrete change or a result requiring correction, not merely because time passed. The same unavailable tool has finite fallback and an explicit pending state; proof sufficiency remains the executor/reviewer's responsibility. See the [canonical observable-evidence contract](.agents/skills/zaip-skill-change/references/observable-evidence.md).
|
|
365
|
+
|
|
366
|
+
Tests, reviews, checks, and Evidence make project evolution more predictable: they raise confidence in changes, make reviews easier, and keep decisions, validations, and improvements fully traceable.
|
|
367
|
+
|
|
368
|
+
## Measured savings and the central goal per task
|
|
369
|
+
|
|
370
|
+
The analyses below show cost reductions **measured in the comparative sample** from complementary perspectives: average cost per Task and average cost per hour. The charts and table detail values, calculations, and the interpretation of each indicator. Results confirm reduction in the analyzed series, but must not be generalized to every Task, model, or repository without a new equivalent comparison.
|
|
371
|
+
|
|
372
|
+
### Cost-per-task analysis
|
|
373
|
+
|
|
374
|
+
This chart follows the cost of each Task in the two compared ranges. The initial mean is **R$ 67 per task**; in the later range it becomes **R$ 44**. The **34.3%** reduction (presented as approximately 34%) represents the lower average cost to complete a work unit in the observed sample.
|
|
375
|
+
|
|
376
|
+
<img src=".agents/config/src/analise_comparativa_reducao_custo_por_tarefa.png" alt="Comparative analysis: average cost per task fell from R$ 67 to R$ 44" width="900">
|
|
377
|
+
|
|
378
|
+
### Cost-per-hour analysis
|
|
379
|
+
|
|
380
|
+
This chart presents the same comparison from the hourly perspective. Average cost falls from **R$ 410 per hour** to **R$ 154 per hour**, a **62.4%** reduction (approximately 62%). This complements the Task analysis by showing that the reduction also holds when cost is observed per hour.
|
|
381
|
+
|
|
382
|
+
<img src=".agents/config/src/analise_comparativa_reducao_custo_por_hora.png" alt="Comparative analysis: average hourly cost fell from R$ 410 to R$ 154" width="900">
|
|
383
|
+
|
|
384
|
+
Each indicator measures a different part of the flow. Percentages must not be added because they can reflect simultaneous optimizations in the same execution. Context and payload metrics remain reproducible measurements of the **18/08/2026** snapshot; they do not automatically describe the current population of skills or the repository.
|
|
385
|
+
|
|
386
|
+
The first two rows are financial results observed in the comparative series. The others isolate payload and navigation gains that help explain how the flow can reduce cost, cycles, and rework.
|
|
387
|
+
|
|
388
|
+
| What is reduced | What it represents | Baseline without optimization | With ZAIP-AIOS | Savings | Metric status |
|
|
389
|
+
| --- | --- | ---: | ---: | ---: | --- |
|
|
390
|
+
| **Average cost per task** | Average Task cost in the two ranges of the comparative series. | **R$ 67** | **R$ 44** | **34%** | **Observed measurement** in the presented comparison (exact reduction: 34.3%). |
|
|
391
|
+
| **Average cost per hour** | Average hourly cost in the two ranges of the comparative series. | **R$ 410** | **R$ 154** | **62%** | **Observed measurement** in the presented comparison (exact reduction: 62.4%). |
|
|
392
|
+
| **Context delivered to the agent for one Task** | Relevant Rules, Requirements, and artifact pack entering the work prompt. | 7,980 tokens | **1,593 tokens** | **80.0%** | Reproducible measurement. |
|
|
393
|
+
| **Recurring operational navigation** | One round of four queries to locate active Changes, Tasks, Executions, and Runs. | 101,924 tokens | **10,199 tokens** | **90.0%** | Reproducible measurement; also reduces the pagination limit. |
|
|
394
|
+
| **Instructions available to the agent** | 13/07/2026 snapshot of the then-queryable catalog (26 skills). | 1,091 tokens | **599 tokens** | **45.1%** | Reproducible snapshot measurement; it is not the current skill count. |
|
|
395
|
+
|
|
396
|
+
### Comparison methodology
|
|
397
|
+
|
|
398
|
+
Evidence of savings is based on cohorts of equivalent Tasks observed in two scenarios—for example, standard Codex and Codex + ZAIP-AIOS—with the same model, repository, Acceptance Criteria, and observation window. This equivalence keeps the comparison focused on the effect of the workflow.
|
|
399
|
+
|
|
400
|
+
The indicators included in the analysis are:
|
|
401
|
+
|
|
402
|
+
- tokens and equivalent API cost of all calls through completion;
|
|
403
|
+
- duration and number of cycles/retries;
|
|
404
|
+
- human review and correction time;
|
|
405
|
+
- rework rate and defects found after delivery;
|
|
406
|
+
- coverage of tests, reviews, and Acceptance Criteria evidence.
|
|
407
|
+
|
|
408
|
+
The Cost Monitor preserves unknown values as \`unknown\`/\`null\` and does not turn missing telemetry into zero cost. This keeps provider, rework, or quality costs that have not yet been observed visible in the results. The methodology and its supporting records are in [the token and performance audit](analysis/verificacao-auditoria-tokens-performance-zaip-aios-2026-07-13.md).
|
|
409
|
+
|
|
410
|
+
The \`zaip cost cohort --input <arquivo.json> --json\` command calculates comparable cohorts from observed billed costs and their provenance. The calculation contract requires USD currency, source, timestamp, a *quality floor*, a terminal attempt, and a single equivalent baseline identity. If a required dimension is missing or inconsistent, savings remain \`null\`, preserving the comparison's integrity.
|
|
411
|
+
|
|
412
|
+
## Comparison with leading competing frameworks
|
|
413
|
+
|
|
414
|
+
This section preserves a historical snapshot, not an up-to-date market study or production certification. The scores below do not replace qualification of the current candidate and were not recalculated in this documentation revision.
|
|
415
|
+
|
|
416
|
+
This snapshot uses a comparative audit consolidated on August 6, 2026, positioning each product based on signals found in code, configuration, architecture, tests, and documentation. The methodology combines ten equally weighted criteria: each topic receives 0 to 10 points, and the final score, from 0 to 100, is their direct sum. In this scale, 9–10 indicates a clear reference in the criterion; 7–8, a strong and competitive offering; 5–6, a relevant but still partial capability; and 0–4, little evidence or low emphasis in the analyzed snapshot. The detailed matrix makes the composition of the scores transparent and allows updates as products evolve.
|
|
417
|
+
|
|
418
|
+
| Product | Score /100 | Score rationale | Competitive positioning |
|
|
419
|
+
|---|---:|---|---|
|
|
420
|
+
| ZAIP-AIOS | **95** | Leads technically in this local snapshot by combining SDD, clean architecture, and Evidence-based quality with multiagent orchestration, security, context, and financial observability per Task in the same auditable lifecycle. | Complete platform for software engineering with agents, combining specification, execution, validation, security, and observability in a traceable lifecycle. |
|
|
421
|
+
| Traycer | 83 | Connected coding agents, agent-to-agent architecture/review loops, CLI/terminal, and worktrees are strong; cost per Task and execution on a subscription host were not reproduced. | More specialized than OpenClaw for orchestrating coding agents, without replacing product validation. |
|
|
422
|
+
| AIOX Core | 82 | Spec pipeline, dev/QA, worktrees, recovery, memory, and Codex/Cursor/Claude integrations support the flow; hooks have uneven parity and there is no cost per Task. | Broad development platform with strong DX, but less direct than Traycer. |
|
|
423
|
+
| Kilo Code | 80 | Coding agent for VS Code, JetBrains, and CLI, with Debug, Review, self-correction, and \`kilo run --auto\`; telemetry exists, but cost per Task was not demonstrated. | First-class programming DX, with evidence limitations in isolation and recovery. |
|
|
424
|
+
| TLC Spec-Driven | 80 | Adaptive SDD skill with AC→test, coverage matrix, independent verifier, discrimination sensor, and local lessons; the contract is strong, but enforcement depends on the agent/host. | Very strong in traceability and verification; self-referenced benchmark without raw data and without telemetry/cost per Task. |
|
|
425
|
+
| Roo Code | 79 | VS Code with Code, Architect, and Debug modes, refactoring, history/resume, and worktrees; no consolidated cost per Task. | Very strong editor-first fit, with partial operational governance. |
|
|
426
|
+
| Superpowers | 78 | TDD, worktree, subagent, review, and debugging skills make the programming playbook consistent; its guarantees remain instructional and behavioral tests depend on an external repository. | Strong discipline for coding agents, without a typed lifecycle or cost per Task. |
|
|
427
|
+
| OpenClaw | 73 | Codex-native subagents, isolated sessions, sandbox, and tests are strong, but the multichannel assistant gateway does not demonstrate the same coding-first IDE/CLI flow. | Reference for isolation and general operation; below Traycer, Kilo, and Roo in the programming snapshot. |
|
|
428
|
+
| Hermes | 71 | Retry, memory, and usage/pricing support coding features, but the platform is general-purpose rather than coding-first; cost per Task is not demonstrated. | Broad autonomous product, not automatically equivalent to a specialized development agent. |
|
|
429
|
+
| OpenSpec | 70 | Delta specs, schemas, CLI, workspaces, and tests structure change evolution; verification is optional/partly heuristic. | Specialist in spec management, not a multiagent runtime, with no cost per Task. |
|
|
430
|
+
| OpenCode | 60 | TUI/CLI, editing/patches, commands, LSP, MCP/providers, permissions, and SQLite sessions provide a lean, extensible foundation for terminal programming. | Direct alternative for terminal development, with opportunities to expand multiagents, lifecycle, tests, and cost per Task. |
|
|
431
|
+
|
|
432
|
+
**Consult the technical matrix of the ten criteria**
|
|
433
|
+
|
|
434
|
+
| Topic (0–10) | ZAIP | OpenClaw | Traycer | Kilo | Hermes | AIOX | Roo Code | OpenCode | TLC Spec-Driven | Superpowers | OpenSpec |
|
|
435
|
+
|---|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|
|
|
436
|
+
| T1 — SDD and traceability | 10 | 6 | 7 | 6 | 6 | 9 | 6 | 3 | 9 | 8 | 9 |
|
|
437
|
+
| T2 — Plan–edit–test–fix loop | 9 | 7 | 9 | 10 | 7 | 9 | 9 | 8 | 9 | 9 | 6 |
|
|
438
|
+
| T3 — Multiagents and isolation | 10 | 9 | 9 | 8 | 7 | 9 | 8 | 4 | 8 | 9 | 5 |
|
|
439
|
+
| T4 — Architecture and repository | 10 | 8 | 9 | 8 | 7 | 8 | 8 | 8 | 7 | 7 | 8 |
|
|
440
|
+
| T5 — Tests, review, and evidence | 10 | 9 | 9 | 9 | 8 | 9 | 9 | 5 | 9 | 9 | 8 |
|
|
441
|
+
| T6 — Recovery and idempotency | 10 | 7 | 9 | 7 | 7 | 8 | 7 | 6 | 8 | 8 | 7 |
|
|
442
|
+
| T7 — Supply chain | 9 | 8 | 8 | 8 | 8 | 7 | 8 | 6 | 7 | 7 | 6 |
|
|
443
|
+
| T8 — Codebase memory | 9 | 8 | 9 | 8 | 9 | 9 | 8 | 7 | 9 | 8 | 8 |
|
|
444
|
+
| T9 — Telemetry/cost per programming task | 9 | 6 | 5 | 6 | 6 | 6 | 6 | 4 | 5 | 4 | 4 |
|
|
445
|
+
| T10 — CLI/IDE DX, debug, review, setup, and Codex-first | 9 | 5 | 9 | 10 | 6 | 8 | 10 | 9 | 9 | 9 | 9 |
|
|
446
|
+
|
|
447
|
+
## From conversation to executable work
|
|
448
|
+
|
|
449
|
+
The ZAIP-AIOS framework turns natural language into structured engineering. The user can send a short message, hold a refinement conversation, or provide the transcript of a long audio recording explaining context, constraints, and the desired outcome. The framework evaluates complexity, dependencies, breadth, and risk to propose an appropriate entry point: a Task for direct work, a SPEC for a technical delivery with multiple Tasks, or a PRD for a product initiative composed of one or more SPECs. The \`lite\`, \`standard\`, or \`critical\` risk level determines the required depth of planning, review, security, and evidence; every artifact remains open to human review.
|
|
450
|
+
|
|
451
|
+
This makes it possible to move beyond a free-form conversation without falling into *vibe coding*: read-only questions and analyses remain Conversations without a Task; action requests become executable work. Before mutation, intent is converted into requirements, acceptance criteria, scope, dependencies, and write scopes, and a Task with a root orchestration Run enters Execution. See [Lifecycle of Conversations, Tasks, SPECs, and PRDs](.agents/zaip-aios/guides/28-lifecycle-completo.md).
|
|
452
|
+
|
|
453
|
+
## The six-step ZAIP method
|
|
454
|
+
|
|
455
|
+
| Stage | Artifacts | What happens |
|
|
456
|
+
| --- | --- | --- |
|
|
457
|
+
| **1. Definition** | PRD + Requirements | Records the objective, context, audience, constraints, expected outcome, and Acceptance Criteria that define the work. |
|
|
458
|
+
| **2. Planning** | SPEC + Changes | Describes scope, solution, architecture, risks, and planned changes before execution, following SDD. |
|
|
459
|
+
| **3. Execution** | Tasks + DAG + Executions + Runs | Coordinates Tasks, dependencies, agents, and produced files; records each attempt and its observable consumption. |
|
|
460
|
+
| **4. Decisions** | Decisions (Human + AI / Planning + Execution) | Preserves human and AI decisions made during planning, execution, review, and repair, with context and consequences. |
|
|
461
|
+
| **5. Verification** | Tests + Reviews + Evals + Checks | Runs quality mechanisms and compares observed results against requirements and Acceptance Criteria. |
|
|
462
|
+
| **6. Evidence** | Evidence + Results + Traceability | Collects, records, and relates proof produced by verification to Tasks, Changes, Runs, and Acceptance Criteria; work is completed only when evidence is sufficient and reproducible. |
|
|
463
|
+
|
|
464
|
+
The method keeps intent separate from execution. PRD and SPEC explain the intended delivery; Change, Task, Execution, and Run record how work was performed; Decisions explain why significant paths were chosen; Verification runs tests, reviews, evals, and checks; and Evidence preserves observed results and their relationship to Acceptance Criteria. Thus, “completed” is a state demonstrated by a diff, results, and reproducible evidence, not merely declared by an agent.
|
|
465
|
+
|
|
466
|
+
## Complete execution chain
|
|
467
|
+
|
|
468
|
+
The concepts below form the technical vocabulary used to connect intent, planning, execution, and proof without losing history.
|
|
469
|
+
|
|
470
|
+
**Consult the complete lifecycle glossary**
|
|
471
|
+
|
|
472
|
+
| Concept | Responsibility |
|
|
473
|
+
| --- | --- |
|
|
474
|
+
| **Rule** | Durable rule for behavior, architecture, security, context, or quality that Codex must follow. |
|
|
475
|
+
| **Requirement** | Verifiable product obligation accompanied by Acceptance Criteria. |
|
|
476
|
+
| **PRD** | Product Requirements Document that governs an initiative and organizes one or more SPECs. |
|
|
477
|
+
| **SPEC** | SDD technical specification detailing the solution, scope, risks, Changes, Tasks, and DAG. |
|
|
478
|
+
| **Change** | Living narrative of a planned and executed change: decisions, affected files, deviations, tests, evidence, rollout, rollback, and outcome. |
|
|
479
|
+
| **Task** | Smallest executable unit, with objective, risk, priority, dependencies, write scopes, and acceptance criteria. |
|
|
480
|
+
| **DAG** | Acyclic graph that orders dependencies, identifies safe parallelism, and prevents execution outside the required sequence. |
|
|
481
|
+
| **Execution** | Interaction or delivery unit correlated with the observable turn: \`interaction\` records conversation/definition; \`delivery\` coordinates materialized work. Idempotency depends on observed turn identity; continuation may reuse the current delivery. |
|
|
482
|
+
| **Run / Sub-Run** | An intake or orchestrator-agent Run has \`parent_run_id: null\`; a Sub-Run is each subagent call related by \`parent_run_id\`. New records use \`run_role: intake\\|orchestrator\\|subagent\`; each call fixes its model and effort and aggregates its internal Calls. |
|
|
483
|
+
| **Decision** | Human or AI decision with context, selected alternative, reason, consequences, and rollback possibility. |
|
|
484
|
+
| **Evidence** | Proof associated with the Task and Acceptance Criteria: test, diff, review, check, report, or reproducible result. |
|
|
485
|
+
| **Eval** | Deterministic or rubric-based evaluation measuring quality, regression, adherence, and performance. |
|
|
486
|
+
|
|
487
|
+
## Three ways to execute
|
|
488
|
+
|
|
489
|
+
1. **Task-first:** executes one independent Task for direct, well-bounded changes.
|
|
490
|
+
2. **SPEC:** executes a set of related Tasks coordinated by a DAG and governed by the same technical specification.
|
|
491
|
+
3. **PRD:** executes a complete initiative by selecting one or more SPECs, each with its Changes, Tasks, and dependencies.
|
|
492
|
+
|
|
493
|
+
This progression allows a simple start, adding planning only when breadth, dependencies, or risk justify a larger structure.
|
|
494
|
+
|
|
495
|
+
**Technical execution and assurance policies**
|
|
496
|
+
|
|
497
|
+
Conversation and standalone Task principals preserve manual host selection and prefer direct work. When delegation is necessary, disclose that children may use different models/efforts under ZAIP policy; they need not inherit the principal. Model and effort remain fixed per Run, with observed configuration separate from planned selection. Automatic selection requests \`standard\`; unobserved host capabilities cannot be assumed. See the [model policy](.agents/zaip-aios/guides/23-orquestracao-de-modelos.md).
|
|
498
|
+
|
|
499
|
+
### Astra policy
|
|
500
|
+
|
|
501
|
+
Essential never selects Astra automatically, including children or fallback. Its sole exception is a standalone principal with Astra selected manually by the user. Balanced replans use Sol/high, Astra/high, and Astra/high; in the third block Astra/high may also execute repairs without expanding the quota. Persistent retains that progression without an overall cap.
|
|
502
|
+
|
|
503
|
+
Replanners are isolated and do not edit product files; executor, reviewer, and Gui are distinct roles. Automatic Astra uses only \`high\`, never replaces review/finalization, and depends on managed dispatch. The old cap of three read-only Astra diagnoses remains only in the legacy contract without \`autonomy\`; it does not limit Persistent. Context and assurance follow the domain: content needs sources/briefing, engineering needs verified behavior. Real savings must be measured, not inferred from a preset.
|
|
504
|
+
|
|
505
|
+
Intake correlates the observable turn with the Execution. \`prepare\` validates the plan without authorizing implementation; \`ready\` materializes prepared work and \`execute\` starts authorized delivery. Every delivery and delegated interaction requires an eligible executor (or authorized direct Task root) and \`zaip-agent-finalizer\` last. A read-only interaction without descendants ends after the response, without that circuit. Purely Git publication is an exception: it does not materialize lifecycle records. SPEC/PRD remain active between child Runs and are delivered only through parent gates.
|
|
506
|
+
|
|
507
|
+
Each Task attempt has exactly one responsible orchestrator. Gui is its last
|
|
508
|
+
direct child, a sibling of executors, not a finalizer for every worker.
|
|
509
|
+
The host persists the real decision before canonical Stop; it may relay an
|
|
510
|
+
already-terminal Gui while the responsible Run is open, without requiring
|
|
511
|
+
receipt polling. No decision means no approval. Direct standalone work uses an
|
|
512
|
+
observed Task root with explicit direct authorization; no invented executor,
|
|
513
|
+
and no waiver of Evidence or Gui. See [closure and recovery](.agents/zaip-aios/guides/16-lifecycle-e-reconciliacao.md).
|
|
514
|
+
|
|
515
|
+
Proof depth is adaptive: a standalone \`lite\` Task requires at least one typed validation and one Evidence, normally one of each, but accepts legitimate additional proof. \`standard\` requires two or three validations according to \`verification_scope\` and at least one consolidated Evidence; \`critical\` requires three or more, independent review, and persisted risk signals determining additional controls. SPEC and PRD deliveries add a parent matrix, at least three validations and three Evidences, real integration, and independent review. New projects default to managed PRDs/SPECs and direct standalone Tasks; Codex or Claude execution requires an explicit request, isolated in worktrees, and limited by write scopes, commits, budgets, and typed gates. See [Adaptive assurance and opt-in autonomy](.agents/zaip-aios/guides/19-assurance-e-autonomia.md).
|
|
516
|
+
|
|
517
|
+
## Autonomous engineering principles
|
|
518
|
+
|
|
519
|
+
ZAIP-AIOS combines speed with explicit boundaries. Its principles keep code sustainable, distribute only necessary context, and require proof proportionate to risk.
|
|
520
|
+
|
|
521
|
+
The schema default is \`execution.runtime: manual\` when the option is absent; this checkout uses \`managed\` in \`project.yaml\`. Configuration does not remove the need for an execution request or authorize publication. Always consult the project's effective file, not just the default described in the guide.
|
|
522
|
+
|
|
523
|
+
- **Clean Architecture:** domain, application, adapters, and infrastructure remain separate; business rules do not depend on frameworks or external details, dependencies point inward, and composition roots connect concrete implementations at the boundaries.
|
|
524
|
+
- **CQRS:** commands and queries follow explicit, independent flows; commands change state through appropriate use cases and ports, while queries have no side effects and return read models suited to reading.
|
|
525
|
+
- **Modularization and code organization:** folders, files, modules, and components are structured by domain and responsibility, with explicit boundaries, high cohesion, and low coupling to simplify software navigation, maintenance, testing, and evolution.
|
|
526
|
+
- **Bounded autonomy:** subagents work with DAGs, write scopes, sandbox, approvals, budgets, security rules, and gates proportionate to risk.
|
|
527
|
+
- **Progressive context:** each agent receives only the Rules, Requirements, skills, and evidence relevant to its role, reducing noise, cost, and context loss.
|
|
528
|
+
- **Proof-based completion:** tests, review, evals, checks, and Evidence must cover Acceptance Criteria before delivery.
|
|
529
|
+
- **Recoverable history:** decisions, changes, attempts, failures, retries, repairs, and rollback remain linked, allowing work to be paused, resumed, and audited.
|
|
530
|
+
- **Honest observability:** tokens, cost, time, coverage, and performance are measured by scope; missing telemetry remains explicit instead of creating fictitious precision.
|
|
531
|
+
|
|
532
|
+
Intake captures once per observable turn and reuses valid focus in continuations; purely Git publication creates no lifecycle. Questions, feedback, and read-only analyses use an \`interaction\` Execution without an artificial Task or Change. Explicit creation/refinement of \`draft\` PRD/SPEC can persist those macros and the PreparedPlan in an interaction, without delivery. Outside that exception, an independent standalone edit materializes and starts a Task, Change, delivery, and Run before the first mutation; explicitly requested preparation may stop at Ready to Execute. A \`draft\` PRD occupies Definition and a \`draft\` SPEC occupies Planning; Tasks never occupy those columns.
|
|
533
|
+
|
|
534
|
+
## Graph Engineering and Loop Engineering
|
|
535
|
+
|
|
536
|
+
<img src=".agents/config/src/zaip-aios-obsidian.png" alt="ZAIP-AIOS in Obsidian" width="100%">
|
|
537
|
+
|
|
538
|
+
**Graph Engineering** turns a complex delivery into a coordinated sequence of responsibilities. Instead of activating all 23 agents, orchestration selects the smallest set capable of planning, executing, reviewing, and proving the result according to dependencies, risk, and specialty.
|
|
539
|
+
|
|
540
|
+
This autonomy remains governed: Dave coordinates, each executor receives only the necessary scope, Nanda performs independent review, additional specialists join when objective signals exist, and Gui closes the flow last. The result is a team tailored to the request without unnecessarily multiplying agents and cost.
|
|
541
|
+
|
|
542
|
+
**Loop Engineering** uses the Task's frozen preset to reserve execution and replanning before the provider, record the result, and choose a corrected route. Balanced allows 1 + 9 executions and three plans: Sol/high → Astra/high → Astra/high; Essential never escalates to Astra, Persistent has no cap. Models never change silently within a Run. A standalone principal's manual preference does not require children to use the same configuration.
|
|
543
|
+
|
|
544
|
+
### Summary flow
|
|
545
|
+
|
|
546
|
+
A delivery flow with independent review is **intake → Dave → capability-selected executor → Nanda (review) → Gui (finalization)**. Review must satisfy the assurance profile; not every piece of work must expand to the same set of agents. All children are coordinated by orchestration; the sequence does not mean one worker calls the next.
|
|
547
|
+
|
|
548
|
+
Complete scenarios are in the [flows and routing guide](.agents/zaip-aios/guides/22-fluxos-e-roteamento.md), in stable text for GitHub.
|
|
549
|
+
|
|
550
|
+
### Summary flows
|
|
551
|
+
|
|
552
|
+
The lifecycle follows **Definition → Planning → Ready to Execute → Execution → Verification → Completed**. Blocked, Failed, and Canceled are alternative outcomes.
|
|
553
|
+
|
|
554
|
+
Task, SPEC, and PRD retain independent flows; Conversation uses an interaction Execution and creates no artificial Task. A direct Task starts immediately, while a prepared one awaits execute.
|
|
555
|
+
|
|
556
|
+

|
|
557
|
+
|
|
558
|
+
Detailed flows for routing, intake, planning, rework, critical requests, model selection, the 23 agents, and Task orchestration are in the [flows and routing guide](.agents/zaip-aios/guides/22-fluxos-e-roteamento.md).
|
|
559
|
+
|
|
560
|
+
## Technical and operational reference
|
|
561
|
+
|
|
562
|
+
The following sections preserve the contracts needed for advanced installation, maintenance, auditing, security, and framework evolution. They complement the commercial overview without replacing the specialized guides linked throughout this document.
|
|
563
|
+
|
|
564
|
+
## Current \`.agents\` structure
|
|
565
|
+
|
|
566
|
+
**Consult the directory tree and technical responsibilities**
|
|
567
|
+
|
|
568
|
+
\`\`\`text
|
|
569
|
+
.agents/
|
|
570
|
+
├── config/
|
|
571
|
+
│ ├── project.yaml
|
|
572
|
+
│ ├── framework.lock.yaml
|
|
573
|
+
│ ├── agents/catalog.yaml
|
|
574
|
+
│ └── profiles/clients.yaml
|
|
575
|
+
├── dashboard/
|
|
576
|
+
│ ├── zaip-dashboard-windows.exe
|
|
577
|
+
│ ├── zaip-dashboard-linux.sh
|
|
578
|
+
│ ├── zaip-dashboard-mac.command
|
|
579
|
+
│ ├── apps/frontend/
|
|
580
|
+
│ ├── modules/{operations,cost-monitor,traceability}/
|
|
581
|
+
│ ├── packages/
|
|
582
|
+
│ └── tests/e2e/
|
|
583
|
+
├── design/
|
|
584
|
+
│ ├── DESIGN.md
|
|
585
|
+
│ ├── tokens.json
|
|
586
|
+
│ ├── zaip-design.exe
|
|
587
|
+
│ ├── apps/catalog/
|
|
588
|
+
│ └── packages/
|
|
589
|
+
├── branding/ # business artifacts, created on demand
|
|
590
|
+
├── marketing/ # business artifacts, created on demand
|
|
591
|
+
├── sales/ # business artifacts, created on demand
|
|
592
|
+
├── growth/ # business artifacts, created on demand
|
|
593
|
+
├── records/
|
|
594
|
+
│ ├── prds/<year>/<month>/
|
|
595
|
+
│ ├── specs/<year>/<month>/
|
|
596
|
+
│ ├── changes/<year>/<month>/
|
|
597
|
+
│ ├── tasks/<year>/<month>/
|
|
598
|
+
│ ├── executions/<year>/<month>/
|
|
599
|
+
│ ├── runs/<year>/<month>/
|
|
600
|
+
│ ├── lifecycle/ # manifests, indexes, and projections
|
|
601
|
+
│ └── telemetry/<year>/<month>/writers/<writer-id>/{manifest.json,chunks/}
|
|
602
|
+
├── rules/
|
|
603
|
+
│ ├── core.md
|
|
604
|
+
│ ├── workflow.md
|
|
605
|
+
│ └── *.md # managed and local Rules, flat layout
|
|
606
|
+
├── requirements/
|
|
607
|
+
├── skills/
|
|
608
|
+
├── tools/
|
|
609
|
+
│ ├── catalog.yaml
|
|
610
|
+
│ ├── {mcp,api}/
|
|
611
|
+
│ ├── policies/
|
|
612
|
+
│ ├── profiles/
|
|
613
|
+
│ ├── runtime/
|
|
614
|
+
│ └── servers/
|
|
615
|
+
├── zaip-aios/
|
|
616
|
+
│ ├── INDEX.md
|
|
617
|
+
│ └── guides/
|
|
618
|
+
├── runtime/
|
|
619
|
+
│ └── bin/zaip.mjs # installed CLI and distribution metadata
|
|
620
|
+
├── .env.example
|
|
621
|
+
└── .gitignore
|
|
622
|
+
.local/ # at the workspace root; ignored by Git
|
|
623
|
+
├── claims/ # atomic lifecycle claims
|
|
624
|
+
├── codex-telemetry-spool/v1/ # sanitized, private, recoverable capture
|
|
625
|
+
└── sqlite/ # local SQLite databases, separated by purpose
|
|
626
|
+
├── zaip-aios-dashboard.sqlite # Dashboard query model
|
|
627
|
+
└── <purpose>.sqlite # example: other databases, created as needed
|
|
628
|
+
\`\`\`
|
|
629
|
+
|
|
630
|
+
The \`branding/\`, \`marketing/\`, \`sales/\`, and \`growth/\` folders are business-artifact areas created on demand. Their existence and content vary by project; there is no need to create empty folders.
|
|
631
|
+
|
|
632
|
+
| Path | Responsibility |
|
|
633
|
+
| --- | --- |
|
|
634
|
+
| \`config/\` | Project configuration, client and agent profiles, capability maturity, and the integrity lock for managed files. |
|
|
635
|
+
| \`dashboard/\` | Local operational Dashboard for Kanban, costs, time, tokens, and traceability; it queries rebuildable projections of canonical records, including SQLite. |
|
|
636
|
+
| \`design/\` | ZAIP design system, visual tokens, component catalog, and local inspection launcher. |
|
|
637
|
+
| \`branding/\` | Branding business artifacts, such as a Brandbook, brand platform, and identity governance; created on demand. |
|
|
638
|
+
| \`marketing/\` | Business artifacts for marketing strategy, campaigns, content, and assets; created on demand. |
|
|
639
|
+
| \`sales/\` | Business artifacts for sales methodology, qualification, playbooks, scripts, and handoffs; created on demand. |
|
|
640
|
+
| \`growth/\` | Business artifacts for growth strategy, RevOps, and experiments; created on demand. |
|
|
641
|
+
| \`records/\` | Git-native canonical source for PRDs, SPECs, Changes, Tasks, Executions, and Runs. \`records/lifecycle\` contains manifests, indexes, chunks, and summaries for discovery and pagination without scanning history. |
|
|
642
|
+
| \`requirements/\` | Durable requirements and Acceptance Criteria for lifecycle, execution, costs, context, Dashboard, architecture, and design system. |
|
|
643
|
+
| \`rules/\` | Canonical framework Rules and local project Rules, all directly in this directory. |
|
|
644
|
+
| \`skills/\` | Reusable workflows that turn conversations into Requirements, Tasks, SPECs, and PRDs and guide execution, review, security, costs, context, and tools. |
|
|
645
|
+
| \`tools/\` | MCP and API catalog, approval and secret policies, activation profiles, doctors, and auditable generated local servers. |
|
|
646
|
+
| \`zaip-aios/\` | Operational handbook with a low-context-cost index and guides for installation, execution, review, agents, costs, security, and Codex integration. |
|
|
647
|
+
| \`../.local/\` | Workspace-root directory for claims, writer ID, sanitized spool, and disposable SQLite; it stays outside Git. The Dashboard queries the projection, but canonical records remain in \`records/\`. |
|
|
648
|
+
|
|
649
|
+
\`framework.lock.yaml\` is the mechanical reference for distribution-managed files, while \`project.yaml\` describes the consumer project. Rules present in the lock belong to the framework and can be updated by setup; Rules absent from it are local and must be preserved. Agents begin with \`rules/core.md\`, use canonical manifests in \`records/lifecycle\` for discovery, and open a historical record only after obtaining its explicit ID.
|
|
650
|
+
|
|
651
|
+
The Dashboard's canonical code lives in \`.agents/dashboard\`, separate from product applications. It has only \`apps/frontend\`; its loopback server is in \`packages/local-runtime\`, not \`apps/backend\`. Its \`operations\`, \`cost-monitor\`, and \`traceability\` modules consume derived read models, using SQLite in the current runtime and in-memory compatibility paths. The mostly read-only API exposes controlled settings, priority, refresh, and explicit reconciliation actions; that does not authorize arbitrary changes. Windows, Linux, and macOS launchers live directly in \`.agents/dashboard\`; their presence in the template does not prove execution on all three environments.
|
|
652
|
+
|
|
653
|
+
## Application architecture
|
|
654
|
+
|
|
655
|
+
**Consult layout, dependencies, and code limits**
|
|
656
|
+
|
|
657
|
+
When those surfaces exist, the canonical product-application layout is:
|
|
658
|
+
|
|
659
|
+
\`\`\`text
|
|
660
|
+
apps/
|
|
661
|
+
├── frontend/ # Product UI and client composition root
|
|
662
|
+
├── backend/ # APIs, workers, and server composition roots
|
|
663
|
+
└── site/ # Landing page and public site, separately deployable
|
|
664
|
+
modules/<area>/ # Business capabilities and their public contracts
|
|
665
|
+
packages/<library>/ # Reusable technical libraries
|
|
666
|
+
tests/e2e/ # Flows that cross applications
|
|
667
|
+
\`\`\`
|
|
668
|
+
|
|
669
|
+
Dependency direction is \`apps -> modules -> packages\`. This architecture describes only the consumer product's application code, not the ZAIP Dashboard or business domains. The \`branding/\`, \`marketing/\`, \`sales/\`, and \`growth/\` areas live in \`.agents\` as business-artifact folders created on demand; they are not application folders. \`apps/site\` never imports the Dashboard, does not read \`.agents\`, and does not depend on private backend implementation. Folders for absent surfaces do not need to be created empty. Unit tests stay with code; cross-application journeys live in \`tests/e2e\`.
|
|
670
|
+
|
|
671
|
+
Source files with 401–800 lines generate a warning and files with 801 or more lines generate an error, except for explicit exceptions. The gate ignores generated code, distribution, vendor, data, and lockfiles. The list in [source-size-baseline.json](scripts/source-size-baseline.json) includes legacy packages and Dashboard code, with a frozen limit, owner, reason, and validity period; it does not authorize raising limits to hide growth.
|
|
672
|
+
|
|
673
|
+
## Framework development
|
|
674
|
+
|
|
675
|
+
**Consult contracts for maintainers and contributors**
|
|
676
|
+
|
|
677
|
+
This section is for maintainers and contributors who change ZAIP-AIOS source. Consumers that only installed the framework in another repository do not need this routine to use Codex, create Tasks, SPECs, or PRDs, track the Dashboard, or run lifecycle normally.
|
|
678
|
+
|
|
679
|
+
### Source repository and consumer project
|
|
680
|
+
|
|
681
|
+
- **Source repository:** contains ZAIP-AIOS's official implementation, packages, Dashboard, Rules, Requirements, skills, tools, and distribution artifacts. Intentional changes must pass integrity, quality, test, and build gates.
|
|
682
|
+
- **Consumer project:** receives a published framework version under \`.agents\`. \`framework.lock.yaml\` is updated only by transactional CLI installation or upgrade flows; a consumer project does not run \`sync:framework-lock\` to accept local changes.
|
|
683
|
+
|
|
684
|
+
Consumer project settings remain in \`.agents/config/project.yaml\`; additional Rules are directly in \`.agents/rules/*.md\` and do not enter the lock. Distribution-managed files must not be changed and then added to the lock merely to silence drift.
|
|
685
|
+
|
|
686
|
+
### Managed-file integrity
|
|
687
|
+
|
|
688
|
+
\`framework.lock.yaml\` is a mechanical integrity manifest, not a dependency lockfile such as \`pnpm-lock.yaml\`. It records the paths and SHA-256 hashes of files belonging to the distribution, so accidental change, a missing file, or content different from the expected release can be detected. It does not store secrets, telemetry, or execution history.
|
|
689
|
+
|
|
690
|
+
When a maintainer intentionally changes Rules, Requirements, skills, or another managed source file, they must review the change and then regenerate hashes:
|
|
691
|
+
|
|
692
|
+
\`\`\`bash
|
|
693
|
+
pnpm sync:framework-lock
|
|
694
|
+
pnpm validate:framework-lock
|
|
695
|
+
\`\`\`
|
|
696
|
+
|
|
697
|
+
\`sync:framework-lock\` writes the new path-and-hash set. \`validate:framework-lock\` is read-only: it recalculates expected state and fails on drift. Do not run sync automatically to hide a discrepancy; first confirm that the change belongs to the framework and should be in the next distribution.
|
|
698
|
+
|
|
699
|
+
### Local quality gates
|
|
700
|
+
|
|
701
|
+
| Command | What it checks |
|
|
702
|
+
| --- | --- |
|
|
703
|
+
| \`pnpm validate:framework-lock\` | Confirms all managed files match locked paths and hashes. |
|
|
704
|
+
| \`pnpm validate:skills\` | Validates skill structure, names, frontmatter, interfaces, links, resources, and security invariants. |
|
|
705
|
+
| \`pnpm test:encoding\` | Detects invalid UTF-8, corrupted characters, *mojibake*, and other textual encoding issues. |
|
|
706
|
+
| \`pnpm validate:source-size\` | Measures source files, applies limits and temporary exceptions, and flags components that need splitting into more cohesive modules. |
|
|
707
|
+
| \`pnpm lint\` | Checks formatting, consistency, and static code rules. |
|
|
708
|
+
| \`pnpm typecheck\` | Runs TypeScript type validation across workspace packages. |
|
|
709
|
+
| \`pnpm test\` | Runs automated package tests through the workspace. |
|
|
710
|
+
| \`pnpm build\` | Compiles and packages components and normalizes generated text. |
|
|
711
|
+
|
|
712
|
+
A typical local validation, after updating the lock when necessary, is:
|
|
713
|
+
|
|
714
|
+
\`\`\`bash
|
|
715
|
+
pnpm validate:framework-lock
|
|
716
|
+
pnpm validate:skills
|
|
717
|
+
pnpm test:encoding
|
|
718
|
+
pnpm validate:source-size
|
|
719
|
+
pnpm lint
|
|
720
|
+
pnpm typecheck
|
|
721
|
+
pnpm test
|
|
722
|
+
pnpm build
|
|
723
|
+
\`\`\`
|
|
724
|
+
|
|
725
|
+
Before integrating a relevant change or preparing a release, \`pnpm verify\` runs the complete repository pipeline, including additional tool, contract, generation, workspace, runtime-parity, and release-test gates. This pipeline only validates the lock; if a managed file was intentionally changed, run sync first. Use the pnpm version fixed in \`packageManager\` (\`corepack pnpm\` when available). For a bounded change, choose checks appropriate to its risk and diff; the list does not require repeating every test for each documentation edit. Release qualification uses the complete gates in [guide 26](.agents/zaip-aios/guides/26-qualidade-e-release.md) on the exact candidate. Do not conflate \`validate:github:prepared\`, local execution, push, and a green terminal CI.
|
|
726
|
+
|
|
727
|
+
This checkout's manifests identify candidate \`3.0.0\` (product \`3.0\`). Candidate identity does not mean \`latest\` has been published or certify production. Release requires the exact revision, terminal CI, TGZ integrity, and a real artifact installation. Attempts and limitations remain in the Change evidence; local results and publication are distinct states.
|
|
728
|
+
|
|
729
|
+
The detailed architecture is summarized in this README's [Application architecture](#application-architecture) section.
|
|
730
|
+
|
|
731
|
+
## Security with permission profiles
|
|
732
|
+
|
|
733
|
+
ZAIP-AIOS offers two permission profiles to balance convenience and containment. The profile selected by \`default_permissions\` sets the technical boundary the process can reach, while instructions, Rules, hooks, and skills still define what an agent is authorized to do.
|
|
734
|
+
|
|
735
|
+
| Profile | Native filesystem on Windows | Command network | When to use |
|
|
736
|
+
| --- | --- | --- | --- |
|
|
737
|
+
| \`zaip-aios-full-access\` | Write access across \`C:\\\`, subject to ACLs and Windows-account privileges | Complete, with every allowed domain | Human default; still requires explicit authorization for external, destructive, publication, and elevation actions. |
|
|
738
|
+
| \`zaip-aios-security\` | Write access only to this repository's physical root and descendants, including \`.git\`, \`.agents\`, and \`.codex\`; \`~/.ssh\` write access only for authorized Git/SSH flows | Limited to \`github.com\` | Opt in for least privilege; restart Codex after selecting it. |
|
|
739
|
+
|
|
740
|
+
**Consult operation, risks, and defense in depth**
|
|
741
|
+
|
|
742
|
+
The restricted profile uses a permissions table with the repository's **absolute physical root**, not \`:workspace\` or \`:workspace_roots\`. This keeps \`.agents\`, \`.codex\`, and \`.git\` writable on Windows without exposing the rest of \`C:\\\`. Its \`approval_policy = "never"\` does not authorize actions by itself: deploy, publication, remote mutations, and destructive actions still depend on an explicit request, instructions, Rules, hooks, and skills.
|
|
743
|
+
|
|
744
|
+
### Risk of \`zaip-aios-full-access\`
|
|
745
|
+
|
|
746
|
+
\`zaip-aios-full-access\` is a higher-risk profile. It can reach other repositories, user files, application and system directories, and any network destination allowed by the host. An incorrect command, malicious external content, or compromised dependency therefore has much greater potential impact. The profile grants no administrator privilege and still follows ACLs, corporate policies, and files in use, but those barriers do not make it equivalent to the restricted profile.
|
|
747
|
+
|
|
748
|
+
\`zaip-aios-full-access\` is the human default and should be used only within the request's explicit authority. When an operation can be contained to the workspace, the user can select \`zaip-aios-security\` and completely restart Codex so the sandbox can materialize the selected profile. Do not change profiles merely to bypass a permission denial.
|
|
749
|
+
|
|
750
|
+
### Deployment branch
|
|
751
|
+
|
|
752
|
+
Every GitHub deployment reads \`.agents/config/project.yaml\`. Set the branch with:
|
|
753
|
+
|
|
754
|
+
\`\`\`yaml
|
|
755
|
+
deploy:
|
|
756
|
+
# Automated publication: validation environment.
|
|
757
|
+
branch: beta
|
|
758
|
+
# Production: human promotion only.
|
|
759
|
+
production_branch: main
|
|
760
|
+
\`\`\`
|
|
761
|
+
|
|
762
|
+
\`beta\` is the editable default: use another validation name, such as \`staging\` or \`homolog\`, when
|
|
763
|
+
the project needs it. The database uses only \`beta\`, and production promotion requires a human
|
|
764
|
+
action in GitHub. Frontend and backend follow their configured branch, including \`main\` when that
|
|
765
|
+
choice is saved in configuration.
|
|
766
|
+
|
|
767
|
+
\`deploy.frontend.branch\` and \`deploy.backend.branch\` are persisted authorization and may be
|
|
768
|
+
\`main\`. Migrations use only \`deploy.database.branch: beta\`, with no production fallback.
|
|
769
|
+
Installation does not create a beta environment or cost: verified beta GitHub/Supabase
|
|
770
|
+
integration and informed cost confirmation are prerequisites, and \`beta -> main\` remains human.
|
|
771
|
+
|
|
772
|
+
If the person explicitly declines hosted beta, use [manual mode](.agents/skills/zaip-skill-database-migrations/references/manual-mode.md): it exports SQL under \`db-migrations/\` for a human to run in the SQL Editor. The agent, pipeline, and startup never apply that file. Resume dependencies after recorded human success; a human report does not replace independent verification.
|
|
773
|
+
|
|
774
|
+
Supabase queries use separate \`READ-ONLY-BETA\` and \`READ-ONLY-PROD\` contexts, each with its own
|
|
775
|
+
\`project_ref\`, minimum read permissions, and a credential distinct from the pipeline credential.
|
|
776
|
+
An absent reference, identical destinations, or unproven read-only capability means "not
|
|
777
|
+
configured", with no fallback between environments. MCP snippets document configuration and do
|
|
778
|
+
not create an authenticated connection. See the [deployment and access contract](.agents/skills/zaip-skill-backend/references/deployment-environments.md), which uses the [official Supabase MCP format](https://supabase.com/docs/guides/getting-started/mcp).
|
|
779
|
+
|
|
780
|
+
### Defense in depth
|
|
781
|
+
|
|
782
|
+
Both profiles retain compensating layers that reduce risk, but do not replace the native isolation offered by the restricted profile:
|
|
783
|
+
|
|
784
|
+
- policy loading only in a trusted repository and explicit scope in \`AGENTS.md\`;
|
|
785
|
+
- a \`PreToolUse\` hook checking known classes of escapes, secret references, destructive Git, force push, OS mutation, ACL, persistence, elevation, and destructive database actions, when the host actually runs it;
|
|
786
|
+
- Codex \`forbidden\` rules, instructions, and skills that require explicit authority and limit each operation's scope;
|
|
787
|
+
- GitHub deployment bounded by an explicit request, preflight, defined branch/remote, and scoped SSH identity;
|
|
788
|
+
- protection against printing, logging, or committing tokens, private keys, credentials, and environment values;
|
|
789
|
+
- Tasks, Changes, Executions, Runs, write scopes, threat model, rollback, negative tests, and independent review proportionate to risk;
|
|
790
|
+
- subagents with bounded responsibilities and scopes, plus hashed adapters, framework lock, and regression gates;
|
|
791
|
+
- remaining operating-system controls, such as ACLs, account privileges, and host policies.
|
|
792
|
+
|
|
793
|
+
The \`PreToolUse\` security hook also remains active in the full-access profile without reducing its native permissions; it blocks destructive classes, secrets, publication, and elevation without authorization. Subagent lifecycle hooks remain active for defense in depth and attribution/telemetry. Browser, Computer Use, MCPs, and other integrations have their own surfaces and should be enabled and used only when necessary. For strong isolation against scope errors or malicious code, use the restricted profile and, when the risk warrants it, a dedicated account, VM, or external network and filesystem controls.
|
|
794
|
+
|
|
795
|
+
The [complete ZAIP-AIOS permission-profile security guide](.agents/zaip-aios/guides/10-seguranca.md) documents the threat model, allow/deny matrix, layers, limitations, safe operation, rollout, rollback, and validation commands.
|
|
796
|
+
|
|
797
|
+
## Optional automation and integrations
|
|
798
|
+
|
|
799
|
+
### Hourly ready-queue scheduling
|
|
800
|
+
|
|
801
|
+
In Codex Desktop, hourly ready-queue scheduling is configured by the \`$zaip-skill-instalar-agendamento\` skill in a single conversation in the local checkout. The skill uses native scheduled-task automation to create or update one standalone task with a stable name; it does not duplicate records and fails closed if \`automation_update\` is unavailable. The scheduled task explicitly calls \`$zaip-skill-executar-fila-pronta\` each hour.
|
|
802
|
+
|
|
803
|
+
Each round processes the eligible snapshot sequentially: ready PRDs first, then independent ready SPECs, then standalone Tasks materialized in **Ready to Execute**. Descendant, active, blocked, failed, and terminal items stay out. In **Dashboard > Work (Kanban) > Ready to Execute**, priority is set top to bottom within the PRD/SPEC/Task tier and persists for the scheduler in \`.agents/dashboard/work-priority.json\`. Accessible ordering controls update that numbering, and items without a number go last through deterministic fallback. A local lock/lease prevents overlapping rounds.
|
|
804
|
+
|
|
805
|
+
The repository versions this contract but does not install a clock in each clone. The scheduled task belongs to the machine/user who created it and depends on the machine being on, Codex Desktop running, and native automation being available; without them the skill fails closed and does not promise future execution.
|
|
806
|
+
|
|
807
|
+
### Codex, official documentation, and browser
|
|
808
|
+
|
|
809
|
+
\`.codex/config.toml\` is project configuration loaded by Codex only when the repository is trusted. In ZAIP-AIOS's current configuration, it guides \`AGENTS.md\` discovery and enables the official read-only OpenAI documentation MCP, allowing current information about Codex, models, APIs, SDKs, and MCP without relying solely on model memory. The installer also provides the discovery ZAIP skill, while Codex itself supplies stable resources such as shell, subagents, apps, hooks, and web search according to surface, account, and environment policy.
|
|
810
|
+
|
|
811
|
+
This checkout's configuration contains enabled entries for browser plugins; that does not prove installation, availability, or effective host permission. When the in-app Browser is available it can support navigation, interaction, and real application capture, subject to sensitive-action permissions and confirmations. Do not presume the same tool on another Codex surface. For Playwright or another MCP, consult the manifest and policy under \`.agents/tools\` before enabling an implementation. A capture failure must be recorded as pending proof, never as approved visual validation.
|
|
812
|
+
|
|
813
|
+
## Optional Obsidian traceability view
|
|
814
|
+
|
|
815
|
+
The \`criar-pasta-obsidian\` skill generates a local, rebuildable projection in \`.local/obsidian/vault\` of relationships among PRDs, SPECs, Changes, Tasks, Executions, Runs, requirements, evidence, and tests. It does not make Obsidian a source of truth, duplicate full record bodies, or require the app to be installed to generate or validate the folder.
|
|
816
|
+
|
|
817
|
+
At the repository root, generate or update the vault with:
|
|
818
|
+
|
|
819
|
+
\`\`\`powershell
|
|
820
|
+
node .agents/skills/criar-pasta-obsidian/scripts/generate-obsidian-vault.mjs
|
|
821
|
+
\`\`\`
|
|
822
|
+
|
|
823
|
+
The [ZAIP traceability Obsidian guide](guide/CRIAR-PASTA-OBSIDIAN.md) documents application installation, opening the folder as a vault, generating a single Task, and updating the projection after \`git pull\`.
|
|
824
|
+
`:n},...i]}function t(e,t){return e.match(/^#\s+(.+)$/m)?.[1]?.trim()??t.replace(/\.md$/i,``)}var n={"pt-BR":{eyebrow:`CONFIGURAÇÃO DO PROJETO`,title:`Preços e cotação`,description:`Valores em USD por 1 milhão de tokens. Ao salvar, o dashboard recalcula todos os valores com o catálogo vigente.`,back:`Voltar ao dashboard`,fxTitle:`Cotação utilizada no dashboard`,fxDescription:`Ao salvar, todos os valores em BRL são recalculados. Os valores em USD e a telemetria de tokens permanecem inalterados.`,fxLabel:`Cotação USD/BRL`,fxAriaLabel:`Cotação USD BRL`,catalog:`Catálogo de modelos`,pricesPerMillion:`Preços em USD por 1 milhão de tokens`,models:`modelos`,model:`Modelo`,provider:`Provider`,input:`Entrada (USD/1M)`,cache:`Cache (USD/1M)`,output:`Saída (USD/1M)`,reasoning:`Raciocínio (USD/1M)`,priorityInput:`Priority entrada (USD/1M)`,priorityCache:`Priority cache (USD/1M)`,priorityOutput:`Priority saída (USD/1M)`,priorityReasoning:`Priority raciocínio (USD/1M)`,contextLimit:`Limite contexto`,inputMultiplier:`Mult. entrada`,outputMultiplier:`Mult. saída`,noAliases:`sem aliases`,removeModel:`Remover modelo`,addModel:`Adicionar modelo`,cancel:`Cancelar`,saving:`Salvando…`,save:`Salvar e recalcular`,newModel:`novo-modelo`,manualOverride:`Substituição manual pelo dashboard`,editedNote:`Editado no dashboard`},"en-US":{eyebrow:`PROJECT SETTINGS`,title:`Pricing and exchange rate`,description:`Prices in USD per 1 million tokens. When saved, the dashboard recalculates all values using the current catalog.`,back:`Back to dashboard`,fxTitle:`Exchange rate used by the dashboard`,fxDescription:`When saved, all BRL values are recalculated. USD values and token telemetry remain unchanged.`,fxLabel:`USD/BRL exchange rate`,fxAriaLabel:`USD BRL exchange rate`,catalog:`Model catalog`,pricesPerMillion:`Prices in USD per 1 million tokens`,models:`models`,model:`Model`,provider:`Provider`,input:`Input (USD/1M)`,cache:`Cache (USD/1M)`,output:`Output (USD/1M)`,reasoning:`Reasoning (USD/1M)`,priorityInput:`Priority input (USD/1M)`,priorityCache:`Priority cache (USD/1M)`,priorityOutput:`Priority output (USD/1M)`,priorityReasoning:`Priority reasoning (USD/1M)`,contextLimit:`Context limit`,inputMultiplier:`Input multiplier`,outputMultiplier:`Output multiplier`,noAliases:`no aliases`,removeModel:`Remove model`,addModel:`Add model`,cancel:`Cancel`,saving:`Saving…`,save:`Save and recalculate`,newModel:`new-model`,manualOverride:`Dashboard manual override`,editedNote:`Edited in dashboard`}};export{n,e as t};
|