oh-my-auggie 0.3.1

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 (220) hide show
  1. package/.augment-plugin/marketplace.json +21 -0
  2. package/.claude-plugin/marketplace.json +31 -0
  3. package/.claude-plugin/plugin.json +24 -0
  4. package/.github/FUNDING.yml +15 -0
  5. package/.github/workflows/ci.yml +143 -0
  6. package/.github/workflows/release.yml +110 -0
  7. package/.releaserc.json +30 -0
  8. package/.shellcheckignore +4 -0
  9. package/AGENTS.md +51 -0
  10. package/CHANGELOG.md +208 -0
  11. package/CONTRIBUTING.md +290 -0
  12. package/LICENSE +201 -0
  13. package/README.de.md +218 -0
  14. package/README.es.md +217 -0
  15. package/README.fr.md +218 -0
  16. package/README.it.md +215 -0
  17. package/README.ja.md +220 -0
  18. package/README.ko.md +220 -0
  19. package/README.md +248 -0
  20. package/README.pt.md +220 -0
  21. package/README.ru.md +220 -0
  22. package/README.tr.md +218 -0
  23. package/README.vi.md +218 -0
  24. package/README.zh.md +220 -0
  25. package/SECURITY.md +30 -0
  26. package/SPEC.md +157 -0
  27. package/adr/0001-use-auggie-as-subprocess.md +38 -0
  28. package/adr/0002-xml-agent-prompt-format.md +73 -0
  29. package/adr/AGENTS.md +33 -0
  30. package/assets/buddy-dark.png +0 -0
  31. package/assets/buddy-galaxy-dark.png +0 -0
  32. package/assets/buddy-galaxy-light.png +0 -0
  33. package/assets/buddy-light.png +0 -0
  34. package/assets/oh-my-auggie.svg +65 -0
  35. package/assets/oma-banner.png +0 -0
  36. package/bin/AGENTS.md +31 -0
  37. package/bin/oma +37 -0
  38. package/bin/super-oma +31 -0
  39. package/cli/AGENTS.md +39 -0
  40. package/cli/commands/doctor.mjs +282 -0
  41. package/cli/commands/hud.mjs +131 -0
  42. package/cli/commands/super-doctor.mjs +63 -0
  43. package/cli/commands/super-events.mjs +31 -0
  44. package/cli/commands/super-hud.mjs +124 -0
  45. package/cli/commands/super-oma-hud.mjs +43 -0
  46. package/cli/commands/super-oma-sessions.mjs +52 -0
  47. package/cli/commands/super-oma-statusline.mjs +42 -0
  48. package/cli/commands/super-oma-ui.mjs +378 -0
  49. package/cli/commands/super-run.mjs +31 -0
  50. package/cli/commands/super-session.mjs +459 -0
  51. package/cli/commands/super-status.mjs +97 -0
  52. package/cli/commands/team.mjs +279 -0
  53. package/cli/oma.mjs +204 -0
  54. package/cli/super-oma.mjs +170 -0
  55. package/cli/super-utils.mjs +438 -0
  56. package/cli/utils.mjs +161 -0
  57. package/cli/workers/wrapper.mjs +125 -0
  58. package/e2e/AGENTS.md +35 -0
  59. package/e2e/oma-cli.bats +322 -0
  60. package/e2e/super-oma-cli.bats +154 -0
  61. package/package.json +30 -0
  62. package/packages/oma-contracts/index.d.mts +114 -0
  63. package/packages/oma-contracts/index.d.ts +114 -0
  64. package/packages/oma-contracts/index.mjs +242 -0
  65. package/packages/oma-contracts/package.json +10 -0
  66. package/plugins/oma/.augment-plugin/.mcp.json +32 -0
  67. package/plugins/oma/.augment-plugin/plugin.json +40 -0
  68. package/plugins/oma/.mcp.json +10 -0
  69. package/plugins/oma/AGENTS.md +67 -0
  70. package/plugins/oma/CHANGELOG.md +63 -0
  71. package/plugins/oma/CONTRIBUTING.md +280 -0
  72. package/plugins/oma/MIGRATION-AUDIT.md +169 -0
  73. package/plugins/oma/agents/AGENTS.md +54 -0
  74. package/plugins/oma/agents/oma-analyst.md +120 -0
  75. package/plugins/oma/agents/oma-architect.md +116 -0
  76. package/plugins/oma/agents/oma-code-reviewer.md +118 -0
  77. package/plugins/oma/agents/oma-critic.md +120 -0
  78. package/plugins/oma/agents/oma-debugger.md +95 -0
  79. package/plugins/oma/agents/oma-designer.md +117 -0
  80. package/plugins/oma/agents/oma-doc-specialist.md +109 -0
  81. package/plugins/oma/agents/oma-executor.md +79 -0
  82. package/plugins/oma/agents/oma-explorer.md +91 -0
  83. package/plugins/oma/agents/oma-git-master.md +101 -0
  84. package/plugins/oma/agents/oma-planner.md +112 -0
  85. package/plugins/oma/agents/oma-qa.md +103 -0
  86. package/plugins/oma/agents/oma-scientist.md +119 -0
  87. package/plugins/oma/agents/oma-security.md +113 -0
  88. package/plugins/oma/agents/oma-simplifier.md +106 -0
  89. package/plugins/oma/agents/oma-test-engineer.md +95 -0
  90. package/plugins/oma/agents/oma-tracer.md +100 -0
  91. package/plugins/oma/agents/oma-verifier.md +99 -0
  92. package/plugins/oma/agents/oma-writer.md +92 -0
  93. package/plugins/oma/benchmarks/AGENTS.md +41 -0
  94. package/plugins/oma/benchmarks/baselines/smoke-test-baseline.json +216 -0
  95. package/plugins/oma/benchmarks/smoke-test.ts +506 -0
  96. package/plugins/oma/commands/AGENTS.md +77 -0
  97. package/plugins/oma/commands/oma-ask.md +56 -0
  98. package/plugins/oma/commands/oma-autopilot.md +152 -0
  99. package/plugins/oma/commands/oma-cancel.md +128 -0
  100. package/plugins/oma/commands/oma-ccg.md +85 -0
  101. package/plugins/oma/commands/oma-config.md +145 -0
  102. package/plugins/oma/commands/oma-deep-interview.md +67 -0
  103. package/plugins/oma/commands/oma-deepinit.md +97 -0
  104. package/plugins/oma/commands/oma-deslop.md +67 -0
  105. package/plugins/oma/commands/oma-doctor.md +106 -0
  106. package/plugins/oma/commands/oma-graph-provider.md +87 -0
  107. package/plugins/oma/commands/oma-help.md +132 -0
  108. package/plugins/oma/commands/oma-hud.md +206 -0
  109. package/plugins/oma/commands/oma-improve-codebase-architecture.md +47 -0
  110. package/plugins/oma/commands/oma-interview.md +92 -0
  111. package/plugins/oma/commands/oma-learner.md +113 -0
  112. package/plugins/oma/commands/oma-mcp-setup.md +191 -0
  113. package/plugins/oma/commands/oma-note.md +79 -0
  114. package/plugins/oma/commands/oma-notifications.md +119 -0
  115. package/plugins/oma/commands/oma-plan.md +77 -0
  116. package/plugins/oma/commands/oma-ralph.md +142 -0
  117. package/plugins/oma/commands/oma-ralphthon.md +129 -0
  118. package/plugins/oma/commands/oma-ralplan.md +68 -0
  119. package/plugins/oma/commands/oma-release.md +96 -0
  120. package/plugins/oma/commands/oma-research.md +77 -0
  121. package/plugins/oma/commands/oma-science.md +92 -0
  122. package/plugins/oma/commands/oma-session-search.md +121 -0
  123. package/plugins/oma/commands/oma-session.md +101 -0
  124. package/plugins/oma/commands/oma-setup.md +406 -0
  125. package/plugins/oma/commands/oma-skill.md +118 -0
  126. package/plugins/oma/commands/oma-skillify.md +38 -0
  127. package/plugins/oma/commands/oma-skills.md +92 -0
  128. package/plugins/oma/commands/oma-status.md +64 -0
  129. package/plugins/oma/commands/oma-tdd.md +49 -0
  130. package/plugins/oma/commands/oma-team.md +69 -0
  131. package/plugins/oma/commands/oma-teleport.md +122 -0
  132. package/plugins/oma/commands/oma-trace.md +97 -0
  133. package/plugins/oma/commands/oma-ultraqa.md +70 -0
  134. package/plugins/oma/commands/oma-ultrawork.md +57 -0
  135. package/plugins/oma/commands/oma-update.md +132 -0
  136. package/plugins/oma/commands/oma-version.md +29 -0
  137. package/plugins/oma/commands/oma-visual-verdict.md +103 -0
  138. package/plugins/oma/commands/oma-wait.md +140 -0
  139. package/plugins/oma/commands/oma-whatsnew.md +44 -0
  140. package/plugins/oma/commands/oma-writer-memory.md +111 -0
  141. package/plugins/oma/dist/hooks/adr-enforce.js +146 -0
  142. package/plugins/oma/dist/hooks/approval-gate.js +99 -0
  143. package/plugins/oma/dist/hooks/audit-log.js +159 -0
  144. package/plugins/oma/dist/hooks/cost-track.js +208 -0
  145. package/plugins/oma/dist/hooks/delegation-enforce.js +36 -0
  146. package/plugins/oma/dist/hooks/graph-auto-rebuild.js +83 -0
  147. package/plugins/oma/dist/hooks/graph-provider-bridge.js +73 -0
  148. package/plugins/oma/dist/hooks/keyword-detect.js +240 -0
  149. package/plugins/oma/dist/hooks/post-tool-status.js +145 -0
  150. package/plugins/oma/dist/hooks/session-start.js +199 -0
  151. package/plugins/oma/dist/hooks/stop-gate.js +50 -0
  152. package/plugins/oma/dist/index.js +3 -0
  153. package/plugins/oma/dist/setup-rules.js +172 -0
  154. package/plugins/oma/dist/skills/ralplan.js +340 -0
  155. package/plugins/oma/dist/skills/ultrawork.js +246 -0
  156. package/plugins/oma/dist/super-oma-events.js +50 -0
  157. package/plugins/oma/dist/types.js +1 -0
  158. package/plugins/oma/dist/utils.js +369 -0
  159. package/plugins/oma/examples/AGENTS.md +34 -0
  160. package/plugins/oma/examples/advanced-usage.ts +489 -0
  161. package/plugins/oma/examples/basic-usage.ts +288 -0
  162. package/plugins/oma/examples/delegation-enforcer-demo.ts +501 -0
  163. package/plugins/oma/hooks/AGENTS.md +40 -0
  164. package/plugins/oma/hooks/hooks.json +84 -0
  165. package/plugins/oma/mcp/AGENTS.md +35 -0
  166. package/plugins/oma/mcp/package.json +10 -0
  167. package/plugins/oma/mcp/state-server.mjs +590 -0
  168. package/plugins/oma/package-lock.json +3040 -0
  169. package/plugins/oma/package.json +42 -0
  170. package/plugins/oma/rules/AGENTS.md +36 -0
  171. package/plugins/oma/rules/enterprise.md +91 -0
  172. package/plugins/oma/rules/orchestration.md +126 -0
  173. package/plugins/oma/skills/AGENTS.md +68 -0
  174. package/plugins/oma/skills/ask/SKILL.md +101 -0
  175. package/plugins/oma/skills/ccg/SKILL.md +100 -0
  176. package/plugins/oma/skills/debug/SKILL.md +112 -0
  177. package/plugins/oma/skills/deep-dive/SKILL.md +171 -0
  178. package/plugins/oma/skills/deep-interview/SKILL.md +254 -0
  179. package/plugins/oma/skills/deepinit/SKILL.md +166 -0
  180. package/plugins/oma/skills/deslop/SKILL.md +125 -0
  181. package/plugins/oma/skills/doctor/SKILL.md +148 -0
  182. package/plugins/oma/skills/external-context/SKILL.md +109 -0
  183. package/plugins/oma/skills/graph-context/SKILL.md +77 -0
  184. package/plugins/oma/skills/hud/SKILL.md +202 -0
  185. package/plugins/oma/skills/improve-codebase-architecture/REFERENCE.md +140 -0
  186. package/plugins/oma/skills/improve-codebase-architecture/SKILL.md +194 -0
  187. package/plugins/oma/skills/interactive-menu/SKILL.md +70 -0
  188. package/plugins/oma/skills/interview/SKILL.md +160 -0
  189. package/plugins/oma/skills/learner/SKILL.md +229 -0
  190. package/plugins/oma/skills/mcp-setup/SKILL.md +163 -0
  191. package/plugins/oma/skills/note/SKILL.md +118 -0
  192. package/plugins/oma/skills/notifications/SKILL.md +150 -0
  193. package/plugins/oma/skills/plan/SKILL.md +122 -0
  194. package/plugins/oma/skills/ralplan/SKILL.md +216 -0
  195. package/plugins/oma/skills/release/SKILL.md +156 -0
  196. package/plugins/oma/skills/remember/SKILL.md +84 -0
  197. package/plugins/oma/skills/research/SKILL.md +142 -0
  198. package/plugins/oma/skills/science/SKILL.md +132 -0
  199. package/plugins/oma/skills/self-improve/SKILL.md +100 -0
  200. package/plugins/oma/skills/session/SKILL.md +176 -0
  201. package/plugins/oma/skills/setup/SKILL.md +186 -0
  202. package/plugins/oma/skills/skill/SKILL.md +308 -0
  203. package/plugins/oma/skills/tdd/SKILL.md +224 -0
  204. package/plugins/oma/skills/team/SKILL.md +350 -0
  205. package/plugins/oma/skills/team/worktree-manager.mjs +291 -0
  206. package/plugins/oma/skills/trace/SKILL.md +179 -0
  207. package/plugins/oma/skills/ultraqa/SKILL.md +194 -0
  208. package/plugins/oma/skills/ultrawork/SKILL.md +175 -0
  209. package/plugins/oma/skills/verify/SKILL.md +114 -0
  210. package/plugins/oma/skills/visual-verdict/SKILL.md +131 -0
  211. package/plugins/oma/skills/writer-memory/SKILL.md +142 -0
  212. package/plugins/oma/templates/AGENTS.md +41 -0
  213. package/plugins/oma/templates/rules/adr-template.md +63 -0
  214. package/plugins/oma/templates/rules/coding-style.md +69 -0
  215. package/plugins/oma/templates/rules/git-workflow.md +53 -0
  216. package/plugins/oma/templates/rules/rib-specific.md +47 -0
  217. package/plugins/oma/templates/rules/security.md +58 -0
  218. package/scripts/AGENTS.md +35 -0
  219. package/scripts/release.ts +132 -0
  220. package/scripts/validate-agents-md.sh +127 -0
