@deimoscloud/coreai 0.1.8 → 0.1.10
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/dist/cli/index.js +5 -0
- package/dist/cli/index.js.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +6 -1
- package/.prettierrc +0 -9
- package/AGENT_SPEC.md +0 -347
- package/ARCHITECTURE.md +0 -547
- package/DRAFT_PRD.md +0 -1440
- package/IMPLEMENTATION_PLAN.md +0 -256
- package/PRODUCT.md +0 -473
- package/WORKFLOWS.md +0 -295
- package/commands/core/check-inbox.md +0 -34
- package/commands/core/delegate.md +0 -30
- package/commands/core/git-commit.md +0 -144
- package/commands/core/pr-create.md +0 -193
- package/commands/core/review.md +0 -56
- package/commands/core/sprint-status.md +0 -65
- package/commands/optional/docs-update.md +0 -200
- package/commands/optional/jira-create.md +0 -200
- package/commands/optional/jira-transition.md +0 -184
- package/commands/optional/worktree-cleanup.md +0 -167
- package/commands/optional/worktree-setup.md +0 -110
- package/eslint.config.js +0 -29
- package/jest.config.js +0 -22
- package/knowledge-library/README.md +0 -118
- package/knowledge-library/android-engineer/context/current.txt +0 -42
- package/knowledge-library/android-engineer/control/decisions.txt +0 -9
- package/knowledge-library/android-engineer/control/dependencies.txt +0 -19
- package/knowledge-library/android-engineer/control/objectives.txt +0 -26
- package/knowledge-library/android-engineer/history/.gitkeep +0 -0
- package/knowledge-library/android-engineer/inbox/processed/.gitkeep +0 -0
- package/knowledge-library/android-engineer/outbox/.gitkeep +0 -0
- package/knowledge-library/android-engineer/tech/.gitkeep +0 -0
- package/knowledge-library/architecture.txt +0 -61
- package/knowledge-library/backend-engineer/context/current.txt +0 -42
- package/knowledge-library/backend-engineer/control/decisions.txt +0 -9
- package/knowledge-library/backend-engineer/control/dependencies.txt +0 -19
- package/knowledge-library/backend-engineer/control/objectives.txt +0 -26
- package/knowledge-library/backend-engineer/history/.gitkeep +0 -0
- package/knowledge-library/backend-engineer/inbox/processed/.gitkeep +0 -0
- package/knowledge-library/backend-engineer/outbox/.gitkeep +0 -0
- package/knowledge-library/backend-engineer/tech/.gitkeep +0 -0
- package/knowledge-library/context.txt +0 -52
- package/knowledge-library/devops-engineer/context/current.txt +0 -42
- package/knowledge-library/devops-engineer/control/decisions.txt +0 -9
- package/knowledge-library/devops-engineer/control/dependencies.txt +0 -19
- package/knowledge-library/devops-engineer/control/objectives.txt +0 -26
- package/knowledge-library/devops-engineer/history/.gitkeep +0 -0
- package/knowledge-library/devops-engineer/inbox/processed/.gitkeep +0 -0
- package/knowledge-library/devops-engineer/outbox/.gitkeep +0 -0
- package/knowledge-library/devops-engineer/tech/.gitkeep +0 -0
- package/knowledge-library/engineering-manager/context/current.txt +0 -40
- package/knowledge-library/engineering-manager/control/decisions.txt +0 -9
- package/knowledge-library/engineering-manager/control/objectives.txt +0 -27
- package/knowledge-library/engineering-manager/history/.gitkeep +0 -0
- package/knowledge-library/engineering-manager/inbox/processed/.gitkeep +0 -0
- package/knowledge-library/engineering-manager/outbox/.gitkeep +0 -0
- package/knowledge-library/engineering-manager/tech/.gitkeep +0 -0
- package/knowledge-library/prd.txt +0 -81
- package/knowledge-library/product-manager/context/current.txt +0 -42
- package/knowledge-library/product-manager/control/decisions.txt +0 -9
- package/knowledge-library/product-manager/control/dependencies.txt +0 -19
- package/knowledge-library/product-manager/control/objectives.txt +0 -26
- package/knowledge-library/product-manager/history/.gitkeep +0 -0
- package/knowledge-library/product-manager/inbox/processed/.gitkeep +0 -0
- package/knowledge-library/product-manager/outbox/.gitkeep +0 -0
- package/knowledge-library/product-manager/tech/.gitkeep +0 -0
- package/knowledge-library/qa-engineer/context/current.txt +0 -42
- package/knowledge-library/qa-engineer/control/decisions.txt +0 -9
- package/knowledge-library/qa-engineer/control/dependencies.txt +0 -19
- package/knowledge-library/qa-engineer/control/objectives.txt +0 -26
- package/knowledge-library/qa-engineer/history/.gitkeep +0 -0
- package/knowledge-library/qa-engineer/inbox/processed/.gitkeep +0 -0
- package/knowledge-library/qa-engineer/outbox/.gitkeep +0 -0
- package/knowledge-library/qa-engineer/tech/.gitkeep +0 -0
- package/knowledge-library/security-engineer/context/current.txt +0 -42
- package/knowledge-library/security-engineer/control/decisions.txt +0 -9
- package/knowledge-library/security-engineer/control/dependencies.txt +0 -19
- package/knowledge-library/security-engineer/control/objectives.txt +0 -26
- package/knowledge-library/security-engineer/history/.gitkeep +0 -0
- package/knowledge-library/security-engineer/inbox/processed/.gitkeep +0 -0
- package/knowledge-library/security-engineer/outbox/.gitkeep +0 -0
- package/knowledge-library/security-engineer/tech/.gitkeep +0 -0
- package/knowledge-library/solutions-architect/context/current.txt +0 -42
- package/knowledge-library/solutions-architect/control/decisions.txt +0 -9
- package/knowledge-library/solutions-architect/control/dependencies.txt +0 -19
- package/knowledge-library/solutions-architect/control/objectives.txt +0 -26
- package/knowledge-library/solutions-architect/history/.gitkeep +0 -0
- package/knowledge-library/solutions-architect/inbox/processed/.gitkeep +0 -0
- package/knowledge-library/solutions-architect/outbox/.gitkeep +0 -0
- package/knowledge-library/solutions-architect/tech/.gitkeep +0 -0
- package/knowledge-library/wearos-engineer/context/current.txt +0 -42
- package/knowledge-library/wearos-engineer/control/decisions.txt +0 -9
- package/knowledge-library/wearos-engineer/control/dependencies.txt +0 -19
- package/knowledge-library/wearos-engineer/control/objectives.txt +0 -26
- package/knowledge-library/wearos-engineer/history/.gitkeep +0 -0
- package/knowledge-library/wearos-engineer/inbox/processed/.gitkeep +0 -0
- package/knowledge-library/wearos-engineer/outbox/.gitkeep +0 -0
- package/knowledge-library/wearos-engineer/tech/.gitkeep +0 -0
- package/scripts/add-agent.sh +0 -323
- package/scripts/install.sh +0 -354
- package/src/adapters/factory.test.ts +0 -386
- package/src/adapters/factory.ts +0 -305
- package/src/adapters/index.ts +0 -113
- package/src/adapters/interfaces.ts +0 -268
- package/src/adapters/mcp/client.test.ts +0 -130
- package/src/adapters/mcp/client.ts +0 -451
- package/src/adapters/mcp/discovery.test.ts +0 -315
- package/src/adapters/mcp/discovery.ts +0 -340
- package/src/adapters/mcp/index.ts +0 -66
- package/src/adapters/mcp/mapper.test.ts +0 -218
- package/src/adapters/mcp/mapper.ts +0 -536
- package/src/adapters/mcp/registry.test.ts +0 -433
- package/src/adapters/mcp/registry.ts +0 -550
- package/src/adapters/mcp/types.ts +0 -258
- package/src/adapters/native/filesystem.test.ts +0 -350
- package/src/adapters/native/filesystem.ts +0 -393
- package/src/adapters/native/github.test.ts +0 -173
- package/src/adapters/native/github.ts +0 -627
- package/src/adapters/native/index.ts +0 -22
- package/src/adapters/native/selector.test.ts +0 -224
- package/src/adapters/native/selector.ts +0 -150
- package/src/adapters/types.ts +0 -270
- package/src/agents/compiler.test.ts +0 -399
- package/src/agents/compiler.ts +0 -422
- package/src/agents/index.ts +0 -37
- package/src/agents/loader.test.ts +0 -319
- package/src/agents/loader.ts +0 -143
- package/src/agents/resolver.test.ts +0 -282
- package/src/agents/resolver.ts +0 -262
- package/src/agents/types.ts +0 -97
- package/src/cache/index.ts +0 -38
- package/src/cache/interfaces.ts +0 -283
- package/src/cache/manager.test.ts +0 -266
- package/src/cache/manager.ts +0 -388
- package/src/cache/provider.test.ts +0 -485
- package/src/cache/provider.ts +0 -745
- package/src/cache/types.test.ts +0 -192
- package/src/cache/types.ts +0 -313
- package/src/cli/commands/build.test.ts +0 -248
- package/src/cli/commands/build.ts +0 -284
- package/src/cli/commands/cache.test.ts +0 -221
- package/src/cli/commands/cache.ts +0 -229
- package/src/cli/commands/index.ts +0 -63
- package/src/cli/commands/init.test.ts +0 -173
- package/src/cli/commands/init.ts +0 -296
- package/src/cli/commands/skills.test.ts +0 -272
- package/src/cli/commands/skills.ts +0 -348
- package/src/cli/commands/status.test.ts +0 -392
- package/src/cli/commands/status.ts +0 -332
- package/src/cli/commands/sync.test.ts +0 -213
- package/src/cli/commands/sync.ts +0 -251
- package/src/cli/commands/validate.test.ts +0 -216
- package/src/cli/commands/validate.ts +0 -340
- package/src/cli/index.test.ts +0 -190
- package/src/cli/index.ts +0 -493
- package/src/commands/context.test.ts +0 -163
- package/src/commands/context.ts +0 -111
- package/src/commands/index.ts +0 -56
- package/src/commands/loader.test.ts +0 -273
- package/src/commands/loader.ts +0 -355
- package/src/commands/registry.test.ts +0 -384
- package/src/commands/registry.ts +0 -248
- package/src/commands/runner.test.ts +0 -297
- package/src/commands/runner.ts +0 -222
- package/src/commands/types.ts +0 -361
- package/src/config/index.ts +0 -19
- package/src/config/loader.test.ts +0 -262
- package/src/config/loader.ts +0 -188
- package/src/config/types.ts +0 -154
- package/src/context/index.ts +0 -14
- package/src/context/loader.test.ts +0 -334
- package/src/context/loader.ts +0 -357
- package/src/index.test.ts +0 -13
- package/src/index.ts +0 -268
- package/src/knowledge-library/index.ts +0 -44
- package/src/knowledge-library/manager.test.ts +0 -536
- package/src/knowledge-library/manager.ts +0 -804
- package/src/knowledge-library/types.ts +0 -432
- package/src/skills/generator.test.ts +0 -602
- package/src/skills/generator.ts +0 -491
- package/src/skills/index.ts +0 -27
- package/src/skills/templates.ts +0 -520
- package/src/skills/types.ts +0 -251
- package/templates/completion-report.md +0 -72
- package/templates/feedback.md +0 -56
- package/templates/project-files/CLAUDE.md.template +0 -109
- package/templates/project-files/coreai.json.example +0 -47
- package/templates/project-files/mcp.json.template +0 -20
- package/templates/review-complete.md +0 -64
- package/templates/review-request.md +0 -67
- package/templates/task-assignment.md +0 -51
- package/tsconfig.build.json +0 -4
- package/tsconfig.json +0 -26
- package/tsup.config.ts +0 -23
package/IMPLEMENTATION_PLAN.md
DELETED
|
@@ -1,256 +0,0 @@
|
|
|
1
|
-
# CoreAI Platform - Implementation Plan
|
|
2
|
-
|
|
3
|
-
## Phase 1: Core Platform (MVP)
|
|
4
|
-
|
|
5
|
-
### Epic 1: Project Foundation
|
|
6
|
-
|
|
7
|
-
#### 1.1 Initialize TypeScript/Node.js Project ✅
|
|
8
|
-
- [x] Initialize npm package with `@deimoscloud/coreai` name
|
|
9
|
-
- [x] Set up TypeScript configuration
|
|
10
|
-
- [x] Configure ESLint + Prettier
|
|
11
|
-
- [x] Set up Jest for testing
|
|
12
|
-
- [x] Create basic CLI entry point using Commander.js or similar
|
|
13
|
-
- [x] Set up build pipeline (tsup or similar)
|
|
14
|
-
|
|
15
|
-
#### 1.2 Configuration Schema ✅
|
|
16
|
-
- [x] Define JSON schema for `coreai.config.yaml`
|
|
17
|
-
- [x] Implement YAML parser with schema validation
|
|
18
|
-
- [x] Create TypeScript types from schema
|
|
19
|
-
- [x] Add config file discovery (walk up directory tree)
|
|
20
|
-
- [x] Implement config defaults and merging
|
|
21
|
-
|
|
22
|
-
**Deliverable:** `coreai init` command that creates a valid `coreai.config.yaml`
|
|
23
|
-
|
|
24
|
-
---
|
|
25
|
-
|
|
26
|
-
### Epic 2: Agent System ✅
|
|
27
|
-
|
|
28
|
-
#### 2.1 Agent YAML Schema
|
|
29
|
-
- [x] Define JSON schema for agent YAML definitions
|
|
30
|
-
- [x] Create core agent definitions (refactor from current .md files):
|
|
31
|
-
- [x] backend-engineer.yaml
|
|
32
|
-
- [x] frontend-engineer.yaml
|
|
33
|
-
- [x] devops-engineer.yaml
|
|
34
|
-
- [x] engineering-manager.yaml
|
|
35
|
-
- [x] Implement variable resolution (`${config.*}`, `${agent.*}`, `${remote.*}`)
|
|
36
|
-
|
|
37
|
-
#### 2.2 Agent Compiler (YAML → Markdown)
|
|
38
|
-
- [x] Build compiler that transforms YAML to Claude-compatible .md
|
|
39
|
-
- [x] Handle context source injection (remote + local paths)
|
|
40
|
-
- [x] Support agent customization from config overrides
|
|
41
|
-
- [x] Support custom agents from `coreai/agents/` directory
|
|
42
|
-
|
|
43
|
-
#### 2.3 Agent Commands ✅
|
|
44
|
-
- [x] `coreai build` - compile all agents to `.claude/agents/`
|
|
45
|
-
- [x] `coreai agents list` - show available agents
|
|
46
|
-
- [x] `coreai agents show <name>` - display agent details
|
|
47
|
-
|
|
48
|
-
**Deliverable:** Running `coreai build` generates `.claude/agents/*.md` files from YAML definitions ✅
|
|
49
|
-
|
|
50
|
-
---
|
|
51
|
-
|
|
52
|
-
### Epic 3: Integration Adapter Framework ✅
|
|
53
|
-
|
|
54
|
-
#### 3.1 Adapter Interfaces
|
|
55
|
-
- [x] Define `IssueTracker` interface
|
|
56
|
-
- [x] Define `GitProvider` interface
|
|
57
|
-
- [x] Define `DocumentationProvider` interface
|
|
58
|
-
- [x] Create adapter factory with provider selection logic
|
|
59
|
-
|
|
60
|
-
#### 3.2 MCP Integration Layer
|
|
61
|
-
- [x] Create MCP client wrapper
|
|
62
|
-
- [x] Implement server discovery (from claude config)
|
|
63
|
-
- [x] Build tool mapping system for supported servers
|
|
64
|
-
- [x] Add auto-discovery for unknown servers (with confidence scoring)
|
|
65
|
-
|
|
66
|
-
#### 3.3 MCP Server Registry
|
|
67
|
-
- [x] Create supported servers registry structure
|
|
68
|
-
- [x] Add mapping for `@modelcontextprotocol/server-github`
|
|
69
|
-
- [x] Research and add Jira MCP server mapping
|
|
70
|
-
- [x] Add mapping for Confluence MCP server
|
|
71
|
-
|
|
72
|
-
#### 3.4 Native Adapter Fallbacks (minimal for MVP)
|
|
73
|
-
- [x] GitHub native adapter (for when MCP unavailable)
|
|
74
|
-
- [x] Local filesystem adapter (offline/testing)
|
|
75
|
-
|
|
76
|
-
**Deliverable:** Commands can call `context.getAdapter('issue_tracker')` and get working adapter ✅
|
|
77
|
-
|
|
78
|
-
---
|
|
79
|
-
|
|
80
|
-
### Epic 4: Shared Context & Cache ✅
|
|
81
|
-
|
|
82
|
-
#### 4.1 Cache System
|
|
83
|
-
- [x] Create `.coreai/cache/` directory structure
|
|
84
|
-
- [x] Implement cache read/write operations
|
|
85
|
-
- [x] Add cache metadata (timestamps, source URLs)
|
|
86
|
-
|
|
87
|
-
#### 4.2 Context Loader
|
|
88
|
-
- [x] Implement remote context fetching via DocumentationProvider
|
|
89
|
-
- [x] Cache-first resolution with remote fallback
|
|
90
|
-
- [x] Handle missing cache (first run) gracefully
|
|
91
|
-
|
|
92
|
-
#### 4.3 Sync Commands
|
|
93
|
-
- [x] `coreai sync` - refresh cache from remote
|
|
94
|
-
- [x] `coreai sync --force` - clear and refresh
|
|
95
|
-
- [x] `coreai cache clear` - remove local cache
|
|
96
|
-
- [x] `coreai cache status` - show cache state
|
|
97
|
-
|
|
98
|
-
**Deliverable:** Agents can reference remote docs that are cached locally ✅
|
|
99
|
-
|
|
100
|
-
---
|
|
101
|
-
|
|
102
|
-
### Epic 5: Commands & Skills ✅
|
|
103
|
-
|
|
104
|
-
#### 5.1 Command Framework
|
|
105
|
-
- [x] Create command registration system
|
|
106
|
-
- [x] Implement runtime config reading
|
|
107
|
-
- [x] Add graceful degradation (skip steps if integration missing)
|
|
108
|
-
- [x] Support project-specific commands from `coreai/commands/`
|
|
109
|
-
|
|
110
|
-
#### 5.2 Core Commands
|
|
111
|
-
- [x] `coreai init` - initialize new project
|
|
112
|
-
- [x] `coreai build` - compile agents
|
|
113
|
-
- [x] `coreai sync` - sync shared context
|
|
114
|
-
- [x] `coreai validate` - validate config and setup
|
|
115
|
-
|
|
116
|
-
#### 5.3 Skill Generation
|
|
117
|
-
- [x] Generate Claude skills from config
|
|
118
|
-
- [x] Output to `.claude/commands/` directory
|
|
119
|
-
- [x] Skills adapt based on configured integrations
|
|
120
|
-
|
|
121
|
-
**Deliverable:** `coreai init && coreai build` sets up a working project ✅
|
|
122
|
-
|
|
123
|
-
---
|
|
124
|
-
|
|
125
|
-
### Epic 6: Local State (KnowledgeLibrary) ✅
|
|
126
|
-
|
|
127
|
-
#### 6.1 Directory Structure
|
|
128
|
-
- [x] Define KnowledgeLibrary structure per agent
|
|
129
|
-
- [x] Create initialization for new agents
|
|
130
|
-
- [x] Handle inbox/outbox directories
|
|
131
|
-
|
|
132
|
-
#### 6.2 State Commands
|
|
133
|
-
- [x] `coreai status` - show agent states, pending messages
|
|
134
|
-
- [x] Integration with agent build (ensure directories exist)
|
|
135
|
-
|
|
136
|
-
**Deliverable:** Local agent working state functions as before ✅
|
|
137
|
-
|
|
138
|
-
---
|
|
139
|
-
|
|
140
|
-
## Implementation Order (Suggested)
|
|
141
|
-
|
|
142
|
-
```
|
|
143
|
-
Week 1-2: Epic 1 (Foundation)
|
|
144
|
-
└── Basic CLI, config schema, project structure
|
|
145
|
-
|
|
146
|
-
Week 3-4: Epic 2 (Agent System)
|
|
147
|
-
└── YAML schema, compiler, core agents
|
|
148
|
-
|
|
149
|
-
Week 5-6: Epic 3 (Adapters)
|
|
150
|
-
└── Interfaces, MCP integration, GitHub adapter
|
|
151
|
-
|
|
152
|
-
Week 7-8: Epic 4 (Context & Cache)
|
|
153
|
-
└── Cache system, sync commands
|
|
154
|
-
|
|
155
|
-
Week 9-10: Epic 5 (Commands)
|
|
156
|
-
└── Command framework, skill generation
|
|
157
|
-
|
|
158
|
-
Week 11-12: Epic 6 (Local State) + Integration Testing
|
|
159
|
-
└── KnowledgeLibrary, end-to-end testing
|
|
160
|
-
```
|
|
161
|
-
|
|
162
|
-
---
|
|
163
|
-
|
|
164
|
-
## Definition of Done (Phase 1 MVP)
|
|
165
|
-
|
|
166
|
-
- [x] Engineer can run `npm install -g @deimoscloud/coreai`
|
|
167
|
-
- [x] Engineer can run `coreai init` in a new project
|
|
168
|
-
- [x] Engineer can configure integrations in `coreai.config.yaml`
|
|
169
|
-
- [x] Engineer can run `coreai build` to generate agent files
|
|
170
|
-
- [x] Engineer can run `coreai sync` to fetch shared context
|
|
171
|
-
- [x] Generated agents work with Claude Code
|
|
172
|
-
- [x] At least GitHub integration works end-to-end
|
|
173
|
-
- [ ] Documentation covers setup and configuration (in progress)
|
|
174
|
-
|
|
175
|
-
---
|
|
176
|
-
|
|
177
|
-
## Project Tooling
|
|
178
|
-
|
|
179
|
-
| Need | Decision |
|
|
180
|
-
|------|----------|
|
|
181
|
-
| Issue tracking | GitHub Issues |
|
|
182
|
-
| Git provider | GitHub |
|
|
183
|
-
| Documentation | Markdown in repo |
|
|
184
|
-
|
|
185
|
-
Lightweight approach for now. Will dogfood Jira/Confluence integrations once they're built.
|
|
186
|
-
|
|
187
|
-
---
|
|
188
|
-
|
|
189
|
-
## Open Implementation Questions
|
|
190
|
-
|
|
191
|
-
1. **CLI framework** - Commander.js, oclif, or yargs?
|
|
192
|
-
|
|
193
|
-
**Answer:** Commander.js - lightweight, widely known, sufficient for our needs.
|
|
194
|
-
|
|
195
|
-
2. **MCP client** - Use existing SDK or implement minimal client?
|
|
196
|
-
|
|
197
|
-
**Answer:** Official MCP SDK (`@modelcontextprotocol/sdk`) - handles protocol evolution, edge cases, and reduces maintenance burden.
|
|
198
|
-
|
|
199
|
-
3. **Testing strategy** - Unit tests + integration tests with mocked MCP?
|
|
200
|
-
|
|
201
|
-
**Answer:** Unit + Mocked integration tests. Unit tests for pure logic (config, compiler), mocked integration for adapters. Jest as test framework. No real API calls in tests.
|
|
202
|
-
|
|
203
|
-
4. **Monorepo vs single package** - One package or split (core, cli, adapters)?
|
|
204
|
-
|
|
205
|
-
**Answer:** Single package (`@deimoscloud/coreai`) for MVP. Simpler tooling, one install command. Can split later if needed based on real usage patterns.
|
|
206
|
-
|
|
207
|
-
---
|
|
208
|
-
|
|
209
|
-
## Files to Create (Initial Structure)
|
|
210
|
-
|
|
211
|
-
```
|
|
212
|
-
coreai/
|
|
213
|
-
├── package.json
|
|
214
|
-
├── tsconfig.json
|
|
215
|
-
├── src/
|
|
216
|
-
│ ├── cli/
|
|
217
|
-
│ │ ├── index.ts # Entry point
|
|
218
|
-
│ │ └── commands/
|
|
219
|
-
│ │ ├── init.ts
|
|
220
|
-
│ │ ├── build.ts
|
|
221
|
-
│ │ ├── sync.ts
|
|
222
|
-
│ │ └── validate.ts
|
|
223
|
-
│ ├── config/
|
|
224
|
-
│ │ ├── schema.ts # JSON schema
|
|
225
|
-
│ │ ├── loader.ts # Config loading
|
|
226
|
-
│ │ └── types.ts # TypeScript types
|
|
227
|
-
│ ├── agents/
|
|
228
|
-
│ │ ├── schema.ts # Agent YAML schema
|
|
229
|
-
│ │ ├── compiler.ts # YAML → MD compiler
|
|
230
|
-
│ │ └── definitions/ # Core agent YAMLs
|
|
231
|
-
│ ├── adapters/
|
|
232
|
-
│ │ ├── interfaces.ts # IssueTracker, GitProvider, etc.
|
|
233
|
-
│ │ ├── factory.ts # Adapter creation
|
|
234
|
-
│ │ ├── mcp/
|
|
235
|
-
│ │ │ ├── client.ts # MCP client wrapper
|
|
236
|
-
│ │ │ └── registry.ts # Supported servers
|
|
237
|
-
│ │ └── native/
|
|
238
|
-
│ │ ├── github.ts
|
|
239
|
-
│ │ └── filesystem.ts
|
|
240
|
-
│ ├── context/
|
|
241
|
-
│ │ ├── cache.ts # Cache operations
|
|
242
|
-
│ │ └── loader.ts # Context resolution
|
|
243
|
-
│ └── state/
|
|
244
|
-
│ └── knowledge-library.ts
|
|
245
|
-
├── schemas/
|
|
246
|
-
│ ├── coreai.config.schema.json
|
|
247
|
-
│ └── agent.schema.json
|
|
248
|
-
└── agents/ # Core agent definitions
|
|
249
|
-
├── backend-engineer.yaml
|
|
250
|
-
├── frontend-engineer.yaml
|
|
251
|
-
└── ...
|
|
252
|
-
```
|
|
253
|
-
|
|
254
|
-
---
|
|
255
|
-
|
|
256
|
-
*Generated from DRAFT_PRD.md decisions*
|