@zaip-ai/cli 3.4.0 → 3.5.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/config/agents/discovery.json +1 -1
- package/templates/.agents/dashboard/.zaip-managed.json +54 -38
- package/templates/.agents/dashboard/apps/frontend/dist/assets/{ProjectSettingsPage-B9GWkEyN.css → ProjectSettingsPage-CQMhvzvJ.css} +1 -1
- package/templates/.agents/dashboard/apps/frontend/dist/assets/ProjectSettingsPage-D46WWIKr.js +3 -0
- package/templates/.agents/dashboard/apps/frontend/dist/assets/{TraceabilityWorkspace-CqK3Psfy.js → TraceabilityWorkspace-BKBpJyLh.js} +1 -1
- package/templates/.agents/dashboard/apps/frontend/dist/assets/{index-Cl5EWx8R.js → index-Bas2TVju.js} +2 -2
- package/templates/.agents/dashboard/apps/frontend/dist/assets/index-CxrG_wRI.css +1 -0
- package/templates/.agents/dashboard/apps/frontend/dist/index.html +2 -2
- package/templates/.agents/dashboard/apps/frontend/package.json +1 -1
- package/templates/.agents/dashboard/apps/frontend/src/ProjectSettingsCard.tsx +5 -0
- package/templates/.agents/dashboard/apps/frontend/src/ProjectSettingsField.tsx +21 -0
- package/templates/.agents/dashboard/apps/frontend/src/ProjectSettingsPage.dom.test.ts +12 -1
- package/templates/.agents/dashboard/apps/frontend/src/ProjectSettingsPage.tsx +16 -28
- package/templates/.agents/dashboard/apps/frontend/src/ProjectStackEditor.tsx +25 -4
- package/templates/.agents/dashboard/apps/frontend/src/WorkspaceStatus.test.tsx +26 -8
- package/templates/.agents/dashboard/apps/frontend/src/WorkspaceStatus.tsx +9 -28
- package/templates/.agents/dashboard/apps/frontend/src/project-settings-copy.ts +13 -4
- package/templates/.agents/dashboard/apps/frontend/src/project-settings-model.ts +25 -1
- package/templates/.agents/dashboard/apps/frontend/src/project-settings-workspace.css +28 -0
- package/templates/.agents/dashboard/apps/frontend/src/project-settings.test.ts +39 -0
- package/templates/.agents/dashboard/apps/frontend/src/workspace-status.css +1 -14
- 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 +2 -2
- package/templates/.agents/dashboard/packages/local-runtime/dist/sqlite-read-model.cjs +73 -73
- package/templates/.agents/dashboard/packages/local-runtime/package.json +1 -1
- package/templates/.agents/dashboard/packages/local-runtime/scripts/validate-sqlite-read-model.mjs +38 -6
- package/templates/.agents/dashboard/packages/local-runtime/server.mjs +2 -2
- package/templates/.agents/dashboard/packages/local-runtime/src/project-settings.test.ts +2 -3
- package/templates/.agents/dashboard/packages/local-runtime/src/project-settings.ts +1 -1
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-pricing-provenance.test.ts +39 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-read-model-canonical.ts +2 -2
- 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 +78 -50
- package/templates/.agents/design/apps/catalog/dist/assets/index-D1JaPXfV.css +1 -0
- package/templates/.agents/design/apps/catalog/dist/assets/index-D2miO4-O.js +72 -0
- package/templates/.agents/design/apps/catalog/dist/assets/index-mvD5mwcC.js +72 -0
- package/templates/.agents/design/apps/catalog/dist/index.html +2 -2
- package/templates/.agents/design/apps/catalog/dist/storybook/assets/{CatalogShell-CvaciY0C.js → CatalogShell-BJ8b4xZr.js} +1 -1
- package/templates/.agents/design/apps/catalog/dist/storybook/assets/{Color-6AOWCN3U-DwBV1A1Y.js → Color-6AOWCN3U-CQLHzznn.js} +1 -1
- package/templates/.agents/design/apps/catalog/dist/storybook/assets/Components.stories-kxWwSKin.js +146 -0
- package/templates/.agents/design/apps/catalog/dist/storybook/assets/DashboardFilters.stories-Chm_dXV7.js +9 -0
- package/templates/.agents/design/apps/catalog/dist/storybook/assets/DashboardFiltersSpecimen-9CaCbGIZ.js +1 -0
- package/templates/.agents/design/apps/catalog/dist/storybook/assets/{DesignSystem.stories-2OCgtT0I.js → DesignSystem.stories-ED52wFjY.js} +1 -1
- package/templates/.agents/design/apps/catalog/dist/storybook/assets/{DocsRenderer-JROSPFPF-CODg0rSl.js → DocsRenderer-JROSPFPF-BcLgM80v.js} +4 -4
- package/templates/.agents/design/apps/catalog/dist/storybook/assets/{Primitives-BmeKjJW4.js → Primitives-DV6Bpudf.js} +1 -1
- package/templates/.agents/design/apps/catalog/dist/storybook/assets/{WithTooltip-7X4HQR7L-C5MI-3uZ.js → WithTooltip-7X4HQR7L-BKNiAz_E.js} +1 -1
- package/templates/.agents/design/apps/catalog/dist/storybook/assets/{WorkspaceStatus.stories-Tb_iQqVK.js → WorkspaceStatus.stories-BL19HGOo.js} +2 -2
- package/templates/.agents/design/apps/catalog/dist/storybook/assets/WorkspaceStatusSpecimen-DQnSS6s9.js +1 -0
- package/templates/.agents/design/apps/catalog/dist/storybook/assets/{chunk-DRQKCCAG-KSn75jcy.js → chunk-DRQKCCAG-DZBcXL-p.js} +1 -1
- package/templates/.agents/design/apps/catalog/dist/storybook/assets/{chunk-W22LQPXL-C4LS1Thf.js → chunk-W22LQPXL-CF3y2mfo.js} +1 -1
- package/templates/.agents/design/apps/catalog/dist/storybook/assets/{components-DV1BRgMY.js → components-BVjxMRGq.js} +5 -5
- package/templates/.agents/design/apps/catalog/dist/storybook/assets/formatter-L2YTDE3Q-Do9sjqiW.js +1 -0
- package/templates/.agents/design/apps/catalog/dist/storybook/assets/{iframe-CBbPFx5G.js → iframe-CTWGZcEe.js} +4 -4
- package/templates/.agents/design/apps/catalog/dist/storybook/assets/{react-18-C9IPGXtb.js → react-18-B9_a4mHb.js} +1 -1
- package/templates/.agents/design/apps/catalog/dist/storybook/assets/react-NrUxok8K.js +1 -0
- package/templates/.agents/design/apps/catalog/dist/storybook/assets/{syntaxhighlighter-YFXUGROL-ZgDQjyWI.js → syntaxhighlighter-YFXUGROL-F_p8E2xc.js} +1 -1
- package/templates/.agents/design/apps/catalog/dist/storybook/assets/{theming-Cx9-gH6l.js → theming-fbSD9ZLF.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/dist/storybook/sb-addons/a11y-2/manager-bundle.js +3 -3
- package/templates/.agents/design/apps/catalog/dist/storybook/sb-addons/docs-1/manager-bundle.js +4 -4
- package/templates/.agents/design/apps/catalog/dist/storybook/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +60 -60
- package/templates/.agents/design/apps/catalog/package.json +1 -1
- package/templates/.agents/design/apps/catalog/src/components/StackVersionFieldSpecimen.tsx +70 -0
- package/templates/.agents/design/apps/catalog/src/components/WorkspaceStatusSpecimen.tsx +23 -7
- package/templates/.agents/design/apps/catalog/src/pages/ComponentsPage.tsx +20 -6
- package/templates/.agents/design/apps/catalog/src/stories/Components.stories.tsx +14 -0
- package/templates/.agents/design/apps/catalog/src/stories/WorkspaceStatus.stories.tsx +5 -2
- package/templates/.agents/design/apps/catalog/src/styles/components.css +1 -1
- package/templates/.agents/design/apps/catalog/src/styles/stack-version-field.css +17 -0
- 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/rules/workflow.md +1 -1
- package/templates/.agents/runtime/VERSION +1 -1
- package/templates/.agents/runtime/bin/zaip.mjs +9 -9
- 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/SKILL.md +5 -4
- package/templates/.agents/skills/zaip-skill-github-deploy/agents/openai.yaml +1 -1
- package/templates/.agents/skills/zaip-skill-github-deploy/references/deployment-workflow.md +7 -7
- package/templates/.agents/skills/zaip-skill-github-deploy/scripts/consumer-release-preparation.mjs +1 -2
- package/templates/.agents/skills/zaip-skill-github-deploy/scripts/consumer-release-preparation.test.mjs +9 -1
- package/templates/.agents/skills/zaip-skill-github-deploy/scripts/github-deploy-contract.test.mjs +23 -0
- package/templates/.agents/skills/zaip-skill-github-deploy/scripts/preflight.mjs +2 -6
- package/templates/.agents/skills/zaip-skill-github-deploy/scripts/preflight.test.mjs +15 -1
- package/templates/.agents/zaip-aios/VERSION +1 -1
- package/templates/template-manifest.json +169 -125
- package/templates/.agents/dashboard/apps/frontend/dist/assets/ProjectSettingsPage-DVCPPV75.js +0 -3
- package/templates/.agents/dashboard/apps/frontend/dist/assets/index-Cwylbh_N.css +0 -1
- package/templates/.agents/design/apps/catalog/dist/storybook/assets/Components.stories-3dqK5g3e.js +0 -142
- package/templates/.agents/design/apps/catalog/dist/storybook/assets/WorkspaceStatusSpecimen-CD54pw0-.js +0 -1
- package/templates/.agents/design/apps/catalog/dist/storybook/assets/formatter-L2YTDE3Q-BU_68im1.js +0 -1
- package/templates/.agents/design/apps/catalog/dist/storybook/assets/react-CEv2qkJT.js +0 -1
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { Card } from "./Primitives.js";
|
|
2
|
+
|
|
3
|
+
type VersionKind = "exact" | "reference";
|
|
4
|
+
|
|
5
|
+
export type StackVersionFieldFixture = {
|
|
6
|
+
name: string;
|
|
7
|
+
technology: string;
|
|
8
|
+
value: string;
|
|
9
|
+
kind: VersionKind;
|
|
10
|
+
source: string;
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
/** Stable native adapter for the Setup Project version-or-reference input contract. */
|
|
14
|
+
export const stackVersionFieldFixtures: readonly StackVersionFieldFixture[] = [
|
|
15
|
+
{
|
|
16
|
+
name: "Versão exata",
|
|
17
|
+
technology: "TypeScript",
|
|
18
|
+
value: "7.0.2",
|
|
19
|
+
kind: "exact",
|
|
20
|
+
source: "npm:typescript",
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
name: "Serviço em nuvem",
|
|
24
|
+
technology: "PostgreSQL via Supabase",
|
|
25
|
+
value: "Serviço em nuvem",
|
|
26
|
+
kind: "reference",
|
|
27
|
+
source: "service:supabase-postgresql",
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
name: "Hospedagem em nuvem",
|
|
31
|
+
technology: "Hostinger VPS",
|
|
32
|
+
value: "Serviço em nuvem",
|
|
33
|
+
kind: "reference",
|
|
34
|
+
source: "provider:hostinger-vps",
|
|
35
|
+
},
|
|
36
|
+
] as const;
|
|
37
|
+
|
|
38
|
+
export function StackVersionFieldSpecimen({
|
|
39
|
+
fixture,
|
|
40
|
+
}: {
|
|
41
|
+
fixture: StackVersionFieldFixture;
|
|
42
|
+
}) {
|
|
43
|
+
const isReference = fixture.kind === "reference";
|
|
44
|
+
const label = isReference ? "Referência descritiva" : "Versão exata";
|
|
45
|
+
|
|
46
|
+
return (
|
|
47
|
+
<Card>
|
|
48
|
+
<div className="stack-version-field-heading">
|
|
49
|
+
<div>
|
|
50
|
+
<p className="metric-label">{label}</p>
|
|
51
|
+
<h3>{fixture.technology}</h3>
|
|
52
|
+
</div>
|
|
53
|
+
<span className={`stack-version-kind is-${fixture.kind}`}>{label}</span>
|
|
54
|
+
</div>
|
|
55
|
+
<label className="stack-version-field">
|
|
56
|
+
<span>{isReference ? "Versão atual ou referência" : "Versão exata"}</span>
|
|
57
|
+
<input
|
|
58
|
+
aria-describedby={`stack-version-source-${fixture.name}`}
|
|
59
|
+
className={isReference ? "is-reference-value" : undefined}
|
|
60
|
+
defaultValue={fixture.value}
|
|
61
|
+
inputMode={isReference ? "text" : "decimal"}
|
|
62
|
+
readOnly
|
|
63
|
+
/>
|
|
64
|
+
</label>
|
|
65
|
+
<p className="stack-version-source" id={`stack-version-source-${fixture.name}`}>
|
|
66
|
+
{fixture.source}
|
|
67
|
+
</p>
|
|
68
|
+
</Card>
|
|
69
|
+
);
|
|
70
|
+
}
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import { Card } from "./Primitives.js";
|
|
2
2
|
|
|
3
3
|
export const workspaceStatusFixtures = [
|
|
4
|
-
{ name: "
|
|
5
|
-
{ name: "Ausente", message: "Lifecycle não inicializado" },
|
|
6
|
-
{ name: "Inválido", message: "Manifesto do lifecycle inválido" },
|
|
7
|
-
{
|
|
4
|
+
{ name: "Configuração", kind: "settings", message: "C:/projetos/zaip-growth" },
|
|
5
|
+
{ name: "Ausente", kind: "warning", message: "Lifecycle não inicializado" },
|
|
6
|
+
{ name: "Inválido", kind: "warning", message: "Manifesto do lifecycle inválido" },
|
|
7
|
+
{
|
|
8
|
+
name: "Indisponível",
|
|
9
|
+
kind: "warning",
|
|
10
|
+
message: "Não foi possível consultar a saúde do Dashboard",
|
|
11
|
+
},
|
|
8
12
|
] as const;
|
|
9
13
|
|
|
10
14
|
/** Native adapter: the catalog cannot depend on the Dashboard application. */
|
|
@@ -13,12 +17,24 @@ export function WorkspaceStatusSpecimen({
|
|
|
13
17
|
}: {
|
|
14
18
|
fixture?: (typeof workspaceStatusFixtures)[number];
|
|
15
19
|
}) {
|
|
20
|
+
if (fixture.kind === "settings") {
|
|
21
|
+
return (
|
|
22
|
+
<Card>
|
|
23
|
+
<h3>{fixture.name}</h3>
|
|
24
|
+
<section aria-label="Configuração do projeto">
|
|
25
|
+
<strong>Caminho do projeto</strong>
|
|
26
|
+
<p>
|
|
27
|
+
<code style={{ overflowWrap: "anywhere" }}>{fixture.message}</code>
|
|
28
|
+
</p>
|
|
29
|
+
</section>
|
|
30
|
+
</Card>
|
|
31
|
+
);
|
|
32
|
+
}
|
|
33
|
+
|
|
16
34
|
return (
|
|
17
35
|
<Card>
|
|
18
36
|
<h3>{fixture.name}</h3>
|
|
19
|
-
<aside aria-label="
|
|
20
|
-
<strong>zaip-growth</strong>
|
|
21
|
-
<p>C:/projetos/zaip-growth</p>
|
|
37
|
+
<aside aria-label="Saúde do Dashboard" style={{ overflowWrap: "anywhere" }}>
|
|
22
38
|
<p>{fixture.message}</p>
|
|
23
39
|
</aside>
|
|
24
40
|
</Card>
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { AutonomySpecimen, autonomyFixtures } from "../components/AutonomySpecimen.js";
|
|
2
|
-
import {
|
|
3
|
-
DashboardFiltersSpecimen,
|
|
4
|
-
dashboardFilterFixtures,
|
|
5
|
-
} from "../components/DashboardFiltersSpecimen.js";
|
|
6
2
|
import { PageIntro, Section } from "../components/CatalogShell.js";
|
|
7
3
|
import {
|
|
8
4
|
CostPopulationSpecimen,
|
|
9
5
|
costPopulationFixtures,
|
|
10
6
|
} from "../components/CostPopulationSpecimen.js";
|
|
7
|
+
import {
|
|
8
|
+
DashboardFiltersSpecimen,
|
|
9
|
+
dashboardFilterFixtures,
|
|
10
|
+
} from "../components/DashboardFiltersSpecimen.js";
|
|
11
11
|
import {
|
|
12
12
|
EstimatedCostSpecimen,
|
|
13
13
|
estimatedCostFixtures,
|
|
@@ -30,6 +30,10 @@ import {
|
|
|
30
30
|
ProjectStatusSpecimen,
|
|
31
31
|
projectStatusFixtures,
|
|
32
32
|
} from "../components/ProjectStatusSpecimen.js";
|
|
33
|
+
import {
|
|
34
|
+
StackVersionFieldSpecimen,
|
|
35
|
+
stackVersionFieldFixtures,
|
|
36
|
+
} from "../components/StackVersionFieldSpecimen.js";
|
|
33
37
|
import {
|
|
34
38
|
WorkspaceStatusSpecimen,
|
|
35
39
|
workspaceStatusFixtures,
|
|
@@ -75,8 +79,8 @@ export function ComponentsPage() {
|
|
|
75
79
|
</EditorialHero>
|
|
76
80
|
</Section>
|
|
77
81
|
<Section
|
|
78
|
-
title="
|
|
79
|
-
description="
|
|
82
|
+
title="Identidade e saúde do Dashboard"
|
|
83
|
+
description="O caminho absoluto fica restrito à Configuração do projeto. A superfície global aparece somente para avisos de saúde; lifecycle ausente ou inválido impede a exibição de zeros como dados válidos."
|
|
80
84
|
>
|
|
81
85
|
{workspaceStatusFixtures.map((fixture) => (
|
|
82
86
|
<WorkspaceStatusSpecimen key={fixture.name} fixture={fixture} />
|
|
@@ -109,6 +113,16 @@ export function ComponentsPage() {
|
|
|
109
113
|
</div>
|
|
110
114
|
))}
|
|
111
115
|
</Section>
|
|
116
|
+
<Section
|
|
117
|
+
title="Versões e referências da stack"
|
|
118
|
+
description="No Setup Project, versões exatas usam valor técnico curto. Serviços em nuvem e capacidade de hospedagem usam referência descritiva, identificada por texto e tratamento visual próprio — sem parecer uma versão numérica."
|
|
119
|
+
>
|
|
120
|
+
<div className="stack-version-field-grid">
|
|
121
|
+
{stackVersionFieldFixtures.map((fixture) => (
|
|
122
|
+
<StackVersionFieldSpecimen fixture={fixture} key={fixture.name} />
|
|
123
|
+
))}
|
|
124
|
+
</div>
|
|
125
|
+
</Section>
|
|
112
126
|
<Section
|
|
113
127
|
title="Custo estimado compacto"
|
|
114
128
|
description="Adaptador nativo: título e taxas compactos; cobertura parcial fica na ajuda acessível. Ausência não vira zero nem média de uma população incompleta."
|
|
@@ -23,6 +23,10 @@ import {
|
|
|
23
23
|
ProjectStatusSpecimen,
|
|
24
24
|
projectStatusFixtures,
|
|
25
25
|
} from "../components/ProjectStatusSpecimen.js";
|
|
26
|
+
import {
|
|
27
|
+
StackVersionFieldSpecimen,
|
|
28
|
+
stackVersionFieldFixtures,
|
|
29
|
+
} from "../components/StackVersionFieldSpecimen.js";
|
|
26
30
|
import { ComponentsPage } from "../pages/ComponentsPage.js";
|
|
27
31
|
|
|
28
32
|
const meta = {
|
|
@@ -113,6 +117,16 @@ export const ProjectInstallationStatus: Story = {
|
|
|
113
117
|
),
|
|
114
118
|
};
|
|
115
119
|
|
|
120
|
+
export const StackVersionsAndReferences: Story = {
|
|
121
|
+
render: () => (
|
|
122
|
+
<div className="stack-version-field-grid">
|
|
123
|
+
{stackVersionFieldFixtures.map((fixture) => (
|
|
124
|
+
<StackVersionFieldSpecimen fixture={fixture} key={fixture.name} />
|
|
125
|
+
))}
|
|
126
|
+
</div>
|
|
127
|
+
),
|
|
128
|
+
};
|
|
129
|
+
|
|
116
130
|
export const Tables: Story = {
|
|
117
131
|
render: () => <DataTable />,
|
|
118
132
|
};
|
|
@@ -2,8 +2,11 @@ import {
|
|
|
2
2
|
WorkspaceStatusSpecimen,
|
|
3
3
|
workspaceStatusFixtures,
|
|
4
4
|
} from "../components/WorkspaceStatusSpecimen.js";
|
|
5
|
-
export default {
|
|
6
|
-
|
|
5
|
+
export default {
|
|
6
|
+
title: "Components/Identidade e saúde do Dashboard",
|
|
7
|
+
component: WorkspaceStatusSpecimen,
|
|
8
|
+
};
|
|
9
|
+
export const ProjectSettings = { args: { fixture: workspaceStatusFixtures[0] } };
|
|
7
10
|
export const Missing = { args: { fixture: workspaceStatusFixtures[1] } };
|
|
8
11
|
export const Invalid = { args: { fixture: workspaceStatusFixtures[2] } };
|
|
9
12
|
export const Unavailable = { args: { fixture: workspaceStatusFixtures[3] } };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@import "./stack-version-field.css";
|
|
1
2
|
.card {
|
|
2
3
|
border: 1px solid var(--border);
|
|
3
4
|
border-radius: 24px;
|
|
@@ -498,7 +499,6 @@ tbody tr:last-child td {
|
|
|
498
499
|
width: 100%;
|
|
499
500
|
}
|
|
500
501
|
}
|
|
501
|
-
|
|
502
502
|
@media (prefers-reduced-motion: reduce) {
|
|
503
503
|
.editorial-hero-orbit {
|
|
504
504
|
box-shadow: none;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
.stack-version-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
|
|
2
|
+
.stack-version-field-grid > .card:last-child { grid-column: span 2; }
|
|
3
|
+
.stack-version-field-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
|
|
4
|
+
.stack-version-field-heading h3 { margin: 8px 0 0; font-size: 1.1rem; }
|
|
5
|
+
.stack-version-kind { flex: 0 0 auto; border-radius: 999px; padding: 5px 8px; font-size: 0.72rem; font-weight: 700; }
|
|
6
|
+
.stack-version-kind.is-exact { background: #f0fdf4; color: #166534; }
|
|
7
|
+
.stack-version-kind.is-reference { background: var(--primary-soft); color: var(--primary-ink); }
|
|
8
|
+
.stack-version-field { display: grid; gap: 8px; margin-top: 18px; color: var(--text); font-size: 0.82rem; font-weight: 700; }
|
|
9
|
+
.stack-version-field input { width: 100%; min-height: 44px; border: 1px solid #cbd5e1; border-radius: 10px; padding: 9px 10px; background: var(--surface-muted); color: var(--text); font: inherit; font-size: 0.88rem; overflow: hidden; text-overflow: ellipsis; }
|
|
10
|
+
.stack-version-field input.is-reference-value { border-color: #9edcf2; background: #effaff; color: #075985; font-weight: 650; }
|
|
11
|
+
.stack-version-field input:focus-visible { outline: 3px solid color-mix(in srgb, var(--focus) 38%, transparent); outline-offset: 2px; }
|
|
12
|
+
.stack-version-source { margin: 10px 0 0; color: var(--text-muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.75rem; overflow-wrap: anywhere; }
|
|
13
|
+
|
|
14
|
+
@media (max-width: 720px) {
|
|
15
|
+
.stack-version-field-grid,
|
|
16
|
+
.stack-version-field-grid > .card:last-child { grid-template-columns: 1fr; grid-column: auto; }
|
|
17
|
+
}
|
|
@@ -23,6 +23,6 @@ phases: [planning, execution, verification, evidence]
|
|
|
23
23
|
- `RUN-*` identifica invocação física: raiz `orchestrator`, pai nulo/profundidade zero; filha `delegated`, pai/raiz/profundidade positiva, mesmo quando o agente filho orquestra uma Task. Task é a unidade de tentativa; PRD/SPEC coordenam dependências e aceite parental. `MCALL-*` pertence a uma invocação; fechamento e retomada seguem `RULE-RUN-LIFECYCLE-CLOSURE`.
|
|
24
24
|
- Reconciliação global só após confirmação humana no popup, nunca abrir dashboard/turno/intervalo; usa `task_complete` exato ou falha órfã após dez minutos, sem inferir cancelamento/sucesso. Risco é `lite|standard|critical`; anexos só por risco/Evidence. Assurance V1: standalone lite uma validação/Evidence e teste só lógica/regressão; standard 2–3 validações, teste e Evidence consolidada; critical 3+ e quality review independente. Mutação, rollback, commit final e Evidence/AC dependem de sinais persistidos; sem sinal preserve gate conservador. SPEC/PRD adicionam matriz parental, 3 validações/Evidences, integração e revisão independente.
|
|
25
25
|
- Novos projetos usam `execution.runtime: managed`: PRD/SPEC gerenciados, avulsas diretas. Ausente/manual não invoca provider; autonomous permite também Task gerenciada explícita. Commit exige Task real e título: `[CODEX|CLAUDE] [P:XXXX] [S:XXXX] [T:XXXX]`, ou `[Task-first:XXXX]` sem PRD/SPEC. Assunto ≤96, título reduz por palavra, IDs completos em trailers `ZAIP-*`. Somente `.agents/records/**` e `.local/**` dispensam identidade; `.agents` inteira não. Nunca escolher última Task global. Política: `.agents/skills/zaip-skill-task/references/commit-policy.md`.
|
|
26
|
-
- Pedido explícito de `deploy|push|publicar|publicação GitHub` autoriza `$zaip-skill-github-deploy` a reconciliar branch/worktree selecionados e commitar o diff evidenciado com pathspecs explícitos. Consumidor é GitHub-only e independente. Release inicia `v1.0`, incrementa minor, muda major só por pedido e reutiliza tag só com SHA idêntico. No framework, o helper resolve `vN.N` e pacote `N.N.0`; só GitHub Actions publica npm. Release beta é prerelease sem sufixo; `main` é promoção humana. Use `rebase` por padrão ou `merge` escolhido pelo usuário, com referência recuperável e stash nomeado. Produto exige Task atribuída; publicar commits existentes continua Git-only. Nunca staging amplo, `git add -A`, force, segredos, squash, feature alheia ou outro worktree.
|
|
26
|
+
- Pedido explícito de `deploy|push|publicar|publicação GitHub` autoriza `$zaip-skill-github-deploy` a reconciliar branch/worktree selecionados e commitar o diff evidenciado com pathspecs explícitos. A branch local ou o estado detached identificam a origem; a branch configurada identifica o alvo remoto e não exige checkout local nela. Preserve uma referência recuperável, reconcilie o candidato por SHA e publique somente por refspec explícito. Consumidor é GitHub-only e independente. Release inicia `v1.0`, incrementa minor, muda major só por pedido e reutiliza tag só com SHA idêntico. No framework, o helper resolve `vN.N` e pacote `N.N.0`; só GitHub Actions publica npm. Release beta é prerelease sem sufixo; `main` é promoção humana. Use `rebase` por padrão ou `merge` escolhido pelo usuário, com referência recuperável e stash nomeado. Produto exige Task atribuída; publicar commits existentes continua Git-only. Nunca staging amplo, `git add -A`, force, segredos, squash, feature alheia ou outro worktree.
|
|
27
27
|
- Executar uma entrega autoriza seu commit local via `task commit TASK --files PATH[,PATH] --run RUN` antes da prova final; preserve o index alheio e resolva sobreposição de autoria. Git, HEAD e identidade devem estar prontos antes de iniciar. Conversas não criam commits artificiais. `validation execute` usa o Node do host e script relativo versionado/revisado no SHA, sem código inline/loaders; a worktree comprova o candidato, não é sandbox do SO. Só essa prova separa alterações concorrentes da entrega intacta; registros manuais mantêm o gate conservador. Documento externo exige revisão identificada ou exportação versionada. Commit não autoriza push nem substitui revisão/finalizador.
|
|
28
28
|
- Plano visível: `DEFINE:` contexto/resultado/critério, `PLAN:` ciclo/DAG, `EXECUTE:` mudança, `VERIFY:` valida/Evidence/encerra; não use artefato como fase nem narre comandos internos. Registre decisão humana/IA com origem junto de Change/Execution; derive ledger do Git diff e preserve alterações do usuário. Estado novo fica em `.agents/records/<kind>/<ano>/<mês>`; diário, `.agents/data` e V1 são legado só leitura até migração explícita.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
3.
|
|
1
|
+
3.5.0
|