@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,136 @@
|
|
|
1
|
+
# OSSA v0.2.9 - Reasoning Agent Example
|
|
2
|
+
# Demonstrates: reasoning strategies, prompt templates, knowledge graph
|
|
3
|
+
apiVersion: ossa/v0.2.9
|
|
4
|
+
kind: Agent
|
|
5
|
+
metadata:
|
|
6
|
+
name: research-analyst
|
|
7
|
+
version: 1.0.0
|
|
8
|
+
description: Research analyst with ReAct reasoning, knowledge graph, and versioned prompts
|
|
9
|
+
labels:
|
|
10
|
+
domain: research
|
|
11
|
+
capability: analysis
|
|
12
|
+
reasoning: react
|
|
13
|
+
|
|
14
|
+
spec:
|
|
15
|
+
taxonomy:
|
|
16
|
+
domain: research
|
|
17
|
+
subdomain: analysis
|
|
18
|
+
capability: synthesis
|
|
19
|
+
|
|
20
|
+
role: |
|
|
21
|
+
You are a research analyst specializing in synthesizing complex information.
|
|
22
|
+
Use the ReAct reasoning pattern: Thought → Action → Observation.
|
|
23
|
+
|
|
24
|
+
llm:
|
|
25
|
+
provider: anthropic
|
|
26
|
+
model: claude-sonnet-4-20250514
|
|
27
|
+
parameters:
|
|
28
|
+
temperature: 0.3
|
|
29
|
+
max_tokens: 4096
|
|
30
|
+
|
|
31
|
+
# NEW: Reasoning configuration
|
|
32
|
+
reasoning:
|
|
33
|
+
strategy: react
|
|
34
|
+
max_steps: 15
|
|
35
|
+
trace_enabled: true
|
|
36
|
+
export_format: otel
|
|
37
|
+
self_reflection:
|
|
38
|
+
enabled: true
|
|
39
|
+
trigger: on_uncertainty
|
|
40
|
+
threshold: 0.6
|
|
41
|
+
|
|
42
|
+
# NEW: Prompt management with versioning
|
|
43
|
+
prompts:
|
|
44
|
+
system:
|
|
45
|
+
template: prompts/research-system-v2.md
|
|
46
|
+
version: "2.1.0"
|
|
47
|
+
variables:
|
|
48
|
+
domain: "market-research"
|
|
49
|
+
output_format: "structured-report"
|
|
50
|
+
few_shot_examples:
|
|
51
|
+
- input: "Analyze the competitive landscape for AI agents"
|
|
52
|
+
output: |
|
|
53
|
+
Thought: I need to identify key players, their offerings, and market positioning.
|
|
54
|
+
Action: search_knowledge_graph for entities with type=AIVendor
|
|
55
|
+
Observation: Found 12 major vendors including OpenAI, Anthropic, Google...
|
|
56
|
+
- input: "What are the emerging trends in agent frameworks?"
|
|
57
|
+
output: |
|
|
58
|
+
Thought: I should look for recent publications and framework releases.
|
|
59
|
+
Action: query_research_db for papers published > 2024-01
|
|
60
|
+
Observation: 47 relevant papers found, clustering around multi-agent and RAG...
|
|
61
|
+
|
|
62
|
+
# NEW: Knowledge graph integration
|
|
63
|
+
knowledge_graph:
|
|
64
|
+
enabled: true
|
|
65
|
+
provider: neo4j
|
|
66
|
+
connection:
|
|
67
|
+
endpoint: bolt://kg.internal:7687
|
|
68
|
+
database: research_graph
|
|
69
|
+
credentials_ref: KG_CREDENTIALS
|
|
70
|
+
schema:
|
|
71
|
+
entity_types:
|
|
72
|
+
- Company
|
|
73
|
+
- Product
|
|
74
|
+
- Technology
|
|
75
|
+
- Publication
|
|
76
|
+
- Person
|
|
77
|
+
relationship_types:
|
|
78
|
+
- COMPETES_WITH
|
|
79
|
+
- DEVELOPS
|
|
80
|
+
- PUBLISHES
|
|
81
|
+
- CITES
|
|
82
|
+
- EMPLOYS
|
|
83
|
+
sync:
|
|
84
|
+
mode: real_time
|
|
85
|
+
batch_size: 50
|
|
86
|
+
interval: 30s
|
|
87
|
+
|
|
88
|
+
tools:
|
|
89
|
+
- name: search_knowledge_graph
|
|
90
|
+
description: Query the knowledge graph for entity relationships
|
|
91
|
+
source:
|
|
92
|
+
type: mcp
|
|
93
|
+
uri: mcp://kg-service/query
|
|
94
|
+
input:
|
|
95
|
+
type: object
|
|
96
|
+
required: [query]
|
|
97
|
+
properties:
|
|
98
|
+
query:
|
|
99
|
+
type: string
|
|
100
|
+
description: Cypher query or natural language search
|
|
101
|
+
|
|
102
|
+
- name: query_research_db
|
|
103
|
+
description: Search research papers and publications
|
|
104
|
+
source:
|
|
105
|
+
type: mcp
|
|
106
|
+
uri: mcp://research-service/search
|
|
107
|
+
|
|
108
|
+
autonomy:
|
|
109
|
+
level: assisted
|
|
110
|
+
escalation:
|
|
111
|
+
enabled: true
|
|
112
|
+
triggers:
|
|
113
|
+
- low_confidence
|
|
114
|
+
- external_data_required
|
|
115
|
+
|
|
116
|
+
observability:
|
|
117
|
+
tracing:
|
|
118
|
+
enabled: true
|
|
119
|
+
provider: otel
|
|
120
|
+
sampling_rate: 1.0
|
|
121
|
+
metrics:
|
|
122
|
+
enabled: true
|
|
123
|
+
custom:
|
|
124
|
+
- name: reasoning_steps_total
|
|
125
|
+
type: counter
|
|
126
|
+
description: Total reasoning steps executed
|
|
127
|
+
- name: kg_queries_total
|
|
128
|
+
type: counter
|
|
129
|
+
description: Knowledge graph queries executed
|
|
130
|
+
logging:
|
|
131
|
+
level: debug
|
|
132
|
+
|
|
133
|
+
constraints:
|
|
134
|
+
max_tokens_per_turn: 8000
|
|
135
|
+
max_turns: 20
|
|
136
|
+
timeout_seconds: 300
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Hybrid Model Strategy: Fast Local Planning + Premium Development
|
|
2
2
|
# Demonstrates using fast Ollama models for planning agents and Claude for development
|
|
3
3
|
|
|
4
|
-
apiVersion: ossa/v0.2.
|
|
4
|
+
apiVersion: ossa/v0.2.9
|
|
5
5
|
kind: Workflow
|
|
6
6
|
metadata:
|
|
7
7
|
name: hybrid-development-workflow
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# ============================================================================
|
|
21
21
|
|
|
22
22
|
# OSSA manifest version - defines the schema and features available
|
|
23
|
-
apiVersion: ossa/v0.2.
|
|
23
|
+
apiVersion: ossa/v0.2.9
|
|
24
24
|
|
|
25
25
|
# Kind declares this as an Agent manifest (vs. Bridge, Tool, etc.)
|
|
26
26
|
kind: Agent
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
{
|
|
2
|
+
"apiVersion": "ossa/v0.2.9",
|
|
3
|
+
"kind": "Agent",
|
|
4
|
+
"metadata": {
|
|
5
|
+
"name": "code-assistant",
|
|
6
|
+
"version": "1.0.0",
|
|
7
|
+
"description": "AI coding agent with agents.md repository guidance",
|
|
8
|
+
"labels": {
|
|
9
|
+
"domain": "development",
|
|
10
|
+
"framework": "agents-md"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"spec": {
|
|
14
|
+
"role": "You are an expert software developer. Follow the project's coding standards and conventions. Write clean, maintainable code with proper tests.",
|
|
15
|
+
"llm": {
|
|
16
|
+
"provider": "openai",
|
|
17
|
+
"model": "gpt-4o",
|
|
18
|
+
"temperature": 0.2
|
|
19
|
+
},
|
|
20
|
+
"tools": [
|
|
21
|
+
{
|
|
22
|
+
"type": "mcp",
|
|
23
|
+
"name": "filesystem",
|
|
24
|
+
"server": "filesystem",
|
|
25
|
+
"capabilities": [
|
|
26
|
+
{ "name": "read_file" },
|
|
27
|
+
{ "name": "write_file" },
|
|
28
|
+
{ "name": "list_directory" }
|
|
29
|
+
]
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"type": "mcp",
|
|
33
|
+
"name": "git",
|
|
34
|
+
"server": "git",
|
|
35
|
+
"capabilities": [
|
|
36
|
+
{ "name": "status" },
|
|
37
|
+
{ "name": "diff" },
|
|
38
|
+
{ "name": "commit" }
|
|
39
|
+
]
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"constraints": {
|
|
43
|
+
"performance": {
|
|
44
|
+
"maxLatencySeconds": 30,
|
|
45
|
+
"timeoutSeconds": 120
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"autonomy": {
|
|
49
|
+
"level": "supervised",
|
|
50
|
+
"approval_required": true,
|
|
51
|
+
"allowed_actions": ["read", "write", "test"],
|
|
52
|
+
"blocked_actions": ["deploy", "delete"]
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"extensions": {
|
|
56
|
+
"agents_md": {
|
|
57
|
+
"enabled": true,
|
|
58
|
+
"generate": true,
|
|
59
|
+
"output_path": "AGENTS.md",
|
|
60
|
+
"sections": {
|
|
61
|
+
"dev_environment": {
|
|
62
|
+
"enabled": true,
|
|
63
|
+
"source": "spec.tools",
|
|
64
|
+
"append": "- Use `pnpm` for package management\n- Run `pnpm dev` to start development server"
|
|
65
|
+
},
|
|
66
|
+
"testing": {
|
|
67
|
+
"enabled": true,
|
|
68
|
+
"custom": "Run `pnpm test` before committing.\nEnsure all tests pass and coverage is maintained.\nUse Jest for unit tests and Playwright for E2E."
|
|
69
|
+
},
|
|
70
|
+
"pr_instructions": {
|
|
71
|
+
"enabled": true,
|
|
72
|
+
"source": "spec.autonomy",
|
|
73
|
+
"custom": "- Use conventional commits format\n- Include tests for new features\n- Update documentation as needed\n- Request review from at least one team member"
|
|
74
|
+
},
|
|
75
|
+
"code_style": {
|
|
76
|
+
"enabled": true,
|
|
77
|
+
"custom": "- TypeScript strict mode enabled\n- ESLint + Prettier for formatting\n- Prefer functional programming patterns\n- Use descriptive variable names"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"sync": {
|
|
81
|
+
"on_manifest_change": true,
|
|
82
|
+
"include_comments": true
|
|
83
|
+
},
|
|
84
|
+
"mapping": {
|
|
85
|
+
"tools_to_dev_environment": true,
|
|
86
|
+
"constraints_to_testing": true,
|
|
87
|
+
"autonomy_to_pr_instructions": true
|
|
88
|
+
},
|
|
89
|
+
"cursor_integration": true
|
|
90
|
+
},
|
|
91
|
+
"cursor": {
|
|
92
|
+
"enabled": true,
|
|
93
|
+
"agent_type": "composer",
|
|
94
|
+
"workspace_config": {
|
|
95
|
+
"context_files": ["src/**/*.ts", "tests/**/*.ts"],
|
|
96
|
+
"ignore_patterns": ["node_modules/**", "dist/**"]
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
# OSSA Agent Manifest with agents.md Extension
|
|
2
|
+
# Demonstrates monorepo support with nested AGENTS.md files
|
|
3
|
+
apiVersion: ossa/v0.2.9
|
|
4
|
+
kind: Agent
|
|
5
|
+
metadata:
|
|
6
|
+
name: monorepo-assistant
|
|
7
|
+
version: 1.0.0
|
|
8
|
+
description: Multi-package monorepo coding agent with nested agents.md support
|
|
9
|
+
labels:
|
|
10
|
+
domain: development
|
|
11
|
+
framework: agents-md
|
|
12
|
+
architecture: monorepo
|
|
13
|
+
|
|
14
|
+
spec:
|
|
15
|
+
role: |
|
|
16
|
+
You are an expert developer working on a monorepo containing multiple packages.
|
|
17
|
+
Each package has its own conventions and testing requirements.
|
|
18
|
+
Always check the local AGENTS.md file in the current directory for package-specific guidance.
|
|
19
|
+
|
|
20
|
+
llm:
|
|
21
|
+
provider: anthropic
|
|
22
|
+
model: claude-3-5-sonnet-20241022
|
|
23
|
+
temperature: 0.1
|
|
24
|
+
|
|
25
|
+
tools:
|
|
26
|
+
- type: mcp
|
|
27
|
+
name: filesystem
|
|
28
|
+
server: filesystem
|
|
29
|
+
capabilities:
|
|
30
|
+
- name: read_file
|
|
31
|
+
- name: write_file
|
|
32
|
+
- name: search_files
|
|
33
|
+
- type: mcp
|
|
34
|
+
name: git
|
|
35
|
+
server: git
|
|
36
|
+
capabilities:
|
|
37
|
+
- name: status
|
|
38
|
+
- name: diff
|
|
39
|
+
- name: log
|
|
40
|
+
- type: http
|
|
41
|
+
name: npm-registry
|
|
42
|
+
endpoint: https://registry.npmjs.org
|
|
43
|
+
capabilities:
|
|
44
|
+
- name: search_packages
|
|
45
|
+
|
|
46
|
+
constraints:
|
|
47
|
+
cost:
|
|
48
|
+
maxTokensPerDay: 100000
|
|
49
|
+
maxTokensPerRequest: 8000
|
|
50
|
+
performance:
|
|
51
|
+
maxLatencySeconds: 60
|
|
52
|
+
timeoutSeconds: 180
|
|
53
|
+
|
|
54
|
+
autonomy:
|
|
55
|
+
level: autonomous
|
|
56
|
+
approval_required: false
|
|
57
|
+
allowed_actions:
|
|
58
|
+
- read
|
|
59
|
+
- write
|
|
60
|
+
- test
|
|
61
|
+
- lint
|
|
62
|
+
- format
|
|
63
|
+
blocked_actions:
|
|
64
|
+
- publish
|
|
65
|
+
- deploy
|
|
66
|
+
- delete_branch
|
|
67
|
+
|
|
68
|
+
extensions:
|
|
69
|
+
agents_md:
|
|
70
|
+
enabled: true
|
|
71
|
+
generate: true
|
|
72
|
+
output_path: AGENTS.md
|
|
73
|
+
|
|
74
|
+
sections:
|
|
75
|
+
dev_environment:
|
|
76
|
+
enabled: true
|
|
77
|
+
title: "Development Environment"
|
|
78
|
+
custom: |
|
|
79
|
+
- This is a pnpm workspace monorepo
|
|
80
|
+
- Run `pnpm install` from root to install all dependencies
|
|
81
|
+
- Use `pnpm -F <package>` to run commands in specific packages
|
|
82
|
+
- Turborepo is used for task orchestration
|
|
83
|
+
|
|
84
|
+
testing:
|
|
85
|
+
enabled: true
|
|
86
|
+
title: "Testing Requirements"
|
|
87
|
+
custom: |
|
|
88
|
+
- Run `pnpm test` to execute all tests
|
|
89
|
+
- Run `pnpm -F <package> test` for package-specific tests
|
|
90
|
+
- Coverage threshold is 80% for all packages
|
|
91
|
+
- E2E tests are in `apps/web/e2e/`
|
|
92
|
+
|
|
93
|
+
pr_instructions:
|
|
94
|
+
enabled: true
|
|
95
|
+
title: "Pull Request Guidelines"
|
|
96
|
+
custom: |
|
|
97
|
+
- Use conventional commits: `feat:`, `fix:`, `chore:`, etc.
|
|
98
|
+
- PRs must pass CI checks before merge
|
|
99
|
+
- Changesets are required for publishable packages
|
|
100
|
+
- Run `pnpm changeset` to create a changeset
|
|
101
|
+
|
|
102
|
+
code_style:
|
|
103
|
+
enabled: true
|
|
104
|
+
custom: |
|
|
105
|
+
- TypeScript strict mode in all packages
|
|
106
|
+
- Biome for linting and formatting
|
|
107
|
+
- Run `pnpm lint` and `pnpm format` before committing
|
|
108
|
+
|
|
109
|
+
custom:
|
|
110
|
+
- title: "Package Structure"
|
|
111
|
+
content: |
|
|
112
|
+
- `apps/` - Application packages (web, api, cli)
|
|
113
|
+
- `packages/` - Shared library packages
|
|
114
|
+
- `tooling/` - Build and development tools
|
|
115
|
+
|
|
116
|
+
sync:
|
|
117
|
+
on_manifest_change: true
|
|
118
|
+
include_comments: true
|
|
119
|
+
watch: false
|
|
120
|
+
|
|
121
|
+
mapping:
|
|
122
|
+
tools_to_dev_environment: true
|
|
123
|
+
constraints_to_testing: true
|
|
124
|
+
autonomy_to_pr_instructions: true
|
|
125
|
+
|
|
126
|
+
# Nested AGENTS.md files for each package
|
|
127
|
+
nested_files:
|
|
128
|
+
- path: apps/web
|
|
129
|
+
inherit: true
|
|
130
|
+
sections:
|
|
131
|
+
dev_environment:
|
|
132
|
+
custom: |
|
|
133
|
+
- Next.js 14 application
|
|
134
|
+
- Run `pnpm -F web dev` to start dev server
|
|
135
|
+
- Uses App Router and Server Components
|
|
136
|
+
testing:
|
|
137
|
+
custom: |
|
|
138
|
+
- Playwright for E2E tests
|
|
139
|
+
- React Testing Library for component tests
|
|
140
|
+
- Run `pnpm -F web test:e2e` for E2E
|
|
141
|
+
|
|
142
|
+
- path: apps/api
|
|
143
|
+
inherit: true
|
|
144
|
+
sections:
|
|
145
|
+
dev_environment:
|
|
146
|
+
custom: |
|
|
147
|
+
- Hono API server
|
|
148
|
+
- Run `pnpm -F api dev` to start
|
|
149
|
+
- OpenAPI spec in `openapi.yaml`
|
|
150
|
+
testing:
|
|
151
|
+
custom: |
|
|
152
|
+
- Vitest for unit tests
|
|
153
|
+
- Integration tests require Docker
|
|
154
|
+
- Run `docker-compose up -d` first
|
|
155
|
+
|
|
156
|
+
- path: packages/ui
|
|
157
|
+
inherit: true
|
|
158
|
+
sections:
|
|
159
|
+
dev_environment:
|
|
160
|
+
custom: |
|
|
161
|
+
- Shared React component library
|
|
162
|
+
- Run `pnpm -F ui storybook` for component preview
|
|
163
|
+
- Uses Radix UI primitives
|
|
164
|
+
testing:
|
|
165
|
+
custom: |
|
|
166
|
+
- Storybook visual tests
|
|
167
|
+
- Run `pnpm -F ui test:visual`
|
|
168
|
+
|
|
169
|
+
cursor:
|
|
170
|
+
enabled: true
|
|
171
|
+
agent_type: composer
|
|
172
|
+
workspace_config:
|
|
173
|
+
context_files:
|
|
174
|
+
- "**/*.ts"
|
|
175
|
+
- "**/*.tsx"
|
|
176
|
+
- "**/package.json"
|
|
177
|
+
ignore_patterns:
|
|
178
|
+
- "**/node_modules/**"
|
|
179
|
+
- "**/dist/**"
|
|
180
|
+
- "**/.turbo/**"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
apiVersion: ossa/v0.2.
|
|
1
|
+
apiVersion: ossa/v0.2.9
|
|
2
2
|
kind: Agent
|
|
3
3
|
metadata:
|
|
4
4
|
name: ossa-validator
|
|
@@ -48,7 +48,7 @@ spec:
|
|
|
48
48
|
type: string
|
|
49
49
|
target_version:
|
|
50
50
|
type: string
|
|
51
|
-
default: "0.2.
|
|
51
|
+
default: "0.2.9"
|
|
52
52
|
required: [source_path]
|
|
53
53
|
|
|
54
54
|
tools:
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
# ============================================================================
|
|
38
38
|
|
|
39
39
|
# OSSA specification version - defines which features are available
|
|
40
|
-
apiVersion: ossa/v0.2.
|
|
40
|
+
apiVersion: ossa/v0.2.9
|
|
41
41
|
ossaVersion: "1.0"
|
|
42
42
|
|
|
43
43
|
# Agent metadata and configuration
|