oneie 1.3.2 → 1.3.4
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 +19 -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 +43 -12
- package/bin/oneie/index.js +4 -4
- 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
|
@@ -0,0 +1,304 @@
|
|
|
1
|
+
# Cache Configuration
|
|
2
|
+
# Smart caching system with L1/L2/L3 cache levels for optimal performance
|
|
3
|
+
|
|
4
|
+
cache_system:
|
|
5
|
+
enabled: true
|
|
6
|
+
version: "1.0.0"
|
|
7
|
+
optimization_target:
|
|
8
|
+
memory_limit_mb: 150
|
|
9
|
+
target_reduction: "70%"
|
|
10
|
+
performance_boost: "3x"
|
|
11
|
+
|
|
12
|
+
# L1 Cache - In-Memory Hot Cache
|
|
13
|
+
l1_cache:
|
|
14
|
+
name: "Memory Cache"
|
|
15
|
+
type: "in-memory"
|
|
16
|
+
priority: 1
|
|
17
|
+
config:
|
|
18
|
+
max_items: 500
|
|
19
|
+
max_size_mb: 25
|
|
20
|
+
ttl_seconds: 300 # 5 minutes
|
|
21
|
+
compression: true
|
|
22
|
+
compression_level: 6
|
|
23
|
+
eviction_policy: "lru"
|
|
24
|
+
|
|
25
|
+
# What gets cached in L1
|
|
26
|
+
content_types:
|
|
27
|
+
- "frequently_accessed_files"
|
|
28
|
+
- "mission_templates"
|
|
29
|
+
- "story_templates"
|
|
30
|
+
- "agent_prompts"
|
|
31
|
+
- "workflow_configs"
|
|
32
|
+
- "user_preferences"
|
|
33
|
+
|
|
34
|
+
# L1 optimization strategies
|
|
35
|
+
strategies:
|
|
36
|
+
preload_common_files: true
|
|
37
|
+
compress_large_objects: true
|
|
38
|
+
smart_prefetching: true
|
|
39
|
+
access_pattern_learning: true
|
|
40
|
+
|
|
41
|
+
# L2 Cache - Compressed File Cache
|
|
42
|
+
l2_cache:
|
|
43
|
+
name: "File System Cache"
|
|
44
|
+
type: "file-system"
|
|
45
|
+
priority: 2
|
|
46
|
+
config:
|
|
47
|
+
cache_dir: ".one/cache/l2"
|
|
48
|
+
max_size_mb: 50
|
|
49
|
+
ttl_seconds: 3600 # 1 hour
|
|
50
|
+
compression: true
|
|
51
|
+
compression_level: 9 # Maximum compression
|
|
52
|
+
index_file: ".one/cache/l2-index.json"
|
|
53
|
+
|
|
54
|
+
# What gets cached in L2
|
|
55
|
+
content_types:
|
|
56
|
+
- "processed_markdown"
|
|
57
|
+
- "compiled_templates"
|
|
58
|
+
- "agent_responses"
|
|
59
|
+
- "workflow_results"
|
|
60
|
+
- "search_indices"
|
|
61
|
+
- "deduplication_maps"
|
|
62
|
+
|
|
63
|
+
# L2 optimization strategies
|
|
64
|
+
strategies:
|
|
65
|
+
background_compression: true
|
|
66
|
+
intelligent_prefetching: true
|
|
67
|
+
content_based_grouping: true
|
|
68
|
+
delta_compression: true
|
|
69
|
+
|
|
70
|
+
# L3 Cache - Persistent Storage Cache
|
|
71
|
+
l3_cache:
|
|
72
|
+
name: "Persistent Cache"
|
|
73
|
+
type: "persistent"
|
|
74
|
+
priority: 3
|
|
75
|
+
config:
|
|
76
|
+
cache_dir: ".one/cache/l3"
|
|
77
|
+
max_size_mb: 100
|
|
78
|
+
ttl_seconds: 86400 # 24 hours
|
|
79
|
+
compression: true
|
|
80
|
+
compression_level: 9
|
|
81
|
+
backup_enabled: true
|
|
82
|
+
cleanup_interval: 3600 # 1 hour
|
|
83
|
+
|
|
84
|
+
# What gets cached in L3
|
|
85
|
+
content_types:
|
|
86
|
+
- "large_documents"
|
|
87
|
+
- "historical_data"
|
|
88
|
+
- "backup_files"
|
|
89
|
+
- "generated_reports"
|
|
90
|
+
- "analytics_data"
|
|
91
|
+
- "system_snapshots"
|
|
92
|
+
|
|
93
|
+
# L3 optimization strategies
|
|
94
|
+
strategies:
|
|
95
|
+
background_processing: true
|
|
96
|
+
scheduled_cleanup: true
|
|
97
|
+
intelligent_archiving: true
|
|
98
|
+
content_deduplication: true
|
|
99
|
+
|
|
100
|
+
# Cache Hierarchy Flow
|
|
101
|
+
cache_hierarchy:
|
|
102
|
+
flow: "L1 -> L2 -> L3 -> Source"
|
|
103
|
+
miss_behavior:
|
|
104
|
+
l1_miss: "check_l2"
|
|
105
|
+
l2_miss: "check_l3"
|
|
106
|
+
l3_miss: "load_from_source_and_cache"
|
|
107
|
+
|
|
108
|
+
promotion_strategy:
|
|
109
|
+
l3_to_l2: "access_frequency > 3 in 1 hour"
|
|
110
|
+
l2_to_l1: "access_frequency > 5 in 5 minutes"
|
|
111
|
+
|
|
112
|
+
demotion_strategy:
|
|
113
|
+
l1_to_l2: "no_access_for_10_minutes"
|
|
114
|
+
l2_to_l3: "no_access_for_2_hours"
|
|
115
|
+
l3_eviction: "no_access_for_24_hours"
|
|
116
|
+
|
|
117
|
+
# Content-Specific Caching Rules
|
|
118
|
+
content_rules:
|
|
119
|
+
|
|
120
|
+
# Mission files - High priority, frequent access
|
|
121
|
+
missions:
|
|
122
|
+
cache_levels: ["l1", "l2"]
|
|
123
|
+
ttl_override: 600 # 10 minutes
|
|
124
|
+
compression: true
|
|
125
|
+
preload: true
|
|
126
|
+
|
|
127
|
+
# Story files - Medium priority, moderate access
|
|
128
|
+
stories:
|
|
129
|
+
cache_levels: ["l1", "l2", "l3"]
|
|
130
|
+
ttl_override: 1800 # 30 minutes
|
|
131
|
+
compression: true
|
|
132
|
+
preload: false
|
|
133
|
+
|
|
134
|
+
# Large documents - Low priority, infrequent access
|
|
135
|
+
large_docs:
|
|
136
|
+
cache_levels: ["l2", "l3"]
|
|
137
|
+
ttl_override: 7200 # 2 hours
|
|
138
|
+
compression: true
|
|
139
|
+
streaming: true
|
|
140
|
+
|
|
141
|
+
# System files - Critical priority, always cached
|
|
142
|
+
system_files:
|
|
143
|
+
cache_levels: ["l1"]
|
|
144
|
+
ttl_override: 86400 # 24 hours
|
|
145
|
+
compression: false
|
|
146
|
+
preload: true
|
|
147
|
+
pin_in_memory: true
|
|
148
|
+
|
|
149
|
+
# Performance Optimization Settings
|
|
150
|
+
performance:
|
|
151
|
+
|
|
152
|
+
# Cache warming strategies
|
|
153
|
+
cache_warming:
|
|
154
|
+
enabled: true
|
|
155
|
+
startup_preload: true
|
|
156
|
+
background_warming: true
|
|
157
|
+
predictive_loading: true
|
|
158
|
+
|
|
159
|
+
# Compression optimization
|
|
160
|
+
compression:
|
|
161
|
+
algorithm: "gzip"
|
|
162
|
+
level_by_size:
|
|
163
|
+
small_files: 3 # < 10KB
|
|
164
|
+
medium_files: 6 # 10KB - 1MB
|
|
165
|
+
large_files: 9 # > 1MB
|
|
166
|
+
adaptive_compression: true
|
|
167
|
+
|
|
168
|
+
# Memory management
|
|
169
|
+
memory_management:
|
|
170
|
+
auto_gc_threshold: 120 # MB
|
|
171
|
+
emergency_cleanup: 140 # MB
|
|
172
|
+
smart_eviction: true
|
|
173
|
+
memory_pressure_detection: true
|
|
174
|
+
|
|
175
|
+
# Background processing
|
|
176
|
+
background_tasks:
|
|
177
|
+
enabled: true
|
|
178
|
+
max_concurrent: 2
|
|
179
|
+
priority_queue: true
|
|
180
|
+
idle_time_processing: true
|
|
181
|
+
|
|
182
|
+
# Monitoring and Analytics
|
|
183
|
+
monitoring:
|
|
184
|
+
|
|
185
|
+
# Cache performance metrics
|
|
186
|
+
metrics:
|
|
187
|
+
hit_rate_target: 85 # Percentage
|
|
188
|
+
response_time_target: 50 # Milliseconds
|
|
189
|
+
memory_efficiency_target: 70 # Percentage
|
|
190
|
+
|
|
191
|
+
# Real-time monitoring
|
|
192
|
+
real_time:
|
|
193
|
+
enabled: true
|
|
194
|
+
interval_seconds: 30
|
|
195
|
+
alert_thresholds:
|
|
196
|
+
low_hit_rate: 70
|
|
197
|
+
high_memory_usage: 130
|
|
198
|
+
slow_response: 100
|
|
199
|
+
|
|
200
|
+
# Reporting
|
|
201
|
+
reporting:
|
|
202
|
+
daily_reports: true
|
|
203
|
+
weekly_summaries: true
|
|
204
|
+
performance_trends: true
|
|
205
|
+
optimization_suggestions: true
|
|
206
|
+
|
|
207
|
+
# Cache Maintenance
|
|
208
|
+
maintenance:
|
|
209
|
+
|
|
210
|
+
# Automated cleanup
|
|
211
|
+
cleanup:
|
|
212
|
+
enabled: true
|
|
213
|
+
schedule: "0 */6 * * *" # Every 6 hours
|
|
214
|
+
aggressive_mode: false
|
|
215
|
+
preserve_frequently_accessed: true
|
|
216
|
+
|
|
217
|
+
# Health checks
|
|
218
|
+
health_checks:
|
|
219
|
+
enabled: true
|
|
220
|
+
interval_minutes: 15
|
|
221
|
+
auto_repair: true
|
|
222
|
+
corruption_detection: true
|
|
223
|
+
|
|
224
|
+
# Optimization cycles
|
|
225
|
+
optimization:
|
|
226
|
+
enabled: true
|
|
227
|
+
schedule: "0 2 * * *" # Daily at 2 AM
|
|
228
|
+
defragmentation: true
|
|
229
|
+
index_rebuilding: true
|
|
230
|
+
compression_optimization: true
|
|
231
|
+
|
|
232
|
+
# Integration Settings
|
|
233
|
+
integration:
|
|
234
|
+
|
|
235
|
+
# Claude Code hooks
|
|
236
|
+
claude_code:
|
|
237
|
+
pre_command_cache_check: true
|
|
238
|
+
post_command_cache_update: true
|
|
239
|
+
file_change_invalidation: true
|
|
240
|
+
|
|
241
|
+
# Content deduplicator integration
|
|
242
|
+
deduplication:
|
|
243
|
+
auto_cache_deduplicated: true
|
|
244
|
+
symlink_cache_sharing: true
|
|
245
|
+
duplicate_detection_caching: true
|
|
246
|
+
|
|
247
|
+
# Memory optimizer integration
|
|
248
|
+
memory_optimizer:
|
|
249
|
+
shared_eviction_strategy: true
|
|
250
|
+
coordinated_gc: true
|
|
251
|
+
memory_pressure_sharing: true
|
|
252
|
+
|
|
253
|
+
# Error Handling
|
|
254
|
+
error_handling:
|
|
255
|
+
cache_corruption:
|
|
256
|
+
auto_recovery: true
|
|
257
|
+
backup_restoration: true
|
|
258
|
+
partial_cache_invalidation: true
|
|
259
|
+
|
|
260
|
+
disk_space_issues:
|
|
261
|
+
emergency_cleanup: true
|
|
262
|
+
cache_size_reduction: true
|
|
263
|
+
alternative_locations: ["/tmp/one-cache"]
|
|
264
|
+
|
|
265
|
+
memory_issues:
|
|
266
|
+
graceful_degradation: true
|
|
267
|
+
cache_level_disabling: true
|
|
268
|
+
emergency_eviction: true
|
|
269
|
+
|
|
270
|
+
# Security
|
|
271
|
+
security:
|
|
272
|
+
cache_encryption: false # For development
|
|
273
|
+
access_control: true
|
|
274
|
+
cache_isolation: true
|
|
275
|
+
sensitive_content_exclusion: true
|
|
276
|
+
|
|
277
|
+
# Development and Debug
|
|
278
|
+
development:
|
|
279
|
+
debug_mode: false
|
|
280
|
+
verbose_logging: false
|
|
281
|
+
cache_statistics: true
|
|
282
|
+
performance_profiling: false
|
|
283
|
+
|
|
284
|
+
# Environment-specific overrides
|
|
285
|
+
environments:
|
|
286
|
+
development:
|
|
287
|
+
l1_cache:
|
|
288
|
+
max_size_mb: 15
|
|
289
|
+
ttl_seconds: 180
|
|
290
|
+
debug_mode: true
|
|
291
|
+
|
|
292
|
+
production:
|
|
293
|
+
l1_cache:
|
|
294
|
+
max_size_mb: 50
|
|
295
|
+
ttl_seconds: 600
|
|
296
|
+
monitoring:
|
|
297
|
+
real_time:
|
|
298
|
+
interval_seconds: 60
|
|
299
|
+
|
|
300
|
+
testing:
|
|
301
|
+
cache_system:
|
|
302
|
+
enabled: false
|
|
303
|
+
development:
|
|
304
|
+
debug_mode: true
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
# Real-time Cascade Feedback Templates
|
|
2
|
+
# Templates for consistent status messages across Mission→Story→Task→Agent workflows
|
|
3
|
+
|
|
4
|
+
feedback_templates:
|
|
5
|
+
|
|
6
|
+
# Progress Indicators
|
|
7
|
+
progress:
|
|
8
|
+
mission:
|
|
9
|
+
planning: "🎯 Mission Planning: {title} | Defining objectives..."
|
|
10
|
+
active: "🎯 Mission {current} of {total}: {title} | {percentage}% Complete"
|
|
11
|
+
review: "🎯 Mission Review: {title} | Quality validation in progress..."
|
|
12
|
+
complete: "🎯 Mission Complete: {title} | ✅ {quality}⭐ | All stories delivered"
|
|
13
|
+
blocked: "🎯 Mission Blocked: {title} | ❌ {issue} | Action required"
|
|
14
|
+
|
|
15
|
+
story:
|
|
16
|
+
draft: "📝 Story Draft: {title} | Writing narrative..."
|
|
17
|
+
active: "📖 Story {current} of {total}: {title} | {tasks_complete} of {tasks_total} tasks"
|
|
18
|
+
review: "📖 Story Review: {title} | Quality gate validation..."
|
|
19
|
+
complete: "📖 Story Complete: {title} | ✅ {quality}⭐ | All tasks delivered"
|
|
20
|
+
failed: "📖 Story Failed: {title} | ❌ {quality}⭐ | Rework required"
|
|
21
|
+
|
|
22
|
+
task:
|
|
23
|
+
queued: "⏳ Task Queued: {title} | Waiting for {agent} assignment"
|
|
24
|
+
active: "🔄 Task Active: {title} | {agent} working | ETA {eta}"
|
|
25
|
+
review: "👀 Task Review: {title} | Output validation in progress"
|
|
26
|
+
complete: "✅ Task Complete: {title} | {agent} delivered | {quality}⭐"
|
|
27
|
+
failed: "❌ Task Failed: {title} | Quality gate not met | Rework needed"
|
|
28
|
+
|
|
29
|
+
agent:
|
|
30
|
+
ready: "🟢 {agent}: Ready | Available for new tasks"
|
|
31
|
+
working: "🟡 {agent}: Working | {task} | ETA {eta}"
|
|
32
|
+
busy: "🔴 {agent}: Busy | {task_count} tasks in queue"
|
|
33
|
+
offline: "⚪ {agent}: Offline | Temporarily unavailable"
|
|
34
|
+
|
|
35
|
+
# Loading States
|
|
36
|
+
loading:
|
|
37
|
+
mission_creation: "🎯 Creating Mission... | Analyzing objectives and success criteria"
|
|
38
|
+
story_generation: "📖 Generating Stories... | Breaking down mission into narratives"
|
|
39
|
+
task_breakdown: "✅ Breaking Down Tasks... | Identifying implementation steps"
|
|
40
|
+
agent_assignment: "🤖 Assigning Agents... | Matching expertise to tasks"
|
|
41
|
+
quality_validation: "⭐ Quality Validation... | Checking against standards"
|
|
42
|
+
cascade_orchestration: "🌊 Orchestrating Cascade... | Coordinating workflow"
|
|
43
|
+
|
|
44
|
+
# Quality Score Messages
|
|
45
|
+
quality:
|
|
46
|
+
excellent: "🌟 Excellent Quality: {score}⭐ | Exceeds standards"
|
|
47
|
+
good: "✅ Good Quality: {score}⭐ | Meets requirements"
|
|
48
|
+
review_needed: "⚠️ Review Needed: {score}⭐ | Minor improvements suggested"
|
|
49
|
+
rework_required: "❌ Rework Required: {score}⭐ | Below quality standards"
|
|
50
|
+
pending: "⏳ Quality Pending: Awaiting evaluation"
|
|
51
|
+
|
|
52
|
+
# Status Dashboard Components
|
|
53
|
+
dashboard:
|
|
54
|
+
header: |
|
|
55
|
+
📊 CASCADE STATUS DASHBOARD
|
|
56
|
+
==========================
|
|
57
|
+
|
|
58
|
+
mission_summary: |
|
|
59
|
+
🎯 Mission: "{title}" (Mission {current} of {total})
|
|
60
|
+
Status: {status} | Quality: {quality}⭐ | {percentage}% Complete
|
|
61
|
+
|
|
62
|
+
story_list: |
|
|
63
|
+
📖 Stories Progress:
|
|
64
|
+
{story_items}
|
|
65
|
+
|
|
66
|
+
task_list: |
|
|
67
|
+
✅ Tasks Progress ({complete} of {total} Complete):
|
|
68
|
+
{task_items}
|
|
69
|
+
|
|
70
|
+
agent_status: |
|
|
71
|
+
🤖 Agent Status:
|
|
72
|
+
{agent_items}
|
|
73
|
+
|
|
74
|
+
footer: |
|
|
75
|
+
📈 Overall Progress: {percentage}% Complete | ETA: {eta}
|
|
76
|
+
🎯 Next Action: {next_action}
|
|
77
|
+
|
|
78
|
+
# Notification Messages
|
|
79
|
+
notifications:
|
|
80
|
+
mission_started: "🎯 Mission Started: {title} | {stories_count} stories to execute"
|
|
81
|
+
story_completed: "📖 Story Completed: {title} | Quality: {quality}⭐"
|
|
82
|
+
task_assigned: "✅ Task Assigned: {title} → {agent}"
|
|
83
|
+
quality_gate_passed: "⭐ Quality Gate Passed: {item} | {quality}⭐"
|
|
84
|
+
quality_gate_failed: "❌ Quality Gate Failed: {item} | {quality}⭐ | Action needed"
|
|
85
|
+
cascade_complete: "🌊 Cascade Complete: {mission} | All objectives achieved"
|
|
86
|
+
|
|
87
|
+
# Error and Warning Messages
|
|
88
|
+
alerts:
|
|
89
|
+
bottleneck_detected: "⚠️ Bottleneck Detected: {location} | {delay} delay"
|
|
90
|
+
agent_overloaded: "🔴 Agent Overloaded: {agent} | {task_count} tasks queued"
|
|
91
|
+
quality_declining: "📉 Quality Declining: {item} | {trend} trend detected"
|
|
92
|
+
dependency_missing: "❌ Dependency Missing: {task} waiting for {dependency}"
|
|
93
|
+
timeout_warning: "⏰ Timeout Warning: {item} | {time_remaining} remaining"
|
|
94
|
+
|
|
95
|
+
# Status Icon Mappings
|
|
96
|
+
status_icons:
|
|
97
|
+
mission:
|
|
98
|
+
planning: "🎯"
|
|
99
|
+
active: "🔄"
|
|
100
|
+
review: "👀"
|
|
101
|
+
complete: "✅"
|
|
102
|
+
blocked: "❌"
|
|
103
|
+
|
|
104
|
+
story:
|
|
105
|
+
draft: "📝"
|
|
106
|
+
active: "📖"
|
|
107
|
+
review: "👀"
|
|
108
|
+
complete: "✅"
|
|
109
|
+
failed: "❌"
|
|
110
|
+
|
|
111
|
+
task:
|
|
112
|
+
queued: "⏳"
|
|
113
|
+
active: "🔄"
|
|
114
|
+
review: "👀"
|
|
115
|
+
complete: "✅"
|
|
116
|
+
failed: "❌"
|
|
117
|
+
|
|
118
|
+
agent:
|
|
119
|
+
ready: "🟢"
|
|
120
|
+
working: "🟡"
|
|
121
|
+
busy: "🔴"
|
|
122
|
+
offline: "⚪"
|
|
123
|
+
|
|
124
|
+
# Quality Score Thresholds
|
|
125
|
+
quality_thresholds:
|
|
126
|
+
excellent: 4.5
|
|
127
|
+
good: 4.0
|
|
128
|
+
review_needed: 3.5
|
|
129
|
+
rework_required: 3.0
|
|
130
|
+
|
|
131
|
+
# Update Frequencies (milliseconds)
|
|
132
|
+
update_intervals:
|
|
133
|
+
dashboard_refresh: 5000 # 5 seconds
|
|
134
|
+
agent_status: 2000 # 2 seconds
|
|
135
|
+
quality_check: 10000 # 10 seconds
|
|
136
|
+
progress_update: 3000 # 3 seconds
|
|
137
|
+
|
|
138
|
+
# Color Coding for Terminal Output
|
|
139
|
+
colors:
|
|
140
|
+
success: "\033[92m" # Green
|
|
141
|
+
warning: "\033[93m" # Yellow
|
|
142
|
+
error: "\033[91m" # Red
|
|
143
|
+
info: "\033[94m" # Blue
|
|
144
|
+
reset: "\033[0m" # Reset
|
|
145
|
+
|
|
146
|
+
# Progress Bar Configuration
|
|
147
|
+
progress_bars:
|
|
148
|
+
length: 20
|
|
149
|
+
filled_char: "█"
|
|
150
|
+
empty_char: "░"
|
|
151
|
+
show_percentage: true
|
|
152
|
+
show_eta: true
|