oneie 1.0.0 → 1.0.2

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.
Files changed (35) hide show
  1. package/README.md +240 -300
  2. package/bin/install.js +473 -0
  3. package/lib/agent-setup.js +393 -0
  4. package/lib/context-detector.js +199 -0
  5. package/lib/me-generator.js +909 -0
  6. package/lib/progress.js +15 -0
  7. package/lib/project-integrator.js +718 -0
  8. package/lib/scaffold-generator.js +460 -0
  9. package/lib/validator.js +419 -0
  10. package/package.json +40 -148
  11. package/templates/claude-commands/agent.md +87 -0
  12. package/templates/claude-commands/mission.md +65 -0
  13. package/templates/claude-commands/one.md +151 -0
  14. package/templates/claude-commands/story.md +68 -0
  15. package/.one/agent-teams/team-all.yaml +0 -14
  16. package/.one/agent-teams/team-fullstack.yaml +0 -18
  17. package/.one/agent-teams/team-ide-minimal.yaml +0 -10
  18. package/.one/agent-teams/team-marketing.yaml +0 -21
  19. package/.one/agent-teams/team-no-ui.yaml +0 -13
  20. package/LICENSE +0 -21
  21. package/bin/collaborative-install.js +0 -443
  22. package/one/core-config.yaml +0 -101
  23. package/one/tools/bin/one-agent.js +0 -25
  24. package/one/tools/bin/one-mission.js +0 -25
  25. package/one/tools/bin/one-playbook.js +0 -25
  26. package/one/tools/bin/one-story.js +0 -25
  27. package/one/tools/bin/one-team.js +0 -25
  28. package/one/tools/bin/one-tools.js +0 -25
  29. package/one/tools/cli.js +0 -2275
  30. package/one/tools/one-cli.js +0 -270
  31. package/scaffold/.one/checklists/quality-checklist.yaml +0 -331
  32. package/scaffold/.one/hooks/content-validator.js +0 -466
  33. package/scaffold/.one/hooks/file-organization-monitor.js +0 -409
  34. package/scaffold/.one/spaces/default/config.yaml +0 -103
  35. package/scaffold/.one/templates/mission-template.yaml +0 -192
