@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,62 @@
|
|
|
1
|
+
# ============================================================================
|
|
2
|
+
# OSSA Power Agent: Compliance Validator
|
|
3
|
+
# ============================================================================
|
|
4
|
+
# OSSA specification compliance validation agent. Validates agent manifests,
|
|
5
|
+
# ensures schema compliance, and enforces organizational policies.
|
|
6
|
+
#
|
|
7
|
+
# Showcases: Contract validation, schema enforcement, policy DSL
|
|
8
|
+
# ============================================================================
|
|
9
|
+
|
|
10
|
+
apiVersion: ossa/v0.3.2
|
|
11
|
+
kind: Agent
|
|
12
|
+
metadata:
|
|
13
|
+
name: compliance-validator
|
|
14
|
+
version: 1.0.0
|
|
15
|
+
description: OSSA compliance validation and policy enforcement agent
|
|
16
|
+
labels:
|
|
17
|
+
ossa.dev/category: compliance
|
|
18
|
+
ossa.dev/tier: power-agent
|
|
19
|
+
annotations:
|
|
20
|
+
ossa.dev/documentation: https://openstandardagents.org/agents/compliance-validator
|
|
21
|
+
|
|
22
|
+
spec:
|
|
23
|
+
capabilities:
|
|
24
|
+
- type: function
|
|
25
|
+
name: validate.manifest
|
|
26
|
+
description: Validate OSSA manifest against schema
|
|
27
|
+
- type: function
|
|
28
|
+
name: validate.contract
|
|
29
|
+
description: Validate agent contracts
|
|
30
|
+
- type: function
|
|
31
|
+
name: validate.policy
|
|
32
|
+
description: Enforce organizational policies
|
|
33
|
+
- type: function
|
|
34
|
+
name: validate.migration
|
|
35
|
+
description: Validate migration compatibility
|
|
36
|
+
|
|
37
|
+
role: |
|
|
38
|
+
You are the OSSA compliance validator responsible for ensuring all agent
|
|
39
|
+
manifests comply with the OSSA specification and organizational policies.
|
|
40
|
+
|
|
41
|
+
Validation scope:
|
|
42
|
+
1. Schema Compliance - Validate against OSSA JSON Schema
|
|
43
|
+
2. Contract Validation - Verify input/output contracts
|
|
44
|
+
3. Policy Enforcement - Apply organizational policies
|
|
45
|
+
4. Migration Checks - Ensure backward compatibility
|
|
46
|
+
|
|
47
|
+
Report all violations with:
|
|
48
|
+
- Severity level (error, warning, info)
|
|
49
|
+
- Location in manifest
|
|
50
|
+
- Specific violation description
|
|
51
|
+
- Remediation guidance
|
|
52
|
+
|
|
53
|
+
llm:
|
|
54
|
+
provider: anthropic
|
|
55
|
+
model: claude-sonnet-4
|
|
56
|
+
temperature: 0.1 # Very low for consistent validation
|
|
57
|
+
maxTokens: 8192
|
|
58
|
+
|
|
59
|
+
tools:
|
|
60
|
+
- type: function
|
|
61
|
+
name: schema.validate
|
|
62
|
+
description: Validate manifest against JSON Schema
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
# ============================================================================
|
|
2
|
+
# OSSA Power Agent: Content Writer
|
|
3
|
+
# ============================================================================
|
|
4
|
+
# CMS content generation agent for Drupal and other content management systems.
|
|
5
|
+
# Handles content creation, translation, moderation, and SEO optimization.
|
|
6
|
+
#
|
|
7
|
+
# Showcases: Drupal extension, async processing (Messenger), ECA integration
|
|
8
|
+
# ============================================================================
|
|
9
|
+
|
|
10
|
+
apiVersion: ossa/v0.3.2
|
|
11
|
+
kind: Agent
|
|
12
|
+
metadata:
|
|
13
|
+
name: content-writer
|
|
14
|
+
version: 1.0.0
|
|
15
|
+
description: CMS content generation agent with Drupal integration
|
|
16
|
+
labels:
|
|
17
|
+
ossa.dev/category: content
|
|
18
|
+
ossa.dev/tier: power-agent
|
|
19
|
+
ossa.dev/runtime: drupal
|
|
20
|
+
annotations:
|
|
21
|
+
ossa.dev/documentation: https://openstandardagents.org/agents/content-writer
|
|
22
|
+
|
|
23
|
+
spec:
|
|
24
|
+
capabilities:
|
|
25
|
+
- type: function
|
|
26
|
+
name: content.create
|
|
27
|
+
description: Create CMS content entities
|
|
28
|
+
- type: function
|
|
29
|
+
name: content.translate
|
|
30
|
+
description: Translate content to multiple languages
|
|
31
|
+
- type: function
|
|
32
|
+
name: content.moderate
|
|
33
|
+
description: Review and moderate content
|
|
34
|
+
- type: function
|
|
35
|
+
name: content.optimize
|
|
36
|
+
description: Optimize content for SEO
|
|
37
|
+
|
|
38
|
+
role: |
|
|
39
|
+
You are a content writer agent specialized in CMS content generation.
|
|
40
|
+
You create high-quality articles, translate content, handle moderation
|
|
41
|
+
workflows, and optimize for SEO.
|
|
42
|
+
|
|
43
|
+
Content workflow:
|
|
44
|
+
1. Analyze content brief and target audience
|
|
45
|
+
2. Research topic and gather information
|
|
46
|
+
3. Generate structured content (headings, paragraphs, lists)
|
|
47
|
+
4. Optimize for SEO (meta, keywords, readability)
|
|
48
|
+
5. Select media assets
|
|
49
|
+
6. Submit for moderation or publish
|
|
50
|
+
|
|
51
|
+
Content guidelines:
|
|
52
|
+
- Write for the target audience's expertise level
|
|
53
|
+
- Use clear, scannable formatting
|
|
54
|
+
- Include relevant internal/external links
|
|
55
|
+
- Optimize images with alt text
|
|
56
|
+
- Follow brand voice guidelines
|
|
57
|
+
|
|
58
|
+
llm:
|
|
59
|
+
provider: anthropic
|
|
60
|
+
model: claude-sonnet-4
|
|
61
|
+
temperature: 0.7
|
|
62
|
+
maxTokens: 8192
|
|
63
|
+
|
|
64
|
+
tools:
|
|
65
|
+
- type: function
|
|
66
|
+
name: drupal.node.create
|
|
67
|
+
description: Create Drupal content node
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# ============================================================================
|
|
2
|
+
# OSSA Power Agent: Data Transformer
|
|
3
|
+
# ============================================================================
|
|
4
|
+
# Data pipeline and transformation agent for ETL operations, format
|
|
5
|
+
# conversion, validation, and data quality checks.
|
|
6
|
+
#
|
|
7
|
+
# Showcases: Task kind (deterministic), batch processing, data contracts
|
|
8
|
+
# ============================================================================
|
|
9
|
+
|
|
10
|
+
apiVersion: ossa/v0.3.2
|
|
11
|
+
kind: Task
|
|
12
|
+
metadata:
|
|
13
|
+
name: data-transformer
|
|
14
|
+
version: 1.0.0
|
|
15
|
+
description: Data transformation and ETL pipeline agent
|
|
16
|
+
labels:
|
|
17
|
+
ossa.dev/category: data
|
|
18
|
+
ossa.dev/tier: power-agent
|
|
19
|
+
ossa.dev/execution: deterministic
|
|
20
|
+
annotations:
|
|
21
|
+
ossa.dev/documentation: https://openstandardagents.org/agents/data-transformer
|
|
22
|
+
|
|
23
|
+
spec:
|
|
24
|
+
# Task-specific execution configuration
|
|
25
|
+
execution:
|
|
26
|
+
type: deterministic
|
|
27
|
+
runtime: any # Can run on any runtime
|
|
28
|
+
batch:
|
|
29
|
+
enabled: true
|
|
30
|
+
parallelism: 10
|
|
31
|
+
chunk_size: 1000
|
|
32
|
+
retry:
|
|
33
|
+
max_attempts: 3
|
|
34
|
+
backoff: exponential
|
|
35
|
+
|
|
36
|
+
capabilities:
|
|
37
|
+
- type: function
|
|
38
|
+
name: data.extract
|
|
39
|
+
description: Extract data from various sources
|
|
40
|
+
- type: function
|
|
41
|
+
name: data.transform
|
|
42
|
+
description: Transform data between formats
|
|
43
|
+
- type: function
|
|
44
|
+
name: data.validate
|
|
45
|
+
description: Validate data against schemas
|
|
46
|
+
- type: function
|
|
47
|
+
name: data.load
|
|
48
|
+
description: Load data to destination
|
|
49
|
+
|
|
50
|
+
role: |
|
|
51
|
+
You are a data transformation specialist responsible for ETL pipelines,
|
|
52
|
+
format conversion, and data quality validation.
|
|
53
|
+
|
|
54
|
+
ETL workflow:
|
|
55
|
+
1. Extract - Read from sources (API, database, files)
|
|
56
|
+
2. Transform - Convert, clean, normalize, enrich
|
|
57
|
+
3. Validate - Check against schemas, business rules
|
|
58
|
+
4. Load - Write to destination systems
|
|
59
|
+
|
|
60
|
+
Data quality checks:
|
|
61
|
+
- Schema compliance
|
|
62
|
+
- Null/empty value detection
|
|
63
|
+
- Type validation
|
|
64
|
+
- Range/boundary checks
|
|
65
|
+
- Referential integrity
|
|
66
|
+
- Duplicate detection
|
|
67
|
+
|
|
68
|
+
# Note: Tasks may not need LLM for deterministic operations
|
|
69
|
+
llm:
|
|
70
|
+
provider: anthropic
|
|
71
|
+
model: ${OSSA_LLM_MODEL:-claude-haiku-3-5} # Faster model for data tasks
|
|
72
|
+
temperature: 0.0 # Deterministic
|
|
73
|
+
maxTokens: 4096
|
|
74
|
+
|
|
75
|
+
tools:
|
|
76
|
+
- type: function
|
|
77
|
+
name: data.read.json
|
|
78
|
+
description: Read JSON data
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# ============================================================================
|
|
2
|
+
# OSSA Power Agent: Doc Generator
|
|
3
|
+
# ============================================================================
|
|
4
|
+
# Documentation generation agent for API docs, READMEs, changelogs,
|
|
5
|
+
# and technical documentation.
|
|
6
|
+
#
|
|
7
|
+
# Showcases: Multi-provider LLM, template system
|
|
8
|
+
# ============================================================================
|
|
9
|
+
|
|
10
|
+
apiVersion: ossa/v0.3.2
|
|
11
|
+
kind: Agent
|
|
12
|
+
metadata:
|
|
13
|
+
name: doc-generator
|
|
14
|
+
version: 1.0.0
|
|
15
|
+
description: Automated documentation generation agent
|
|
16
|
+
labels:
|
|
17
|
+
ossa.dev/category: documentation
|
|
18
|
+
ossa.dev/tier: power-agent
|
|
19
|
+
annotations:
|
|
20
|
+
ossa.dev/documentation: https://openstandardagents.org/agents/doc-generator
|
|
21
|
+
|
|
22
|
+
spec:
|
|
23
|
+
capabilities:
|
|
24
|
+
- type: function
|
|
25
|
+
name: docs.api
|
|
26
|
+
description: Generate API documentation from code
|
|
27
|
+
- type: function
|
|
28
|
+
name: docs.readme
|
|
29
|
+
description: Generate or update README files
|
|
30
|
+
- type: function
|
|
31
|
+
name: docs.changelog
|
|
32
|
+
description: Generate changelog from commits
|
|
33
|
+
- type: function
|
|
34
|
+
name: docs.technical
|
|
35
|
+
description: Generate technical documentation
|
|
36
|
+
|
|
37
|
+
role: |
|
|
38
|
+
You are a technical documentation specialist responsible for generating
|
|
39
|
+
and maintaining project documentation.
|
|
40
|
+
|
|
41
|
+
Documentation types:
|
|
42
|
+
1. API Documentation - Generate from code, OpenAPI specs, or schemas
|
|
43
|
+
2. README - Project overview, installation, usage, examples
|
|
44
|
+
3. Changelog - Semantic versioning, conventional commits
|
|
45
|
+
4. Technical Docs - Architecture, design decisions, guides
|
|
46
|
+
|
|
47
|
+
Always:
|
|
48
|
+
- Use clear, concise language
|
|
49
|
+
- Include code examples where appropriate
|
|
50
|
+
- Follow project documentation conventions
|
|
51
|
+
- Keep documentation in sync with code
|
|
52
|
+
|
|
53
|
+
llm:
|
|
54
|
+
provider: anthropic
|
|
55
|
+
model: claude-sonnet-4
|
|
56
|
+
temperature: 0.5
|
|
57
|
+
maxTokens: 16384
|
|
58
|
+
# Fallback providers for high availability
|
|
59
|
+
fallback:
|
|
60
|
+
- provider: openai
|
|
61
|
+
model: gpt-4o
|
|
62
|
+
- provider: google
|
|
63
|
+
model: gemini-2.0-flash
|
|
64
|
+
|
|
65
|
+
tools:
|
|
66
|
+
- type: function
|
|
67
|
+
name: code.analyze
|
|
68
|
+
description: Analyze code structure for documentation
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# ============================================================================
|
|
2
|
+
# OSSA Power Agent: Security Scanner
|
|
3
|
+
# ============================================================================
|
|
4
|
+
# Comprehensive security analysis agent with vulnerability scanning,
|
|
5
|
+
# dependency audit, secret detection, and compliance checking.
|
|
6
|
+
#
|
|
7
|
+
# Showcases: Safety policies, constraints, access tiers
|
|
8
|
+
# ============================================================================
|
|
9
|
+
|
|
10
|
+
apiVersion: ossa/v0.3.2
|
|
11
|
+
kind: Agent
|
|
12
|
+
metadata:
|
|
13
|
+
name: security-scanner
|
|
14
|
+
version: 1.0.0
|
|
15
|
+
description: Security analysis agent with vulnerability and compliance scanning
|
|
16
|
+
labels:
|
|
17
|
+
ossa.dev/category: security
|
|
18
|
+
ossa.dev/tier: power-agent
|
|
19
|
+
ossa.dev/access-tier: elevated
|
|
20
|
+
annotations:
|
|
21
|
+
ossa.dev/documentation: https://openstandardagents.org/agents/security-scanner
|
|
22
|
+
|
|
23
|
+
spec:
|
|
24
|
+
capabilities:
|
|
25
|
+
- type: function
|
|
26
|
+
name: security.scan
|
|
27
|
+
description: Scan codebase for security vulnerabilities
|
|
28
|
+
- type: function
|
|
29
|
+
name: security.audit
|
|
30
|
+
description: Audit dependencies for known CVEs
|
|
31
|
+
- type: function
|
|
32
|
+
name: security.secrets
|
|
33
|
+
description: Detect exposed secrets and credentials
|
|
34
|
+
- type: function
|
|
35
|
+
name: security.compliance
|
|
36
|
+
description: Check compliance against security policies
|
|
37
|
+
|
|
38
|
+
role: |
|
|
39
|
+
You are a security specialist agent responsible for identifying vulnerabilities,
|
|
40
|
+
auditing dependencies, detecting secrets, and ensuring compliance with security
|
|
41
|
+
policies.
|
|
42
|
+
|
|
43
|
+
Security scanning process:
|
|
44
|
+
1. Static analysis for common vulnerability patterns (OWASP Top 10)
|
|
45
|
+
2. Dependency vulnerability scanning (CVE database)
|
|
46
|
+
3. Secret detection (API keys, tokens, credentials)
|
|
47
|
+
4. Configuration security review
|
|
48
|
+
5. Compliance policy validation
|
|
49
|
+
|
|
50
|
+
Always provide:
|
|
51
|
+
- Severity classification (Critical, High, Medium, Low)
|
|
52
|
+
- Affected file and line number
|
|
53
|
+
- Remediation guidance
|
|
54
|
+
- References to CVEs or security advisories
|
|
55
|
+
|
|
56
|
+
llm:
|
|
57
|
+
provider: anthropic
|
|
58
|
+
model: claude-sonnet-4
|
|
59
|
+
temperature: 0.1 # Low temperature for consistent security analysis
|
|
60
|
+
maxTokens: 16384
|
|
61
|
+
|
|
62
|
+
tools:
|
|
63
|
+
- type: function
|
|
64
|
+
name: scan.sast
|
|
65
|
+
description: Run static application security testing
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# ============================================================================
|
|
2
|
+
# OSSA Power Agent: Test Generator
|
|
3
|
+
# ============================================================================
|
|
4
|
+
# Automated test generation agent for unit tests, integration tests,
|
|
5
|
+
# and test fixtures based on code analysis.
|
|
6
|
+
#
|
|
7
|
+
# Showcases: Code analysis tools, multi-language support
|
|
8
|
+
# ============================================================================
|
|
9
|
+
|
|
10
|
+
apiVersion: ossa/v0.3.2
|
|
11
|
+
kind: Agent
|
|
12
|
+
metadata:
|
|
13
|
+
name: test-generator
|
|
14
|
+
version: 1.0.0
|
|
15
|
+
description: Automated test generation agent
|
|
16
|
+
labels:
|
|
17
|
+
ossa.dev/category: testing
|
|
18
|
+
ossa.dev/tier: power-agent
|
|
19
|
+
annotations:
|
|
20
|
+
ossa.dev/documentation: https://openstandardagents.org/agents/test-generator
|
|
21
|
+
|
|
22
|
+
spec:
|
|
23
|
+
capabilities:
|
|
24
|
+
- type: function
|
|
25
|
+
name: test.unit
|
|
26
|
+
description: Generate unit tests
|
|
27
|
+
- type: function
|
|
28
|
+
name: test.integration
|
|
29
|
+
description: Generate integration tests
|
|
30
|
+
- type: function
|
|
31
|
+
name: test.fixtures
|
|
32
|
+
description: Generate test fixtures and mocks
|
|
33
|
+
- type: function
|
|
34
|
+
name: test.coverage
|
|
35
|
+
description: Analyze and improve test coverage
|
|
36
|
+
|
|
37
|
+
role: |
|
|
38
|
+
You are a test generation specialist responsible for creating comprehensive
|
|
39
|
+
test suites for codebases.
|
|
40
|
+
|
|
41
|
+
Test generation process:
|
|
42
|
+
1. Analyze code structure and dependencies
|
|
43
|
+
2. Identify testable units (functions, classes, modules)
|
|
44
|
+
3. Generate test cases covering:
|
|
45
|
+
- Happy path scenarios
|
|
46
|
+
- Edge cases
|
|
47
|
+
- Error handling
|
|
48
|
+
- Boundary conditions
|
|
49
|
+
4. Create test fixtures and mocks
|
|
50
|
+
5. Ensure proper test isolation
|
|
51
|
+
|
|
52
|
+
Test quality standards:
|
|
53
|
+
- Descriptive test names (should_X_when_Y)
|
|
54
|
+
- Arrange-Act-Assert pattern
|
|
55
|
+
- One assertion per test (where practical)
|
|
56
|
+
- Independent tests (no shared state)
|
|
57
|
+
- Fast execution
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
tools:
|
|
61
|
+
- type: function
|
|
62
|
+
name: code.parse
|
|
63
|
+
description: Parse code into AST
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
# ============================================================================
|
|
2
|
+
# OSSA Power Agent: Workflow Orchestrator
|
|
3
|
+
# ============================================================================
|
|
4
|
+
# Multi-agent workflow orchestration agent. Coordinates complex workflows
|
|
5
|
+
# involving multiple agents with routing, state management, and composition.
|
|
6
|
+
#
|
|
7
|
+
# Showcases: Workflow kind, agent-to-agent communication, composition
|
|
8
|
+
# ============================================================================
|
|
9
|
+
|
|
10
|
+
apiVersion: ossa/v0.3.2
|
|
11
|
+
kind: Workflow
|
|
12
|
+
metadata:
|
|
13
|
+
name: workflow-orchestrator
|
|
14
|
+
version: 1.0.0
|
|
15
|
+
description: Multi-agent workflow orchestration and coordination
|
|
16
|
+
labels:
|
|
17
|
+
ossa.dev/category: orchestration
|
|
18
|
+
ossa.dev/tier: power-agent
|
|
19
|
+
annotations:
|
|
20
|
+
ossa.dev/documentation: https://openstandardagents.org/agents/workflow-orchestrator
|
|
21
|
+
|
|
22
|
+
spec:
|
|
23
|
+
# Workflow-specific configuration
|
|
24
|
+
execution:
|
|
25
|
+
type: orchestrated
|
|
26
|
+
parallelism: 5
|
|
27
|
+
timeout: 3600s
|
|
28
|
+
|
|
29
|
+
capabilities:
|
|
30
|
+
- type: function
|
|
31
|
+
name: workflow.create
|
|
32
|
+
description: Create and configure workflows
|
|
33
|
+
- type: function
|
|
34
|
+
name: workflow.execute
|
|
35
|
+
description: Execute multi-agent workflows
|
|
36
|
+
- type: function
|
|
37
|
+
name: workflow.monitor
|
|
38
|
+
description: Monitor workflow execution status
|
|
39
|
+
- type: function
|
|
40
|
+
name: workflow.route
|
|
41
|
+
description: Route tasks to appropriate agents
|
|
42
|
+
|
|
43
|
+
role: |
|
|
44
|
+
You are the workflow orchestrator responsible for coordinating complex
|
|
45
|
+
multi-agent workflows. You manage task routing, state persistence,
|
|
46
|
+
and agent-to-agent communication.
|
|
47
|
+
|
|
48
|
+
Orchestration patterns:
|
|
49
|
+
1. Sequential - Execute agents in order
|
|
50
|
+
2. Parallel - Execute multiple agents concurrently
|
|
51
|
+
3. Conditional - Route based on conditions
|
|
52
|
+
4. Fan-out/Fan-in - Distribute and aggregate
|
|
53
|
+
5. Human-in-the-loop - Pause for human approval
|
|
54
|
+
|
|
55
|
+
llm:
|
|
56
|
+
provider: anthropic
|
|
57
|
+
model: claude-sonnet-4
|
|
58
|
+
temperature: 0.2
|
|
59
|
+
maxTokens: 8192
|
|
60
|
+
|
|
61
|
+
# Agent composition
|
|
62
|
+
agents:
|
|
63
|
+
- ref: code-reviewer
|
|
64
|
+
alias: reviewer
|
|
65
|
+
on_complete: security-scanner
|
|
66
|
+
|
|
67
|
+
- ref: security-scanner
|
|
68
|
+
alias: security
|
|
69
|
+
on_complete: ci-pipeline
|
|
70
|
+
|
|
71
|
+
- ref: ci-pipeline
|
|
72
|
+
alias: pipeline
|
|
73
|
+
condition: security.result.passed == true
|
|
74
|
+
|
|
75
|
+
# Workflow steps
|
|
76
|
+
steps:
|
|
77
|
+
- id: review
|
|
78
|
+
agent: reviewer
|
|
79
|
+
input:
|
|
80
|
+
mr_iid: ${input.mr_iid}
|
|
81
|
+
project_id: ${input.project_id}
|
|
82
|
+
|
|
83
|
+
- id: security
|
|
84
|
+
agent: security
|
|
85
|
+
depends_on: [review]
|
|
86
|
+
condition: review.status == "approved"
|
|
87
|
+
input:
|
|
88
|
+
paths: ${input.changed_files}
|
|
89
|
+
|
|
90
|
+
- id: deploy
|
|
91
|
+
agent: pipeline
|
|
92
|
+
depends_on: [security]
|
|
93
|
+
condition: security.passed == true
|
|
94
|
+
input:
|
|
95
|
+
action: deploy
|
|
96
|
+
environment: ${input.environment}
|
|
97
|
+
|
|
98
|
+
# State management
|
|
99
|
+
state:
|
|
100
|
+
persistence: redis
|
|
101
|
+
ttl: 86400
|
|
102
|
+
schema:
|
|
103
|
+
type: object
|
|
104
|
+
properties:
|
|
105
|
+
current_step:
|
|
106
|
+
type: string
|
|
107
|
+
completed_steps:
|
|
108
|
+
type: array
|
|
109
|
+
results:
|
|
110
|
+
type: object
|
|
111
|
+
|
|
112
|
+
# Messaging for agent coordination
|
|
113
|
+
messaging:
|
|
114
|
+
transport: redis
|
|
115
|
+
queues:
|
|
116
|
+
- name: workflow-events
|
|
117
|
+
description: Workflow lifecycle events
|
|
118
|
+
- name: agent-results
|
|
119
|
+
description: Agent execution results
|
|
120
|
+
events:
|
|
121
|
+
publish:
|
|
122
|
+
- workflow.started
|
|
123
|
+
- workflow.completed
|
|
124
|
+
- workflow.failed
|
|
125
|
+
- step.completed
|
|
126
|
+
subscribe:
|
|
127
|
+
- agent.completed
|
|
128
|
+
- agent.failed
|
|
129
|
+
- human.approved
|