@zaip-ai/cli 4.2.0 → 4.3.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/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +3 -1
- package/dist/commands/init.js.map +1 -1
- package/dist/services/adapters.d.ts +2 -2
- package/dist/services/adapters.d.ts.map +1 -1
- package/dist/services/adapters.js +11 -63
- package/dist/services/adapters.js.map +1 -1
- package/dist/services/agent-adapters.d.ts.map +1 -1
- package/dist/services/agent-adapters.js +3 -7
- package/dist/services/agent-adapters.js.map +1 -1
- package/dist/services/agent-adapters.test.js +43 -11
- package/dist/services/agent-adapters.test.js.map +1 -1
- package/dist/services/codex-config-template.js +2 -2
- package/dist/services/codex-conversation-lifecycle-hook.d.ts.map +1 -1
- package/dist/services/codex-conversation-lifecycle-hook.js +38 -14
- package/dist/services/codex-conversation-lifecycle-hook.js.map +1 -1
- package/dist/services/codex-hook-activation.d.ts +4 -0
- package/dist/services/codex-hook-activation.d.ts.map +1 -0
- package/dist/services/codex-hook-activation.js +64 -0
- package/dist/services/codex-hook-activation.js.map +1 -0
- package/dist/services/codex-model-policy.d.ts +4 -0
- package/dist/services/codex-model-policy.d.ts.map +1 -0
- package/dist/services/codex-model-policy.js +24 -0
- package/dist/services/codex-model-policy.js.map +1 -0
- package/dist/services/codex-native-tool-authority-template.d.ts +2 -0
- package/dist/services/codex-native-tool-authority-template.d.ts.map +1 -0
- package/dist/services/codex-native-tool-authority-template.js +89 -0
- package/dist/services/codex-native-tool-authority-template.js.map +1 -0
- package/dist/services/codex-pre-tool-hook-template.d.ts.map +1 -1
- package/dist/services/codex-pre-tool-hook-template.js +59 -86
- package/dist/services/codex-pre-tool-hook-template.js.map +1 -1
- package/dist/services/codex-pre-tool-hook-template.test.js +200 -1
- package/dist/services/codex-pre-tool-hook-template.test.js.map +1 -1
- package/dist/services/codex-pre-tool-support-template.d.ts.map +1 -1
- package/dist/services/codex-pre-tool-support-template.js +303 -12
- package/dist/services/codex-pre-tool-support-template.js.map +1 -1
- 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 +11 -4
- package/dist/services/codex-subagent-hook-template.js.map +1 -1
- package/dist/services/codex-validation-runtime-template.d.ts +3 -0
- package/dist/services/codex-validation-runtime-template.d.ts.map +1 -0
- package/dist/services/codex-validation-runtime-template.js +18 -0
- package/dist/services/codex-validation-runtime-template.js.map +1 -0
- package/dist/services/codex-windows-hook-command.js +1 -1
- package/dist/services/codex-windows-hook-command.js.map +1 -1
- package/dist/services/codex-windows-hook-command.test.js +22 -0
- package/dist/services/codex-windows-hook-command.test.js.map +1 -1
- package/dist/services/global-codex-config-fixtures.d.ts +12 -0
- package/dist/services/global-codex-config-fixtures.d.ts.map +1 -0
- package/dist/services/global-codex-config-fixtures.js +38 -0
- package/dist/services/global-codex-config-fixtures.js.map +1 -0
- package/dist/services/global-codex-config-migration.test.d.ts +2 -0
- package/dist/services/global-codex-config-migration.test.d.ts.map +1 -0
- package/dist/services/global-codex-config-migration.test.js +301 -0
- package/dist/services/global-codex-config-migration.test.js.map +1 -0
- package/dist/services/global-codex-config-transaction.d.ts +15 -0
- package/dist/services/global-codex-config-transaction.d.ts.map +1 -0
- package/dist/services/global-codex-config-transaction.js +89 -0
- package/dist/services/global-codex-config-transaction.js.map +1 -0
- package/dist/services/global-codex-config-transaction.test.d.ts +2 -0
- package/dist/services/global-codex-config-transaction.test.d.ts.map +1 -0
- package/dist/services/global-codex-config-transaction.test.js +145 -0
- package/dist/services/global-codex-config-transaction.test.js.map +1 -0
- package/dist/services/global-codex-config.d.ts +10 -11
- package/dist/services/global-codex-config.d.ts.map +1 -1
- package/dist/services/global-codex-config.js +225 -107
- package/dist/services/global-codex-config.js.map +1 -1
- package/dist/services/global-codex-config.test.js +6 -6
- package/dist/services/global-codex-config.test.js.map +1 -1
- package/dist/services/hook-readiness.d.ts +7 -0
- package/dist/services/hook-readiness.d.ts.map +1 -0
- package/dist/services/hook-readiness.js +17 -0
- package/dist/services/hook-readiness.js.map +1 -0
- package/dist/services/logger.d.ts +2 -0
- package/dist/services/logger.d.ts.map +1 -1
- package/dist/services/logger.js +15 -1
- package/dist/services/logger.js.map +1 -1
- package/dist/services/logger.test.js +3 -0
- package/dist/services/logger.test.js.map +1 -1
- package/dist/services/managed-adapter.d.ts +6 -0
- package/dist/services/managed-adapter.d.ts.map +1 -0
- package/dist/services/managed-adapter.js +63 -0
- package/dist/services/managed-adapter.js.map +1 -0
- package/dist/types.d.ts +2 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/templates/.agents/README.md +8 -0
- package/templates/.agents/config/agents/discovery.json +1 -1
- package/templates/.agents/config/clients/codex/agents/zaip-agent-backend.toml +1 -2
- package/templates/.agents/config/clients/codex/agents/zaip-agent-brand-strategist.toml +1 -2
- package/templates/.agents/config/clients/codex/agents/zaip-agent-builder.toml +1 -2
- package/templates/.agents/config/clients/codex/agents/zaip-agent-cloud-engineer.toml +1 -2
- package/templates/.agents/config/clients/codex/agents/zaip-agent-data-analyst.toml +1 -2
- package/templates/.agents/config/clients/codex/agents/zaip-agent-designer.toml +1 -2
- package/templates/.agents/config/clients/codex/agents/zaip-agent-frontend.toml +1 -2
- package/templates/.agents/config/clients/codex/agents/zaip-agent-general-operations.toml +1 -2
- package/templates/.agents/config/clients/codex/agents/zaip-agent-governance-compliance.toml +1 -2
- package/templates/.agents/config/clients/codex/agents/zaip-agent-growth-strategist.toml +1 -2
- package/templates/.agents/config/clients/codex/agents/zaip-agent-marketing-analyst.toml +1 -2
- package/templates/.agents/config/clients/codex/agents/zaip-agent-orchestrator.toml +1 -2
- package/templates/.agents/config/clients/codex/agents/zaip-agent-refactoring-specialist.toml +1 -2
- package/templates/.agents/config/clients/codex/agents/zaip-agent-sales-specialist.toml +1 -2
- package/templates/.agents/config/clients/codex/agents/zaip-agent-task-executor.toml +1 -2
- package/templates/.agents/config/clients/codex/agents/zaip-agent-website-developer.toml +1 -2
- package/templates/.agents/config/clients/codex/agents/zaip-agent-writer.toml +1 -2
- package/templates/.agents/dashboard/.zaip-managed.json +40 -32
- package/templates/.agents/dashboard/apps/frontend/dist/assets/{DashboardHelpDialog-DlN5EMmD.js → DashboardHelpDialog-CkQ_y8kg.js} +60 -1
- package/templates/.agents/dashboard/apps/frontend/dist/assets/{ProjectSettingsPage-BRdoeTWk.js → ProjectSettingsPage-doIMhei7.js} +1 -1
- package/templates/.agents/dashboard/apps/frontend/dist/assets/{TraceabilityWorkspace-B_5u4Xnp.js → TraceabilityWorkspace-C_4ftjyB.js} +1 -1
- package/templates/.agents/dashboard/apps/frontend/dist/assets/{index-C4rLXrz_.js → index-Rbmpz4UO.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 +175 -175
- package/templates/.agents/dashboard/packages/local-runtime/dist/sqlite-read-model.cjs +135 -135
- package/templates/.agents/dashboard/packages/local-runtime/package.json +1 -1
- package/templates/.agents/dashboard/packages/local-runtime/server.mjs +175 -175
- package/templates/.agents/dashboard/packages/local-runtime/src/server-operation-detail.test.ts +106 -0
- package/templates/.agents/dashboard/packages/local-runtime/src/server.test.ts +0 -13
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-read-model-counts-every-root-execution-day-returns.test.ts +17 -230
- package/templates/.agents/dashboard/packages/local-runtime/src/sqlite-read-model-counts-fixture.test-support.ts +239 -0
- package/templates/.agents/dashboard/packages/local-runtime/start-dashboard-launch-page.test.mjs +28 -8
- 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/rules/astra-diagnostic.md +1 -1
- package/templates/.agents/runtime/VERSION +1 -1
- package/templates/.agents/runtime/bin/zaip.mjs +627 -177
- 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-execution/SKILL.md +1 -1
- package/templates/.agents/skills/zaip-skill-execution/references/correction-cycle.md +26 -0
- package/templates/.agents/skills/zaip-skill-execution/references/runtime-governance.md +2 -0
- package/templates/.agents/skills/zaip-skill-release-qualification/references/local-preparation.md +31 -1
- package/templates/.agents/skills/zaip-skill-setup/SKILL.md +26 -1
- package/templates/.agents/skills/zaip-skill-task/references/commit-policy.md +8 -1
- package/templates/.agents/zaip-aios/VERSION +1 -1
- package/templates/.agents/zaip-aios/guides/14-troubleshooting.md +52 -1
- package/templates/template-manifest.json +95 -87
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
name = "zaip-agent-governance-compliance"
|
|
3
3
|
description = "Prepare operational governance and compliance artifacts for HR, legal operations, policies, privacy, vendors, and risks inside declared scopes."
|
|
4
4
|
nickname_candidates = ["renata_governance_compliance_specialist_zaip_agent"]
|
|
5
|
-
model = "gpt-6-sol"
|
|
6
|
-
model_reasoning_effort = "medium"
|
|
7
5
|
sandbox_mode = "workspace-write"
|
|
8
6
|
developer_instructions = """
|
|
9
7
|
Operate as Codex agent zaip-agent-governance-compliance (ZAIP catalog id agent-governance-compliance) with role builder.
|
|
@@ -12,6 +10,7 @@ Capabilities: governance-compliance, task-delivery, hr-artifacts, legal-operatio
|
|
|
12
10
|
Allowed tools: apply-patch, shell-read, test-runner.
|
|
13
11
|
Available skills: zaip-skill-change, zaip-skill-decisions, zaip-skill-governance-compliance; load matching skills only. Change/execution skills apply to persistent delivery; Meta Ads applies only to Meta work.
|
|
14
12
|
Keep the invoked model and reasoning effort immutable for this Run; report unavailable effective configuration as unavailable.
|
|
13
|
+
Model and reasoning effort are controlled by the authorized dispatch policy. Catalog preferences are dispatch defaults, not permanent native locks. Before dispatch, the authorized host must select and validate the model/effort allowed by the frozen Task policy and the host's manual selection. Record the requested configuration separately from the effective model/effort observed from the host; never silently inherit a parent configuration or claim a model switch from instructions. If the host cannot select or verify the required configuration, report the capability as unavailable and return the blocked dispatch to the orchestrator.
|
|
15
14
|
Write scopes: declared-write-scope.
|
|
16
15
|
The Codex host grants workspace-write at the workspace boundary, not per-path. Treat the declared write scopes as mandatory: do not modify files outside them; report any required expansion to the parent before writing.
|
|
17
16
|
Inputs: task, requirements, governance-context.
|
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
name = "zaip-agent-growth-strategist"
|
|
3
3
|
description = "Advise on business strategy, Growth, RevOps, portfolio priorities, business models, and revenue-or-cost decisions inside declared scopes."
|
|
4
4
|
nickname_candidates = ["robert_growth_strategist_zaip_agent"]
|
|
5
|
-
model = "gpt-6-sol"
|
|
6
|
-
model_reasoning_effort = "medium"
|
|
7
5
|
sandbox_mode = "workspace-write"
|
|
8
6
|
developer_instructions = """
|
|
9
7
|
Operate as Codex agent zaip-agent-growth-strategist (ZAIP catalog id agent-growth-strategist) with role builder.
|
|
@@ -12,6 +10,7 @@ Capabilities: growth-strategy, revops-strategy, experimentation-strategy, revenu
|
|
|
12
10
|
Allowed tools: apply-patch, shell-read, test-runner.
|
|
13
11
|
Available skills: zaip-skill-change, zaip-skill-growth-strategy-revops; load matching skills only. Change/execution skills apply to persistent delivery; Meta Ads applies only to Meta work.
|
|
14
12
|
Keep the invoked model and reasoning effort immutable for this Run; report unavailable effective configuration as unavailable.
|
|
13
|
+
Model and reasoning effort are controlled by the authorized dispatch policy. Catalog preferences are dispatch defaults, not permanent native locks. Before dispatch, the authorized host must select and validate the model/effort allowed by the frozen Task policy and the host's manual selection. Record the requested configuration separately from the effective model/effort observed from the host; never silently inherit a parent configuration or claim a model switch from instructions. If the host cannot select or verify the required configuration, report the capability as unavailable and return the blocked dispatch to the orchestrator.
|
|
15
14
|
Write scopes: declared-write-scope.
|
|
16
15
|
The Codex host grants workspace-write at the workspace boundary, not per-path. Treat the declared write scopes as mandatory: do not modify files outside them; report any required expansion to the parent before writing.
|
|
17
16
|
Inputs: request-or-task, requirements, growth-context, business-metrics.
|
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
name = "zaip-agent-marketing-analyst"
|
|
3
3
|
description = "Create evidence-grounded marketing strategy, copy, campaigns, content, and assets inside declared scopes."
|
|
4
4
|
nickname_candidates = ["lucia_marketing_analyst_zaip_agent"]
|
|
5
|
-
model = "gpt-6-sol"
|
|
6
|
-
model_reasoning_effort = "medium"
|
|
7
5
|
sandbox_mode = "workspace-write"
|
|
8
6
|
developer_instructions = """
|
|
9
7
|
Operate as Codex agent zaip-agent-marketing-analyst (ZAIP catalog id agent-marketing-analyst) with role builder.
|
|
@@ -12,6 +10,7 @@ Capabilities: marketing-strategy, copywriting, campaign-planning, marketing-asse
|
|
|
12
10
|
Allowed tools: apply-patch, shell-read, imagegen, meta-ads-mcp.
|
|
13
11
|
Available skills: zaip-skill-change, zaip-skill-marketing, zaip-skill-meta-ads; load matching skills only. Change/execution skills apply to persistent delivery; Meta Ads applies only to Meta work.
|
|
14
12
|
Keep the invoked model and reasoning effort immutable for this Run; report unavailable effective configuration as unavailable.
|
|
13
|
+
Model and reasoning effort are controlled by the authorized dispatch policy. Catalog preferences are dispatch defaults, not permanent native locks. Before dispatch, the authorized host must select and validate the model/effort allowed by the frozen Task policy and the host's manual selection. Record the requested configuration separately from the effective model/effort observed from the host; never silently inherit a parent configuration or claim a model switch from instructions. If the host cannot select or verify the required configuration, report the capability as unavailable and return the blocked dispatch to the orchestrator.
|
|
15
14
|
Write scopes: declared-write-scope.
|
|
16
15
|
The Codex host grants workspace-write at the workspace boundary, not per-path. Treat the declared write scopes as mandatory: do not modify files outside them; report any required expansion to the parent before writing.
|
|
17
16
|
Inputs: request-or-task, requirements, marketing-context, approved-brandbook.
|
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
name = "zaip-agent-orchestrator"
|
|
3
3
|
description = "Resolve the DAG and delegate only to capable least-privilege agents."
|
|
4
4
|
nickname_candidates = ["dave_product_owner_zaip_agent"]
|
|
5
|
-
model = "gpt-6-sol"
|
|
6
|
-
model_reasoning_effort = "medium"
|
|
7
5
|
sandbox_mode = "read-only"
|
|
8
6
|
developer_instructions = """
|
|
9
7
|
Operate as Codex agent zaip-agent-orchestrator (ZAIP catalog id agent-orchestrator) with role orchestrator.
|
|
@@ -12,6 +10,7 @@ Capabilities: dag-orchestration, lifecycle-governance.
|
|
|
12
10
|
Allowed tools: zaip-cli, shell-read, tool-discovery, native-collaboration.
|
|
13
11
|
Available skills: zaip-skill-execution; load matching skills only. Change/execution skills apply to persistent delivery; Meta Ads applies only to Meta work.
|
|
14
12
|
Keep the invoked model and reasoning effort immutable for this Run; report unavailable effective configuration as unavailable.
|
|
13
|
+
Model and reasoning effort are controlled by the authorized dispatch policy. Catalog preferences are dispatch defaults, not permanent native locks. Before dispatch, the authorized host must select and validate the model/effort allowed by the frozen Task policy and the host's manual selection. Record the requested configuration separately from the effective model/effort observed from the host; never silently inherit a parent configuration or claim a model switch from instructions. If the host cannot select or verify the required configuration, report the capability as unavailable and return the blocked dispatch to the orchestrator.
|
|
15
14
|
Write scopes: read-only.
|
|
16
15
|
This role is read-only. Do not create, modify, move, or delete workspace files.
|
|
17
16
|
Inputs: prepared-plan, active-work.
|
package/templates/.agents/config/clients/codex/agents/zaip-agent-refactoring-specialist.toml
CHANGED
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
name = "zaip-agent-refactoring-specialist"
|
|
3
3
|
description = "Plan and execute safe refactors, migrations, modularization, and architecture improvements from an inventory-backed map with reversible slices and explicit validation gates."
|
|
4
4
|
nickname_candidates = ["tati_refactoring_specialist_zaip_agent"]
|
|
5
|
-
model = "gpt-6-sol"
|
|
6
|
-
model_reasoning_effort = "medium"
|
|
7
5
|
sandbox_mode = "workspace-write"
|
|
8
6
|
developer_instructions = """
|
|
9
7
|
Operate as Codex agent zaip-agent-refactoring-specialist (ZAIP catalog id agent-refactoring-specialist) with role builder.
|
|
@@ -12,6 +10,7 @@ Capabilities: refactor-existing-code, migration, modularization, architecture, s
|
|
|
12
10
|
Allowed tools: apply-patch, shell-read, test-runner.
|
|
13
11
|
Available skills: zaip-skill-change, zaip-skill-refactor-existing-code, zaip-skill-enforce-architecture; load matching skills only. Change/execution skills apply to persistent delivery; Meta Ads applies only to Meta work.
|
|
14
12
|
Keep the invoked model and reasoning effort immutable for this Run; report unavailable effective configuration as unavailable.
|
|
13
|
+
Model and reasoning effort are controlled by the authorized dispatch policy. Catalog preferences are dispatch defaults, not permanent native locks. Before dispatch, the authorized host must select and validate the model/effort allowed by the frozen Task policy and the host's manual selection. Record the requested configuration separately from the effective model/effort observed from the host; never silently inherit a parent configuration or claim a model switch from instructions. If the host cannot select or verify the required configuration, report the capability as unavailable and return the blocked dispatch to the orchestrator.
|
|
15
14
|
Write scopes: declared-write-scope.
|
|
16
15
|
The Codex host grants workspace-write at the workspace boundary, not per-path. Treat the declared write scopes as mandatory: do not modify files outside them; report any required expansion to the parent before writing.
|
|
17
16
|
Inputs: task, source-root, target-architecture, baseline.
|
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
name = "zaip-agent-sales-specialist"
|
|
3
3
|
description = "Create, edit, and advise on internal sales methodology, processes, sales-facing scripts, qualification, enablement, and handoffs inside declared scopes."
|
|
4
4
|
nickname_candidates = ["aaron_sales_specialist_zaip_agent"]
|
|
5
|
-
model = "gpt-6-sol"
|
|
6
|
-
model_reasoning_effort = "medium"
|
|
7
5
|
sandbox_mode = "workspace-write"
|
|
8
6
|
developer_instructions = """
|
|
9
7
|
Operate as Codex agent zaip-agent-sales-specialist (ZAIP catalog id agent-sales-specialist) with role builder.
|
|
@@ -12,6 +10,7 @@ Capabilities: sales-strategy, sales-methodology, sales-process, sales-playbook,
|
|
|
12
10
|
Allowed tools: apply-patch, shell-read, test-runner.
|
|
13
11
|
Available skills: zaip-skill-change, zaip-skill-sales-methodology; load matching skills only. Change/execution skills apply to persistent delivery; Meta Ads applies only to Meta work.
|
|
14
12
|
Keep the invoked model and reasoning effort immutable for this Run; report unavailable effective configuration as unavailable.
|
|
13
|
+
Model and reasoning effort are controlled by the authorized dispatch policy. Catalog preferences are dispatch defaults, not permanent native locks. Before dispatch, the authorized host must select and validate the model/effort allowed by the frozen Task policy and the host's manual selection. Record the requested configuration separately from the effective model/effort observed from the host; never silently inherit a parent configuration or claim a model switch from instructions. If the host cannot select or verify the required configuration, report the capability as unavailable and return the blocked dispatch to the orchestrator.
|
|
15
14
|
Write scopes: declared-write-scope.
|
|
16
15
|
The Codex host grants workspace-write at the workspace boundary, not per-path. Treat the declared write scopes as mandatory: do not modify files outside them; report any required expansion to the parent before writing.
|
|
17
16
|
Inputs: request-or-task, requirements, sales-context.
|
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
name = "zaip-agent-task-executor"
|
|
3
3
|
description = "Execute one bounded generic Task, including dashboard or local scope, and return verification evidence to the orchestrator."
|
|
4
4
|
nickname_candidates = ["leo_software_engineer_zaip_agent"]
|
|
5
|
-
model = "gpt-6-sol"
|
|
6
|
-
model_reasoning_effort = "medium"
|
|
7
5
|
sandbox_mode = "workspace-write"
|
|
8
6
|
developer_instructions = """
|
|
9
7
|
Operate as Codex agent zaip-agent-task-executor (ZAIP catalog id agent-task-executor) with role task-executor.
|
|
@@ -12,6 +10,7 @@ Capabilities: task-delivery, verification, evidence-production.
|
|
|
12
10
|
Allowed tools: apply-patch, shell-read, test-runner.
|
|
13
11
|
Available skills: zaip-skill-change, zaip-skill-architecture-design, zaip-skill-dev-environment, zaip-skill-module-scaffold, zaip-skill-testing-strategy, zaip-skill-test-data, zaip-skill-systematic-debugging; load matching skills only. Change/execution skills apply to persistent delivery; Meta Ads applies only to Meta work.
|
|
14
12
|
Keep the invoked model and reasoning effort immutable for this Run; report unavailable effective configuration as unavailable.
|
|
13
|
+
Model and reasoning effort are controlled by the authorized dispatch policy. Catalog preferences are dispatch defaults, not permanent native locks. Before dispatch, the authorized host must select and validate the model/effort allowed by the frozen Task policy and the host's manual selection. Record the requested configuration separately from the effective model/effort observed from the host; never silently inherit a parent configuration or claim a model switch from instructions. If the host cannot select or verify the required configuration, report the capability as unavailable and return the blocked dispatch to the orchestrator.
|
|
15
14
|
Write scopes: declared-write-scope.
|
|
16
15
|
The Codex host grants workspace-write at the workspace boundary, not per-path. Treat the declared write scopes as mandatory: do not modify files outside them; report any required expansion to the parent before writing.
|
|
17
16
|
Inputs: task, requirements, context-pack.
|
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
name = "zaip-agent-website-developer"
|
|
3
3
|
description = "Build website experiences with design-system, SEO, GEO, Markdown for Agents, and Agent Readiness awareness."
|
|
4
4
|
nickname_candidates = ["jonny_website_developer_zaip_agent"]
|
|
5
|
-
model = "gpt-6-sol"
|
|
6
|
-
model_reasoning_effort = "medium"
|
|
7
5
|
sandbox_mode = "workspace-write"
|
|
8
6
|
developer_instructions = """
|
|
9
7
|
Operate as Codex agent zaip-agent-website-developer (ZAIP catalog id agent-website-developer) with role builder.
|
|
@@ -12,6 +10,7 @@ Capabilities: website-delivery, design-system, seo, geo, markdown-for-agents, ag
|
|
|
12
10
|
Allowed tools: apply-patch, shell-read, test-runner, meta-devtools-mcp.
|
|
13
11
|
Available skills: zaip-skill-change, zaip-skill-website-readiness, zaip-skill-frontend-componentization, zaip-skill-meta-devtools-api-integration; load matching skills only. Change/execution skills apply to persistent delivery; Meta Ads applies only to Meta work.
|
|
14
12
|
Keep the invoked model and reasoning effort immutable for this Run; report unavailable effective configuration as unavailable.
|
|
13
|
+
Model and reasoning effort are controlled by the authorized dispatch policy. Catalog preferences are dispatch defaults, not permanent native locks. Before dispatch, the authorized host must select and validate the model/effort allowed by the frozen Task policy and the host's manual selection. Record the requested configuration separately from the effective model/effort observed from the host; never silently inherit a parent configuration or claim a model switch from instructions. If the host cannot select or verify the required configuration, report the capability as unavailable and return the blocked dispatch to the orchestrator.
|
|
15
14
|
Write scopes: apps/site/*.
|
|
16
15
|
The Codex host grants workspace-write at the workspace boundary, not per-path. Treat the declared write scopes as mandatory: do not modify files outside them; report any required expansion to the parent before writing.
|
|
17
16
|
Inputs: task, requirements, website-context.
|
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
name = "zaip-agent-writer"
|
|
3
3
|
description = "Produce faithful summaries, timestamp-aware transcript analyses, and source-grounded documentation for a declared audience without unsupported claims."
|
|
4
4
|
nickname_candidates = ["lia_technical_writer_zaip_agent"]
|
|
5
|
-
model = "gpt-6-sol"
|
|
6
|
-
model_reasoning_effort = "medium"
|
|
7
5
|
sandbox_mode = "workspace-write"
|
|
8
6
|
developer_instructions = """
|
|
9
7
|
Operate as Codex agent zaip-agent-writer (ZAIP catalog id agent-text-summarizer) with role task-executor.
|
|
@@ -12,6 +10,7 @@ Capabilities: faithful-summarization, timestamped-transcript-analysis, source-gr
|
|
|
12
10
|
Allowed tools: apply-patch, shell-read, test-runner.
|
|
13
11
|
Available skills: zaip-skill-context, zaip-skill-change, zaip-skill-text-encoding; load matching skills only. Change/execution skills apply to persistent delivery; Meta Ads applies only to Meta work.
|
|
14
12
|
Keep the invoked model and reasoning effort immutable for this Run; report unavailable effective configuration as unavailable.
|
|
13
|
+
Model and reasoning effort are controlled by the authorized dispatch policy. Catalog preferences are dispatch defaults, not permanent native locks. Before dispatch, the authorized host must select and validate the model/effort allowed by the frozen Task policy and the host's manual selection. Record the requested configuration separately from the effective model/effort observed from the host; never silently inherit a parent configuration or claim a model switch from instructions. If the host cannot select or verify the required configuration, report the capability as unavailable and return the blocked dispatch to the orchestrator.
|
|
15
14
|
Write scopes: declared-write-scope.
|
|
16
15
|
The Codex host grants workspace-write at the workspace boundary, not per-path. Treat the declared write scopes as mandatory: do not modify files outside them; report any required expansion to the parent before writing.
|
|
17
16
|
Inputs: task, source-material, audience, output-constraints.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.3.0",
|
|
4
4
|
"files": [
|
|
5
5
|
{
|
|
6
6
|
"path": "DATA-DICTIONARY.md",
|
|
@@ -15,28 +15,28 @@
|
|
|
15
15
|
"sha256": "a5ee8934997171e871200e5ab6db33dcef0446c37c9547a3d22f6bb3aff491b1"
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
|
-
"path": "apps/frontend/dist/assets/DashboardHelpDialog-
|
|
19
|
-
"sha256": "
|
|
18
|
+
"path": "apps/frontend/dist/assets/DashboardHelpDialog-CkQ_y8kg.js",
|
|
19
|
+
"sha256": "439758f84a3522a55eb38ba14db5a023d6b135d10ad9671cdd43e46e692708e2"
|
|
20
20
|
},
|
|
21
21
|
{
|
|
22
|
-
"path": "apps/frontend/dist/assets/DashboardHelpDialog-
|
|
23
|
-
"sha256": "
|
|
22
|
+
"path": "apps/frontend/dist/assets/DashboardHelpDialog-DRI_XwUf.css",
|
|
23
|
+
"sha256": "95dbb5c26ad73831f36f2a51d5e08ef5eee7ca85190764a3e63bf1e700fbadf8"
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
"path": "apps/frontend/dist/assets/PricingSettingsDialog-v9zGRTlk.js",
|
|
27
27
|
"sha256": "b0ff1ac14837810711047d1be79a55e7f91988a5930661094ea79c0f5371d143"
|
|
28
28
|
},
|
|
29
|
-
{
|
|
30
|
-
"path": "apps/frontend/dist/assets/ProjectSettingsPage-BRdoeTWk.js",
|
|
31
|
-
"sha256": "f3706bbe409eed0b35164d931e4f067c5bfb6f3552217ca787d73eea71d02004"
|
|
32
|
-
},
|
|
33
29
|
{
|
|
34
30
|
"path": "apps/frontend/dist/assets/ProjectSettingsPage-CQMhvzvJ.css",
|
|
35
31
|
"sha256": "10e875c4e3ab6c252983822e25a85db3d707d903c0fcf39812909fdd1d013f48"
|
|
36
32
|
},
|
|
37
33
|
{
|
|
38
|
-
"path": "apps/frontend/dist/assets/
|
|
39
|
-
"sha256": "
|
|
34
|
+
"path": "apps/frontend/dist/assets/ProjectSettingsPage-doIMhei7.js",
|
|
35
|
+
"sha256": "28b6167a8e8b74c7aaa09ff600eb31f10e89af0dd8510c79dca40633aa38f63f"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"path": "apps/frontend/dist/assets/TraceabilityWorkspace-C_4ftjyB.js",
|
|
39
|
+
"sha256": "baa839e93efa3beeca6904e997d35a04d471287f8b58a5d69d4a2092575508ef"
|
|
40
40
|
},
|
|
41
41
|
{
|
|
42
42
|
"path": "apps/frontend/dist/assets/TraceabilityWorkspace-DvvavDLY.css",
|
|
@@ -58,14 +58,14 @@
|
|
|
58
58
|
"path": "apps/frontend/dist/assets/icons-vendor-Cv3WBFIF.js",
|
|
59
59
|
"sha256": "f2bde355996235413fec4a9fc854f4669f9a233421e104cead02fa2bce7003de"
|
|
60
60
|
},
|
|
61
|
-
{
|
|
62
|
-
"path": "apps/frontend/dist/assets/index-C4rLXrz_.js",
|
|
63
|
-
"sha256": "97e8deebdc4636afcea722941ae974031bca75d3b36ed8fc844541a548636954"
|
|
64
|
-
},
|
|
65
61
|
{
|
|
66
62
|
"path": "apps/frontend/dist/assets/index-OBJXZOwe.css",
|
|
67
63
|
"sha256": "43de3012ecb2f5ffd2e8096c0543f35b390066d0d2033440b81682b01e560e89"
|
|
68
64
|
},
|
|
65
|
+
{
|
|
66
|
+
"path": "apps/frontend/dist/assets/index-Rbmpz4UO.js",
|
|
67
|
+
"sha256": "c12cea4a30399bff81a6aac1f12e6b935377551f2bc54d508d6c0c44eb404d80"
|
|
68
|
+
},
|
|
69
69
|
{
|
|
70
70
|
"path": "apps/frontend/dist/assets/logo_novo_azul-BBx5pA2B.png",
|
|
71
71
|
"sha256": "bb6043bda9fc53a111aaea4d6a004559b9ce8a3569691c060d217a7c6aafa0ae"
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
},
|
|
93
93
|
{
|
|
94
94
|
"path": "apps/frontend/dist/index.html",
|
|
95
|
-
"sha256": "
|
|
95
|
+
"sha256": "cf07311e4835a7df3e1e0ed767755d7954578204f999381fe33e38e2085e1816"
|
|
96
96
|
},
|
|
97
97
|
{
|
|
98
98
|
"path": "apps/frontend/dist/logo_novo_azul.png",
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
},
|
|
105
105
|
{
|
|
106
106
|
"path": "apps/frontend/package.json",
|
|
107
|
-
"sha256": "
|
|
107
|
+
"sha256": "d9daf0f6687d5ed2b8800f25a5e24a05a5fadabb24c797140f1c9c0d8b0a95cc"
|
|
108
108
|
},
|
|
109
109
|
{
|
|
110
110
|
"path": "apps/frontend/playwright.dom.config.ts",
|
|
@@ -564,7 +564,7 @@
|
|
|
564
564
|
},
|
|
565
565
|
{
|
|
566
566
|
"path": "modules/cost-monitor/package.json",
|
|
567
|
-
"sha256": "
|
|
567
|
+
"sha256": "4c72bcc560c646d36016be1c1a124a4eee8d45ff4630dca5a6551e381d79b86b"
|
|
568
568
|
},
|
|
569
569
|
{
|
|
570
570
|
"path": "modules/cost-monitor/src/agent-groups.test.ts",
|
|
@@ -972,7 +972,7 @@
|
|
|
972
972
|
},
|
|
973
973
|
{
|
|
974
974
|
"path": "modules/operations/package.json",
|
|
975
|
-
"sha256": "
|
|
975
|
+
"sha256": "8eee832c3121a1b666a8c35b3da037fbe1589b1d196131004b945abea802ccab"
|
|
976
976
|
},
|
|
977
977
|
{
|
|
978
978
|
"path": "modules/operations/src/contracts.ts",
|
|
@@ -1680,7 +1680,7 @@
|
|
|
1680
1680
|
},
|
|
1681
1681
|
{
|
|
1682
1682
|
"path": "modules/traceability/package.json",
|
|
1683
|
-
"sha256": "
|
|
1683
|
+
"sha256": "c7e00829e871c9c6208f65bbd9bf4487a777d7254856de5df140d578acebf994"
|
|
1684
1684
|
},
|
|
1685
1685
|
{
|
|
1686
1686
|
"path": "modules/traceability/src/contracts.ts",
|
|
@@ -1752,7 +1752,7 @@
|
|
|
1752
1752
|
},
|
|
1753
1753
|
{
|
|
1754
1754
|
"path": "packages/branding/package.json",
|
|
1755
|
-
"sha256": "
|
|
1755
|
+
"sha256": "27a606878749103823a7633875dc4780e90dc1669fc90bf1e45f6560846973ae"
|
|
1756
1756
|
},
|
|
1757
1757
|
{
|
|
1758
1758
|
"path": "packages/branding/src/index.ts",
|
|
@@ -1764,7 +1764,7 @@
|
|
|
1764
1764
|
},
|
|
1765
1765
|
{
|
|
1766
1766
|
"path": "packages/contracts/package.json",
|
|
1767
|
-
"sha256": "
|
|
1767
|
+
"sha256": "689492a98681d1a4d6b5f550d95a99852804c09becf46a8d5b240f0a293084f7"
|
|
1768
1768
|
},
|
|
1769
1769
|
{
|
|
1770
1770
|
"path": "packages/contracts/src/export.ts",
|
|
@@ -1784,7 +1784,7 @@
|
|
|
1784
1784
|
},
|
|
1785
1785
|
{
|
|
1786
1786
|
"path": "packages/data-export/package.json",
|
|
1787
|
-
"sha256": "
|
|
1787
|
+
"sha256": "ccacbb202ff1a31a511f9e156394e4ea82b21104436d3596d2fbcd18f5ffefeb"
|
|
1788
1788
|
},
|
|
1789
1789
|
{
|
|
1790
1790
|
"path": "packages/data-export/src/index.test.ts",
|
|
@@ -1808,15 +1808,15 @@
|
|
|
1808
1808
|
},
|
|
1809
1809
|
{
|
|
1810
1810
|
"path": "packages/local-runtime/dist/server.cjs",
|
|
1811
|
-
"sha256": "
|
|
1811
|
+
"sha256": "a7bee10ccb501a54f778394ba9b678c6a909d0a44c2af203afbc3942db3f9c08"
|
|
1812
1812
|
},
|
|
1813
1813
|
{
|
|
1814
1814
|
"path": "packages/local-runtime/dist/sqlite-read-model.cjs",
|
|
1815
|
-
"sha256": "
|
|
1815
|
+
"sha256": "2e457565c0ddddc71655d5989bfe0690fb16e3bf3bb34aae49f5f31c99ef29a8"
|
|
1816
1816
|
},
|
|
1817
1817
|
{
|
|
1818
1818
|
"path": "packages/local-runtime/package.json",
|
|
1819
|
-
"sha256": "
|
|
1819
|
+
"sha256": "378e289a749143672cc67bf9ad3ebc5f25c61bea95fbd8cf51dbd90a76a5a9d2"
|
|
1820
1820
|
},
|
|
1821
1821
|
{
|
|
1822
1822
|
"path": "packages/local-runtime/scripts/build-sqlite-dashboard.mjs",
|
|
@@ -1852,7 +1852,7 @@
|
|
|
1852
1852
|
},
|
|
1853
1853
|
{
|
|
1854
1854
|
"path": "packages/local-runtime/server.mjs",
|
|
1855
|
-
"sha256": "
|
|
1855
|
+
"sha256": "86b4489d7322af0892aabc49a004be85f6fc9454d0fb5b473849850f77af0bae"
|
|
1856
1856
|
},
|
|
1857
1857
|
{
|
|
1858
1858
|
"path": "packages/local-runtime/src/active-codex-telemetry.test.ts",
|
|
@@ -1974,6 +1974,10 @@
|
|
|
1974
1974
|
"path": "packages/local-runtime/src/server-macro-population.test.ts",
|
|
1975
1975
|
"sha256": "cdfe55242dbeb1d6d0eec87781221ad80325a30fcb84de6924707037c8ba76e5"
|
|
1976
1976
|
},
|
|
1977
|
+
{
|
|
1978
|
+
"path": "packages/local-runtime/src/server-operation-detail.test.ts",
|
|
1979
|
+
"sha256": "77922d17e7b82cbed608c61b45f34af4f7fd0d8cb2d0ff6c50d441d71ec122ff"
|
|
1980
|
+
},
|
|
1977
1981
|
{
|
|
1978
1982
|
"path": "packages/local-runtime/src/server-operations-page-filters.ts",
|
|
1979
1983
|
"sha256": "26259f9bc22e10a75086f0c520bf5ca2320d4a2e72dfc0770e1d67034b8fb047"
|
|
@@ -2128,7 +2132,7 @@
|
|
|
2128
2132
|
},
|
|
2129
2133
|
{
|
|
2130
2134
|
"path": "packages/local-runtime/src/server.test.ts",
|
|
2131
|
-
"sha256": "
|
|
2135
|
+
"sha256": "81bfe4dc9bd019a50892e64584ee10bb6ab8e261497e542fde5bd612cbb46b72"
|
|
2132
2136
|
},
|
|
2133
2137
|
{
|
|
2134
2138
|
"path": "packages/local-runtime/src/server.ts",
|
|
@@ -2380,7 +2384,11 @@
|
|
|
2380
2384
|
},
|
|
2381
2385
|
{
|
|
2382
2386
|
"path": "packages/local-runtime/src/sqlite-read-model-counts-every-root-execution-day-returns.test.ts",
|
|
2383
|
-
"sha256": "
|
|
2387
|
+
"sha256": "754c06e8774234062eaf8b45f7ccc4a6fb745d448aaf82469acef557c7b5c2c6"
|
|
2388
|
+
},
|
|
2389
|
+
{
|
|
2390
|
+
"path": "packages/local-runtime/src/sqlite-read-model-counts-fixture.test-support.ts",
|
|
2391
|
+
"sha256": "782e4571cdfbb332654078b1896e814d85b9deadb351198a7c5f5397d8dae432"
|
|
2384
2392
|
},
|
|
2385
2393
|
{
|
|
2386
2394
|
"path": "packages/local-runtime/src/sqlite-read-model-does-not-convert-delayed-historical-finalizer.test.ts",
|
|
@@ -2540,7 +2548,7 @@
|
|
|
2540
2548
|
},
|
|
2541
2549
|
{
|
|
2542
2550
|
"path": "packages/local-runtime/start-dashboard-launch-page.test.mjs",
|
|
2543
|
-
"sha256": "
|
|
2551
|
+
"sha256": "ce94603b829d2db9af509fc9d7b63cbe970046580b4a093433043d8db3c97749"
|
|
2544
2552
|
},
|
|
2545
2553
|
{
|
|
2546
2554
|
"path": "packages/local-runtime/start-dashboard-lifecycle.mjs",
|
|
@@ -2612,7 +2620,7 @@
|
|
|
2612
2620
|
},
|
|
2613
2621
|
{
|
|
2614
2622
|
"path": "packages/ui/package.json",
|
|
2615
|
-
"sha256": "
|
|
2623
|
+
"sha256": "4a18c468bfdf9999ab01ce62dd117d5c490fa7146dae03b14dcaa65c5159db80"
|
|
2616
2624
|
},
|
|
2617
2625
|
{
|
|
2618
2626
|
"path": "packages/ui/src/DashboardHeader.test.mjs",
|
|
@@ -2720,7 +2728,7 @@
|
|
|
2720
2728
|
},
|
|
2721
2729
|
{
|
|
2722
2730
|
"path": "tests/e2e/package.json",
|
|
2723
|
-
"sha256": "
|
|
2731
|
+
"sha256": "ebcae8b159031e69475a0c3daad3e83a3d8c6fa779f0640f32572414df081aa5"
|
|
2724
2732
|
},
|
|
2725
2733
|
{
|
|
2726
2734
|
"path": "tests/e2e/playwright.config.ts",
|
|
@@ -760,7 +760,7 @@ Se uma Task estiver presa em executing/verifying, use o popup Reconciliar para o
|
|
|
760
760
|
|
|
761
761
|
Se o problema for de instalacao ou integridade, consulte \`framework.lock.yaml\`.
|
|
762
762
|
|
|
763
|
-
Se “finalizar” tentou entregar um PRD \`draft\`, confira adapters/skills:
|
|
763
|
+
Se “finalizar o documento” tentou entregar um PRD \`draft\`, confira adapters/skills: criar ou lapidar mantém \`draft\`; somente pedido explícito promove para \`ready\`. Pedido de executar pode preparar e ir diretamente para execução. DAG entre SPECs deve preservar os vínculos e dependências no PreparedPlan do PRD, sem consolidar documentos silenciosamente. PRD cancelado não reabre; crie sucessor \`rework\`.
|
|
764
764
|
|
|
765
765
|
## Repetição, orçamento e recibos
|
|
766
766
|
|
|
@@ -781,6 +781,57 @@ A tolerância de dez minutos para Run órfã no reparo manual não é prazo de
|
|
|
781
781
|
desistência de Task em atividade. Um timeout operacional também não comprova
|
|
782
782
|
falha do produto. Veja [autonomia](19-assurance-e-autonomia.md) e
|
|
783
783
|
[relay de fechamento](16-lifecycle-e-reconciliacao.md).
|
|
784
|
+
|
|
785
|
+
## Hooks e retomada no Codex
|
|
786
|
+
|
|
787
|
+
### Classificar antes de corrigir
|
|
788
|
+
|
|
789
|
+
\`Falhou\` indica erro técnico do hook; \`Bloqueado\` indica uma decisão de política.
|
|
790
|
+
Uma contagem histórica não prova regressão atual. Reproduza a operação autorizada
|
|
791
|
+
com o hook ativo e compare o motivo, a sessão e o turno da nova execução.
|
|
792
|
+
|
|
793
|
+
| Caso | Comportamento esperado e teste |
|
|
794
|
+
| --- | --- |
|
|
795
|
+
| Stop com \`invalid stop hook JSON output\` | A saída usa \`{}\` ou \`decision: block\` com \`reason\`, nunca um \`hookSpecificOutput\` de Stop. Testar todos os caminhos de saída, inclusive erro e continuação. |
|
|
796
|
+
| Resposta útil substituída por aviso de telemetria no Stop | Pendência de transcript, contabilização, lock ou CLI fica no recibo e retorna \`{}\`, sem criar outro prompt. Somente estado de Task própria comprovado nesta invocação pode pedir uma continuação; \`stop_hook_active\` impede repetição. |
|
|
797
|
+
| Transcript local \`\\\\?\\C:\\...\` | Normalizar o namespace local nas duas camadas de verificação. UNC de rede, devices, links e sessão divergente continuam recusados. |
|
|
798
|
+
| Executor nativo bloqueado por correlação | Conferir sessão do pai + turno do filho, além da sessão nativa do filho. Registrar somente vínculo comprovado; não usar a Task global mais recente. |
|
|
799
|
+
| Busca textual por \`AC-...\`, \`Remove-Item\` ou \`;\` | Diferenciar argumento literal de comando executável. Leituras literais não viram mutação por palavras na pesquisa; redirecionamentos e composição destrutiva continuam protegidos. |
|
|
800
|
+
| Git com separadores | Um separador dentro de argumento entre aspas é texto. Separadores fora das aspas continuam exigindo chamadas Git separadas. |
|
|
801
|
+
| Hook repetido em Usuário e Projeto | O instalador só retira registro global reconhecidamente ZAIP após verificar os hooks canônicos do projeto; preserva terceiros e mantém fallback quando não houver confirmação. |
|
|
802
|
+
|
|
803
|
+
O vínculo local do executor é conferido contra os escopos e o estado da Task
|
|
804
|
+
canônica. Ele não permite que o filho edite seus próprios bindings ou registros
|
|
805
|
+
de autoridade. Patches também verificam os ancestrais físicos: junctions, links
|
|
806
|
+
e hardlinks não viram uma autorização para escapar do escopo textual.
|
|
807
|
+
|
|
808
|
+
A migração global publica a nova configuração sem substituir um arquivo que um
|
|
809
|
+
editor tenha recriado durante a operação. Em conflito, preserva a versão do
|
|
810
|
+
usuário e o backup original, informa o caminho recuperável e não declara sucesso.
|
|
811
|
+
Mesmo no sucesso, o arquivo original permanece recuperável em
|
|
812
|
+
\`config.toml.zaip-saved-<id>\` junto à configuração privada do Codex. Isso preserva
|
|
813
|
+
também gravações tardias de um editor que mantinha o arquivo anterior aberto.
|
|
814
|
+
Uma segunda execução sem mudanças não cria outro backup. Esses arquivos não
|
|
815
|
+
devem ser publicados nem removidos automaticamente.
|
|
816
|
+
|
|
817
|
+
Um Stop sem transcript deixa recibo pendente, sem inventar conclusão. Repetição da
|
|
818
|
+
mesma sessão/turno pode reutilizar o caminho já recebido; outro turno não pode.
|
|
819
|
+
Esse recibo não é motivo para solicitar uma nova resposta do modelo: permitir o
|
|
820
|
+
encerramento da interface não significa aprovar ou concluir registros canônicos.
|
|
821
|
+
Falhas permanecem explícitas e recuperáveis; não se promete execução após o Codex parar.
|
|
822
|
+
Transcripts grandes avançam por cursor limitado e podem exigir mais de uma
|
|
823
|
+
recuperação; acompanhe o avanço, não faça varredura global nem apague o recibo.
|
|
824
|
+
|
|
825
|
+
### Recuperação segura
|
|
826
|
+
|
|
827
|
+
- \`Bloqueado\` com caminho fora do repositório ou Git composto pode ser uma recusa de segurança correta; não é \`Falhou\`. Separe comandos Git e use somente os caminhos externos autorizados no helper de release.
|
|
828
|
+
- Correlação ausente não autoriza escolher a última Task global. O resolvedor procura também o nome da sessão histórica do thread exato, valida seu cabeçalho/workspace e lê somente esse transcript; um chat antigo não perde identidade por ultrapassar três dias.
|
|
829
|
+
- Runs históricas já gravadas com turno local não se tornam correlacionadas por inferência. Preserve-as; uma retomada com turno observado deve capturar sua identidade real antes de mutações persistentes.
|
|
830
|
+
- Falha de verificação antes de Gui usa [o reparo canônico](../../skills/zaip-skill-execution/references/correction-cycle.md). A barreira de um finalizador já iniciado não pode ser reaberta.
|
|
831
|
+
- EPERM transitório ao ler um lock incumbente no Windows permite no máximo três leituras dentro do deadline. EPERM persistente, EACCES, processo vivo ou contenção inválida continuam falhando fechado; nunca apague um lock vivo para obter verde.
|
|
832
|
+
- Depois de atualizar os hooks, aprovar o conteúdo modificado não comprova que PreToolUse está ativo: confirme o interruptor e execute cenários reais novos. Estatísticas antigas não são apagadas nem transformadas em aprovações.
|
|
833
|
+
- \`doctor\` acusa \`.agents/local\`: preserve qualquer conteúdo legado antes de migrá-lo para \`.local\`. Somente diretórios comprovadamente vazios podem ser removidos de forma não recursiva, com Task e turno correlacionados; não suprima o diagnóstico nem apague histórico para obter aprovação.
|
|
834
|
+
- Um agente de entrega/orquestração aparece com modelo/esforço fixos em Sol mesmo após ajuste: confira a origem canônica e regenere os adaptadores. As preferências do catálogo não são travas; a seleção explícita deve seguir o ledger. O schema da sessão pode continuar carregando o perfil anterior até recarga pelo host. Não reinicie o computador, não troque identidade do agente e não declare Astra observado sem metadados reais. Testes determinísticos provam a política, mas não substituem a homologação nativa Sol/high → Sol/high → Astra/high.
|
|
784
835
|
`,v="# Tools e setup do Codex\n\n1. Peça ao agente para listar ou ativar uma tool; ele usa `$zaip-skill-tool-setup`.\n2. A skill lê somente catálogo e manifesto aplicável.\n3. MCP confiável é registrado desabilitado em `.codex/config.toml` e validado antes da ativação.\n4. API sem MCP confiável aciona `$zaip-skill-api-to-mcp` para gerar um adaptador seguro.\n5. Secrets nunca são coladas no chat; nomes ficam em `.agents/.env.example` e valores em armazenamento local ignorado.\n6. Alterações de configuração devem ser reversíveis e preservar preferências existentes.\n\nAtive por padrão apenas integrações públicas, read-only e sem autenticação, como documentação oficial. Browser/Playwright deve ser opt-in do perfil de desenvolvimento, pois inicia processos e amplia a superfície operacional.\n\n## MCP local gerado de API\n\n1. Modele um `adapter.yaml` a partir de documentação oficial; use o exemplo da skill API-to-MCP.\n2. Execute `scaffold-local-mcp.mjs` para gerar `definition.json`, `server.mjs` e `cli.mjs`.\n3. Rode `node .agents/tools/servers/<id>/cli.mjs doctor`.\n4. Faça chamadas read-only com `cli.mjs call <tool> '<json>'`.\n5. Gere um preview do Codex com `configure-local-mcp.mjs <id>`.\n6. Revise e aplique com `--write`; use `--enable` somente quando o doctor estiver pronto.\n\nO servidor usa STDIO, não abre porta e não exige deploy. Escritas ficam bloqueadas sem aprovação e `ZAIP_ALLOW_MCP_WRITES=1`.\n\n## Documentacao OpenAI\n\nO perfil default habilita `openaiDeveloperDocs` em `.codex/config.toml`, sem credencial e em modo read-only. Perguntas sobre OpenAI API, modelos, SDKs, Codex ou MCP devem acionar `$zaip-skill-openai-docs`, pesquisar o MCP oficial e citar a pagina consultada.\n",y=`# Lifecycle e reconciliacao
|
|
785
836
|
|
|
786
837
|
## Entradas
|
|
@@ -3015,6 +3066,14 @@ O modelo de ameaça, a matriz allow/deny, todas as camadas, limitações, opera
|
|
|
3015
3066
|
rollout, rollback e comandos de verificação estão documentados no
|
|
3016
3067
|
[guia completo de segurança dos perfis ZAIP-AIOS](.agents/zaip-aios/guides/10-seguranca.md).
|
|
3017
3068
|
|
|
3069
|
+
Na qualificação dos hooks, diferencie falha técnica, falso bloqueio e recusa de
|
|
3070
|
+
segurança esperada. Exija testes do pacote empacotado e uma edição real por
|
|
3071
|
+
subagente nativo com o hook ativo; testes simulados não comprovam a identidade
|
|
3072
|
+
que o host entrega. O [guia de diagnóstico](.agents/zaip-aios/guides/14-troubleshooting.md)
|
|
3073
|
+
descreve os formatos de sessão/turno, o contrato JSON de Stop e a recuperação
|
|
3074
|
+
limitada por recibo. Qualificação local não significa publicação no npm nem
|
|
3075
|
+
garantia de ausência de bugs em todo ambiente.
|
|
3076
|
+
|
|
3018
3077
|
|
|
3019
3078
|
## Automação e integrações opcionais
|
|
3020
3079
|
|