@bluefly/openstandardagents 0.3.0 → 0.3.2
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/.devfile.yaml +87 -0
- package/.gitlab-ci-trigger +1 -0
- package/.wiki-config.json +24 -0
- package/CHANGELOG.md +212 -1
- package/README.md +8 -193
- package/dist/adapters/anthropic/runtime.js +2 -2
- package/dist/adapters/anthropic/runtime.js.map +1 -1
- package/dist/bot/architecture-validator-bot.d.ts +8 -0
- package/dist/bot/architecture-validator-bot.d.ts.map +1 -0
- package/dist/bot/architecture-validator-bot.js +15 -0
- package/dist/bot/architecture-validator-bot.js.map +1 -0
- package/dist/bot/ci-pipeline-bot.d.ts +7 -0
- package/dist/bot/ci-pipeline-bot.d.ts.map +1 -0
- package/dist/bot/ci-pipeline-bot.js +7 -0
- package/dist/bot/ci-pipeline-bot.js.map +1 -0
- package/dist/bot/compliance-bot.d.ts +56 -0
- package/dist/bot/compliance-bot.d.ts.map +1 -0
- package/dist/bot/compliance-bot.js +203 -0
- package/dist/bot/compliance-bot.js.map +1 -0
- package/dist/bot/dependency-updater-bot.d.ts +9 -0
- package/dist/bot/dependency-updater-bot.d.ts.map +1 -0
- package/dist/bot/dependency-updater-bot.js +9 -0
- package/dist/bot/dependency-updater-bot.js.map +1 -0
- package/dist/bot/security-scanner-bot.d.ts +11 -0
- package/dist/bot/security-scanner-bot.d.ts.map +1 -0
- package/dist/bot/security-scanner-bot.js +21 -0
- package/dist/bot/security-scanner-bot.js.map +1 -0
- package/dist/cli/commands/agent-card.command.d.ts +11 -0
- package/dist/cli/commands/agent-card.command.d.ts.map +1 -0
- package/dist/cli/commands/agent-card.command.js +285 -0
- package/dist/cli/commands/agent-card.command.js.map +1 -0
- package/dist/cli/commands/agents.command.d.ts +11 -0
- package/dist/cli/commands/agents.command.d.ts.map +1 -0
- package/dist/cli/commands/agents.command.js +326 -0
- package/dist/cli/commands/agents.command.js.map +1 -0
- package/dist/cli/commands/diff.command.d.ts +7 -0
- package/dist/cli/commands/diff.command.d.ts.map +1 -0
- package/dist/cli/commands/diff.command.js +181 -0
- package/dist/cli/commands/diff.command.js.map +1 -0
- package/dist/cli/commands/docs.command.d.ts +7 -0
- package/dist/cli/commands/docs.command.d.ts.map +1 -0
- package/dist/cli/commands/docs.command.js +274 -0
- package/dist/cli/commands/docs.command.js.map +1 -0
- package/dist/cli/commands/generate.command.d.ts +13 -2
- package/dist/cli/commands/generate.command.d.ts.map +1 -1
- package/dist/cli/commands/generate.command.js +204 -29
- package/dist/cli/commands/generate.command.js.map +1 -1
- package/dist/cli/commands/lint.command.d.ts +7 -0
- package/dist/cli/commands/lint.command.d.ts.map +1 -0
- package/dist/cli/commands/lint.command.js +342 -0
- package/dist/cli/commands/lint.command.js.map +1 -0
- package/dist/cli/commands/registry.command.d.ts +14 -0
- package/dist/cli/commands/registry.command.d.ts.map +1 -0
- package/dist/cli/commands/registry.command.js +428 -0
- package/dist/cli/commands/registry.command.js.map +1 -0
- package/dist/cli/commands/serve.command.d.ts +7 -0
- package/dist/cli/commands/serve.command.d.ts.map +1 -0
- package/dist/cli/commands/serve.command.js +232 -0
- package/dist/cli/commands/serve.command.js.map +1 -0
- package/dist/cli/commands/workspace.command.d.ts +14 -0
- package/dist/cli/commands/workspace.command.d.ts.map +1 -0
- package/dist/cli/commands/workspace.command.js +467 -0
- package/dist/cli/commands/workspace.command.js.map +1 -0
- package/dist/cli/index.js +13 -0
- package/dist/cli/index.js.map +1 -1
- package/dist/di-container.d.ts.map +1 -1
- package/dist/di-container.js +23 -0
- package/dist/di-container.js.map +1 -1
- package/dist/services/codegen/codegen.service.d.ts +75 -0
- package/dist/services/codegen/codegen.service.d.ts.map +1 -0
- package/dist/services/codegen/codegen.service.js +136 -0
- package/dist/services/codegen/codegen.service.js.map +1 -0
- package/dist/services/codegen/generators/manifest.generator.d.ts +41 -0
- package/dist/services/codegen/generators/manifest.generator.d.ts.map +1 -0
- package/dist/services/codegen/generators/manifest.generator.js +178 -0
- package/dist/services/codegen/generators/manifest.generator.js.map +1 -0
- package/dist/services/codegen/generators/openapi.generator.d.ts +46 -0
- package/dist/services/codegen/generators/openapi.generator.d.ts.map +1 -0
- package/dist/services/codegen/generators/openapi.generator.js +157 -0
- package/dist/services/codegen/generators/openapi.generator.js.map +1 -0
- package/dist/services/codegen/generators/types.generator.d.ts +27 -0
- package/dist/services/codegen/generators/types.generator.d.ts.map +1 -0
- package/dist/services/codegen/generators/types.generator.js +97 -0
- package/dist/services/codegen/generators/types.generator.js.map +1 -0
- package/dist/services/codegen/generators/vscode.generator.d.ts +43 -0
- package/dist/services/codegen/generators/vscode.generator.d.ts.map +1 -0
- package/dist/services/codegen/generators/vscode.generator.js +163 -0
- package/dist/services/codegen/generators/vscode.generator.js.map +1 -0
- package/dist/services/codegen/generators/zod.generator.d.ts +31 -0
- package/dist/services/codegen/generators/zod.generator.d.ts.map +1 -0
- package/dist/services/codegen/generators/zod.generator.js +134 -0
- package/dist/services/codegen/generators/zod.generator.js.map +1 -0
- package/dist/services/codegen/index.d.ts +33 -0
- package/dist/services/codegen/index.d.ts.map +1 -0
- package/dist/services/codegen/index.js +36 -0
- package/dist/services/codegen/index.js.map +1 -0
- package/dist/services/git.service.d.ts +40 -0
- package/dist/services/git.service.d.ts.map +1 -0
- package/dist/services/git.service.js +122 -0
- package/dist/services/git.service.js.map +1 -0
- package/dist/spec/extensions/openapi/ossa-openapi-extensions.schema.json +804 -0
- package/dist/spec/v0.3.0/examples/drupal-content-writer.ossa.yaml +1 -1
- package/dist/spec/v0.3.0/examples/drupal-moderation-assistant.ossa.yaml +1 -1
- package/dist/spec/v0.3.0/examples/quick-wins/complete-agent-with-quick-wins.ossa.yaml +1 -1
- package/dist/spec/v0.3.0/runtime-bindings/anthropic.yaml +209 -0
- package/dist/spec/v0.3.1/UNIFIED-SCHEMA.md +120 -0
- package/dist/spec/v0.3.1/adapters/drupal.md +541 -0
- package/dist/spec/v0.3.1/adapters/symfony.md +659 -0
- package/dist/spec/v0.3.1/agent-test.schema.json +75 -0
- package/dist/spec/v0.3.1/examples/agent-with-identity.ossa.yaml +68 -0
- package/dist/spec/v0.3.1/examples/drupal-content-writer.ossa.yaml +110 -0
- package/dist/spec/v0.3.1/examples/drupal-moderation-assistant.ossa.yaml +96 -0
- package/dist/spec/v0.3.1/examples/multi-provider-identity.ossa.yaml +236 -0
- package/dist/spec/v0.3.1/examples/quick-wins/complete-agent-with-quick-wins.ossa.yaml +144 -0
- package/dist/spec/v0.3.1/extensions/agent-identity.yaml +594 -0
- package/dist/spec/v0.3.1/extensions/drupal.md +417 -0
- package/dist/spec/v0.3.1/ossa-0.3.1.schema.json +3085 -0
- package/dist/spec/v0.3.1/protocols/sse.md +494 -0
- package/dist/spec/v0.3.1/protocols/webrtc.md +600 -0
- package/dist/spec/v0.3.1/protocols/websocket.md +362 -0
- package/dist/spec/v0.3.1/schemas/agent-unified.yaml +165 -0
- package/dist/spec/v0.3.1/schemas/capabilities.yaml +102 -0
- package/dist/spec/v0.3.1/schemas/functions.yaml +75 -0
- package/dist/spec/v0.3.1/schemas/messaging/channel.schema.json +245 -0
- package/dist/spec/v0.3.1/schemas/messaging/delivery-receipt.schema.json +192 -0
- package/dist/spec/v0.3.1/schemas/messaging/message.schema.json +205 -0
- package/dist/spec/v0.3.1/schemas/messaging/subscription.schema.json +214 -0
- package/dist/spec/v0.3.1/schemas/runtime.yaml +102 -0
- package/dist/spec/v0.3.1/schemas/taxonomy.yaml +533 -0
- package/dist/spec/v0.3.1/schemas/unified-llm.yaml +91 -0
- package/dist/spec/v0.3.1/taxonomy.yaml +256 -0
- package/dist/spec/v0.3.2/MIGRATION-v0.3.1-to-v0.3.2.md +293 -0
- package/dist/spec/v0.3.2/UNIFIED-SCHEMA.md +120 -0
- package/dist/spec/v0.3.2/access_tiers.yaml +375 -0
- package/dist/spec/v0.3.2/adapters/drupal.md +541 -0
- package/dist/spec/v0.3.2/adapters/symfony.md +659 -0
- package/dist/spec/v0.3.2/agent-test.schema.json +75 -0
- package/dist/spec/v0.3.2/examples/access-tiers/README.md +106 -0
- package/dist/spec/v0.3.2/examples/access-tiers/code-critic.ossa.yaml +119 -0
- package/dist/spec/v0.3.2/examples/access-tiers/compliance-governor.ossa.yaml +234 -0
- package/dist/spec/v0.3.2/examples/access-tiers/deployment-operator.ossa.yaml +201 -0
- package/dist/spec/v0.3.2/examples/access-tiers/doc-generator.ossa.yaml +117 -0
- package/dist/spec/v0.3.2/examples/access-tiers/security-scanner.ossa.yaml +133 -0
- package/dist/spec/v0.3.2/examples/agent-with-identity.ossa.yaml +68 -0
- package/dist/spec/v0.3.2/examples/drupal-content-writer.ossa.yaml +110 -0
- package/dist/spec/v0.3.2/examples/drupal-moderation-assistant.ossa.yaml +96 -0
- package/dist/spec/v0.3.2/examples/multi-provider-identity.ossa.yaml +236 -0
- package/dist/spec/v0.3.2/examples/quick-wins/complete-agent-with-quick-wins.ossa.yaml +144 -0
- package/dist/spec/v0.3.2/examples/tasks/data-transform.ossa.yaml +147 -0
- package/dist/spec/v0.3.2/examples/tasks/publish-content.ossa.yaml +125 -0
- package/dist/spec/v0.3.2/examples/workflows/content-publishing.ossa.yaml +190 -0
- package/dist/spec/v0.3.2/examples/workflows/deployment-pipeline.ossa.yaml +247 -0
- package/dist/spec/v0.3.2/extensions/agent-identity.yaml +594 -0
- package/dist/spec/v0.3.2/extensions/drupal.md +417 -0
- package/dist/spec/v0.3.2/infrastructure/service-ports.yaml +324 -0
- package/dist/spec/v0.3.2/ossa-0.3.2.schema.json +3316 -0
- package/dist/spec/v0.3.2/protocols/delegation.yaml +239 -0
- package/dist/spec/v0.3.2/protocols/sse.md +494 -0
- package/dist/spec/v0.3.2/protocols/webrtc.md +600 -0
- package/dist/spec/v0.3.2/protocols/websocket.md +362 -0
- package/dist/spec/v0.3.2/runtime/RUNTIME.md +457 -0
- package/dist/spec/v0.3.2/runtime/memory-model.yaml +871 -0
- package/dist/spec/v0.3.2/runtime/runtime.yaml +926 -0
- package/dist/spec/v0.3.2/schemas/agent-unified.yaml +165 -0
- package/dist/spec/v0.3.2/schemas/capabilities.yaml +102 -0
- package/dist/spec/v0.3.2/schemas/functions.yaml +75 -0
- package/dist/spec/v0.3.2/schemas/messaging/channel.schema.json +245 -0
- package/dist/spec/v0.3.2/schemas/messaging/delivery-receipt.schema.json +192 -0
- package/dist/spec/v0.3.2/schemas/messaging/message.schema.json +205 -0
- package/dist/spec/v0.3.2/schemas/messaging/subscription.schema.json +214 -0
- package/dist/spec/v0.3.2/schemas/runtime.yaml +102 -0
- package/dist/spec/v0.3.2/schemas/taxonomy.yaml +533 -0
- package/dist/spec/v0.3.2/schemas/unified-llm.yaml +91 -0
- package/dist/spec/v0.3.2/taxonomy.yaml +363 -0
- package/dist/testing/fixtures.d.ts.map +1 -1
- package/dist/testing/fixtures.js +3 -2
- package/dist/testing/fixtures.js.map +1 -1
- package/dist/types/generated/{ossa-0.3.0.types.d.ts → ossa-0.3.2.types.d.ts} +58 -7
- package/dist/types/generated/ossa-0.3.2.types.d.ts.map +1 -0
- package/dist/types/generated/ossa-0.3.2.types.js +10 -0
- package/dist/types/generated/ossa-0.3.2.types.js.map +1 -0
- package/dist/types/generated/ossa-0.3.2.zod.d.ts +36 -0
- package/dist/types/generated/ossa-0.3.2.zod.d.ts.map +1 -0
- package/dist/types/generated/ossa-0.3.2.zod.js +25 -0
- package/dist/types/generated/ossa-0.3.2.zod.js.map +1 -0
- package/examples/adapters/drupal-eca-mapping.yaml +1 -1
- package/examples/adapters/drupal-eca-task.yaml +1 -1
- package/examples/adapters/drupal-flowdrop-mapping.yaml +1 -1
- package/examples/adapters/drupal-maestro-mapping.yaml +1 -1
- package/examples/adapters/mistral-agent.yaml +1 -1
- package/examples/adapters/symfony-messenger-task.yaml +1 -1
- package/examples/adapters/symfony-messenger-workflow.yaml +1 -1
- package/examples/adk-integration/code-review-workflow.yml +1 -1
- package/examples/adk-integration/customer-support.yml +1 -1
- package/examples/adk-integration/data-pipeline.yml +1 -1
- package/examples/advanced/reasoning-agent.yaml +1 -1
- package/examples/advanced/workflows/hybrid-model-strategy.yaml +1 -1
- package/examples/agent-manifests/critics/critic-agent.yaml +1 -1
- package/examples/agent-manifests/governors/governor-agent.yaml +1 -1
- package/examples/agent-manifests/integrators/integrator-agent.yaml +1 -1
- package/examples/agent-manifests/judges/judge-agent.yaml +1 -1
- package/examples/agent-manifests/monitors/monitor-agent.yaml +1 -1
- package/examples/agent-manifests/orchestrators/orchestrator-agent.yaml +1 -1
- package/examples/agent-manifests/sample-compliant-agent.yaml +1 -1
- package/examples/agent-manifests/workers/worker-agent.yaml +1 -1
- package/examples/agents/architecture-healer-enterprise.yaml +1 -1
- package/examples/agents/dependency-healer-npm.yaml +1 -1
- package/examples/agents/spec-healer-openapi.yaml +1 -1
- package/examples/agents/wiki-healer-production.yaml +1 -1
- package/examples/agents-md/code-agent.ossa.json +36 -11
- package/examples/agents-md/monorepo-agent.ossa.yaml +1 -1
- package/examples/anthropic/claude-assistant.ossa.json +4 -4
- package/examples/autogen/multi-agent.ossa.json +2 -2
- package/examples/autonomous-evolution/self-evolving-agent.ossa.yaml +1 -1
- package/examples/claude-code/code-reviewer.ossa.yaml +1 -1
- package/examples/claude-code/ossa-validator.ossa.yaml +1 -1
- package/examples/common_npm/agent-router.ossa.yaml +1 -1
- package/examples/contracts/data-consumer.ossa.yaml +1 -1
- package/examples/contracts/data-producer-v2.ossa.yaml +1 -1
- package/examples/contracts/data-producer.ossa.yaml +1 -1
- package/examples/crewai/research-team.ossa.json +2 -2
- package/examples/cursor/code-review-agent.ossa.json +2 -2
- package/examples/drupal/ai_agents_ossa-module/.agents/example-agent/agent.ossa.yaml +1 -1
- package/examples/drupal/gitlab-ml-recommender.ossa.yaml +1 -1
- package/examples/extensions/agents-md-advanced.yml +1 -1
- package/examples/extensions/agents-md-basic.yml +1 -1
- package/examples/extensions/agents-md-sync.yml +1 -1
- package/examples/extensions/agents-md-v1.yml +1 -1
- package/examples/extensions/drupal-v1.yml +1 -1
- package/examples/extensions/encryption-multi-provider.yaml +4 -4
- package/examples/extensions/kagent-v1.yml +1 -1
- package/examples/extensions/knowledge-sources.yaml +1 -1
- package/examples/extensions/mcp-full-featured.yaml +1 -1
- package/examples/getting-started/01-minimal-agent.ossa.yaml +3 -3
- package/examples/getting-started/02-agent-with-tools.ossa.yaml +1 -1
- package/examples/getting-started/03-agent-with-safety.ossa.yaml +1 -1
- package/examples/getting-started/04-agent-with-messaging.ossa.yaml +2 -2
- package/examples/getting-started/05-workflow-composition.ossa.yaml +1 -1
- package/examples/getting-started/hello-world-complete.ossa.yaml +1 -1
- package/examples/integration-patterns/agent-to-agent-orchestration.ossa.yaml +4 -4
- package/examples/kagent/compliance-validator.ossa.yaml +1 -1
- package/examples/kagent/cost-optimizer.ossa.yaml +1 -1
- package/examples/kagent/documentation-agent.ossa.yaml +1 -1
- package/examples/kagent/k8s-troubleshooter-v1.ossa.yaml +1 -1
- package/examples/kagent/k8s-troubleshooter.ossa.yaml +1 -1
- package/examples/kagent/security-scanner.ossa.yaml +1 -1
- package/examples/langchain/chain-agent.ossa.json +2 -2
- package/examples/langflow/workflow-agent.ossa.json +2 -2
- package/examples/langgraph/state-machine-agent.ossa.json +2 -2
- package/examples/llamaindex/rag-agent.ossa.json +2 -2
- package/examples/messaging/dependency-healer.ossa.yaml +1 -1
- package/examples/messaging/incident-responder.ossa.yaml +1 -1
- package/examples/messaging/routing-rules.ossa.yaml +3 -3
- package/examples/messaging/security-scanner.ossa.yaml +1 -1
- package/examples/migration-guides/from-langchain-to-ossa.yaml +4 -4
- package/examples/multi-agent/conditional-router.ossa.yaml +1 -1
- package/examples/multi-agent/parallel-execution.ossa.yaml +1 -1
- package/examples/multi-agent/sequential-pipeline.ossa.yaml +1 -1
- package/examples/observability/activity-stream-full.yaml +1 -1
- package/examples/openai/basic-agent.ossa.yaml +1 -1
- package/examples/openai/multi-tool-agent.ossa.json +2 -2
- package/examples/openai/swarm-agent.ossa.json +2 -2
- package/examples/production/document-analyzer-openai.yml +1 -1
- package/examples/quickstart/support-agent.ossa.yaml +1 -1
- package/examples/real-world/gitlab-cicd-optimizer.ossa.yaml +1 -1
- package/examples/real-world/rag-documentation-assistant.ossa.yaml +1 -1
- package/examples/runtime-adapters/bedrock-claude-example.ossa.yaml +1 -1
- package/examples/schema/reusable-components.yaml +1 -1
- package/examples/showcase/ci-pipeline.ossa.yaml +59 -0
- package/examples/showcase/code-assistant.ossa.yaml +118 -0
- package/examples/showcase/code-reviewer.ossa.yaml +61 -0
- package/examples/showcase/compliance-validator.ossa.yaml +62 -0
- package/examples/showcase/content-writer.ossa.yaml +67 -0
- package/examples/showcase/data-transformer.ossa.yaml +78 -0
- package/examples/showcase/doc-generator.ossa.yaml +68 -0
- package/examples/showcase/security-scanner.ossa.yaml +65 -0
- package/examples/showcase/test-generator.ossa.yaml +63 -0
- package/examples/showcase/workflow-orchestrator.ossa.yaml +129 -0
- package/examples/tasks/batch-email-sender.yaml +1 -1
- package/examples/tasks/data-transform.yaml +1 -1
- package/examples/tasks/publish-content.yaml +1 -1
- package/examples/templates/ossa-compliance.yaml +1 -1
- package/examples/unified/security-scanner.ossa.yaml +1 -1
- package/examples/vercel/edge-agent.ossa.json +2 -2
- package/examples/workflows/batch-email-campaign.yaml +1 -1
- package/examples/workflows/content-review-publish.yaml +1 -1
- package/examples/workflows/simple-etl.yaml +1 -1
- package/llms-ctx-full.txt +39 -0
- package/llms-ctx.txt +39 -0
- package/openapi/agent-communication.yaml +1 -1
- package/openapi/agent-crud.yaml +8 -8
- package/openapi/agent-discovery.yaml +2 -2
- package/openapi/agent-identity.yaml +8 -8
- package/openapi/cli-commands.openapi.yaml +231 -0
- package/openapi/core/ossa-core-api.openapi.yaml +1 -1
- package/openapi/core/ossa-registry-api.openapi.yaml +1 -1
- package/openapi/core/ossa-registry.openapi.yaml +1 -1
- package/openapi/core/unified-agent-gateway.openapi.yaml +1 -1
- package/openapi/github-sync.yaml +1 -1
- package/openapi/protocols/sse-streams.yaml +1 -1
- package/openapi/protocols/websocket-events.yaml +2 -2
- package/openapi/reference-implementations/aiflow-bridge-api.openapi.yaml +2 -2
- package/openapi/reference-implementations/compliance-agent-api.openapi.yaml +1 -1
- package/openapi/reference-implementations/crewai-agent-api.openapi.yaml +1 -1
- package/openapi/reference-implementations/critic-agent-api.openapi.yaml +2 -2
- package/openapi/reference-implementations/document-analyzer-api.openapi.yaml +2 -2
- package/openapi/reference-implementations/drupal-agent-api.openapi.yaml +1 -1
- package/openapi/reference-implementations/getting-started-hello-world-api.openapi.yaml +1 -1
- package/openapi/reference-implementations/gitlab-ml-recommender-api.openapi.yaml +2 -2
- package/openapi/reference-implementations/governor-agent-api.openapi.yaml +1 -1
- package/openapi/reference-implementations/helm-generator.openapi.yaml +1 -1
- package/openapi/reference-implementations/integrator-agent-api.openapi.yaml +1 -1
- package/openapi/reference-implementations/judge-agent-api.openapi.yaml +1 -1
- package/openapi/reference-implementations/k8s-troubleshooter-api.openapi.yaml +2 -2
- package/openapi/reference-implementations/langchain-agent-api.openapi.yaml +1 -1
- package/openapi/reference-implementations/monitor-agent-api.openapi.yaml +2 -2
- package/openapi/reference-implementations/orchestrator-agent-api.openapi.yaml +1 -1
- package/openapi/reference-implementations/quickstart-support-agent-api.openapi.yaml +2 -2
- package/openapi/reference-implementations/self-evolving-ecosystem.openapi.yaml +1 -1
- package/openapi/reference-implementations/worker-agent-api.openapi.yaml +2 -2
- package/openapi/reference-implementations/workflow-orchestrator-api.openapi.yaml +1 -1
- package/package.json +14 -32
- package/spec/extensions/openapi/ossa-openapi-extensions.schema.json +804 -0
- package/spec/v0.3.0/examples/drupal-content-writer.ossa.yaml +1 -1
- package/spec/v0.3.0/examples/drupal-moderation-assistant.ossa.yaml +1 -1
- package/spec/v0.3.0/examples/quick-wins/complete-agent-with-quick-wins.ossa.yaml +1 -1
- package/spec/v0.3.0/runtime-bindings/anthropic.yaml +209 -0
- package/spec/v0.3.1/UNIFIED-SCHEMA.md +120 -0
- package/spec/v0.3.1/adapters/drupal.md +541 -0
- package/spec/v0.3.1/adapters/symfony.md +659 -0
- package/spec/v0.3.1/agent-test.schema.json +75 -0
- package/spec/v0.3.1/examples/agent-with-identity.ossa.yaml +68 -0
- package/spec/v0.3.1/examples/drupal-content-writer.ossa.yaml +110 -0
- package/spec/v0.3.1/examples/drupal-moderation-assistant.ossa.yaml +96 -0
- package/spec/v0.3.1/examples/multi-provider-identity.ossa.yaml +236 -0
- package/spec/v0.3.1/examples/quick-wins/complete-agent-with-quick-wins.ossa.yaml +144 -0
- package/spec/v0.3.1/extensions/agent-identity.yaml +594 -0
- package/spec/v0.3.1/extensions/drupal.md +417 -0
- package/spec/v0.3.1/ossa-0.3.1.schema.json +3085 -0
- package/spec/v0.3.1/protocols/sse.md +494 -0
- package/spec/v0.3.1/protocols/webrtc.md +600 -0
- package/spec/v0.3.1/protocols/websocket.md +362 -0
- package/spec/v0.3.1/schemas/agent-unified.yaml +165 -0
- package/spec/v0.3.1/schemas/capabilities.yaml +102 -0
- package/spec/v0.3.1/schemas/functions.yaml +75 -0
- package/spec/v0.3.1/schemas/messaging/channel.schema.json +245 -0
- package/spec/v0.3.1/schemas/messaging/delivery-receipt.schema.json +192 -0
- package/spec/v0.3.1/schemas/messaging/message.schema.json +205 -0
- package/spec/v0.3.1/schemas/messaging/subscription.schema.json +214 -0
- package/spec/v0.3.1/schemas/runtime.yaml +102 -0
- package/spec/v0.3.1/schemas/taxonomy.yaml +533 -0
- package/spec/v0.3.1/schemas/unified-llm.yaml +91 -0
- package/spec/v0.3.1/taxonomy.yaml +256 -0
- package/spec/v0.3.2/MIGRATION-v0.3.1-to-v0.3.2.md +293 -0
- package/spec/v0.3.2/UNIFIED-SCHEMA.md +120 -0
- package/spec/v0.3.2/access_tiers.yaml +375 -0
- package/spec/v0.3.2/adapters/drupal.md +541 -0
- package/spec/v0.3.2/adapters/symfony.md +659 -0
- package/spec/v0.3.2/agent-test.schema.json +75 -0
- package/spec/v0.3.2/examples/access-tiers/README.md +106 -0
- package/spec/v0.3.2/examples/access-tiers/code-critic.ossa.yaml +119 -0
- package/spec/v0.3.2/examples/access-tiers/compliance-governor.ossa.yaml +234 -0
- package/spec/v0.3.2/examples/access-tiers/deployment-operator.ossa.yaml +201 -0
- package/spec/v0.3.2/examples/access-tiers/doc-generator.ossa.yaml +117 -0
- package/spec/v0.3.2/examples/access-tiers/security-scanner.ossa.yaml +133 -0
- package/spec/v0.3.2/examples/agent-with-identity.ossa.yaml +68 -0
- package/spec/v0.3.2/examples/drupal-content-writer.ossa.yaml +110 -0
- package/spec/v0.3.2/examples/drupal-moderation-assistant.ossa.yaml +96 -0
- package/spec/v0.3.2/examples/multi-provider-identity.ossa.yaml +236 -0
- package/spec/v0.3.2/examples/quick-wins/complete-agent-with-quick-wins.ossa.yaml +144 -0
- package/spec/v0.3.2/examples/tasks/data-transform.ossa.yaml +147 -0
- package/spec/v0.3.2/examples/tasks/publish-content.ossa.yaml +125 -0
- package/spec/v0.3.2/examples/workflows/content-publishing.ossa.yaml +190 -0
- package/spec/v0.3.2/examples/workflows/deployment-pipeline.ossa.yaml +247 -0
- package/spec/v0.3.2/extensions/agent-identity.yaml +594 -0
- package/spec/v0.3.2/extensions/drupal.md +417 -0
- package/spec/v0.3.2/infrastructure/service-ports.yaml +324 -0
- package/spec/v0.3.2/ossa-0.3.2.schema.json +3316 -0
- package/spec/v0.3.2/protocols/delegation.yaml +239 -0
- package/spec/v0.3.2/protocols/sse.md +494 -0
- package/spec/v0.3.2/protocols/webrtc.md +600 -0
- package/spec/v0.3.2/protocols/websocket.md +362 -0
- package/spec/v0.3.2/runtime/RUNTIME.md +457 -0
- package/spec/v0.3.2/runtime/memory-model.yaml +871 -0
- package/spec/v0.3.2/runtime/runtime.yaml +926 -0
- package/spec/v0.3.2/schemas/agent-unified.yaml +165 -0
- package/spec/v0.3.2/schemas/capabilities.yaml +102 -0
- package/spec/v0.3.2/schemas/functions.yaml +75 -0
- package/spec/v0.3.2/schemas/messaging/channel.schema.json +245 -0
- package/spec/v0.3.2/schemas/messaging/delivery-receipt.schema.json +192 -0
- package/spec/v0.3.2/schemas/messaging/message.schema.json +205 -0
- package/spec/v0.3.2/schemas/messaging/subscription.schema.json +214 -0
- package/spec/v0.3.2/schemas/runtime.yaml +102 -0
- package/spec/v0.3.2/schemas/taxonomy.yaml +533 -0
- package/spec/v0.3.2/schemas/unified-llm.yaml +91 -0
- package/spec/v0.3.2/taxonomy.yaml +363 -0
- package/dist/types/generated/ossa-0.3.0.types.d.ts.map +0 -1
- package/dist/types/generated/ossa-0.3.0.types.js +0 -8
- package/dist/types/generated/ossa-0.3.0.types.js.map +0 -1
- package/dist/types/generated/ossa-0.3.0.zod.d.ts +0 -17
- package/dist/types/generated/ossa-0.3.0.zod.d.ts.map +0 -1
- package/dist/types/generated/ossa-0.3.0.zod.js +0 -3
- package/dist/types/generated/ossa-0.3.0.zod.js.map +0 -1
- package/examples/common_npm/agent-router.v0.2.2.ossa.yaml +0 -60
- package/examples/drupal/gitlab-ml-recommender.v0.2.2.ossa.yaml +0 -68
- package/examples/kagent/k8s-troubleshooter-v1.v0.2.2.ossa.yaml +0 -106
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "https://openstandardagents.org/schemas/v0.3.1/agent-test.json",
|
|
4
|
+
"title": "OSSA AgentTest Resource",
|
|
5
|
+
"description": "Test definition for OSSA agents - declarative testing framework for agent behavior, performance, and compliance validation",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"required": [
|
|
8
|
+
"apiVersion",
|
|
9
|
+
"kind",
|
|
10
|
+
"metadata",
|
|
11
|
+
"spec"
|
|
12
|
+
],
|
|
13
|
+
"properties": {
|
|
14
|
+
"apiVersion": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"const": "ossa/v0.3.1",
|
|
17
|
+
"description": "OSSA API version for AgentTest resources"
|
|
18
|
+
},
|
|
19
|
+
"kind": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"const": "AgentTest",
|
|
22
|
+
"description": "Resource type identifier"
|
|
23
|
+
},
|
|
24
|
+
"metadata": {
|
|
25
|
+
"$ref": "#/definitions/Metadata",
|
|
26
|
+
"description": "Test resource metadata including name, version, and labels"
|
|
27
|
+
},
|
|
28
|
+
"spec": {
|
|
29
|
+
"$ref": "#/definitions/TestSpec",
|
|
30
|
+
"description": "Test specification including target, scenarios, and configuration"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"definitions": {
|
|
34
|
+
"Metadata": {
|
|
35
|
+
"type": "object",
|
|
36
|
+
"required": [
|
|
37
|
+
"name"
|
|
38
|
+
],
|
|
39
|
+
"properties": {
|
|
40
|
+
"name": {
|
|
41
|
+
"type": "string",
|
|
42
|
+
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
|
|
43
|
+
"maxLength": 253,
|
|
44
|
+
"description": "Test suite identifier (DNS-1123 subdomain format)"
|
|
45
|
+
},
|
|
46
|
+
"version": {
|
|
47
|
+
"type": "string",
|
|
48
|
+
"pattern": "^(0|[1-9]\\\\d*)\\\\.(0|[1-9]\\\\d*)\\\\.(0|[1-9]\\\\d*)(?:-((?:0|[1-9]\\\\d*|\\\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\\\.(?:0|[1-9]\\\\d*|\\\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\\\+([0-9a-zA-Z-]+(?:\\\\.[0-9a-zA-Z-]+)*))?$",
|
|
49
|
+
"description": "Test suite version (semver 2.0.0)"
|
|
50
|
+
},
|
|
51
|
+
"description": {
|
|
52
|
+
"type": "string",
|
|
53
|
+
"maxLength": 2000,
|
|
54
|
+
"description": "Human-readable test suite description"
|
|
55
|
+
},
|
|
56
|
+
"labels": {
|
|
57
|
+
"type": "object",
|
|
58
|
+
"additionalProperties": {
|
|
59
|
+
"type": "string",
|
|
60
|
+
"maxLength": 63
|
|
61
|
+
},
|
|
62
|
+
"description": "Labels for test categorization (e.g., team, compliance-level, test-type)"
|
|
63
|
+
},
|
|
64
|
+
"annotations": {
|
|
65
|
+
"type": "object",
|
|
66
|
+
"additionalProperties": {
|
|
67
|
+
"type": "string"
|
|
68
|
+
},
|
|
69
|
+
"description": "Arbitrary metadata for tooling integration"
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"additionalProperties": false
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# OSSA v0.3.1 Agent with Identity Configuration
|
|
2
|
+
# Demonstrates service account integration for automated git operations
|
|
3
|
+
apiVersion: ossa/v0.3.2
|
|
4
|
+
kind: Agent
|
|
5
|
+
metadata:
|
|
6
|
+
name: typescript-worker
|
|
7
|
+
version: 1.0.0
|
|
8
|
+
description: TypeScript development agent with GitLab service account identity
|
|
9
|
+
labels:
|
|
10
|
+
team: platform
|
|
11
|
+
tier: development
|
|
12
|
+
spec:
|
|
13
|
+
role: |
|
|
14
|
+
You are a TypeScript development assistant that manages code changes
|
|
15
|
+
for the agent-buildkit and related TypeScript projects.
|
|
16
|
+
|
|
17
|
+
llm:
|
|
18
|
+
provider: anthropic
|
|
19
|
+
model: claude-sonnet-4-20250514
|
|
20
|
+
temperature: 0.2
|
|
21
|
+
|
|
22
|
+
# Agent Identity Configuration (v0.3.1+)
|
|
23
|
+
identity:
|
|
24
|
+
provider: gitlab
|
|
25
|
+
service_account:
|
|
26
|
+
id: 31840529
|
|
27
|
+
username: bot-ts-local
|
|
28
|
+
email: bot-ts-local@bluefly.io
|
|
29
|
+
token_source:
|
|
30
|
+
env_var: GITLAB_BOT_TS_TOKEN
|
|
31
|
+
file_path: ~/.tokens/bot-ts-local
|
|
32
|
+
patterns:
|
|
33
|
+
- "*/common_npm/*"
|
|
34
|
+
- "*/agent-buildkit"
|
|
35
|
+
- "*/agent-studio"
|
|
36
|
+
dora_tracking:
|
|
37
|
+
enabled: true
|
|
38
|
+
metrics:
|
|
39
|
+
- deployment_frequency
|
|
40
|
+
- lead_time
|
|
41
|
+
- change_failure_rate
|
|
42
|
+
- mttr
|
|
43
|
+
observability:
|
|
44
|
+
service_name: typescript-worker
|
|
45
|
+
service_namespace: development
|
|
46
|
+
service_version: "1.0.0"
|
|
47
|
+
|
|
48
|
+
tools:
|
|
49
|
+
- name: git
|
|
50
|
+
type: mcp
|
|
51
|
+
config:
|
|
52
|
+
server: git-mcp-server
|
|
53
|
+
- name: file-operations
|
|
54
|
+
type: mcp
|
|
55
|
+
config:
|
|
56
|
+
server: filesystem-mcp-server
|
|
57
|
+
|
|
58
|
+
autonomy:
|
|
59
|
+
level: supervised
|
|
60
|
+
require_approval:
|
|
61
|
+
- push_to_protected_branch
|
|
62
|
+
- delete_branch
|
|
63
|
+
- force_push
|
|
64
|
+
|
|
65
|
+
safety:
|
|
66
|
+
max_tokens_per_turn: 8000
|
|
67
|
+
rate_limits:
|
|
68
|
+
requests_per_minute: 30
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
apiVersion: ossa/v0.3.2
|
|
2
|
+
kind: Agent
|
|
3
|
+
metadata:
|
|
4
|
+
name: drupal-content-writer
|
|
5
|
+
version: 1.0.0
|
|
6
|
+
description: Autonomous content generation agent for Drupal with background processing
|
|
7
|
+
|
|
8
|
+
spec:
|
|
9
|
+
capabilities:
|
|
10
|
+
- name: content.create
|
|
11
|
+
description: "Create Drupal content entities (nodes, taxonomy terms)"
|
|
12
|
+
- name: seo.optimize
|
|
13
|
+
description: "Optimize content for SEO (meta tags, keywords, structure)"
|
|
14
|
+
- name: media.select
|
|
15
|
+
description: "Select relevant media from media library"
|
|
16
|
+
|
|
17
|
+
role: |
|
|
18
|
+
You are an autonomous content writer for a Drupal website. You generate high-quality articles
|
|
19
|
+
based on content briefs, optimize them for SEO, and select appropriate media assets.
|
|
20
|
+
|
|
21
|
+
Process:
|
|
22
|
+
1. Analyze content brief and target audience
|
|
23
|
+
2. Research topic using available tools
|
|
24
|
+
3. Generate article with proper structure (H1, H2, paragraphs)
|
|
25
|
+
4. Optimize for SEO (meta description, keywords, readability)
|
|
26
|
+
5. Select relevant images from media library
|
|
27
|
+
6. Create content entity in Drupal
|
|
28
|
+
|
|
29
|
+
llm:
|
|
30
|
+
provider: ${OSSA_LLM_PROVIDER:-anthropic}
|
|
31
|
+
model: ${OSSA_LLM_MODEL:-claude-sonnet-4}
|
|
32
|
+
temperature: ${OSSA_LLM_TEMPERATURE:-0.7}
|
|
33
|
+
maxTokens: ${OSSA_LLM_MAX_TOKENS:-8192}
|
|
34
|
+
|
|
35
|
+
tools:
|
|
36
|
+
- name: drupal.node.create
|
|
37
|
+
description: "Create a new Drupal node (article, page, etc.)"
|
|
38
|
+
handler:
|
|
39
|
+
runtime: drupal
|
|
40
|
+
capability: node.create
|
|
41
|
+
|
|
42
|
+
- name: drupal.taxonomy.search
|
|
43
|
+
description: "Search taxonomy terms for tagging"
|
|
44
|
+
handler:
|
|
45
|
+
runtime: drupal
|
|
46
|
+
capability: taxonomy.search
|
|
47
|
+
|
|
48
|
+
- name: drupal.media.search
|
|
49
|
+
description: "Search media library for images"
|
|
50
|
+
handler:
|
|
51
|
+
runtime: drupal
|
|
52
|
+
capability: media.search
|
|
53
|
+
|
|
54
|
+
extensions:
|
|
55
|
+
drupal:
|
|
56
|
+
# Module providing this agent
|
|
57
|
+
module: ai_agents_ossa
|
|
58
|
+
|
|
59
|
+
# Store as exportable config entity
|
|
60
|
+
config_entity: true
|
|
61
|
+
|
|
62
|
+
# Permissions for autonomous execution
|
|
63
|
+
permissions:
|
|
64
|
+
# Core Drupal entity permissions
|
|
65
|
+
entity_permissions:
|
|
66
|
+
- "create article content"
|
|
67
|
+
- "create page content"
|
|
68
|
+
- "edit own article content"
|
|
69
|
+
- "view media"
|
|
70
|
+
- "view taxonomy term"
|
|
71
|
+
|
|
72
|
+
# Custom permissions for agent execution
|
|
73
|
+
custom_permissions:
|
|
74
|
+
- "execute content writer agent"
|
|
75
|
+
- "generate ai content"
|
|
76
|
+
|
|
77
|
+
# Run as admin service account for autonomous operation
|
|
78
|
+
execution_user: "1"
|
|
79
|
+
|
|
80
|
+
# Agent runs with its own permissions (no user context)
|
|
81
|
+
permission_mode: agent_only
|
|
82
|
+
|
|
83
|
+
# Async processing via Symfony Messenger
|
|
84
|
+
messenger:
|
|
85
|
+
# Use Redis for high-performance message queue
|
|
86
|
+
transport: redis
|
|
87
|
+
|
|
88
|
+
# Dedicated queue for content generation
|
|
89
|
+
queue: content_generation
|
|
90
|
+
|
|
91
|
+
# Retry strategy for failed executions
|
|
92
|
+
retry_strategy:
|
|
93
|
+
max_retries: 3
|
|
94
|
+
delay: 2000
|
|
95
|
+
multiplier: 2
|
|
96
|
+
max_delay: 30000
|
|
97
|
+
|
|
98
|
+
# ECA workflow integration
|
|
99
|
+
workflow_engine: eca
|
|
100
|
+
|
|
101
|
+
# Discovery paths for manifest loading
|
|
102
|
+
discovery_paths:
|
|
103
|
+
- "config/agents/*.ossa.yaml"
|
|
104
|
+
- "modules/custom/ai_agents_ossa/agents/*.ossa.yaml"
|
|
105
|
+
|
|
106
|
+
# Drupal hooks for integration
|
|
107
|
+
hooks:
|
|
108
|
+
before_execute: ai_agents_ossa_content_writer_before
|
|
109
|
+
after_execute: ai_agents_ossa_content_writer_after
|
|
110
|
+
on_error: ai_agents_ossa_content_writer_error
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
apiVersion: ossa/v0.3.2
|
|
2
|
+
kind: Agent
|
|
3
|
+
metadata:
|
|
4
|
+
name: drupal-moderation-assistant
|
|
5
|
+
version: 1.0.0
|
|
6
|
+
description: Content moderation assistant that helps users review and publish content
|
|
7
|
+
|
|
8
|
+
spec:
|
|
9
|
+
capabilities:
|
|
10
|
+
- name: content.review
|
|
11
|
+
description: "Review content for quality, SEO, and compliance"
|
|
12
|
+
- name: moderation.suggest
|
|
13
|
+
description: "Suggest moderation workflow transitions"
|
|
14
|
+
- name: quality.score
|
|
15
|
+
description: "Score content quality based on criteria"
|
|
16
|
+
|
|
17
|
+
role: |
|
|
18
|
+
You are a content moderation assistant helping editors review and publish content.
|
|
19
|
+
You work within the user's permission context and respect Drupal's editorial workflow.
|
|
20
|
+
|
|
21
|
+
Responsibilities:
|
|
22
|
+
1. Review content for quality, readability, and SEO
|
|
23
|
+
2. Check content against style guide and compliance rules
|
|
24
|
+
3. Suggest appropriate moderation state transitions
|
|
25
|
+
4. Provide actionable feedback for improvement
|
|
26
|
+
|
|
27
|
+
You can only suggest transitions the user is authorized to perform.
|
|
28
|
+
|
|
29
|
+
llm:
|
|
30
|
+
provider: ${OSSA_LLM_PROVIDER:-anthropic}
|
|
31
|
+
model: ${OSSA_LLM_MODEL:-claude-sonnet-4}
|
|
32
|
+
temperature: ${OSSA_LLM_TEMPERATURE:-0.3}
|
|
33
|
+
maxTokens: ${OSSA_LLM_MAX_TOKENS:-4096}
|
|
34
|
+
|
|
35
|
+
tools:
|
|
36
|
+
- name: drupal.node.load
|
|
37
|
+
description: "Load a Drupal node for review"
|
|
38
|
+
handler:
|
|
39
|
+
runtime: drupal
|
|
40
|
+
capability: node.load
|
|
41
|
+
|
|
42
|
+
- name: drupal.moderation.transitions
|
|
43
|
+
description: "Get available moderation transitions for user"
|
|
44
|
+
handler:
|
|
45
|
+
runtime: drupal
|
|
46
|
+
capability: moderation.get_transitions
|
|
47
|
+
|
|
48
|
+
- name: drupal.moderation.apply
|
|
49
|
+
description: "Apply moderation state transition"
|
|
50
|
+
handler:
|
|
51
|
+
runtime: drupal
|
|
52
|
+
capability: moderation.apply_transition
|
|
53
|
+
|
|
54
|
+
extensions:
|
|
55
|
+
drupal:
|
|
56
|
+
# Module providing this agent
|
|
57
|
+
module: ai_agents_ossa
|
|
58
|
+
|
|
59
|
+
# Store as config entity for export
|
|
60
|
+
config_entity: true
|
|
61
|
+
|
|
62
|
+
# Permissions for user-context execution
|
|
63
|
+
permissions:
|
|
64
|
+
# Required entity permissions
|
|
65
|
+
entity_permissions:
|
|
66
|
+
- "view any article content"
|
|
67
|
+
- "edit any article content"
|
|
68
|
+
- "use editorial transition review"
|
|
69
|
+
- "use editorial transition publish"
|
|
70
|
+
|
|
71
|
+
# Custom agent permission
|
|
72
|
+
custom_permissions:
|
|
73
|
+
- "use moderation assistant"
|
|
74
|
+
|
|
75
|
+
# Run in user context (no service account)
|
|
76
|
+
# execution_user not specified - uses current user
|
|
77
|
+
|
|
78
|
+
# User must have ALL required permissions (intersection)
|
|
79
|
+
permission_mode: least_permissive
|
|
80
|
+
|
|
81
|
+
# Synchronous execution (no queue)
|
|
82
|
+
messenger:
|
|
83
|
+
transport: sync
|
|
84
|
+
|
|
85
|
+
# Integrated with ECA workflow builder
|
|
86
|
+
workflow_engine: eca
|
|
87
|
+
|
|
88
|
+
# Discovery from module
|
|
89
|
+
discovery_paths:
|
|
90
|
+
- "modules/custom/ai_agents_ossa/agents/*.ossa.yaml"
|
|
91
|
+
|
|
92
|
+
# Hooks for tracking and logging
|
|
93
|
+
hooks:
|
|
94
|
+
before_execute: ai_agents_ossa_log_execution
|
|
95
|
+
after_execute: ai_agents_ossa_track_moderation
|
|
96
|
+
on_error: ai_agents_ossa_alert_admin
|
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
# OSSA v0.3.1 Multi-Provider Identity Configuration
|
|
2
|
+
# Enterprise-grade agent with fallback identity chain and compliance
|
|
3
|
+
apiVersion: ossa/v0.3.2
|
|
4
|
+
kind: Agent
|
|
5
|
+
metadata:
|
|
6
|
+
name: enterprise-deployer
|
|
7
|
+
version: 2.0.0
|
|
8
|
+
description: Enterprise deployment agent with multi-provider identity and compliance
|
|
9
|
+
labels:
|
|
10
|
+
team: platform
|
|
11
|
+
tier: production
|
|
12
|
+
compliance: soc2
|
|
13
|
+
annotations:
|
|
14
|
+
security.ossa.io/audit-level: high
|
|
15
|
+
security.ossa.io/mfa-required: "true"
|
|
16
|
+
spec:
|
|
17
|
+
role: |
|
|
18
|
+
You are an enterprise deployment orchestrator responsible for managing
|
|
19
|
+
production deployments across multiple cloud providers and git platforms.
|
|
20
|
+
You must ensure all operations are auditable, compliant, and follow
|
|
21
|
+
the principle of least privilege.
|
|
22
|
+
|
|
23
|
+
llm:
|
|
24
|
+
provider: anthropic
|
|
25
|
+
model: claude-sonnet-4-20250514
|
|
26
|
+
temperature: 0.1
|
|
27
|
+
max_tokens: 16000
|
|
28
|
+
|
|
29
|
+
# Comprehensive Identity Configuration
|
|
30
|
+
identity:
|
|
31
|
+
# Primary: GitLab self-hosted
|
|
32
|
+
provider: gitlab
|
|
33
|
+
service_account:
|
|
34
|
+
id: 31840535
|
|
35
|
+
username: bot-ci-local
|
|
36
|
+
email: bot-ci-local@bluefly.io
|
|
37
|
+
display_name: CI/CD Bot
|
|
38
|
+
roles:
|
|
39
|
+
- maintainer
|
|
40
|
+
|
|
41
|
+
# Authentication with rotation policy
|
|
42
|
+
authentication:
|
|
43
|
+
method: project_access_token
|
|
44
|
+
scopes:
|
|
45
|
+
- api
|
|
46
|
+
- read_repository
|
|
47
|
+
- write_repository
|
|
48
|
+
- read_registry
|
|
49
|
+
- write_registry
|
|
50
|
+
auto_refresh: true
|
|
51
|
+
expiry_warning_days: 14
|
|
52
|
+
rotation_policy:
|
|
53
|
+
enabled: true
|
|
54
|
+
interval_days: 90
|
|
55
|
+
notify_on_rotation: true
|
|
56
|
+
|
|
57
|
+
# Multi-source token configuration
|
|
58
|
+
token_source:
|
|
59
|
+
env_var: GITLAB_BOT_CI_TOKEN
|
|
60
|
+
file_path: ~/.tokens/bot-ci-local
|
|
61
|
+
vault:
|
|
62
|
+
path: secret/data/ci/gitlab-token
|
|
63
|
+
key: token
|
|
64
|
+
role: ci-agent
|
|
65
|
+
kubernetes_secret:
|
|
66
|
+
name: gitlab-ci-token
|
|
67
|
+
namespace: ci-cd
|
|
68
|
+
key: token
|
|
69
|
+
|
|
70
|
+
# Auto-detection patterns
|
|
71
|
+
patterns:
|
|
72
|
+
- "*/gitlab_components"
|
|
73
|
+
- "*/infrastructure/*"
|
|
74
|
+
- "**/deploy/**"
|
|
75
|
+
- "**/ci-cd/**"
|
|
76
|
+
|
|
77
|
+
# Fallback identity chain for high availability
|
|
78
|
+
fallback:
|
|
79
|
+
- provider: github
|
|
80
|
+
service_account:
|
|
81
|
+
username: enterprise-ci-bot
|
|
82
|
+
email: ci-bot@enterprise.com
|
|
83
|
+
token_source:
|
|
84
|
+
env_var: GITHUB_CI_TOKEN
|
|
85
|
+
vault:
|
|
86
|
+
path: secret/data/ci/github-token
|
|
87
|
+
condition:
|
|
88
|
+
platform_unavailable: true
|
|
89
|
+
|
|
90
|
+
- provider: azure-devops
|
|
91
|
+
service_account:
|
|
92
|
+
username: ado-ci-service
|
|
93
|
+
email: ci-service@enterprise.onmicrosoft.com
|
|
94
|
+
token_source:
|
|
95
|
+
azure_key_vault:
|
|
96
|
+
vault_url: https://enterprise-vault.vault.azure.net
|
|
97
|
+
secret_name: ado-ci-token
|
|
98
|
+
condition:
|
|
99
|
+
pattern_match:
|
|
100
|
+
- "**/azure/**"
|
|
101
|
+
|
|
102
|
+
# Full DORA metrics tracking
|
|
103
|
+
dora_tracking:
|
|
104
|
+
enabled: true
|
|
105
|
+
metrics:
|
|
106
|
+
- deployment_frequency
|
|
107
|
+
- lead_time
|
|
108
|
+
- change_failure_rate
|
|
109
|
+
- mttr
|
|
110
|
+
labels:
|
|
111
|
+
environment: production
|
|
112
|
+
team: platform
|
|
113
|
+
cost_center: engineering
|
|
114
|
+
prometheus:
|
|
115
|
+
push_gateway: http://prometheus-pushgateway:9091
|
|
116
|
+
job_name: enterprise-deployer
|
|
117
|
+
classifications:
|
|
118
|
+
deployment_frequency:
|
|
119
|
+
elite: multiple_per_day
|
|
120
|
+
high: daily
|
|
121
|
+
medium: weekly
|
|
122
|
+
low: monthly
|
|
123
|
+
lead_time:
|
|
124
|
+
elite: "1"
|
|
125
|
+
high: "24"
|
|
126
|
+
medium: "168"
|
|
127
|
+
low: "720"
|
|
128
|
+
|
|
129
|
+
# Claude Code session integration
|
|
130
|
+
session:
|
|
131
|
+
init_on_start: true
|
|
132
|
+
propagate_to_subprocesses: true
|
|
133
|
+
git_attribution: true
|
|
134
|
+
heartbeat_interval: 60
|
|
135
|
+
timeout: 7200
|
|
136
|
+
hooks:
|
|
137
|
+
pre_prompt_submit: true
|
|
138
|
+
post_session: true
|
|
139
|
+
|
|
140
|
+
# OpenTelemetry observability
|
|
141
|
+
observability:
|
|
142
|
+
service_name: enterprise-deployer
|
|
143
|
+
service_namespace: production
|
|
144
|
+
service_version: "2.0.0"
|
|
145
|
+
service_instance_id: ${HOSTNAME}
|
|
146
|
+
resource_attributes:
|
|
147
|
+
deployment.environment: production
|
|
148
|
+
cloud.provider: multi
|
|
149
|
+
|
|
150
|
+
# Enterprise compliance
|
|
151
|
+
compliance:
|
|
152
|
+
require_mfa: true
|
|
153
|
+
ip_allowlist:
|
|
154
|
+
- 10.0.0.0/8
|
|
155
|
+
- 172.16.0.0/12
|
|
156
|
+
- 192.168.0.0/16
|
|
157
|
+
audit_logging: required
|
|
158
|
+
data_residency: us-east-1
|
|
159
|
+
frameworks:
|
|
160
|
+
- SOC2
|
|
161
|
+
- ISO27001
|
|
162
|
+
|
|
163
|
+
# Security policies
|
|
164
|
+
security:
|
|
165
|
+
token_encryption: both
|
|
166
|
+
minimum_token_length: 40
|
|
167
|
+
prohibited_actions:
|
|
168
|
+
- delete_production_branch
|
|
169
|
+
- disable_branch_protection
|
|
170
|
+
- modify_security_policies
|
|
171
|
+
required_approvals:
|
|
172
|
+
force_push: true
|
|
173
|
+
delete_protected_branch: true
|
|
174
|
+
modify_ci_config: true
|
|
175
|
+
rate_limits:
|
|
176
|
+
requests_per_minute: 100
|
|
177
|
+
requests_per_hour: 2000
|
|
178
|
+
git_operations_per_hour: 200
|
|
179
|
+
|
|
180
|
+
# Tool configuration
|
|
181
|
+
tools:
|
|
182
|
+
- name: kubernetes
|
|
183
|
+
type: mcp
|
|
184
|
+
config:
|
|
185
|
+
server: kubernetes-mcp-server
|
|
186
|
+
allowed_namespaces:
|
|
187
|
+
- production
|
|
188
|
+
- staging
|
|
189
|
+
- name: terraform
|
|
190
|
+
type: mcp
|
|
191
|
+
config:
|
|
192
|
+
server: terraform-mcp-server
|
|
193
|
+
workspace: production
|
|
194
|
+
- name: git
|
|
195
|
+
type: mcp
|
|
196
|
+
config:
|
|
197
|
+
server: git-mcp-server
|
|
198
|
+
|
|
199
|
+
# Strict autonomy controls
|
|
200
|
+
autonomy:
|
|
201
|
+
level: semi-autonomous
|
|
202
|
+
require_approval:
|
|
203
|
+
- deploy_to_production
|
|
204
|
+
- rollback_deployment
|
|
205
|
+
- scale_down_replicas
|
|
206
|
+
- modify_secrets
|
|
207
|
+
approval_timeout: 3600
|
|
208
|
+
escalation:
|
|
209
|
+
enabled: true
|
|
210
|
+
timeout: 1800
|
|
211
|
+
channels:
|
|
212
|
+
- slack://platform-oncall
|
|
213
|
+
- pagerduty://platform-critical
|
|
214
|
+
|
|
215
|
+
# Comprehensive safety configuration
|
|
216
|
+
safety:
|
|
217
|
+
max_tokens_per_turn: 16000
|
|
218
|
+
rate_limits:
|
|
219
|
+
requests_per_minute: 30
|
|
220
|
+
max_concurrent_requests: 5
|
|
221
|
+
circuit_breaker:
|
|
222
|
+
enabled: true
|
|
223
|
+
failure_threshold: 5
|
|
224
|
+
recovery_timeout: 300
|
|
225
|
+
kill_switch:
|
|
226
|
+
enabled: true
|
|
227
|
+
trigger_conditions:
|
|
228
|
+
- error_rate > 0.5
|
|
229
|
+
- latency_p99 > 30000
|
|
230
|
+
recovery_requires_approval: true
|
|
231
|
+
|
|
232
|
+
# State management
|
|
233
|
+
state:
|
|
234
|
+
storage: redis
|
|
235
|
+
ttl: 86400
|
|
236
|
+
encryption: aes-256-gcm
|