@zaip-ai/cli 3.0.0 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/services/adapters.d.ts +1 -1
- package/dist/services/adapters.js +1 -1
- package/package.json +1 -1
- package/templates/.agents/README-ENG.md +5 -1
- package/templates/.agents/README.md +5 -1
- package/templates/.agents/config/agents/discovery.json +1 -1
- package/templates/.agents/dashboard/.zaip-managed.json +61 -37
- package/templates/.agents/dashboard/apps/frontend/dist/assets/{DashboardHelpDialog-TnrL1ZyZ.js → DashboardHelpDialog-DIWDmvAS.js} +26 -11
- package/templates/.agents/dashboard/apps/frontend/dist/assets/{PricingSettingsDialog-DjQpBqGU.js → PricingSettingsDialog-BBRBKaHa.js} +1 -1
- package/templates/.agents/dashboard/apps/frontend/dist/assets/{TraceabilityWorkspace-BQZXUnQu.js → TraceabilityWorkspace-C9dDhj34.js} +1 -1
- package/templates/.agents/dashboard/apps/frontend/dist/assets/{dashboard-localization-Basaw1NR.js → dashboard-localization-CoAVMZN6.js} +5 -1
- package/templates/.agents/dashboard/apps/frontend/dist/assets/{index-BQe3zTvL.js → index-BVzw_Wux.js} +2 -2
- package/templates/.agents/dashboard/apps/frontend/dist/index.html +1 -1
- package/templates/.agents/dashboard/apps/frontend/package.json +1 -1
- package/templates/.agents/dashboard/modules/cost-monitor/package.json +1 -1
- package/templates/.agents/dashboard/modules/operations/package.json +1 -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/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 +182 -160
- package/templates/.agents/dashboard/packages/local-runtime/dist/sqlite-read-model.cjs +174 -152
- package/templates/.agents/dashboard/packages/local-runtime/package.json +1 -1
- package/templates/.agents/dashboard/packages/local-runtime/server.mjs +182 -160
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-calendar.ts +17 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-cold-parse.test.ts +78 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-cost-group-projection.test.ts +94 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-cost-group-projection.ts +5 -5
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-duration-lookup.test.ts +59 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-entity-label-views.test.ts +72 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-materialize-runs.ts +3 -4
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-query-entity-group.test.ts +171 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-query-entity-group.ts +36 -16
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-read-model-canonical-parsing.ts +7 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-read-model-canonical.ts +5 -15
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-read-model-keeps-orphan-telemetry-out-kanban-without.test.ts +1 -1
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-read-model-rebuild.ts +2 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-read-model-schema.ts +3 -2
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-read-model.test.ts +1 -1
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-schema-base-views.ts +22 -14
- package/templates/.agents/dashboard/packages/ui/package.json +1 -1
- package/templates/.agents/dashboard/tests/e2e/package.json +1 -1
- package/templates/.agents/design/.zaip-managed.json +3 -3
- package/templates/.agents/design/apps/catalog/package.json +1 -1
- package/templates/.agents/design/packages/local-runtime/package.json +1 -1
- package/templates/.agents/requirements/autonomous-assurance.md +1 -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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/templates/.agents/requirements/zaip-strategic-95.md +1 -1
- package/templates/.agents/runtime/VERSION +1 -1
- package/templates/.agents/runtime/bin/zaip.mjs +5 -5
- package/templates/.agents/runtime/checksums.sha256 +5 -5
- package/templates/.agents/runtime/manifest.json +1 -1
- package/templates/.agents/runtime/provenance.json +4 -4
- package/templates/.agents/runtime/sbom.cdx.json +1 -1
- package/templates/.agents/skills/zaip-skill-github-deploy/references/release-identity.md +17 -12
- package/templates/.agents/zaip-aios/README.md +4 -3
- package/templates/.agents/zaip-aios/VERSION +1 -1
- package/templates/.agents/zaip-aios/guides/26-qualidade-e-release.md +20 -9
- package/templates/template-manifest.json +97 -73
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
b146bd0c7c60b1ab43c4f71e0b1d2262c6df6da6f7053a0425f834ccb77a6b48 LICENSE
|
|
2
2
|
bc02cba77e8d51e5c580f43668863dc868eda66f1ff663bfaa49fcf3ca16320e THIRD_PARTY_NOTICES.md
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
b2f44d3b6e29f8b1b73ea4735f006affc4d198e1fd9c7d50e736159b1ef636c6 VERSION
|
|
4
|
+
07eff6c6d3ef380212d06003dd3e7b11b681d8100fd92846a6ed13742867219e bin/zaip.mjs
|
|
5
|
+
309fea15107cf79a2ef729be126a4cb65572215b480dc5a8820fb3aad6f515ab manifest.json
|
|
6
6
|
7f89219d7c567c82a51679ad136d84364bded7ac659492537e125d33b1d58a7a migrations/001-layout-v1.json
|
|
7
7
|
5f8c48b286d0b44d8fbb57a9a5d009a8a500439aa3148d750b8f193f72995c9f migrations/002-layout-v2.json
|
|
8
8
|
2d738247131a923ea6e3a32d0d1d6de763866fd96a8a8dc75d127a343809b0aa pnpm-lock.sha256
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
d2b2105141802e9e6bc46833181de0bb01532a7efaeda5e5b2db62ab02f89855 provenance.json
|
|
10
|
+
e3b827a4931e99acbe3ad9819648e651e672dc5b2cd1056a6d59ae4d56f4b2c6 sbom.cdx.json
|
|
11
11
|
b3ffedf9e146be802a15b4009f33e031dec3071ca1525e12c67606fd964a3067 schemas/contracts.schema.json
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"schema_version": 1,
|
|
3
3
|
"statement_type": "self_reported_build_integrity",
|
|
4
4
|
"authenticity": "unverified",
|
|
5
|
-
"version": "3.
|
|
5
|
+
"version": "3.1.0",
|
|
6
6
|
"source_origin": "zaip-aios:local-build",
|
|
7
7
|
"lockfile_sha256": "f8557f3600849eb880b8f245b63b80fed9a3e9addf2c5f2c6d492547af900219",
|
|
8
|
-
"sbom_sha256": "
|
|
9
|
-
"runtime_sha256": "
|
|
10
|
-
"statement_sha256": "
|
|
8
|
+
"sbom_sha256": "e3b827a4931e99acbe3ad9819648e651e672dc5b2cd1056a6d59ae4d56f4b2c6",
|
|
9
|
+
"runtime_sha256": "78b53fdb2c310ef79d25cae1952b57810af6fa1e02bd2e62fefbc16cc3fa34a1",
|
|
10
|
+
"statement_sha256": "22b6a50ec6c2af719fd2795fa1010d42be59e5de432914943032bf305838973e"
|
|
11
11
|
}
|
|
@@ -28,17 +28,22 @@ Consumer repositories remain GitHub-only and independent. Recognize the framewor
|
|
|
28
28
|
|
|
29
29
|
Publishing a GitHub Release in this framework triggers its npm workflow. Report this consequence in the GitHub publication scope and follow the configured pipeline through terminal status; no second npm skill or local publication step is needed. A push-only request does not create a Release or publish npm. A successful GitHub Release with failed/unobserved npm checks is a partial result.
|
|
30
30
|
|
|
31
|
-
`qualify-cli.yml`
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
31
|
+
`qualify-cli.yml` is manual-only. It does not run on every push. For an explicitly
|
|
32
|
+
requested extended qualification, dispatch it on the configured branch with the exact
|
|
33
|
+
current head `sha` and matching `npm_channel`. This extended path qualifies source
|
|
34
|
+
and the runtime matrix; it does not publish npm or create a Release.
|
|
35
|
+
|
|
36
|
+
With explicitly enabled `ZAIP_LOCAL_RELEASE_ENABLED=true`, guarded delivery uses
|
|
37
|
+
the signed local `full-v2` receipt and enrolled public trust. It does not require a
|
|
38
|
+
legacy `qualify-cli.yml` receipt or a private-draft pilot. GitHub verifies the
|
|
39
|
+
published assets and runs one read-only exact-TGZ installation/doctor smoke before
|
|
40
|
+
the separate npm publication job. Source tests and full qualification remain local.
|
|
41
|
+
|
|
42
|
+
Only when the reduced path is disabled does the legacy publisher require
|
|
43
|
+
`github-readiness.mjs` with `--workflow-path .github/workflows/qualify-cli.yml`
|
|
44
|
+
and `--checks-json '["receipt"]'` for the exact repository, SHA, branch and channel.
|
|
45
|
+
It verifies the qualifying run/attempt, receipt lifetime and artifact digests.
|
|
46
|
+
Missing or failed evidence never permits fallback publication. Receipts have a
|
|
47
|
+
maximum seven-day lifetime; a changed candidate requires new qualification.
|
|
43
48
|
|
|
44
49
|
Only the qualified GitHub Actions workflow may publish `@zaip-ai/cli` to npm. Never run `npm publish`, `pnpm publish`, or an equivalent local publication command. The workflow must bind the publication to the exact qualified SHA, tag, package version, and artifact digest.
|
|
@@ -64,10 +64,11 @@ Consulte [qualidade e release](guides/26-qualidade-e-release.md) para distinguir
|
|
|
64
64
|
checks locais, CI e aprovação de produção. Documentação não autoriza publicação
|
|
65
65
|
nem reabertura de entregas históricas bloqueadas.
|
|
66
66
|
|
|
67
|
-
##
|
|
67
|
+
## Funcionamento da linha v3
|
|
68
68
|
|
|
69
|
-
A documentação descreve `autonomy-v1
|
|
70
|
-
|
|
69
|
+
A documentação descreve `autonomy-v1`; publicação e qualificação devem ser
|
|
70
|
+
confirmadas pelos artefatos da release, não apenas pela versão deste checkout.
|
|
71
|
+
Os manifests deste checkout identificam o candidato `3.1.0`. Novos templates usam
|
|
71
72
|
Equilibrado e `execution.runtime: managed`: PRDs/SPECs gerenciados e tarefas
|
|
72
73
|
avulsas preferencialmente diretas. Configurações legadas sem essa opção mantêm
|
|
73
74
|
o default manual do schema; salvar configuração não inicia execução.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
3.
|
|
1
|
+
3.1
|
|
@@ -191,13 +191,19 @@ Testes passando comprovam validação técnica. Maturidade formal máxima exige
|
|
|
191
191
|
|
|
192
192
|
Ausência de uma dessas provas permanece explícita; não é convertida em sucesso.
|
|
193
193
|
|
|
194
|
-
##
|
|
194
|
+
## Linha v3: implementação, qualificação e publicação
|
|
195
195
|
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
196
|
+
A v3.0 foi publicada como `@zaip-ai/cli@3.0.0`, no commit
|
|
197
|
+
`ffc6c13867ec703211b7bba90c26b10a105c19fb`. Presets, diário durável por Task,
|
|
198
|
+
replanejamento governado, relay da decisão Gui e configuração no Dashboard estão
|
|
199
|
+
implementados. A publicação possui qualificação local do candidato; não equivale
|
|
200
|
+
a certificar todo workload de produção nem a concluir o PRD histórico.
|
|
199
201
|
|
|
200
|
-
|
|
202
|
+
Consulte a [matriz de implementação e prova](https://github.com/zaip-ai/zaip-aios/blob/main/docs/quality/v3-delivery-status.md).
|
|
203
|
+
A versão atual vem dos manifests e de `.agents/zaip-aios/VERSION`; cada manutenção
|
|
204
|
+
gera novo candidato e recibo, sem reutilizar aprovação ou mover a tag anterior.
|
|
205
|
+
|
|
206
|
+
Para qualificar uma nova candidata dessa linha, preserve um SHA único e comprove:
|
|
201
207
|
|
|
202
208
|
- Essencial 4/1 sem Astra automático, Equilibrado 10/3 e Persistente sem teto;
|
|
203
209
|
- reservas antes do provider, replay/restart sem reset e resultado desconhecido
|
|
@@ -218,7 +224,12 @@ altera silenciosamente matrizes de CI publicadas. Relatórios de candidatos
|
|
|
218
224
|
anteriores, testes simulados de modelos e evidência local não certificam
|
|
219
225
|
o candidato final nem seu uso em produção.
|
|
220
226
|
|
|
221
|
-
O [guia 19](19-assurance-e-autonomia.md) registra
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
227
|
+
O [guia 19](19-assurance-e-autonomia.md) registra as fronteiras atuais: controle
|
|
228
|
+
preventivo de cotas/modelos somente no despacho gerenciado; avulsa direta exige
|
|
229
|
+
autorização explícita desde a captura e identidade observada, sem executor
|
|
230
|
+
cerimonial. Revisão aplicável, Evidence e Gui continuam obrigatórios.
|
|
231
|
+
|
|
232
|
+
O benchmark comparativo histórico T08 permanece sem aprovação. Otimizações
|
|
233
|
+
com testes de correção e uma release publicada não comprovam economia ou SLA.
|
|
234
|
+
Não repita automaticamente a matriz histórica falha: preserve o diagnóstico e
|
|
235
|
+
defina uma medição independente com artefatos identificados e falhas observadas.
|