@@ -1,409 +0,0 @@
1
- #!/usr/bin/env node
2
-
3
- /**
4
- * File Organization Monitor
5
- *
6
- * Watches for misplaced files and automatically organizes them
7
- * according to ONE ontology structure
8
- */
9
-
10
- const fs = require('fs').promises;
11
- const path = require('path');
12
- const yaml = require('js-yaml');
13
- const chokidar = require('chokidar');
14
-
15
- class FileOrganizationMonitor {
16
- constructor(projectRoot = process.cwd()) {
17
- this.projectRoot = projectRoot;
18
- this.oneDir = path.join(projectRoot, '.one');
19
- this.meDir = path.join(projectRoot, 'me');
20
-
21
- // Ontology structure mapping
22
- this.ontologyStructure = {
23
- // Content types
24
- 'mission': 'missions',
25
- 'story': 'stories',
26
- 'task': 'tasks',
27
- 'agent': 'agents',
28
- 'team': 'teams',
29
- 'workflow': 'workflows',
30
- 'template': 'templates',
31
- 'checklist': 'checklists',
32
-
33
- // Data types
34
- 'person': 'people',
35
- 'organization': 'organizations',
36
- 'playbook': 'playbooks',
37
- 'data': 'data',
38
-
39
- // System types
40
- 'hook': 'hooks',
41
- 'tool': 'tools',
42
- 'app': 'apps',
43
- 'package': 'packages'
44
- };
45
-
46
- this.isMonitoring = false;
47
- }
48
-
49
- /**
50
- * Start monitoring for file changes
51
- */
52
- async startMonitoring() {
53
- if (this.isMonitoring) return;
54
-
55
- console.log('🔍 Starting file organization monitor...');
56
-
57
- // Watch for new files and moves
58
- this.watcher = chokidar.watch(this.projectRoot, {
59
- ignored: [
60
- '**/node_modules/**',
61
- '**/.git/**',
62
- '**/.next/**',
63
- '**/dist/**',
64
- '**/build/**'
65
- ],
66
- persistent: true,
67
- ignoreInitial: false
68
- });
69
-
70
- this.watcher
71
- .on('add', filePath => this.handleFileEvent('add', filePath))
72
- .on('change', filePath => this.handleFileEvent('change', filePath))
73
- .on('unlink', filePath => this.handleFileEvent('unlink', filePath));
74
-
75
- this.isMonitoring = true;
76
- console.log('✅ File organization monitor active');
77
- }
78
-
79
- /**
80
- * Stop monitoring
81
- */
82
- async stopMonitoring() {
83
- if (this.watcher) {
84
- await this.watcher.close();
85
- this.isMonitoring = false;
86
- console.log('🛑 File organization monitor stopped');
87
- }
88
- }
89
-
90
- /**
91
- * Handle file system events
92
- */
93
- async handleFileEvent(event, filePath) {
94
- try {
95
- // Skip if file is already in correct location
96
- if (this.isInCorrectLocation(filePath)) return;
97
-
98
- // Skip system files
99
- if (this.isSystemFile(filePath)) return;
100
-
101
- // Analyze and potentially move file
102
- const correctLocation = await this.determineCorrectLocation(filePath);
103
-
104
- if (correctLocation && correctLocation !== filePath) {
105
- await this.moveFileToCorrectLocation(filePath, correctLocation);
106
- }
107
-
108
- } catch (error) {
109
- console.error(`❌ Error handling file event for ${filePath}:`, error.message);
110
- }
111
- }
112
-
113
- /**
114
- * Determine if file is in correct location according to ontology
115
- */
116
- isInCorrectLocation(filePath) {
117
- const relativePath = path.relative(this.projectRoot, filePath);
118
-
119
- // Special case: /me/me.md is always correct
120
- if (relativePath === 'me/me.md') return true;
121
-
122
- // Files in .one/ should follow ontology structure
123
- if (relativePath.startsWith('.one/')) {
124
- return this.validateOntologyPath(relativePath);
125
- }
126
-
127
- // Other files are correct if not ONE content
128
- return !this.isOneContentFile(filePath);
129
- }
130
-
131
- /**
132
- * Check if this is a system file that shouldn't be moved
133
- */
134
- isSystemFile(filePath) {
135
- const systemPaths = [
136
- 'package.json',
137
- 'node_modules',
138
- '.git',
139
- '.next',
140
- 'dist',
141
- 'build',
142
- '.env',
143
- 'README.md',
144
- 'LICENSE'
145
- ];
146
-
147
- return systemPaths.some(sysPath => filePath.includes(sysPath));
148
- }
149
-
150
- /**
151
- * Determine if this is a ONE content file that needs organization
152
- */
153
- async isOneContentFile(filePath) {
154
- try {
155
- const content = await fs.readFile(filePath, 'utf8');
156
- const ext = path.extname(filePath);
157
-
158
- // Check file extension
159
- if (['.md', '.yaml', '.yml'].includes(ext)) {
160
- // Check for ONE content indicators
161
- return this.hasOneContentIndicators(content, filePath);
162
- }
163
-
164
- return false;
165
- } catch (error) {
166
- return false;
167
- }
168
- }
169
-
170
- /**
171
- * Check content for ONE-specific indicators
172
- */
173
- hasOneContentIndicators(content, filePath) {
174
- const indicators = [
175
- // YAML frontmatter indicators
176
- 'mission:',
177
- 'story:',
178
- 'task:',
179
- 'agent:',
180
- 'team:',
181
- 'workflow:',
182
- 'checklist:',
183
-
184
- // Content indicators
185
- '# Mission',
186
- '# Story',
187
- '# Task',
188
- '# Agent',
189
- '# Team',
190
-
191
- // File naming patterns
192
- /mission-\d+/,
193
- /story-\d+/,
194
- /task-\w+/,
195
- /agent-\w+/,
196
- /team-\w+/
197
- ];
198
-
199
- const fileName = path.basename(filePath);
200
-
201
- return indicators.some(indicator => {
202
- if (typeof indicator === 'string') {
203
- return content.includes(indicator) || fileName.includes(indicator);
204
- } else {
205
- return indicator.test(content) || indicator.test(fileName);
206
- }
207
- });
208
- }
209
-
210
- /**
211
- * Determine correct location for file based on content and naming
212
- */
213
- async determineCorrectLocation(filePath) {
214
- try {
215
- const fileName = path.basename(filePath);
216
- const content = await fs.readFile(filePath, 'utf8');
217
-
218
- // Analyze file type
219
- const fileType = this.analyzeFileType(fileName, content);
220
-
221
- if (!fileType) return null;
222
-
223
- // Determine if this should be in a space or global
224
- const spaceId = this.determineSpace(content);
225
-
226
- // Build correct path
227
- const baseDir = spaceId
228
- ? path.join(this.oneDir, 'spaces', spaceId, this.ontologyStructure[fileType])
229
- : path.join(this.oneDir, this.ontologyStructure[fileType]);
230
-
231
- return path.join(baseDir, fileName);
232
-
233
- } catch (error) {
234
- console.error(`Error determining correct location for ${filePath}:`, error.message);
235
- return null;
236
- }
237
- }
238
-
239
- /**
240
- * Analyze file to determine its type
241
- */
242
- analyzeFileType(fileName, content) {
243
- // Check filename patterns first
244
- for (const [type, _] of Object.entries(this.ontologyStructure)) {
245
- if (fileName.includes(type)) {
246
- return type;
247
- }
248
- }
249
-
250
- // Check content patterns
251
- if (content.includes('mission:') || content.includes('# Mission')) return 'mission';
252
- if (content.includes('story:') || content.includes('# Story')) return 'story';
253
- if (content.includes('task:') || content.includes('# Task')) return 'task';
254
- if (content.includes('agent:') || content.includes('# Agent')) return 'agent';
255
- if (content.includes('team:') || content.includes('# Team')) return 'team';
256
- if (content.includes('workflow:') || content.includes('# Workflow')) return 'workflow';
257
- if (content.includes('checklist:') || content.includes('# Checklist')) return 'checklist';
258
-
259
- return null;
260
- }
261
-
262
- /**
263
- * Determine which space this content belongs to
264
- */
265
- determineSpace(content) {
266
- // Check for space-specific indicators
267
- // For now, default to 'default' space
268
- // Could be enhanced to analyze content for space hints
269
- return 'default';
270
- }
271
-
272
- /**
273
- * Move file to correct location
274
- */
275
- async moveFileToCorrectLocation(sourcePath, targetPath) {
276
- try {
277
- // Ensure target directory exists
278
- const targetDir = path.dirname(targetPath);
279
- await fs.mkdir(targetDir, { recursive: true });
280
-
281
- // Check if target already exists
282
- try {
283
- await fs.access(targetPath);
284
- console.log(`⚠️ Target already exists: ${targetPath}`);
285
- return;
286
- } catch {
287
- // Target doesn't exist, proceed with move
288
- }
289
-
290
- // Move file
291
- await fs.rename(sourcePath, targetPath);
292
-
293
- console.log(`📁 Organized: ${path.relative(this.projectRoot, sourcePath)} → ${path.relative(this.projectRoot, targetPath)}`);
294
-
295
- } catch (error) {
296
- console.error(`❌ Failed to move ${sourcePath} to ${targetPath}:`, error.message);
297
- }
298
- }
299
-
300
- /**
301
- * Validate that a path follows ontology structure
302
- */
303
- validateOntologyPath(relativePath) {
304
- const pathParts = relativePath.split('/');
305
-
306
- // Should be .one/{category}/{filename} or .one/spaces/{space}/{category}/{filename}
307
- if (pathParts[0] !== '.one') return false;
308
-
309
- if (pathParts[1] === 'spaces') {
310
- // Space-specific path: .one/spaces/{space}/{category}/{filename}
311
- if (pathParts.length < 4) return false;
312
- const category = pathParts[3];
313
- return Object.values(this.ontologyStructure).includes(category);
314
- } else {
315
- // Global path: .one/{category}/{filename}
316
- if (pathParts.length < 3) return false;
317
- const category = pathParts[1];
318
- return Object.values(this.ontologyStructure).includes(category) ||
319
- ['apps', 'packages', 'tools', 'hooks'].includes(category);
320
- }
321
- }
322
-
323
- /**
324
- * Manual organization scan
325
- */
326
- async organizeAll() {
327
- console.log('🧹 Running full organization scan...');
328
-
329
- const files = await this.getAllFiles(this.projectRoot);
330
-
331
- for (const filePath of files) {
332
- if (!this.isInCorrectLocation(filePath) && !this.isSystemFile(filePath)) {
333
- const correctLocation = await this.determineCorrectLocation(filePath);
334
- if (correctLocation && correctLocation !== filePath) {
335
- await this.moveFileToCorrectLocation(filePath, correctLocation);
336
- }
337
- }
338
- }
339
-
340
- console.log('✅ Organization scan complete');
341
- }
342
-
343
- /**
344
- * Get all files recursively
345
- */
346
- async getAllFiles(dir) {
347
- const files = [];
348
-
349
- try {
350
- const entries = await fs.readdir(dir, { withFileTypes: true });
351
-
352
- for (const entry of entries) {
353
- const fullPath = path.join(dir, entry.name);
354
-
355
- if (entry.isDirectory() && !this.shouldSkipDirectory(entry.name)) {
356
- files.push(...await this.getAllFiles(fullPath));
357
- } else if (entry.isFile()) {
358
- files.push(fullPath);
359
- }
360
- }
361
- } catch (error) {
362
- // Skip directories we can't read
363
- }
364
-
365
- return files;
366
- }
367
-
368
- /**
369
- * Check if directory should be skipped
370
- */
371
- shouldSkipDirectory(dirName) {
372
- const skipDirs = ['node_modules', '.git', '.next', 'dist', 'build'];
373
- return skipDirs.includes(dirName);
374
- }
375
- }
376
-
377
- // CLI usage
378
- if (require.main === module) {
379
- const monitor = new FileOrganizationMonitor();
380
-
381
- const command = process.argv[2];
382
-
383
- switch (command) {
384
- case 'start':
385
- monitor.startMonitoring();
386
- break;
387
-
388
- case 'organize':
389
- monitor.organizeAll().then(() => process.exit(0));
390
- break;
391
-
392
- default:
393
- console.log(`
394
- 🗂️ ONE File Organization Monitor
395
-
396
- Usage:
397
- node file-organization-monitor.js start # Start monitoring
398
- node file-organization-monitor.js organize # Run one-time organization
399
-
400
- Features:
401
- • Automatically organizes files according to ONE ontology
402
- • Moves misplaced content to correct directories
403
- • Maintains ontology compliance
404
- • Preserves file integrity
405
- `);
406
- }
407
- }
408
-
409
- module.exports = FileOrganizationMonitor;
@@ -1,103 +0,0 @@
1
- # Default Space Configuration
2
- # Generated from /me/me.md → ONE unified orchestration
3
-
4
- space:
5
- id: default
6
- title: "Your Space" # Updated from me.md company.name
7
- description: "Your customizable AI collaboration universe"
8
- public: true
9
-
10
- # MySpace-style features
11
- features:
12
- - "visiting" # Others can visit your space
13
- - "templates" # Template marketplace
14
- - "analytics" # Performance tracking
15
- - "guestbook" # Visitor messages
16
- - "top-8-agents" # Your AI dream team
17
-
18
- # Social permissions
19
- permissions:
20
- chat_with_agents: true # Visitors can chat with your agents
21
- copy_configs: "request" # Request to copy configurations
22
- view_missions: "public" # Public missions visible
23
- collaborate: "friends" # Collaboration with connections
24
-
25
- # Brand identity (from me.md brand section)
26
- brand:
27
- theme: "professional" # executive | classic-myspace | cyberpunk | kid
28
- colors:
29
- - "#2563EB" # Primary
30
- - "#64748B" # Secondary
31
- - "#FFFFFF" # Background
32
- logo: "assets/logo.png"
33
- voice: "friendly, professional, helpful"
34
-
35
- # Cascade workflow settings
36
- cascade:
37
- quality_gates: true # Enable 4-level validation
38
- auto_handoffs: true # Automatic level transitions
39
- parallel_execution: true # Allow parallel task execution
40
- continuous_learning: true # Agents learn from interactions
41
-
42
- # Integration settings
43
- integrations:
44
- claude_code: true # Claude Code SDK integration
45
- convex: true # Real-time sync
46
- cloudflare: true # Edge deployment
47
- github: false # GitHub integration (optional)
48
-
49
- # Top 8 Agents (from me.md top_agents section)
50
- top_agents:
51
- - name: "Personal Assistant"
52
- role: "Digital twin and coordinator"
53
- agent_id: "personal-assistant"
54
- cascade_level: "mission"
55
-
56
- - name: "Growth Hacker"
57
- role: "Lead generation specialist"
58
- agent_id: "growth-hacker"
59
- cascade_level: "story"
60
-
61
- - name: "Content Creator"
62
- role: "Content creation expert"
63
- agent_id: "content-creator"
64
- cascade_level: "task"
65
-
66
- - name: "Data Analyst"
67
- role: "Analytics and insights"
68
- agent_id: "data-analyst"
69
- cascade_level: "agent"
70
-
71
- - name: "Tech Specialist"
72
- role: "Development and integration"
73
- agent_id: "tech-specialist"
74
- cascade_level: "task"
75
-
76
- - name: "Brand Designer"
77
- role: "Visual identity and design"
78
- agent_id: "brand-designer"
79
- cascade_level: "story"
80
-
81
- - name: "Quality Guardian"
82
- role: "Validation and quality assurance"
83
- agent_id: "quality-guardian"
84
- cascade_level: "agent"
85
-
86
- - name: "Strategic Planner"
87
- role: "Big picture planning"
88
- agent_id: "strategic-planner"
89
- cascade_level: "mission"
90
-
91
- # Workflow automation
92
- workflows:
93
- default_cascade: "mission-story-task-agent"
94
- quality_validation: "rocket-framework"
95
- handoff_automation: true
96
- progress_tracking: true
97
-
98
- # Generation templates
99
- templates:
100
- mission: "mission-template.yaml"
101
- story: "story-template.yaml"
102
- task: "task-template.yaml"
103
- checklist: "quality-checklist.yaml"
@@ -1,192 +0,0 @@
1
- # Mission Template
2
- # Auto-generated from /me/me.md by /one:generate
3
-
4
- mission:
5
- id: "{{MISSION_ID}}"
6
- title: "{{MISSION_TITLE}}"
7
- description: "{{MISSION_DESCRIPTION}}"
8
-
9
- # Mission metadata
10
- created: "{{CREATED_DATE}}"
11
- updated: "{{UPDATED_DATE}}"
12
- status: "active" # active | completed | paused | cancelled
13
- priority: "high" # high | medium | low
14
-
15
- # Objectives and success criteria
16
- objective: "{{OBJECTIVE}}"
17
- success_criteria:
18
- - "{{SUCCESS_CRITERION_1}}"
19
- - "{{SUCCESS_CRITERION_2}}"
20
- - "{{SUCCESS_CRITERION_3}}"
21
-
22
- # Quality gates
23
- quality_gate:
24
- threshold: 4.0 # Minimum 4 stars required
25
- criteria:
26
- - "Strategic clarity and focus"
27
- - "Measurable success criteria"
28
- - "Resource requirements defined"
29
- - "Timeline and milestones clear"
30
- - "Team assignments appropriate"
31
-
32
- # Cascade workflow
33
- cascade:
34
- level: "mission"
35
- spawns: "stories"
36
- handoff_to: "story-teller"
37
- quality_validation: true
38
-
39
- # Stories (spawned from mission)
40
- stories:
41
- - id: "story-{{STORY_1_ID}}"
42
- title: "{{STORY_1_TITLE}}"
43
- status: "pending"
44
- assigned_team: "{{STORY_1_TEAM}}"
45
-
46
- - id: "story-{{STORY_2_ID}}"
47
- title: "{{STORY_2_TITLE}}"
48
- status: "pending"
49
- assigned_team: "{{STORY_2_TEAM}}"
50
-
51
- - id: "story-{{STORY_3_ID}}"
52
- title: "{{STORY_3_TITLE}}"
53
- status: "pending"
54
- assigned_team: "{{STORY_3_TEAM}}"
55
-
56
- # Team assignments
57
- teams:
58
- primary: "{{PRIMARY_TEAM}}"
59
- supporting:
60
- - "{{SUPPORTING_TEAM_1}}"
61
- - "{{SUPPORTING_TEAM_2}}"
62
-
63
- # Resource requirements
64
- resources:
65
- agents_required:
66
- - "{{REQUIRED_AGENT_1}}"
67
- - "{{REQUIRED_AGENT_2}}"
68
- - "{{REQUIRED_AGENT_3}}"
69
-
70
- tools_needed:
71
- - "{{REQUIRED_TOOL_1}}"
72
- - "{{REQUIRED_TOOL_2}}"
73
-
74
- estimated_effort: "{{EFFORT_ESTIMATE}}"
75
-
76
- # Timeline
77
- timeline:
78
- start_date: "{{START_DATE}}"
79
- target_date: "{{TARGET_DATE}}"
80
- milestones:
81
- - date: "{{MILESTONE_1_DATE}}"
82
- description: "{{MILESTONE_1_DESC}}"
83
- - date: "{{MILESTONE_2_DATE}}"
84
- description: "{{MILESTONE_2_DESC}}"
85
-
86
- # Metrics and tracking
87
- metrics:
88
- progress_indicators:
89
- - "{{PROGRESS_INDICATOR_1}}"
90
- - "{{PROGRESS_INDICATOR_2}}"
91
-
92
- success_metrics:
93
- - "{{SUCCESS_METRIC_1}}"
94
- - "{{SUCCESS_METRIC_2}}"
95
-
96
- kpis:
97
- - name: "{{KPI_1_NAME}}"
98
- target: "{{KPI_1_TARGET}}"
99
- current: 0
100
- - name: "{{KPI_2_NAME}}"
101
- target: "{{KPI_2_TARGET}}"
102
- current: 0
103
-
104
- # Dependencies and risks
105
- dependencies:
106
- internal:
107
- - "{{INTERNAL_DEPENDENCY_1}}"
108
- - "{{INTERNAL_DEPENDENCY_2}}"
109
-
110
- external:
111
- - "{{EXTERNAL_DEPENDENCY_1}}"
112
- - "{{EXTERNAL_DEPENDENCY_2}}"
113
-
114
- risks:
115
- - risk: "{{RISK_1}}"
116
- mitigation: "{{MITIGATION_1}}"
117
- probability: "{{RISK_1_PROBABILITY}}" # high | medium | low
118
- impact: "{{RISK_1_IMPACT}}" # high | medium | low
119
-
120
- - risk: "{{RISK_2}}"
121
- mitigation: "{{MITIGATION_2}}"
122
- probability: "{{RISK_2_PROBABILITY}}"
123
- impact: "{{RISK_2_IMPACT}}"
124
-
125
- # Communication and collaboration
126
- communication:
127
- channels:
128
- - "{{COMMUNICATION_CHANNEL_1}}"
129
- - "{{COMMUNICATION_CHANNEL_2}}"
130
-
131
- stakeholders:
132
- - name: "{{STAKEHOLDER_1}}"
133
- role: "{{STAKEHOLDER_1_ROLE}}"
134
- involvement: "{{STAKEHOLDER_1_INVOLVEMENT}}"
135
-
136
- reporting:
137
- frequency: "{{REPORTING_FREQUENCY}}"
138
- format: "{{REPORTING_FORMAT}}"
139
- recipients:
140
- - "{{REPORT_RECIPIENT_1}}"
141
- - "{{REPORT_RECIPIENT_2}}"
142
-
143
- # Integration with space
144
- space:
145
- space_id: "{{SPACE_ID}}"
146
- visibility: "{{VISIBILITY}}" # public | private | team
147
- collaboration:
148
- enabled: true
149
- permissions:
150
- - "{{COLLABORATION_PERMISSION_1}}"
151
- - "{{COLLABORATION_PERMISSION_2}}"
152
-
153
- # Brand alignment (from me.md)
154
- brand:
155
- theme: "{{BRAND_THEME}}"
156
- voice: "{{BRAND_VOICE}}"
157
- colors:
158
- - "{{PRIMARY_COLOR}}"
159
- - "{{SECONDARY_COLOR}}"
160
-
161
- # Template metadata
162
- template:
163
- version: "1.0"
164
- created_by: "ONE Mission Generator"
165
- description: "Standard mission template with cascade workflow integration"
166
-
167
- # Customization options
168
- customizable_fields:
169
- - "mission.title"
170
- - "mission.description"
171
- - "mission.objective"
172
- - "mission.success_criteria"
173
- - "mission.stories"
174
- - "mission.teams"
175
- - "mission.timeline"
176
- - "mission.metrics"
177
-
178
- # Validation rules
179
- validation:
180
- required_fields:
181
- - "mission.id"
182
- - "mission.title"
183
- - "mission.objective"
184
- - "mission.success_criteria"
185
- - "mission.teams.primary"
186
-
187
- quality_rules:
188
- - "Title should be clear and actionable"
189
- - "Objective should be specific and measurable"
190
- - "Success criteria should be quantifiable"
191
- - "Timeline should be realistic"
192
- - "Team assignments should be appropriate"