@bluefly/openstandardagents 0.2.8 → 0.2.9
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/.env.example +1 -1
- package/.github/AGENTS.md +245 -0
- package/.github/agents/github-issue-triage.ossa.yaml +99 -0
- package/.github/agents/github-pr-triage.ossa.yaml +137 -0
- package/.github/workflows/issue-sync-to-gitlab.yml +138 -0
- package/.github/workflows/pr-triage-to-gitlab.yml +164 -0
- package/.version.json +1 -1
- package/.wiki-config.json +1 -1
- package/CHANGELOG.md +33 -0
- package/CONTRIBUTING.md +102 -3
- package/README.md +17 -10
- package/dist/services/release-automation/schemas/release.schema.js +1 -1
- package/dist/services/release-automation/webhook.service.js +3 -3
- package/dist/services/release-automation/webhook.service.js.map +1 -1
- package/dist/services/runtime/claude/claude-adapter.d.ts +1 -1
- package/dist/services/runtime/claude/claude-adapter.d.ts.map +1 -1
- package/dist/services/runtime/claude/claude-adapter.js +1 -1
- package/dist/services/runtime/claude/claude-adapter.js.map +1 -1
- package/dist/spec/v0.2.9/a2a-protocol.md +1337 -0
- package/dist/spec/v0.2.9/agent.md +1946 -0
- package/dist/spec/v0.2.9/capabilities/index.yaml +25 -0
- package/dist/spec/v0.2.9/capabilities/memory.yaml +251 -0
- package/dist/spec/v0.2.9/capability-schema.md +576 -0
- package/dist/spec/v0.2.9/compliance-profiles.md +533 -0
- package/dist/spec/v0.2.9/conformance-testing.md +1527 -0
- package/dist/spec/v0.2.9/gitlab-duo-integration.md +621 -0
- package/dist/spec/v0.2.9/ossa-0.2.9.schema.json +3699 -0
- package/dist/spec/v0.2.9/runtime-semantics.md +464 -0
- package/dist/spec/v0.2.9/security-model.md +1245 -0
- package/dist/spec/v0.2.9/semantic-conventions.md +347 -0
- package/dist/spec/v0.2.9/types.ts +522 -0
- package/dist/types/policy.d.ts +377 -0
- package/dist/types/policy.d.ts.map +1 -0
- package/dist/types/policy.js +84 -0
- package/dist/types/policy.js.map +1 -0
- package/dist/utils/version.js +1 -1
- package/docs/specs/policy-dsl.md +925 -0
- 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 +136 -0
- 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-md/code-agent.ossa.json +100 -0
- package/examples/agents-md/monorepo-agent.ossa.yaml +180 -0
- package/examples/anthropic/claude-assistant.ossa.json +1 -1
- package/examples/autogen/multi-agent.ossa.json +1 -1
- package/examples/claude-code/code-reviewer.ossa.yaml +1 -1
- package/examples/claude-code/ossa-validator.ossa.yaml +2 -2
- package/examples/common_npm/agent-router.ossa.yaml +1 -1
- package/examples/common_npm/agent-router.v0.2.2.ossa.yaml +1 -1
- package/examples/crewai/research-team.ossa.json +1 -1
- package/examples/cursor/code-review-agent.ossa.json +1 -1
- package/examples/drupal/gitlab-ml-recommender.ossa.yaml +1 -1
- package/examples/drupal/gitlab-ml-recommender.v0.2.2.ossa.yaml +1 -1
- package/examples/extensions/agents-md-v1.yml +175 -0
- package/examples/extensions/drupal-v1.yml +1 -1
- package/examples/extensions/kagent-v1.yml +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-v1.v0.2.2.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 +1 -1
- package/examples/langflow/workflow-agent.ossa.json +1 -1
- package/examples/langgraph/state-machine-agent.ossa.json +1 -1
- package/examples/llamaindex/rag-agent.ossa.json +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/openai/basic-agent.ossa.yaml +1 -1
- package/examples/openai/multi-tool-agent.ossa.json +1 -1
- package/examples/openai/swarm-agent.ossa.json +1 -1
- package/examples/production/document-analyzer-openai.yml +1 -1
- package/examples/quickstart/support-agent.ossa.yaml +1 -1
- package/examples/templates/ossa-compliance.yaml +1 -1
- package/examples/vercel/edge-agent.ossa.json +1 -1
- package/llms.txt +1 -1
- package/package.json +5 -3
- package/scripts/README.md +25 -0
- package/scripts/compliance-audit.ts +796 -0
- package/scripts/generate-agents-catalog.ts +2 -1
- package/scripts/generate-api-docs.ts +2 -1
- package/scripts/generate-examples-docs.ts +2 -1
- package/scripts/generate-llms-ctx.sh +2 -2
- package/spec/v0.2.9/a2a-protocol.md +1337 -0
- package/spec/v0.2.9/agent.md +1946 -0
- package/spec/v0.2.9/capabilities/index.yaml +25 -0
- package/spec/v0.2.9/capabilities/memory.yaml +251 -0
- package/spec/v0.2.9/capability-schema.md +576 -0
- package/spec/v0.2.9/compliance-profiles.md +533 -0
- package/spec/v0.2.9/conformance-testing.md +1527 -0
- package/spec/v0.2.9/gitlab-duo-integration.md +621 -0
- package/spec/v0.2.9/ossa-0.2.9.schema.json +3699 -0
- package/spec/v0.2.9/runtime-semantics.md +464 -0
- package/spec/v0.2.9/security-model.md +1245 -0
- package/spec/v0.2.9/semantic-conventions.md +347 -0
- package/spec/v0.2.9/types.ts +522 -0
- package/test-results/junit.xml +184 -146
- package/.github/workflows/pr-comment.yml +0 -33
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
# OSSA agents.md Extension Schema
|
|
2
|
+
# OpenAI agents.md repository-level agent guidance generation
|
|
3
|
+
# See: https://agents.md | https://github.com/openai/agents.md
|
|
4
|
+
|
|
5
|
+
apiVersion: ossa/v0.2.9
|
|
6
|
+
kind: ExtensionSchema
|
|
7
|
+
metadata:
|
|
8
|
+
name: agents-md-extension
|
|
9
|
+
version: v1
|
|
10
|
+
namespace: ossa/extensions
|
|
11
|
+
spec:
|
|
12
|
+
compatibleWith:
|
|
13
|
+
- agents.md/v1
|
|
14
|
+
description: "Extension schema for OpenAI agents.md repository-level agent guidance"
|
|
15
|
+
|
|
16
|
+
references:
|
|
17
|
+
specification: https://agents.md
|
|
18
|
+
repository: https://github.com/openai/agents.md
|
|
19
|
+
adoption: "20,000+ OSS projects"
|
|
20
|
+
|
|
21
|
+
supportedTools:
|
|
22
|
+
- OpenAI Codex
|
|
23
|
+
- Google Jules
|
|
24
|
+
- Cursor
|
|
25
|
+
- GitHub Copilot
|
|
26
|
+
- VS Code
|
|
27
|
+
- Zed
|
|
28
|
+
- Aider
|
|
29
|
+
- Gemini CLI
|
|
30
|
+
|
|
31
|
+
additionalFields:
|
|
32
|
+
agent:
|
|
33
|
+
enabled:
|
|
34
|
+
type: boolean
|
|
35
|
+
default: false
|
|
36
|
+
description: "Enable agents.md generation"
|
|
37
|
+
|
|
38
|
+
generate:
|
|
39
|
+
type: boolean
|
|
40
|
+
default: true
|
|
41
|
+
description: "Auto-generate AGENTS.md from manifest"
|
|
42
|
+
|
|
43
|
+
output_path:
|
|
44
|
+
type: string
|
|
45
|
+
default: "AGENTS.md"
|
|
46
|
+
description: "Output path for generated file"
|
|
47
|
+
|
|
48
|
+
sections:
|
|
49
|
+
type: object
|
|
50
|
+
properties:
|
|
51
|
+
dev_environment:
|
|
52
|
+
$ref: "#/definitions/AgentsMdSection"
|
|
53
|
+
description: "Dev environment tips section"
|
|
54
|
+
testing:
|
|
55
|
+
$ref: "#/definitions/AgentsMdSection"
|
|
56
|
+
description: "Testing instructions section"
|
|
57
|
+
pr_instructions:
|
|
58
|
+
$ref: "#/definitions/AgentsMdSection"
|
|
59
|
+
description: "PR guidelines section"
|
|
60
|
+
code_style:
|
|
61
|
+
$ref: "#/definitions/AgentsMdSection"
|
|
62
|
+
description: "Code style guidelines section"
|
|
63
|
+
security:
|
|
64
|
+
$ref: "#/definitions/AgentsMdSection"
|
|
65
|
+
description: "Security considerations section"
|
|
66
|
+
custom:
|
|
67
|
+
type: array
|
|
68
|
+
items:
|
|
69
|
+
type: object
|
|
70
|
+
required: [title, content]
|
|
71
|
+
properties:
|
|
72
|
+
title:
|
|
73
|
+
type: string
|
|
74
|
+
content:
|
|
75
|
+
type: string
|
|
76
|
+
description: "Custom sections"
|
|
77
|
+
|
|
78
|
+
sync:
|
|
79
|
+
type: object
|
|
80
|
+
properties:
|
|
81
|
+
on_manifest_change:
|
|
82
|
+
type: boolean
|
|
83
|
+
default: true
|
|
84
|
+
include_comments:
|
|
85
|
+
type: boolean
|
|
86
|
+
default: true
|
|
87
|
+
watch:
|
|
88
|
+
type: boolean
|
|
89
|
+
default: false
|
|
90
|
+
|
|
91
|
+
mapping:
|
|
92
|
+
type: object
|
|
93
|
+
properties:
|
|
94
|
+
tools_to_dev_environment:
|
|
95
|
+
type: boolean
|
|
96
|
+
default: true
|
|
97
|
+
description: "Map spec.tools → Dev environment tips"
|
|
98
|
+
constraints_to_testing:
|
|
99
|
+
type: boolean
|
|
100
|
+
default: true
|
|
101
|
+
description: "Map spec.constraints → Testing requirements"
|
|
102
|
+
autonomy_to_pr_instructions:
|
|
103
|
+
type: boolean
|
|
104
|
+
default: true
|
|
105
|
+
description: "Map spec.autonomy → PR workflow hints"
|
|
106
|
+
role_from_agents_md:
|
|
107
|
+
type: boolean
|
|
108
|
+
default: false
|
|
109
|
+
description: "Parse AGENTS.md → spec.role hints"
|
|
110
|
+
|
|
111
|
+
cursor_integration:
|
|
112
|
+
type: boolean
|
|
113
|
+
default: false
|
|
114
|
+
description: "Generate Cursor-compatible content"
|
|
115
|
+
|
|
116
|
+
nested_files:
|
|
117
|
+
type: array
|
|
118
|
+
items:
|
|
119
|
+
type: object
|
|
120
|
+
required: [path]
|
|
121
|
+
properties:
|
|
122
|
+
path:
|
|
123
|
+
type: string
|
|
124
|
+
inherit:
|
|
125
|
+
type: boolean
|
|
126
|
+
default: true
|
|
127
|
+
sections:
|
|
128
|
+
type: object
|
|
129
|
+
|
|
130
|
+
definitions:
|
|
131
|
+
AgentsMdSection:
|
|
132
|
+
type: object
|
|
133
|
+
properties:
|
|
134
|
+
enabled:
|
|
135
|
+
type: boolean
|
|
136
|
+
default: true
|
|
137
|
+
source:
|
|
138
|
+
type: string
|
|
139
|
+
description: "OSSA manifest path (e.g., 'spec.tools')"
|
|
140
|
+
custom:
|
|
141
|
+
type: string
|
|
142
|
+
description: "Custom markdown content"
|
|
143
|
+
title:
|
|
144
|
+
type: string
|
|
145
|
+
description: "Section header override"
|
|
146
|
+
append:
|
|
147
|
+
type: string
|
|
148
|
+
description: "Content to append after auto-generated"
|
|
149
|
+
|
|
150
|
+
validation:
|
|
151
|
+
required: []
|
|
152
|
+
customRules:
|
|
153
|
+
- name: "validate-output-path"
|
|
154
|
+
rule: "output_path must end with .md extension or be 'AGENTS.md'"
|
|
155
|
+
- name: "validate-nested-paths"
|
|
156
|
+
rule: "nested_files paths must be valid relative directories"
|
|
157
|
+
- name: "validate-cursor-integration"
|
|
158
|
+
rule: "If cursor_integration is true, extensions.cursor should also be enabled"
|
|
159
|
+
|
|
160
|
+
migration:
|
|
161
|
+
fromVersion: null
|
|
162
|
+
toVersion: "v1"
|
|
163
|
+
breakingChanges: []
|
|
164
|
+
migrationGuide: "https://openstandardagents.org/docs/extensions/agents-md"
|
|
165
|
+
|
|
166
|
+
cliCommands:
|
|
167
|
+
- name: "ossa agents-md generate"
|
|
168
|
+
description: "Generate AGENTS.md from manifest"
|
|
169
|
+
usage: "ossa agents-md generate --manifest .agents/my-agent/manifest.yaml"
|
|
170
|
+
- name: "ossa agents-md validate"
|
|
171
|
+
description: "Validate AGENTS.md against manifest"
|
|
172
|
+
usage: "ossa agents-md validate --agents-md AGENTS.md --manifest .agents/my-agent/manifest.yaml"
|
|
173
|
+
- name: "ossa agents-md sync"
|
|
174
|
+
description: "Sync AGENTS.md with manifest changes"
|
|
175
|
+
usage: "ossa agents-md sync --watch"
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
# ----------------------------------------------------------------------------
|
|
37
37
|
# Coordinates the workflow, delegates tasks to worker agents, and aggregates results
|
|
38
38
|
|
|
39
|
-
apiVersion: ossa/v0.2.
|
|
39
|
+
apiVersion: ossa/v0.2.9
|
|
40
40
|
kind: Agent
|
|
41
41
|
|
|
42
42
|
metadata:
|
|
@@ -154,7 +154,7 @@ spec:
|
|
|
154
154
|
# Specialized agent for research tasks
|
|
155
155
|
|
|
156
156
|
---
|
|
157
|
-
apiVersion: ossa/v0.2.
|
|
157
|
+
apiVersion: ossa/v0.2.9
|
|
158
158
|
kind: Agent
|
|
159
159
|
|
|
160
160
|
metadata:
|
|
@@ -221,7 +221,7 @@ spec:
|
|
|
221
221
|
# Specialized agent for data analysis
|
|
222
222
|
|
|
223
223
|
---
|
|
224
|
-
apiVersion: ossa/v0.2.
|
|
224
|
+
apiVersion: ossa/v0.2.9
|
|
225
225
|
kind: Agent
|
|
226
226
|
|
|
227
227
|
metadata:
|
|
@@ -282,7 +282,7 @@ spec:
|
|
|
282
282
|
# Specialized agent for content creation
|
|
283
283
|
|
|
284
284
|
---
|
|
285
|
-
apiVersion: ossa/v0.2.
|
|
285
|
+
apiVersion: ossa/v0.2.9
|
|
286
286
|
kind: Agent
|
|
287
287
|
|
|
288
288
|
metadata:
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
# Domain: infrastructure.kubernetes.troubleshooting
|
|
18
18
|
# ============================================================================
|
|
19
19
|
|
|
20
|
-
apiVersion: ossa/v0.2.
|
|
20
|
+
apiVersion: ossa/v0.2.9
|
|
21
21
|
kind: Agent
|
|
22
22
|
metadata:
|
|
23
23
|
# Basic agent identification metadata
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
# OSSA MANIFEST (After):
|
|
51
51
|
# ----------------------------------------------------------------------------
|
|
52
52
|
|
|
53
|
-
apiVersion: ossa/v0.2.
|
|
53
|
+
apiVersion: ossa/v0.2.9
|
|
54
54
|
kind: Agent
|
|
55
55
|
|
|
56
56
|
metadata:
|
|
@@ -117,7 +117,7 @@ spec:
|
|
|
117
117
|
# ----------------------------------------------------------------------------
|
|
118
118
|
|
|
119
119
|
---
|
|
120
|
-
apiVersion: ossa/v0.2.
|
|
120
|
+
apiVersion: ossa/v0.2.9
|
|
121
121
|
kind: Agent
|
|
122
122
|
|
|
123
123
|
metadata:
|
|
@@ -185,7 +185,7 @@ spec:
|
|
|
185
185
|
# ----------------------------------------------------------------------------
|
|
186
186
|
|
|
187
187
|
---
|
|
188
|
-
apiVersion: ossa/v0.2.
|
|
188
|
+
apiVersion: ossa/v0.2.9
|
|
189
189
|
kind: Agent
|
|
190
190
|
|
|
191
191
|
metadata:
|
|
@@ -215,7 +215,7 @@ spec:
|
|
|
215
215
|
endpoint: https://api.academic.com/search
|
|
216
216
|
|
|
217
217
|
---
|
|
218
|
-
apiVersion: ossa/v0.2.
|
|
218
|
+
apiVersion: ossa/v0.2.9
|
|
219
219
|
kind: Agent
|
|
220
220
|
|
|
221
221
|
metadata:
|
package/llms.txt
CHANGED
|
@@ -13,7 +13,7 @@ Key features:
|
|
|
13
13
|
|
|
14
14
|
## Core Specification
|
|
15
15
|
|
|
16
|
-
- [OSSA Schema v0.2.
|
|
16
|
+
- [OSSA Schema v0.2.9](https://gitlab.com/blueflyio/openstandardagents/-/blob/main/spec/ossa-schema.yaml): Complete agent definition schema with capabilities, triggers, and outputs
|
|
17
17
|
- [AgentFlow Lifecycle](https://gitlab.com/blueflyio/openstandardagents/-/wikis/AgentFlow-Lifecycle): 9-state workflow (Triage → To Do → In Progress → Done/Canceled)
|
|
18
18
|
- [Custom Fields](https://gitlab.com/blueflyio/openstandardagents/-/wikis/Custom-Field-Enforcement): 8 fields for agent coordination (agent_assigned, agent_status, commit_type, priority, release_type)
|
|
19
19
|
- [Bot Waves](https://gitlab.com/blueflyio/openstandardagents/-/wikis/Specialized-Bot-Deployment): 5-wave orchestration model for parallel agent execution
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bluefly/openstandardagents",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.9",
|
|
4
4
|
"exports": {
|
|
5
|
-
"./schema": "./spec/v0.2.
|
|
5
|
+
"./schema": "./spec/v0.2.9/ossa-0.2.9.schema.json",
|
|
6
6
|
".": {
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
8
8
|
"import": "./dist/index.js",
|
|
@@ -102,7 +102,9 @@
|
|
|
102
102
|
"prepare": "husky install || true",
|
|
103
103
|
"sync:pr": "tsx src/cli/commands/github-sync.command.ts pr",
|
|
104
104
|
"sync:batch": "tsx src/cli/commands/github-sync.command.ts batch",
|
|
105
|
-
"sync:list": "tsx src/cli/commands/github-sync.command.ts list"
|
|
105
|
+
"sync:list": "tsx src/cli/commands/github-sync.command.ts list",
|
|
106
|
+
"compliance:audit": "tsx scripts/compliance-audit.ts",
|
|
107
|
+
"compliance:audit:project": "tsx scripts/compliance-audit.ts"
|
|
106
108
|
},
|
|
107
109
|
"keywords": [
|
|
108
110
|
"ossa",
|
package/scripts/README.md
CHANGED
|
@@ -4,6 +4,31 @@ Automated validation and maintenance scripts for OSSA.
|
|
|
4
4
|
|
|
5
5
|
## Scripts
|
|
6
6
|
|
|
7
|
+
### compliance-audit.ts
|
|
8
|
+
|
|
9
|
+
Automated GitLab Ultimate compliance audit system. Checks projects for:
|
|
10
|
+
- Branch protection (main/development, force push)
|
|
11
|
+
- Merge request approvals and requirements
|
|
12
|
+
- Security scanning (SAST, dependency scanning, secret detection)
|
|
13
|
+
- DORA metrics configuration
|
|
14
|
+
- Compliance frameworks and merge trains
|
|
15
|
+
- Pipeline configuration and success rates
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
# Audit default project
|
|
19
|
+
npm run compliance:audit
|
|
20
|
+
|
|
21
|
+
# Audit specific project
|
|
22
|
+
npm run compliance:audit:project blueflyio/other-project
|
|
23
|
+
|
|
24
|
+
# Direct execution with custom output
|
|
25
|
+
tsx scripts/compliance-audit.ts blueflyio/openstandardagents report.json
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
**Requirements**: `GITLAB_TOKEN` environment variable
|
|
29
|
+
|
|
30
|
+
**Output**: Console report + JSON file with detailed compliance status
|
|
31
|
+
|
|
7
32
|
### validate-all.js
|
|
8
33
|
|
|
9
34
|
Comprehensive validation suite:
|