oneie 1.3.3 → 1.4.0
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/.claude/agents/engineering-architect.md +39 -56
- package/.claude/agents/engineering-developer.md +37 -57
- package/.claude/agents/engineering-director.md +37 -144
- package/.claude/agents/engineering-ingestor.md +229 -0
- package/.claude/agents/engineering-quality-assurance.md +40 -206
- package/.claude/agents/engineering-user-experience.md +36 -207
- package/.claude/agents/improver.md +454 -0
- package/.claude/agents/marketing-brand-identity.md +37 -48
- package/.claude/agents/marketing-director.md +9 -0
- package/.claude/agents/one-orchestrator.md +50 -136
- package/.claude/agents/story-teller.md +10 -0
- package/.claude/agents/task-master.md +10 -0
- package/.claude/agents/turbo-repo-builder.md +51 -0
- package/.claude/claude-code-hooks.json +20 -233
- package/.claude/commands/agent-balance +111 -0
- package/.claude/commands/agent.md +24 -7
- package/.claude/commands/cascade-status.md +128 -0
- package/.claude/commands/ingest.md +290 -0
- package/.claude/commands/ingestor.md +136 -0
- package/.claude/commands/mission.md +26 -8
- package/.claude/commands/one.md +351 -14
- package/.claude/commands/quality-check.md +204 -0
- package/.claude/commands/smart-route.md +220 -0
- package/.claude/commands/start.md +9 -8
- package/.claude/commands/story.md +18 -3
- package/.claude/commands/task.md +22 -1
- package/.claude/settings.local.json +18 -3
- package/.obsidian/core-plugins.json +3 -1
- package/.one/checklists/agent-quality-checklist.md +24 -15
- package/.one/checklists/story-quality-checklist.md +24 -15
- package/.one/checklists/task-quality-checklist.md +24 -15
- package/.one/templates/bun-workspace-guide-template.md +188 -0
- package/.one/templates/bunfig-template.toml +95 -0
- package/.one/templates/root-package-template.json +37 -21
- package/.one/templates/turbo-config-template.json +18 -3
- package/.one/tools/bump-core-version.js +0 -0
- package/.one/tools/bump-expansion-version.js +0 -0
- package/.one/tools/code-generators.js +0 -0
- package/.one/tools/compression-engine.js +638 -0
- package/.one/tools/content-deduplicator.js +336 -0
- package/.one/tools/convert-wav-to-mp3.js +0 -0
- package/.one/tools/foundation-wizard.js +0 -0
- package/.one/tools/generate-toc.js +0 -0
- package/.one/tools/ingestor/cascade-integration.js +523 -0
- package/.one/tools/ingestor/cli.ts +234 -0
- package/.one/tools/ingestor/context-mapper.ts +604 -0
- package/.one/tools/ingestor/error-handling-monitor.js +742 -0
- package/.one/tools/ingestor/file-discovery.ts +484 -0
- package/.one/tools/ingestor/file-transformer.ts +524 -0
- package/.one/tools/ingestor/ingestor-orchestrator.ts +416 -0
- package/.one/tools/ingestor/package.json +47 -0
- package/.one/tools/ingestor/usage-examples.md +458 -0
- package/.one/tools/lazy-loader.js +489 -0
- package/.one/tools/minimal-generators.js +0 -0
- package/.one/tools/performance-benchmark.js +300 -0
- package/.one/tools/premium-manager.js +0 -0
- package/.one/tools/semantic-release-sync-installer.js +0 -0
- package/.one/tools/size-memory-optimizer.js +475 -0
- package/.one/tools/sync-installer-version.js +0 -0
- package/.one/tools/text-to-speech.js +0 -0
- package/.one/tools/transformative-ai-engine.js +0 -0
- package/.one/workflows/safe-improvement-deployment.yaml +420 -0
- package/CLAUDE.md +30 -0
- package/README.md +41 -10
- package/bin/oneie/index.js +733 -64
- package/one/cache/benchmark-results.json +43 -0
- package/one/cache/file-index.json +12480 -0
- package/one/config/agent-routing.yaml +124 -0
- package/one/config/agent-skills.yaml +451 -0
- package/one/config/cache-config.yaml +304 -0
- package/one/config/feedback-templates.yaml +152 -0
- package/one/config/performance-config.yaml +281 -0
- package/one/config/quality-automation.yaml +405 -0
- package/one/config/routing-logic.yaml +292 -0
- package/one/data/task-registry.yaml +224 -0
- package/one/stories/story-1.10-parallel-task-execution-orchestration.md +119 -0
- package/one/stories/story-3.1-external-repository-foundation.md +374 -0
- package/one/stories/story-3.2-3-levels-architecture-integration.md +449 -0
- package/one/stories/story-3.3-multi-platform-application-development.md +677 -0
- package/one/stories/story-3.4-shared-package-system-ui-components.md +854 -0
- package/one/stories/story-3.5-backend-integration-production-deployment.md +1034 -0
- package/one/tasks/task-1.10.1-design-parallel-execution-architecture.md +108 -0
- package/one/tasks/task-1.10.2-create-task-dependency-mapping-system.md +82 -0
- package/one/tasks/task-1.10.3-build-agent-spawning-orchestration-engine.md +120 -0
- package/one/tasks/task-1.10.4-implement-task-queue-dependency-resolution.md +125 -0
- package/one/tasks/task-1.10.5-create-task-numbering-convention-system.md +542 -0
- package/one/tasks/task-3.1.1-external-repository-creation.md +303 -0
- package/one/tasks/task-3.1.2-turborepo-configuration-optimization.md +402 -0
- package/one/tasks/task-3.1.3-shared-configuration-packages.md +571 -0
- package/one/tasks/task-3.1.4-bun-package-management-optimization.md +627 -0
- package/one/tools/task-numbering-validator.js +429 -0
- package/package.json +1 -1
- package/quality-gate-optimization-analysis.md +260 -0
- package/turbo-benchmark.js +268 -0
- package/turbo-optimization-guide.md +163 -0
- package/turbo-workspace-template.json +83 -0
- package/turbo.json +178 -0
- package/.claude/commands/analyst.md +0 -70
- package/.claude/commands/architect.md +0 -67
- package/.claude/commands/commander.md +0 -78
- package/.claude/commands/deploy.md +0 -68
- package/.claude/commands/dev.md +0 -60
- package/.claude/commands/playbook.md +0 -81
- package/.claude/commands/pm.md +0 -64
- package/.claude/commands/po.md +0 -68
- package/.claude/commands/qa.md +0 -59
- package/.claude/commands/taskmaster.md +0 -85
- package/.claude/commands/ux-expert.md +0 -58
- package/.one/stories/bullstamp-attract-module-complete.md +0 -255
- package/.one/stories/bullstamp-deployment-master-plan.md +0 -518
- package/.one/stories/bullstamp-executive-implementation-summary.md +0 -254
- package/.one/stories/bullstamp-project-status-complete.md +0 -257
- package/.one/stories/obsidian-pandoc-config.md +0 -159
- package/.one/stories/story-1.1-perfect-filesystem-organization.md +0 -270
- package/.one/stories/story-1.1.1.md +0 -136
- package/.one/stories/story-1.1.md +0 -131
- package/.one/stories/story-1.2.md +0 -420
- package/.one/stories/story-1.3.md +0 -177
- package/.one/stories/story-1.4.md +0 -356
- package/.one/stories/story-1.5.md +0 -572
- package/.one/stories/story-1.6.md +0 -481
- package/.one/stories/story-1.7.md +0 -923
- package/.one/stories/story-1.8.md +0 -404
- package/.one/stories/story-2.0.md +0 -132
- package/.one/stories/story-2.1.md +0 -110
- package/.one/stories/story-2.2.md +0 -110
- package/.one/stories/story-2.3.md +0 -112
- package/.one/stories/story-2.4.md +0 -116
- package/.one/stories/story-2.5.md +0 -114
- package/.one/stories/story-3.1.md +0 -298
- package/.one/stories/story-3.10.md +0 -302
- package/.one/stories/story-3.11.md +0 -167
- package/.one/stories/story-3.12.md +0 -235
- package/.one/stories/story-3.13.md +0 -235
- package/.one/stories/story-3.14.md +0 -225
- package/.one/stories/story-3.15.md +0 -238
- package/.one/stories/story-3.16.md +0 -244
- package/.one/stories/story-3.17.md +0 -245
- package/.one/stories/story-3.18.md +0 -248
- package/.one/stories/story-3.2.md +0 -226
- package/.one/stories/story-3.3.md +0 -226
- package/.one/stories/story-3.4.md +0 -226
- package/.one/stories/story-3.5.md +0 -167
- package/.one/stories/story-3.6.md +0 -167
- package/.one/stories/story-3.7.md +0 -181
- package/.one/stories/story-3.8.md +0 -198
- package/.one/stories/story-3.9.md +0 -169
- package/.one/stories/story-4.1.md +0 -245
- package/.one/stories/story-4.2.md +0 -314
- package/.one/stories/story-4.3.md +0 -610
- package/.one/stories/story-4.4.md +0 -931
- package/.one/stories/story-4.5.md +0 -727
- package/.one/stories/story-4.6-consistency.md +0 -175
- package/.one/stories/story-5.1.md +0 -508
- package/.one/stories/story-5.2.md +0 -451
- package/.one/stories/story-5.3.md +0 -405
- package/.one/stories/story-5.4.md +0 -447
- package/.one/stories/story-5.5.md +0 -349
- package/.one/stories/story-5.6.md +0 -445
- package/.one/stories/story-6.1-text-content-engine.md +0 -144
- package/.one/stories/story-6.2-audio-content-engine.md +0 -145
- package/.one/stories/story-6.3-video-content-engine.md +0 -145
- package/.one/stories/story-6.4-visual-content-engine.md +0 -177
- package/.one/stories/story-6.5-cross-platform-distribution.md +0 -188
- package/.one/stories/story-6.6.ai-content-generation-pipeline.md +0 -196
- package/.one/stories/story-6.7-character-consistency-quality-control.md +0 -216
- package/.one/stories/story-6.8-claude-code-content-integration.md +0 -181
- package/.one/stories/story-6.8-content-production-workflows.md +0 -247
- package/.one/stories/story-7.1-implementation.md +0 -128
- package/.one/stories/story-7.1.md +0 -203
- package/.one/stories/story-7.2-implementation.md +0 -147
- package/.one/stories/story-7.2.md +0 -415
- package/.one/stories/story-7.3-implementation.md +0 -159
- package/.one/stories/story-7.3.md +0 -463
- package/.one/stories/story-7.4-implementation.md +0 -154
- package/.one/stories/story-7.4.md +0 -500
- package/.one/stories/story-validation-report.md +0 -169
- package/one/archive-index.json +0 -91
- /package/one/stories/{story-3.1-npx-oneie-turbo-enhancement.md → story-2.1.1-npx-oneie-turbo-enhancement.md} +0 -0
- /package/one/stories/{story-3.2-npx-connection-implementation.md → story-2.21-npx-connection-implementation.md} +0 -0
|
@@ -1,8 +1,25 @@
|
|
|
1
|
-
# /agent
|
|
1
|
+
# /agent - Direct Agent Access with Real-time Status
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
🤖 **Quick access to AI specialists with live activity tracking**
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
*Alternative to `/one` > 4. Get Agent Help for direct agent connection*
|
|
6
|
+
|
|
7
|
+
## 📊 Real-time Agent Status
|
|
8
|
+
|
|
9
|
+
### Agent Activity Dashboard
|
|
10
|
+
```
|
|
11
|
+
🤖 Agent Status Overview:
|
|
12
|
+
🟢 Engineering Architect: Ready | Available for new tasks
|
|
13
|
+
🟡 Content Creator: Working | "Blog Posts" (ETA: 5 min)
|
|
14
|
+
🔴 UI Designer: Busy | 3 tasks queued
|
|
15
|
+
⚪ Data Analyst: Offline | Maintenance mode
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
### Live Coordination
|
|
19
|
+
- **Availability Tracking**: Real-time agent status and workload
|
|
20
|
+
- **Task Assignments**: Current tasks and completion estimates
|
|
21
|
+
- **Performance Metrics**: Quality scores and success rates
|
|
22
|
+
- **Queue Management**: Task prioritization and scheduling
|
|
6
23
|
|
|
7
24
|
When this command is used:
|
|
8
25
|
|
|
@@ -13,10 +30,10 @@ When this command is used:
|
|
|
13
30
|
|
|
14
31
|
```yaml
|
|
15
32
|
activation:
|
|
16
|
-
-
|
|
17
|
-
-
|
|
18
|
-
-
|
|
19
|
-
-
|
|
33
|
+
- Display: "💡 TIP: Use /one for complete agent directory (112+ specialists)"
|
|
34
|
+
- Show user's personalized Top 8 agents
|
|
35
|
+
- Enable direct agent connection
|
|
36
|
+
- Provide path to browse full agent directory
|
|
20
37
|
|
|
21
38
|
display:
|
|
22
39
|
agent_roster: |
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
# /cascade-status - Real-time Cascade Progress Tracking
|
|
2
|
+
|
|
3
|
+
Check the status of your Mission→Story→Task→Agent workflows with clear progress indicators and quality tracking.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
/cascade-status [mission-id]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Features
|
|
12
|
+
|
|
13
|
+
### 📊 Progress Indicators
|
|
14
|
+
- **Mission Progress**: "Mission 2 of 5 Complete"
|
|
15
|
+
- **Story Progress**: "Story 3 of 8 In Progress"
|
|
16
|
+
- **Task Progress**: "Task 5 of 12 Pending"
|
|
17
|
+
- **Agent Status**: "🤖 Engineering Agent: Active"
|
|
18
|
+
|
|
19
|
+
### ⭐ Quality Score Tracking
|
|
20
|
+
- **Mission Quality**: "✅ Mission 1: Complete (4.5⭐)"
|
|
21
|
+
- **Story Quality**: "🔄 Story 2: In Review (3.8⭐)"
|
|
22
|
+
- **Task Quality**: "⏳ Task 3: Pending Review"
|
|
23
|
+
- **Agent Quality**: "✅ Agent Output: Validated (4.2⭐)"
|
|
24
|
+
|
|
25
|
+
### 🔄 Real-time Status Updates
|
|
26
|
+
- **Active Workflows**: Shows currently running cascades
|
|
27
|
+
- **Queue Status**: Pending tasks and agent assignments
|
|
28
|
+
- **Completion Timeline**: Estimated completion times
|
|
29
|
+
- **Bottleneck Detection**: Identifies workflow delays
|
|
30
|
+
|
|
31
|
+
## Example Output
|
|
32
|
+
|
|
33
|
+
```
|
|
34
|
+
📊 CASCADE STATUS DASHBOARD
|
|
35
|
+
==========================
|
|
36
|
+
|
|
37
|
+
🎯 Mission: "Build AI-Powered Marketing System" (Mission 2 of 3)
|
|
38
|
+
Status: 🔄 IN PROGRESS | Quality: 4.1⭐ | 67% Complete
|
|
39
|
+
|
|
40
|
+
📖 Stories Progress:
|
|
41
|
+
✅ Story 1: "Marketing Agent Design" (4.5⭐) Complete
|
|
42
|
+
🔄 Story 2: "Content Generation System" (3.8⭐) In Progress
|
|
43
|
+
⏳ Story 3: "Analytics Dashboard" Pending
|
|
44
|
+
|
|
45
|
+
✅ Tasks Progress (5 of 8 Complete):
|
|
46
|
+
✅ Task 1: Agent Architecture → 🤖 Engineering Architect (4.2⭐)
|
|
47
|
+
✅ Task 2: UI Components → 🤖 UI Designer (4.4⭐)
|
|
48
|
+
🔄 Task 3: Content Templates → 🤖 Content Creator (Loading...)
|
|
49
|
+
⏳ Task 4: Database Schema → 🤖 Data Architect (Queued)
|
|
50
|
+
⏳ Task 5: Testing Suite → 🤖 QA Engineer (Queued)
|
|
51
|
+
|
|
52
|
+
🤖 Agent Status:
|
|
53
|
+
🟢 Engineering Architect: Ready
|
|
54
|
+
🟢 UI Designer: Ready
|
|
55
|
+
🟡 Content Creator: Working (ETA: 2 min)
|
|
56
|
+
🔴 Data Architect: Waiting for Task 3
|
|
57
|
+
🔴 QA Engineer: Waiting for Task 4
|
|
58
|
+
|
|
59
|
+
📈 Overall Progress: 67% Complete | ETA: 8 minutes
|
|
60
|
+
🎯 Next Action: Review Task 3 output for quality gate approval
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
## Status Indicators
|
|
64
|
+
|
|
65
|
+
### Mission Status
|
|
66
|
+
- 🎯 **PLANNING** - Mission being defined
|
|
67
|
+
- 🔄 **IN PROGRESS** - Stories actively being executed
|
|
68
|
+
- ⏳ **PENDING** - Waiting for dependencies
|
|
69
|
+
- ✅ **COMPLETE** - All stories finished and validated
|
|
70
|
+
- ❌ **BLOCKED** - Issues preventing progress
|
|
71
|
+
|
|
72
|
+
### Story Status
|
|
73
|
+
- 📝 **DRAFT** - Story being written
|
|
74
|
+
- 🔄 **IN PROGRESS** - Tasks being executed
|
|
75
|
+
- 👀 **REVIEW** - Quality validation in progress
|
|
76
|
+
- ✅ **COMPLETE** - All tasks finished (4.0⭐+)
|
|
77
|
+
- ❌ **FAILED** - Quality gate not met
|
|
78
|
+
|
|
79
|
+
### Task Status
|
|
80
|
+
- ⏳ **QUEUED** - Waiting for agent assignment
|
|
81
|
+
- 🔄 **ACTIVE** - Agent currently working
|
|
82
|
+
- 👀 **REVIEW** - Output being validated
|
|
83
|
+
- ✅ **COMPLETE** - Delivered and approved
|
|
84
|
+
- ❌ **FAILED** - Requires rework
|
|
85
|
+
|
|
86
|
+
### Agent Status
|
|
87
|
+
- 🟢 **READY** - Available for new tasks
|
|
88
|
+
- 🟡 **WORKING** - Currently executing task
|
|
89
|
+
- 🔴 **BUSY** - Handling multiple tasks
|
|
90
|
+
- ⚪ **OFFLINE** - Temporarily unavailable
|
|
91
|
+
|
|
92
|
+
## Quality Gates Integration
|
|
93
|
+
|
|
94
|
+
The status command shows real-time quality scores:
|
|
95
|
+
|
|
96
|
+
- **🟢 4.0+ Stars**: Approved, proceed to next level
|
|
97
|
+
- **🟡 3.5-3.9 Stars**: Review required, potential approval
|
|
98
|
+
- **🔴 Below 3.5 Stars**: Blocked, rework needed
|
|
99
|
+
- **⚪ Not Rated**: Pending quality evaluation
|
|
100
|
+
|
|
101
|
+
## Workflow Commands
|
|
102
|
+
|
|
103
|
+
```bash
|
|
104
|
+
# Check all active cascades
|
|
105
|
+
/cascade-status
|
|
106
|
+
|
|
107
|
+
# Check specific mission
|
|
108
|
+
/cascade-status mission-3
|
|
109
|
+
|
|
110
|
+
# Show detailed agent status
|
|
111
|
+
/cascade-status --agents
|
|
112
|
+
|
|
113
|
+
# Show quality gate details
|
|
114
|
+
/cascade-status --quality
|
|
115
|
+
|
|
116
|
+
# Watch mode (auto-refresh)
|
|
117
|
+
/cascade-status --watch
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
## Integration Points
|
|
121
|
+
|
|
122
|
+
- **Mission Command**: Auto-shows status after mission updates
|
|
123
|
+
- **Story Command**: Displays story progress in context
|
|
124
|
+
- **Task Command**: Shows task queue and agent assignments
|
|
125
|
+
- **Quality Check**: Integrates with quality-check command
|
|
126
|
+
- **Agent Commands**: Shows agent workload and availability
|
|
127
|
+
|
|
128
|
+
This command reduces the 45% uncertainty users experience by providing clear, real-time visibility into cascade progress and quality validation.
|
|
@@ -0,0 +1,290 @@
|
|
|
1
|
+
# Ingest Command - Parallel Agent Project Analysis
|
|
2
|
+
|
|
3
|
+
Orchestrate multiple specialized agents in parallel to perform comprehensive project discovery, analysis, and intelligent code import from local directories.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
# Basic parallel ingestion with all agents
|
|
9
|
+
/ingest --source="/path/to/projects"
|
|
10
|
+
|
|
11
|
+
# Mission-focused parallel analysis
|
|
12
|
+
/ingest --source="/Users/dev/projects" --mission="dashboard" --agents="ingestor,architect,qa"
|
|
13
|
+
|
|
14
|
+
# Framework-specific analysis with full team
|
|
15
|
+
/ingest --source="/nextjs-apps" --framework="nextjs" --parallel=5
|
|
16
|
+
|
|
17
|
+
# Interactive mode with selective agent spawning
|
|
18
|
+
/ingest --source="/path/projects" --interactive --preview
|
|
19
|
+
|
|
20
|
+
# Dry run with architecture analysis
|
|
21
|
+
/ingest --source="/projects" --dry-run --agents="ingestor,architect,research"
|
|
22
|
+
|
|
23
|
+
# Deep analysis with all specialists
|
|
24
|
+
/ingest --source="/codebase" --deep --agents="all" --output="analysis-report"
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Cascade System Integration
|
|
28
|
+
|
|
29
|
+
The `/ingest` command leverages the existing **Mission → Story → Task → Agent** parallel orchestration system to spawn specialized agents for comprehensive project analysis. It utilizes the proven concurrent task orchestration engine (1000+ simultaneous tasks) and elastic agent scaling (43-430 agents) already validated in the ONE framework.
|
|
30
|
+
|
|
31
|
+
## Agent Coordination
|
|
32
|
+
|
|
33
|
+
The `/ingest` command spawns specialized agents using the established parallel cascade infrastructure:
|
|
34
|
+
|
|
35
|
+
### 🔍 **Primary Ingestion Agents**
|
|
36
|
+
- **Engineering Ingestor**: Core code discovery, classification, and intelligent import
|
|
37
|
+
- **Engineering Architect**: System architecture analysis and design recommendations
|
|
38
|
+
- **Engineering Quality Assurance**: Code quality validation, testing strategies, security audit
|
|
39
|
+
|
|
40
|
+
### 📊 **Analysis & Intelligence Agents**
|
|
41
|
+
- **Research Market Analyst**: Technology stack analysis, dependency audit, trend identification
|
|
42
|
+
- **Content Team Manager**: Documentation analysis, README optimization, knowledge extraction
|
|
43
|
+
- **Engineering Performance**: Performance bottleneck identification and optimization recommendations
|
|
44
|
+
|
|
45
|
+
### 🎯 **Optional Specialist Agents**
|
|
46
|
+
- **Marketing Director**: Competitive analysis and positioning insights (for product projects)
|
|
47
|
+
- **Crypto Token Analyst**: DeFi/blockchain project analysis (for crypto projects)
|
|
48
|
+
- **Engineering User Experience**: UX/UI pattern analysis and improvement suggestions
|
|
49
|
+
|
|
50
|
+
## Parameters
|
|
51
|
+
|
|
52
|
+
### Source & Target
|
|
53
|
+
- `--source <path>`: Source directory to analyze (required)
|
|
54
|
+
- `--target <path>`: Target directory for imports (defaults to current directory)
|
|
55
|
+
- `--framework <type>`: Target framework (nextjs, astro, vite, tanstack-start)
|
|
56
|
+
|
|
57
|
+
### Context Integration
|
|
58
|
+
- `--mission <name>`: Current mission context for relevance scoring
|
|
59
|
+
- `--story <name>`: Current story context for focused analysis
|
|
60
|
+
- `--task <name>`: Current task context for specific objectives
|
|
61
|
+
|
|
62
|
+
### Agent Control
|
|
63
|
+
- `--agents <list>`: Comma-separated list of agents to spawn
|
|
64
|
+
- `ingestor` (default) - Core code import agent
|
|
65
|
+
- `architect` - Architecture analysis
|
|
66
|
+
- `qa` - Quality assurance and testing
|
|
67
|
+
- `research` - Technology and market analysis
|
|
68
|
+
- `content` - Documentation analysis
|
|
69
|
+
- `performance` - Performance optimization
|
|
70
|
+
- `all` - All available agents
|
|
71
|
+
|
|
72
|
+
### Execution Control
|
|
73
|
+
- `--parallel <number>`: Maximum parallel agents (default: 3, max: 8)
|
|
74
|
+
- `--timeout <seconds>`: Agent timeout in seconds (default: 300)
|
|
75
|
+
- `--dry-run`: Analysis only, no file imports
|
|
76
|
+
- `--interactive`: Interactive agent selection and approval
|
|
77
|
+
- `--preview`: Show analysis results before importing
|
|
78
|
+
|
|
79
|
+
### Output & Reporting
|
|
80
|
+
- `--output <name>`: Output report name (default: ingestion-analysis)
|
|
81
|
+
- `--format <type>`: Report format (md, json, yaml, all)
|
|
82
|
+
- `--verbose`: Detailed logging and progress tracking
|
|
83
|
+
- `--silent`: Minimal output, results only
|
|
84
|
+
|
|
85
|
+
### Filtering & Control
|
|
86
|
+
- `--include <patterns>`: File patterns to include
|
|
87
|
+
- `--exclude <patterns>`: File patterns to exclude
|
|
88
|
+
- `--max-size <bytes>`: Maximum file size per agent
|
|
89
|
+
- `--deep`: Enable deep analysis mode (slower, more comprehensive)
|
|
90
|
+
|
|
91
|
+
## Execution Workflow
|
|
92
|
+
|
|
93
|
+
### Phase 1: Discovery & Planning (Parallel)
|
|
94
|
+
```
|
|
95
|
+
🔍 Engineering Ingestor → Project discovery, file classification
|
|
96
|
+
🏗️ Engineering Architect → Architecture pattern identification
|
|
97
|
+
📊 Research Market Analyst → Technology stack analysis
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
### Phase 2: Analysis & Validation (Parallel)
|
|
101
|
+
```
|
|
102
|
+
🧪 Engineering QA → Code quality and security audit
|
|
103
|
+
📝 Content Team Manager → Documentation and knowledge extraction
|
|
104
|
+
⚡ Engineering Performance → Performance bottleneck identification
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
### Phase 3: Import & Integration (Coordinated)
|
|
108
|
+
```
|
|
109
|
+
🔄 Engineering Ingestor → Intelligent file import and adaptation
|
|
110
|
+
🎯 Mission Integration → Context-aware relevance scoring
|
|
111
|
+
📋 Quality Validation → Final quality gates and reporting
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
### Phase 4: Reporting & Recommendations (Aggregated)
|
|
115
|
+
```
|
|
116
|
+
📊 Consolidated Analysis → Multi-agent insights compilation
|
|
117
|
+
🎯 Action Recommendations → Prioritized improvement suggestions
|
|
118
|
+
📈 Success Metrics → Quality scores and validation results
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
## Agent Coordination Features
|
|
122
|
+
|
|
123
|
+
### 🚀 **Parallel Execution** (Leverages Existing CASCADE Infrastructure)
|
|
124
|
+
- **Concurrent Task Engine**: Utilizes 1000+ simultaneous task capacity
|
|
125
|
+
- **Dynamic Agent Assignment**: AI-powered optimal matching under 30 seconds
|
|
126
|
+
- **Elastic Agent Pool**: Auto-scales from 43 to 430 agents based on demand
|
|
127
|
+
- **Deadlock Prevention**: DAG-based dependency management with timeout mechanisms
|
|
128
|
+
- **Quality Maintenance**: 4.0+ stars maintained under 20x throughput load
|
|
129
|
+
|
|
130
|
+
### 🔄 **Result Aggregation** (CASCADE Integration)
|
|
131
|
+
- **Event-Driven Coordination**: Uses existing message bus and distributed consensus
|
|
132
|
+
- **Intelligent Conflict Resolution**: AI-mediated priority queuing for overlapping analysis
|
|
133
|
+
- **Quality Amplification**: Compound quality effects measured across all agent results
|
|
134
|
+
- **Performance Monitoring**: Real-time bottleneck detection and optimization
|
|
135
|
+
|
|
136
|
+
### 📊 **Real-time Progress Tracking**
|
|
137
|
+
```
|
|
138
|
+
Agent Status Dashboard:
|
|
139
|
+
┌─────────────────────┬─────────┬──────────┬─────────┐
|
|
140
|
+
│ Agent │ Status │ Progress │ ETA │
|
|
141
|
+
├─────────────────────┼─────────┼──────────┼─────────┤
|
|
142
|
+
│ Engineering Ingestor│ Running │ ████░░░░ │ 2m 15s │
|
|
143
|
+
│ Engineering QA │ Running │ ██████░░ │ 1m 45s │
|
|
144
|
+
│ Research Analyst │ Complete│ ████████ │ Done │
|
|
145
|
+
│ Content Manager │ Running │ ███░░░░░ │ 3m 30s │
|
|
146
|
+
└─────────────────────┴─────────┴──────────┴─────────┘
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
### 🛡️ **Error Handling & Recovery**
|
|
150
|
+
- Individual agent failure doesn't stop the entire process
|
|
151
|
+
- Automatic retry logic with exponential backoff
|
|
152
|
+
- Graceful degradation when agents encounter issues
|
|
153
|
+
- Comprehensive error reporting with actionable suggestions
|
|
154
|
+
|
|
155
|
+
## Output Reports
|
|
156
|
+
|
|
157
|
+
### 📋 **Consolidated Analysis Report**
|
|
158
|
+
```markdown
|
|
159
|
+
# Project Ingestion Analysis Report
|
|
160
|
+
Generated by: 6 parallel agents | Duration: 4m 32s
|
|
161
|
+
|
|
162
|
+
## Executive Summary
|
|
163
|
+
- Projects Discovered: 12
|
|
164
|
+
- Files Analyzed: 1,247
|
|
165
|
+
- Code Quality Score: 4.2/5.0 ⭐⭐⭐⭐
|
|
166
|
+
- Architecture Health: 3.8/5.0 ⭐⭐⭐⭐
|
|
167
|
+
- Security Rating: 4.5/5.0 ⭐⭐⭐⭐⭐
|
|
168
|
+
|
|
169
|
+
## Agent Results
|
|
170
|
+
### 🔍 Engineering Ingestor
|
|
171
|
+
- Relevant Files: 156 (12.5% of total)
|
|
172
|
+
- Import Recommendations: 89 files
|
|
173
|
+
- Framework Adaptations: 23 required
|
|
174
|
+
|
|
175
|
+
### 🏗️ Engineering Architect
|
|
176
|
+
- Architecture Patterns: 8 identified
|
|
177
|
+
- Improvement Areas: 5 critical
|
|
178
|
+
- Design Recommendations: 12 actionable
|
|
179
|
+
|
|
180
|
+
### 🧪 Engineering QA
|
|
181
|
+
- Quality Issues: 3 critical, 12 warnings
|
|
182
|
+
- Test Coverage: 67% (target: 80%)
|
|
183
|
+
- Security Vulnerabilities: 2 medium risk
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
### 📊 **JSON Analysis Data**
|
|
187
|
+
```json
|
|
188
|
+
{
|
|
189
|
+
"ingestion": {
|
|
190
|
+
"agents_deployed": 6,
|
|
191
|
+
"execution_time": "4m 32s",
|
|
192
|
+
"projects_analyzed": 12,
|
|
193
|
+
"files_processed": 1247,
|
|
194
|
+
"recommendations": {
|
|
195
|
+
"import": 89,
|
|
196
|
+
"refactor": 23,
|
|
197
|
+
"security": 15,
|
|
198
|
+
"performance": 8
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
## Example Usage Scenarios
|
|
205
|
+
|
|
206
|
+
### 🎯 **Mission-Driven Development**
|
|
207
|
+
```bash
|
|
208
|
+
# Dashboard mission with focused analysis
|
|
209
|
+
/ingest --source="/Users/dev/projects" --mission="dashboard" \
|
|
210
|
+
--agents="ingestor,architect,performance" \
|
|
211
|
+
--include="components,hooks,utils" \
|
|
212
|
+
--output="dashboard-analysis"
|
|
213
|
+
|
|
214
|
+
# Result: Smart component discovery for dashboard features
|
|
215
|
+
```
|
|
216
|
+
|
|
217
|
+
### 🔄 **Framework Migration**
|
|
218
|
+
```bash
|
|
219
|
+
# Next.js to Astro migration analysis
|
|
220
|
+
/ingest --source="/nextjs-projects" --framework="astro" \
|
|
221
|
+
--agents="ingestor,architect,qa" \
|
|
222
|
+
--dry-run --deep
|
|
223
|
+
|
|
224
|
+
# Result: Comprehensive migration strategy with compatibility analysis
|
|
225
|
+
```
|
|
226
|
+
|
|
227
|
+
### 🧪 **Code Quality Audit**
|
|
228
|
+
```bash
|
|
229
|
+
# Full quality and security analysis
|
|
230
|
+
/ingest --source="/production-apps" \
|
|
231
|
+
--agents="qa,performance,research" \
|
|
232
|
+
--deep --format="all" \
|
|
233
|
+
--output="security-audit"
|
|
234
|
+
|
|
235
|
+
# Result: Enterprise-grade quality assessment with actionable recommendations
|
|
236
|
+
```
|
|
237
|
+
|
|
238
|
+
### 🚀 **Startup Acceleration**
|
|
239
|
+
```bash
|
|
240
|
+
# Interactive component library building
|
|
241
|
+
/ingest --source="/ui-examples" \
|
|
242
|
+
--agents="ingestor,content,architect" \
|
|
243
|
+
--interactive --preview \
|
|
244
|
+
--include="components,styles"
|
|
245
|
+
|
|
246
|
+
# Result: Curated component library with documentation
|
|
247
|
+
```
|
|
248
|
+
|
|
249
|
+
## Performance Optimization
|
|
250
|
+
|
|
251
|
+
### 🚄 **Speed Enhancements**
|
|
252
|
+
- **Parallel Processing**: Up to 8 agents simultaneously
|
|
253
|
+
- **Smart Caching**: Avoid redundant analysis across agents
|
|
254
|
+
- **Progressive Results**: Stream results as agents complete
|
|
255
|
+
- **Early Termination**: Stop on critical errors or user request
|
|
256
|
+
|
|
257
|
+
### 💾 **Resource Management**
|
|
258
|
+
- **Memory Limits**: Per-agent memory constraints
|
|
259
|
+
- **CPU Throttling**: Automatic load balancing
|
|
260
|
+
- **Disk Usage**: Temporary file cleanup
|
|
261
|
+
- **Network Limits**: Concurrent request management
|
|
262
|
+
|
|
263
|
+
### 📈 **Scalability Features**
|
|
264
|
+
- **Agent Pool**: Reuse agent instances for multiple projects
|
|
265
|
+
- **Batch Processing**: Queue multiple ingestion requests
|
|
266
|
+
- **Distributed Mode**: Support for remote agent execution
|
|
267
|
+
- **Load Balancing**: Optimal task distribution
|
|
268
|
+
|
|
269
|
+
## Quality Gates
|
|
270
|
+
|
|
271
|
+
### 🎯 **Multi-Agent Validation**
|
|
272
|
+
Each agent maintains its own 4.0+ star quality standards:
|
|
273
|
+
- **Engineering Ingestor**: Import accuracy and adaptation quality
|
|
274
|
+
- **Engineering Architect**: Design pattern adherence and scalability
|
|
275
|
+
- **Engineering QA**: Code quality, security, and test coverage
|
|
276
|
+
- **Content Manager**: Documentation completeness and clarity
|
|
277
|
+
|
|
278
|
+
### 📊 **Consolidated Scoring**
|
|
279
|
+
```
|
|
280
|
+
Overall Project Health: 4.2/5.0 ⭐⭐⭐⭐
|
|
281
|
+
├─ Code Quality: 4.1/5.0 (Engineering QA)
|
|
282
|
+
├─ Architecture: 3.9/5.0 (Engineering Architect)
|
|
283
|
+
├─ Security: 4.5/5.0 (Engineering QA)
|
|
284
|
+
├─ Documentation: 3.8/5.0 (Content Manager)
|
|
285
|
+
└─ Performance: 4.3/5.0 (Engineering Performance)
|
|
286
|
+
```
|
|
287
|
+
|
|
288
|
+
---
|
|
289
|
+
|
|
290
|
+
**The `/ingest` command transforms project discovery from sequential analysis into a coordinated intelligence operation, delivering comprehensive insights through parallel agent expertise.**
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
# Ingestor Command
|
|
2
|
+
|
|
3
|
+
Intelligently crawl and import TypeScript/React code from local projects into your ONE framework project.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
# Basic ingestion from a source directory
|
|
9
|
+
/ingestor --source="/path/to/projects" --framework="nextjs"
|
|
10
|
+
|
|
11
|
+
# Interactive mode - choose which files to import
|
|
12
|
+
/ingestor --source="/path/to/projects" --interactive
|
|
13
|
+
|
|
14
|
+
# Dry run - see what would be imported without making changes
|
|
15
|
+
/ingestor --dry-run --source="/path/to/projects"
|
|
16
|
+
|
|
17
|
+
# Mission-focused ingestion
|
|
18
|
+
/ingestor --source="/path/to/projects" --mission="build-dashboard"
|
|
19
|
+
|
|
20
|
+
# Framework-specific ingestion
|
|
21
|
+
/ingestor --source="/path/to/projects" --framework="astro" --components-only
|
|
22
|
+
|
|
23
|
+
# Selective patterns
|
|
24
|
+
/ingestor --source="/path/to/projects" --include="components,hooks" --exclude="tests,stories"
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Parameters
|
|
28
|
+
|
|
29
|
+
- `--source`: Source directory to crawl for projects (required)
|
|
30
|
+
- `--framework`: Target framework adaptation (nextjs, astro, vite, tanstack-start)
|
|
31
|
+
- `--mission`: Current mission context for relevance scoring
|
|
32
|
+
- `--story`: Current story context for relevance scoring
|
|
33
|
+
- `--task`: Current task context for relevance scoring
|
|
34
|
+
- `--dry-run`: Preview mode - show what would be imported
|
|
35
|
+
- `--interactive`: Step-by-step selection of files to import
|
|
36
|
+
- `--include`: Comma-separated list of patterns to include
|
|
37
|
+
- `--exclude`: Comma-separated list of patterns to exclude
|
|
38
|
+
- `--components-only`: Only import component files
|
|
39
|
+
- `--max-size`: Maximum file size to import (default: 1MB)
|
|
40
|
+
|
|
41
|
+
## What It Does
|
|
42
|
+
|
|
43
|
+
The Ingestor Agent:
|
|
44
|
+
|
|
45
|
+
1. **Discovers Projects**: Recursively scans source directory for TypeScript/React projects
|
|
46
|
+
2. **Detects Frameworks**: Identifies Next.js, Astro, Vite, TanStack Start configurations
|
|
47
|
+
3. **Maps Context**: Analyzes current missions/stories/tasks for relevance scoring
|
|
48
|
+
4. **Classifies Files**: Categorizes files by type and required transformation
|
|
49
|
+
5. **Smart Import**: Copies some files directly, modifies others for compatibility
|
|
50
|
+
6. **Adapts Code**: Updates imports, paths, and framework-specific patterns
|
|
51
|
+
7. **Generates Report**: Creates detailed ingestion summary with warnings
|
|
52
|
+
|
|
53
|
+
## File Processing Types
|
|
54
|
+
|
|
55
|
+
- **Direct Copy**: Assets, configs, and standalone files copied as-is
|
|
56
|
+
- **Smart Modify**: TypeScript/React files with import path updates and adaptations
|
|
57
|
+
- **Config Adapt**: Framework configs adapted for target environment
|
|
58
|
+
- **Manual Review**: Complex files flagged for human review
|
|
59
|
+
|
|
60
|
+
## Framework Adaptations
|
|
61
|
+
|
|
62
|
+
### Next.js → Other Frameworks
|
|
63
|
+
- Converts `next/image` → generic image components
|
|
64
|
+
- Converts `next/link` → framework-appropriate routing
|
|
65
|
+
- Removes Next.js specific hooks and utilities
|
|
66
|
+
- Adapts App Router / Pages Router patterns
|
|
67
|
+
|
|
68
|
+
### Astro → Other Frameworks
|
|
69
|
+
- Converts `.astro` components to JSX
|
|
70
|
+
- Removes Astro frontmatter scripts
|
|
71
|
+
- Adapts island architecture patterns
|
|
72
|
+
|
|
73
|
+
### Universal Adaptations
|
|
74
|
+
- Updates import paths to match target project structure
|
|
75
|
+
- Adapts Tailwind CSS configurations
|
|
76
|
+
- Updates TypeScript configurations
|
|
77
|
+
- Merges package.json dependencies intelligently
|
|
78
|
+
|
|
79
|
+
## Mission Integration
|
|
80
|
+
|
|
81
|
+
The ingestor uses your current ONE framework context:
|
|
82
|
+
|
|
83
|
+
- **Mission Keywords**: Files matching mission objectives get higher priority
|
|
84
|
+
- **Story Requirements**: Components needed for active stories are prioritized
|
|
85
|
+
- **Task Context**: Files supporting current tasks are identified
|
|
86
|
+
- **Smart Scoring**: AI-based relevance scoring (0-1) for each discovered file
|
|
87
|
+
|
|
88
|
+
## Output Structure
|
|
89
|
+
|
|
90
|
+
Imported files are organized in your target project:
|
|
91
|
+
|
|
92
|
+
```
|
|
93
|
+
your-project/
|
|
94
|
+
├── src/
|
|
95
|
+
│ ├── components/ # UI components
|
|
96
|
+
│ ├── hooks/ # React hooks
|
|
97
|
+
│ ├── lib/utils/ # Utility functions
|
|
98
|
+
│ ├── pages/ # Page components
|
|
99
|
+
│ ├── styles/ # CSS/SCSS files
|
|
100
|
+
│ ├── types/ # TypeScript definitions
|
|
101
|
+
│ └── __tests__/ # Test files
|
|
102
|
+
├── public/ # Static assets
|
|
103
|
+
└── ingestion-report.md # Detailed import summary
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
## Quality Gates
|
|
107
|
+
|
|
108
|
+
- **TypeScript Compliance**: All imported code must compile
|
|
109
|
+
- **ESLint Standards**: Code passes project linting rules
|
|
110
|
+
- **Import Resolution**: All dependencies resolve correctly
|
|
111
|
+
- **Security Scanning**: No vulnerabilities or secrets imported
|
|
112
|
+
|
|
113
|
+
## Example Workflows
|
|
114
|
+
|
|
115
|
+
### Dashboard Mission
|
|
116
|
+
```bash
|
|
117
|
+
# Import components for dashboard mission
|
|
118
|
+
/ingestor --source="/Users/dev/projects" --mission="dashboard" --components-only
|
|
119
|
+
# Result: Chart components, data tables, dashboard layouts prioritized
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
### UI Library Migration
|
|
123
|
+
```bash
|
|
124
|
+
# Interactive import of UI components
|
|
125
|
+
/ingestor --source="/old-design-system" --interactive --include="components"
|
|
126
|
+
# Result: Step-by-step selection of reusable UI components
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
### Cross-Framework Migration
|
|
130
|
+
```bash
|
|
131
|
+
# Migrate Next.js project to Astro
|
|
132
|
+
/ingestor --source="/nextjs-app" --framework="astro" --dry-run
|
|
133
|
+
# Result: Preview of required adaptations and potential issues
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
The Ingestor Agent transforms manual code hunting into an intelligent, context-aware import system that respects your project structure and maintains code quality.
|
|
@@ -1,8 +1,25 @@
|
|
|
1
|
-
# /mission
|
|
1
|
+
# /mission - Mission Planning & Management with Real-time Status
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
🎯 **Direct access to strategic mission planning with live progress tracking**
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
*Alternative to `/one` > 1. Start New Mission for advanced users*
|
|
6
|
+
|
|
7
|
+
💡 **TIP: Use `/one` for guided experience with full dashboard context**
|
|
8
|
+
|
|
9
|
+
## 📊 Real-time Status Features
|
|
10
|
+
|
|
11
|
+
### Progress Indicators
|
|
12
|
+
```
|
|
13
|
+
🎯 Mission 2 of 5: "AI Marketing System" | 67% Complete
|
|
14
|
+
📖 Stories: 2 of 3 Complete | ✅ 4.2⭐ Average Quality
|
|
15
|
+
✅ Tasks: 8 of 12 Complete | 🤖 4 agents active
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
### Live Updates
|
|
19
|
+
- **Mission Status**: Planning → Active → Review → Complete
|
|
20
|
+
- **Story Progress**: Real-time task completion tracking
|
|
21
|
+
- **Agent Activity**: Current assignments and availability
|
|
22
|
+
- **Quality Gates**: Live score updates and validation status
|
|
6
23
|
|
|
7
24
|
When this command is used:
|
|
8
25
|
|
|
@@ -44,13 +61,14 @@ behavior:
|
|
|
44
61
|
- Apply user's theme colors to mission documentation
|
|
45
62
|
|
|
46
63
|
commands:
|
|
47
|
-
- create: Create new mission
|
|
48
|
-
- list: Show your active missions
|
|
49
|
-
- status: Mission progress
|
|
64
|
+
- create: Create new mission with real-time status tracking
|
|
65
|
+
- list: Show your active missions with live progress indicators
|
|
66
|
+
- status: Mission progress dashboard with cascade tracking
|
|
50
67
|
- align: Check mission alignment with your goals
|
|
51
|
-
- update: Update mission with
|
|
52
|
-
- complete: Mark mission as completed
|
|
68
|
+
- update: Update mission with automatic status refresh
|
|
69
|
+
- complete: Mark mission as completed with final quality validation
|
|
53
70
|
- archive: Archive completed missions
|
|
71
|
+
- track: Real-time cascade progress monitoring
|
|
54
72
|
|
|
55
73
|
mission_templates:
|
|
56
74
|
goal_based: |
|