@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,256 @@
|
|
|
1
|
+
# =============================================================================
|
|
2
|
+
# OSSA v0.3.1 - Agent Taxonomy Specification
|
|
3
|
+
# =============================================================================
|
|
4
|
+
# Hierarchical classification system for agents with cross-cutting concerns
|
|
5
|
+
# Issue: https://gitlab.com/blueflyio/openstandardagents/-/issues/194
|
|
6
|
+
# =============================================================================
|
|
7
|
+
|
|
8
|
+
apiVersion: ossa/v0.3.1
|
|
9
|
+
kind: TaxonomySpec
|
|
10
|
+
version: "1.0.0"
|
|
11
|
+
|
|
12
|
+
# =============================================================================
|
|
13
|
+
# PRIMARY DOMAINS
|
|
14
|
+
# Top-level classification - every agent belongs to exactly one domain
|
|
15
|
+
# =============================================================================
|
|
16
|
+
domains:
|
|
17
|
+
security:
|
|
18
|
+
description: "Authentication, authorization, encryption, compliance, vulnerability management"
|
|
19
|
+
subdomains:
|
|
20
|
+
- auth # Authentication & authorization
|
|
21
|
+
- encryption # Encryption & key management
|
|
22
|
+
- compliance # Regulatory compliance (SOC2, ISO, GDPR)
|
|
23
|
+
- vulnerability # Vulnerability scanning & remediation
|
|
24
|
+
- secrets # Secrets management & rotation
|
|
25
|
+
- threat-detection # Threat detection & response
|
|
26
|
+
examples:
|
|
27
|
+
- security-scanner
|
|
28
|
+
- compliance-checker
|
|
29
|
+
- secret-detector
|
|
30
|
+
- threat-modeler
|
|
31
|
+
|
|
32
|
+
infrastructure:
|
|
33
|
+
description: "DevOps, CI/CD, deployment, configuration, cloud resources"
|
|
34
|
+
subdomains:
|
|
35
|
+
- ci-cd # CI/CD pipeline management
|
|
36
|
+
- gitops # GitOps workflows
|
|
37
|
+
- deployment # Deployment automation
|
|
38
|
+
- configuration # Configuration management
|
|
39
|
+
- networking # Network configuration
|
|
40
|
+
- storage # Storage management
|
|
41
|
+
- kubernetes # Kubernetes orchestration
|
|
42
|
+
- cloud # Cloud provider management
|
|
43
|
+
examples:
|
|
44
|
+
- deployment-manager
|
|
45
|
+
- pipeline-fixer
|
|
46
|
+
- infrastructure-provisioner
|
|
47
|
+
- incident-responder
|
|
48
|
+
|
|
49
|
+
documentation:
|
|
50
|
+
description: "Documentation, wiki, guides, knowledge management"
|
|
51
|
+
subdomains:
|
|
52
|
+
- api-docs # API documentation
|
|
53
|
+
- user-guides # User guides & tutorials
|
|
54
|
+
- wiki # Wiki management
|
|
55
|
+
- knowledge-base # Knowledge base management
|
|
56
|
+
- changelog # Changelog & release notes
|
|
57
|
+
examples:
|
|
58
|
+
- documentation-generator
|
|
59
|
+
- wiki-manager
|
|
60
|
+
- api-docs-generator
|
|
61
|
+
|
|
62
|
+
backend:
|
|
63
|
+
description: "API, database, services, business logic"
|
|
64
|
+
subdomains:
|
|
65
|
+
- api # API design & implementation
|
|
66
|
+
- database # Database management
|
|
67
|
+
- services # Microservices
|
|
68
|
+
- messaging # Message queues & events
|
|
69
|
+
- caching # Caching strategies
|
|
70
|
+
- integration # System integration
|
|
71
|
+
examples:
|
|
72
|
+
- api-builder
|
|
73
|
+
- database-migrator
|
|
74
|
+
- service-orchestrator
|
|
75
|
+
|
|
76
|
+
frontend:
|
|
77
|
+
description: "UI/UX, web, mobile interfaces"
|
|
78
|
+
subdomains:
|
|
79
|
+
- web # Web applications
|
|
80
|
+
- mobile # Mobile applications
|
|
81
|
+
- design-system # Design system components
|
|
82
|
+
- accessibility # Accessibility (a11y)
|
|
83
|
+
- performance # Frontend performance
|
|
84
|
+
examples:
|
|
85
|
+
- ui-reviewer
|
|
86
|
+
- accessibility-checker
|
|
87
|
+
- design-system-manager
|
|
88
|
+
|
|
89
|
+
data:
|
|
90
|
+
description: "Data engineering, analytics, ML/AI operations"
|
|
91
|
+
subdomains:
|
|
92
|
+
- analytics # Business analytics
|
|
93
|
+
- ml-ops # ML operations
|
|
94
|
+
- etl # Extract, transform, load
|
|
95
|
+
- data-quality # Data quality & validation
|
|
96
|
+
- data-governance # Data governance
|
|
97
|
+
- streaming # Real-time data streaming
|
|
98
|
+
examples:
|
|
99
|
+
- analytics-collector
|
|
100
|
+
- ml-model-manager
|
|
101
|
+
- data-quality-checker
|
|
102
|
+
|
|
103
|
+
agents:
|
|
104
|
+
description: "OSSA agents, automation, orchestration, meta-operations"
|
|
105
|
+
subdomains:
|
|
106
|
+
- orchestration # Multi-agent orchestration
|
|
107
|
+
- workers # Worker agents
|
|
108
|
+
- supervisors # Supervisor agents
|
|
109
|
+
- mesh # Agent mesh networking
|
|
110
|
+
- training # Agent training & improvement
|
|
111
|
+
- registry # Agent registry management
|
|
112
|
+
examples:
|
|
113
|
+
- master-orchestrator
|
|
114
|
+
- agent-trainer
|
|
115
|
+
- workflow-builder
|
|
116
|
+
|
|
117
|
+
development:
|
|
118
|
+
description: "Software development, code quality, testing"
|
|
119
|
+
subdomains:
|
|
120
|
+
- code-review # Code review automation
|
|
121
|
+
- testing # Test generation & execution
|
|
122
|
+
- refactoring # Code refactoring
|
|
123
|
+
- debugging # Debugging assistance
|
|
124
|
+
- ide # IDE integration
|
|
125
|
+
examples:
|
|
126
|
+
- code-reviewer
|
|
127
|
+
- test-generator
|
|
128
|
+
- refactoring-assistant
|
|
129
|
+
|
|
130
|
+
content:
|
|
131
|
+
description: "Content management, editing, publishing"
|
|
132
|
+
subdomains:
|
|
133
|
+
- authoring # Content authoring
|
|
134
|
+
- editing # Content editing
|
|
135
|
+
- publishing # Content publishing
|
|
136
|
+
- research # Research & knowledge gathering
|
|
137
|
+
- localization # Internationalization & localization
|
|
138
|
+
examples:
|
|
139
|
+
- content-orchestrator
|
|
140
|
+
- editor
|
|
141
|
+
- researcher
|
|
142
|
+
- publisher
|
|
143
|
+
|
|
144
|
+
# =============================================================================
|
|
145
|
+
# CROSS-CUTTING CONCERNS
|
|
146
|
+
# Tags that can apply to any agent regardless of domain
|
|
147
|
+
# An agent can have multiple concerns
|
|
148
|
+
# =============================================================================
|
|
149
|
+
concerns:
|
|
150
|
+
quality:
|
|
151
|
+
description: "Testing, code quality, standards enforcement"
|
|
152
|
+
applies_to: ["development", "backend", "frontend", "infrastructure"]
|
|
153
|
+
|
|
154
|
+
observability:
|
|
155
|
+
description: "Metrics, logging, tracing, monitoring"
|
|
156
|
+
applies_to: ["*"] # All domains
|
|
157
|
+
|
|
158
|
+
governance:
|
|
159
|
+
description: "Policies, compliance, audit trails"
|
|
160
|
+
applies_to: ["*"]
|
|
161
|
+
|
|
162
|
+
performance:
|
|
163
|
+
description: "Optimization, caching, scaling"
|
|
164
|
+
applies_to: ["*"]
|
|
165
|
+
|
|
166
|
+
architecture:
|
|
167
|
+
description: "Design patterns, system structure"
|
|
168
|
+
applies_to: ["development", "backend", "infrastructure", "agents"]
|
|
169
|
+
|
|
170
|
+
cost:
|
|
171
|
+
description: "FinOps, resource optimization, budget management"
|
|
172
|
+
applies_to: ["infrastructure", "data", "agents"]
|
|
173
|
+
|
|
174
|
+
reliability:
|
|
175
|
+
description: "SRE, uptime, resilience, disaster recovery"
|
|
176
|
+
applies_to: ["infrastructure", "backend", "agents"]
|
|
177
|
+
|
|
178
|
+
# =============================================================================
|
|
179
|
+
# AGENT TYPE CLASSIFICATION
|
|
180
|
+
# Based on OSSA spec.type field
|
|
181
|
+
# =============================================================================
|
|
182
|
+
agent_types:
|
|
183
|
+
worker:
|
|
184
|
+
description: "Executes specific tasks, no delegation"
|
|
185
|
+
typical_domains: ["development", "security", "documentation"]
|
|
186
|
+
|
|
187
|
+
supervisor:
|
|
188
|
+
description: "Coordinates other agents, can delegate"
|
|
189
|
+
typical_domains: ["agents", "infrastructure"]
|
|
190
|
+
|
|
191
|
+
orchestrator:
|
|
192
|
+
description: "High-level coordination, workflow management"
|
|
193
|
+
typical_domains: ["agents"]
|
|
194
|
+
|
|
195
|
+
specialist:
|
|
196
|
+
description: "Deep expertise in narrow domain"
|
|
197
|
+
typical_domains: ["security", "data", "backend"]
|
|
198
|
+
|
|
199
|
+
# =============================================================================
|
|
200
|
+
# USAGE IN AGENT MANIFESTS
|
|
201
|
+
# =============================================================================
|
|
202
|
+
# Example usage in OSSA agent manifest:
|
|
203
|
+
#
|
|
204
|
+
# metadata:
|
|
205
|
+
# name: security-scanner
|
|
206
|
+
# labels:
|
|
207
|
+
# domain: security
|
|
208
|
+
# subdomain: vulnerability
|
|
209
|
+
# concerns: quality,compliance
|
|
210
|
+
#
|
|
211
|
+
# spec:
|
|
212
|
+
# type: worker
|
|
213
|
+
# taxonomy:
|
|
214
|
+
# domain: security
|
|
215
|
+
# subdomain: vulnerability
|
|
216
|
+
# capability: scan_vulnerabilities
|
|
217
|
+
# concerns:
|
|
218
|
+
# - quality
|
|
219
|
+
# - compliance
|
|
220
|
+
|
|
221
|
+
# =============================================================================
|
|
222
|
+
# VALIDATION RULES
|
|
223
|
+
# =============================================================================
|
|
224
|
+
validation:
|
|
225
|
+
rules:
|
|
226
|
+
- name: valid-domain
|
|
227
|
+
description: "Domain must be from approved list"
|
|
228
|
+
severity: error
|
|
229
|
+
|
|
230
|
+
- name: valid-subdomain
|
|
231
|
+
description: "Subdomain must belong to specified domain"
|
|
232
|
+
severity: error
|
|
233
|
+
|
|
234
|
+
- name: concerns-applicable
|
|
235
|
+
description: "Concerns must be applicable to domain"
|
|
236
|
+
severity: warning
|
|
237
|
+
|
|
238
|
+
- name: type-domain-match
|
|
239
|
+
description: "Agent type should match typical domains"
|
|
240
|
+
severity: info
|
|
241
|
+
|
|
242
|
+
# =============================================================================
|
|
243
|
+
# MIGRATION FROM LEGACY
|
|
244
|
+
# =============================================================================
|
|
245
|
+
migration:
|
|
246
|
+
deprecated_domains:
|
|
247
|
+
ci-cd: { domain: infrastructure, subdomain: ci-cd }
|
|
248
|
+
gitops: { domain: infrastructure, subdomain: gitops }
|
|
249
|
+
deployment: { domain: infrastructure, subdomain: deployment }
|
|
250
|
+
configuration: { domain: infrastructure, subdomain: configuration }
|
|
251
|
+
cost-management: { domain: infrastructure, concerns: [cost] }
|
|
252
|
+
database: { domain: backend, subdomain: database }
|
|
253
|
+
performance: { concerns: [performance] }
|
|
254
|
+
observability: { concerns: [observability] }
|
|
255
|
+
governance: { concerns: [governance] }
|
|
256
|
+
architecture: { concerns: [architecture] }
|
|
@@ -0,0 +1,293 @@
|
|
|
1
|
+
# Migration Guide: OSSA v0.3.1 → v0.3.2
|
|
2
|
+
|
|
3
|
+
> **Status**: Draft
|
|
4
|
+
> **Last Updated**: 2025-12-28
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Overview
|
|
9
|
+
|
|
10
|
+
OSSA v0.3.2 introduces **Access Tiers & Separation of Duties** while maintaining backward compatibility with v0.3.1 manifests.
|
|
11
|
+
|
|
12
|
+
### Key Changes
|
|
13
|
+
|
|
14
|
+
- ✅ **Backward Compatible**: v0.3.1 manifests validate against v0.3.2 schema
|
|
15
|
+
- ✅ **Optional Features**: Access tiers are optional - existing agents work without changes
|
|
16
|
+
- ✅ **Progressive Enhancement**: Add access tiers when ready
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
## Migration Path
|
|
21
|
+
|
|
22
|
+
### Option 1: No Changes Required (Recommended for Existing Agents)
|
|
23
|
+
|
|
24
|
+
**v0.3.1 agents continue to work without modification:**
|
|
25
|
+
|
|
26
|
+
```yaml
|
|
27
|
+
apiVersion: ossa/v0.3.1
|
|
28
|
+
kind: Agent
|
|
29
|
+
metadata:
|
|
30
|
+
name: my-agent
|
|
31
|
+
spec:
|
|
32
|
+
role: You are a helpful assistant.
|
|
33
|
+
llm:
|
|
34
|
+
provider: anthropic
|
|
35
|
+
model: claude-sonnet
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
**This manifest validates against v0.3.2 schema** - no changes needed.
|
|
39
|
+
|
|
40
|
+
### Option 2: Update API Version Only
|
|
41
|
+
|
|
42
|
+
Simply update the `apiVersion` field:
|
|
43
|
+
|
|
44
|
+
```yaml
|
|
45
|
+
apiVersion: ossa/v0.3.2 # Changed from v0.3.1
|
|
46
|
+
kind: Agent
|
|
47
|
+
metadata:
|
|
48
|
+
name: my-agent
|
|
49
|
+
spec:
|
|
50
|
+
role: You are a helpful assistant.
|
|
51
|
+
llm:
|
|
52
|
+
provider: anthropic
|
|
53
|
+
model: claude-sonnet
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
### Option 3: Add Access Tiers (Recommended for New Agents)
|
|
57
|
+
|
|
58
|
+
Add access tier configuration for privilege separation:
|
|
59
|
+
|
|
60
|
+
```yaml
|
|
61
|
+
apiVersion: ossa/v0.3.2
|
|
62
|
+
kind: Agent
|
|
63
|
+
metadata:
|
|
64
|
+
name: my-agent
|
|
65
|
+
labels:
|
|
66
|
+
access_tier: tier_1_read # Optional label
|
|
67
|
+
spec:
|
|
68
|
+
type: analyzer # Agent type
|
|
69
|
+
|
|
70
|
+
# Access Tier Configuration (NEW in v0.3.2)
|
|
71
|
+
access:
|
|
72
|
+
tier: tier_1_read
|
|
73
|
+
permissions:
|
|
74
|
+
- read_code
|
|
75
|
+
- read_configs
|
|
76
|
+
prohibited:
|
|
77
|
+
- write_*
|
|
78
|
+
audit_level: standard
|
|
79
|
+
|
|
80
|
+
# Separation of Duties (NEW in v0.3.2)
|
|
81
|
+
separation:
|
|
82
|
+
role: analyzer
|
|
83
|
+
conflicts_with:
|
|
84
|
+
- executor
|
|
85
|
+
- approver
|
|
86
|
+
|
|
87
|
+
role: You are a helpful assistant.
|
|
88
|
+
llm:
|
|
89
|
+
provider: anthropic
|
|
90
|
+
model: claude-sonnet
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
---
|
|
94
|
+
|
|
95
|
+
## Access Tier Selection Guide
|
|
96
|
+
|
|
97
|
+
### Tier 1: Read Only (Analyzers)
|
|
98
|
+
|
|
99
|
+
**Use for**: Scanners, reviewers, auditors, monitors
|
|
100
|
+
|
|
101
|
+
```yaml
|
|
102
|
+
access:
|
|
103
|
+
tier: tier_1_read
|
|
104
|
+
permissions:
|
|
105
|
+
- read_code
|
|
106
|
+
- read_configs
|
|
107
|
+
- read_logs
|
|
108
|
+
- execute_queries
|
|
109
|
+
prohibited:
|
|
110
|
+
- write_*
|
|
111
|
+
- delete_*
|
|
112
|
+
- execute_commands
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
**Examples**: Security scanners, code critics, compliance auditors
|
|
116
|
+
|
|
117
|
+
### Tier 2: Write Limited (Workers)
|
|
118
|
+
|
|
119
|
+
**Use for**: Doc generators, test writers, scaffolders
|
|
120
|
+
|
|
121
|
+
```yaml
|
|
122
|
+
access:
|
|
123
|
+
tier: tier_2_write_limited
|
|
124
|
+
permissions:
|
|
125
|
+
- read_*
|
|
126
|
+
- write_docs
|
|
127
|
+
- write_tests
|
|
128
|
+
- write_scaffolds
|
|
129
|
+
- create_issues
|
|
130
|
+
- create_mrs_draft
|
|
131
|
+
prohibited:
|
|
132
|
+
- write_production_code
|
|
133
|
+
- merge_mrs
|
|
134
|
+
- modify_infrastructure
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
**Examples**: Documentation generators, test generators, module scaffolders
|
|
138
|
+
|
|
139
|
+
### Tier 3: Write Elevated (Operators)
|
|
140
|
+
|
|
141
|
+
**Use for**: Deployers, infrastructure operators, incident responders
|
|
142
|
+
|
|
143
|
+
```yaml
|
|
144
|
+
access:
|
|
145
|
+
tier: tier_3_write_elevated
|
|
146
|
+
permissions:
|
|
147
|
+
- read_*
|
|
148
|
+
- write_*
|
|
149
|
+
- execute_deployments
|
|
150
|
+
- modify_pipelines
|
|
151
|
+
- merge_mrs # With approval
|
|
152
|
+
prohibited:
|
|
153
|
+
- delete_production
|
|
154
|
+
- modify_secrets_direct
|
|
155
|
+
- bypass_approvals
|
|
156
|
+
requires_approval: true
|
|
157
|
+
approval_chain: standard
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
**Examples**: Deployment agents, CI/CD operators, infrastructure managers
|
|
161
|
+
|
|
162
|
+
### Tier 4: Policy (Governors)
|
|
163
|
+
|
|
164
|
+
**Use for**: Policy definers, compliance governors
|
|
165
|
+
|
|
166
|
+
```yaml
|
|
167
|
+
access:
|
|
168
|
+
tier: tier_4_policy
|
|
169
|
+
permissions:
|
|
170
|
+
- read_*
|
|
171
|
+
- define_policies
|
|
172
|
+
- publish_policies
|
|
173
|
+
- audit_compliance
|
|
174
|
+
prohibited:
|
|
175
|
+
- execute_*
|
|
176
|
+
- write_code
|
|
177
|
+
- modify_infrastructure
|
|
178
|
+
isolation: strict
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
**Examples**: Compliance policy engines, security policy managers
|
|
182
|
+
|
|
183
|
+
---
|
|
184
|
+
|
|
185
|
+
## Separation of Duties Rules
|
|
186
|
+
|
|
187
|
+
### Critic-Executor Separation
|
|
188
|
+
|
|
189
|
+
Agents that review **cannot** also execute:
|
|
190
|
+
|
|
191
|
+
```yaml
|
|
192
|
+
separation:
|
|
193
|
+
role: reviewer
|
|
194
|
+
conflicts_with:
|
|
195
|
+
- executor
|
|
196
|
+
- approver
|
|
197
|
+
prohibited_actions:
|
|
198
|
+
- execute
|
|
199
|
+
- merge
|
|
200
|
+
- approve
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
### Governor-Executor Separation
|
|
204
|
+
|
|
205
|
+
Policy definers **cannot** execute:
|
|
206
|
+
|
|
207
|
+
```yaml
|
|
208
|
+
separation:
|
|
209
|
+
role: governor
|
|
210
|
+
conflicts_with:
|
|
211
|
+
- operator
|
|
212
|
+
- enforcer
|
|
213
|
+
prohibited_actions:
|
|
214
|
+
- execute
|
|
215
|
+
- remediate_direct
|
|
216
|
+
```
|
|
217
|
+
|
|
218
|
+
---
|
|
219
|
+
|
|
220
|
+
## Validation
|
|
221
|
+
|
|
222
|
+
### Validate v0.3.1 Manifest Against v0.3.2 Schema
|
|
223
|
+
|
|
224
|
+
```bash
|
|
225
|
+
# Using OSSA CLI
|
|
226
|
+
ossa validate agent.ossa.yaml
|
|
227
|
+
|
|
228
|
+
# Schema accepts both v0.3.1 and v0.3.2
|
|
229
|
+
```
|
|
230
|
+
|
|
231
|
+
### Validate Access Tier Configuration
|
|
232
|
+
|
|
233
|
+
```bash
|
|
234
|
+
# Check separation of duties
|
|
235
|
+
ossa validate agent.ossa.yaml --check-separation
|
|
236
|
+
|
|
237
|
+
# Audit tier violations
|
|
238
|
+
ossa audit --tier-violations
|
|
239
|
+
```
|
|
240
|
+
|
|
241
|
+
---
|
|
242
|
+
|
|
243
|
+
## Breaking Changes
|
|
244
|
+
|
|
245
|
+
**None** - v0.3.2 is fully backward compatible with v0.3.1.
|
|
246
|
+
|
|
247
|
+
### Deprecations
|
|
248
|
+
|
|
249
|
+
None in v0.3.2.
|
|
250
|
+
|
|
251
|
+
---
|
|
252
|
+
|
|
253
|
+
## Examples
|
|
254
|
+
|
|
255
|
+
See `spec/v0.3.2/examples/access-tiers/` for complete examples:
|
|
256
|
+
|
|
257
|
+
- `security-scanner.ossa.yaml` - Tier 1 (Read Only)
|
|
258
|
+
- `code-critic.ossa.yaml` - Tier 1 (Read Only)
|
|
259
|
+
- `doc-generator.ossa.yaml` - Tier 2 (Write Limited)
|
|
260
|
+
- `deployment-operator.ossa.yaml` - Tier 3 (Write Elevated)
|
|
261
|
+
- `compliance-governor.ossa.yaml` - Tier 4 (Policy)
|
|
262
|
+
|
|
263
|
+
---
|
|
264
|
+
|
|
265
|
+
## FAQ
|
|
266
|
+
|
|
267
|
+
### Do I need to migrate immediately?
|
|
268
|
+
|
|
269
|
+
**No**. v0.3.1 manifests continue to work. Migrate when you need access tier features.
|
|
270
|
+
|
|
271
|
+
### Can I mix v0.3.1 and v0.3.2 agents?
|
|
272
|
+
|
|
273
|
+
**Yes**. Both versions validate against v0.3.2 schema.
|
|
274
|
+
|
|
275
|
+
### What if I don't specify an access tier?
|
|
276
|
+
|
|
277
|
+
**Agents work without access tiers**. They're optional for backward compatibility.
|
|
278
|
+
|
|
279
|
+
### How do I choose the right tier?
|
|
280
|
+
|
|
281
|
+
See [Access Tier Selection Guide](#access-tier-selection-guide) above.
|
|
282
|
+
|
|
283
|
+
---
|
|
284
|
+
|
|
285
|
+
## Related Documentation
|
|
286
|
+
|
|
287
|
+
- [Access Tiers Specification](access_tiers.yaml)
|
|
288
|
+
- [Schema Reference](ossa-0.3.2.schema.json)
|
|
289
|
+
- [Examples](../examples/access-tiers/)
|
|
290
|
+
|
|
291
|
+
---
|
|
292
|
+
|
|
293
|
+
**Last Updated**: 2025-12-28
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
# OSSA v0.3.1 - Unified Agent Schema
|
|
2
|
+
|
|
3
|
+
## The Rocketship 🚀
|
|
4
|
+
|
|
5
|
+
This schema unifies OSSA, GitLab Duo, Google A2A, and MCP into a single universal agent platform.
|
|
6
|
+
|
|
7
|
+
### What Changed
|
|
8
|
+
|
|
9
|
+
**Before (v0.2.x):**
|
|
10
|
+
```yaml
|
|
11
|
+
llm:
|
|
12
|
+
provider: anthropic
|
|
13
|
+
model: claude-sonnet-4-20250514
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
**After (v0.3.1):**
|
|
17
|
+
```yaml
|
|
18
|
+
llm:
|
|
19
|
+
provider: ${LLM_PROVIDER:-anthropic}
|
|
20
|
+
model: ${LLM_MODEL:-claude-sonnet}
|
|
21
|
+
profile: ${LLM_PROFILE:-balanced}
|
|
22
|
+
fallback_models:
|
|
23
|
+
- provider: ${LLM_FALLBACK_PROVIDER_1:-openai}
|
|
24
|
+
model: ${LLM_FALLBACK_MODEL_1:-gpt-4o}
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
### Key Features
|
|
28
|
+
|
|
29
|
+
1. **Zero Hardcoded Models** - All LLM config is runtime-configurable
|
|
30
|
+
2. **Execution Profiles** - Google A2A compatible (fast/balanced/deep/safe)
|
|
31
|
+
3. **Multi-Runtime Support** - Works with Duo, A2A, OSSA, MCP
|
|
32
|
+
4. **Fallback Models** - Multi-provider resilience
|
|
33
|
+
5. **Structured Functions** - A2A/OpenAI function calling format
|
|
34
|
+
6. **Extensions** - Pluggable external behaviors
|
|
35
|
+
|
|
36
|
+
### Compatibility Matrix
|
|
37
|
+
|
|
38
|
+
| Feature | OSSA v0.2.x | Duo | A2A | v0.3.1 |
|
|
39
|
+
|---------|-------------|-----|-----|--------|
|
|
40
|
+
| Runtime-configurable models | ❌ | ❌ | ✅ | ✅ |
|
|
41
|
+
| Execution profiles | ❌ | ❌ | ✅ | ✅ |
|
|
42
|
+
| Multi-provider fallback | partial | ❌ | ✅ | ✅ |
|
|
43
|
+
| Structured functions | ❌ | partial | ✅ | ✅ |
|
|
44
|
+
| Extensions | partial | partial | ✅ | ✅ |
|
|
45
|
+
|
|
46
|
+
### Migration
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
# Auto-migrate all agents
|
|
50
|
+
./scripts/migrate-to-unified-llm.sh
|
|
51
|
+
|
|
52
|
+
# Generate new agent
|
|
53
|
+
./scripts/generate-agent.sh my-agent worker
|
|
54
|
+
|
|
55
|
+
# Validate
|
|
56
|
+
ossa validate examples/
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
### Environment Variables
|
|
60
|
+
|
|
61
|
+
```bash
|
|
62
|
+
# Primary LLM
|
|
63
|
+
export LLM_PROVIDER=anthropic
|
|
64
|
+
export LLM_MODEL=claude-sonnet-4
|
|
65
|
+
export LLM_PROFILE=balanced
|
|
66
|
+
|
|
67
|
+
# Fallbacks
|
|
68
|
+
export LLM_FALLBACK_PROVIDER_1=openai
|
|
69
|
+
export LLM_FALLBACK_MODEL_1=gpt-4o
|
|
70
|
+
|
|
71
|
+
# Runtime
|
|
72
|
+
export AGENT_RUNTIME=unified
|
|
73
|
+
export AGENT_SCHEDULING=fair
|
|
74
|
+
export AGENT_PRIORITY=normal
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
### Execution Profiles
|
|
78
|
+
|
|
79
|
+
- **fast** - Quick responses (4K tokens, temp=0.0)
|
|
80
|
+
- **balanced** - General ops (16K tokens, temp=0.1)
|
|
81
|
+
- **deep** - Analysis (32K tokens, temp=0.2, reasoning enabled)
|
|
82
|
+
- **safe** - Compliance (temp=0.0, validation required)
|
|
83
|
+
|
|
84
|
+
### CI Enforcement
|
|
85
|
+
|
|
86
|
+
Add to `.gitlab-ci.yml`:
|
|
87
|
+
|
|
88
|
+
```yaml
|
|
89
|
+
include:
|
|
90
|
+
- local: .gitlab/ci/validate-no-hardcoded-models.yml
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
This blocks any MR with hardcoded model names.
|
|
94
|
+
|
|
95
|
+
### Example Agent
|
|
96
|
+
|
|
97
|
+
See: `examples/unified/security-scanner.ossa.yaml`
|
|
98
|
+
|
|
99
|
+
### Schema Files
|
|
100
|
+
|
|
101
|
+
- `schemas/unified-llm.yaml` - LLM configuration
|
|
102
|
+
- `schemas/runtime.yaml` - Runtime declaration
|
|
103
|
+
- `schemas/capabilities.yaml` - Capability definitions
|
|
104
|
+
- `schemas/functions.yaml` - Function declarations
|
|
105
|
+
- `schemas/agent-unified.yaml` - Complete agent schema
|
|
106
|
+
|
|
107
|
+
### Why This Matters
|
|
108
|
+
|
|
109
|
+
1. **No More Breaking Changes** - Model updates don't require code changes
|
|
110
|
+
2. **Multi-Provider** - Switch between Anthropic/OpenAI/Google/Groq instantly
|
|
111
|
+
3. **Future-Proof** - New runtimes (A2A, Duo) work without modification
|
|
112
|
+
4. **Cost Optimization** - Use cheap models for triage, expensive for analysis
|
|
113
|
+
5. **Compliance** - Audit trail of which models were used when
|
|
114
|
+
|
|
115
|
+
### Next Steps
|
|
116
|
+
|
|
117
|
+
1. Run migration: `./scripts/migrate-to-unified-llm.sh`
|
|
118
|
+
2. Update CI: Add validation rule
|
|
119
|
+
3. Test: `ossa validate examples/`
|
|
120
|
+
4. Deploy: Agents auto-detect runtime
|