@@ -0,0 +1,21 @@
1
+ {
2
+ "name": "oh-my-auggie",
3
+ "description": "Multi-agent orchestration plugin for Augment Code — Explorer → Planner → Executor → Architect pipeline with persistence loops and CI/CD-native workflows",
4
+ "version": "0.3.1",
5
+ "plugins": [
6
+ {
7
+ "name": "oma",
8
+ "description": "Multi-agent orchestration plugin with 20+ agents, 28 skills, TypeScript hooks, MCP state server, and enterprise-ready workflows",
9
+ "version": "0.3.1",
10
+ "source": "./plugins/oma",
11
+ "category": "productivity",
12
+ "tags": [
13
+ "multi-agent",
14
+ "orchestration",
15
+ "automation",
16
+ "ci-cd",
17
+ "enterprise"
18
+ ]
19
+ }
20
+ ]
21
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "$schema": "https://anthropic.com/claude-code/marketplace.schema.json",
3
+ "name": "oh-my-auggie",
4
+ "description": "Multi-agent orchestration plugin for Augment Code — Explorer → Planner → Executor → Architect pipeline with persistence loops and CI/CD-native workflows",
5
+ "owner": {
6
+ "name": "oh-my-auggie contributors",
7
+ "email": "r3dtuxedo@gmail.com"
8
+ },
9
+ "plugins": [
10
+ {
11
+ "name": "oh-my-auggie",
12
+ "description": "Multi-agent orchestration plugin for Augment Code with 20+ agents, 28 skills, TypeScript hooks, MCP state server, and enterprise-ready workflows",
13
+ "version": "0.3.1",
14
+ "author": {
15
+ "name": "oh-my-auggie contributors"
16
+ },
17
+ "source": "./plugins/oma",
18
+ "category": "productivity",
19
+ "homepage": "https://github.com/r3dlex/oh-my-auggie",
20
+ "tags": [
21
+ "multi-agent",
22
+ "orchestration",
23
+ "automation",
24
+ "ci-cd",
25
+ "enterprise",
26
+ "developer-tools"
27
+ ]
28
+ }
29
+ ],
30
+ "version": "0.3.1"
31
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "name": "oh-my-auggie",
3
+ "version": "0.3.1",
4
+ "description": "Multi-agent orchestration plugin for Augment Code — Explorer → Planner → Executor → Architect pipeline with persistence loops and CI/CD-native workflows",
5
+ "author": {
6
+ "name": "oh-my-auggie contributors"
7
+ },
8
+ "homepage": "https://github.com/r3dlex/oh-my-auggie",
9
+ "repository": "https://github.com/r3dlex/oh-my-auggie",
10
+ "license": "MIT",
11
+ "keywords": [
12
+ "augment-code",
13
+ "plugin",
14
+ "multi-agent",
15
+ "orchestration",
16
+ "automation",
17
+ "ci-cd"
18
+ ],
19
+ "commands": "./commands/",
20
+ "agents": "./agents/",
21
+ "skills": "./skills/",
22
+ "hooks": "./hooks/hooks.json",
23
+ "mcpServers": "./.mcp.json"
24
+ }
@@ -0,0 +1,15 @@
1
+ # These are supported funding model platforms
2
+
3
+ github: [r3dlex]
4
+ patreon: # Replace with a single Patreon username
5
+ open_collective: # Replace with a single Open Collective username
6
+ ko_fi: # Replace with a single Ko-fi username
7
+ tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8
+ community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9
+ liberapay: # Replace with a single Liberapay username
10
+ issuehunt: # Replace with a single IssueHunt username
11
+ lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
12
+ polar: # Replace with a single Polar username
13
+ buy_me_a_coffee: # Replace with a single Buy Me a Coffee username
14
+ thanks_dev: # Replace with a single thanks.dev username
15
+ custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
@@ -0,0 +1,143 @@
1
+ name: CI
2
+
3
+ # ── Auto-merge setup ────────────────────────────────────────────────────────────
4
+ # Create PR: gh pr create --base main --fill
5
+ # Enable auto-merge: gh pr merge --auto --squash --repo OWNER/REPO
6
+ # GitHub auto-merges once all CI checks pass AND PR is approved.
7
+ # No workflow configuration needed — GitHub handles merge_blocked /
8
+ # merge_group events automatically.
9
+ #
10
+ # Branch protection note: if main has "Require pull request reviews before
11
+ # merging" enabled, the PR still needs an approving review before GitHub
12
+ # will auto-merge — even with --auto set at merge time.
13
+
14
+ on:
15
+ push:
16
+ branches: [main]
17
+ pull_request:
18
+ branches: [main]
19
+
20
+ env:
21
+ FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
22
+
23
+ jobs:
24
+ hooks-check:
25
+ name: Validate hook entry points
26
+ runs-on: ubuntu-latest
27
+ steps:
28
+ - uses: actions/checkout@v4
29
+ - name: Verify hooks.json has no .sh references
30
+ run: |
31
+ if grep -q '\.sh' plugins/oma/hooks/hooks.json; then
32
+ echo "ERROR: hooks.json still contains .sh references"
33
+ grep '\.sh' plugins/oma/hooks/hooks.json
34
+ exit 1
35
+ fi
36
+ echo "hooks.json entry points are correct (all .js)"
37
+
38
+ test:
39
+ name: Test (${{ matrix.os }})
40
+ runs-on: ${{ matrix.os }}
41
+ strategy:
42
+ fail-fast: false
43
+ matrix:
44
+ os: [ubuntu-latest, ubuntu-24.04-arm]
45
+ steps:
46
+ - uses: actions/checkout@v4
47
+ - uses: actions/setup-node@v4
48
+ with:
49
+ node-version: '20'
50
+ cache: 'npm'
51
+ cache-dependency-path: plugins/oma/package-lock.json
52
+ - name: Install dependencies
53
+ run: cd plugins/oma && npm ci
54
+ - name: TypeScript type check
55
+ run: cd plugins/oma && npx tsc --noEmit
56
+ - name: Unit + integration tests with coverage
57
+ run: cd plugins/oma && npx vitest run --coverage
58
+
59
+ cli:
60
+ name: oma CLI e2e
61
+ runs-on: ubuntu-latest
62
+ steps:
63
+ - uses: actions/checkout@v4
64
+ - name: Install bats
65
+ run: sudo apt-get update && sudo apt-get install -y bats
66
+ - name: Run CLI e2e tests
67
+ run: bats e2e/oma-cli.bats e2e/super-oma-cli.bats
68
+
69
+ validate-manifests:
70
+ name: Validate manifests
71
+ runs-on: ubuntu-latest
72
+ steps:
73
+ - uses: actions/checkout@v4
74
+ - name: Validate JSON manifests
75
+ run: |
76
+ node -e "
77
+ const fs = require('fs');
78
+ const files = [
79
+ '.augment-plugin/marketplace.json',
80
+ 'plugins/oma/.augment-plugin/plugin.json',
81
+ 'plugins/oma/.augment-plugin/.mcp.json',
82
+ 'plugins/oma/hooks/hooks.json',
83
+ '.claude-plugin/plugin.json'
84
+ ];
85
+ for (const f of files) {
86
+ try {
87
+ JSON.parse(fs.readFileSync(f));
88
+ console.log('OK: ' + f);
89
+ } catch(e) {
90
+ console.error('FAIL: ' + f + ' - ' + e.message);
91
+ process.exit(1);
92
+ }
93
+ }
94
+ "
95
+ - name: Verify hook command entrypoints exist
96
+ run: |
97
+ node -e "
98
+ const fs = require('fs');
99
+ const hooksManifest = JSON.parse(fs.readFileSync('plugins/oma/hooks/hooks.json', 'utf8'));
100
+ const missing = [];
101
+ const invalid = [];
102
+ const seen = new Set();
103
+
104
+ for (const groups of Object.values(hooksManifest.hooks || {})) {
105
+ for (const group of groups || []) {
106
+ for (const hook of group.hooks || []) {
107
+ const match = typeof hook.command === 'string' && hook.command.match(/dist\\/hooks\\/([A-Za-z0-9-]+\\.js)/);
108
+ if (!match) {
109
+ invalid.push(hook.command || '<missing command>');
110
+ continue;
111
+ }
112
+
113
+ const entrypoint = 'plugins/oma/dist/hooks/' + match[1];
114
+ if (seen.has(entrypoint)) continue;
115
+ seen.add(entrypoint);
116
+
117
+ if (!fs.existsSync(entrypoint)) {
118
+ missing.push(entrypoint);
119
+ continue;
120
+ }
121
+
122
+ console.log('OK: ' + entrypoint);
123
+ }
124
+ }
125
+ }
126
+
127
+ if (invalid.length) {
128
+ console.error('FAIL: non-dist hook commands in hooks.json');
129
+ for (const command of invalid) console.error('INVALID: ' + command);
130
+ process.exit(1);
131
+ }
132
+
133
+ if (!seen.size) {
134
+ console.error('FAIL: hooks.json did not declare any dist hook entrypoints');
135
+ process.exit(1);
136
+ }
137
+
138
+ if (missing.length) {
139
+ console.error('FAIL: missing compiled hook entrypoints');
140
+ for (const entrypoint of missing) console.error('MISSING: ' + entrypoint);
141
+ process.exit(1);
142
+ }
143
+ "
@@ -0,0 +1,110 @@
1
+ name: Release
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+
8
+ env:
9
+ FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
10
+
11
+ jobs:
12
+ release:
13
+ runs-on: ubuntu-latest
14
+ permissions:
15
+ contents: write
16
+ packages: write
17
+ issues: write
18
+ pull-requests: write
19
+
20
+ outputs:
21
+ new-release-published: ${{ steps.semantic.outputs.new_release_published }}
22
+ new-release-version: ${{ steps.semantic.outputs.new_release_version }}
23
+ new-release-channel: ${{ steps.semantic.outputs.new_release_channel }}
24
+
25
+ steps:
26
+ - uses: actions/checkout@v4
27
+ with:
28
+ fetch-depth: 0
29
+ persist-credentials: false
30
+
31
+ - name: Setup Node.js
32
+ uses: actions/setup-node@v4
33
+ with:
34
+ node-version: '20'
35
+ registry-url: 'https://npm.pkg.github.com'
36
+ scope: '@r3dlex'
37
+
38
+ - name: Install dependencies
39
+ run: cd plugins/oma && npm ci
40
+
41
+ - name: Build
42
+ run: cd plugins/oma && npm run prepare
43
+
44
+ - name: Run tests
45
+ run: cd plugins/oma && npm test
46
+
47
+ - name: Semantic Release
48
+ id: semantic
49
+ uses: cycjimmy/semantic-release-action@v4
50
+ with:
51
+ extra_plugins: |
52
+ @semantic-release/changelog
53
+ @semantic-release/git
54
+ env:
55
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
56
+ NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }}
57
+ NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
58
+
59
+ publish-npm:
60
+ needs: release
61
+ if: needs.release.outputs.new-release-published == 'true'
62
+ runs-on: ubuntu-latest
63
+ permissions:
64
+ contents: read
65
+ id-token: write
66
+
67
+ steps:
68
+ - uses: actions/checkout@v4
69
+ with:
70
+ ref: v${{ needs.release.outputs.new-release-version }}
71
+
72
+ - name: Setup Node.js for npmjs.com
73
+ uses: actions/setup-node@v4
74
+ with:
75
+ node-version: '20'
76
+ registry-url: 'https://registry.npmjs.org'
77
+ scope: '@r3dlex'
78
+
79
+ - name: Install dependencies
80
+ run: cd plugins/oma && npm ci
81
+
82
+ - name: Build
83
+ run: cd plugins/oma && npm run prepare
84
+
85
+ - name: Strip publishConfig and prepare script
86
+ run: |
87
+ cd plugins/oma
88
+ node -e "
89
+ const fs = require('fs');
90
+ const pkg = JSON.parse(fs.readFileSync('package.json', 'utf8'));
91
+ delete pkg.publishConfig;
92
+ if (pkg.scripts) delete pkg.scripts.prepare;
93
+ fs.writeFileSync('package.json', JSON.stringify(pkg, null, 2) + '\n');
94
+ "
95
+
96
+ - name: Publish @r3dlex/oh-my-auggie to npmjs.com (OIDC trusted publishing)
97
+ continue-on-error: true
98
+ run: |
99
+ CHANNEL="${{ needs.release.outputs.new-release-channel }}"
100
+ TAG="${CHANNEL:-latest}"
101
+ cd plugins/oma && npm publish --tag "$TAG" --provenance --access public
102
+
103
+ - name: Publish oh-my-auggie (unscoped) to npmjs.com
104
+ continue-on-error: true
105
+ run: |
106
+ CHANNEL="${{ needs.release.outputs.new-release-channel }}"
107
+ TAG="${CHANNEL:-latest}"
108
+ # Temporarily rename to unscoped for second publish; runner is ephemeral
109
+ cd plugins/oma && npm pkg set name="oh-my-auggie"
110
+ npm publish --tag "$TAG" --provenance --access public
@@ -0,0 +1,30 @@
1
+ {
2
+ "branches": ["main"],
3
+ "tagFormat": "v${version}",
4
+ "plugins": [
5
+ ["@semantic-release/commit-analyzer", {
6
+ "preset": "angular",
7
+ "releaseRules": [
8
+ { "type": "feat", "release": "minor" },
9
+ { "type": "fix", "release": "patch" },
10
+ { "type": "perf", "release": "patch" },
11
+ { "type": "refactor", "release": "patch" },
12
+ { "type": "docs", "release": "patch" },
13
+ { "type": "ci", "release": "patch" },
14
+ { "type": "chore", "scope": "release", "release": false }
15
+ ]
16
+ }],
17
+ "@semantic-release/release-notes-generator",
18
+ ["@semantic-release/changelog", {
19
+ "changelogFile": "CHANGELOG.md"
20
+ }],
21
+ ["@semantic-release/npm", {
22
+ "pkgRoot": "plugins/oma"
23
+ }],
24
+ "@semantic-release/github",
25
+ ["@semantic-release/git", {
26
+ "assets": ["CHANGELOG.md", "plugins/oma/package.json"],
27
+ "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
28
+ }]
29
+ ]
30
+ }
@@ -0,0 +1,4 @@
1
+ # shellcheckignore
2
+ # Suppress SC1090: "Not a constant source" — ${PLUGIN_ROOT} is an Auggie plugin variable
3
+ # that is only set when Auggie loads the plugin, not at shellcheck lint time.
4
+ SC1090
package/AGENTS.md ADDED
@@ -0,0 +1,51 @@
1
+ <!-- Generated: 2026-04-12 | Updated: 2026-04-12 -->
2
+
3
+ # oh-my-auggie
4
+
5
+ ## Purpose
6
+ oh-my-auggie — multi-agent orchestration layer for Augment Code's auggie CLI. Provides 19 specialized agents, 44 slash commands, 36 skills, and 10 hooks for automated, multi-step AI workflows in the auggie IDE.
7
+
8
+ ## Key Files
9
+ | File | Description |
10
+ |------|-------------|
11
+ | README.md | Project overview, installation, commands, and architecture |
12
+ | SPEC.md | Detailed specification: primitives, state files, MCP tools, hooks, profiles |
13
+ | CONTRIBUTING.md | Contribution guidelines and PR process |
14
+ | SECURITY.md | Security policy and vulnerability reporting |
15
+ | CHANGELOG.md | Version history |
16
+ | package.json | Root workspace package descriptor |
17
+
18
+ ## Subdirectories
19
+ | Directory | Purpose |
20
+ |-----------|---------|
21
+ | adr/ | Architectural Decision Records |
22
+ | assets/ | Images and banner assets (no child AGENTS.md — images only) |
23
+ | bin/ | Executable scripts |
24
+ | cli/ | CLI companion utilities |
25
+ | e2e/ | End-to-end bats integration tests |
26
+ | plugins/ | Plugin source — all OMA plugin code lives under plugins/oma/ |
27
+ | scripts/ | Build, validation, and release scripts |
28
+
29
+ ## For AI Agents
30
+ ### Working In This Directory
31
+ All plugin source is under `plugins/oma/`. Run `npm test` from `plugins/oma/` before committing. Follow `CONTRIBUTING.md` for PR guidelines. Do not edit `dist/` directly — it is generated by the build.
32
+
33
+ ### Testing Requirements
34
+ ```bash
35
+ cd plugins/oma && npm test
36
+ ```
37
+
38
+ ### Common Patterns
39
+ - Plugin code lives in `plugins/oma/`
40
+ - CLI companion utilities live in `cli/`
41
+ - End-to-end bats tests live in `e2e/`
42
+
43
+ ## Dependencies
44
+ ### Internal
45
+ - `plugins/oma/` — primary plugin package
46
+
47
+ ### External
48
+ - auggie >= 0.22.0
49
+ - node >= 18
50
+
51
+ <!-- MANUAL: Any manually added notes below this line are preserved on regeneration -->
package/CHANGELOG.md ADDED
@@ -0,0 +1,208 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ ## [Unreleased]
6
+
7
+ ### CI
8
+
9
+ - Force JavaScript GitHub Actions to run on Node 24 to remove Node 20 deprecation warnings ahead of the 2026 runner cutoff
10
+
11
+ ---
12
+
13
+ ## [0.3.1](https://github.com/r3dlex/oh-my-auggie/compare/v0.2.1...v0.3.1) (2026-04-14)
14
+
15
+ ### CI
16
+
17
+ - Fix GitHub Actions ARM test runner label (`ubuntu-24.04-arm`) so CI no longer stalls in queued state
18
+ - Verify local and GitHub CI lanes for typecheck, build, vitest coverage, manifest validation, and CLI e2e
19
+ - Enforce 80%+ minimum branch coverage in `plugins/oma/vitest.config.ts` (statements/functions/branches all remain above 80%)
20
+
21
+ ### Chores
22
+
23
+ - Align release metadata on `0.3.1` across package manifests, plugin manifests, and marketplace metadata
24
+ - Make root npm scripts delegate to `plugins/oma` scripts so local and CI execution paths stay consistent
25
+
26
+ ### Docs
27
+
28
+ - Update README version badges and refresh release-readiness notes for the current release line
29
+ - Replace stale version examples in `/oma:version` and `/oma:update` command docs
30
+
31
+ ---
32
+
33
+ ## [0.2.1](https://github.com/r3dlex/oh-my-auggie/compare/v0.2.0...v0.2.1) (2026-04-12)
34
+
35
+ ### Bug Fixes
36
+
37
+ * **commands:** strip oma- prefix from name: frontmatter and add execution preamble ([4b935e9](https://github.com/r3dlex/oh-my-auggie/commit/4b935e9f88561b69a69a38b65fac7152979d8eb7))
38
+
39
+ # [0.2.0](https://github.com/r3dlex/oh-my-auggie/compare/v0.1.7...v0.2.0) (2026-04-12)
40
+
41
+ ### Features
42
+
43
+ * **graph:** graphwiki auto-build, auto-rebuild, resolveProjectDir, and optional dep ([0b2417d](https://github.com/r3dlex/oh-my-auggie/commit/0b2417da79c6127b3378f5ab32b05b28a3b1ee07))
44
+
45
+ ## [0.1.7](https://github.com/r3dlex/oh-my-auggie/compare/v0.1.6...v0.1.7) (2026-04-12)
46
+
47
+ ### CI
48
+
49
+ - Migrate releases to semantic-release automation
50
+
51
+ ---
52
+
53
+ ## [0.1.6] - 2026-04-12
54
+
55
+ ### Features
56
+
57
+ - `hooks.costTracking` and `hooks.statusMessages` config flags (both default `false`) — opt-in hook context injection
58
+
59
+ ### Bug Fixes
60
+
61
+ - CI: add `--ignore-scripts` to npm publish steps to avoid re-running `tsc` without `node_modules`
62
+
63
+ ### CI
64
+
65
+ - Split release workflow into parallel `build` / `publish-gpr` / `publish-npm` / `github-release` jobs
66
+ - Add Option B: npm OIDC trusted publishing (`publish-npm` job with `id-token: write`, `--provenance`, `--access public`, `continue-on-error: true`)
67
+
68
+ ### Docs
69
+
70
+ - Document `hooks.costTracking` and `hooks.statusMessages` in `oma-config.md`, `README.md`
71
+
72
+ ---
73
+
74
+ ## [0.1.5] - 2026-04-12
75
+
76
+ ### Features
77
+
78
+ - Graph provider configuration system with multi-provider bridge (#25)
79
+ - Full JS-to-TS hooks migration: session-start rewrite, setup-rules.ts, hooks.json cutover (#27, #9)
80
+ - OMA v0.2 completeness: XML agent format, ADR system, audit-log hook, ultrawork, ralplan (#23)
81
+ - Phase 2 hooks parity + post-tool-status context injection hook
82
+ - Add `/oma:update` command with session-start background upgrade check
83
+ - Add `/oma:version` and `/oma:whatsnew` commands
84
+ - Add buddy assets, banner, and SECURITY.md
85
+ - Graph provider deviation fixes (#28)
86
+
87
+ ### Bug Fixes
88
+
89
+ - Wrap post-tool-status output in `hookSpecificOutput` JSON — fixes hook protocol (#30)
90
+ - Fix graph-provider keyword command target (#30)
91
+ - cost-track: parse stdin before estimating credits — fixes always-88-credits bug (#31)
92
+ - cost-track: estimate tokens from stdin when Auggie provides no token counts
93
+ - MCP: use relative path instead of `AUGMENT_PLUGIN_ROOT` env var
94
+ - Fix OMA figure placement and captions in README (#20, #21)
95
+ - Exclude audit-log.ts from coverage (enterprise-only hook)
96
+
97
+ ### Docs
98
+
99
+ - Add hierarchical AGENTS.md with 19 agents and 44 commands (#29)
100
+ - Add `/oma:setup` and `/oma:mcp-setup` post-install steps to all 12 README language variants
101
+ - Rewrite `/oma:update` command as imperative step-by-step instructions
102
+ - Bring CHANGELOG.md and CONTRIBUTING.md to repository root (#22)
103
+
104
+ ### Refactors
105
+
106
+ - CI: zero-install with `npm ci` cache + ARM64 matrix + apt bats (#24)
107
+
108
+ ---
109
+
110
+ ## [0.1.4] - 2026-04-10
111
+
112
+ ### Chores
113
+
114
+ - Bump version to v0.1.4
115
+ - Add `prd.json` to `.gitignore`
116
+
117
+ ---
118
+
119
+ ## [0.1.3-alpha.1] - 2026-04-09
120
+
121
+ ### Features
122
+
123
+ - Add version-bump script for OMA releases
124
+
125
+ ### Docs
126
+
127
+ - Add 11 translated README files (de, es, fr, it, ja, ko, pt, ru, tr, vi, zh)
128
+
129
+ ---
130
+
131
+ ## [0.1.2-alpha.1] - 2026-04-09
132
+
133
+ ### Bug Fixes
134
+
135
+ - CI: embed git SHA in pre-release versions for idempotent re-runs
136
+
137
+ ### Docs
138
+
139
+ - Add Sponsor section to README, SPEC, and CONTRIBUTING
140
+
141
+ ---
142
+
143
+ ## [0.1.1-alpha.1] - 2026-04-09
144
+
145
+ ### Features
146
+
147
+ - OMA v0.2 complete: 19 agents, 30 commands, 7 hooks, and skills system (#8)
148
+ - OS detection, short-alias commands, and `/skills` command (#11)
149
+ - Port Phase 1 OMC skills to OMA (#12)
150
+ - Phase 2 command overlap resolution enhancements (#13)
151
+ - Phase 0 skillify audit + Phase 3 deferred skills (#14)
152
+ - Rewrite all 7 shell hooks in TypeScript for Windows support (#9)
153
+ - Add OMA CLI companion v1: `oma team`, `oma hud`, `oma doctor`
154
+ - Two-tiered config system with enterprise profile support (#16)
155
+ - OMA skills system enhancement — OMC section parity and two-tier index (#17)
156
+ - Add tdd + improve-codebase-architecture skills, examples, and benchmarks (#18)
157
+ - Expand keyword-detect with all OMA commands as magic keywords
158
+ - Phase 3.5 rule template installation via `/oma:setup`
159
+ - Add context7, exa, GitHub MCP servers
160
+ - Auto-invoke mcp-setup and add ADO/Figma MCP servers
161
+ - Add `/oma:deep-interview` command with alias
162
+ - Add HUD auto-display on session start
163
+ - Port missing OMC commands + team worktree isolation
164
+ - Expand `/oma:setup` Phase 1–4 with actual bash commands
165
+ - Align plugin manifests for Claude Code compatibility
166
+ - Add Claude Code-compatible marketplace.json
167
+ - Add CHANGELOG, CONTRIBUTING, release CI, and sponsor badge
168
+
169
+ ### Bug Fixes
170
+
171
+ - CI: add `contents:write` permission for GitHub release creation
172
+ - CI: unescape `$` in release workflow shell commands
173
+ - CI: add `--force` to npm publish for idempotent re-runs
174
+ - CI: add `npm install` step to typecheck and vitest jobs; fix `dist/*.js` (#10)
175
+ - CI: use shell expansion for PATH in bats test step (#5)
176
+ - Correct Auggie hook format (array → object per event)
177
+ - Remove matcher fields, increase hook timeout to 5000ms
178
+ - Shell-wrap node command to expand `${PLUGIN_ROOT}`
179
+ - Use correct package names for context7, exa, github MCP servers
180
+ - Remove mcp from auto-config; fix cost-track `OMA_DIR` resolution
181
+ - cost-track: create `.oma` dir before writing cost-log
182
+ - Correct owner email in marketplace.json
183
+ - Correct GitHub owner from archgate to r3dlex in all references
184
+ - Sensitive data guard (#4)
185
+ - Fix bats: write state to server's hardcoded `.oma/state.json` path (#6)
186
+
187
+ ### Refactors
188
+
189
+ - Convert all `.sh` hooks to `.mjs` (ESM) (#15)
190
+ - Simplify augment marketplace.json to match schema
191
+
192
+ ### Chores
193
+
194
+ - Remove OMC-style command files
195
+ - Remove `e2e/oma-core-loop.bats` (replaced by Vitest)
196
+ - Add `.gitignore` for OMA runtime dirs + auto-merge docs in CI (#3)
197
+ - Rewrite README with marketplace install instructions
198
+
199
+ ---
200
+
201
+ ## [0.1.0-alpha.1] - 2026-04-09
202
+
203
+ ### Features
204
+
205
+ - Initial release of oh-my-auggie (OMA)
206
+ - Phase 1–4 implementation with orchestration modes: autopilot, ralph, ultrawork, ultraqa, ralplan
207
+ - 7 TypeScript hooks: session-start, keyword-detect, cost-track, delegation-enforce, approval-gate, adr-enforce, audit-log
208
+ - Full Vitest test suite with 80%+ coverage across statements, branches, and functions