@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,106 @@
|
|
|
1
|
+
# OSSA v0.3.2 Access Tiers Examples
|
|
2
|
+
|
|
3
|
+
This directory contains example agent manifests demonstrating the **Access Tiers** and **Separation of Duties** features introduced in OSSA v0.3.2.
|
|
4
|
+
|
|
5
|
+
## Access Tier Hierarchy
|
|
6
|
+
|
|
7
|
+
| Tier | Name | Description | Example Agents |
|
|
8
|
+
|------|------|-------------|----------------|
|
|
9
|
+
| `tier_1_read` | Read Only (Analyzers) | Cannot modify state | Scanners, Reviewers, Monitors |
|
|
10
|
+
| `tier_2_write_limited` | Write Limited (Workers) | Sandboxed writes only | Doc generators, Test writers |
|
|
11
|
+
| `tier_3_write_elevated` | Write Elevated (Operators) | Production access with approval | Deployers, Infrastructure operators |
|
|
12
|
+
| `tier_4_policy` | Policy (Governors) | Defines policies, CANNOT execute | Compliance governors |
|
|
13
|
+
|
|
14
|
+
## Examples
|
|
15
|
+
|
|
16
|
+
### Tier 1: Read Only
|
|
17
|
+
- **[security-scanner.ossa.yaml](./security-scanner.ossa.yaml)** - Vulnerability scanner that cannot remediate
|
|
18
|
+
- **[code-critic.ossa.yaml](./code-critic.ossa.yaml)** - Code reviewer that cannot approve
|
|
19
|
+
|
|
20
|
+
### Tier 2: Write Limited
|
|
21
|
+
- **[doc-generator.ossa.yaml](./doc-generator.ossa.yaml)** - Documentation generator with sandboxed access
|
|
22
|
+
|
|
23
|
+
### Tier 3: Write Elevated
|
|
24
|
+
- **[deployment-operator.ossa.yaml](./deployment-operator.ossa.yaml)** - Deployment agent with approval chains
|
|
25
|
+
|
|
26
|
+
### Tier 4: Policy
|
|
27
|
+
- **[compliance-governor.ossa.yaml](./compliance-governor.ossa.yaml)** - Policy definer that cannot execute
|
|
28
|
+
|
|
29
|
+
## Key Separation Rules
|
|
30
|
+
|
|
31
|
+
### Critic-Executor Separation
|
|
32
|
+
Agents that review/critique **cannot** also approve/execute:
|
|
33
|
+
- Reviewers cannot approve MRs
|
|
34
|
+
- Auditors cannot remediate findings
|
|
35
|
+
- Critics cannot merge changes
|
|
36
|
+
|
|
37
|
+
### Governor-Executor Separation
|
|
38
|
+
Policy-defining agents **cannot** execute policies:
|
|
39
|
+
- Governors define rules, operators enforce them
|
|
40
|
+
- Policy definers cannot modify infrastructure
|
|
41
|
+
- Compliance agents cannot remediate directly
|
|
42
|
+
|
|
43
|
+
### Read-Write Separation (Sensitive Domains)
|
|
44
|
+
In security/compliance domains, readers should not write:
|
|
45
|
+
- Scanners cannot remediate
|
|
46
|
+
- Auditors cannot fix violations
|
|
47
|
+
- Monitors cannot modify configurations
|
|
48
|
+
|
|
49
|
+
## Usage in Agent Manifests
|
|
50
|
+
|
|
51
|
+
```yaml
|
|
52
|
+
apiVersion: ossa/v0.3.2
|
|
53
|
+
kind: Agent
|
|
54
|
+
|
|
55
|
+
metadata:
|
|
56
|
+
name: my-agent
|
|
57
|
+
labels:
|
|
58
|
+
access_tier: tier_1_read # Label for filtering
|
|
59
|
+
|
|
60
|
+
spec:
|
|
61
|
+
type: analyzer # Agent type aligned with tiers
|
|
62
|
+
|
|
63
|
+
# Taxonomy classification
|
|
64
|
+
taxonomy:
|
|
65
|
+
domain: security
|
|
66
|
+
subdomain: vulnerability
|
|
67
|
+
capability: scan_code
|
|
68
|
+
concerns:
|
|
69
|
+
- quality
|
|
70
|
+
- governance
|
|
71
|
+
|
|
72
|
+
# Access tier configuration
|
|
73
|
+
access:
|
|
74
|
+
tier: tier_1_read
|
|
75
|
+
permissions:
|
|
76
|
+
- read_code
|
|
77
|
+
- read_configs
|
|
78
|
+
prohibited:
|
|
79
|
+
- write_*
|
|
80
|
+
audit_level: standard
|
|
81
|
+
|
|
82
|
+
# Role separation
|
|
83
|
+
separation:
|
|
84
|
+
role: scanner
|
|
85
|
+
conflicts_with:
|
|
86
|
+
- remediator
|
|
87
|
+
- executor
|
|
88
|
+
prohibited_actions:
|
|
89
|
+
- execute
|
|
90
|
+
- merge
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
## Validation
|
|
94
|
+
|
|
95
|
+
Use the OSSA CLI to validate access tier compliance:
|
|
96
|
+
|
|
97
|
+
```bash
|
|
98
|
+
ossa validate manifest.yaml --check-separation
|
|
99
|
+
ossa audit --tier-violations
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
## Related Specifications
|
|
103
|
+
|
|
104
|
+
- [access_tiers.yaml](../../access_tiers.yaml) - Full access tier definitions
|
|
105
|
+
- [taxonomy.yaml](../../taxonomy.yaml) - Domain taxonomy with tier mappings
|
|
106
|
+
- [ossa-0.3.2.schema.json](../../ossa-0.3.2.schema.json) - JSON Schema with tier validation
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
# =============================================================================
|
|
2
|
+
# OSSA v0.3.2 - Critic Example: Code Reviewer (Cannot Approve)
|
|
3
|
+
# =============================================================================
|
|
4
|
+
# Demonstrates critic-executor separation rule
|
|
5
|
+
# Critics can review and provide feedback but CANNOT approve or merge
|
|
6
|
+
# =============================================================================
|
|
7
|
+
|
|
8
|
+
apiVersion: ossa/v0.3.2
|
|
9
|
+
kind: Agent
|
|
10
|
+
|
|
11
|
+
metadata:
|
|
12
|
+
name: code-critic
|
|
13
|
+
version: 1.0.0
|
|
14
|
+
description: Code review critic - provides feedback, cannot approve
|
|
15
|
+
labels:
|
|
16
|
+
team: platform
|
|
17
|
+
access_tier: tier_1_read
|
|
18
|
+
domain: development
|
|
19
|
+
|
|
20
|
+
spec:
|
|
21
|
+
type: critic
|
|
22
|
+
|
|
23
|
+
role: |
|
|
24
|
+
You are a code review critic that analyzes merge requests and provides
|
|
25
|
+
detailed feedback on code quality, architecture, and best practices.
|
|
26
|
+
|
|
27
|
+
CRITICAL SEPARATION RULE:
|
|
28
|
+
- You CANNOT approve merge requests
|
|
29
|
+
- You CANNOT merge changes
|
|
30
|
+
- You CANNOT execute code modifications
|
|
31
|
+
- You can ONLY provide feedback and recommendations
|
|
32
|
+
|
|
33
|
+
Your role is to critique, not to approve. Approvals must come from
|
|
34
|
+
human reviewers or designated approver agents (which you cannot be).
|
|
35
|
+
|
|
36
|
+
llm:
|
|
37
|
+
provider: anthropic
|
|
38
|
+
model: claude-sonnet-4-20250514
|
|
39
|
+
temperature: 0.2
|
|
40
|
+
|
|
41
|
+
# Taxonomy Classification (v0.3.2+)
|
|
42
|
+
taxonomy:
|
|
43
|
+
domain: development
|
|
44
|
+
subdomain: code-review
|
|
45
|
+
capability: review_code
|
|
46
|
+
concerns:
|
|
47
|
+
- quality
|
|
48
|
+
- architecture
|
|
49
|
+
|
|
50
|
+
# Access Tier Configuration (v0.3.2+)
|
|
51
|
+
access:
|
|
52
|
+
tier: tier_1_read
|
|
53
|
+
permissions:
|
|
54
|
+
- read_code
|
|
55
|
+
- read_configs
|
|
56
|
+
- read_mrs
|
|
57
|
+
- read_issues
|
|
58
|
+
- execute_queries
|
|
59
|
+
prohibited:
|
|
60
|
+
- write_*
|
|
61
|
+
- merge_mrs
|
|
62
|
+
- approve
|
|
63
|
+
audit_level: standard
|
|
64
|
+
requires_approval: false
|
|
65
|
+
|
|
66
|
+
# Separation of Duties (v0.3.2+)
|
|
67
|
+
separation:
|
|
68
|
+
role: critic
|
|
69
|
+
conflicts_with:
|
|
70
|
+
- approver
|
|
71
|
+
- executor
|
|
72
|
+
- merger
|
|
73
|
+
prohibited_actions:
|
|
74
|
+
- approve
|
|
75
|
+
- merge
|
|
76
|
+
- execute
|
|
77
|
+
|
|
78
|
+
tools:
|
|
79
|
+
- name: gitlab-mr-reader
|
|
80
|
+
type: api
|
|
81
|
+
config:
|
|
82
|
+
endpoint: https://gitlab.com/api/v4
|
|
83
|
+
methods:
|
|
84
|
+
- GET
|
|
85
|
+
scopes:
|
|
86
|
+
- read_api
|
|
87
|
+
- name: code-analyzer
|
|
88
|
+
type: mcp
|
|
89
|
+
config:
|
|
90
|
+
server: code-analysis-mcp-server
|
|
91
|
+
|
|
92
|
+
autonomy:
|
|
93
|
+
level: semi_autonomous
|
|
94
|
+
allowed_actions:
|
|
95
|
+
- read_code
|
|
96
|
+
- analyze_mr
|
|
97
|
+
- post_comment
|
|
98
|
+
- request_changes
|
|
99
|
+
blocked_actions:
|
|
100
|
+
- approve_mr
|
|
101
|
+
- merge_mr
|
|
102
|
+
- execute_code
|
|
103
|
+
|
|
104
|
+
messaging:
|
|
105
|
+
publishes:
|
|
106
|
+
- channel: reviews.feedback
|
|
107
|
+
description: Code review feedback for merge requests
|
|
108
|
+
schema:
|
|
109
|
+
type: object
|
|
110
|
+
properties:
|
|
111
|
+
mr_id:
|
|
112
|
+
type: integer
|
|
113
|
+
feedback_type:
|
|
114
|
+
type: string
|
|
115
|
+
enum: [comment, request_changes, praise]
|
|
116
|
+
issues_found:
|
|
117
|
+
type: array
|
|
118
|
+
recommendations:
|
|
119
|
+
type: array
|
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
# =============================================================================
|
|
2
|
+
# OSSA v0.3.2 - Tier 4 (Policy) Example: Compliance Governor
|
|
3
|
+
# =============================================================================
|
|
4
|
+
# Demonstrates separation of duties for policy-defining governor agents
|
|
5
|
+
# ISOLATED: Can define policies but CANNOT execute - must delegate to Tier 3
|
|
6
|
+
# =============================================================================
|
|
7
|
+
|
|
8
|
+
apiVersion: ossa/v0.3.2
|
|
9
|
+
kind: Agent
|
|
10
|
+
|
|
11
|
+
metadata:
|
|
12
|
+
name: compliance-governor
|
|
13
|
+
version: 1.0.0
|
|
14
|
+
description: Compliance policy governor - defines policies, cannot execute
|
|
15
|
+
labels:
|
|
16
|
+
team: security
|
|
17
|
+
access_tier: tier_4_policy
|
|
18
|
+
domain: security
|
|
19
|
+
|
|
20
|
+
spec:
|
|
21
|
+
type: governor
|
|
22
|
+
|
|
23
|
+
role: |
|
|
24
|
+
You are a compliance governance agent responsible for defining and
|
|
25
|
+
publishing security and compliance policies. You monitor policy adherence
|
|
26
|
+
and report violations.
|
|
27
|
+
|
|
28
|
+
CRITICAL ISOLATION RULES:
|
|
29
|
+
- You CANNOT execute remediation actions directly
|
|
30
|
+
- You CANNOT modify code or infrastructure
|
|
31
|
+
- You MUST delegate execution to tier_3_write_elevated operators
|
|
32
|
+
- You define WHAT should happen, not HOW to do it
|
|
33
|
+
|
|
34
|
+
Your role is legislative, not executive. You define the rules;
|
|
35
|
+
operators enforce them.
|
|
36
|
+
|
|
37
|
+
llm:
|
|
38
|
+
provider: anthropic
|
|
39
|
+
model: claude-sonnet-4-20250514
|
|
40
|
+
temperature: 0.0
|
|
41
|
+
profile: safe
|
|
42
|
+
|
|
43
|
+
# Taxonomy Classification (v0.3.2+)
|
|
44
|
+
taxonomy:
|
|
45
|
+
domain: security
|
|
46
|
+
subdomain: compliance
|
|
47
|
+
capability: define_policies
|
|
48
|
+
concerns:
|
|
49
|
+
- governance
|
|
50
|
+
- quality
|
|
51
|
+
- reliability
|
|
52
|
+
|
|
53
|
+
# Access Tier Configuration (v0.3.2+)
|
|
54
|
+
access:
|
|
55
|
+
tier: tier_4_policy
|
|
56
|
+
permissions:
|
|
57
|
+
- read_code
|
|
58
|
+
- read_configs
|
|
59
|
+
- read_metrics
|
|
60
|
+
- read_logs
|
|
61
|
+
- read_issues
|
|
62
|
+
- read_mrs
|
|
63
|
+
- define_policies
|
|
64
|
+
- publish_policies
|
|
65
|
+
- audit_compliance
|
|
66
|
+
- report_violations
|
|
67
|
+
prohibited:
|
|
68
|
+
- execute_*
|
|
69
|
+
- write_code
|
|
70
|
+
- modify_infrastructure
|
|
71
|
+
- remediate_direct
|
|
72
|
+
- deploy
|
|
73
|
+
- merge_mrs
|
|
74
|
+
audit_level: comprehensive
|
|
75
|
+
requires_approval: false
|
|
76
|
+
isolation: strict
|
|
77
|
+
|
|
78
|
+
# Separation of Duties (v0.3.2+)
|
|
79
|
+
separation:
|
|
80
|
+
role: governor
|
|
81
|
+
conflicts_with:
|
|
82
|
+
- operator
|
|
83
|
+
- executor
|
|
84
|
+
- deployer
|
|
85
|
+
- remediator
|
|
86
|
+
- enforcer
|
|
87
|
+
can_delegate_to:
|
|
88
|
+
- operator
|
|
89
|
+
prohibited_actions:
|
|
90
|
+
- execute
|
|
91
|
+
- deploy
|
|
92
|
+
- merge
|
|
93
|
+
- modify_production
|
|
94
|
+
|
|
95
|
+
# Delegation Configuration (v0.3.2+)
|
|
96
|
+
delegation:
|
|
97
|
+
enabled: true
|
|
98
|
+
allowed_tiers:
|
|
99
|
+
- tier_3_write_elevated
|
|
100
|
+
allowed_operations:
|
|
101
|
+
- remediate_violations
|
|
102
|
+
- apply_policies
|
|
103
|
+
- execute_fixes
|
|
104
|
+
requires:
|
|
105
|
+
- delegation_token
|
|
106
|
+
- audit_trail
|
|
107
|
+
- violation_report
|
|
108
|
+
- approval
|
|
109
|
+
|
|
110
|
+
tools:
|
|
111
|
+
- name: policy-reader
|
|
112
|
+
type: mcp
|
|
113
|
+
config:
|
|
114
|
+
server: policy-mcp-server
|
|
115
|
+
read_only: true
|
|
116
|
+
- name: compliance-api
|
|
117
|
+
type: api
|
|
118
|
+
config:
|
|
119
|
+
endpoint: https://api.compliance.local
|
|
120
|
+
methods:
|
|
121
|
+
- GET
|
|
122
|
+
- POST # For publishing policies only
|
|
123
|
+
- name: audit-logger
|
|
124
|
+
type: mcp
|
|
125
|
+
config:
|
|
126
|
+
server: audit-mcp-server
|
|
127
|
+
|
|
128
|
+
autonomy:
|
|
129
|
+
level: autonomous
|
|
130
|
+
allowed_actions:
|
|
131
|
+
- define_policy
|
|
132
|
+
- publish_policy
|
|
133
|
+
- audit_compliance
|
|
134
|
+
- generate_violation_report
|
|
135
|
+
- delegate_remediation
|
|
136
|
+
blocked_actions:
|
|
137
|
+
- execute_any_modification
|
|
138
|
+
- deploy
|
|
139
|
+
- merge
|
|
140
|
+
- modify_infrastructure
|
|
141
|
+
- remediate_directly
|
|
142
|
+
|
|
143
|
+
compliance:
|
|
144
|
+
frameworks:
|
|
145
|
+
- SOC2
|
|
146
|
+
- ISO27001
|
|
147
|
+
- GDPR
|
|
148
|
+
audit_logging: required
|
|
149
|
+
pii_handling: redact
|
|
150
|
+
|
|
151
|
+
safety:
|
|
152
|
+
guardrails:
|
|
153
|
+
enabled: true
|
|
154
|
+
max_tool_calls: 20
|
|
155
|
+
max_execution_time_seconds: 600
|
|
156
|
+
policies:
|
|
157
|
+
- no_execution
|
|
158
|
+
- delegation_only
|
|
159
|
+
- audit_all_actions
|
|
160
|
+
|
|
161
|
+
observability:
|
|
162
|
+
tracing:
|
|
163
|
+
enabled: true
|
|
164
|
+
exporter: otlp
|
|
165
|
+
metrics:
|
|
166
|
+
enabled: true
|
|
167
|
+
customMetrics:
|
|
168
|
+
- name: policies_defined
|
|
169
|
+
type: counter
|
|
170
|
+
description: Total policies defined
|
|
171
|
+
- name: violations_detected
|
|
172
|
+
type: counter
|
|
173
|
+
description: Compliance violations detected
|
|
174
|
+
- name: delegations_issued
|
|
175
|
+
type: counter
|
|
176
|
+
description: Remediation delegations to operators
|
|
177
|
+
logging:
|
|
178
|
+
level: info
|
|
179
|
+
format: json
|
|
180
|
+
|
|
181
|
+
messaging:
|
|
182
|
+
publishes:
|
|
183
|
+
- channel: governance.policies
|
|
184
|
+
description: Published compliance policies
|
|
185
|
+
schema:
|
|
186
|
+
type: object
|
|
187
|
+
properties:
|
|
188
|
+
policy_id:
|
|
189
|
+
type: string
|
|
190
|
+
version:
|
|
191
|
+
type: string
|
|
192
|
+
effective_date:
|
|
193
|
+
type: string
|
|
194
|
+
format: date
|
|
195
|
+
- channel: governance.violations
|
|
196
|
+
description: Detected policy violations for remediation
|
|
197
|
+
schema:
|
|
198
|
+
type: object
|
|
199
|
+
properties:
|
|
200
|
+
violation_id:
|
|
201
|
+
type: string
|
|
202
|
+
policy_id:
|
|
203
|
+
type: string
|
|
204
|
+
severity:
|
|
205
|
+
type: string
|
|
206
|
+
enum: [critical, high, medium, low]
|
|
207
|
+
remediation_required:
|
|
208
|
+
type: boolean
|
|
209
|
+
delegate_to:
|
|
210
|
+
type: string
|
|
211
|
+
description: Target operator agent for remediation
|
|
212
|
+
commands:
|
|
213
|
+
- name: audit_project
|
|
214
|
+
description: Run compliance audit on a project
|
|
215
|
+
inputSchema:
|
|
216
|
+
type: object
|
|
217
|
+
properties:
|
|
218
|
+
project_id:
|
|
219
|
+
type: string
|
|
220
|
+
frameworks:
|
|
221
|
+
type: array
|
|
222
|
+
items:
|
|
223
|
+
type: string
|
|
224
|
+
required:
|
|
225
|
+
- project_id
|
|
226
|
+
outputSchema:
|
|
227
|
+
type: object
|
|
228
|
+
properties:
|
|
229
|
+
compliant:
|
|
230
|
+
type: boolean
|
|
231
|
+
violations:
|
|
232
|
+
type: array
|
|
233
|
+
recommendations:
|
|
234
|
+
type: array
|