@bluefly/openstandardagents 0.4.6 → 0.4.8
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/.version.json +3 -3
- package/CHANGELOG.md +16 -0
- package/README.md +1 -0
- package/dist/.version.json +3 -3
- package/dist/adapters/mcp/converter.js +4 -3
- package/dist/adapters/npm/adapter.js +2 -1
- package/dist/adapters/openai-agents/adapter.js +1 -1
- package/dist/cli/commands/config.command.d.ts +7 -0
- package/dist/cli/commands/config.command.js +92 -0
- package/dist/cli/commands/migrate.command.js +1 -1
- package/dist/cli/commands/sign.command.d.ts +3 -0
- package/dist/cli/commands/sign.command.js +42 -0
- package/dist/cli/commands/skills.command.js +4 -6
- package/dist/config/cli-config.d.ts +33 -0
- package/dist/config/cli-config.js +107 -0
- package/dist/mcp-server/index.js +0 -0
- package/dist/package.json +8 -9
- package/dist/services/governance/cedar-provider.js +2 -1
- package/dist/services/release-automation/base-crud.service.d.ts +93 -0
- package/dist/services/release-automation/base-crud.service.js +68 -0
- package/dist/services/release-automation/generate-changelog.d.ts +7 -0
- package/dist/services/release-automation/generate-changelog.js +288 -0
- package/dist/services/release-automation/increment-dev-tag.d.ts +7 -0
- package/dist/services/release-automation/increment-dev-tag.js +160 -0
- package/dist/services/release-automation/index.d.ts +12 -0
- package/dist/services/release-automation/index.js +12 -0
- package/dist/services/release-automation/merge-request.service.d.ts +119 -0
- package/dist/services/release-automation/merge-request.service.js +212 -0
- package/dist/services/release-automation/milestone.service.d.ts +104 -0
- package/dist/services/release-automation/milestone.service.js +207 -0
- package/dist/services/release-automation/release-agent.service.d.ts +39 -0
- package/dist/services/release-automation/release-agent.service.js +43 -0
- package/dist/services/release-automation/release-buttons.d.ts +7 -0
- package/dist/services/release-automation/release-buttons.js +207 -0
- package/dist/services/release-automation/release.service.d.ts +118 -0
- package/dist/services/release-automation/release.service.js +207 -0
- package/dist/services/release-automation/schemas/release.schema.d.ts +299 -0
- package/dist/services/release-automation/schemas/release.schema.js +272 -0
- package/dist/services/release-automation/tag.service.d.ts +99 -0
- package/dist/services/release-automation/tag.service.js +183 -0
- package/dist/services/release-automation/webhook.service.d.ts +37 -0
- package/dist/services/release-automation/webhook.service.js +187 -0
- package/dist/skills/test-skill/README.md +36 -0
- package/dist/skills/test-skill/SKILL.md +31 -0
- package/dist/skills/test-skill/index.d.ts +31 -0
- package/dist/skills/test-skill/install.js +44 -0
- package/dist/skills/test-skill/package.json +36 -0
- package/dist/spec/reference/reference-agents/compliance-auditor/manifest.ossa.yaml +1 -1
- package/dist/spec/reference/reference-agents/doc-agent/manifest.ossa.yaml +1 -1
- package/dist/spec/reference/reference-agents/mr-reviewer/manifest.ossa.yaml +1 -1
- package/dist/spec/reference/reference-agents/ossa-validator-v0.3/manifest.ossa.yaml +1 -1
- package/dist/spec/reference/reference-agents/pipeline-fixer/manifest.ossa.yaml +1 -1
- package/dist/spec/reference/reference-agents/release-orchestrator/manifest.ossa.yaml +1 -1
- package/dist/spec/uadp/README.md +393 -0
- package/dist/spec/uadp/openapi.yaml +387 -0
- package/dist/spec/uadp/schemas/uadp-agents-response.schema.json +68 -0
- package/dist/spec/uadp/schemas/uadp-federation-response.schema.json +46 -0
- package/dist/spec/uadp/schemas/uadp-manifest.schema.json +82 -0
- package/dist/spec/uadp/schemas/uadp-skills-response.schema.json +72 -0
- package/dist/spec/v0.4/agent-card.schema.json +1 -1
- package/dist/spec/v0.4/agent.schema.json +15 -15
- package/dist/spec/v0.4/extensions/a2a/a2a.schema.json +1 -1
- package/dist/spec/v0.4/extensions/ag2/ag2.schema.json +1 -1
- package/dist/spec/v0.4/extensions/crewai/crewai.schema.json +1 -1
- package/dist/spec/v0.4/extensions/kagent/kagent.schema.json +1 -1
- package/dist/spec/v0.4/extensions/langchain/langchain.schema.json +1 -1
- package/dist/spec/v0.4/extensions/langgraph/langgraph.schema.json +1 -1
- package/dist/spec/v0.4/extensions/mcp/mcp.schema.json +1 -1
- package/dist/spec/v0.5/agent-card.schema.json +477 -0
- package/dist/spec/v0.5/agent.schema.json +1556 -0
- package/dist/spec/v0.5/conformance/profiles/baseline.json +19 -0
- package/dist/spec/v0.5/conformance/profiles/enterprise.json +20 -0
- package/dist/spec/v0.5/extensions/a2a/README.md +193 -0
- package/dist/spec/v0.5/extensions/a2a/a2a.schema.json +77 -0
- package/dist/spec/v0.5/extensions/ag2/ag2.schema.json +277 -0
- package/dist/spec/v0.5/extensions/cognition/cognition.schema.json +94 -0
- package/dist/spec/v0.5/extensions/cognition/thought-node.schema.json +80 -0
- package/dist/spec/v0.5/extensions/crewai/crewai.schema.json +256 -0
- package/dist/spec/v0.5/extensions/drupal/drupal.schema.json +318 -0
- package/dist/spec/v0.5/extensions/evals/evals.schema.json +597 -0
- package/dist/spec/v0.5/extensions/governance/governance-extension.yaml +161 -0
- package/dist/spec/v0.5/extensions/identity/identity.schema.json +302 -0
- package/dist/spec/v0.5/extensions/kagent/README.md +315 -0
- package/dist/spec/v0.5/extensions/kagent/kagent.schema.json +624 -0
- package/dist/spec/v0.5/extensions/langchain/langchain.schema.json +243 -0
- package/dist/spec/v0.5/extensions/langgraph/langgraph.schema.json +211 -0
- package/dist/spec/v0.5/extensions/mcp/README.md +276 -0
- package/dist/spec/v0.5/extensions/mcp/mcp.schema.json +84 -0
- package/dist/spec/v0.5/extensions/memory/memory.schema.json +7 -0
- package/dist/spec/v0.5/extensions/team/team.schema.json +304 -0
- package/dist/spec/v0.5/extensions/token-efficiency/token-efficiency.schema.json +47 -0
- package/dist/spec/v0.5/mcp.schema.json +1 -0
- package/dist/spec/v0.5/skill.schema.json +1 -0
- package/dist/spec/v0.5/validator.schema.json +282 -0
- package/dist/validation/error-codes.js +1 -1
- package/examples/a2a/agent-handoff.ossa.yaml +1 -1
- package/examples/a2a/service-discovery.ossa.yaml +1 -1
- 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/agent-taxonomy-example.ossa.yaml +1 -1
- package/examples/agents/01-customer-support-bot/agent.ossa.yaml +1 -1
- package/examples/agents/02-code-review-agent/agent.ossa.yaml +1 -1
- package/examples/agents/03-data-analysis-agent/agent.ossa.yaml +1 -1
- package/examples/agents/04-content-moderator/agent.ossa.yaml +1 -1
- package/examples/agents/05-sales-assistant/agent.ossa.yaml +1 -1
- package/examples/agents/06-devops-agent/agent.ossa.yaml +1 -1
- package/examples/agents/07-research-assistant/agent.ossa.yaml +1 -1
- package/examples/agents/08-email-triage-agent/agent.ossa.yaml +1 -1
- package/examples/agents/09-security-scanner/agent.ossa.yaml +1 -1
- package/examples/agents/10-meeting-assistant/agent.ossa.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/monorepo-agent.ossa.yaml +1 -1
- package/examples/agentscope/react-assistant/README.md +111 -0
- package/examples/agentscope/react-assistant/agent.ossa.yaml +132 -0
- package/examples/agentscope/react-assistant/skills/code-analysis/SKILL.md +18 -0
- package/examples/agentscope/react-assistant/skills/question-answering/SKILL.md +18 -0
- package/examples/autonomous-evolution/self-evolving-agent.ossa.yaml +1 -1
- package/examples/bridges/.gitlab-ci.yml +2 -2
- package/examples/build-once-use-everywhere/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/drupal/QUICKSTART.md +17 -3
- package/examples/drupal/ai_agents_agentscope/README.md +62 -0
- package/examples/drupal/ai_agents_agentscope/ai_agents_agentscope.info.yml +13 -0
- package/examples/drupal/ai_agents_agentscope/ai_agents_agentscope.services.yml +4 -0
- package/examples/drupal/ai_agents_agentscope/config/install/ai_agents_agentscope.settings.yml +3 -0
- package/examples/drupal/ai_agents_agentscope/config/schema/ai_agents_agentscope.schema.yml +14 -0
- package/examples/drupal/ai_agents_agentscope/src/AgentScopeRuntime.php +11 -0
- package/examples/drupal/ai_agents_agentscope/src/Plugin/AiAgent/AgentScopeAgent.php +10 -0
- package/examples/drupal/ai_agents_agentscope/src/Plugin/AiProvider/AgentScopeProvider.php +217 -0
- package/examples/drupal/ai_agents_agentscope/src/Plugin/Derivative/AgentScopeDeriver.php +10 -0
- package/examples/drupal/ai_agents_agentscope/src/Service/AgentScopeAdapter.php +9 -0
- package/examples/drupal/content-moderator.ossa.yaml +1 -1
- package/examples/drupal/gitlab-ml-recommender.ossa.yaml +1 -1
- package/examples/export/langchain/production-agent-with-memory/agent.ossa.yaml +1 -1
- package/examples/export/langchain/production-agent-with-tools/agent.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 +1 -1
- 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 +1 -1
- package/examples/getting-started/05-workflow-composition.ossa.yaml +1 -1
- package/examples/getting-started/hello-world-complete.ossa.yaml +1 -1
- package/examples/gitlab-agents/daily-code-scan/.gitlab-ci.yml +2 -2
- package/examples/gitlab-agents/duo-comment-responder/.gitlab-ci.yml +2 -2
- package/examples/gitlab-agents/mr-reviewer/.gitlab-ci.yml +2 -2
- package/examples/gitlab-agents/pipeline-auto-fix/.gitlab-ci.yml +2 -2
- package/examples/gitlab-agents/pre-commit-quality-check/.gitlab-ci.yml +2 -2
- package/examples/gitlab-agents/pre-push-validation/.gitlab-ci.yml +2 -2
- package/examples/hierarchical-agent.ossa.yaml +1 -1
- package/examples/infrastructure/token-rotation/manifest.ossa.yaml +1 -1
- package/examples/integration-patterns/agent-to-agent-orchestration.ossa.yaml +1 -1
- 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/knowledge-graph/drupal-agent-with-kg.ossa.yaml +1 -1
- package/examples/mcp/browser-puppeteer.ossa.yaml +1 -1
- package/examples/mcp/database-mcp.ossa.yaml +1 -1
- package/examples/mcp/filesystem-mcp.ossa.yaml +1 -1
- 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 +1 -1
- package/examples/messaging/security-scanner.ossa.yaml +1 -1
- package/examples/migration-guides/from-langchain-to-ossa.yaml +4 -4
- package/examples/migrations/langchain/01-python-react-agent-after.ossa.yaml +1 -1
- package/examples/migrations/langchain/02-typescript-conversational-after.ossa.yaml +1 -1
- package/examples/migrations/langchain/03-sequential-chain-after.ossa.yaml +1 -1
- package/examples/migrations/langchain/04-config-based-after.ossa.yaml +1 -1
- package/examples/migrations/swarm-to-ossa/after-handoffs.ossa.yaml +6 -6
- package/examples/migrations/swarm-to-ossa/after-triage-agent.ossa.yaml +3 -3
- package/examples/mr-reviewer-with-governance.ossa.yaml +1 -1
- 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/multi-agent-research-workflow.ossa.yaml +1 -1
- package/examples/multi-platform/single-manifest/agent.ossa.yaml +1 -1
- package/examples/observability/activity-stream-full.yaml +1 -1
- package/examples/openai/basic-agent.ossa.yaml +1 -1
- package/examples/ossa-templates/01-code-assistant.ossa.yaml +1 -1
- package/examples/ossa-templates/02-security-scanner.ossa.yaml +1 -1
- package/examples/ossa-templates/03-ci-pipeline.ossa.yaml +1 -1
- package/examples/ossa-templates/04-code-reviewer.ossa.yaml +1 -1
- package/examples/ossa-templates/05-doc-generator.ossa.yaml +1 -1
- package/examples/ossa-templates/06-compliance-validator.ossa.yaml +1 -1
- package/examples/ossa-templates/07-workflow-orchestrator.ossa.yaml +1 -1
- package/examples/ossa-templates/08-content-writer.ossa.yaml +1 -1
- package/examples/ossa-templates/09-test-generator.ossa.yaml +1 -1
- package/examples/ossa-templates/10-data-transformer.ossa.yaml +1 -1
- package/examples/ossa-templates/11-react-performance-expert.ossa.yaml +1 -1
- package/examples/ossa-templates/12-typescript-type-safety-expert.ossa.yaml +1 -1
- package/examples/ossa-templates/13-accessibility-champion.ossa.yaml +1 -1
- package/examples/ossa-templates/14-security-hardening-agent.ossa.yaml +1 -1
- package/examples/pipeline-agent.ossa.yaml +1 -1
- package/examples/production/document-analyzer-openai.yml +1 -1
- package/examples/production-ready/01-customer-support-bot/agent.ossa.yaml +1 -1
- package/examples/production-ready/02-code-review-agent/agent.ossa.yaml +1 -1
- package/examples/production-ready/03-data-analysis-agent/agent.ossa.yaml +1 -1
- package/examples/production-ready/04-content-moderator/agent.ossa.yaml +1 -1
- package/examples/production-ready/05-sales-assistant/agent.ossa.yaml +1 -1
- package/examples/production-ready/06-devops-agent/agent.ossa.yaml +1 -1
- package/examples/production-ready/07-research-assistant/agent.ossa.yaml +1 -1
- package/examples/production-ready/08-email-triage-agent/agent.ossa.yaml +1 -1
- package/examples/production-ready/09-security-scanner/agent.ossa.yaml +1 -1
- package/examples/production-ready/10-meeting-assistant/agent.ossa.yaml +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/registry/agents/code-reviewer/agent.yaml +1 -1
- package/examples/registry/agents/security-scanner/agent.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 +1 -1
- package/examples/showcase/code-assistant.ossa.yaml +1 -1
- package/examples/showcase/code-reviewer.ossa.yaml +1 -1
- package/examples/showcase/compliance-checker.ossa.yaml +1 -1
- package/examples/showcase/compliance-validator.ossa.yaml +1 -1
- package/examples/showcase/content-writer.ossa.yaml +1 -1
- package/examples/showcase/customer-support.ossa.yaml +1 -1
- package/examples/showcase/data-processing-pipeline.ossa.yaml +1 -1
- package/examples/showcase/data-transformer.ossa.yaml +1 -1
- package/examples/showcase/doc-generator.ossa.yaml +1 -1
- package/examples/showcase/full-power-agent.ossa.yaml +1 -1
- package/examples/showcase/security-scanner-enhanced.ossa.yaml +1 -1
- package/examples/showcase/security-scanner.ossa.yaml +1 -1
- package/examples/showcase/team-leader.ossa.yaml +1 -1
- package/examples/showcase/test-generator.ossa.yaml +1 -1
- package/examples/showcase/workflow-orchestrator.ossa.yaml +1 -1
- package/examples/skills-example.ossa.yaml +1 -1
- package/examples/swarm-agent.ossa.yaml +1 -1
- 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/team-agent.ossa.yaml +1 -1
- package/examples/templates/ossa-compliance.yaml +1 -1
- package/examples/unified/security-scanner.ossa.yaml +1 -1
- 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/package.json +6 -7
- package/spec/reference/reference-agents/compliance-auditor/manifest.ossa.yaml +1 -1
- package/spec/reference/reference-agents/doc-agent/manifest.ossa.yaml +1 -1
- package/spec/reference/reference-agents/mr-reviewer/manifest.ossa.yaml +1 -1
- package/spec/reference/reference-agents/ossa-validator-v0.3/manifest.ossa.yaml +1 -1
- package/spec/reference/reference-agents/pipeline-fixer/manifest.ossa.yaml +1 -1
- package/spec/reference/reference-agents/release-orchestrator/manifest.ossa.yaml +1 -1
- package/spec/v0.4/agent-card.schema.json +1 -1
- package/spec/v0.4/agent.schema.json +84 -15
- package/spec/v0.4/extensions/a2a/a2a.schema.json +1 -1
- package/spec/v0.4/extensions/ag2/ag2.schema.json +1 -1
- package/spec/v0.4/extensions/crewai/crewai.schema.json +1 -1
- package/spec/v0.4/extensions/kagent/kagent.schema.json +1 -1
- package/spec/v0.4/extensions/langchain/langchain.schema.json +1 -1
- package/spec/v0.4/extensions/langgraph/langgraph.schema.json +1 -1
- package/spec/v0.4/extensions/mcp/mcp.schema.json +1 -1
- package/templates/agent-types/claude-agent.ossa.yaml +1 -1
- package/templates/agent-types/kagent.ossa.yaml +1 -1
- package/templates/agent-types/langchain-agent.ossa.yaml +1 -1
- package/templates/agent-types/openapi-agent.ossa.yaml +1 -1
- package/templates/agent-types/swarm-agents.ossa.yaml +1 -1
- package/templates/ci-cd/gitlab-ci.deploy.yml +2 -2
- package/templates/validators/capability-compatibility.ossa.yaml +1 -1
- package/templates/validators/coordination-consistency.ossa.yaml +1 -1
- package/templates/validators/pattern-requirements.ossa.yaml +1 -1
- package/templates/validators/transport-compatibility.ossa.yaml +1 -1
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
# OSSA Agent Manifest Schema Extension - Governance
|
|
2
|
+
|
|
3
|
+
governance:
|
|
4
|
+
type: object
|
|
5
|
+
description: |
|
|
6
|
+
Governance configuration for agent authorization and quality gates.
|
|
7
|
+
|
|
8
|
+
Implementation-agnostic: any governance provider (Cedar, OPA, custom)
|
|
9
|
+
can consume this configuration.
|
|
10
|
+
|
|
11
|
+
properties:
|
|
12
|
+
authorization:
|
|
13
|
+
type: object
|
|
14
|
+
description: Authorization requirements for this agent
|
|
15
|
+
properties:
|
|
16
|
+
clearance_level:
|
|
17
|
+
type: integer
|
|
18
|
+
description: |
|
|
19
|
+
Required clearance level (0-5)
|
|
20
|
+
|
|
21
|
+
Levels:
|
|
22
|
+
- 0: Public access (read-only)
|
|
23
|
+
- 1: Junior agent (low-risk tools)
|
|
24
|
+
- 2: Standard agent (medium-risk tools)
|
|
25
|
+
- 3: Senior agent (high-risk tools)
|
|
26
|
+
- 4: Principal agent (critical tools)
|
|
27
|
+
- 5: System agent (unrestricted)
|
|
28
|
+
minimum: 0
|
|
29
|
+
maximum: 5
|
|
30
|
+
default: 1
|
|
31
|
+
|
|
32
|
+
tool_permissions:
|
|
33
|
+
type: array
|
|
34
|
+
description: Required tool access permissions
|
|
35
|
+
items:
|
|
36
|
+
type: object
|
|
37
|
+
required: [tool, risk_level]
|
|
38
|
+
properties:
|
|
39
|
+
tool:
|
|
40
|
+
type: string
|
|
41
|
+
description: Tool identifier (e.g., "gitlab_api", "llm_inference")
|
|
42
|
+
risk_level:
|
|
43
|
+
type: string
|
|
44
|
+
enum: [low, medium, high, critical]
|
|
45
|
+
description: |
|
|
46
|
+
Risk classification:
|
|
47
|
+
- low: Read-only, no side effects
|
|
48
|
+
- medium: Write operations, reversible
|
|
49
|
+
- high: Destructive operations, requires review
|
|
50
|
+
- critical: System-level, requires approval
|
|
51
|
+
requires_approval:
|
|
52
|
+
type: boolean
|
|
53
|
+
default: false
|
|
54
|
+
description: Requires human approval before execution
|
|
55
|
+
|
|
56
|
+
policy_references:
|
|
57
|
+
type: array
|
|
58
|
+
description: External policy IDs (implementation-specific)
|
|
59
|
+
items:
|
|
60
|
+
type: string
|
|
61
|
+
pattern: '^[a-zA-Z0-9-_]+$'
|
|
62
|
+
examples:
|
|
63
|
+
- agent-tool-001
|
|
64
|
+
- mr-review-policy
|
|
65
|
+
|
|
66
|
+
quality_requirements:
|
|
67
|
+
type: object
|
|
68
|
+
description: Quality metrics and thresholds for deployment gates
|
|
69
|
+
properties:
|
|
70
|
+
confidence_threshold:
|
|
71
|
+
type: integer
|
|
72
|
+
minimum: 0
|
|
73
|
+
maximum: 100
|
|
74
|
+
default: 70
|
|
75
|
+
description: |
|
|
76
|
+
Minimum confidence score required (percentage)
|
|
77
|
+
|
|
78
|
+
Recommended thresholds:
|
|
79
|
+
- Production: 90-95%
|
|
80
|
+
- Staging: 70-85%
|
|
81
|
+
- Development: 50-70%
|
|
82
|
+
|
|
83
|
+
test_coverage_threshold:
|
|
84
|
+
type: integer
|
|
85
|
+
minimum: 0
|
|
86
|
+
maximum: 100
|
|
87
|
+
default: 60
|
|
88
|
+
description: Minimum test coverage percentage
|
|
89
|
+
|
|
90
|
+
security_score_threshold:
|
|
91
|
+
type: integer
|
|
92
|
+
minimum: 0
|
|
93
|
+
maximum: 100
|
|
94
|
+
default: 70
|
|
95
|
+
description: Minimum security scan score
|
|
96
|
+
|
|
97
|
+
max_vulnerability_count:
|
|
98
|
+
type: integer
|
|
99
|
+
minimum: 0
|
|
100
|
+
default: 0
|
|
101
|
+
description: Maximum allowed vulnerabilities (production should be 0)
|
|
102
|
+
|
|
103
|
+
compliance:
|
|
104
|
+
type: object
|
|
105
|
+
description: Compliance and regulatory requirements
|
|
106
|
+
properties:
|
|
107
|
+
frameworks:
|
|
108
|
+
type: array
|
|
109
|
+
description: Required compliance frameworks
|
|
110
|
+
items:
|
|
111
|
+
type: string
|
|
112
|
+
enum: [SOC2, HIPAA, GDPR, PCI-DSS]
|
|
113
|
+
examples:
|
|
114
|
+
- SOC2
|
|
115
|
+
- HIPAA
|
|
116
|
+
|
|
117
|
+
data_classification:
|
|
118
|
+
type: string
|
|
119
|
+
enum: [public, internal, confidential, restricted]
|
|
120
|
+
default: internal
|
|
121
|
+
description: |
|
|
122
|
+
Data classification level:
|
|
123
|
+
- public: Publicly available data
|
|
124
|
+
- internal: Company-internal data
|
|
125
|
+
- confidential: Sensitive business data
|
|
126
|
+
- restricted: Highly sensitive (PII, PHI, PCI)
|
|
127
|
+
|
|
128
|
+
audit_logging_required:
|
|
129
|
+
type: boolean
|
|
130
|
+
default: false
|
|
131
|
+
description: Requires audit logging for all actions
|
|
132
|
+
|
|
133
|
+
# Example usage in agent manifest
|
|
134
|
+
example:
|
|
135
|
+
apiVersion: v0.4.1
|
|
136
|
+
kind: Agent
|
|
137
|
+
metadata:
|
|
138
|
+
name: mr-reviewer
|
|
139
|
+
spec:
|
|
140
|
+
governance:
|
|
141
|
+
authorization:
|
|
142
|
+
clearance_level: 2
|
|
143
|
+
tool_permissions:
|
|
144
|
+
- tool: gitlab_api
|
|
145
|
+
risk_level: medium
|
|
146
|
+
- tool: llm_inference
|
|
147
|
+
risk_level: low
|
|
148
|
+
policy_references:
|
|
149
|
+
- agent-tool-001
|
|
150
|
+
- mr-review-policy
|
|
151
|
+
|
|
152
|
+
quality_requirements:
|
|
153
|
+
confidence_threshold: 85
|
|
154
|
+
test_coverage_threshold: 80
|
|
155
|
+
security_score_threshold: 90
|
|
156
|
+
max_vulnerability_count: 0
|
|
157
|
+
|
|
158
|
+
compliance:
|
|
159
|
+
frameworks: [SOC2]
|
|
160
|
+
data_classification: internal
|
|
161
|
+
audit_logging_required: true
|
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "https://openstandardagents.org/schemas/v0.4/extensions/identity.json",
|
|
4
|
+
"title": "OSSA Identity Extension Schema (DID Document)",
|
|
5
|
+
"description": "Validates W3C DID Core-compliant identity documents for OSSA agents. Provides decentralized identity binding so agents can be cryptographically verified across platforms.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"required": ["@context", "id"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"@context": {
|
|
10
|
+
"description": "JSON-LD context. Must include the W3C DID Core context.",
|
|
11
|
+
"oneOf": [
|
|
12
|
+
{
|
|
13
|
+
"type": "string",
|
|
14
|
+
"const": "https://www.w3.org/ns/did/v1"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"type": "array",
|
|
18
|
+
"items": { "type": "string" },
|
|
19
|
+
"contains": {
|
|
20
|
+
"const": "https://www.w3.org/ns/did/v1"
|
|
21
|
+
},
|
|
22
|
+
"minItems": 1
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
"id": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"description": "DID identifier. Must use the did:web method for OSSA agents.",
|
|
29
|
+
"pattern": "^did:web:.+$",
|
|
30
|
+
"examples": [
|
|
31
|
+
"did:web:openstandardagents.org:agents:my-agent",
|
|
32
|
+
"did:web:example.com:agents:code-reviewer"
|
|
33
|
+
]
|
|
34
|
+
},
|
|
35
|
+
"controller": {
|
|
36
|
+
"description": "DID(s) authorized to make changes to this DID document",
|
|
37
|
+
"oneOf": [
|
|
38
|
+
{
|
|
39
|
+
"type": "string",
|
|
40
|
+
"pattern": "^did:.+$"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"type": "array",
|
|
44
|
+
"items": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"pattern": "^did:.+$"
|
|
47
|
+
},
|
|
48
|
+
"minItems": 1
|
|
49
|
+
}
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
"alsoKnownAs": {
|
|
53
|
+
"type": "array",
|
|
54
|
+
"description": "Alternative identifiers for this agent (URIs)",
|
|
55
|
+
"items": {
|
|
56
|
+
"type": "string",
|
|
57
|
+
"format": "uri"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"verificationMethod": {
|
|
61
|
+
"type": "array",
|
|
62
|
+
"description": "Cryptographic verification methods (public keys) associated with this DID",
|
|
63
|
+
"items": {
|
|
64
|
+
"$ref": "#/definitions/VerificationMethod"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"authentication": {
|
|
68
|
+
"type": "array",
|
|
69
|
+
"description": "Verification methods used for authentication. References verificationMethod entries by id or embeds them inline.",
|
|
70
|
+
"items": {
|
|
71
|
+
"oneOf": [
|
|
72
|
+
{
|
|
73
|
+
"type": "string",
|
|
74
|
+
"description": "Reference to a verificationMethod id"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"$ref": "#/definitions/VerificationMethod"
|
|
78
|
+
}
|
|
79
|
+
]
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"assertionMethod": {
|
|
83
|
+
"type": "array",
|
|
84
|
+
"description": "Verification methods used for issuing verifiable credentials or assertions",
|
|
85
|
+
"items": {
|
|
86
|
+
"oneOf": [
|
|
87
|
+
{
|
|
88
|
+
"type": "string",
|
|
89
|
+
"description": "Reference to a verificationMethod id"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"$ref": "#/definitions/VerificationMethod"
|
|
93
|
+
}
|
|
94
|
+
]
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"keyAgreement": {
|
|
98
|
+
"type": "array",
|
|
99
|
+
"description": "Verification methods used for key agreement (e.g., establishing shared secrets)",
|
|
100
|
+
"items": {
|
|
101
|
+
"oneOf": [
|
|
102
|
+
{
|
|
103
|
+
"type": "string",
|
|
104
|
+
"description": "Reference to a verificationMethod id"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"$ref": "#/definitions/VerificationMethod"
|
|
108
|
+
}
|
|
109
|
+
]
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"capabilityInvocation": {
|
|
113
|
+
"type": "array",
|
|
114
|
+
"description": "Verification methods used to invoke cryptographic capabilities (e.g., authorization to update the DID document)",
|
|
115
|
+
"items": {
|
|
116
|
+
"oneOf": [
|
|
117
|
+
{
|
|
118
|
+
"type": "string",
|
|
119
|
+
"description": "Reference to a verificationMethod id"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"$ref": "#/definitions/VerificationMethod"
|
|
123
|
+
}
|
|
124
|
+
]
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
"capabilityDelegation": {
|
|
128
|
+
"type": "array",
|
|
129
|
+
"description": "Verification methods used to delegate capabilities to other DIDs",
|
|
130
|
+
"items": {
|
|
131
|
+
"oneOf": [
|
|
132
|
+
{
|
|
133
|
+
"type": "string",
|
|
134
|
+
"description": "Reference to a verificationMethod id"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"$ref": "#/definitions/VerificationMethod"
|
|
138
|
+
}
|
|
139
|
+
]
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
"service": {
|
|
143
|
+
"type": "array",
|
|
144
|
+
"description": "Service endpoints associated with this agent DID",
|
|
145
|
+
"items": {
|
|
146
|
+
"$ref": "#/definitions/ServiceEndpoint"
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
"additionalProperties": true,
|
|
151
|
+
"definitions": {
|
|
152
|
+
"VerificationMethod": {
|
|
153
|
+
"type": "object",
|
|
154
|
+
"description": "A cryptographic verification method (public key) per W3C DID Core",
|
|
155
|
+
"required": ["id", "type", "controller"],
|
|
156
|
+
"properties": {
|
|
157
|
+
"id": {
|
|
158
|
+
"type": "string",
|
|
159
|
+
"description": "Unique identifier for this verification method, typically DID + fragment",
|
|
160
|
+
"examples": ["did:web:openstandardagents.org:agents:my-agent#key-1"]
|
|
161
|
+
},
|
|
162
|
+
"type": {
|
|
163
|
+
"type": "string",
|
|
164
|
+
"description": "Cryptographic suite type",
|
|
165
|
+
"enum": [
|
|
166
|
+
"JsonWebKey2020",
|
|
167
|
+
"Ed25519VerificationKey2020",
|
|
168
|
+
"Ed25519VerificationKey2018",
|
|
169
|
+
"X25519KeyAgreementKey2020",
|
|
170
|
+
"X25519KeyAgreementKey2019",
|
|
171
|
+
"EcdsaSecp256k1VerificationKey2019",
|
|
172
|
+
"EcdsaSecp256r1VerificationKey2019",
|
|
173
|
+
"Multikey"
|
|
174
|
+
]
|
|
175
|
+
},
|
|
176
|
+
"controller": {
|
|
177
|
+
"type": "string",
|
|
178
|
+
"description": "DID of the entity that controls this key",
|
|
179
|
+
"pattern": "^did:.+$"
|
|
180
|
+
},
|
|
181
|
+
"publicKeyJwk": {
|
|
182
|
+
"type": "object",
|
|
183
|
+
"description": "Public key in JWK format (RFC 7517)",
|
|
184
|
+
"properties": {
|
|
185
|
+
"kty": {
|
|
186
|
+
"type": "string",
|
|
187
|
+
"description": "Key type",
|
|
188
|
+
"enum": ["EC", "OKP", "RSA"]
|
|
189
|
+
},
|
|
190
|
+
"crv": {
|
|
191
|
+
"type": "string",
|
|
192
|
+
"description": "Curve name (for EC and OKP key types)",
|
|
193
|
+
"enum": ["Ed25519", "X25519", "P-256", "P-384", "P-521", "secp256k1"]
|
|
194
|
+
},
|
|
195
|
+
"x": {
|
|
196
|
+
"type": "string",
|
|
197
|
+
"description": "Public key x-coordinate (base64url-encoded)"
|
|
198
|
+
},
|
|
199
|
+
"y": {
|
|
200
|
+
"type": "string",
|
|
201
|
+
"description": "Public key y-coordinate (base64url-encoded, for EC keys)"
|
|
202
|
+
},
|
|
203
|
+
"kid": {
|
|
204
|
+
"type": "string",
|
|
205
|
+
"description": "Key identifier"
|
|
206
|
+
},
|
|
207
|
+
"use": {
|
|
208
|
+
"type": "string",
|
|
209
|
+
"description": "Intended use of the key",
|
|
210
|
+
"enum": ["sig", "enc"]
|
|
211
|
+
},
|
|
212
|
+
"alg": {
|
|
213
|
+
"type": "string",
|
|
214
|
+
"description": "Algorithm intended for use with this key"
|
|
215
|
+
}
|
|
216
|
+
},
|
|
217
|
+
"required": ["kty"],
|
|
218
|
+
"additionalProperties": true
|
|
219
|
+
},
|
|
220
|
+
"publicKeyMultibase": {
|
|
221
|
+
"type": "string",
|
|
222
|
+
"description": "Public key in multibase format (e.g., z-prefixed base58btc)",
|
|
223
|
+
"pattern": "^z[1-9A-HJ-NP-Za-km-z]+$"
|
|
224
|
+
},
|
|
225
|
+
"publicKeyBase58": {
|
|
226
|
+
"type": "string",
|
|
227
|
+
"description": "Public key in base58btc format (deprecated, use publicKeyMultibase)"
|
|
228
|
+
},
|
|
229
|
+
"blockchainAccountId": {
|
|
230
|
+
"type": "string",
|
|
231
|
+
"description": "CAIP-10 blockchain account identifier"
|
|
232
|
+
},
|
|
233
|
+
"revoked": {
|
|
234
|
+
"type": "boolean",
|
|
235
|
+
"description": "Whether this verification method has been revoked",
|
|
236
|
+
"default": false
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
"additionalProperties": true
|
|
240
|
+
},
|
|
241
|
+
"ServiceEndpoint": {
|
|
242
|
+
"type": "object",
|
|
243
|
+
"description": "A service endpoint associated with the agent DID",
|
|
244
|
+
"required": ["id", "type", "serviceEndpoint"],
|
|
245
|
+
"properties": {
|
|
246
|
+
"id": {
|
|
247
|
+
"type": "string",
|
|
248
|
+
"description": "Unique identifier for this service, typically DID + fragment",
|
|
249
|
+
"examples": ["did:web:openstandardagents.org:agents:my-agent#agent-endpoint"]
|
|
250
|
+
},
|
|
251
|
+
"type": {
|
|
252
|
+
"type": "string",
|
|
253
|
+
"description": "Service type identifier",
|
|
254
|
+
"examples": [
|
|
255
|
+
"OSSAAgentService",
|
|
256
|
+
"A2AService",
|
|
257
|
+
"MCPServerService",
|
|
258
|
+
"LinkedDomains",
|
|
259
|
+
"DIDCommMessaging",
|
|
260
|
+
"CredentialRegistry"
|
|
261
|
+
]
|
|
262
|
+
},
|
|
263
|
+
"serviceEndpoint": {
|
|
264
|
+
"description": "The service endpoint URL(s)",
|
|
265
|
+
"oneOf": [
|
|
266
|
+
{
|
|
267
|
+
"type": "string",
|
|
268
|
+
"format": "uri"
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"type": "array",
|
|
272
|
+
"items": {
|
|
273
|
+
"type": "string",
|
|
274
|
+
"format": "uri"
|
|
275
|
+
}
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"type": "object",
|
|
279
|
+
"description": "Structured endpoint with multiple properties",
|
|
280
|
+
"additionalProperties": true
|
|
281
|
+
}
|
|
282
|
+
]
|
|
283
|
+
},
|
|
284
|
+
"description": {
|
|
285
|
+
"type": "string",
|
|
286
|
+
"description": "Human-readable description of this service endpoint"
|
|
287
|
+
},
|
|
288
|
+
"routingKeys": {
|
|
289
|
+
"type": "array",
|
|
290
|
+
"description": "DIDComm routing keys for message encryption",
|
|
291
|
+
"items": { "type": "string" }
|
|
292
|
+
},
|
|
293
|
+
"accept": {
|
|
294
|
+
"type": "array",
|
|
295
|
+
"description": "Accepted media types or protocol versions",
|
|
296
|
+
"items": { "type": "string" }
|
|
297
|
+
}
|
|
298
|
+
},
|
|
299
|
+
"additionalProperties": true
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
}
|