omgkit 2.15.0 → 2.17.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/README.md +52 -4
- package/package.json +2 -2
- package/plugin/commands/alignment/deps.md +213 -0
- package/plugin/commands/alignment/health.md +118 -0
- package/plugin/registry.yaml +109 -46
- package/plugin/stdrules/ALIGNMENT_PRINCIPLE.md +240 -0
- package/plugin/workflows/ai-ml/experiment-cycle.md +1 -1
- package/plugin/workflows/ai-ml/model-deployment.md +7 -7
- package/plugin/workflows/ai-ml/monitoring-setup.md +6 -6
- package/plugin/workflows/event-driven/consumer-groups.md +6 -6
- package/plugin/workflows/game-dev/content-pipeline.md +5 -5
- package/plugin/workflows/game-dev/platform-submission.md +8 -8
- package/plugin/workflows/game-dev/playtesting.md +11 -11
- package/plugin/workflows/game-dev/prototype-to-production.md +4 -4
- package/plugin/workflows/microservices/distributed-tracing.md +6 -6
- package/plugin/workflows/microservices/service-mesh-setup.md +4 -4
package/plugin/registry.yaml
CHANGED
|
@@ -1,9 +1,85 @@
|
|
|
1
1
|
# OMGKIT Component Registry
|
|
2
|
-
# Single Source of Truth for Agents, Skills, Commands, and
|
|
3
|
-
# Version:
|
|
2
|
+
# Single Source of Truth for Agents, Skills, Commands, Workflows, and MCPs
|
|
3
|
+
# Version: 2.17.0
|
|
4
4
|
# Updated: 2026-01-02
|
|
5
5
|
|
|
6
|
-
version: "
|
|
6
|
+
version: "2.17.0"
|
|
7
|
+
|
|
8
|
+
# =============================================================================
|
|
9
|
+
# OPTIMIZED ALIGNMENT PRINCIPLE (OAP)
|
|
10
|
+
# =============================================================================
|
|
11
|
+
# Core architectural rule defining component relationships.
|
|
12
|
+
# See: plugin/stdrules/ALIGNMENT_PRINCIPLE.md for full documentation.
|
|
13
|
+
#
|
|
14
|
+
# Hierarchy (lower levels are used by higher levels):
|
|
15
|
+
# Level 0: MCPs → Foundation layer
|
|
16
|
+
# Level 1: Commands → Use: MCPs
|
|
17
|
+
# Level 2: Skills → Use: Commands, MCPs
|
|
18
|
+
# Level 3: Agents → Use: Skills, Commands, MCPs
|
|
19
|
+
# Level 4: Workflows → Use: Agents, Skills, Commands, MCPs
|
|
20
|
+
#
|
|
21
|
+
# Rules:
|
|
22
|
+
# 1. Format Compliance - Use correct format for each component type
|
|
23
|
+
# 2. Existence Validation - All references must point to existing components
|
|
24
|
+
# 3. No Cross-Type Confusion - Don't mix agents/skills/commands
|
|
25
|
+
# 4. Hierarchical Respect - Only reference lower or same level components
|
|
26
|
+
# 5. Optimization - Appropriate, minimal, unique, contextual references
|
|
27
|
+
# =============================================================================
|
|
28
|
+
|
|
29
|
+
alignment_principle:
|
|
30
|
+
version: "1.0.0"
|
|
31
|
+
enforced: true
|
|
32
|
+
documentation: "plugin/stdrules/ALIGNMENT_PRINCIPLE.md"
|
|
33
|
+
hierarchy:
|
|
34
|
+
- level: 0
|
|
35
|
+
type: mcp
|
|
36
|
+
format: "mcp-name"
|
|
37
|
+
location: "plugin/mcp/"
|
|
38
|
+
uses: []
|
|
39
|
+
- level: 1
|
|
40
|
+
type: command
|
|
41
|
+
format: "/namespace:command-name"
|
|
42
|
+
location: "plugin/commands/<namespace>/<name>.md"
|
|
43
|
+
uses: [mcp]
|
|
44
|
+
- level: 2
|
|
45
|
+
type: skill
|
|
46
|
+
format: "category/skill-name"
|
|
47
|
+
location: "plugin/skills/<category>/<name>/SKILL.md"
|
|
48
|
+
uses: [command, mcp]
|
|
49
|
+
- level: 3
|
|
50
|
+
type: agent
|
|
51
|
+
format: "kebab-case"
|
|
52
|
+
location: "plugin/agents/<name>.md"
|
|
53
|
+
uses: [skill, command, mcp]
|
|
54
|
+
- level: 4
|
|
55
|
+
type: workflow
|
|
56
|
+
format: "category/workflow-name"
|
|
57
|
+
location: "plugin/workflows/<category>/<name>.md"
|
|
58
|
+
uses: [agent, skill, command, mcp]
|
|
59
|
+
|
|
60
|
+
# =============================================================================
|
|
61
|
+
# MCP SERVERS (Model Context Protocol)
|
|
62
|
+
# =============================================================================
|
|
63
|
+
# MCPs provide external capabilities to OMGKIT components.
|
|
64
|
+
# Foundation layer of the alignment hierarchy.
|
|
65
|
+
# =============================================================================
|
|
66
|
+
|
|
67
|
+
mcp_servers:
|
|
68
|
+
context7:
|
|
69
|
+
description: Up-to-date library documentation
|
|
70
|
+
status: supported
|
|
71
|
+
sequential-thinking:
|
|
72
|
+
description: Multi-step reasoning
|
|
73
|
+
status: supported
|
|
74
|
+
memory:
|
|
75
|
+
description: Persistent knowledge graph
|
|
76
|
+
status: supported
|
|
77
|
+
filesystem:
|
|
78
|
+
description: Secure file operations
|
|
79
|
+
status: supported
|
|
80
|
+
playwright:
|
|
81
|
+
description: Browser automation
|
|
82
|
+
status: supported
|
|
7
83
|
|
|
8
84
|
# =============================================================================
|
|
9
85
|
# AGENTS
|
|
@@ -373,21 +449,7 @@ agents:
|
|
|
373
449
|
# ---------------------------------------------------------------------------
|
|
374
450
|
# SPECIALIZED AGENTS
|
|
375
451
|
# ---------------------------------------------------------------------------
|
|
376
|
-
autonomous-orchestrator
|
|
377
|
-
file: agents/autonomous-orchestrator.yaml
|
|
378
|
-
description: State-driven autonomous project execution
|
|
379
|
-
skills:
|
|
380
|
-
- autonomous/project-orchestration
|
|
381
|
-
commands:
|
|
382
|
-
- /auto:init
|
|
383
|
-
- /auto:start
|
|
384
|
-
- /auto:status
|
|
385
|
-
- /auto:next
|
|
386
|
-
- /auto:approve
|
|
387
|
-
- /auto:reject
|
|
388
|
-
- /auto:verify
|
|
389
|
-
- /auto:checkpoint
|
|
390
|
-
- /auto:resume
|
|
452
|
+
# Note: autonomous-orchestrator uses YAML format and is handled separately
|
|
391
453
|
|
|
392
454
|
domain-decomposer:
|
|
393
455
|
file: agents/domain-decomposer.md
|
|
@@ -466,6 +528,7 @@ skill_categories:
|
|
|
466
528
|
# All valid command namespace prefixes
|
|
467
529
|
|
|
468
530
|
command_namespaces:
|
|
531
|
+
- alignment # Alignment and dependency graph
|
|
469
532
|
- auto # Autonomous orchestration
|
|
470
533
|
- context # Context management
|
|
471
534
|
- data # Data engineering
|
|
@@ -502,15 +565,15 @@ workflows:
|
|
|
502
565
|
commands: [/planning:plan, /dev:feature, /dev:test, /dev:review, /git:pr]
|
|
503
566
|
|
|
504
567
|
development/bug-fix:
|
|
505
|
-
agents: [debugger, fullstack-developer, tester,
|
|
568
|
+
agents: [debugger, fullstack-developer, tester, git-manager]
|
|
506
569
|
skills:
|
|
507
570
|
- methodology/systematic-debugging
|
|
508
571
|
- methodology/root-cause-tracing
|
|
509
572
|
- methodology/test-driven-development
|
|
510
|
-
commands: [/dev:fix, /dev:fix-hard, /dev:test, /git:cm]
|
|
573
|
+
commands: [/dev:fix, /dev:fix-hard, /dev:fix-test, /git:cm]
|
|
511
574
|
|
|
512
575
|
development/refactor:
|
|
513
|
-
agents: [
|
|
576
|
+
agents: [code-reviewer, fullstack-developer, tester, git-manager]
|
|
514
577
|
skills:
|
|
515
578
|
- methodology/verification-before-completion
|
|
516
579
|
- methodology/test-driven-development
|
|
@@ -542,31 +605,31 @@ workflows:
|
|
|
542
605
|
commands: [/planning:research, /planning:plan-detailed, /dev:feature, /dev:test, /quality:security-scan]
|
|
543
606
|
|
|
544
607
|
ai-engineering/fine-tuning:
|
|
545
|
-
agents: [
|
|
608
|
+
agents: [researcher, planner, fullstack-developer, tester]
|
|
546
609
|
skills:
|
|
547
610
|
- ai-engineering/finetuning
|
|
548
611
|
- ai-engineering/dataset-engineering
|
|
549
612
|
- ai-engineering/evaluation-methodology
|
|
550
|
-
commands: [/planning:plan, /
|
|
613
|
+
commands: [/planning:plan, /dev:feature, /dev:test]
|
|
551
614
|
|
|
552
615
|
ai-engineering/prompt-engineering:
|
|
553
|
-
agents: [researcher,
|
|
616
|
+
agents: [researcher, tester]
|
|
554
617
|
skills:
|
|
555
618
|
- ai-engineering/prompt-engineering
|
|
556
619
|
- ai-engineering/evaluation-methodology
|
|
557
|
-
commands: [/planning:research, /dev:
|
|
620
|
+
commands: [/planning:research, /dev:test]
|
|
558
621
|
|
|
559
622
|
ai-engineering/model-evaluation:
|
|
560
|
-
agents: [
|
|
623
|
+
agents: [researcher, planner, tester]
|
|
561
624
|
skills:
|
|
562
625
|
- ai-engineering/ai-system-evaluation
|
|
563
626
|
- ai-engineering/evaluation-methodology
|
|
564
627
|
- ai-engineering/dataset-engineering
|
|
565
|
-
commands: [/planning:plan, /
|
|
628
|
+
commands: [/planning:plan, /dev:test]
|
|
566
629
|
|
|
567
630
|
# Security workflows
|
|
568
631
|
security/security-audit:
|
|
569
|
-
agents: [security-auditor, fullstack-developer, docs-manager]
|
|
632
|
+
agents: [security-auditor, vulnerability-scanner, code-reviewer, fullstack-developer, docs-manager]
|
|
570
633
|
skills:
|
|
571
634
|
- security/owasp
|
|
572
635
|
- security/security-hardening
|
|
@@ -583,7 +646,7 @@ workflows:
|
|
|
583
646
|
|
|
584
647
|
# Database workflows
|
|
585
648
|
database/schema-design:
|
|
586
|
-
agents: [database-admin,
|
|
649
|
+
agents: [database-admin, planner, tester]
|
|
587
650
|
skills:
|
|
588
651
|
- databases/database-schema-design
|
|
589
652
|
- databases/postgresql
|
|
@@ -591,20 +654,20 @@ workflows:
|
|
|
591
654
|
commands: [/planning:plan, /dev:feature, /dev:test]
|
|
592
655
|
|
|
593
656
|
database/migration:
|
|
594
|
-
agents: [database-admin,
|
|
657
|
+
agents: [database-admin, planner, tester]
|
|
595
658
|
skills:
|
|
596
659
|
- databases/database-migration
|
|
597
|
-
commands: [/planning:plan, /dev:
|
|
660
|
+
commands: [/planning:plan, /dev:test]
|
|
598
661
|
|
|
599
662
|
database/optimization:
|
|
600
|
-
agents: [database-admin,
|
|
663
|
+
agents: [database-admin, tester]
|
|
601
664
|
skills:
|
|
602
665
|
- databases/database-optimization
|
|
603
|
-
commands: [/quality:optimize, /
|
|
666
|
+
commands: [/quality:optimize, /dev:test]
|
|
604
667
|
|
|
605
668
|
# API workflows
|
|
606
669
|
api/api-design:
|
|
607
|
-
agents: [api-designer,
|
|
670
|
+
agents: [api-designer, planner, docs-manager, code-reviewer]
|
|
608
671
|
skills:
|
|
609
672
|
- backend/api-architecture
|
|
610
673
|
commands: [/planning:plan, /quality:api-gen, /planning:doc, /dev:review]
|
|
@@ -618,21 +681,21 @@ workflows:
|
|
|
618
681
|
|
|
619
682
|
# Omega workflows
|
|
620
683
|
omega/10x-improvement:
|
|
621
|
-
agents: [oracle, brainstormer, fullstack-developer, tester]
|
|
684
|
+
agents: [oracle, architect, brainstormer, fullstack-developer, tester, journal-writer]
|
|
622
685
|
skills:
|
|
623
686
|
- omega/omega-thinking
|
|
624
687
|
- omega/omega-coding
|
|
625
688
|
commands: [/omega:10x, /planning:brainstorm, /dev:feature, /dev:test]
|
|
626
689
|
|
|
627
690
|
omega/100x-architecture:
|
|
628
|
-
agents: [oracle, architect, researcher]
|
|
691
|
+
agents: [oracle, architect, planner, researcher]
|
|
629
692
|
skills:
|
|
630
693
|
- omega/omega-architecture
|
|
631
694
|
- omega/omega-thinking
|
|
632
695
|
commands: [/omega:100x, /planning:plan-detailed]
|
|
633
696
|
|
|
634
697
|
omega/1000x-innovation:
|
|
635
|
-
agents: [oracle, researcher, brainstormer]
|
|
698
|
+
agents: [oracle, researcher, brainstormer, architect]
|
|
636
699
|
skills:
|
|
637
700
|
- omega/omega-thinking
|
|
638
701
|
- omega/omega-architecture
|
|
@@ -640,27 +703,27 @@ workflows:
|
|
|
640
703
|
|
|
641
704
|
# Sprint workflows
|
|
642
705
|
sprint/sprint-setup:
|
|
643
|
-
agents: [sprint-master, planner]
|
|
706
|
+
agents: [sprint-master, planner, project-manager]
|
|
644
707
|
skills:
|
|
645
708
|
- omega/omega-sprint
|
|
646
709
|
commands: [/sprint:vision-set, /sprint:backlog-add, /sprint:backlog-prioritize, /sprint:sprint-new, /sprint:sprint-start]
|
|
647
710
|
|
|
648
711
|
sprint/sprint-execution:
|
|
649
|
-
agents: [sprint-master, fullstack-developer, tester, debugger]
|
|
712
|
+
agents: [sprint-master, fullstack-developer, tester, debugger, project-manager]
|
|
650
713
|
skills:
|
|
651
714
|
- omega/omega-sprint
|
|
652
715
|
- methodology/executing-plans
|
|
653
716
|
commands: [/sprint:sprint-current, /sprint:team-run, /sprint:team-status, /dev:fix, /sprint:sprint-end]
|
|
654
717
|
|
|
655
718
|
sprint/sprint-retrospective:
|
|
656
|
-
agents: [sprint-master,
|
|
719
|
+
agents: [sprint-master, project-manager, journal-writer]
|
|
657
720
|
skills:
|
|
658
721
|
- omega/omega-sprint
|
|
659
722
|
commands: [/sprint:sprint-end, /planning:doc]
|
|
660
723
|
|
|
661
724
|
# Fullstack workflows
|
|
662
725
|
fullstack/full-feature:
|
|
663
|
-
agents: [planner,
|
|
726
|
+
agents: [planner, database-admin, api-designer, ui-ux-designer, fullstack-developer, tester, code-reviewer, git-manager]
|
|
664
727
|
skills:
|
|
665
728
|
- methodology/writing-plans
|
|
666
729
|
- databases/database-schema-design
|
|
@@ -669,7 +732,7 @@ workflows:
|
|
|
669
732
|
commands: [/planning:plan-detailed, /dev:feature, /dev:test, /dev:review, /git:pr]
|
|
670
733
|
|
|
671
734
|
fullstack/authentication:
|
|
672
|
-
agents: [
|
|
735
|
+
agents: [planner, fullstack-developer, security-auditor, tester]
|
|
673
736
|
skills:
|
|
674
737
|
- security/oauth
|
|
675
738
|
- security/better-auth
|
|
@@ -679,21 +742,21 @@ workflows:
|
|
|
679
742
|
|
|
680
743
|
# Quality workflows
|
|
681
744
|
quality/performance-optimization:
|
|
682
|
-
agents: [
|
|
745
|
+
agents: [fullstack-developer, tester]
|
|
683
746
|
skills:
|
|
684
747
|
- ai-engineering/inference-optimization
|
|
685
748
|
- databases/database-optimization
|
|
686
|
-
commands: [/quality:optimize, /
|
|
749
|
+
commands: [/quality:optimize, /dev:test]
|
|
687
750
|
|
|
688
751
|
# Research workflows
|
|
689
752
|
research/technology-research:
|
|
690
|
-
agents: [researcher,
|
|
753
|
+
agents: [researcher, oracle, docs-manager]
|
|
691
754
|
skills:
|
|
692
755
|
- methodology/research-validation
|
|
693
756
|
commands: [/planning:research, /planning:doc]
|
|
694
757
|
|
|
695
758
|
research/best-practices:
|
|
696
|
-
agents: [researcher, fullstack-developer]
|
|
759
|
+
agents: [researcher, planner, fullstack-developer]
|
|
697
760
|
skills:
|
|
698
761
|
- methodology/research-validation
|
|
699
762
|
commands: [/planning:research, /planning:plan, /dev:feature]
|
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
# Optimized Alignment Principle (OAP)
|
|
2
|
+
|
|
3
|
+
**Version:** 1.0.0
|
|
4
|
+
**Status:** Core Principle
|
|
5
|
+
**Enforcement:** Mandatory (validated by tests)
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Overview
|
|
10
|
+
|
|
11
|
+
The **Optimized Alignment Principle (OAP)** is a core architectural rule that defines how OMGKIT components relate to each other. This principle ensures consistency, maintainability, and scalability across all components.
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## Component Hierarchy
|
|
16
|
+
|
|
17
|
+
```
|
|
18
|
+
┌─────────────────────────────────────────────────────────────────────┐
|
|
19
|
+
│ OPTIMIZED ALIGNMENT HIERARCHY │
|
|
20
|
+
├─────────────────────────────────────────────────────────────────────┤
|
|
21
|
+
│ │
|
|
22
|
+
│ Level 0: MCPs (Model Context Protocol Servers) │
|
|
23
|
+
│ └── Foundation layer, used by all other components │
|
|
24
|
+
│ │
|
|
25
|
+
│ Level 1: Commands │
|
|
26
|
+
│ └── Use: zero-to-many MCPs │
|
|
27
|
+
│ └── Format: /namespace:command-name │
|
|
28
|
+
│ │
|
|
29
|
+
│ Level 2: Skills │
|
|
30
|
+
│ └── Use: zero-to-many Commands, MCPs │
|
|
31
|
+
│ └── Format: category/skill-name │
|
|
32
|
+
│ │
|
|
33
|
+
│ Level 3: Agents │
|
|
34
|
+
│ └── Use: zero-to-many Skills, Commands, MCPs │
|
|
35
|
+
│ └── Format: kebab-case name │
|
|
36
|
+
│ │
|
|
37
|
+
│ Level 4: Workflows │
|
|
38
|
+
│ └── Use: zero-to-many Agents, Skills, Commands, MCPs │
|
|
39
|
+
│ └── Format: category/workflow-name │
|
|
40
|
+
│ │
|
|
41
|
+
└─────────────────────────────────────────────────────────────────────┘
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
## Alignment Rules
|
|
47
|
+
|
|
48
|
+
### Rule 1: Format Compliance
|
|
49
|
+
|
|
50
|
+
All component references MUST use the correct format:
|
|
51
|
+
|
|
52
|
+
| Component | Format | Example |
|
|
53
|
+
|-----------|--------|---------|
|
|
54
|
+
| MCP | `mcp-name` | `context7`, `sequential-thinking` |
|
|
55
|
+
| Command | `/namespace:command-name` | `/dev:feature`, `/omega:10x` |
|
|
56
|
+
| Skill | `category/skill-name` | `methodology/writing-plans` |
|
|
57
|
+
| Agent | `kebab-case` | `fullstack-developer` |
|
|
58
|
+
| Workflow | `category/workflow-name` | `development/feature` |
|
|
59
|
+
|
|
60
|
+
### Rule 2: Existence Validation
|
|
61
|
+
|
|
62
|
+
All referenced components MUST exist:
|
|
63
|
+
|
|
64
|
+
- Skills → Must exist in `/plugin/skills/<category>/<name>/SKILL.md`
|
|
65
|
+
- Commands → Must exist in `/plugin/commands/<namespace>/<name>.md`
|
|
66
|
+
- Agents → Must exist in `/plugin/agents/<name>.md`
|
|
67
|
+
- Workflows → Must exist in `/plugin/workflows/<category>/<name>.md`
|
|
68
|
+
- MCPs → Must be registered in `/plugin/mcp/`
|
|
69
|
+
|
|
70
|
+
### Rule 3: No Cross-Type Confusion
|
|
71
|
+
|
|
72
|
+
Components MUST NOT be confused with other types:
|
|
73
|
+
|
|
74
|
+
- ❌ Agent names in `skills:` field
|
|
75
|
+
- ❌ Skill names in `agents:` field
|
|
76
|
+
- ❌ Commands without proper `/namespace:` prefix
|
|
77
|
+
|
|
78
|
+
### Rule 4: Hierarchical Respect
|
|
79
|
+
|
|
80
|
+
Components can only reference components from their level or below:
|
|
81
|
+
|
|
82
|
+
| Component | Can Reference |
|
|
83
|
+
|-----------|---------------|
|
|
84
|
+
| MCP | (none - foundation layer) |
|
|
85
|
+
| Command | MCPs |
|
|
86
|
+
| Skill | Commands, MCPs |
|
|
87
|
+
| Agent | Skills, Commands, MCPs |
|
|
88
|
+
| Workflow | Agents, Skills, Commands, MCPs |
|
|
89
|
+
|
|
90
|
+
### Rule 5: Optimization Requirements
|
|
91
|
+
|
|
92
|
+
References should be:
|
|
93
|
+
|
|
94
|
+
1. **Appropriate** - Only reference what is needed
|
|
95
|
+
2. **Minimal** - Avoid redundant dependencies
|
|
96
|
+
3. **Unique** - No duplicate references
|
|
97
|
+
4. **Contextual** - Match the component's purpose
|
|
98
|
+
|
|
99
|
+
---
|
|
100
|
+
|
|
101
|
+
## Frontmatter Specifications
|
|
102
|
+
|
|
103
|
+
### Skill Frontmatter
|
|
104
|
+
|
|
105
|
+
```yaml
|
|
106
|
+
---
|
|
107
|
+
name: skill-name
|
|
108
|
+
description: What the skill does
|
|
109
|
+
category: category-name
|
|
110
|
+
commands: # Optional: commands this skill uses
|
|
111
|
+
- /namespace:cmd
|
|
112
|
+
mcps: # Future: MCPs this skill uses
|
|
113
|
+
- mcp-name
|
|
114
|
+
---
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
### Agent Frontmatter
|
|
118
|
+
|
|
119
|
+
```yaml
|
|
120
|
+
---
|
|
121
|
+
name: agent-name
|
|
122
|
+
description: What the agent does
|
|
123
|
+
tools: Tool1, Tool2
|
|
124
|
+
model: inherit
|
|
125
|
+
skills: # Skills this agent uses
|
|
126
|
+
- category/skill-name
|
|
127
|
+
commands: # Commands this agent can trigger
|
|
128
|
+
- /namespace:cmd
|
|
129
|
+
mcps: # Future: MCPs this agent uses
|
|
130
|
+
- mcp-name
|
|
131
|
+
---
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
### Workflow Frontmatter
|
|
135
|
+
|
|
136
|
+
```yaml
|
|
137
|
+
---
|
|
138
|
+
name: workflow-name
|
|
139
|
+
description: What the workflow does
|
|
140
|
+
category: category-name
|
|
141
|
+
agents: # Agents this workflow orchestrates
|
|
142
|
+
- agent-name
|
|
143
|
+
skills: # Skills used across the workflow
|
|
144
|
+
- category/skill-name
|
|
145
|
+
commands: # Commands triggered by the workflow
|
|
146
|
+
- /namespace:cmd
|
|
147
|
+
mcps: # Future: MCPs used by the workflow
|
|
148
|
+
- mcp-name
|
|
149
|
+
---
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
---
|
|
153
|
+
|
|
154
|
+
## Validation
|
|
155
|
+
|
|
156
|
+
### Automated Tests
|
|
157
|
+
|
|
158
|
+
The alignment principle is enforced by automated tests in:
|
|
159
|
+
- `tests/validation/alignment.test.js`
|
|
160
|
+
- `tests/validation/format.test.js`
|
|
161
|
+
- `tests/validation/existence.test.js`
|
|
162
|
+
- `tests/validation/hierarchy.test.js`
|
|
163
|
+
|
|
164
|
+
### Pre-Publish Check
|
|
165
|
+
|
|
166
|
+
Before publishing to npm, ALL alignment tests MUST pass:
|
|
167
|
+
|
|
168
|
+
```bash
|
|
169
|
+
npm test
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
### CI/CD Integration
|
|
173
|
+
|
|
174
|
+
GitHub Actions validates alignment on every PR.
|
|
175
|
+
|
|
176
|
+
---
|
|
177
|
+
|
|
178
|
+
## Examples
|
|
179
|
+
|
|
180
|
+
### Correct Alignment
|
|
181
|
+
|
|
182
|
+
```yaml
|
|
183
|
+
# Agent: fullstack-developer.md
|
|
184
|
+
skills:
|
|
185
|
+
- methodology/executing-plans # ✓ Valid skill format
|
|
186
|
+
- languages/typescript # ✓ Exists in skills directory
|
|
187
|
+
commands:
|
|
188
|
+
- /dev:feature # ✓ Valid command format
|
|
189
|
+
- /dev:fix # ✓ Exists in commands directory
|
|
190
|
+
```
|
|
191
|
+
|
|
192
|
+
### Incorrect Alignment
|
|
193
|
+
|
|
194
|
+
```yaml
|
|
195
|
+
# WRONG - Common mistakes
|
|
196
|
+
skills:
|
|
197
|
+
- planner # ✗ This is an agent name, not skill
|
|
198
|
+
- writing-plans # ✗ Missing category prefix
|
|
199
|
+
- methodology/nonexistent # ✗ Skill doesn't exist
|
|
200
|
+
|
|
201
|
+
commands:
|
|
202
|
+
- feature # ✗ Missing /namespace: prefix
|
|
203
|
+
- /dev/feature # ✗ Wrong separator (/ not :)
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
---
|
|
207
|
+
|
|
208
|
+
## Future: MCP Alignment
|
|
209
|
+
|
|
210
|
+
When MCP support is fully implemented:
|
|
211
|
+
|
|
212
|
+
1. MCPs will be registered in `/plugin/mcp/`
|
|
213
|
+
2. All components can declare `mcps:` in frontmatter
|
|
214
|
+
3. Tests will validate MCP references exist
|
|
215
|
+
4. Registry will track MCP-component mappings
|
|
216
|
+
|
|
217
|
+
---
|
|
218
|
+
|
|
219
|
+
## Enforcement
|
|
220
|
+
|
|
221
|
+
This principle is:
|
|
222
|
+
|
|
223
|
+
1. **Documented** - In this file and public docs
|
|
224
|
+
2. **Tested** - 400+ automated tests
|
|
225
|
+
3. **Required** - Must pass before publish
|
|
226
|
+
4. **Versioned** - Changes tracked in changelog
|
|
227
|
+
|
|
228
|
+
---
|
|
229
|
+
|
|
230
|
+
## Changelog
|
|
231
|
+
|
|
232
|
+
### 1.0.0 (2026-01-02)
|
|
233
|
+
- Initial definition of Optimized Alignment Principle
|
|
234
|
+
- Established 5 core alignment rules
|
|
235
|
+
- Created comprehensive test suite
|
|
236
|
+
- Added MCP future support placeholder
|
|
237
|
+
|
|
238
|
+
---
|
|
239
|
+
|
|
240
|
+
*Think Omega. Build Omega. Be Omega.* 🔮
|
|
@@ -5,7 +5,7 @@ triggers:
|
|
|
5
5
|
- ml:deploy
|
|
6
6
|
agents:
|
|
7
7
|
- ml-engineer
|
|
8
|
-
-
|
|
8
|
+
- observability-engineer
|
|
9
9
|
---
|
|
10
10
|
|
|
11
11
|
# Model Deployment Workflow
|
|
@@ -79,7 +79,7 @@ base_images:
|
|
|
79
79
|
|
|
80
80
|
### Step 3.1: Deploy to Staging
|
|
81
81
|
```yaml
|
|
82
|
-
agent:
|
|
82
|
+
agent: observability-engineer
|
|
83
83
|
action: deploy
|
|
84
84
|
environment: staging
|
|
85
85
|
infrastructure:
|
|
@@ -105,7 +105,7 @@ tests:
|
|
|
105
105
|
|
|
106
106
|
### Step 4.1: Canary Deployment
|
|
107
107
|
```yaml
|
|
108
|
-
agent:
|
|
108
|
+
agent: observability-engineer
|
|
109
109
|
action: deploy
|
|
110
110
|
strategy: canary
|
|
111
111
|
configuration:
|
|
@@ -119,7 +119,7 @@ configuration:
|
|
|
119
119
|
|
|
120
120
|
### Step 4.2: Shadow Deployment (Optional)
|
|
121
121
|
```yaml
|
|
122
|
-
agent:
|
|
122
|
+
agent: observability-engineer
|
|
123
123
|
action: deploy
|
|
124
124
|
strategy: shadow
|
|
125
125
|
configuration:
|
|
@@ -131,7 +131,7 @@ configuration:
|
|
|
131
131
|
|
|
132
132
|
### Step 4.3: Full Rollout
|
|
133
133
|
```yaml
|
|
134
|
-
agent:
|
|
134
|
+
agent: observability-engineer
|
|
135
135
|
action: promote
|
|
136
136
|
after:
|
|
137
137
|
- Canary success
|
|
@@ -147,7 +147,7 @@ steps:
|
|
|
147
147
|
|
|
148
148
|
### Step 5.1: Configure Monitoring
|
|
149
149
|
```yaml
|
|
150
|
-
agent:
|
|
150
|
+
agent: observability-engineer
|
|
151
151
|
action: configure
|
|
152
152
|
monitoring:
|
|
153
153
|
- Prediction latency
|
|
@@ -163,7 +163,7 @@ dashboards:
|
|
|
163
163
|
|
|
164
164
|
### Step 5.2: Configure Alerts
|
|
165
165
|
```yaml
|
|
166
|
-
agent:
|
|
166
|
+
agent: observability-engineer
|
|
167
167
|
action: configure
|
|
168
168
|
alerts:
|
|
169
169
|
- High error rate
|
|
@@ -5,7 +5,7 @@ triggers:
|
|
|
5
5
|
- ml:monitoring
|
|
6
6
|
agents:
|
|
7
7
|
- ml-engineer
|
|
8
|
-
-
|
|
8
|
+
- observability-engineer
|
|
9
9
|
---
|
|
10
10
|
|
|
11
11
|
# ML Monitoring Setup Workflow
|
|
@@ -127,7 +127,7 @@ detection:
|
|
|
127
127
|
|
|
128
128
|
### Step 4.1: System Metrics
|
|
129
129
|
```yaml
|
|
130
|
-
agent:
|
|
130
|
+
agent: observability-engineer
|
|
131
131
|
action: configure
|
|
132
132
|
metrics:
|
|
133
133
|
- Request latency (p50, p95, p99)
|
|
@@ -140,7 +140,7 @@ metrics:
|
|
|
140
140
|
|
|
141
141
|
### Step 4.2: SLI/SLO Definition
|
|
142
142
|
```yaml
|
|
143
|
-
agent:
|
|
143
|
+
agent: observability-engineer
|
|
144
144
|
action: define
|
|
145
145
|
slis:
|
|
146
146
|
- Availability: Successful requests / Total requests
|
|
@@ -156,7 +156,7 @@ slos:
|
|
|
156
156
|
|
|
157
157
|
### Step 5.1: Alert Configuration
|
|
158
158
|
```yaml
|
|
159
|
-
agent:
|
|
159
|
+
agent: observability-engineer
|
|
160
160
|
action: configure
|
|
161
161
|
alert_rules:
|
|
162
162
|
- model_drift_detected:
|
|
@@ -175,7 +175,7 @@ alert_rules:
|
|
|
175
175
|
|
|
176
176
|
### Step 5.2: Response Playbooks
|
|
177
177
|
```yaml
|
|
178
|
-
agent:
|
|
178
|
+
agent: observability-engineer
|
|
179
179
|
action: document
|
|
180
180
|
playbooks:
|
|
181
181
|
- drift_detected:
|
|
@@ -196,7 +196,7 @@ playbooks:
|
|
|
196
196
|
|
|
197
197
|
### Step 6.1: Create Dashboards
|
|
198
198
|
```yaml
|
|
199
|
-
agent:
|
|
199
|
+
agent: observability-engineer
|
|
200
200
|
action: create
|
|
201
201
|
dashboards:
|
|
202
202
|
- model_health:
|