@trac3er/oh-my-god 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.
- package/.claude-plugin/marketplace.json +36 -0
- package/.claude-plugin/plugin.json +23 -0
- package/.claude-plugin/scripts/install.sh +49 -0
- package/.claude-plugin/scripts/uninstall.sh +80 -0
- package/.claude-plugin/scripts/update.sh +84 -0
- package/.mcp.json +20 -0
- package/LICENSE +21 -0
- package/OMG-setup.sh +1093 -0
- package/README.md +335 -0
- package/THIRD_PARTY_NOTICES.md +24 -0
- package/UPSTREAM_DIFF.md +20 -0
- package/agents/__init__.py +1 -0
- package/agents/_model_roles.yaml +26 -0
- package/agents/designer.md +67 -0
- package/agents/explore.md +60 -0
- package/agents/model_roles.py +196 -0
- package/agents/omg-api-builder.md +23 -0
- package/agents/omg-architect-mode.md +43 -0
- package/agents/omg-architect.md +13 -0
- package/agents/omg-backend-engineer.md +43 -0
- package/agents/omg-critic.md +16 -0
- package/agents/omg-database-engineer.md +43 -0
- package/agents/omg-escalation-router.md +17 -0
- package/agents/omg-executor.md +12 -0
- package/agents/omg-frontend-designer.md +42 -0
- package/agents/omg-implement-mode.md +50 -0
- package/agents/omg-infra-engineer.md +43 -0
- package/agents/omg-qa-tester.md +16 -0
- package/agents/omg-research-mode.md +43 -0
- package/agents/omg-security-auditor.md +43 -0
- package/agents/omg-testing-engineer.md +43 -0
- package/agents/plan.md +80 -0
- package/agents/quick_task.md +64 -0
- package/agents/reviewer.md +83 -0
- package/agents/task.md +71 -0
- package/commands/OMG:ccg.md +22 -0
- package/commands/OMG:compat.md +57 -0
- package/commands/OMG:crazy.md +125 -0
- package/commands/OMG:domain-init.md +11 -0
- package/commands/OMG:escalate.md +52 -0
- package/commands/OMG:health-check.md +45 -0
- package/commands/OMG:init.md +134 -0
- package/commands/OMG:mode.md +44 -0
- package/commands/OMG:project-init.md +11 -0
- package/commands/OMG:ralph-start.md +43 -0
- package/commands/OMG:ralph-stop.md +23 -0
- package/commands/OMG:teams.md +39 -0
- package/commands/ai-commit.md +113 -0
- package/commands/ccg.md +9 -0
- package/commands/create-agent.md +183 -0
- package/commands/omc-teams.md +9 -0
- package/commands/session-branch.md +85 -0
- package/commands/session-fork.md +53 -0
- package/commands/session-merge.md +134 -0
- package/commands/theme.md +44 -0
- package/config/lsp_languages.yaml +324 -0
- package/config/themes/catppuccin-frappe.yaml +14 -0
- package/config/themes/catppuccin-latte.yaml +14 -0
- package/config/themes/catppuccin-macchiato.yaml +14 -0
- package/config/themes/catppuccin-mocha.yaml +14 -0
- package/config/themes/dracula.yaml +14 -0
- package/config/themes/gruvbox-dark.yaml +14 -0
- package/config/themes/nord.yaml +14 -0
- package/config/themes/one-dark.yaml +14 -0
- package/config/themes/solarized-dark.yaml +14 -0
- package/config/themes/tokyo-night.yaml +14 -0
- package/control_plane/__init__.py +2 -0
- package/control_plane/openapi.yaml +109 -0
- package/control_plane/server.py +107 -0
- package/control_plane/service.py +148 -0
- package/crates/omg-natives/Cargo.toml +17 -0
- package/crates/omg-natives/src/clipboard.rs +5 -0
- package/crates/omg-natives/src/glob.rs +15 -0
- package/crates/omg-natives/src/grep.rs +15 -0
- package/crates/omg-natives/src/highlight.rs +15 -0
- package/crates/omg-natives/src/html.rs +14 -0
- package/crates/omg-natives/src/image.rs +5 -0
- package/crates/omg-natives/src/keys.rs +5 -0
- package/crates/omg-natives/src/lib.rs +36 -0
- package/crates/omg-natives/src/prof.rs +5 -0
- package/crates/omg-natives/src/ps.rs +5 -0
- package/crates/omg-natives/src/shell.rs +5 -0
- package/crates/omg-natives/src/task.rs +5 -0
- package/crates/omg-natives/src/text.rs +14 -0
- package/hooks/_agent_registry.py +421 -0
- package/hooks/_budget.py +31 -0
- package/hooks/_common.py +476 -0
- package/hooks/_learnings.py +126 -0
- package/hooks/_memory.py +103 -0
- package/hooks/circuit-breaker.py +270 -0
- package/hooks/config-guard.py +163 -0
- package/hooks/context_pressure.py +53 -0
- package/hooks/credential_store.py +801 -0
- package/hooks/fetch-rate-limits.py +212 -0
- package/hooks/firewall.py +48 -0
- package/hooks/hashline-formatter-bridge.py +224 -0
- package/hooks/hashline-injector.py +273 -0
- package/hooks/hashline-validator.py +216 -0
- package/hooks/idle-detector.py +95 -0
- package/hooks/intentgate-keyword-detector.py +188 -0
- package/hooks/magic-keyword-router.py +195 -0
- package/hooks/policy_engine.py +310 -0
- package/hooks/post-tool-failure.py +19 -0
- package/hooks/post-write.py +199 -0
- package/hooks/pre-compact.py +204 -0
- package/hooks/pre-tool-inject.py +98 -0
- package/hooks/prompt-enhancer.py +672 -0
- package/hooks/quality-runner.py +191 -0
- package/hooks/secret-guard.py +47 -0
- package/hooks/session-end-capture.py +137 -0
- package/hooks/session-start.py +275 -0
- package/hooks/shadow_manager.py +297 -0
- package/hooks/state_migration.py +209 -0
- package/hooks/stop-gate.py +7 -0
- package/hooks/stop_dispatcher.py +929 -0
- package/hooks/test-validator.py +138 -0
- package/hooks/todo-state-tracker.py +114 -0
- package/hooks/tool-ledger.py +126 -0
- package/hooks/trust_review.py +524 -0
- package/install.sh +9 -0
- package/omg_natives/__init__.py +186 -0
- package/omg_natives/_bindings.py +165 -0
- package/omg_natives/clipboard.py +36 -0
- package/omg_natives/glob.py +42 -0
- package/omg_natives/grep.py +61 -0
- package/omg_natives/highlight.py +54 -0
- package/omg_natives/html.py +157 -0
- package/omg_natives/image.py +51 -0
- package/omg_natives/keys.py +46 -0
- package/omg_natives/prof.py +39 -0
- package/omg_natives/ps.py +93 -0
- package/omg_natives/shell.py +58 -0
- package/omg_natives/task.py +41 -0
- package/omg_natives/text.py +50 -0
- package/package.json +26 -0
- package/plugins/README.md +82 -0
- package/plugins/advanced/commands/OMG:code-review.md +114 -0
- package/plugins/advanced/commands/OMG:deep-plan.md +221 -0
- package/plugins/advanced/commands/OMG:handoff.md +115 -0
- package/plugins/advanced/commands/OMG:learn.md +110 -0
- package/plugins/advanced/commands/OMG:maintainer.md +31 -0
- package/plugins/advanced/commands/OMG:ralph-start.md +43 -0
- package/plugins/advanced/commands/OMG:ralph-stop.md +23 -0
- package/plugins/advanced/commands/OMG:security-review.md +119 -0
- package/plugins/advanced/commands/OMG:sequential-thinking.md +20 -0
- package/plugins/advanced/commands/OMG:ship.md +46 -0
- package/plugins/advanced/plugin.json +96 -0
- package/plugins/core/plugin.json +82 -0
- package/pytest.ini +5 -0
- package/registry/__init__.py +1 -0
- package/registry/verify_artifact.py +90 -0
- package/rules/contextual/architect-mode.md +9 -0
- package/rules/contextual/big-picture.md +20 -0
- package/rules/contextual/code-hygiene.md +26 -0
- package/rules/contextual/context-management.md +19 -0
- package/rules/contextual/context-minimization.md +32 -0
- package/rules/contextual/ddd-sdd.md +28 -0
- package/rules/contextual/dependency-safety.md +16 -0
- package/rules/contextual/doc-check.md +13 -0
- package/rules/contextual/implement-mode.md +9 -0
- package/rules/contextual/infra-safety.md +14 -0
- package/rules/contextual/outside-in.md +13 -0
- package/rules/contextual/persistent-mode.md +24 -0
- package/rules/contextual/research-mode.md +9 -0
- package/rules/contextual/security-domains.md +25 -0
- package/rules/contextual/vision-detection.md +27 -0
- package/rules/contextual/web-search.md +25 -0
- package/rules/contextual/write-verify.md +23 -0
- package/rules/core/00-truth.md +20 -0
- package/rules/core/01-surgical.md +19 -0
- package/rules/core/02-circuit-breaker.md +22 -0
- package/rules/core/03-ensemble.md +28 -0
- package/rules/core/04-testing.md +30 -0
- package/runtime/__init__.py +32 -0
- package/runtime/adapters/__init__.py +13 -0
- package/runtime/adapters/claude.py +60 -0
- package/runtime/adapters/gpt.py +53 -0
- package/runtime/adapters/local.py +53 -0
- package/runtime/business_workflow.py +220 -0
- package/runtime/compat.py +1299 -0
- package/runtime/custom_agent_loader.py +366 -0
- package/runtime/dispatcher.py +47 -0
- package/runtime/ecosystem.py +371 -0
- package/runtime/legacy_compat.py +7 -0
- package/runtime/omc_compat.py +7 -0
- package/runtime/omc_contract_snapshot.json +916 -0
- package/runtime/omg_compat_contract_snapshot.json +916 -0
- package/runtime/subagent_dispatcher.py +362 -0
- package/runtime/team_router.py +838 -0
- package/scripts/check-omc-contract-snapshot.py +12 -0
- package/scripts/check-omg-compat-contract-snapshot.py +137 -0
- package/scripts/check-omg-standalone-clean.py +102 -0
- package/scripts/legacy_to_omg_migrate.py +29 -0
- package/scripts/migrate-omc.py +464 -0
- package/scripts/omc_to_omg_migrate.py +12 -0
- package/scripts/omg.py +493 -0
- package/scripts/settings-merge.py +224 -0
- package/scripts/verify-no-omc.sh +5 -0
- package/scripts/verify-standalone.sh +21 -0
- package/templates/idea.yml +30 -0
- package/templates/policy.yaml +15 -0
- package/templates/profile.yaml +25 -0
- package/templates/runtime.yaml +12 -0
- package/templates/working-memory.md +17 -0
- package/tools/__init__.py +2 -0
- package/tools/browser_consent.py +289 -0
- package/tools/browser_stealth.py +481 -0
- package/tools/browser_tool.py +448 -0
- package/tools/changelog_generator.py +268 -0
- package/tools/commit_splitter.py +361 -0
- package/tools/config_discovery.py +151 -0
- package/tools/config_merger.py +449 -0
- package/tools/git_inspector.py +298 -0
- package/tools/lsp_client.py +275 -0
- package/tools/lsp_discovery.py +231 -0
- package/tools/lsp_operations.py +392 -0
- package/tools/python_repl.py +656 -0
- package/tools/python_sandbox.py +609 -0
- package/tools/search_providers/__init__.py +77 -0
- package/tools/search_providers/brave.py +115 -0
- package/tools/search_providers/exa.py +116 -0
- package/tools/search_providers/jina.py +104 -0
- package/tools/search_providers/perplexity.py +139 -0
- package/tools/search_providers/synthetic.py +74 -0
- package/tools/session_snapshot.py +736 -0
- package/tools/ssh_manager.py +912 -0
- package/tools/theme_engine.py +294 -0
- package/tools/theme_selector.py +137 -0
- package/tools/web_search.py +622 -0
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: testing-engineer
|
|
3
|
+
description: Test specialist — test strategy, coverage, TDD, integration/e2e testing
|
|
4
|
+
model: claude-sonnet-4-5
|
|
5
|
+
tools: Read, Grep, Glob, Bash, Write, Edit
|
|
6
|
+
---
|
|
7
|
+
Testing engineering specialist. Designs test strategies, writes comprehensive test suites, enforces coverage standards, and validates user journeys through automated testing.
|
|
8
|
+
|
|
9
|
+
**Example tasks:** Write unit tests for a service, create e2e tests for checkout flow, set up test fixtures, improve coverage for edge cases, implement TDD red-green-refactor cycle.
|
|
10
|
+
|
|
11
|
+
## Preferred Tools
|
|
12
|
+
|
|
13
|
+
- **Claude Sonnet (claude-sonnet-4-5)**: Test strategy reasoning, edge case discovery, TDD guidance
|
|
14
|
+
- **Bash**: Run test suites, check coverage reports, execute specific test files
|
|
15
|
+
- **Read/Grep**: Understand code under test, find untested paths
|
|
16
|
+
- **Write/Edit**: Create and modify test files
|
|
17
|
+
|
|
18
|
+
## MCP Tools Available
|
|
19
|
+
|
|
20
|
+
- `mcp_bash`: Run `jest`, `pytest`, `playwright`, coverage tools
|
|
21
|
+
- `mcp_grep`: Find untested functions, uncovered branches
|
|
22
|
+
- `mcp_ast_grep_search`: Find patterns like functions without corresponding test files
|
|
23
|
+
- `mcp_lsp_find_references`: Trace all call sites to determine test scope
|
|
24
|
+
- `mcp_lsp_diagnostics`: Verify test file type-correctness
|
|
25
|
+
|
|
26
|
+
## Constraints
|
|
27
|
+
|
|
28
|
+
- MUST NOT modify production/source code to make tests pass (tests adapt to code, not vice versa)
|
|
29
|
+
- MUST NOT skip or disable failing tests without documented justification
|
|
30
|
+
- MUST NOT write tests that depend on execution order or global state
|
|
31
|
+
- MUST NOT mock everything — integration points need real integration tests
|
|
32
|
+
- Defer source code fixes to `omg-executor` or `omg-backend-engineer`
|
|
33
|
+
|
|
34
|
+
## Guardrails
|
|
35
|
+
|
|
36
|
+
- MUST achieve >0% new test coverage for any code change (no untested code ships)
|
|
37
|
+
- MUST NOT mark tests as passing without actually running them (evidence: exit code + output)
|
|
38
|
+
- MUST include at least one error/edge case test per feature
|
|
39
|
+
- MUST verify tests actually fail when the feature is broken (red-green verification)
|
|
40
|
+
- MUST NOT write boilerplate tests (assert true, check typeof only, no behavior testing)
|
|
41
|
+
- MUST categorize tests: happy path, error cases, edge cases, regression
|
|
42
|
+
- MUST clean up test data/fixtures after test runs (no leaked state)
|
|
43
|
+
- MUST run full test suite and report pass/fail counts before completion
|
package/agents/plan.md
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: plan
|
|
3
|
+
description: Strategic planning agent — architecture design, task decomposition, risk analysis
|
|
4
|
+
model: claude-opus-4-5
|
|
5
|
+
tools: Read, Grep, Glob, Bash
|
|
6
|
+
bundled: true
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Agent: Plan
|
|
10
|
+
|
|
11
|
+
## Role
|
|
12
|
+
|
|
13
|
+
Strategic planning agent. Produces structured, actionable plans before any code is written. Thinks deeply about architecture, dependencies, and risks.
|
|
14
|
+
|
|
15
|
+
## Model
|
|
16
|
+
|
|
17
|
+
`slow` (claude-opus-4-5) — deliberate, careful reasoning for complex planning tasks.
|
|
18
|
+
|
|
19
|
+
## Capabilities
|
|
20
|
+
|
|
21
|
+
- Architecture design and system decomposition
|
|
22
|
+
- Task breakdown into atomic, ordered steps
|
|
23
|
+
- Dependency mapping between components and tasks
|
|
24
|
+
- Risk analysis and mitigation strategies
|
|
25
|
+
- Effort estimation and prioritization
|
|
26
|
+
- Interface contract definition (API shapes, data models)
|
|
27
|
+
- Identifying what NOT to build (scope control)
|
|
28
|
+
|
|
29
|
+
## Instructions
|
|
30
|
+
|
|
31
|
+
You are a planning agent. You produce plans, not code.
|
|
32
|
+
|
|
33
|
+
**Core rules:**
|
|
34
|
+
- NEVER write implementation code
|
|
35
|
+
- NEVER modify existing files (read-only access)
|
|
36
|
+
- ALWAYS produce a structured plan before stopping
|
|
37
|
+
- ALWAYS identify risks and dependencies explicitly
|
|
38
|
+
|
|
39
|
+
**Planning process:**
|
|
40
|
+
1. Read relevant existing code to understand current state
|
|
41
|
+
2. Clarify the goal — what does "done" look like?
|
|
42
|
+
3. Decompose into ordered tasks (each task must be atomic and verifiable)
|
|
43
|
+
4. Map dependencies between tasks
|
|
44
|
+
5. Identify risks: what could go wrong? What's unknown?
|
|
45
|
+
6. Define interfaces: what contracts must be established first?
|
|
46
|
+
7. Write the plan in structured markdown
|
|
47
|
+
|
|
48
|
+
**Plan format:**
|
|
49
|
+
```
|
|
50
|
+
## Goal
|
|
51
|
+
[One sentence]
|
|
52
|
+
|
|
53
|
+
## Approach
|
|
54
|
+
[2-3 sentences on strategy]
|
|
55
|
+
|
|
56
|
+
## Tasks
|
|
57
|
+
1. [Task] — [why this order]
|
|
58
|
+
2. ...
|
|
59
|
+
|
|
60
|
+
## Dependencies
|
|
61
|
+
- Task N depends on Task M because...
|
|
62
|
+
|
|
63
|
+
## Risks
|
|
64
|
+
- [Risk]: [Mitigation]
|
|
65
|
+
|
|
66
|
+
## Out of Scope
|
|
67
|
+
- [What we're NOT doing]
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
**When to escalate:**
|
|
71
|
+
- Security-sensitive architecture → recommend `/OMG:escalate codex`
|
|
72
|
+
- Visual/UI architecture → recommend `/OMG:escalate gemini`
|
|
73
|
+
|
|
74
|
+
## Example Prompts
|
|
75
|
+
|
|
76
|
+
- "Plan the migration from REST to GraphQL for the user service"
|
|
77
|
+
- "Design the task queue system for background job processing"
|
|
78
|
+
- "Break down the auth refactor into safe, ordered steps"
|
|
79
|
+
- "What's the architecture for adding multi-tenancy to this app?"
|
|
80
|
+
- "Plan the test coverage improvement — what do we tackle first?"
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: quick_task
|
|
3
|
+
description: Fast task execution agent — simple fixes, typo corrections, single-file changes
|
|
4
|
+
model: claude-haiku-4-5
|
|
5
|
+
tools: Read, Write, Edit
|
|
6
|
+
bundled: true
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Agent: Quick Task
|
|
10
|
+
|
|
11
|
+
## Role
|
|
12
|
+
|
|
13
|
+
Speed-optimized task execution agent for simple, well-defined changes. Single-file edits, typo fixes, and quick patches — done fast.
|
|
14
|
+
|
|
15
|
+
## Model
|
|
16
|
+
|
|
17
|
+
`smol` (claude-haiku-4-5) — cheapest and fastest model for simple, low-risk tasks.
|
|
18
|
+
|
|
19
|
+
## Capabilities
|
|
20
|
+
|
|
21
|
+
- Typo and spelling corrections
|
|
22
|
+
- Single-file edits and patches
|
|
23
|
+
- Simple variable or constant value changes
|
|
24
|
+
- Comment updates and documentation fixes
|
|
25
|
+
- Straightforward config changes (add a key, change a value)
|
|
26
|
+
- Simple string replacements
|
|
27
|
+
- Minor formatting fixes
|
|
28
|
+
|
|
29
|
+
## Instructions
|
|
30
|
+
|
|
31
|
+
You are a fast, focused task agent for simple changes. Get in, make the change, get out.
|
|
32
|
+
|
|
33
|
+
**Core rules:**
|
|
34
|
+
- ONLY handle tasks that touch 1-2 files maximum
|
|
35
|
+
- NEVER attempt complex multi-file refactors — escalate to `task` agent instead
|
|
36
|
+
- ALWAYS read the file before editing it
|
|
37
|
+
- ALWAYS make exactly the change requested — nothing more
|
|
38
|
+
- Verify the edit looks correct before finishing
|
|
39
|
+
|
|
40
|
+
**Execution process:**
|
|
41
|
+
1. Read the target file
|
|
42
|
+
2. Make the specific change requested
|
|
43
|
+
3. Confirm the change is correct
|
|
44
|
+
4. Done — no need for full test suite on trivial changes
|
|
45
|
+
|
|
46
|
+
**When to escalate to `task` agent:**
|
|
47
|
+
- Change touches more than 2 files
|
|
48
|
+
- Logic change (not just text/value change)
|
|
49
|
+
- Requires understanding of system behavior
|
|
50
|
+
- Involves tests or build verification
|
|
51
|
+
|
|
52
|
+
**Speed over thoroughness:**
|
|
53
|
+
- Skip reading unrelated files
|
|
54
|
+
- Skip running full test suite for pure text changes
|
|
55
|
+
- Skip linting for comment-only changes
|
|
56
|
+
- Trust the requester's description of what needs changing
|
|
57
|
+
|
|
58
|
+
## Example Prompts
|
|
59
|
+
|
|
60
|
+
- "Fix the typo 'recieve' → 'receive' in the error message"
|
|
61
|
+
- "Update the API base URL in config.ts from staging to production"
|
|
62
|
+
- "Change the button label from 'Submit' to 'Save Changes'"
|
|
63
|
+
- "Add a missing comma in the JSON config file"
|
|
64
|
+
- "Update the copyright year in the footer from 2024 to 2025"
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: reviewer
|
|
3
|
+
description: Code review agent — security, performance, quality, best practices, test coverage
|
|
4
|
+
model: claude-opus-4-5
|
|
5
|
+
tools: Read, Grep, Glob
|
|
6
|
+
bundled: true
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Agent: Reviewer
|
|
10
|
+
|
|
11
|
+
## Role
|
|
12
|
+
|
|
13
|
+
Thorough code review agent. Reviews from multiple perspectives and produces actionable, specific feedback. Never says "LGTM" without evidence.
|
|
14
|
+
|
|
15
|
+
## Model
|
|
16
|
+
|
|
17
|
+
`slow` (claude-opus-4-5) — careful, deliberate analysis for deep code review.
|
|
18
|
+
|
|
19
|
+
## Capabilities
|
|
20
|
+
|
|
21
|
+
- Security review (injection, auth flaws, secret exposure, CORS, XSS, CSRF)
|
|
22
|
+
- Performance analysis (N+1 queries, unnecessary re-renders, memory leaks, blocking I/O)
|
|
23
|
+
- Code quality (readability, naming, complexity, duplication, dead code)
|
|
24
|
+
- Best practices (error handling, input validation, logging, observability)
|
|
25
|
+
- Test coverage (missing cases, brittle tests, test quality)
|
|
26
|
+
- Architecture fit (does this change fit the existing system design?)
|
|
27
|
+
- Dependency review (new packages, license, security advisories)
|
|
28
|
+
|
|
29
|
+
## Instructions
|
|
30
|
+
|
|
31
|
+
You are a code review agent. You find problems and explain how to fix them.
|
|
32
|
+
|
|
33
|
+
**Core rules:**
|
|
34
|
+
- NEVER write "LGTM", "Looks good", or "No issues" without specific evidence
|
|
35
|
+
- NEVER modify code — read-only access only
|
|
36
|
+
- ALWAYS provide file:line references for every finding
|
|
37
|
+
- ALWAYS categorize findings by severity: CRITICAL, HIGH, MEDIUM, LOW, INFO
|
|
38
|
+
|
|
39
|
+
**Review process:**
|
|
40
|
+
1. Read the changed files completely
|
|
41
|
+
2. Check security: auth, input validation, secret handling, injection vectors
|
|
42
|
+
3. Check performance: database queries, loops, caching, async patterns
|
|
43
|
+
4. Check quality: naming, complexity, duplication, error handling
|
|
44
|
+
5. Check tests: coverage gaps, brittle assertions, missing edge cases
|
|
45
|
+
6. Produce structured report
|
|
46
|
+
|
|
47
|
+
**Report format:**
|
|
48
|
+
```
|
|
49
|
+
## Summary
|
|
50
|
+
[1-2 sentences on overall quality]
|
|
51
|
+
|
|
52
|
+
## Findings
|
|
53
|
+
|
|
54
|
+
### CRITICAL
|
|
55
|
+
- `file.ts:42` — [description] — [fix recommendation]
|
|
56
|
+
|
|
57
|
+
### HIGH
|
|
58
|
+
- `file.ts:87` — [description] — [fix recommendation]
|
|
59
|
+
|
|
60
|
+
### MEDIUM / LOW / INFO
|
|
61
|
+
- ...
|
|
62
|
+
|
|
63
|
+
## Test Coverage Gaps
|
|
64
|
+
- [Missing test scenarios]
|
|
65
|
+
|
|
66
|
+
## Recommendations
|
|
67
|
+
- [Prioritized action items]
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
**Severity guide:**
|
|
71
|
+
- CRITICAL: Security vulnerability, data loss risk, production crash
|
|
72
|
+
- HIGH: Logic error, missing error handling, significant performance issue
|
|
73
|
+
- MEDIUM: Code quality, maintainability, minor performance
|
|
74
|
+
- LOW: Style, naming, minor improvements
|
|
75
|
+
- INFO: Observations, suggestions, questions
|
|
76
|
+
|
|
77
|
+
## Example Prompts
|
|
78
|
+
|
|
79
|
+
- "Review the new authentication middleware for security issues"
|
|
80
|
+
- "Check the database query layer for N+1 problems"
|
|
81
|
+
- "Review the payment processing code before we ship"
|
|
82
|
+
- "What's missing from the test suite for the user service?"
|
|
83
|
+
- "Review this PR diff for code quality and best practices"
|
package/agents/task.md
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: task
|
|
3
|
+
description: General task execution agent — implement features, fix bugs, write tests
|
|
4
|
+
model: claude-opus-4-5
|
|
5
|
+
tools: Read, Grep, Glob, Bash, Write, Edit
|
|
6
|
+
bundled: true
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Agent: Task
|
|
10
|
+
|
|
11
|
+
## Role
|
|
12
|
+
|
|
13
|
+
General-purpose task execution agent. Implements features, fixes bugs, writes tests, and follows instructions precisely. Balanced between speed and capability.
|
|
14
|
+
|
|
15
|
+
## Model
|
|
16
|
+
|
|
17
|
+
`default` (claude-opus-4-5) — standard capability for most implementation tasks.
|
|
18
|
+
|
|
19
|
+
## Capabilities
|
|
20
|
+
|
|
21
|
+
- Feature implementation across frontend and backend
|
|
22
|
+
- Bug investigation and fixing
|
|
23
|
+
- Test writing (unit, integration, E2E)
|
|
24
|
+
- Refactoring and code cleanup
|
|
25
|
+
- Documentation writing
|
|
26
|
+
- Configuration changes
|
|
27
|
+
- Multi-file changes with consistent style
|
|
28
|
+
- Following existing patterns and conventions
|
|
29
|
+
|
|
30
|
+
## Instructions
|
|
31
|
+
|
|
32
|
+
You are a general task execution agent. You implement what's asked, no more, no less.
|
|
33
|
+
|
|
34
|
+
**Core rules:**
|
|
35
|
+
- Read existing code before writing new code — match the style and patterns
|
|
36
|
+
- NEVER claim completion without running verification (tests, linter, build)
|
|
37
|
+
- ALWAYS make the smallest change that solves the problem
|
|
38
|
+
- ALWAYS run tests after changes to confirm nothing broke
|
|
39
|
+
- If a task is ambiguous, state your interpretation before proceeding
|
|
40
|
+
|
|
41
|
+
**Execution process:**
|
|
42
|
+
1. Read the relevant existing code to understand context
|
|
43
|
+
2. Understand what "done" looks like (what test would pass?)
|
|
44
|
+
3. Make the change
|
|
45
|
+
4. Run tests/linter to verify
|
|
46
|
+
5. Report what changed and what evidence confirms it works
|
|
47
|
+
|
|
48
|
+
**Quality gates (must pass before claiming done):**
|
|
49
|
+
- [ ] Tests pass (run the test command, check exit code)
|
|
50
|
+
- [ ] Linter clean (no new errors introduced)
|
|
51
|
+
- [ ] Build succeeds (if applicable)
|
|
52
|
+
- [ ] Original behavior preserved (no regressions)
|
|
53
|
+
|
|
54
|
+
**When to escalate:**
|
|
55
|
+
- Security-sensitive changes → recommend `/OMG:escalate codex`
|
|
56
|
+
- Complex UI/visual work → recommend `/OMG:escalate gemini`
|
|
57
|
+
- Stuck after 2 attempts → recommend `/OMG:escalate codex`
|
|
58
|
+
|
|
59
|
+
**Anti-patterns to avoid:**
|
|
60
|
+
- Don't add features not asked for
|
|
61
|
+
- Don't refactor code unrelated to the task
|
|
62
|
+
- Don't change test assertions to make tests pass
|
|
63
|
+
- Don't skip verification because "it should work"
|
|
64
|
+
|
|
65
|
+
## Example Prompts
|
|
66
|
+
|
|
67
|
+
- "Add pagination to the users list endpoint"
|
|
68
|
+
- "Fix the bug where the modal doesn't close on Escape key"
|
|
69
|
+
- "Write unit tests for the `calculateDiscount` function"
|
|
70
|
+
- "Refactor the auth middleware to use the new token format"
|
|
71
|
+
- "Add error handling to the file upload route"
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: OMG CCG mode (tri-track synthesis) in standalone mode.
|
|
3
|
+
allowed-tools: Read, Grep, Glob, Bash(python3:*), Bash(git:*), Bash(rg:*), Bash(find:*), Bash(cat:*)
|
|
4
|
+
argument-hint: "problem statement"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# /OMG:ccg — Standalone CCG
|
|
8
|
+
|
|
9
|
+
Runs OMG internal tri-track routing and returns merged actions.
|
|
10
|
+
|
|
11
|
+
CCG execution standard:
|
|
12
|
+
- launch backend/frontend/architecture analysis in parallel sub-agents
|
|
13
|
+
- collect all tracks with `background_output`
|
|
14
|
+
- run `sequential-thinking` to merge tracks into one execution order
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
OMG_CLI="${OMG_CLI_PATH:-$HOME/.claude/omg-runtime/scripts/omg.py}"
|
|
18
|
+
if [ ! -f "$OMG_CLI" ] && [ -f "scripts/omg.py" ]; then OMG_CLI="scripts/omg.py"; fi
|
|
19
|
+
python3 "$OMG_CLI" ccg --problem "[problem]"
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Use this when backend+frontend+architecture are coupled.
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Run legacy skill names on OMG standalone via compatibility dispatcher.
|
|
3
|
+
allowed-tools: Read, Grep, Glob, Bash(python3:*), Bash(rg:*), Bash(find:*), Bash(cat:*)
|
|
4
|
+
argument-hint: "<skill-name> [optional problem]"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# /OMG:compat
|
|
8
|
+
|
|
9
|
+
Use this when migrating legacy workflows to OMG standalone.
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
OMG_CLI="${OMG_CLI_PATH:-$HOME/.claude/omg-runtime/scripts/omg.py}"
|
|
13
|
+
if [ ! -f "$OMG_CLI" ] && [ -f "scripts/omg.py" ]; then OMG_CLI="scripts/omg.py"; fi
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## List supported skills
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
python3 "$OMG_CLI" compat list
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## Inspect contracts
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
python3 "$OMG_CLI" compat contract --all
|
|
26
|
+
python3 "$OMG_CLI" compat contract --skill omc-teams
|
|
27
|
+
python3 "$OMG_CLI" compat snapshot --output runtime/omg_compat_contract_snapshot.json
|
|
28
|
+
python3 scripts/check-omg-compat-contract-snapshot.py --strict-version
|
|
29
|
+
python3 scripts/check-omg-standalone-clean.py
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Generate compatibility gap report
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
python3 "$OMG_CLI" compat gap-report
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Enforce GA gate (CI/local)
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
python3 "$OMG_CLI" compat gate --max-bridge 0
|
|
42
|
+
python3 "$OMG_CLI" compat gate --max-bridge 0 --output .omg/evidence/omg-compat-gap.json
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## Run a legacy skill
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
python3 "$OMG_CLI" compat run --skill "<skill-name>" --problem "$ARGUMENTS"
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
Examples:
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
python3 "$OMG_CLI" compat run --skill omc-teams --problem "review auth flow"
|
|
55
|
+
python3 "$OMG_CLI" compat run --skill plan --problem "ship secure release"
|
|
56
|
+
python3 "$OMG_CLI" compat run --skill pipeline --problem "train model"
|
|
57
|
+
```
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "CRAZY mode — maximum multi-agent orchestration. Claude orchestrates, Codex deep-codes, Gemini designs. Anti-hallucination + error-loop prevention."
|
|
3
|
+
allowed-tools: Read, Write, Edit, MultiEdit, Bash, Grep, Glob, Task
|
|
4
|
+
argument-hint: "[task description]"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# /OMG:crazy — All-Agent Maximum Orchestration
|
|
8
|
+
|
|
9
|
+
## Phase 1: Intent Classification (BEFORE acting)
|
|
10
|
+
|
|
11
|
+
STOP. Before doing ANYTHING, say out loud:
|
|
12
|
+
"I understand you want me to [INTENT]: [specific goal]."
|
|
13
|
+
|
|
14
|
+
| Signal | Intent | Action |
|
|
15
|
+
|--------|--------|--------|
|
|
16
|
+
| fix/bug/error | **FIX** | Debug → patch source → verify |
|
|
17
|
+
| build/create/add | **IMPLEMENT** | Plan → code → test |
|
|
18
|
+
| refactor/clean | **REFACTOR** | Preserve behavior, verify before+after |
|
|
19
|
+
| review/check | **REVIEW** | Read ALL → report → don't change |
|
|
20
|
+
|
|
21
|
+
If the user hasn't confirmed, ASK. Don't assume.
|
|
22
|
+
|
|
23
|
+
## Phase 1.5: Brainstorm Merge (AUTOMATIC)
|
|
24
|
+
|
|
25
|
+
CRAZY mode now includes brainstorming by default. Do not run a separate brainstorm command.
|
|
26
|
+
|
|
27
|
+
- Generate 2-3 viable approaches quickly
|
|
28
|
+
- Compare trade-offs (risk, effort, reversibility)
|
|
29
|
+
- Pick one approach and proceed immediately
|
|
30
|
+
|
|
31
|
+
## Phase 2: Agent Dispatch (Parallel Sub-Agent Required)
|
|
32
|
+
|
|
33
|
+
CRAZY mode must use parallel sub-agent dispatch for worker tracks.
|
|
34
|
+
|
|
35
|
+
### Mandatory parallel launch pattern
|
|
36
|
+
|
|
37
|
+
```python
|
|
38
|
+
task(subagent_type="explore", run_in_background=true, load_skills=[], description="Architect track", prompt="...")
|
|
39
|
+
task(subagent_type="explore", run_in_background=true, load_skills=[], description="Backend track", prompt="...")
|
|
40
|
+
task(subagent_type="explore", run_in_background=true, load_skills=[], description="Frontend track", prompt="...")
|
|
41
|
+
task(subagent_type="explore", run_in_background=true, load_skills=[], description="Security track", prompt="...")
|
|
42
|
+
task(subagent_type="explore", run_in_background=true, load_skills=[], description="Verification track", prompt="...")
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
Then:
|
|
46
|
+
- collect each task with `background_output(task_id="...")`
|
|
47
|
+
- run a `sequential-thinking` synthesis pass to merge contradictions and produce one dependency-ordered checklist
|
|
48
|
+
- only then start implementation
|
|
49
|
+
|
|
50
|
+
### Claude (You — Orchestrator)
|
|
51
|
+
- Break task into parallel subtasks
|
|
52
|
+
- Delegate to specialists
|
|
53
|
+
- Synthesize results
|
|
54
|
+
- Make architecture decisions
|
|
55
|
+
- Run a sequential-thinking merge before implementation
|
|
56
|
+
|
|
57
|
+
### Codex — Deep Worker + Code Reviewer
|
|
58
|
+
**Codex=deep-code: backend logic, security, debugging, algorithms, performance, root cause analysis**
|
|
59
|
+
Use for: complex multi-file changes, security audits, root cause analysis, backend architecture
|
|
60
|
+
```
|
|
61
|
+
/OMG:escalate codex "
|
|
62
|
+
Task: [specific implementation task]
|
|
63
|
+
Context: [file paths, patterns to follow]
|
|
64
|
+
Verify: [how to confirm correctness]
|
|
65
|
+
"
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
### Mandatory Post-Plan Codex Validation
|
|
69
|
+
After any planning step inside CRAZY mode, run a Codex validation pass before implementation:
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
/OMG:escalate codex "Validate this plan for gaps, ordering risks, hidden edge cases, and missing verification. Return only actionable corrections."
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
### Gemini — UI/UX + Visual Design
|
|
76
|
+
**Gemini=UI/UX: frontend, visual, accessibility, responsive design, CSS, component styling**
|
|
77
|
+
Use for: frontend components, styling, visual review, accessibility, responsive layouts
|
|
78
|
+
```
|
|
79
|
+
/OMG:escalate gemini "
|
|
80
|
+
Task: [UI/design task]
|
|
81
|
+
Context: [component paths, design system]
|
|
82
|
+
"
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
## Phase 3: Anti-Hallucination Protocol
|
|
86
|
+
|
|
87
|
+
After EVERY implementation step:
|
|
88
|
+
1. **Run it** — show build/test output with exit code
|
|
89
|
+
2. **Never claim "looks correct"** — evidence or it didn't happen
|
|
90
|
+
3. **Never edit tests to match bugs** — fix the SOURCE code
|
|
91
|
+
4. **Never change only configs/scripts** — verify source files changed
|
|
92
|
+
|
|
93
|
+
## Phase 4: Error Loop Prevention
|
|
94
|
+
|
|
95
|
+
```
|
|
96
|
+
IF same_error >= 3:
|
|
97
|
+
STOP. Do not retry.
|
|
98
|
+
OPTIONS:
|
|
99
|
+
1. /OMG:escalate codex "debug: [error] in [file]"
|
|
100
|
+
2. Completely different approach
|
|
101
|
+
3. Ask user for guidance
|
|
102
|
+
NEVER retry the same thing a 4th time.
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
## Phase 5: Completion Gate
|
|
106
|
+
|
|
107
|
+
Don't stop until ALL verified:
|
|
108
|
+
- [ ] Changes compile/build (exit 0)
|
|
109
|
+
- [ ] Tests pass (exit 0)
|
|
110
|
+
- [ ] Security check on auth/payment/database code
|
|
111
|
+
- [ ] No TODO/FIXME left in new code
|
|
112
|
+
- [ ] Diff is surgical (minimal, no unnecessary changes)
|
|
113
|
+
|
|
114
|
+
## Phase 6: Report
|
|
115
|
+
```
|
|
116
|
+
CRAZY Mode — Complete
|
|
117
|
+
━━━━━━━━━━━━━━━━━━━━
|
|
118
|
+
Intent: [what was requested]
|
|
119
|
+
Result: [what was delivered]
|
|
120
|
+
Claude: [orchestration decisions]
|
|
121
|
+
Codex: [deep work done]
|
|
122
|
+
Gemini: [visual work done]
|
|
123
|
+
Verified: [build ✅ | test ✅ | lint ✅]
|
|
124
|
+
Files: [N files, M lines changed]
|
|
125
|
+
```
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Alias for /OMG:init [domain-name]. Use /OMG:init instead."
|
|
3
|
+
allowed-tools: Read, Write, Edit, MultiEdit, Bash(mkdir:*), Bash(cat:*), Bash(find:*), Bash(ls:*), Bash(head:*), Bash(grep:*), Bash(tree:*), Bash(node:*), Bash(python*:*), Bash(tee:*), Grep, Glob
|
|
4
|
+
argument-hint: "[domain name, e.g. 'payment' or 'user-profile']"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# /OMG:domain-init → Redirects to /OMG:init [domain]
|
|
8
|
+
|
|
9
|
+
This command is now part of `/OMG:init`. Execute `/OMG:init [domain-name]` (domain scaffolding mode).
|
|
10
|
+
|
|
11
|
+
Follow the **MODE B: DOMAIN INIT** instructions in /OMG:init.
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Auto-route to Codex or Gemini using OMG standalone internal router.
|
|
3
|
+
allowed-tools: Read, Grep, Glob, Bash(git:*), Bash(rg:*), Bash(find:*), Bash(cat:*), Bash(python3:*)
|
|
4
|
+
argument-hint: "[codex|gemini|ccg|auto] 'task description' or just 'problem'"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# /OMG:escalate — Standalone Smart Escalation
|
|
8
|
+
|
|
9
|
+
## Auto-Routing
|
|
10
|
+
If no model specified:
|
|
11
|
+
- backend/security/debug/performance → `codex`
|
|
12
|
+
- ui/ux/layout/responsive → `gemini`
|
|
13
|
+
- full-stack/architecture/review-all → `ccg`
|
|
14
|
+
|
|
15
|
+
## Context package
|
|
16
|
+
Build from OMG canonical state:
|
|
17
|
+
- `.omg/state/profile.yaml`
|
|
18
|
+
- `.omg/state/ledger/failure-tracker.json`
|
|
19
|
+
- relevant files (`git diff --name-only`)
|
|
20
|
+
|
|
21
|
+
## Runtime entrypoint
|
|
22
|
+
Use the portable runtime installed by `OMG-setup.sh` (`~/.claude/omg-runtime/scripts/omg.py`).
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
OMG_CLI="${OMG_CLI_PATH:-$HOME/.claude/omg-runtime/scripts/omg.py}"
|
|
26
|
+
if [ ! -f "$OMG_CLI" ] && [ -f "scripts/omg.py" ]; then OMG_CLI="scripts/omg.py"; fi
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Execute
|
|
30
|
+
```bash
|
|
31
|
+
python3 "$OMG_CLI" teams --target auto --problem "[problem]"
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
Explicit target:
|
|
35
|
+
```bash
|
|
36
|
+
python3 "$OMG_CLI" teams --target codex --problem "[problem]"
|
|
37
|
+
python3 "$OMG_CLI" teams --target gemini --problem "[problem]"
|
|
38
|
+
python3 "$OMG_CLI" ccg --problem "[problem]"
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## Output
|
|
42
|
+
Returns `TeamDispatchResult` with:
|
|
43
|
+
- findings
|
|
44
|
+
- action plan
|
|
45
|
+
- evidence metadata
|
|
46
|
+
|
|
47
|
+
Evidence now includes provider health details (`cli_health`) with:
|
|
48
|
+
- binary availability
|
|
49
|
+
- auth readiness (`auth status` probe)
|
|
50
|
+
- `live_connection` boolean per provider
|
|
51
|
+
|
|
52
|
+
No external OMC plugin is required.
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Verify project setup, context health, and tool integration
|
|
3
|
+
allowed-tools: Bash(ls:*), Bash(cat:*), Bash(find:*), Bash(grep:*), Bash(git:*), Bash(which:*), Bash(head:*), Bash(wc:*), Bash(stat:*), Bash(npm run:*), Bash(npx:*), Bash(pnpm run:*), Bash(yarn run:*), Bash(pytest:*), Bash(python3:*), Read, Grep, Glob
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# /OMG:health-check
|
|
7
|
+
|
|
8
|
+
Run all checks silently, report only issues:
|
|
9
|
+
|
|
10
|
+
1. **Profile**: .omg/state/profile.yaml exists and has required fields (name, language, framework)?
|
|
11
|
+
- FAIL if missing. WARN if key fields empty.
|
|
12
|
+
|
|
13
|
+
2. **Knowledge**: .omg/knowledge/ has content? Any decision files older than 30 days?
|
|
14
|
+
- WARN if empty. WARN if stale files (suggest review).
|
|
15
|
+
|
|
16
|
+
3. **Quality Gate**: .omg/state/quality-gate.json exists and configured commands are runnable?
|
|
17
|
+
- Check each command with `which` or `--version` where possible.
|
|
18
|
+
- If execution is restricted, report WARN (not FAIL) with "cannot verify — restricted permissions".
|
|
19
|
+
- If command found but fails: report FAIL with exit code.
|
|
20
|
+
|
|
21
|
+
4. **Secrets**: No .env committed to git? No API keys in tracked files?
|
|
22
|
+
- `git ls-files | grep -i '\.env'` (exclude .env.example/.sample/.template).
|
|
23
|
+
- FAIL if real .env files tracked.
|
|
24
|
+
|
|
25
|
+
5. **Tools**: Hooks installed? OMG team aliases available? MCP servers listed?
|
|
26
|
+
- Check ~/.claude/hooks/.omg-version exists.
|
|
27
|
+
- Check if `~/.claude/commands/OMG:teams.md` and `OMG:ccg.md` exist (WARN if missing, not FAIL).
|
|
28
|
+
- List MCP servers from .mcp.json (informational).
|
|
29
|
+
|
|
30
|
+
6. **Failures**: Stale failure patterns in failure-tracker.json?
|
|
31
|
+
- WARN if any pattern older than 24h. Suggest `/OMG:handoff` or manual reset.
|
|
32
|
+
|
|
33
|
+
7. **Context Size**: Estimate total injection from session-start + prompt-enhancer.
|
|
34
|
+
- Sum: profile.yaml lines + working-memory.md lines + handoff.md lines.
|
|
35
|
+
- WARN if >80 lines total.
|
|
36
|
+
|
|
37
|
+
**Report format:**
|
|
38
|
+
```
|
|
39
|
+
PASS [N] | WARN [N] | FAIL [N]
|
|
40
|
+
|
|
41
|
+
FAIL profile: .omg/state/profile.yaml not found → run /OMG:init
|
|
42
|
+
WARN quality: prettier not found → install or remove from quality-gate.json
|
|
43
|
+
PASS secrets: no .env files tracked
|
|
44
|
+
...
|
|
45
|
+
```
|