atabey 0.0.1
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/ATABEY.md +258 -0
- package/LICENSE +21 -0
- package/README.md +190 -0
- package/bin/cli.js +26 -0
- package/bin/validate-agent-army.js +145 -0
- package/dist/framework-mcp/src/constants.d.ts +47 -0
- package/dist/framework-mcp/src/constants.js +65 -0
- package/dist/framework-mcp/src/constants.js.map +1 -0
- package/dist/framework-mcp/src/index.d.ts +1 -0
- package/dist/framework-mcp/src/index.js +120 -0
- package/dist/framework-mcp/src/index.js.map +1 -0
- package/dist/framework-mcp/src/tools/control_plane/locking.d.ts +9 -0
- package/dist/framework-mcp/src/tools/control_plane/locking.js +83 -0
- package/dist/framework-mcp/src/tools/control_plane/locking.js.map +1 -0
- package/dist/framework-mcp/src/tools/control_plane/registry.d.ts +6 -0
- package/dist/framework-mcp/src/tools/control_plane/registry.js +35 -0
- package/dist/framework-mcp/src/tools/control_plane/registry.js.map +1 -0
- package/dist/framework-mcp/src/tools/definitions.d.ts +2 -0
- package/dist/framework-mcp/src/tools/definitions.js +291 -0
- package/dist/framework-mcp/src/tools/definitions.js.map +1 -0
- package/dist/framework-mcp/src/tools/file_system/batch_surgical_edit.d.ts +5 -0
- package/dist/framework-mcp/src/tools/file_system/batch_surgical_edit.js +60 -0
- package/dist/framework-mcp/src/tools/file_system/batch_surgical_edit.js.map +1 -0
- package/dist/framework-mcp/src/tools/file_system/patch_file.d.ts +2 -0
- package/dist/framework-mcp/src/tools/file_system/patch_file.js +26 -0
- package/dist/framework-mcp/src/tools/file_system/patch_file.js.map +1 -0
- package/dist/framework-mcp/src/tools/file_system/read_file.d.ts +2 -0
- package/dist/framework-mcp/src/tools/file_system/read_file.js +52 -0
- package/dist/framework-mcp/src/tools/file_system/read_file.js.map +1 -0
- package/dist/framework-mcp/src/tools/file_system/replace_text.d.ts +2 -0
- package/dist/framework-mcp/src/tools/file_system/replace_text.js +46 -0
- package/dist/framework-mcp/src/tools/file_system/replace_text.js.map +1 -0
- package/dist/framework-mcp/src/tools/file_system/write_file.d.ts +2 -0
- package/dist/framework-mcp/src/tools/file_system/write_file.js +39 -0
- package/dist/framework-mcp/src/tools/file_system/write_file.js.map +1 -0
- package/dist/framework-mcp/src/tools/framework/audit_deps.d.ts +6 -0
- package/dist/framework-mcp/src/tools/framework/audit_deps.js +42 -0
- package/dist/framework-mcp/src/tools/framework/audit_deps.js.map +1 -0
- package/dist/framework-mcp/src/tools/framework/get_status.d.ts +2 -0
- package/dist/framework-mcp/src/tools/framework/get_status.js +6 -0
- package/dist/framework-mcp/src/tools/framework/get_status.js.map +1 -0
- package/dist/framework-mcp/src/tools/framework/orchestrate.d.ts +2 -0
- package/dist/framework-mcp/src/tools/framework/orchestrate.js +6 -0
- package/dist/framework-mcp/src/tools/framework/orchestrate.js.map +1 -0
- package/dist/framework-mcp/src/tools/framework/run_tests.d.ts +5 -0
- package/dist/framework-mcp/src/tools/framework/run_tests.js +26 -0
- package/dist/framework-mcp/src/tools/framework/run_tests.js.map +1 -0
- package/dist/framework-mcp/src/tools/framework/update_contract_hash.d.ts +2 -0
- package/dist/framework-mcp/src/tools/framework/update_contract_hash.js +6 -0
- package/dist/framework-mcp/src/tools/framework/update_contract_hash.js.map +1 -0
- package/dist/framework-mcp/src/tools/framework/update_memory.d.ts +2 -0
- package/dist/framework-mcp/src/tools/framework/update_memory.js +9 -0
- package/dist/framework-mcp/src/tools/framework/update_memory.js.map +1 -0
- package/dist/framework-mcp/src/tools/index.d.ts +4 -0
- package/dist/framework-mcp/src/tools/index.js +61 -0
- package/dist/framework-mcp/src/tools/index.js.map +1 -0
- package/dist/framework-mcp/src/tools/memory/get_insights.d.ts +6 -0
- package/dist/framework-mcp/src/tools/memory/get_insights.js +35 -0
- package/dist/framework-mcp/src/tools/memory/get_insights.js.map +1 -0
- package/dist/framework-mcp/src/tools/memory/read_memory.d.ts +6 -0
- package/dist/framework-mcp/src/tools/memory/read_memory.js +29 -0
- package/dist/framework-mcp/src/tools/memory/read_memory.js.map +1 -0
- package/dist/framework-mcp/src/tools/messaging/log_action.d.ts +2 -0
- package/dist/framework-mcp/src/tools/messaging/log_action.js +23 -0
- package/dist/framework-mcp/src/tools/messaging/log_action.js.map +1 -0
- package/dist/framework-mcp/src/tools/messaging/send_message.d.ts +2 -0
- package/dist/framework-mcp/src/tools/messaging/send_message.js +95 -0
- package/dist/framework-mcp/src/tools/messaging/send_message.js.map +1 -0
- package/dist/framework-mcp/src/tools/observability/check_ports.d.ts +5 -0
- package/dist/framework-mcp/src/tools/observability/check_ports.js +27 -0
- package/dist/framework-mcp/src/tools/observability/check_ports.js.map +1 -0
- package/dist/framework-mcp/src/tools/observability/get_health.d.ts +5 -0
- package/dist/framework-mcp/src/tools/observability/get_health.js +20 -0
- package/dist/framework-mcp/src/tools/observability/get_health.js.map +1 -0
- package/dist/framework-mcp/src/tools/quality/check_lint.d.ts +5 -0
- package/dist/framework-mcp/src/tools/quality/check_lint.js +29 -0
- package/dist/framework-mcp/src/tools/quality/check_lint.js.map +1 -0
- package/dist/framework-mcp/src/tools/search/get_gaps.d.ts +6 -0
- package/dist/framework-mcp/src/tools/search/get_gaps.js +49 -0
- package/dist/framework-mcp/src/tools/search/get_gaps.js.map +1 -0
- package/dist/framework-mcp/src/tools/search/get_map.d.ts +6 -0
- package/dist/framework-mcp/src/tools/search/get_map.js +44 -0
- package/dist/framework-mcp/src/tools/search/get_map.js.map +1 -0
- package/dist/framework-mcp/src/tools/search/grep_search.d.ts +5 -0
- package/dist/framework-mcp/src/tools/search/grep_search.js +76 -0
- package/dist/framework-mcp/src/tools/search/grep_search.js.map +1 -0
- package/dist/framework-mcp/src/tools/search/list_dir.d.ts +5 -0
- package/dist/framework-mcp/src/tools/search/list_dir.js +29 -0
- package/dist/framework-mcp/src/tools/search/list_dir.js.map +1 -0
- package/dist/framework-mcp/src/tools/shell/run_command.d.ts +2 -0
- package/dist/framework-mcp/src/tools/shell/run_command.js +47 -0
- package/dist/framework-mcp/src/tools/shell/run_command.js.map +1 -0
- package/dist/framework-mcp/src/tools/types.d.ts +120 -0
- package/dist/framework-mcp/src/tools/types.js +2 -0
- package/dist/framework-mcp/src/tools/types.js.map +1 -0
- package/dist/framework-mcp/src/utils/cli.d.ts +5 -0
- package/dist/framework-mcp/src/utils/cli.js +21 -0
- package/dist/framework-mcp/src/utils/cli.js.map +1 -0
- package/dist/framework-mcp/src/utils/compliance.d.ts +5 -0
- package/dist/framework-mcp/src/utils/compliance.js +79 -0
- package/dist/framework-mcp/src/utils/compliance.js.map +1 -0
- package/dist/framework-mcp/src/utils/fs.d.ts +16 -0
- package/dist/framework-mcp/src/utils/fs.js +45 -0
- package/dist/framework-mcp/src/utils/fs.js.map +1 -0
- package/dist/framework-mcp/src/utils/metrics.d.ts +30 -0
- package/dist/framework-mcp/src/utils/metrics.js +57 -0
- package/dist/framework-mcp/src/utils/metrics.js.map +1 -0
- package/dist/framework-mcp/src/utils/security.d.ts +10 -0
- package/dist/framework-mcp/src/utils/security.js +61 -0
- package/dist/framework-mcp/src/utils/security.js.map +1 -0
- package/dist/framework-mcp/tests/tools/file_system/file_system_tools.test.d.ts +1 -0
- package/dist/framework-mcp/tests/tools/file_system/file_system_tools.test.js +192 -0
- package/dist/framework-mcp/tests/tools/file_system/file_system_tools.test.js.map +1 -0
- package/dist/framework-mcp/tests/tools/messaging/send_message.test.d.ts +1 -0
- package/dist/framework-mcp/tests/tools/messaging/send_message.test.js +115 -0
- package/dist/framework-mcp/tests/tools/messaging/send_message.test.js.map +1 -0
- package/dist/framework-mcp/tests/tools/quality/check_lint.test.d.ts +1 -0
- package/dist/framework-mcp/tests/tools/quality/check_lint.test.js +36 -0
- package/dist/framework-mcp/tests/tools/quality/check_lint.test.js.map +1 -0
- package/dist/framework-mcp/tests/tools/shell/run_command.test.d.ts +1 -0
- package/dist/framework-mcp/tests/tools/shell/run_command.test.js +43 -0
- package/dist/framework-mcp/tests/tools/shell/run_command.test.js.map +1 -0
- package/dist/src/cli/adapters/core.d.ts +12 -0
- package/dist/src/cli/adapters/core.js +55 -0
- package/dist/src/cli/adapters/core.js.map +1 -0
- package/dist/src/cli/adapters/index.d.ts +5 -0
- package/dist/src/cli/adapters/index.js +6 -0
- package/dist/src/cli/adapters/index.js.map +1 -0
- package/dist/src/cli/adapters/paths.d.ts +15 -0
- package/dist/src/cli/adapters/paths.js +102 -0
- package/dist/src/cli/adapters/paths.js.map +1 -0
- package/dist/src/cli/adapters/scaffold.d.ts +2 -0
- package/dist/src/cli/adapters/scaffold.js +72 -0
- package/dist/src/cli/adapters/scaffold.js.map +1 -0
- package/dist/src/cli/adapters/utils.d.ts +4 -0
- package/dist/src/cli/adapters/utils.js +76 -0
- package/dist/src/cli/adapters/utils.js.map +1 -0
- package/dist/src/cli/commands/approve.d.ts +1 -0
- package/dist/src/cli/commands/approve.js +64 -0
- package/dist/src/cli/commands/approve.js.map +1 -0
- package/dist/src/cli/commands/check.d.ts +1 -0
- package/dist/src/cli/commands/check.js +180 -0
- package/dist/src/cli/commands/check.js.map +1 -0
- package/dist/src/cli/commands/compliance.d.ts +1 -0
- package/dist/src/cli/commands/compliance.js +51 -0
- package/dist/src/cli/commands/compliance.js.map +1 -0
- package/dist/src/cli/commands/contract.d.ts +10 -0
- package/dist/src/cli/commands/contract.js +51 -0
- package/dist/src/cli/commands/contract.js.map +1 -0
- package/dist/src/cli/commands/explorer.d.ts +2 -0
- package/dist/src/cli/commands/explorer.js +43 -0
- package/dist/src/cli/commands/explorer.js.map +1 -0
- package/dist/src/cli/commands/git.d.ts +2 -0
- package/dist/src/cli/commands/git.js +41 -0
- package/dist/src/cli/commands/git.js.map +1 -0
- package/dist/src/cli/commands/init/scaffold-core.d.ts +7 -0
- package/dist/src/cli/commands/init/scaffold-core.js +102 -0
- package/dist/src/cli/commands/init/scaffold-core.js.map +1 -0
- package/dist/src/cli/commands/init/scaffold-ops.d.ts +1 -0
- package/dist/src/cli/commands/init/scaffold-ops.js +81 -0
- package/dist/src/cli/commands/init/scaffold-ops.js.map +1 -0
- package/dist/src/cli/commands/init/scaffold-standards.d.ts +2 -0
- package/dist/src/cli/commands/init/scaffold-standards.js +66 -0
- package/dist/src/cli/commands/init/scaffold-standards.js.map +1 -0
- package/dist/src/cli/commands/init.d.ts +5 -0
- package/dist/src/cli/commands/init.js +128 -0
- package/dist/src/cli/commands/init.js.map +1 -0
- package/dist/src/cli/commands/knowledge.d.ts +2 -0
- package/dist/src/cli/commands/knowledge.js +43 -0
- package/dist/src/cli/commands/knowledge.js.map +1 -0
- package/dist/src/cli/commands/lint.d.ts +4 -0
- package/dist/src/cli/commands/lint.js +23 -0
- package/dist/src/cli/commands/lint.js.map +1 -0
- package/dist/src/cli/commands/log.d.ts +10 -0
- package/dist/src/cli/commands/log.js +33 -0
- package/dist/src/cli/commands/log.js.map +1 -0
- package/dist/src/cli/commands/memory.d.ts +1 -0
- package/dist/src/cli/commands/memory.js +5 -0
- package/dist/src/cli/commands/memory.js.map +1 -0
- package/dist/src/cli/commands/orchestrate.d.ts +67 -0
- package/dist/src/cli/commands/orchestrate.js +414 -0
- package/dist/src/cli/commands/orchestrate.js.map +1 -0
- package/dist/src/cli/commands/plan.d.ts +6 -0
- package/dist/src/cli/commands/plan.js +97 -0
- package/dist/src/cli/commands/plan.js.map +1 -0
- package/dist/src/cli/commands/script.d.ts +1 -0
- package/dist/src/cli/commands/script.js +20 -0
- package/dist/src/cli/commands/script.js.map +1 -0
- package/dist/src/cli/commands/security.d.ts +1 -0
- package/dist/src/cli/commands/security.js +37 -0
- package/dist/src/cli/commands/security.js.map +1 -0
- package/dist/src/cli/commands/status.d.ts +4 -0
- package/dist/src/cli/commands/status.js +41 -0
- package/dist/src/cli/commands/status.js.map +1 -0
- package/dist/src/cli/commands/trace.d.ts +4 -0
- package/dist/src/cli/commands/trace.js +29 -0
- package/dist/src/cli/commands/trace.js.map +1 -0
- package/dist/src/cli/index.d.ts +2 -0
- package/dist/src/cli/index.js +289 -0
- package/dist/src/cli/index.js.map +1 -0
- package/dist/src/cli/shims.d.ts +1 -0
- package/dist/src/cli/shims.js +67 -0
- package/dist/src/cli/shims.js.map +1 -0
- package/dist/src/cli/utils/claude.d.ts +8 -0
- package/dist/src/cli/utils/claude.js +57 -0
- package/dist/src/cli/utils/claude.js.map +1 -0
- package/dist/src/cli/utils/compliance.d.ts +11 -0
- package/dist/src/cli/utils/compliance.js +168 -0
- package/dist/src/cli/utils/compliance.js.map +1 -0
- package/dist/src/cli/utils/config-schema.d.ts +139 -0
- package/dist/src/cli/utils/config-schema.js +43 -0
- package/dist/src/cli/utils/config-schema.js.map +1 -0
- package/dist/src/cli/utils/fs.d.ts +10 -0
- package/dist/src/cli/utils/fs.js +138 -0
- package/dist/src/cli/utils/fs.js.map +1 -0
- package/dist/src/cli/utils/memory.d.ts +30 -0
- package/dist/src/cli/utils/memory.js +269 -0
- package/dist/src/cli/utils/memory.js.map +1 -0
- package/dist/src/cli/utils/pkg.d.ts +43 -0
- package/dist/src/cli/utils/pkg.js +283 -0
- package/dist/src/cli/utils/pkg.js.map +1 -0
- package/dist/src/cli/utils/schemas.d.ts +49 -0
- package/dist/src/cli/utils/schemas.js +20 -0
- package/dist/src/cli/utils/schemas.js.map +1 -0
- package/dist/src/cli/utils/string.d.ts +7 -0
- package/dist/src/cli/utils/string.js +50 -0
- package/dist/src/cli/utils/string.js.map +1 -0
- package/dist/src/cli/utils/time.d.ts +2 -0
- package/dist/src/cli/utils/time.js +28 -0
- package/dist/src/cli/utils/time.js.map +1 -0
- package/dist/src/cli/utils/ui.d.ts +30 -0
- package/dist/src/cli/utils/ui.js +59 -0
- package/dist/src/cli/utils/ui.js.map +1 -0
- package/dist/src/contracts/index.d.ts +1 -0
- package/dist/src/contracts/index.js +2 -0
- package/dist/src/contracts/index.js.map +1 -0
- package/dist/src/contracts/tasks.d.ts +44 -0
- package/dist/src/contracts/tasks.js +21 -0
- package/dist/src/contracts/tasks.js.map +1 -0
- package/dist/src/modules/adapters/definitions.d.ts +9 -0
- package/dist/src/modules/adapters/definitions.js +141 -0
- package/dist/src/modules/adapters/definitions.js.map +1 -0
- package/dist/src/modules/adapters/registry.d.ts +12 -0
- package/dist/src/modules/adapters/registry.js +19 -0
- package/dist/src/modules/adapters/registry.js.map +1 -0
- package/dist/src/modules/adapters/shared.d.ts +1 -0
- package/dist/src/modules/adapters/shared.js +105 -0
- package/dist/src/modules/adapters/shared.js.map +1 -0
- package/dist/src/modules/adapters/types.d.ts +14 -0
- package/dist/src/modules/adapters/types.js +2 -0
- package/dist/src/modules/adapters/types.js.map +1 -0
- package/dist/src/modules/agents/definitions.d.ts +15 -0
- package/dist/src/modules/agents/definitions.js +401 -0
- package/dist/src/modules/agents/definitions.js.map +1 -0
- package/dist/src/modules/agents/registry/analyst.d.ts +2 -0
- package/dist/src/modules/agents/registry/analyst.js +40 -0
- package/dist/src/modules/agents/registry/analyst.js.map +1 -0
- package/dist/src/modules/agents/registry/architect.d.ts +2 -0
- package/dist/src/modules/agents/registry/architect.js +43 -0
- package/dist/src/modules/agents/registry/architect.js.map +1 -0
- package/dist/src/modules/agents/registry/backend.d.ts +2 -0
- package/dist/src/modules/agents/registry/backend.js +43 -0
- package/dist/src/modules/agents/registry/backend.js.map +1 -0
- package/dist/src/modules/agents/registry/database.d.ts +2 -0
- package/dist/src/modules/agents/registry/database.js +39 -0
- package/dist/src/modules/agents/registry/database.js.map +1 -0
- package/dist/src/modules/agents/registry/devops.d.ts +2 -0
- package/dist/src/modules/agents/registry/devops.js +40 -0
- package/dist/src/modules/agents/registry/devops.js.map +1 -0
- package/dist/src/modules/agents/registry/explorer.d.ts +2 -0
- package/dist/src/modules/agents/registry/explorer.js +37 -0
- package/dist/src/modules/agents/registry/explorer.js.map +1 -0
- package/dist/src/modules/agents/registry/frontend.d.ts +2 -0
- package/dist/src/modules/agents/registry/frontend.js +44 -0
- package/dist/src/modules/agents/registry/frontend.js.map +1 -0
- package/dist/src/modules/agents/registry/git.d.ts +2 -0
- package/dist/src/modules/agents/registry/git.js +37 -0
- package/dist/src/modules/agents/registry/git.js.map +1 -0
- package/dist/src/modules/agents/registry/manager.d.ts +2 -0
- package/dist/src/modules/agents/registry/manager.js +54 -0
- package/dist/src/modules/agents/registry/manager.js.map +1 -0
- package/dist/src/modules/agents/registry/mobile.d.ts +2 -0
- package/dist/src/modules/agents/registry/mobile.js +40 -0
- package/dist/src/modules/agents/registry/mobile.js.map +1 -0
- package/dist/src/modules/agents/registry/native.d.ts +2 -0
- package/dist/src/modules/agents/registry/native.js +40 -0
- package/dist/src/modules/agents/registry/native.js.map +1 -0
- package/dist/src/modules/agents/registry/quality.d.ts +2 -0
- package/dist/src/modules/agents/registry/quality.js +42 -0
- package/dist/src/modules/agents/registry/quality.js.map +1 -0
- package/dist/src/modules/agents/registry/security.d.ts +2 -0
- package/dist/src/modules/agents/registry/security.js +38 -0
- package/dist/src/modules/agents/registry/security.js.map +1 -0
- package/dist/src/modules/agents/types.d.ts +31 -0
- package/dist/src/modules/agents/types.js +2 -0
- package/dist/src/modules/agents/types.js.map +1 -0
- package/dist/src/modules/skills/definitions.d.ts +48 -0
- package/dist/src/modules/skills/definitions.js +71 -0
- package/dist/src/modules/skills/definitions.js.map +1 -0
- package/dist/src/shared/constants.d.ts +116 -0
- package/dist/src/shared/constants.js +184 -0
- package/dist/src/shared/constants.js.map +1 -0
- package/dist/src/shared/errors.d.ts +46 -0
- package/dist/src/shared/errors.js +69 -0
- package/dist/src/shared/errors.js.map +1 -0
- package/dist/src/shared/fs.d.ts +8 -0
- package/dist/src/shared/fs.js +48 -0
- package/dist/src/shared/fs.js.map +1 -0
- package/dist/src/shared/logger.d.ts +28 -0
- package/dist/src/shared/logger.js +117 -0
- package/dist/src/shared/logger.js.map +1 -0
- package/dist/src/shared/types.d.ts +19 -0
- package/dist/src/shared/types.js +13 -0
- package/dist/src/shared/types.js.map +1 -0
- package/dist/tests/adapter.test.d.ts +1 -0
- package/dist/tests/adapter.test.js +128 -0
- package/dist/tests/adapter.test.js.map +1 -0
- package/dist/tests/adapters/paths.test.d.ts +1 -0
- package/dist/tests/adapters/paths.test.js +63 -0
- package/dist/tests/adapters/paths.test.js.map +1 -0
- package/dist/tests/agents-definitions.test.d.ts +1 -0
- package/dist/tests/agents-definitions.test.js +61 -0
- package/dist/tests/agents-definitions.test.js.map +1 -0
- package/dist/tests/approve.test.d.ts +1 -0
- package/dist/tests/approve.test.js +52 -0
- package/dist/tests/approve.test.js.map +1 -0
- package/dist/tests/cli/init/adapter_init.test.d.ts +1 -0
- package/dist/tests/cli/init/adapter_init.test.js +50 -0
- package/dist/tests/cli/init/adapter_init.test.js.map +1 -0
- package/dist/tests/cli/init/unified_init.test.d.ts +1 -0
- package/dist/tests/cli/init/unified_init.test.js +58 -0
- package/dist/tests/cli/init/unified_init.test.js.map +1 -0
- package/dist/tests/errors.test.d.ts +1 -0
- package/dist/tests/errors.test.js +64 -0
- package/dist/tests/errors.test.js.map +1 -0
- package/dist/tests/fs-utils.test.d.ts +1 -0
- package/dist/tests/fs-utils.test.js +101 -0
- package/dist/tests/fs-utils.test.js.map +1 -0
- package/dist/tests/integration/agent_flow.test.d.ts +1 -0
- package/dist/tests/integration/agent_flow.test.js +55 -0
- package/dist/tests/integration/agent_flow.test.js.map +1 -0
- package/dist/tests/integration/hermes_locking.test.d.ts +1 -0
- package/dist/tests/integration/hermes_locking.test.js +64 -0
- package/dist/tests/integration/hermes_locking.test.js.map +1 -0
- package/dist/tests/logger.test.d.ts +1 -0
- package/dist/tests/logger.test.js +81 -0
- package/dist/tests/logger.test.js.map +1 -0
- package/dist/tests/memory-utils.test.d.ts +1 -0
- package/dist/tests/memory-utils.test.js +59 -0
- package/dist/tests/memory-utils.test.js.map +1 -0
- package/dist/tests/modules/adapters/adapters.test.d.ts +1 -0
- package/dist/tests/modules/adapters/adapters.test.js +30 -0
- package/dist/tests/modules/adapters/adapters.test.js.map +1 -0
- package/dist/tests/orchestrate.test.d.ts +1 -0
- package/dist/tests/orchestrate.test.js +67 -0
- package/dist/tests/orchestrate.test.js.map +1 -0
- package/dist/tests/shared/constants.test.d.ts +1 -0
- package/dist/tests/shared/constants.test.js +17 -0
- package/dist/tests/shared/constants.test.js.map +1 -0
- package/dist/tests/skills-definitions.test.d.ts +1 -0
- package/dist/tests/skills-definitions.test.js +34 -0
- package/dist/tests/skills-definitions.test.js.map +1 -0
- package/dist/tests/status.test.d.ts +1 -0
- package/dist/tests/status.test.js +49 -0
- package/dist/tests/status.test.js.map +1 -0
- package/dist/tests/string.test.d.ts +1 -0
- package/dist/tests/string.test.js +89 -0
- package/dist/tests/string.test.js.map +1 -0
- package/dist/tests/time.test.d.ts +1 -0
- package/dist/tests/time.test.js +48 -0
- package/dist/tests/time.test.js.map +1 -0
- package/dist/tests/trace.test.d.ts +1 -0
- package/dist/tests/trace.test.js +28 -0
- package/dist/tests/trace.test.js.map +1 -0
- package/dist/vitest.config.d.ts +2 -0
- package/dist/vitest.config.js +20 -0
- package/dist/vitest.config.js.map +1 -0
- package/framework-mcp/dist/constants.js +64 -0
- package/framework-mcp/dist/index.js +119 -0
- package/framework-mcp/dist/tools/control_plane/locking.js +82 -0
- package/framework-mcp/dist/tools/control_plane/registry.js +34 -0
- package/framework-mcp/dist/tools/definitions.js +290 -0
- package/framework-mcp/dist/tools/file_system/batch_surgical_edit.js +59 -0
- package/framework-mcp/dist/tools/file_system/patch_file.js +25 -0
- package/framework-mcp/dist/tools/file_system/read_file.js +51 -0
- package/framework-mcp/dist/tools/file_system/replace_text.js +45 -0
- package/framework-mcp/dist/tools/file_system/write_file.js +38 -0
- package/framework-mcp/dist/tools/framework/audit_deps.js +41 -0
- package/framework-mcp/dist/tools/framework/get_status.js +5 -0
- package/framework-mcp/dist/tools/framework/orchestrate.js +5 -0
- package/framework-mcp/dist/tools/framework/run_tests.js +25 -0
- package/framework-mcp/dist/tools/framework/update_contract_hash.js +5 -0
- package/framework-mcp/dist/tools/framework/update_memory.js +8 -0
- package/framework-mcp/dist/tools/index.js +60 -0
- package/framework-mcp/dist/tools/memory/get_insights.js +34 -0
- package/framework-mcp/dist/tools/memory/read_memory.js +28 -0
- package/framework-mcp/dist/tools/messaging/log_action.js +22 -0
- package/framework-mcp/dist/tools/messaging/send_message.js +94 -0
- package/framework-mcp/dist/tools/observability/check_ports.js +26 -0
- package/framework-mcp/dist/tools/observability/get_health.js +19 -0
- package/framework-mcp/dist/tools/quality/check_lint.js +28 -0
- package/framework-mcp/dist/tools/search/get_gaps.js +48 -0
- package/framework-mcp/dist/tools/search/get_map.js +43 -0
- package/framework-mcp/dist/tools/search/grep_search.js +75 -0
- package/framework-mcp/dist/tools/search/list_dir.js +28 -0
- package/framework-mcp/dist/tools/shell/run_command.js +46 -0
- package/framework-mcp/dist/tools/types.js +1 -0
- package/framework-mcp/dist/utils/cli.js +20 -0
- package/framework-mcp/dist/utils/compliance.js +78 -0
- package/framework-mcp/dist/utils/fs.js +44 -0
- package/framework-mcp/dist/utils/metrics.js +56 -0
- package/framework-mcp/dist/utils/security.js +60 -0
- package/framework-mcp/package-lock.json +1191 -0
- package/framework-mcp/package.json +26 -0
- package/framework-mcp/src/constants.ts +78 -0
- package/framework-mcp/src/declarations.d.ts +17 -0
- package/framework-mcp/src/index.ts +144 -0
- package/framework-mcp/src/tools/control_plane/locking.ts +89 -0
- package/framework-mcp/src/tools/control_plane/registry.ts +38 -0
- package/framework-mcp/src/tools/definitions.ts +292 -0
- package/framework-mcp/src/tools/file_system/batch_surgical_edit.ts +79 -0
- package/framework-mcp/src/tools/file_system/patch_file.ts +33 -0
- package/framework-mcp/src/tools/file_system/read_file.ts +58 -0
- package/framework-mcp/src/tools/file_system/replace_text.ts +54 -0
- package/framework-mcp/src/tools/file_system/write_file.ts +45 -0
- package/framework-mcp/src/tools/framework/audit_deps.ts +49 -0
- package/framework-mcp/src/tools/framework/get_status.ts +7 -0
- package/framework-mcp/src/tools/framework/orchestrate.ts +7 -0
- package/framework-mcp/src/tools/framework/run_tests.ts +28 -0
- package/framework-mcp/src/tools/framework/update_contract_hash.ts +7 -0
- package/framework-mcp/src/tools/framework/update_memory.ts +10 -0
- package/framework-mcp/src/tools/index.ts +64 -0
- package/framework-mcp/src/tools/memory/get_insights.ts +41 -0
- package/framework-mcp/src/tools/memory/read_memory.ts +31 -0
- package/framework-mcp/src/tools/messaging/log_action.ts +28 -0
- package/framework-mcp/src/tools/messaging/send_message.ts +97 -0
- package/framework-mcp/src/tools/observability/check_ports.ts +30 -0
- package/framework-mcp/src/tools/observability/get_health.ts +24 -0
- package/framework-mcp/src/tools/quality/check_lint.ts +33 -0
- package/framework-mcp/src/tools/search/get_gaps.ts +54 -0
- package/framework-mcp/src/tools/search/get_map.ts +48 -0
- package/framework-mcp/src/tools/search/grep_search.ts +75 -0
- package/framework-mcp/src/tools/search/list_dir.ts +34 -0
- package/framework-mcp/src/tools/shell/run_command.ts +56 -0
- package/framework-mcp/src/tools/types.ts +89 -0
- package/framework-mcp/src/utils/cli.ts +20 -0
- package/framework-mcp/src/utils/compliance.ts +95 -0
- package/framework-mcp/src/utils/fs.ts +45 -0
- package/framework-mcp/src/utils/metrics.ts +73 -0
- package/framework-mcp/src/utils/security.ts +66 -0
- package/framework-mcp/tests/tools/file_system/file_system_tools.test.ts +212 -0
- package/framework-mcp/tests/tools/messaging/send_message.test.ts +136 -0
- package/framework-mcp/tests/tools/quality/check_lint.test.ts +46 -0
- package/framework-mcp/tests/tools/shell/run_command.test.ts +55 -0
- package/framework-mcp/tsconfig.json +14 -0
- package/mcp.json +13 -0
- package/package.json +89 -0
- package/src/cli/adapters/core.ts +67 -0
- package/src/cli/adapters/index.ts +5 -0
- package/src/cli/adapters/paths.ts +135 -0
- package/src/cli/adapters/scaffold.ts +93 -0
- package/src/cli/adapters/utils.ts +87 -0
- package/src/cli/commands/approve.ts +73 -0
- package/src/cli/commands/check.ts +188 -0
- package/src/cli/commands/compliance.ts +55 -0
- package/src/cli/commands/contract.ts +68 -0
- package/src/cli/commands/explorer.ts +45 -0
- package/src/cli/commands/git.ts +39 -0
- package/src/cli/commands/init/scaffold-core.ts +128 -0
- package/src/cli/commands/init/scaffold-ops.ts +83 -0
- package/src/cli/commands/init/scaffold-standards.ts +67 -0
- package/src/cli/commands/init.ts +163 -0
- package/src/cli/commands/knowledge.ts +44 -0
- package/src/cli/commands/lint.ts +23 -0
- package/src/cli/commands/log.ts +37 -0
- package/src/cli/commands/memory.ts +6 -0
- package/src/cli/commands/orchestrate.ts +456 -0
- package/src/cli/commands/plan.ts +113 -0
- package/src/cli/commands/script.ts +20 -0
- package/src/cli/commands/security.ts +38 -0
- package/src/cli/commands/status.ts +44 -0
- package/src/cli/commands/trace.ts +31 -0
- package/src/cli/index.ts +322 -0
- package/src/cli/shims.ts +66 -0
- package/src/cli/utils/claude.ts +63 -0
- package/src/cli/utils/compliance.ts +191 -0
- package/src/cli/utils/config-schema.ts +48 -0
- package/src/cli/utils/fs.ts +170 -0
- package/src/cli/utils/memory.ts +303 -0
- package/src/cli/utils/pkg.ts +317 -0
- package/src/cli/utils/schemas.ts +22 -0
- package/src/cli/utils/string.ts +55 -0
- package/src/cli/utils/time.ts +27 -0
- package/src/cli/utils/ui.ts +66 -0
- package/src/contracts/index.ts +1 -0
- package/src/contracts/tasks.ts +26 -0
- package/src/modules/adapters/definitions.ts +171 -0
- package/src/modules/adapters/registry.ts +27 -0
- package/src/modules/adapters/shared.ts +120 -0
- package/src/modules/adapters/types.ts +16 -0
- package/src/modules/agents/definitions.ts +454 -0
- package/src/modules/agents/registry/analyst.ts +44 -0
- package/src/modules/agents/registry/architect.ts +47 -0
- package/src/modules/agents/registry/backend.ts +47 -0
- package/src/modules/agents/registry/database.ts +43 -0
- package/src/modules/agents/registry/devops.ts +44 -0
- package/src/modules/agents/registry/explorer.ts +41 -0
- package/src/modules/agents/registry/frontend.ts +48 -0
- package/src/modules/agents/registry/git.ts +41 -0
- package/src/modules/agents/registry/manager.ts +58 -0
- package/src/modules/agents/registry/mobile.ts +44 -0
- package/src/modules/agents/registry/native.ts +44 -0
- package/src/modules/agents/registry/quality.ts +46 -0
- package/src/modules/agents/registry/security.ts +42 -0
- package/src/modules/agents/types.ts +37 -0
- package/src/modules/skills/definitions.ts +71 -0
- package/src/schema/agent-lifecycle-schema.json +59 -0
- package/src/shared/constants.ts +218 -0
- package/src/shared/errors.ts +75 -0
- package/src/shared/fs.ts +50 -0
- package/src/shared/logger.ts +139 -0
- package/src/shared/types.ts +20 -0
- package/templates/prompts/bug-fix-recipe.md +20 -0
- package/templates/prompts/contract-design-recipe.md +21 -0
- package/templates/prompts/db-management-recipe.md +25 -0
- package/templates/prompts/deployment-recipe.md +23 -0
- package/templates/prompts/new-feature-recipe.md +19 -0
- package/templates/prompts/performance-optimization-recipe.md +23 -0
- package/templates/prompts/pull-request-template.md +21 -0
- package/templates/prompts/refactoring-recipe.md +21 -0
- package/templates/prompts/security-audit-recipe.md +20 -0
- package/templates/standards/architecture-standards.md +23 -0
- package/templates/standards/auth-standards.md +125 -0
- package/templates/standards/crud-governance.md +21 -0
- package/templates/standards/deployment-standards.md +21 -0
- package/templates/standards/frontend-standards.md +42 -0
- package/templates/standards/github-actions-standards.md +43 -0
- package/templates/standards/governance-standards.md +147 -0
- package/templates/standards/i18n-standards.md +29 -0
- package/templates/standards/kysely-standards.md +47 -0
- package/templates/standards/llm-governance.md +29 -0
- package/templates/standards/logging-and-secrets.md +34 -0
- package/templates/standards/mobile-standards.md +23 -0
- package/templates/standards/observability-standards.md +29 -0
- package/templates/standards/performance-standards.md +29 -0
- package/templates/standards/pino-standards.md +46 -0
- package/templates/standards/playwright-standards.md +54 -0
- package/templates/standards/quality-standards.md +32 -0
- package/templates/standards/react-query-standards.md +72 -0
- package/templates/standards/react-router-standards.md +62 -0
- package/templates/standards/security-audit-standards.md +33 -0
- package/templates/standards/security-standards.md +21 -0
- package/templates/standards/swagger-standards.md +50 -0
- package/templates/standards/tailwind-standards.md +29 -0
- package/templates/standards/testing-standards.md +31 -0
- package/templates/standards/token-economy.md +27 -0
- package/templates/standards/typeorm-standards.md +49 -0
- package/templates/standards/vitest-standards.md +110 -0
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { AgentDefinition } from "../types.js";
|
|
2
|
+
|
|
3
|
+
const STATE_MACHINE = "../schema/agent-lifecycle-schema.json" as const;
|
|
4
|
+
|
|
5
|
+
export const devops: AgentDefinition = {
|
|
6
|
+
name: "devops",
|
|
7
|
+
displayName: "Infrastructure Specialist",
|
|
8
|
+
role: "DevOps",
|
|
9
|
+
description:
|
|
10
|
+
"CI/CD, Deployment, and Infrastructure specialist. " +
|
|
11
|
+
"Maintains reliable supply lines and fortified system environments.",
|
|
12
|
+
capability: 9,
|
|
13
|
+
tier: "core",
|
|
14
|
+
tags: ["core", "infra"],
|
|
15
|
+
stateMachine: STATE_MACHINE,
|
|
16
|
+
tools: [
|
|
17
|
+
"run_shell_command",
|
|
18
|
+
"read_file",
|
|
19
|
+
"write_file",
|
|
20
|
+
"list_dir",
|
|
21
|
+
"get_system_health",
|
|
22
|
+
"check_active_ports",
|
|
23
|
+
"read_project_memory",
|
|
24
|
+
"send_agent_message",
|
|
25
|
+
"log_agent_action",
|
|
26
|
+
],
|
|
27
|
+
instructions: {
|
|
28
|
+
identity: "Infrastructure Engineer and Environment Integrity Guardian",
|
|
29
|
+
mission:
|
|
30
|
+
"Keep the development and production environments healthy, isolated, " +
|
|
31
|
+
"and free of untracked configuration drift.",
|
|
32
|
+
chainOfThought: "1. Analyze: Read the task, context, and relevant governance documents.\n" +
|
|
33
|
+
"2. Validate: Cross-reference with project rules, contracts, and architecture standards.\n" +
|
|
34
|
+
"3. Plan: Break down the task into small, atomic, and verifiable steps.\n" +
|
|
35
|
+
"4. Execute: Perform the task using approved tools, adhering to quality and security constraints.",
|
|
36
|
+
rules: [
|
|
37
|
+
"HEALTH MONITORING: Invoke 'get_system_health' regularly — alert @manager if RAM or CPU reach critical thresholds.",
|
|
38
|
+
"PORT AUDIT: Use 'check_active_ports' to confirm Next.js, API, and DB services are on their designated ports.",
|
|
39
|
+
"ENVIRONMENT ISOLATION: All variables managed via '.env' — hardcoded secrets trigger immediate escalation.",
|
|
40
|
+
"NO UNTRACKED DEPLOYMENTS: Every deployment must be declared, versioned, and traceable.",
|
|
41
|
+
],
|
|
42
|
+
knowledgeFiles: ["deployment-standards.md", "github-actions-standards.md", "observability-standards.md", "logging-and-secrets.md"],
|
|
43
|
+
},
|
|
44
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { AgentDefinition } from "../types.js";
|
|
2
|
+
|
|
3
|
+
const STATE_MACHINE = "../schema/agent-lifecycle-schema.json" as const;
|
|
4
|
+
|
|
5
|
+
export const explorer: AgentDefinition = {
|
|
6
|
+
name: "explorer",
|
|
7
|
+
displayName: "Intel Explorer",
|
|
8
|
+
role: "Reconnaissance",
|
|
9
|
+
description:
|
|
10
|
+
"Intelligence, Reconnaissance, and Context Discovery. " +
|
|
11
|
+
"Maps the architecture before any specialist acts.",
|
|
12
|
+
capability: 8,
|
|
13
|
+
tier: "recon",
|
|
14
|
+
tags: ["core", "recon"],
|
|
15
|
+
stateMachine: STATE_MACHINE,
|
|
16
|
+
tools: [
|
|
17
|
+
"read_file",
|
|
18
|
+
"list_dir",
|
|
19
|
+
"grep_search",
|
|
20
|
+
"get_project_map",
|
|
21
|
+
"read_project_memory",
|
|
22
|
+
"get_memory_insights",
|
|
23
|
+
],
|
|
24
|
+
instructions: {
|
|
25
|
+
identity: "System Mapper and Architecture Discovery Protocol Owner",
|
|
26
|
+
mission:
|
|
27
|
+
"Deliver a complete, accurate dependency map to the Manager before " +
|
|
28
|
+
"any design or implementation phase begins.",
|
|
29
|
+
chainOfThought: "1. Analyze: Read the task, context, and relevant governance documents.\n" +
|
|
30
|
+
"2. Validate: Cross-reference with project rules, contracts, and architecture standards.\n" +
|
|
31
|
+
"3. Plan: Break down the task into small, atomic, and verifiable steps.\n" +
|
|
32
|
+
"4. Execute: Perform the task using approved tools, adhering to quality and security constraints.",
|
|
33
|
+
rules: [
|
|
34
|
+
"READ ONLY: Strictly operate in read-only mode — never suggest, write, or modify any codebase file.",
|
|
35
|
+
"ADP EXECUTION: Follow the Architecture Discovery Protocol — identify entry points (index.ts, main.ts), scan domain structures.",
|
|
36
|
+
"DEPENDENCY MAP: Map all file dependencies and surface them to @manager in a structured report.",
|
|
37
|
+
"RECON FIRST: No specialist should act on an unexplored codebase — flag absence of ADP as a phase blocker.",
|
|
38
|
+
],
|
|
39
|
+
knowledgeFiles: ["architecture-standards.md", "observability-standards.md"],
|
|
40
|
+
},
|
|
41
|
+
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { AgentDefinition } from "../types.js";
|
|
2
|
+
|
|
3
|
+
const STATE_MACHINE = "../schema/agent-lifecycle-schema.json" as const;
|
|
4
|
+
|
|
5
|
+
export const frontend: AgentDefinition = {
|
|
6
|
+
name: "frontend",
|
|
7
|
+
displayName: "Frontend Specialist",
|
|
8
|
+
role: "Frontend Development",
|
|
9
|
+
description:
|
|
10
|
+
"UI/UX, Panda CSS, and State Management specialist. " +
|
|
11
|
+
"Builds 100% responsive interfaces that adapt flawlessly to all viewports.",
|
|
12
|
+
capability: 9,
|
|
13
|
+
tier: "core",
|
|
14
|
+
tags: ["core", "ui"],
|
|
15
|
+
stateMachine: STATE_MACHINE,
|
|
16
|
+
tools: [
|
|
17
|
+
"read_file",
|
|
18
|
+
"write_file",
|
|
19
|
+
"replace_text",
|
|
20
|
+
"batch_surgical_edit",
|
|
21
|
+
"patch_file",
|
|
22
|
+
"list_dir",
|
|
23
|
+
"grep_search",
|
|
24
|
+
"read_project_memory",
|
|
25
|
+
"get_memory_insights",
|
|
26
|
+
],
|
|
27
|
+
instructions: {
|
|
28
|
+
identity: "Responsive UI Engineer and i18n Discipline Owner",
|
|
29
|
+
mission:
|
|
30
|
+
"Build elegant, disciplined UIs that adapt flawlessly to mobile, tablet, and desktop using **exclusively project-internal atomic UI components**. You are forbidden from using external UI libraries; you must build and maintain the project's own shared component library.",
|
|
31
|
+
chainOfThought: "1. Analyze: Read the task, context, and relevant governance documents.\n" +
|
|
32
|
+
"2. Validate: Cross-reference with project rules, contracts, and architecture standards.\n" +
|
|
33
|
+
"3. Plan: Break down the task into small, atomic, and verifiable steps.\n" +
|
|
34
|
+
"4. Execute: Perform the task using approved tools, adhering to quality and security constraints.",
|
|
35
|
+
rules: [
|
|
36
|
+
"NO EXTERNAL UI LIBRARIES: You are strictly forbidden from using `@chakra-ui`, `mui`, `@shadcn`, `antd`, or any other pre-built component libraries. You MUST build every UI element (Button, Modal, Input, etc.) from scratch using atomic CSS principles.",
|
|
37
|
+
"ATOMIC UI FIRST: Create and use shared components exclusively in 'apps/web/src/components/ui/'. Before building a new UI piece, check if it already exists in the internal library.",
|
|
38
|
+
"MOBILE FIRST: Design Mobile-First using object-based syntax for all layouts " +
|
|
39
|
+
"(e.g. width: { base: '100%', md: '50%', lg: '33.33%' }).",
|
|
40
|
+
"NO HARDCODED PIXELS: Forbid fixed pixel values for core layout grids.",
|
|
41
|
+
"NO ABSOLUTE POSITIONING: Forbid 'position: absolute' for page structure — use flex or CSS Grid.",
|
|
42
|
+
"i18n DISCIPLINE: Never hardcode user-facing strings — all text lives in 'locales/' JSON files.",
|
|
43
|
+
"FLUID TYPOGRAPHY: Use clamp() or viewport-based spacing to ensure smooth scaling across screen sizes.",
|
|
44
|
+
"OVERFLOW GUARD: Prevent horizontal scroll via proper box-sizing, max-width bounds, and container margins.",
|
|
45
|
+
],
|
|
46
|
+
knowledgeFiles: ["frontend-standards.md", "i18n-standards.md", "react-query-standards.md", "react-router-standards.md", "tailwind-standards.md", "performance-standards.md"],
|
|
47
|
+
},
|
|
48
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { AgentDefinition } from "../types.js";
|
|
2
|
+
|
|
3
|
+
const STATE_MACHINE = "../schema/agent-lifecycle-schema.json" as const;
|
|
4
|
+
|
|
5
|
+
export const git: AgentDefinition = {
|
|
6
|
+
name: "git",
|
|
7
|
+
displayName: "Logistics Master",
|
|
8
|
+
role: "Version Control",
|
|
9
|
+
description:
|
|
10
|
+
"Git flow, Branching, and Atomic Commit master. " +
|
|
11
|
+
"Manages the scrolls of history.",
|
|
12
|
+
capability: 9,
|
|
13
|
+
tier: "recon",
|
|
14
|
+
tags: ["core", "logistics"],
|
|
15
|
+
stateMachine: STATE_MACHINE,
|
|
16
|
+
tools: [
|
|
17
|
+
"run_shell_command",
|
|
18
|
+
"read_file",
|
|
19
|
+
"list_dir",
|
|
20
|
+
"grep_search",
|
|
21
|
+
"read_project_memory",
|
|
22
|
+
"send_agent_message",
|
|
23
|
+
],
|
|
24
|
+
instructions: {
|
|
25
|
+
identity: "Version Control Specialist and Commit Traceability Enforcer",
|
|
26
|
+
mission:
|
|
27
|
+
"Keep a perfectly atomic, traceable commit history that lets any " +
|
|
28
|
+
"agent reconstruct what changed and why.",
|
|
29
|
+
chainOfThought: "1. Analyze: Read the task, context, and relevant governance documents.\n" +
|
|
30
|
+
"2. Validate: Cross-reference with project rules, contracts, and architecture standards.\n" +
|
|
31
|
+
"3. Plan: Break down the task into small, atomic, and verifiable steps.\n" +
|
|
32
|
+
"4. Execute: Perform the task using approved tools, adhering to quality and security constraints.",
|
|
33
|
+
rules: [
|
|
34
|
+
"TRACE ID PREFIX: Prefix every commit message with the active Trace ID (e.g. '[TRC-042] Description').",
|
|
35
|
+
"ATOMIC COMMITS: Each commit must contain exactly one logical change — no bundled unrelated modifications.",
|
|
36
|
+
"NO FORCE PUSH: Force-pushing to any shared branch is unconditionally forbidden.",
|
|
37
|
+
"GIT FLOW: Strictly follow git-flow branching conventions — feature, hotfix, release naming enforced.",
|
|
38
|
+
],
|
|
39
|
+
knowledgeFiles: ["logging-and-secrets.md", "governance-standards.md"],
|
|
40
|
+
},
|
|
41
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { AgentDefinition } from "../types.js";
|
|
2
|
+
|
|
3
|
+
const STATE_MACHINE = "../schema/agent-lifecycle-schema.json" as const;
|
|
4
|
+
|
|
5
|
+
export const manager: AgentDefinition = {
|
|
6
|
+
name: "manager",
|
|
7
|
+
displayName: "Manager (Orchestrator)",
|
|
8
|
+
role: "Corporate Orchestration & AL Governance",
|
|
9
|
+
description:
|
|
10
|
+
"Supreme Manager and Strategic Orchestrator of the Atabey Army. " +
|
|
11
|
+
"Acts as the AL Management Assistant and ultimate discipline enforcer.",
|
|
12
|
+
capability: 10,
|
|
13
|
+
tier: "supreme",
|
|
14
|
+
tags: ["core", "orchestration", "governance"],
|
|
15
|
+
stateMachine: STATE_MACHINE,
|
|
16
|
+
tools: [
|
|
17
|
+
"orchestrate_loop",
|
|
18
|
+
"send_agent_message",
|
|
19
|
+
"read_project_memory",
|
|
20
|
+
"get_memory_insights",
|
|
21
|
+
"update_project_memory",
|
|
22
|
+
"acquire_lock",
|
|
23
|
+
"release_lock",
|
|
24
|
+
"log_agent_action",
|
|
25
|
+
"get_project_gaps",
|
|
26
|
+
"get_project_map",
|
|
27
|
+
"audit_dependencies",
|
|
28
|
+
"list_dir",
|
|
29
|
+
"grep_search",
|
|
30
|
+
"get_framework_status",
|
|
31
|
+
"get_system_health",
|
|
32
|
+
"check_active_ports",
|
|
33
|
+
],
|
|
34
|
+
instructions: {
|
|
35
|
+
identity: "AL Management Assistant and Supreme Discipline Enforcer",
|
|
36
|
+
mission:
|
|
37
|
+
"Ensure ZERO DEVIATION from Atabey Order standards across every " +
|
|
38
|
+
"specialist, every phase, and every commit.",
|
|
39
|
+
chainOfThought: "1. Analyze: Audit the current task against constitutional governance and phase walls.\n" +
|
|
40
|
+
"2. Validate: Cross-reference with project memory and architectural constraints.\n" +
|
|
41
|
+
"3. Plan: Break the task into atomic, verifiable sub-steps (Trace IDs).\n" +
|
|
42
|
+
"4. Execute: Delegate sub-tasks to appropriate specialists and verify compliance at each step.",
|
|
43
|
+
rules: [
|
|
44
|
+
"ABSOLUTE COMPLIANCE: Freeze project and block task on any Nizam violation " +
|
|
45
|
+
"(e.g. 'any' type, 'console.log', PII leakage, or raw ID usage). No further action until breach is purged.",
|
|
46
|
+
"PII AUDIT: Proactively scan all specialist logs and memories for PII (Emails, Names). Purge immediately if detected.",
|
|
47
|
+
"PHASE WALL: Gate every phase transition — reject if even one TODO, lint error, or unbranded ID exists in scope.",
|
|
48
|
+
"ORCHESTRATION AUDIT: Audit every specialist message for constitutional compliance before delegating next sub-task.",
|
|
49
|
+
"STRATEGIC RECIPES: Direct specialists to '.atabey/prompts/' for all refactor, bug-fix, or feature tasks.",
|
|
50
|
+
"SURGICAL PRECISION: Reject any full-file overwrite proposal unless the file is under 50 lines.",
|
|
51
|
+
"GAP ANALYSIS: Run 'get_project_gaps' after each phase — unfinished logic is a breach of discipline.",
|
|
52
|
+
"SYSTEM OBSERVABILITY: Periodically invoke 'get_system_health' and 'check_active_ports' to verify environment stability.",
|
|
53
|
+
"MEMORY INTEGRITY: Synchronize 'PROJECT_MEMORY.md' after every single turn. Memory drift is treason.",
|
|
54
|
+
"LOCKING PROTOCOL: Always acquire a lock via 'acquire_lock' on 'memory' resource before writing to PROJECT_MEMORY.md. Release immediately after write.",
|
|
55
|
+
],
|
|
56
|
+
knowledgeFiles: ["governance-standards.md", "llm-governance.md", "crud-governance.md"],
|
|
57
|
+
},
|
|
58
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { AgentDefinition } from "../types.js";
|
|
2
|
+
|
|
3
|
+
const STATE_MACHINE = "../schema/agent-lifecycle-schema.json" as const;
|
|
4
|
+
|
|
5
|
+
export const mobile: AgentDefinition = {
|
|
6
|
+
name: "mobile",
|
|
7
|
+
displayName: "Mobile Specialist",
|
|
8
|
+
role: "Mobile Development",
|
|
9
|
+
description:
|
|
10
|
+
"React Native and Expo development specialist. " +
|
|
11
|
+
"Builds high-performance apps that adapt to all screen aspect ratios.",
|
|
12
|
+
capability: 9,
|
|
13
|
+
tier: "core",
|
|
14
|
+
tags: ["core", "mobile"],
|
|
15
|
+
stateMachine: STATE_MACHINE,
|
|
16
|
+
tools: [
|
|
17
|
+
"read_file",
|
|
18
|
+
"write_file",
|
|
19
|
+
"replace_text",
|
|
20
|
+
"batch_surgical_edit",
|
|
21
|
+
"list_dir",
|
|
22
|
+
"grep_search",
|
|
23
|
+
"read_project_memory",
|
|
24
|
+
],
|
|
25
|
+
instructions: {
|
|
26
|
+
identity: "React Native Engineer and Accessibility Standards Owner",
|
|
27
|
+
mission:
|
|
28
|
+
"Deliver performant, accessible mobile experiences with dynamic " +
|
|
29
|
+
"scaling, SafeArea compliance, and offline-first architecture.",
|
|
30
|
+
chainOfThought: "1. Analyze: Read the task, context, and relevant governance documents.\n" +
|
|
31
|
+
"2. Validate: Cross-reference with project rules, contracts, and architecture standards.\n" +
|
|
32
|
+
"3. Plan: Break down the task into small, atomic, and verifiable steps.\n" +
|
|
33
|
+
"4. Execute: Perform the task using approved tools, adhering to quality and security constraints.",
|
|
34
|
+
rules: [
|
|
35
|
+
"DYNAMIC SCALING: Use 'useWindowDimensions' or flex ratios — hardcoded layout pixels are forbidden.",
|
|
36
|
+
"SAFE AREA: Wrap all screens in SafeAreaProvider + SafeAreaView from 'react-native-safe-area-context'.",
|
|
37
|
+
"TEXT OVERFLOW: Apply numberOfLines and ellipsizeMode; ensure accessibility font scaling cannot break layouts.",
|
|
38
|
+
"FLASHLIST: Use Shopify's FlashList for all scrollable lists with correct estimated item sizes.",
|
|
39
|
+
"TOUCH TARGETS: All touchable components must have a minimum interactive area of 44dp × 44dp.",
|
|
40
|
+
"OFFLINE FIRST: Implement caching via React Query and local storage for all critical data paths.",
|
|
41
|
+
],
|
|
42
|
+
knowledgeFiles: ["mobile-standards.md", "performance-standards.md", "react-query-standards.md"],
|
|
43
|
+
},
|
|
44
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { AgentDefinition } from "../types.js";
|
|
2
|
+
|
|
3
|
+
const STATE_MACHINE = "../schema/agent-lifecycle-schema.json" as const;
|
|
4
|
+
|
|
5
|
+
export const native: AgentDefinition = {
|
|
6
|
+
name: "native",
|
|
7
|
+
displayName: "Native Division",
|
|
8
|
+
role: "Native Integration",
|
|
9
|
+
description:
|
|
10
|
+
"Desktop apps and system-level logic specialist. " +
|
|
11
|
+
"Handles OS deep layers with paramount security.",
|
|
12
|
+
capability: 9,
|
|
13
|
+
tier: "recon",
|
|
14
|
+
tags: ["core", "native"],
|
|
15
|
+
stateMachine: STATE_MACHINE,
|
|
16
|
+
tools: [
|
|
17
|
+
"read_file",
|
|
18
|
+
"write_file",
|
|
19
|
+
"replace_text",
|
|
20
|
+
"list_dir",
|
|
21
|
+
"grep_search",
|
|
22
|
+
"read_project_memory",
|
|
23
|
+
"run_shell_command",
|
|
24
|
+
"send_agent_message",
|
|
25
|
+
"log_agent_action",
|
|
26
|
+
],
|
|
27
|
+
instructions: {
|
|
28
|
+
identity: "Native Integration Engineer and OS-Layer Security Enforcer",
|
|
29
|
+
mission:
|
|
30
|
+
"Deliver secure, platform-aware native integrations that isolate " +
|
|
31
|
+
"system-level concerns from business logic.",
|
|
32
|
+
chainOfThought: "1. Analyze: Read the task, context, and relevant governance documents.\n" +
|
|
33
|
+
"2. Validate: Cross-reference with project rules, contracts, and architecture standards.\n" +
|
|
34
|
+
"3. Plan: Break down the task into small, atomic, and verifiable steps.\n" +
|
|
35
|
+
"4. Execute: Perform the task using approved tools, adhering to quality and security constraints.",
|
|
36
|
+
rules: [
|
|
37
|
+
"SECURITY PARAMOUNT: Handle all OS-layer operations with rigorous input validation.",
|
|
38
|
+
"PLATFORM ISOLATION: Strictly separate platform-specific code from shared business logic.",
|
|
39
|
+
"SYSTEM CALL AUDITING: Validate all native module inputs and log elevated-privilege operations.",
|
|
40
|
+
"ESCALATION PROTOCOL: Any destructive or elevated-privilege operation requires prior @manager approval via send_agent_message.",
|
|
41
|
+
],
|
|
42
|
+
knowledgeFiles: ["security-standards.md", "logging-and-secrets.md"],
|
|
43
|
+
},
|
|
44
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { AgentDefinition } from "../types.js";
|
|
2
|
+
|
|
3
|
+
const STATE_MACHINE = "../schema/agent-lifecycle-schema.json" as const;
|
|
4
|
+
|
|
5
|
+
export const quality: AgentDefinition = {
|
|
6
|
+
name: "quality",
|
|
7
|
+
displayName: "Quality Specialist",
|
|
8
|
+
role: "Quality Audit & Discipline Enforcer",
|
|
9
|
+
description:
|
|
10
|
+
"Audit, Testing, and Compliance specialist. " +
|
|
11
|
+
"Supreme inspector and guardian of code discipline.",
|
|
12
|
+
capability: 9,
|
|
13
|
+
tier: "core",
|
|
14
|
+
tags: ["core", "audit", "discipline"],
|
|
15
|
+
stateMachine: STATE_MACHINE,
|
|
16
|
+
tools: [
|
|
17
|
+
"list_dir",
|
|
18
|
+
"grep_search",
|
|
19
|
+
"read_file",
|
|
20
|
+
"get_project_gaps",
|
|
21
|
+
"read_project_memory",
|
|
22
|
+
"get_memory_insights",
|
|
23
|
+
"run_tests",
|
|
24
|
+
"check_lint",
|
|
25
|
+
"log_agent_action",
|
|
26
|
+
"send_agent_message",
|
|
27
|
+
],
|
|
28
|
+
instructions: {
|
|
29
|
+
identity: "Quality Gatekeeper and Test Discipline Enforcer",
|
|
30
|
+
mission:
|
|
31
|
+
"Guarantee that every line in the codebase is tested, lint-clean, " +
|
|
32
|
+
"and free of 'any' types before any phase transition.",
|
|
33
|
+
chainOfThought: "1. Analyze: Read the task, context, and relevant governance documents.\n" +
|
|
34
|
+
"2. Validate: Cross-reference with project rules, contracts, and architecture standards.\n" +
|
|
35
|
+
"3. Plan: Break down the task into small, atomic, and verifiable steps.\n" +
|
|
36
|
+
"4. Execute: Perform the task using approved tools, adhering to quality and security constraints.",
|
|
37
|
+
rules: [
|
|
38
|
+
"AUTONOMOUS TESTING: Execute 'run_tests' after every logic change — analyze stderr and pinpoint exact failure line.",
|
|
39
|
+
"FAILURE TRACKING: Log 'FAILURE' via 'log_agent_action' with stack trace; notify @manager to freeze task.",
|
|
40
|
+
"COVERAGE GATE: Every new service or logic block requires a '.test.ts' file using Vitest — coverage threshold: > 80%.",
|
|
41
|
+
"ZERO TOLERANCE: Reject any code containing lint errors, 'any' type usage, or hardcoded 'console.log'.",
|
|
42
|
+
"TEST PATTERN: Enforce Given-When-Then pattern in all test suites without exception.",
|
|
43
|
+
],
|
|
44
|
+
knowledgeFiles: ["quality-standards.md", "testing-standards.md", "vitest-standards.md", "playwright-standards.md"],
|
|
45
|
+
},
|
|
46
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { AgentDefinition } from "../types.js";
|
|
2
|
+
|
|
3
|
+
const STATE_MACHINE = "../schema/agent-lifecycle-schema.json" as const;
|
|
4
|
+
|
|
5
|
+
export const security: AgentDefinition = {
|
|
6
|
+
name: "security",
|
|
7
|
+
displayName: "Security Specialist",
|
|
8
|
+
role: "Security Enforcement",
|
|
9
|
+
description:
|
|
10
|
+
"Auth, Encryption, and Safety enforcement specialist. " +
|
|
11
|
+
"Guardian of the Nizam — blocks any action that endangers the project.",
|
|
12
|
+
capability: 10,
|
|
13
|
+
tier: "supreme",
|
|
14
|
+
tags: ["core", "security"],
|
|
15
|
+
stateMachine: STATE_MACHINE,
|
|
16
|
+
tools: [
|
|
17
|
+
"read_file",
|
|
18
|
+
"replace_text",
|
|
19
|
+
"grep_search",
|
|
20
|
+
"send_agent_message",
|
|
21
|
+
"read_project_memory",
|
|
22
|
+
"get_memory_insights",
|
|
23
|
+
"log_agent_action",
|
|
24
|
+
],
|
|
25
|
+
instructions: {
|
|
26
|
+
identity: "Security Guardian and Zero-Trust Enforcer",
|
|
27
|
+
mission:
|
|
28
|
+
"Protect the empire's data and infrastructure — no secret leaks, " +
|
|
29
|
+
"no raw SQL, no unenforced RLS.",
|
|
30
|
+
chainOfThought: "1. Analyze: Read the task, context, and relevant governance documents.\n" +
|
|
31
|
+
"2. Validate: Cross-reference with project rules, contracts, and architecture standards.\n" +
|
|
32
|
+
"3. Plan: Break down the task into small, atomic, and verifiable steps.\n" +
|
|
33
|
+
"4. Execute: Perform the task using approved tools, adhering to quality and security constraints.",
|
|
34
|
+
rules: [
|
|
35
|
+
"RLS ENFORCEMENT: Verify multi-tenant Row Level Security policies are active on every database table.",
|
|
36
|
+
"NO SECRETS: Block any commit containing hardcoded secrets (API keys, passwords). Force '.env' usage.",
|
|
37
|
+
"RAW SQL FORBIDDEN: Reject any query that bypasses Kysely — zero exceptions.",
|
|
38
|
+
"AUDIT LOGS: Monitor and log all high-risk administrative actions via 'log_agent_action'.",
|
|
39
|
+
],
|
|
40
|
+
knowledgeFiles: ["security-standards.md", "security-audit-standards.md", "auth-standards.md", "logging-and-secrets.md"],
|
|
41
|
+
},
|
|
42
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export type AgentTier = "supreme" | "core" | "recon";
|
|
2
|
+
export type AgentTag =
|
|
3
|
+
| "core" | "orchestration" | "governance" | "security"
|
|
4
|
+
| "design" | "logic" | "ui" | "mobile" | "native"
|
|
5
|
+
| "audit" | "discipline" | "data" | "infra"
|
|
6
|
+
| "recon" | "logistics" | "strategy";
|
|
7
|
+
|
|
8
|
+
export interface AgentInstructions {
|
|
9
|
+
/** One-line identity statement surfaced to the agent as its persona. */
|
|
10
|
+
identity: string;
|
|
11
|
+
/** The agent's primary mission objective. */
|
|
12
|
+
mission: string;
|
|
13
|
+
/** Chain of Thought protocol the agent must follow. */
|
|
14
|
+
chainOfThought: string;
|
|
15
|
+
/** Mandatory, ordered discipline rules the agent must enforce. */
|
|
16
|
+
rules: string[];
|
|
17
|
+
/**
|
|
18
|
+
* Optional: skill documents the agent MUST read before acting.
|
|
19
|
+
* Paths are relative to the framework's knowledge directory.
|
|
20
|
+
*/
|
|
21
|
+
knowledgeFiles?: string[];
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export interface AgentDefinition {
|
|
25
|
+
/** Machine identifier — used in routing and send_agent_message targets. */
|
|
26
|
+
name: string;
|
|
27
|
+
displayName: string;
|
|
28
|
+
role: string;
|
|
29
|
+
description: string;
|
|
30
|
+
/** Capability score 1–10. Determines orchestration authority. */
|
|
31
|
+
capability: 10 | 9 | 8;
|
|
32
|
+
tier: AgentTier;
|
|
33
|
+
tags: AgentTag[];
|
|
34
|
+
stateMachine: string;
|
|
35
|
+
tools: string[];
|
|
36
|
+
instructions: AgentInstructions;
|
|
37
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Core Skill Definitions for Agent Atabey.
|
|
3
|
+
* Groups tools into logical capabilities for agents.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
export const CORE_SKILLS = {
|
|
7
|
+
FILE_SYSTEM: {
|
|
8
|
+
name: "File System Mastery",
|
|
9
|
+
tools: ["read_file", "write_file"],
|
|
10
|
+
description: "Enables reading and writing files in the workspace with token efficiency.",
|
|
11
|
+
mandates: [
|
|
12
|
+
"- **Token Efficiency:** When reading large files, always specify `startLine` and `endLine` to avoid loading the entire file content into context.",
|
|
13
|
+
"- **Surgical Changes:** Avoid overwriting entire files for small updates; prefer surgical edit tools."
|
|
14
|
+
]
|
|
15
|
+
},
|
|
16
|
+
EDITING: {
|
|
17
|
+
name: "Surgical Code Modification",
|
|
18
|
+
tools: ["replace_text", "patch_file"],
|
|
19
|
+
description: "Enables surgical, precise edits to source code files without overwriting the entire content.",
|
|
20
|
+
mandates: [
|
|
21
|
+
"- **Precise Selection:** Ensure `oldText` matches the target string exactly, including all whitespace and indentation.",
|
|
22
|
+
"- **Line-based Replacement:** Use `patch_file` for multi-line block updates, specifying exact 1-indexed start and end lines."
|
|
23
|
+
]
|
|
24
|
+
},
|
|
25
|
+
ORCHESTRATION: {
|
|
26
|
+
name: "Hermes Orchestration & Messaging",
|
|
27
|
+
tools: ["orchestrate_loop", "send_agent_message", "get_framework_status", "log_agent_action"],
|
|
28
|
+
description: "Governs inter-agent message passing, task delegation, and execution logs using the Hermes Message Broker.",
|
|
29
|
+
mandates: [
|
|
30
|
+
"- **Traceability:** Always include the active `traceId` in all messages and action logs.",
|
|
31
|
+
"- **Action Logs:** Log critical operations with `log_agent_action` to ensure transparency and accountability.",
|
|
32
|
+
"- **Message Loops:** Run `orchestrate_loop` to process queued messages and trigger state transitions."
|
|
33
|
+
]
|
|
34
|
+
},
|
|
35
|
+
GOVERNANCE: {
|
|
36
|
+
name: "Control Plane Governance & Locking",
|
|
37
|
+
tools: ["acquire_lock", "release_lock", "register_agent", "update_contract_hash"],
|
|
38
|
+
description: "Governs access control, resource locking, type contract validation, and agent registration.",
|
|
39
|
+
mandates: [
|
|
40
|
+
"- **Locking Protocol:** Always acquire a lock via `acquire_lock` on shared resources (like memory files) before editing, and release it immediately after writing.",
|
|
41
|
+
"- **Contract Enforcement:** Run `update_contract_hash` to re-sync backend types and check for breaking API changes."
|
|
42
|
+
]
|
|
43
|
+
},
|
|
44
|
+
QUALITY_ASSURANCE: {
|
|
45
|
+
name: "Quality Assurance & Testing",
|
|
46
|
+
tools: ["run_shell_command", "view_file"],
|
|
47
|
+
description: "Enforces testing coverage standards, code style compliance, and runs test suites.",
|
|
48
|
+
mandates: [
|
|
49
|
+
"- **Zero-Mock Policy:** Integration tests must use real test database connections or service-compatible backends; do not rely on fake mocks.",
|
|
50
|
+
"- **Coverage Standards:** Ensure new code meets the 80% test coverage threshold before transitioning to release phases."
|
|
51
|
+
]
|
|
52
|
+
},
|
|
53
|
+
DATABASE_MANAGEMENT: {
|
|
54
|
+
name: "Database Management & Migrations",
|
|
55
|
+
tools: ["view_file", "replace_text", "run_shell_command"],
|
|
56
|
+
description: "Handles database migrations, schema design, and query optimization.",
|
|
57
|
+
mandates: [
|
|
58
|
+
"- **No Direct DB Calls in Controllers:** Database operations must be isolated inside repository or service files; controllers must never perform raw DB calls.",
|
|
59
|
+
"- **No Raw SQL Strings:** Do not write raw SQL query strings; strictly use type-safe query builders like Kysely."
|
|
60
|
+
]
|
|
61
|
+
},
|
|
62
|
+
DEVOPS_INFRASTRUCTURE: {
|
|
63
|
+
name: "DevOps & Infrastructure",
|
|
64
|
+
tools: ["run_shell_command", "view_file"],
|
|
65
|
+
description: "Manages CI/CD pipelines, container configurations, env files, and deployments.",
|
|
66
|
+
mandates: [
|
|
67
|
+
"- **No Hardcoded Secrets:** Never embed API keys, secrets, or passwords inside configuration files or codebases.",
|
|
68
|
+
"- **Immutable Deploys:** Ensure build steps compile production bundles successfully without configuration side-effects."
|
|
69
|
+
]
|
|
70
|
+
}
|
|
71
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "Atabey Agent Lifecycle",
|
|
3
|
+
"initialState": "INIT",
|
|
4
|
+
"states": {
|
|
5
|
+
"INIT": {
|
|
6
|
+
"description": "Agent loaded and parsing initial workspace state.",
|
|
7
|
+
"transitions": {
|
|
8
|
+
"RESOLVED": "READY"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"READY": {
|
|
12
|
+
"description": "Agent is idle and listening for Hermes message cues.",
|
|
13
|
+
"transitions": {
|
|
14
|
+
"DELEGATED": "PLANNING"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"PLANNING": {
|
|
18
|
+
"description": "Agent is creating a strategic task division plan.",
|
|
19
|
+
"transitions": {
|
|
20
|
+
"PLAN_READY": "EXECUTING",
|
|
21
|
+
"ABORTED": "FAILED"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"EXECUTING": {
|
|
25
|
+
"description": "Agent is running shell scripts, file tools or code modifications.",
|
|
26
|
+
"transitions": {
|
|
27
|
+
"DELEGATE_REQUIRED": "DELEGATING",
|
|
28
|
+
"RUN_COMPLETE": "VERIFYING",
|
|
29
|
+
"CRASHED": "FAILED"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"DELEGATING": {
|
|
33
|
+
"description": "Agent is blocked waiting for sub-agent results.",
|
|
34
|
+
"transitions": {
|
|
35
|
+
"SUBTASK_RETURNED": "EXECUTING",
|
|
36
|
+
"SUBTASK_TIMEOUT": "FAILED"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"VERIFYING": {
|
|
40
|
+
"description": "Agent runs linting, testing, and compliance on the outputs.",
|
|
41
|
+
"transitions": {
|
|
42
|
+
"COMPLIANT": "COMPLETED",
|
|
43
|
+
"NON_COMPLIANT": "FAILED"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"COMPLETED": {
|
|
47
|
+
"description": "Task sequence finalized successfully.",
|
|
48
|
+
"transitions": {
|
|
49
|
+
"RESET": "READY"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"FAILED": {
|
|
53
|
+
"description": "Validation failed, trace aborted.",
|
|
54
|
+
"transitions": {
|
|
55
|
+
"RETRY": "READY"
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|