@mytechtoday/augment-extensions 3.1.2 โ†’ 3.3.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.
Files changed (386) hide show
  1. package/AGENTS.md +127 -0
  2. package/README.md +1050 -32
  3. package/augment-extensions/coding-standards/java/CHANGELOG.md +12 -0
  4. package/augment-extensions/coding-standards/java/README.md +54 -0
  5. package/augment-extensions/coding-standards/java/examples/SearchRequest.java +13 -0
  6. package/augment-extensions/coding-standards/java/metadata.json +36 -0
  7. package/augment-extensions/coding-standards/java/module.json +35 -0
  8. package/augment-extensions/coding-standards/java/rules/language-and-api-design.md +45 -0
  9. package/augment-extensions/coding-standards/java/rules/reliability-and-concurrency.md +43 -0
  10. package/augment-extensions/coding-standards/java/rules/testing-tooling-and-security.md +39 -0
  11. package/augment-extensions/coding-standards/q/CHANGELOG.md +16 -0
  12. package/augment-extensions/coding-standards/q/README.md +53 -0
  13. package/augment-extensions/coding-standards/q/examples/ArrayAndTupleNamingConventions.qs +27 -0
  14. package/augment-extensions/coding-standards/q/examples/CallableAliasNamingConventions.qs +20 -0
  15. package/augment-extensions/coding-standards/q/examples/CircuitCompositionNamingConventions.qs +24 -0
  16. package/augment-extensions/coding-standards/q/examples/ConstantValueNamingConventions.qs +19 -0
  17. package/augment-extensions/coding-standards/q/examples/EntryPointAttributeNamingConventions.qs +17 -0
  18. package/augment-extensions/coding-standards/q/examples/FunctorApplicationInControlledCircuits.qs +84 -0
  19. package/augment-extensions/coding-standards/q/examples/FunctorSpecializationNamingConventions.qs +29 -0
  20. package/augment-extensions/coding-standards/q/examples/GenericTypeParameterNamingConventions.qs +20 -0
  21. package/augment-extensions/coding-standards/q/examples/HamiltonianOperatorNamingConventions.qs +24 -0
  22. package/augment-extensions/coding-standards/q/examples/MeasurementResultNamingConventions.qs +48 -0
  23. package/augment-extensions/coding-standards/q/examples/NamespaceNamingConventions.qs +30 -0
  24. package/augment-extensions/coding-standards/q/examples/OperationAndFunctionNamingConventions.qs +31 -0
  25. package/augment-extensions/coding-standards/q/examples/OracleCallableNamingConventions.qs +41 -0
  26. package/augment-extensions/coding-standards/q/examples/PauliBasisNamingConventions.qs +42 -0
  27. package/augment-extensions/coding-standards/q/examples/PauliOperatorNamingConventions.qs +24 -0
  28. package/augment-extensions/coding-standards/q/examples/QubitManagementAndTeleportation.qs +94 -0
  29. package/augment-extensions/coding-standards/q/examples/QubitNamingConventions.qs +53 -0
  30. package/augment-extensions/coding-standards/q/examples/QubitRegisterNamingConventions.qs +30 -0
  31. package/augment-extensions/coding-standards/q/examples/StateVectorNamingConventions.qs +23 -0
  32. package/augment-extensions/coding-standards/q/examples/UserDefinedTypeNamingConventions.qs +22 -0
  33. package/augment-extensions/coding-standards/q/examples/VariableAndParameterNamingConventions.qs +26 -0
  34. package/augment-extensions/coding-standards/q/examples/bell-state.qs +21 -0
  35. package/augment-extensions/coding-standards/q/metadata.json +38 -0
  36. package/augment-extensions/coding-standards/q/module.json +29 -0
  37. package/augment-extensions/coding-standards/q/rules/q-error-handling.md +143 -0
  38. package/augment-extensions/coding-standards/q/rules/q-naming-conventions.md +82 -0
  39. package/augment-extensions/coding-standards/q/rules/q-performance-optimization.md +10 -0
  40. package/augment-extensions/coding-standards/q/rules/q-qubit-management.md +10 -0
  41. package/augment-extensions/coding-standards/q/rules/q-security.md +10 -0
  42. package/augment-extensions/coding-standards/q/rules/q-standards.md +127 -0
  43. package/augment-extensions/coding-standards/q/rules/q-testing.md +10 -0
  44. package/augment-extensions/coding-standards/spring/CHANGELOG.md +12 -0
  45. package/augment-extensions/coding-standards/spring/README.md +61 -0
  46. package/augment-extensions/coding-standards/spring/examples/OrderController.java +40 -0
  47. package/augment-extensions/coding-standards/spring/metadata.json +39 -0
  48. package/augment-extensions/coding-standards/spring/module.json +38 -0
  49. package/augment-extensions/coding-standards/spring/rules/beans-configuration-and-boot.md +39 -0
  50. package/augment-extensions/coding-standards/spring/rules/data-testing-and-transactions.md +36 -0
  51. package/augment-extensions/coding-standards/spring/rules/production-operations.md +40 -0
  52. package/augment-extensions/coding-standards/spring/rules/web-apis-and-security.md +43 -0
  53. package/augment-extensions/visual-design/CHANGELOG.md +2 -2
  54. package/augment-extensions/visual-design/README.md +31 -8
  55. package/augment-extensions/visual-design/VERSION +1 -0
  56. package/augment-extensions/visual-design/__tests__/README.md +32 -18
  57. package/augment-extensions/visual-design/__tests__/guidance-contract.test.ts +355 -0
  58. package/augment-extensions/visual-design/__tests__/vendor-styles.test.ts +23 -5
  59. package/augment-extensions/visual-design/domains/other/dotnet-application.ts +1 -1
  60. package/augment-extensions/visual-design/domains/other/mobile-application.ts +3 -4
  61. package/augment-extensions/visual-design/domains/other/os-application.ts +1 -1
  62. package/augment-extensions/visual-design/domains/other/windows-platform.ts +1 -1
  63. package/augment-extensions/visual-design/domains/web-page-styles/amazon-cloudscape.ts +4 -4
  64. package/augment-extensions/visual-design/domains/web-page-styles/google-modern.ts +10 -10
  65. package/augment-extensions/visual-design/domains/web-page-styles/microsoft-fluent.ts +3 -3
  66. package/augment-extensions/visual-design/examples/README.md +2 -0
  67. package/augment-extensions/visual-design/examples/basic-usage.md +5 -3
  68. package/augment-extensions/visual-design/examples/vendor-comparison.md +2 -2
  69. package/augment-extensions/visual-design/guidelines/coverage-map.md +30 -0
  70. package/augment-extensions/visual-design/guidelines/design-levels.md +211 -0
  71. package/augment-extensions/visual-design/guidelines/index.md +5 -0
  72. package/augment-extensions/visual-design/metadata.json +26 -5
  73. package/augment-extensions/visual-design/module.json +39 -6
  74. package/augment-extensions/visual-design/rules/accessibility-and-color.md +51 -0
  75. package/augment-extensions/visual-design/rules/design-practice.md +55 -0
  76. package/augment-extensions/visual-design/rules/index.md +34 -0
  77. package/augment-extensions/visual-design/rules/platform-guidance.md +47 -0
  78. package/augment-extensions/visual-design/scripts/validate-guidance.cjs +233 -0
  79. package/augment-extensions/visual-design/skills/README.md +11 -0
  80. package/augment-extensions/visual-design/skills/design-brief.md +40 -0
  81. package/augment-extensions/visual-design/skills/design-review.md +38 -0
  82. package/augment-extensions/visual-design/skills/responsive-validation/SKILL.md +94 -0
  83. package/augment-extensions/visual-design/skills/responsive-validation/scripts/responsive-sweep.cjs +457 -0
  84. package/augment-extensions/visual-design/style-selector.ts +4 -4
  85. package/augment-extensions/visual-design/types.ts +101 -46
  86. package/augment-extensions/visual-design/visual-design-core.ts +8 -8
  87. package/augment-extensions/workflows/agent-engineering/README.md +67 -0
  88. package/augment-extensions/workflows/agent-engineering/examples/contracts.cjs +89 -0
  89. package/augment-extensions/workflows/agent-engineering/examples/demo.cjs +17 -0
  90. package/augment-extensions/workflows/agent-engineering/examples/evaluation-cases.json +7 -0
  91. package/augment-extensions/workflows/agent-engineering/examples/graphs.cjs +149 -0
  92. package/augment-extensions/workflows/agent-engineering/examples/loop.cjs +125 -0
  93. package/augment-extensions/workflows/agent-engineering/examples/recovery.cjs +51 -0
  94. package/augment-extensions/workflows/agent-engineering/examples/stub.cjs +11 -0
  95. package/augment-extensions/workflows/agent-engineering/examples/verify.cjs +21 -0
  96. package/augment-extensions/workflows/agent-engineering/module.json +24 -0
  97. package/augment-extensions/workflows/agent-engineering/rules/01-adoption.md +30 -0
  98. package/augment-extensions/workflows/agent-engineering/rules/02-agents.md +34 -0
  99. package/augment-extensions/workflows/agent-engineering/rules/03-contracts.md +34 -0
  100. package/augment-extensions/workflows/agent-engineering/rules/04-loops.md +39 -0
  101. package/augment-extensions/workflows/agent-engineering/rules/05-graphs.md +39 -0
  102. package/augment-extensions/workflows/agent-engineering/rules/06-improvement.md +38 -0
  103. package/augment-extensions/workflows/agent-engineering/schemas/contracts.schema.json +1 -0
  104. package/augment-extensions/workflows/agent-engineering/scripts/validate.cjs +32 -0
  105. package/augment-extensions/workflows/agent-engineering/sources.md +12 -0
  106. package/augment-extensions/workflows/agent-engineering/templates/agent.json +40 -0
  107. package/augment-extensions/workflows/agent-engineering/templates/check-tool.json +94 -0
  108. package/augment-extensions/workflows/agent-engineering/templates/evidence.json +29 -0
  109. package/augment-extensions/workflows/agent-engineering/templates/invocation.json +40 -0
  110. package/augment-extensions/workflows/agent-engineering/templates/node.json +27 -0
  111. package/augment-extensions/workflows/agent-engineering/templates/state.json +27 -0
  112. package/augment-extensions/workflows/agent-engineering/templates/task.json +40 -0
  113. package/augment-extensions/workflows/agent-engineering/templates/tool.json +52 -0
  114. package/augment-extensions/workflows/decision-layer/README.md +136 -0
  115. package/augment-extensions/workflows/decision-layer/examples/call-inventory.json +6 -0
  116. package/augment-extensions/workflows/decision-layer/examples/config.json +9 -0
  117. package/augment-extensions/workflows/decision-layer/examples/decision.json +13 -0
  118. package/augment-extensions/workflows/decision-layer/examples/labeled-cases.json +410 -0
  119. package/augment-extensions/workflows/decision-layer/examples/source.txt +3 -0
  120. package/augment-extensions/workflows/decision-layer/examples/task.json +8 -0
  121. package/augment-extensions/workflows/decision-layer/installation/package-lock.json +27 -0
  122. package/augment-extensions/workflows/decision-layer/installation/package.json +7 -0
  123. package/augment-extensions/workflows/decision-layer/installation/sources.json +18 -0
  124. package/augment-extensions/workflows/decision-layer/module.json +24 -0
  125. package/augment-extensions/workflows/decision-layer/rules/00-index.md +5 -0
  126. package/augment-extensions/workflows/decision-layer/rules/01-responsibilities.md +15 -0
  127. package/augment-extensions/workflows/decision-layer/rules/02-operation.md +13 -0
  128. package/augment-extensions/workflows/decision-layer/runtime/cli.cjs +70 -0
  129. package/augment-extensions/workflows/decision-layer/runtime/common.cjs +85 -0
  130. package/augment-extensions/workflows/decision-layer/runtime/contracts.d.ts +8 -0
  131. package/augment-extensions/workflows/decision-layer/runtime/decisions.cjs +198 -0
  132. package/augment-extensions/workflows/decision-layer/runtime/evaluate.cjs +61 -0
  133. package/augment-extensions/workflows/decision-layer/runtime/install.cjs +186 -0
  134. package/augment-extensions/workflows/decision-layer/runtime/integrations.cjs +64 -0
  135. package/augment-extensions/workflows/decision-layer/runtime/runner.cjs +201 -0
  136. package/augment-extensions/workflows/decision-layer/runtime/worker-child.cjs +15 -0
  137. package/augment-extensions/workflows/decision-layer/runtime/workers.cjs +15 -0
  138. package/augment-extensions/workflows/decision-layer/schemas/config.schema.json +27 -0
  139. package/augment-extensions/workflows/decision-layer/scripts/validate.cjs +16 -0
  140. package/augment-extensions/workflows/decision-layer/sources.md +25 -0
  141. package/cli/MODULES.md +804 -302
  142. package/cli/dist/__test_file-tracking.d.ts +2 -0
  143. package/cli/dist/__test_file-tracking.d.ts.map +1 -0
  144. package/cli/dist/__test_file-tracking.js +4 -0
  145. package/cli/dist/__test_file-tracking.js.map +1 -0
  146. package/cli/dist/adapters/banner.d.ts +62 -0
  147. package/cli/dist/adapters/banner.d.ts.map +1 -0
  148. package/cli/dist/adapters/banner.js +105 -0
  149. package/cli/dist/adapters/banner.js.map +1 -0
  150. package/cli/dist/adapters/claude-code.d.ts +13 -0
  151. package/cli/dist/adapters/claude-code.d.ts.map +1 -0
  152. package/cli/dist/adapters/claude-code.js +79 -0
  153. package/cli/dist/adapters/claude-code.js.map +1 -0
  154. package/cli/dist/adapters/copilot.d.ts +17 -0
  155. package/cli/dist/adapters/copilot.d.ts.map +1 -0
  156. package/cli/dist/adapters/copilot.js +81 -0
  157. package/cli/dist/adapters/copilot.js.map +1 -0
  158. package/cli/dist/adapters/cursor.d.ts +16 -0
  159. package/cli/dist/adapters/cursor.d.ts.map +1 -0
  160. package/cli/dist/adapters/cursor.js +99 -0
  161. package/cli/dist/adapters/cursor.js.map +1 -0
  162. package/cli/dist/adapters/index.d.ts +25 -0
  163. package/cli/dist/adapters/index.d.ts.map +1 -0
  164. package/cli/dist/adapters/index.js +59 -0
  165. package/cli/dist/adapters/index.js.map +1 -0
  166. package/cli/dist/adapters/types.d.ts +113 -0
  167. package/cli/dist/adapters/types.d.ts.map +1 -0
  168. package/cli/dist/adapters/types.js +13 -0
  169. package/cli/dist/adapters/types.js.map +1 -0
  170. package/cli/dist/adapters/windsurf.d.ts +14 -0
  171. package/cli/dist/adapters/windsurf.d.ts.map +1 -0
  172. package/cli/dist/adapters/windsurf.js +78 -0
  173. package/cli/dist/adapters/windsurf.js.map +1 -0
  174. package/cli/dist/analysis/ast-parser.d.ts.map +1 -1
  175. package/cli/dist/analysis/ast-parser.js +25 -9
  176. package/cli/dist/analysis/ast-parser.js.map +1 -1
  177. package/cli/dist/analysis/index.d.ts +1 -0
  178. package/cli/dist/analysis/index.d.ts.map +1 -1
  179. package/cli/dist/analysis/index.js +1 -0
  180. package/cli/dist/analysis/index.js.map +1 -1
  181. package/cli/dist/analysis/pattern-analyzer.d.ts +6 -0
  182. package/cli/dist/analysis/pattern-analyzer.d.ts.map +1 -0
  183. package/cli/dist/analysis/pattern-analyzer.js +100 -0
  184. package/cli/dist/analysis/pattern-analyzer.js.map +1 -0
  185. package/cli/dist/cli.js +67 -37
  186. package/cli/dist/cli.js.map +1 -1
  187. package/cli/dist/commands/code-analysis.d.ts.map +1 -1
  188. package/cli/dist/commands/code-analysis.js +22 -2
  189. package/cli/dist/commands/code-analysis.js.map +1 -1
  190. package/cli/dist/commands/decision.d.ts +4 -0
  191. package/cli/dist/commands/decision.d.ts.map +1 -0
  192. package/cli/dist/commands/decision.js +32 -0
  193. package/cli/dist/commands/decision.js.map +1 -0
  194. package/cli/dist/commands/export.d.ts +81 -0
  195. package/cli/dist/commands/export.d.ts.map +1 -0
  196. package/cli/dist/commands/export.js +334 -0
  197. package/cli/dist/commands/export.js.map +1 -0
  198. package/cli/dist/commands/gui-decision.d.ts +6 -0
  199. package/cli/dist/commands/gui-decision.d.ts.map +1 -0
  200. package/cli/dist/commands/gui-decision.js +189 -0
  201. package/cli/dist/commands/gui-decision.js.map +1 -0
  202. package/cli/dist/commands/gui-module-manager.d.ts +14 -0
  203. package/cli/dist/commands/gui-module-manager.d.ts.map +1 -0
  204. package/cli/dist/commands/gui-module-manager.js +326 -0
  205. package/cli/dist/commands/gui-module-manager.js.map +1 -0
  206. package/cli/dist/commands/gui.d.ts +5 -9
  207. package/cli/dist/commands/gui.d.ts.map +1 -1
  208. package/cli/dist/commands/gui.js +186 -231
  209. package/cli/dist/commands/gui.js.map +1 -1
  210. package/cli/dist/commands/init.d.ts +2 -0
  211. package/cli/dist/commands/init.d.ts.map +1 -1
  212. package/cli/dist/commands/init.js +84 -3
  213. package/cli/dist/commands/init.js.map +1 -1
  214. package/cli/dist/commands/lifecycle.d.ts +14 -0
  215. package/cli/dist/commands/lifecycle.d.ts.map +1 -0
  216. package/cli/dist/commands/lifecycle.js +463 -0
  217. package/cli/dist/commands/lifecycle.js.map +1 -0
  218. package/cli/dist/commands/link.d.ts +5 -0
  219. package/cli/dist/commands/link.d.ts.map +1 -1
  220. package/cli/dist/commands/link.js +137 -29
  221. package/cli/dist/commands/link.js.map +1 -1
  222. package/cli/dist/commands/list.js +2 -2
  223. package/cli/dist/commands/list.js.map +1 -1
  224. package/cli/dist/commands/mcp.d.ts +1 -2
  225. package/cli/dist/commands/mcp.d.ts.map +1 -1
  226. package/cli/dist/commands/mcp.js +20 -20
  227. package/cli/dist/commands/mcp.js.map +1 -1
  228. package/cli/dist/commands/module-management.d.ts +9 -0
  229. package/cli/dist/commands/module-management.d.ts.map +1 -0
  230. package/cli/dist/commands/module-management.js +420 -0
  231. package/cli/dist/commands/module-management.js.map +1 -0
  232. package/cli/dist/commands/search.js +1 -11
  233. package/cli/dist/commands/search.js.map +1 -1
  234. package/cli/dist/commands/self-remove.d.ts.map +1 -1
  235. package/cli/dist/commands/self-remove.js +98 -44
  236. package/cli/dist/commands/self-remove.js.map +1 -1
  237. package/cli/dist/commands/show.d.ts +1 -1
  238. package/cli/dist/commands/show.d.ts.map +1 -1
  239. package/cli/dist/commands/show.js +21 -10
  240. package/cli/dist/commands/show.js.map +1 -1
  241. package/cli/dist/commands/showCompleted.d.ts +1 -0
  242. package/cli/dist/commands/showCompleted.d.ts.map +1 -1
  243. package/cli/dist/commands/showCompleted.js +4 -3
  244. package/cli/dist/commands/showCompleted.js.map +1 -1
  245. package/cli/dist/commands/skill.d.ts +7 -1
  246. package/cli/dist/commands/skill.d.ts.map +1 -1
  247. package/cli/dist/commands/skill.js +79 -21
  248. package/cli/dist/commands/skill.js.map +1 -1
  249. package/cli/dist/commands/unlink.d.ts +2 -0
  250. package/cli/dist/commands/unlink.d.ts.map +1 -1
  251. package/cli/dist/commands/unlink.js +86 -44
  252. package/cli/dist/commands/unlink.js.map +1 -1
  253. package/cli/dist/commands/update.d.ts.map +1 -1
  254. package/cli/dist/commands/update.js +6 -16
  255. package/cli/dist/commands/update.js.map +1 -1
  256. package/cli/dist/commands/upgrade.d.ts +2 -0
  257. package/cli/dist/commands/upgrade.d.ts.map +1 -1
  258. package/cli/dist/commands/upgrade.js +22 -5
  259. package/cli/dist/commands/upgrade.js.map +1 -1
  260. package/cli/dist/commands/use.d.ts.map +1 -1
  261. package/cli/dist/commands/use.js +2 -68
  262. package/cli/dist/commands/use.js.map +1 -1
  263. package/cli/dist/core/compatibility-checker.d.ts +37 -1
  264. package/cli/dist/core/compatibility-checker.d.ts.map +1 -1
  265. package/cli/dist/core/compatibility-checker.js +133 -12
  266. package/cli/dist/core/compatibility-checker.js.map +1 -1
  267. package/cli/dist/gui/state/navigation-state.d.ts +20 -0
  268. package/cli/dist/gui/state/navigation-state.d.ts.map +1 -0
  269. package/cli/dist/gui/state/navigation-state.js +115 -0
  270. package/cli/dist/gui/state/navigation-state.js.map +1 -0
  271. package/cli/dist/gui/state/selection-state.d.ts +21 -0
  272. package/cli/dist/gui/state/selection-state.d.ts.map +1 -0
  273. package/cli/dist/gui/state/selection-state.js +117 -0
  274. package/cli/dist/gui/state/selection-state.js.map +1 -0
  275. package/cli/dist/lib/export-runner.d.ts +76 -0
  276. package/cli/dist/lib/export-runner.d.ts.map +1 -0
  277. package/cli/dist/lib/export-runner.js +111 -0
  278. package/cli/dist/lib/export-runner.js.map +1 -0
  279. package/cli/dist/lib/mcp-detection.d.ts +40 -0
  280. package/cli/dist/lib/mcp-detection.d.ts.map +1 -0
  281. package/cli/dist/lib/mcp-detection.js +167 -0
  282. package/cli/dist/lib/mcp-detection.js.map +1 -0
  283. package/cli/dist/lib/mirror-coordination.d.ts +57 -0
  284. package/cli/dist/lib/mirror-coordination.d.ts.map +1 -0
  285. package/cli/dist/lib/mirror-coordination.js +151 -0
  286. package/cli/dist/lib/mirror-coordination.js.map +1 -0
  287. package/cli/dist/lib/mirror-runner.d.ts +123 -0
  288. package/cli/dist/lib/mirror-runner.d.ts.map +1 -0
  289. package/cli/dist/lib/mirror-runner.js +579 -0
  290. package/cli/dist/lib/mirror-runner.js.map +1 -0
  291. package/cli/dist/lib/module-resolver.d.ts +65 -0
  292. package/cli/dist/lib/module-resolver.d.ts.map +1 -0
  293. package/cli/dist/lib/module-resolver.js +211 -0
  294. package/cli/dist/lib/module-resolver.js.map +1 -0
  295. package/cli/dist/lib/source-hash.d.ts +62 -0
  296. package/cli/dist/lib/source-hash.d.ts.map +1 -0
  297. package/cli/dist/lib/source-hash.js +99 -0
  298. package/cli/dist/lib/source-hash.js.map +1 -0
  299. package/cli/dist/types/coordination-export.d.ts +33 -0
  300. package/cli/dist/types/coordination-export.d.ts.map +1 -0
  301. package/cli/dist/types/coordination-export.js +28 -0
  302. package/cli/dist/types/coordination-export.js.map +1 -0
  303. package/cli/dist/types/gui.d.ts +4 -0
  304. package/cli/dist/types/gui.d.ts.map +1 -1
  305. package/cli/dist/types/lifecycle.d.ts +81 -0
  306. package/cli/dist/types/lifecycle.d.ts.map +1 -0
  307. package/cli/dist/types/lifecycle.js +3 -0
  308. package/cli/dist/types/lifecycle.js.map +1 -0
  309. package/cli/dist/utils/beads-sync.d.ts +4 -0
  310. package/cli/dist/utils/beads-sync.d.ts.map +1 -1
  311. package/cli/dist/utils/beads-sync.js.map +1 -1
  312. package/cli/dist/utils/catalog-sync.d.ts.map +1 -1
  313. package/cli/dist/utils/catalog-sync.js +41 -8
  314. package/cli/dist/utils/catalog-sync.js.map +1 -1
  315. package/cli/dist/utils/coordination-queries.d.ts +3 -0
  316. package/cli/dist/utils/coordination-queries.d.ts.map +1 -1
  317. package/cli/dist/utils/coordination-queries.js +2 -2
  318. package/cli/dist/utils/coordination-queries.js.map +1 -1
  319. package/cli/dist/utils/decision-runner.d.ts +18 -0
  320. package/cli/dist/utils/decision-runner.d.ts.map +1 -0
  321. package/cli/dist/utils/decision-runner.js +114 -0
  322. package/cli/dist/utils/decision-runner.js.map +1 -0
  323. package/cli/dist/utils/extensions-config.d.ts +29 -0
  324. package/cli/dist/utils/extensions-config.d.ts.map +1 -0
  325. package/cli/dist/utils/extensions-config.js +151 -0
  326. package/cli/dist/utils/extensions-config.js.map +1 -0
  327. package/cli/dist/utils/extractCommandHelp.d.ts +2 -2
  328. package/cli/dist/utils/extractCommandHelp.d.ts.map +1 -1
  329. package/cli/dist/utils/extractCommandHelp.js +10 -4
  330. package/cli/dist/utils/extractCommandHelp.js.map +1 -1
  331. package/cli/dist/utils/file-tracking.d.ts +4 -0
  332. package/cli/dist/utils/file-tracking.d.ts.map +1 -1
  333. package/cli/dist/utils/file-tracking.js +5 -5
  334. package/cli/dist/utils/file-tracking.js.map +1 -1
  335. package/cli/dist/utils/glob-match.d.ts +6 -0
  336. package/cli/dist/utils/glob-match.d.ts.map +1 -0
  337. package/cli/dist/utils/glob-match.js +8 -0
  338. package/cli/dist/utils/glob-match.js.map +1 -0
  339. package/cli/dist/utils/gui-helpers.d.ts.map +1 -1
  340. package/cli/dist/utils/gui-helpers.js +7 -3
  341. package/cli/dist/utils/gui-helpers.js.map +1 -1
  342. package/cli/dist/utils/inspection-cache.d.ts +8 -0
  343. package/cli/dist/utils/inspection-cache.d.ts.map +1 -1
  344. package/cli/dist/utils/inspection-cache.js +12 -0
  345. package/cli/dist/utils/inspection-cache.js.map +1 -1
  346. package/cli/dist/utils/inspection-handlers.d.ts.map +1 -1
  347. package/cli/dist/utils/inspection-handlers.js +230 -52
  348. package/cli/dist/utils/inspection-handlers.js.map +1 -1
  349. package/cli/dist/utils/install-rules.d.ts +15 -0
  350. package/cli/dist/utils/install-rules.d.ts.map +1 -1
  351. package/cli/dist/utils/install-rules.js +247 -0
  352. package/cli/dist/utils/install-rules.js.map +1 -1
  353. package/cli/dist/utils/interactive-prompt.d.ts +7 -0
  354. package/cli/dist/utils/interactive-prompt.d.ts.map +1 -0
  355. package/cli/dist/utils/interactive-prompt.js +41 -0
  356. package/cli/dist/utils/interactive-prompt.js.map +1 -0
  357. package/cli/dist/utils/lifecycle.d.ts +47 -0
  358. package/cli/dist/utils/lifecycle.d.ts.map +1 -0
  359. package/cli/dist/utils/lifecycle.js +841 -0
  360. package/cli/dist/utils/lifecycle.js.map +1 -0
  361. package/cli/dist/utils/mcp-integration.d.ts +24 -3
  362. package/cli/dist/utils/mcp-integration.d.ts.map +1 -1
  363. package/cli/dist/utils/mcp-integration.js +364 -151
  364. package/cli/dist/utils/mcp-integration.js.map +1 -1
  365. package/cli/dist/utils/module-system.d.ts +7 -0
  366. package/cli/dist/utils/module-system.d.ts.map +1 -1
  367. package/cli/dist/utils/module-system.js +137 -42
  368. package/cli/dist/utils/module-system.js.map +1 -1
  369. package/cli/dist/utils/modules-catalog.d.ts.map +1 -1
  370. package/cli/dist/utils/modules-catalog.js +5 -0
  371. package/cli/dist/utils/modules-catalog.js.map +1 -1
  372. package/cli/dist/utils/openspec-sync.d.ts +4 -0
  373. package/cli/dist/utils/openspec-sync.d.ts.map +1 -1
  374. package/cli/dist/utils/openspec-sync.js.map +1 -1
  375. package/cli/dist/utils/plugin-system.js +1 -1
  376. package/cli/dist/utils/plugin-system.js.map +1 -1
  377. package/cli/dist/utils/skill-system.d.ts +11 -0
  378. package/cli/dist/utils/skill-system.d.ts.map +1 -1
  379. package/cli/dist/utils/skill-system.js +101 -3
  380. package/cli/dist/utils/skill-system.js.map +1 -1
  381. package/cli/dist/utils/zip-archive.d.ts +25 -0
  382. package/cli/dist/utils/zip-archive.d.ts.map +1 -0
  383. package/cli/dist/utils/zip-archive.js +287 -0
  384. package/cli/dist/utils/zip-archive.js.map +1 -0
  385. package/modules.md +89 -6
  386. package/package.json +150 -135
package/README.md CHANGED
@@ -1,61 +1,1079 @@
1
1
  # Augment Extensions
2
2
 
3
- **Reusable augmentation modules for Augment Code AI**
3
+ **Reusable augmentation modules for Augment Code AI, with cross-platform distribution to Claude Code, Cursor, Windsurf, and GitHub Copilot.**
4
4
 
5
- [![Version](https://img.shields.io/badge/version-3.1.1-blue.svg)](https://github.com/mytech-today-now/augment-extensions)
5
+ [![Version](https://img.shields.io/badge/version-3.3.0-blue.svg)](https://github.com/mytech-today-now/augment-extensions)
6
6
  [![License](https://img.shields.io/badge/license-MIT-green.svg)](./LICENSE)
7
7
  [![npm](https://img.shields.io/badge/npm-%40mytechtoday%2Faugment--extensions-red.svg)](https://www.npmjs.com/package/@mytechtoday/augment-extensions)
8
8
 
9
- Augment Extensions provides domain-specific coding standards, design systems, and sales & marketing guidelines for teams using Augment Code AI.
9
+ Augment Extensions is the structural layer between your rule modules and the AI coding tools that consume them. It treats coding standards, domain rules, workflows, and examples as versioned, composable units, and ships them into the native rules surface of every major AI coding tool from a single source of truth. The `augx` CLI links modules into projects, materializes them into per-tool locations, aggregates them into per-tool single-file rule artifacts, and keeps the whole arrangement coordinated through a manifest that links specs, tasks, rules, and the files they govern.
10
10
 
11
- ## ๐ŸŽฏ Purpose
11
+ The repository exists because rule content for AI agents has outgrown the surfaces individual tools provide. Each tool reserves a small budget for instructions the agent sees before it reasons about your code. Augment Code allocates roughly 49,400 characters to `.augment/`. Cursor, Windsurf, Copilot, and Claude Code each have their own constraints. The modules here live outside those budgets, are loaded on demand, and are emitted into the tool-native shapes those budgets expect, so the same module set can drive every tool without manual duplication.
12
12
 
13
- Augment Code AI limits `.augment/` to ~49,400 characters. This repository provides **2M+ characters** of guidelines across 30+ modules covering programming, design, and sales & marketing.
13
+ Current release: 3.3.0 adds Java and Spring standards, Agent Engineering and Jev / TypeSafe Decision Layer workflows, and a refreshed terminal manager with scoped module selection, content browsing, and decision actions. See [the changelog](CHANGELOG.md#330---2026-11-26) for the release notes.
14
14
 
15
- ## ๐Ÿ“ฆ Modules
15
+ ## Table of Contents
16
16
 
17
- ### ๐Ÿ’ป Programming โ€” coding-standards/ (13 modules)
17
+ - [Why This Exists](#why-this-exists)
18
+ - [Quickstart](#quickstart)
19
+ - [Concepts](#concepts)
20
+ - [CLI Reference](#cli-reference)
21
+ - [Cross-Platform Distribution](#cross-platform-distribution)
22
+ - [Coordination Manifest Schema](#coordination-manifest-schema)
23
+ - [MCP Integration](#mcp-integration)
24
+ - [OpenSpec Integration](#openspec-integration)
25
+ - [Beads Integration](#beads-integration)
26
+ - [Authoring Modules](#authoring-modules)
27
+ - [Operability](#operability)
28
+ - [Project Layout](#project-layout)
29
+ - [Module Catalog](#module-catalog)
30
+ - [Per-Tool Consumer Notes](#per-tool-consumer-notes)
31
+ - [Contributing](#contributing)
32
+ - [About myTech.Today](#about-mytech-today)
33
+ - [License](#license)
18
34
 
19
- Language-specific coding standards for professional software development:
35
+ ## Why This Exists
20
36
 
21
- Bash ยท C ยท CSS ยท Go ยท HTML ยท JavaScript ยท Perl ยท PHP ยท PowerShell ยท Python ยท React ยท TypeScript ยท HTML+CSS+JS (collection)
37
+ Every AI coding tool ships a "rules" surface: a place where you tell the agent how your project expects it to behave. Augment Code reads `.augment/`. Claude Code reads `CLAUDE.md` and `.claude/rules/`. Cursor reads `.cursor/rules/*.mdc`. Windsurf reads `.windsurfrules` and `.windsurf/rules/`. GitHub Copilot reads `.github/copilot-instructions.md` and `.github/instructions/`.
22
38
 
23
- ### ๐ŸŽจ Design โ€” domain-rules/ & visual-design/
39
+ Three problems compound as a project grows:
24
40
 
25
- Domain rules and visual systems for building polished products:
41
+ 1. **Budget.** Augment Code limits `.augment/` to roughly 49,400 characters. Comprehensive coding standards, security rules, workflow guidance, and worked examples cannot fit in that budget for any non-trivial project. The other tools have softer limits but the same diminishing-returns curve: the larger the rules file, the less the agent actually applies.
42
+ 2. **Duplication.** Without a structural layer, teams maintain four or five parallel copies of the same guidelines, one per tool. Edits drift. Tools fall out of sync. A change to a TypeScript naming rule has to be made in five places by hand.
43
+ 3. **Context discipline.** Rules embedded inline in a giant rules file cannot be selectively loaded, and they mix static guidance with volatile data like task state. The agent ends up parsing prose for state that should come from a live source.
26
44
 
27
- API Design ยท Database ยท MCP ยท Security ยท Software Architecture ยท Visual Design ยท WordPress ยท WordPress Plugin
45
+ Augment Extensions answers all three. Modules live in `augment-extensions/`, outside any tool's rules budget. The `augx` CLI links the modules a project actually needs, then either aggregates them into the single-file shape each tool expects (`augx export`) or materializes per-module files into each tool's per-module location (`augx link --mirror`). A coordination manifest in `.augment/coordination.json` tracks which specs are active, which tasks are in flight, which rules govern which files, and which mirror entries were materialized as symlinks versus copies. When the project declares a Beads MCP server, exported artifacts inline a snippet that points the consuming agent at the live task source instead of embedding stale snapshots.
28
46
 
29
- Includes ready-to-use examples: design patterns, Gutenberg blocks, REST API, WooCommerce.
47
+ The result: rules are authored once in plain Markdown and JSON, versioned per module, and propagate deterministically to every tool a developer might use.
30
48
 
31
- ### ๐Ÿ“ˆ Sales & Marketing โ€” domain-rules/seo-sales-marketing
49
+ ## Quickstart
32
50
 
33
- Content and conversion strategy guidelines for revenue-focused teams:
34
-
35
- SEO best practices ยท Copywriting ยท CTAs ยท Social proof ยท Content architecture
36
-
37
- ## ๐Ÿš€ Quick Start
51
+ Install the CLI globally and link a module:
38
52
 
39
53
  ```bash
40
54
  npm install -g @mytechtoday/augment-extensions
55
+
56
+ # In the project that will consume the modules
41
57
  augx init
42
58
  augx link coding-standards/typescript
43
59
  augx list --linked
44
60
  ```
45
61
 
46
- ## ๐Ÿ”ง CLI Commands
62
+ Mirror the module into one or more tools' native per-module rules locations:
63
+
64
+ ```bash
65
+ augx link coding-standards/typescript --mirror cursor,windsurf
66
+ ```
67
+
68
+ Or aggregate every currently linked module into one tool's single-file rules artifact:
69
+
70
+ ```bash
71
+ augx export --target claude-code
72
+ augx export --target all --dry-run # preview without writing
73
+ ```
74
+
75
+ From a clean clone to a working `CLAUDE.md`, `.cursor/rules/augx-coding-standards-typescript.mdc`, and `.windsurf/rules/augx-coding-standards-typescript.md` is four commands.
76
+
77
+ ## Runtime Compatibility
78
+
79
+ The package declares Node.js `>=16` and builds the CLI as CommonJS. The CLI loads Chalk synchronously for command output, so it uses Chalk 4, which supports the fluent color and bold methods used by the CLI and can be required from CommonJS on Node 16. Chalk 5 is ESM-only and fails when loaded by this CommonJS entry point on Node 16. Inquirer remains on version 9 and is loaded with native dynamic import only when an interactive prompt is needed. UUID remains unchanged because the CLI startup path does not import it.
80
+
81
+ ## Concepts
82
+
83
+ ### Modules
84
+
85
+ A module is a directory under `augment-extensions/` with a `module.json` manifest, a `rules/` directory of Markdown files, and optional `examples/` and `CHANGELOG.md`. Modules are versioned per semver, project-agnostic, and addressable by their canonical id (for example `coding-standards/typescript`, `workflows/cross-platform`, `domain-rules/security`).
86
+
87
+ Four module categories exist:
88
+
89
+ - **coding-standards** - language- or framework-specific guidance. Currently shipped: Bash, C, CSS, Go, HTML, HTML+CSS+JS, Java, JavaScript, Perl, PHP, PowerShell, Python, Q, React, Spring Framework and Spring Boot, TypeScript.
90
+ - **domain-rules** - subject-matter guidance independent of language. Currently shipped: API Design, Database, Design (color), MCP, Security, SEO/Sales/Marketing, Software Architecture, WordPress, WordPress Plugin. The `visual-design/` module ships alongside as a sibling tree with its own vendor and domain palettes.
91
+ - **workflows** - process integration for spec-driven development, task tracking, and multi-tool distribution. Currently shipped: adr-support, agent-engineering, cross-platform, database, decision-layer, mcp, wordpress-plugin.
92
+ - **examples** - canned working examples that illustrate the rules. Currently shipped: design-patterns, gutenberg-block-plugin, rest-api-plugin, woocommerce-extension.
93
+
94
+ The [Agent Engineering workflow](augment-extensions/workflows/agent-engineering/README.md) covers scoped agents, harnesses, bounded loops, and dependency graphs with validated contracts and runnable deterministic local examples. Link it with `augx link workflows/agent-engineering` from a checkout or package that contains the module.
95
+
96
+ The [Decision Layer workflow](augment-extensions/workflows/decision-layer/README.md) adds an optional TypeSafe integration with project-local software setup, eleven typed decision capabilities, bounded local workers, independent artifact verification, recovery, and labeled evaluation. Link it with `augx link workflows/decision-layer`, inspect `augx decision setup --dry-run`, then explicitly run setup. Ordinary discovery and exports do not install or load the optional SDK. See the module guide for offline fixtures, live credentials and request budgets, actual host boundaries, and safe removal.
97
+
98
+ ### Linked vs. mirrored vs. exported
99
+
100
+ These three verbs are orthogonal and stack:
101
+
102
+ - **Linked** means a module is recorded in the project's `.augment/extensions.json` as one of the rule sets this project pulls from. It does not by itself write into any tool's rules surface.
103
+ - **Mirrored** means the linked module's `rules/` content has been materialized into one or more tools' per-module rules locations, one target file (or directory) per module. `augx link --mirror` writes these.
104
+ - **Exported** means the union of all currently linked modules has been concatenated into the single aggregated rules file each tool expects (`CLAUDE.md`, `.cursor/rules/augx.mdc`, `.windsurfrules`, `.github/copilot-instructions.md`). `augx export` writes these.
105
+
106
+ A project can use export only, mirror only, both, or neither. The two surfaces never share a target path.
107
+
108
+ ### Coordination manifest
109
+
110
+ `.augment/coordination.json` is the harmonizer. It stores four kinds of relationships:
111
+
112
+ - **Specs** - active OpenSpec proposals or canonical specs, each with the tasks they spawned, the rules that govern them, and the file patterns they affect.
113
+ - **Tasks** - Beads issue ids referenced from specs, with the rules they applied while running.
114
+ - **Rules** - the `.augment/rules/` files that apply to specs and tasks.
115
+ - **Files** - the working-tree files created or modified under a given spec/task pair, with the rules that were in force at the time.
116
+
117
+ Two additional blocks, `export` and `mirrors`, are populated by the CLI when cross-platform features are in use. Both are optional and forward-compatible: loaders ignore unknown keys silently and missing keys preserve prior behavior.
118
+
119
+ ### Context engineering, in practice
120
+
121
+ A consequence of the linked/mirrored/exported split is that the context an agent sees before it reasons can be tuned per tool, per module, and per session. Mirrored modules let you commit one file per module to source control and selectively prune what each tool sees. Aggregated exports keep the agent's static surface lean by routing volatile data (task state, dependency graphs) to the Beads MCP server instead of inlining it in the rules file. The repo's defaults push hard in this direction: exports inline an MCP wiring snippet only when a Beads MCP server is declared, and they never embed live task data.
122
+
123
+ ## CLI Reference
124
+
125
+ Every command below is implemented by the `augx` binary shipped from `cli/`. Flags marked as defaults appear when omitted.
126
+
127
+ ### Project lifecycle
128
+
129
+ #### `augx init`
130
+
131
+ Initialize Augment Extensions in the current project. Creates `.augment/extensions.json`, installs the `.augment/rules/character-count-management.md` and `.augment/rules/no-em-dash.md` rules, generates `.augment/COMMAND_HELP.md` with help text for the detected workflow tools, and (when `.beads/` is present) wires Beads integration. Prompts interactively for optional rules unless overridden.
132
+
133
+ ```bash
134
+ augx init # interactive
135
+ augx init -y # accept defaults for optional-rule prompts
136
+ augx init --no-optional-rules # skip optional-rule prompts entirely
137
+ augx init --from-submodule # initialize when augment-extensions/ is a git submodule
138
+ augx init beads # nested subcommand: stand up Beads task tracking
139
+ ```
140
+
141
+ #### `augx self-remove`
142
+
143
+ Safely unlink Augment Extensions from the project. It clears linked-module entries from `.augment/extensions.json`, prunes Augment recommendations from `.vscode/extensions.json` when present, writes `.augment-removal.log`, and preserves the `.augment/` directory plus user-generated content. Pair with `--dry-run` to preview the exact preserved and cleaned paths, or `--force` to skip confirmation.
144
+
145
+ ```bash
146
+ augx self-remove --dry-run
147
+ augx self-remove --force
148
+ ```
149
+
150
+ #### `augx lifecycle [action]`
151
+
152
+ Inspect and manage the project lifecycle artifact. The command supports `status`, `repair`, `rollback`, `report`, and `uninstall`. When run without an action in an interactive terminal, it opens a menu. Use `--dry-run` to preview changes, `--fix <ids>` or `--all-safe` to control repairs, and `--report <path>` to write a redacted diagnostic report.
153
+
154
+ ```bash
155
+ augx lifecycle status
156
+ augx lifecycle repair --all-safe
157
+ augx lifecycle rollback --dry-run
158
+ augx lifecycle report --report .augment/lifecycle/reports/latest.json
159
+ augx lifecycle uninstall --force
160
+ ```
161
+
162
+ See [docs/LIFECYCLE.md](./docs/LIFECYCLE.md) for the state model, artifact schema, repair flow, and recovery notes.
163
+
164
+ ### Module discovery
165
+
166
+ Linked-module commands resolve the nearest ancestor .augment/extensions.json within the current Git repository. Nested folders inherit that manifest, while a nested copy with its own manifest uses its own linked-module set.
167
+
168
+ #### `augx list`
169
+
170
+ List available or linked modules.
171
+
172
+ ```bash
173
+ augx list # every module shipped by the package
174
+ augx list --linked # only modules linked into this project
175
+ augx list --json # machine-readable
176
+ augx list --versions # include available versions per module
177
+ ```
178
+
179
+ #### `augx show <module> [file-path]`
180
+
181
+ Display module metadata, aggregated content, or a single file inside a module. The same command surfaces three special pseudo-modules: `completed` (Beads completed tasks), `linked` (the linked-module set), `all` (every available module).
182
+
183
+ ```bash
184
+ augx show coding-standards/typescript
185
+ augx show coding-standards/typescript rules/naming-conventions.md
186
+ augx show coding-standards/typescript --content --format markdown
187
+ augx show coding-standards/typescript --search "naming"
188
+ augx show coding-standards/typescript --filter "rules/*.md"
189
+ augx show coding-standards/typescript --depth 2
190
+ augx show coding-standards/typescript --page 1 --page-size 10
191
+ augx show coding-standards/typescript --secure # redact API keys/tokens/passwords in output
192
+ augx show coding-standards/typescript --open # open in VS Code editor
193
+ augx show linked
194
+ augx show all
195
+ augx show completed --since 2026-01-01 --priority 1
196
+ ```
197
+
198
+ `--no-cache` disables the inspection cache for one call. `--preview` opens a VS Code preview pane instead of the editor.
199
+
200
+ #### `augx search <keyword>`
201
+
202
+ Search canonical IDs, manifest names, display names, descriptions, types and actual tags case-insensitively. `--type` restricts to a single category. For example, `augx search Jev` finds `workflows/decision-layer`.
203
+
204
+ ```bash
205
+ augx search typescript
206
+ augx search security --type domain-rules
207
+ ```
208
+
209
+ ### Linking and mirroring
210
+
211
+ #### `augx link <module>`
212
+
213
+ Link a module into the current project. Records the entry in `.augment/extensions.json`. With `--mirror`, materializes the module's `rules/` content into the per-module rules location of one or more target tools.
214
+
215
+ ```bash
216
+ augx link coding-standards/typescript
217
+ augx link coding-standards/typescript --version 2.0.0
218
+ augx link coding-standards/typescript --mirror cursor
219
+ augx link coding-standards/typescript --mirror cursor,windsurf
220
+ augx link coding-standards/typescript --mirror all --verbose
221
+ ```
222
+
223
+ When `.augment/coordination.json.export.mirror` is `true`, `--mirror` is implied and the targets are taken from `.export.targets`.
224
+
225
+ #### `augx unlink <module>`
226
+
227
+ Unlink a module from the project. Reverses tracked mirror entries: tracked symlinks are removed and tracked copies whose content still matches the recorded source are removed. Hand-edited copies are left in place with a warning, so user edits are never silently destroyed. `--force` overrides dependency-based refusal.
228
+
229
+ ```bash
230
+ augx unlink coding-standards/typescript
231
+ augx unlink coding-standards/typescript --force
232
+ ```
233
+
234
+ #### `augx use <module>`
235
+
236
+ Select and load a specific module version, optionally pinning it for the project.
237
+
238
+ ```bash
239
+ augx use coding-standards/typescript --version 2.0.0
240
+ augx use coding-standards/typescript --version 2.0.0 --pin
241
+ ```
242
+
243
+ ### Module maintenance
244
+
245
+ #### `augx update`
246
+
247
+ Update the CLI itself, linked modules, or both.
248
+
249
+ ```bash
250
+ augx update # update linked modules
251
+ augx update --module coding-standards/typescript
252
+ augx update --cli # update the CLI to latest
253
+ augx update --all # update CLI and modules
254
+ ```
255
+
256
+ #### `augx upgrade <module>`
257
+
258
+ Upgrade a specific module to its latest version, with optional dry-run and forced upgrade through compatibility errors.
259
+
260
+ ```bash
261
+ augx upgrade coding-standards/typescript
262
+ augx upgrade coding-standards/typescript --dry-run
263
+ augx upgrade coding-standards/typescript --force
264
+ augx upgrade coding-standards/typescript --json
265
+ ```
266
+
267
+ #### `augx version-info <module>`
268
+
269
+ Show detailed version information including changelog and compatibility.
270
+
271
+ ```bash
272
+ augx version-info coding-standards/typescript
273
+ augx version-info coding-standards/typescript --json
274
+ augx version-info coding-standards/typescript --no-changelog --no-compatibility
275
+ ```
276
+
277
+ #### `augx validate <module>`
278
+
279
+ Validate a module's structure and `module.json` metadata.
280
+
281
+ ```bash
282
+ augx validate coding-standards/typescript
283
+ augx validate coding-standards/typescript --verbose
284
+ ```
285
+
286
+ #### `augx migrate`
287
+
288
+ Migrate existing Beads and OpenSpec data into the coordination manifest. A backup is created before any write.
289
+
290
+ ```bash
291
+ augx migrate
292
+ ```
293
+
294
+ ### Cross-platform distribution
295
+
296
+ #### `augx export`
297
+
298
+ Aggregate every currently linked module into the native single-file rules artifact of one or more target tools. See [Cross-Platform Distribution](#cross-platform-distribution) for the full path table and drift semantics.
299
+
300
+ ```bash
301
+ augx export --target claude-code
302
+ augx export --target cursor,windsurf
303
+ augx export --target all
304
+ augx export --target claude-code --output build/claude-rules.md
305
+ augx export --target all --dry-run
306
+ augx export --target claude-code --force # overwrite drift
307
+ augx export --target all --verbose
308
+ augx export # uses export.targets from coordination.json
309
+ ```
310
+
311
+ ### Coordination queries
312
+
313
+ #### `augx coord specs`
314
+
315
+ List all active specs from the coordination manifest.
316
+
317
+ ```bash
318
+ augx coord specs
319
+ augx coord specs --json
320
+ ```
321
+
322
+ #### `augx coord tasks <spec-id>`
323
+
324
+ List the tasks for a specific spec.
325
+
326
+ ```bash
327
+ augx coord tasks bash-coding-standards
328
+ augx coord tasks bash-coding-standards --json
329
+ ```
330
+
331
+ #### `augx coord rules <task-id>`
332
+
333
+ List the `.augment/` rules that applied while a task was in flight.
334
+
335
+ ```bash
336
+ augx coord rules bd-xplat2-1
337
+ augx coord rules bd-xplat2-1 --json
338
+ ```
339
+
340
+ #### `augx coord file <path>`
341
+
342
+ Show the coordination record for a specific file: which task created it, which tasks modified it, which specs govern it, and which rules applied.
343
+
344
+ ```bash
345
+ augx coord file cli/src/adapters/banner.ts
346
+ augx coord file cli/src/adapters/banner.ts --json
347
+ ```
348
+
349
+ ### Sync
350
+
351
+ The `sync` subcommands keep the coordination manifest current with Beads and OpenSpec without manual edits.
352
+
353
+ ```bash
354
+ augx sync beads # sync Beads tasks to coordination manifest
355
+ augx sync openspec # sync OpenSpec specs to coordination manifest
356
+ augx sync all # sync both
357
+ augx sync watch # watch for changes and auto-sync
358
+ ```
359
+
360
+ ### Catalog
361
+
362
+ The catalog command generates the CLI catalog from the on-disk module tree. This repository also maintains the curated root index in `modules.md`.
363
+
364
+ ```bash
365
+ augx catalog --output cli/MODULES.md
366
+ augx catalog --output cli/MODULES.md --check # exit 1 if out of date
367
+ augx catalog --output cli/MODULES.md --auto # update only if out of date
368
+ ```
369
+
370
+ The optional `catalog-hook` uses the default package-root `MODULES.md` path. This checkout keeps its curated root index as `modules.md`, so the hook is not installed here.
371
+
372
+ ### Rule installation
373
+
374
+ `install-rules` re-installs the character-count and em-dash management rules (and any other repo-mandated rule files) into `.augment/rules/`. Use the hook flags to keep rules current across branch switches and merges.
375
+
376
+ ```bash
377
+ augx install-rules
378
+ augx install-rules --force
379
+ augx install-rules --interactive
380
+ augx install-rules --setup-hooks --git-hook-type post-checkout
381
+ augx install-rules --setup-hooks --git-hook-type post-merge
382
+ augx install-rules --remove-hooks
383
+ ```
384
+
385
+ ### MCP server management
386
+
387
+ The `augx mcp` family configures and exercises MCP servers from the CLI.
388
+
389
+ ```bash
390
+ augx mcp list # list configured MCP servers
391
+ augx mcp list --json
392
+ augx mcp add beads python --args="-m beads_mcp" --transport stdio
393
+ augx mcp remove beads
394
+ augx mcp exec beads tasks/list # invoke a tool on a configured server
395
+ augx mcp exec beads tasks/get --args '{"id":"bd-init"}' --json
396
+ augx mcp discover beads # list tools the server exposes
397
+ augx mcp discover beads --json
398
+ augx mcp wrap beads tasks/list my-skill # generate a skill wrapper for a tool
399
+ augx mcp generate-cli beads ./generated-cli # generate a CLI from a server via mcporter
400
+ ```
401
+
402
+ HTTP transport is not yet supported, use stdio.
403
+
404
+ ### Skills
405
+
406
+ The `augx skill` family manages discoverable skills (small, addressable units of agent capability), separate from rule modules.
407
+
408
+ ```bash
409
+ augx skill list
410
+ augx skill list --category retrieval
411
+ augx skill show <skillId>
412
+ augx skill validate <skillId>
413
+ augx skill search "<query>"
414
+ augx skill exec <skillId> [args...]
415
+ augx skill inject <skillId> --max-tokens 4000
416
+ augx skill load <skillId> <skillId> --max-tokens 8000
417
+ augx skill cache-clear
418
+ augx skill cache-stats
419
+ augx skill create-mcp --name beads --description "Beads tasks" \
420
+ --category retrieval --token-budget 2000 \
421
+ --tags tasks,beads
422
+ ```
423
+
424
+ `augx skill inject` and `augx skill load` honor a token budget, so the agent's static context surface stays bounded even when several skills are active.
425
+
426
+ ### Code analysis
427
+
428
+ `augx code-analysis` (aliased `augx analyze`) runs quality, complexity, security, and dependency checks against the project tree.
429
+
430
+ ```bash
431
+ augx analyze --dir src --type quality
432
+ augx analyze --dir src --type security --severity high
433
+ augx analyze --file src/index.ts --type complexity
434
+ augx analyze --pattern "src/**/*.ts" --type patterns --format json
435
+ augx analyze --dir src --type dependencies --fix
436
+ ```
437
+
438
+ ### GUI
439
+
440
+ ```bash
441
+ augx gui # launch the interactive TUI module browser
442
+ augx gui --project "path/to/project" # choose project scope explicitly
443
+ ```
444
+
445
+ The terminal manager uses keyboard-operated Inquirer menus. Search module metadata, manage links, link valid collections, browse canonical READMEs/rules/examples/templates, or browse existing skills. Java and Spring are independently selectable: Java covers language/platform practices and Spring covers framework behavior. Agent Engineering details expose its contracts, bounded-loop/graph examples and local validator guidance as static content. Linking guidance never executes these files.
446
+
447
+ Selections affect only the displayed modules. Review the project scope and proposed changes, then apply or cancel. The menu refreshes discovery and linked state after actions, preserves pinned and unavailable entries outside the selection, and reports partial failures. Up/Down navigates, Space toggles checkboxes, Enter confirms, `a` toggles all checkboxes and `i` inverts them. Use Back/Cancel choices to return. Ctrl+C exits the menu; during a decision child it requests cancellation and retains durable accounting.
448
+
449
+ Open **Jev / TypeSafe Decision Workflow** for setup planning, explicit installation, doctor, decide, run, resume, evaluate, examples, inventory and ownership-protected removal. Installation always previews the plan first. Offline fixtures are labeled and need no provider credentials; existing valid decision configuration and a compatible optional execution runtime are still required. Live work requires explicit selection, a request budget within policy and confirmation. Credentials come from the environment. Resume accepts the exact digest from the persisted review file and keeps original budgets/deadlines. Unlinking guidance and removing software are separate actions. See [terminal workflows](cli/docs/GUI_CONFIGURATION.md) and the [Decision Layer guide](augment-extensions/workflows/decision-layer/README.md).
450
+
451
+ ### Help reference
452
+
453
+ After `augx init`, the file `.augment/COMMAND_HELP.md` is regenerated and contains the comprehensive help text for every workflow tool detected in the project (Augx, Beads, OpenSpec). Agents and humans can read it without invoking any command. It is regenerated each time `augx init` runs.
454
+
455
+ ## Cross-Platform Distribution
456
+
457
+ The cross-platform feature materializes the same module set into four AI coding tools in addition to Augment Code, through two complementary surfaces. Both are opt-in. Neither touches `.augment/` or the canonical module source.
458
+
459
+ ### Aggregated export (`augx export`)
460
+
461
+ `augx export --target <tool>` produces one file per target, containing the concatenated `rules/` content of every linked module, in alphabetical module-id order.
462
+
463
+ | Target | Output path | Format |
464
+ |---|---|---|
465
+ | `claude-code` | `CLAUDE.md` | Markdown |
466
+ | `cursor` | `.cursor/rules/augx.mdc` | Markdown with YAML frontmatter |
467
+ | `windsurf` | `.windsurfrules` | Markdown |
468
+ | `copilot` | `.github/copilot-instructions.md` | Markdown |
469
+ | `all` | all of the above | per format |
470
+
471
+ #### Banner anatomy
472
+
473
+ Every exported file starts with a five-line HTML-comment banner. For Cursor, the banner sits immediately below the required YAML frontmatter.
474
+
475
+ ```text
476
+ <!-- GENERATED BY augx export - DO NOT EDIT -->
477
+ <!-- augx-version: 3.3.0 -->
478
+ <!-- generated-at: 2026-05-25T21:13:00Z -->
479
+ <!-- source-hash: a1b2c3d4e5f60718 -->
480
+ <!-- modules: coding-standards/typescript@2.0.0, workflows/cross-platform@1.0.0 -->
481
+ ```
482
+
483
+ | Field | Meaning |
484
+ |---|---|
485
+ | `augx-version` | The version of the `augx` CLI that produced the file. |
486
+ | `generated-at` | ISO-8601 UTC timestamp, replaced only when content actually changes. |
487
+ | `source-hash` | 16 hex characters covering the canonical encoding of `{ sortedModuleIds, versions, contentDigests, ignorePatterns }`. |
488
+ | `modules` | The contributing modules in `<id>@<version>` form, alphabetical by id. |
489
+
490
+ The hash is the drift control point: the banner's recorded `source-hash` is compared against a hash recomputed from the file's current body. If they diverge, the file has been hand-edited.
491
+
492
+ #### Drift refusal (exit code 3)
493
+
494
+ If `augx export` finds the existing target file's body hash does not match the banner-recorded `source-hash`, it treats the file as hand-edited and refuses to overwrite. The export exits 3 and the file is preserved. Two resolution paths:
495
+
496
+ - Edit module sources under `augment-extensions/` and re-run `augx export`. Preferred; preserves traceability.
497
+ - Re-run with `--force`. Discards local edits.
498
+
499
+ #### `--dry-run` output
500
+
501
+ ```text
502
+ [dry-run] claude-code -> CLAUDE.md (12_345 bytes, 7 modules)
503
+ [dry-run] cursor -> .cursor/rules/augx.mdc (13_010 bytes, 7 modules)
504
+ ```
505
+
506
+ No filesystem writes. Exit 0 on success.
507
+
508
+ #### Idempotency invariants
509
+
510
+ - Modules are emitted in alphabetical order of canonical id.
511
+ - All generated files use LF line endings regardless of host OS.
512
+ - All paths in generated content are forward-slash.
513
+ - Timestamps are only refreshed when content actually changes; a re-run with no upstream changes is a byte-identical no-op (exit 0, no writes).
514
+ - Glob patterns in `export.ignore` use forward slashes and are evaluated relative to each module root.
515
+
516
+ #### Exit codes
517
+
518
+ | Code | Meaning |
519
+ |---|---|
520
+ | 0 | Success (including no-op when nothing changed) |
521
+ | 1 | Usage error (missing or unknown `--target`, `--output` with multiple targets, empty `--mirror`) |
522
+ | 2 | Resolution error (no linked modules, broken module) |
523
+ | 3 | Drift refusal (re-run with `--force` to overwrite) |
524
+ | 4 | I/O error (cannot read or write, permission denied) |
525
+
526
+ #### Safety rules
527
+
528
+ - Never writes outside the project root.
529
+ - Never follows symlinks out of `augment-extensions/` during resolution.
530
+ - The Augment Code surface (`.augment/`) is never touched.
531
+
532
+ ### Per-module mirror (`augx link --mirror`)
533
+
534
+ `augx link <module> --mirror <tool>` materializes a single module's `rules/` content into the per-module rules location of one or more tools. The aggregated `augx export` artifact and the per-module mirror artifacts never share a path; running both for the same project is supported and common.
535
+
536
+ | Target | Per-module path |
537
+ |---|---|
538
+ | `claude-code` | `.claude/rules/<module>/...` (directory, source layout preserved file-for-file) plus a one-line include stub appended to `CLAUDE.md` |
539
+ | `cursor` | `.cursor/rules/augx-<module>.mdc` (one file per module, frontmatter generated) |
540
+ | `windsurf` | `.windsurf/rules/augx-<module>.md` (one file per module) |
541
+ | `copilot` | `.github/instructions/augx-<module>.instructions.md` (one file per module) |
542
+
543
+ Module ids use forward slashes (`coding-standards/typescript`); the materializer collapses the slash to a dash when constructing the per-module segment (`coding-standards-typescript`).
544
+
545
+ The Claude Code include stub takes the form:
546
+
547
+ ```text
548
+ <!-- augx-include: .claude/rules/coding-standards-typescript/ -->
549
+ ```
550
+
551
+ #### Materialization strategy
552
+
553
+ For each rule file in the linked module:
554
+
555
+ 1. Compute the destination path under the target tool's convention.
556
+ 2. Try `symlink(source, destination)`.
557
+ 3. If `symlink` raises `EPERM`, `EACCES`, or `ENOSYS`, fall back to `copyFile(source, destination)`.
558
+ 4. Record `{ tool, sourcePath, targetPath, mode }` in `.augment/coordination.json.mirrors[<moduleId>]`, where `mode` is `"symlink"` or `"copy"`.
559
+
560
+ Subsequent invocations consult the recorded `mode` and skip the symlink attempt entirely, so there is no per-run retry storm on systems where symlink will never succeed.
561
+
562
+ #### Windows symlink-to-copy fallback
563
+
564
+ On Windows without Developer Mode, `fs.symlinkSync` raises `EPERM`. The mirror hook catches `EPERM`, `EACCES`, and `ENOSYS`, falls back to `copyFile`, records `mode: "copy"` once in `.augment/coordination.json.mirrors[<module>]`, and uses that recorded mode on every subsequent run. Users with Developer Mode enabled (or any non-Windows host) get `mode: "symlink"` recorded once and reused.
565
+
566
+ #### Idempotency and unlink reconciliation
567
+
568
+ `augx link <module> --mirror ...` is fully idempotent. On each run, the desired set of `(tool, targetPath)` tuples is reconciled against the tracked set:
569
+
570
+ - Tuples in desired AND tracked, source unchanged: left alone.
571
+ - Tuples in desired AND tracked, source changed: re-materialized.
572
+ - Tuples in desired AND not in tracked: created.
573
+ - Tuples in tracked AND not in desired (for example, a renamed source file): pruned.
574
+
575
+ `augx unlink <module>` walks the same tracked set in reverse:
576
+
577
+ 1. Tracked symlinks pointing at the recorded source are deleted.
578
+ 2. Tracked copies whose content still matches the recorded source hash are deleted.
579
+ 3. Tracked copies whose content has been hand-edited are left in place with a warning.
580
+ 4. The entire `mirrors[<module>]` entry is removed when cleanup completes.
581
+
582
+ This guarantees rename-safe, edit-preserving cleanup. User edits to mirrored files are never silently destroyed.
583
+
584
+ ### Coordination block-driven defaults
585
+
586
+ When `--target` (export) or `--mirror` (link) is omitted, `augx` consults `.augment/coordination.json.export` for defaults:
587
+
588
+ - `export.targets[]` provides the default target list for `augx export`.
589
+ - `export.mirror: true` makes `augx link` run the mirror hook for every entry in `export.targets[]` without requiring `--mirror`.
590
+ - `export.ignore[]` provides glob patterns excluded from aggregation; defaults to `["**/examples/**"]`.
591
+
592
+ ```bash
593
+ augx export # uses export.targets
594
+ augx link coding-standards/typescript # mirrors when export.mirror is true
595
+ ```
596
+
597
+ ## Coordination Manifest Schema
598
+
599
+ `.augment/coordination.json` is the structural map of the repository. It is written and read by the CLI; manual edits are tolerated but the CLI may overwrite top-level blocks it owns (`mirrors`). Unknown top-level keys are preserved on round-trip.
600
+
601
+ Annotated example:
602
+
603
+ ```json
604
+ {
605
+ "version": "1.0.0",
606
+ "lastUpdated": "2026-05-25T21:13:00Z",
607
+
608
+ "specs": {
609
+ "bash-coding-standards": {
610
+ "path": "openspec/changes/bash-coding-standards/proposal.md",
611
+ "status": "active",
612
+ "relatedTasks": ["bd-0bqd", "bd-0bqd.2"],
613
+ "relatedRules": [
614
+ "module-development.md",
615
+ "character-count-management.md"
616
+ ],
617
+ "affectedFiles": [
618
+ "openspec/changes/bash-coding-standards/**/*",
619
+ "augment-extensions/coding-standards/bash/**/*",
620
+ ".augment/coordination.json"
621
+ ],
622
+ "dependencies": []
623
+ }
624
+ },
625
+
626
+ "tasks": {
627
+ "bd-xplat2-1": {
628
+ "specs": ["cross-platform/export-command"],
629
+ "rulesApplied": ["module-development.md", "no-em-dash.md"]
630
+ }
631
+ },
632
+
633
+ "rules": {
634
+ "no-em-dash.md": {
635
+ "appliedBy": ["bd-xplat1-3", "bd-xplat2-1"]
636
+ }
637
+ },
638
+
639
+ "files": {
640
+ "cli/src/adapters/banner.ts": {
641
+ "createdBy": "bd-xplat1-3",
642
+ "modifiedBy": ["bd-xplat2-6", "bd-xplat4-2"],
643
+ "governedBy": [
644
+ "cross-platform/export-command",
645
+ "cross-platform/mcp-template"
646
+ ],
647
+ "rulesApplied": ["module-development.md", "no-em-dash.md"]
648
+ }
649
+ },
650
+
651
+ "export": {
652
+ "targets": ["claude-code", "cursor"],
653
+ "ignore": ["**/examples/**", "**/CHANGELOG.md"],
654
+ "mirror": true
655
+ },
656
+
657
+ "mirrors": {
658
+ "coding-standards/typescript": [
659
+ {
660
+ "tool": "cursor",
661
+ "sourcePath": "augment-extensions/coding-standards/typescript/rules/naming-conventions.md",
662
+ "targetPath": ".cursor/rules/augx-coding-standards-typescript.mdc",
663
+ "mode": "symlink"
664
+ }
665
+ ]
666
+ }
667
+ }
668
+ ```
669
+
670
+ | Block | Owner | Purpose |
671
+ |---|---|---|
672
+ | `specs` | OpenSpec sync / manual | Active and archived specs with their related tasks, rules, and file globs. |
673
+ | `tasks` | Beads sync / manual | Task records keyed by Beads id, with the specs and rules each task touched. |
674
+ | `rules` | manual | `.augment/rules/*.md` files with their applying tasks. |
675
+ | `files` | manual | Working-tree files with creator/modifier task ids, governing specs, and applied rules. |
676
+ | `export` | manual | Defaults for `augx export` and `augx link --mirror`. Optional. |
677
+ | `mirrors` | CLI | Tracked materialization log for `augx link --mirror`. Do not hand-edit. Cleared by `augx unlink`. |
678
+
679
+ Loader rules per the spec:
680
+
681
+ - Loaders MUST treat missing keys as `undefined`.
682
+ - Loaders MUST preserve unknown top-level keys when round-tripping.
683
+ - Writers serialize keys in alphabetical order at each object level.
684
+ - Files end with a trailing newline, two-space indentation, LF line endings.
685
+
686
+ ## MCP Integration
687
+
688
+ The repository treats live task state as something the agent should fetch from a Model Context Protocol server, not parse out of a static rules file. Two configuration surfaces are recognized:
689
+
690
+ - `.vscode/mcp.json` - the VS Code / Augment Code MCP configuration file.
691
+ - `.augment/mcp/servers.json` - the CLI-managed MCP configuration file.
692
+
693
+ Example `.vscode/mcp.json` declaring the Beads MCP server:
694
+
695
+ ```json
696
+ {
697
+ "mcpServers": {
698
+ "beads": {
699
+ "command": "python",
700
+ "args": ["-m", "beads_mcp"],
701
+ "env": {
702
+ "BEADS_DIR": "${workspaceFolder}/.beads"
703
+ }
704
+ }
705
+ }
706
+ }
707
+ ```
708
+
709
+ ### MCP-first task-context contract
710
+
711
+ Exported artifacts NEVER embed live task data: no `bd-` IDs, no statuses, no dependency snapshots, no endpoint URLs. This is enforced by construction. When the project declares an MCP server with id `beads` in either of the two configuration files above, `augx export` inlines a single tool-agnostic snippet (loaded from `augment-extensions/workflows/mcp/templates/beads.md`) directly after the banner. The snippet:
712
+
713
+ - Names the `beads` server and tells the consuming agent to query it for live task state.
714
+ - Lists the public operations: `tasks/list`, `tasks/get`, `dependencies/list`, `status/get`.
715
+ - References `augment-extensions/workflows/beads/` for the day-to-day command guide.
716
+ - Contains no IDs, statuses, secrets, or endpoint URLs.
717
+
718
+ When neither configuration file declares the `beads` server, the snippet is omitted entirely. Exported files remain static guidance; task state is fetched on demand.
719
+
720
+ This separation is intentional. The static surface stays small and stable. The volatile surface (open tasks, blockers, dependency graph) is queried from the server when the agent actually needs it. Stale task data never leaks into rule surfaces.
721
+
722
+ ### Installing the Beads MCP server
723
+
724
+ ```bash
725
+ pipx install beads-mcp
726
+ # or
727
+ pip install beads-mcp
728
+
729
+ python -m beads_mcp --version
730
+ ```
731
+
732
+ Once installed and declared in `.vscode/mcp.json`, the Augment Code agent connects to the server automatically. `augx mcp list`, `augx mcp discover`, and `augx mcp exec` exercise the server from the command line.
733
+
734
+ ## OpenSpec Integration
735
+
736
+ The repository uses OpenSpec for spec-driven development. Architectural changes start as a proposal, become a set of spec deltas, decompose into Beads tasks, and archive when complete.
737
+
738
+ ### Workflow
739
+
740
+ 1. **Draft proposal.** Create `openspec/changes/<change-name>/proposal.md` with motivation, scope, and acceptance criteria.
741
+ 2. **Draft spec deltas.** Create `openspec/changes/<change-name>/specs/*.md` describing ADDED / MODIFIED / REMOVED sections relative to the source-of-truth specs in `openspec/specs/`.
742
+ 3. **Break down into tasks.** Create `openspec/changes/<change-name>/tasks.md`. Each task corresponds to a Beads issue with a `bd-` id.
743
+ 4. **Implement.** Each commit references the relevant task id. `augx sync beads` and `augx sync openspec` keep `.augment/coordination.json` current.
744
+ 5. **Archive.** When all tasks close, move `openspec/changes/<change-name>/` to `openspec/archive/<change-name>/`.
745
+
746
+ ### Layout
747
+
748
+ ```
749
+ openspec/
750
+ โ”œโ”€โ”€ project-context.md # Project overview and architecture
751
+ โ”œโ”€โ”€ specs/ # Source-of-truth canonical specs
752
+ โ”‚ โ”œโ”€โ”€ cross-platform/ # export-command, mirror-hook, ...
753
+ โ”‚ โ”œโ”€โ”€ beads/ # naming-convention, ...
754
+ โ”‚ โ”œโ”€โ”€ coding-standards/
755
+ โ”‚ โ””โ”€โ”€ augment-config/
756
+ โ”œโ”€โ”€ changes/ # Active proposals (deltas)
757
+ โ””โ”€โ”€ archive/ # Completed proposals
758
+ ```
759
+
760
+ Canonical cross-platform specs live under `openspec/specs/cross-platform/`:
761
+
762
+ - `export-command.md` - grammar, flags, exit codes, drift detection.
763
+ - `mirror-hook.md` - materialization strategy, idempotency, unlink cleanup.
764
+ - `coordination-export-block.md` - schema for the `export` and `mirrors` keys.
765
+ - `mcp-template.md` - canonical Beads MCP snippet contract.
766
+
767
+ ## Beads Integration
768
+
769
+ The repository uses Beads for task tracking. Beads is an append-only JSONL log under `.beads/` with a SQLite cache for queries.
770
+
771
+ ### Workflow
772
+
773
+ 1. **Create task.** Append a JSON record to `.beads/issues.jsonl` (or run `bd create "<title>"`).
774
+ 2. **Track dependencies.** Use `blocks` and `blocked_by` fields.
775
+ 3. **Find ready tasks.** Tasks whose status is `open` and whose blockers are all closed.
776
+ 4. **Work on task.** Update status to `in_progress`, add comments referencing commits.
777
+ 5. **Close task.** Update status to `closed` with a close reason.
778
+
779
+ ### Status lifecycle
780
+
781
+ | Status | Meaning |
782
+ |---|---|
783
+ | `open` | Created, not yet started. |
784
+ | `in_progress` | Actively being worked on. |
785
+ | `blocked` | Waiting on another task or external dependency. |
786
+ | `closed` | Complete. |
787
+
788
+ ### Issue ID naming convention
789
+
790
+ All Beads issue IDs in this project use the `bd-` prefix.
791
+
792
+ | Form | Pattern | Examples |
793
+ |---|---|---|
794
+ | Standard hash | `bd-<hash>` | `bd-a1b2`, `bd-c3d4` |
795
+ | Named | `bd-<name>` | `bd-init`, `bd-rename1` |
796
+ | Hierarchical (dot) | `bd-<hash>.<number>` | `bd-a1b2.1`, `bd-a1b2.1.1` |
797
+ | Hierarchical (dash) | `bd-<name>-<number>` | `bd-rename1-1`, `bd-prefix1-1` |
798
+
799
+ The full normative specification is `openspec/specs/beads/naming-convention.md`. Invalid prefixes are rejected by the validator at `scripts/validate-beads-prefix.ps1`.
800
+
801
+ ### Sync with the coordination manifest
802
+
803
+ ```bash
804
+ augx sync beads # mirror current Beads tasks into coordination.json
805
+ augx sync openspec # mirror current OpenSpec specs into coordination.json
806
+ augx sync all
807
+ augx sync watch # auto-sync on change
808
+ ```
809
+
810
+ `bd sync` (provided by the Beads CLI) handles the upstream JSONL log; the Augx sync subcommands handle the downstream coordination map.
811
+
812
+ ## Authoring Modules
813
+
814
+ A module is the unit of distribution. Each module is self-contained, versioned, and addressable by canonical id.
815
+
816
+ ### Anatomy
817
+
818
+ ```
819
+ augment-extensions/<category>/<module-name>/
820
+ โ”œโ”€โ”€ module.json # Required: metadata, version, dependencies
821
+ โ”œโ”€โ”€ README.md # Required: module overview
822
+ โ”œโ”€โ”€ rules/ # Required: Markdown guidance files
823
+ โ”‚ โ”œโ”€โ”€ <rule-1>.md
824
+ โ”‚ โ””โ”€โ”€ <rule-2>.md
825
+ โ”œโ”€โ”€ examples/ # Optional: worked code examples
826
+ โ””โ”€โ”€ CHANGELOG.md # Optional but encouraged
827
+ ```
828
+
829
+ ### `module.json` schema
830
+
831
+ ```json
832
+ {
833
+ "id": "coding-standards/typescript",
834
+ "name": "TypeScript Standards",
835
+ "version": "2.0.0",
836
+ "category": "coding-standards",
837
+ "description": "TypeScript coding conventions, type safety, and module structure.",
838
+ "rules": ["rules/naming-conventions.md", "rules/type-safety.md"],
839
+ "dependencies": [],
840
+ "tags": ["typescript", "language"]
841
+ }
842
+ ```
843
+
844
+ | Field | Required | Notes |
845
+ |---|---|---|
846
+ | `id` | yes | Canonical id, `<category>/<name>` form, forward-slash. |
847
+ | `version` | yes | Semver. |
848
+ | `category` | yes | One of `coding-standards`, `domain-rules`, `workflows`, `examples`. |
849
+ | `rules` | yes | Ordered list of relative paths to `.md` files. |
850
+ | `dependencies` | no | Other module ids this module needs. |
851
+ | `tags` | no | Free-form search tags. |
852
+
853
+ ### Authoring guidance
854
+
855
+ - Keep each rule file focused on a single concept. Smaller files compose better in aggregated exports.
856
+ - Use plain Markdown. Avoid HTML except for the comment-banner pattern.
857
+ - Reference other modules by canonical id, never by relative path. The materializer rewrites paths as needed.
858
+ - No em-dashes anywhere in module content. The `no-em-dash.md` rule applies to module sources as well as agent output.
859
+ - Run `augx validate <module>` before committing.
860
+
861
+ ### Versioning
862
+
863
+ - Patch: typo fixes, formatting, non-normative edits.
864
+ - Minor: new rule files or expanded guidance that preserves prior behavior.
865
+ - Major: removed rules, renamed canonical ids, or guidance that contradicts a prior major.
866
+
867
+ This checkout keeps a curated root index at `modules.md` and a generated CLI catalog at `cli/MODULES.md`. Regenerate or check the CLI catalog with `augx catalog --output cli/MODULES.md` or `augx catalog --output cli/MODULES.md --check`. The optional `catalog-hook` uses the package-root `MODULES.md` default and is not installed here.
868
+
869
+ ## Operability
870
+
871
+ ### Character-count discipline
872
+
873
+ The `.augment/` directory has a hard target of 48,599 - 49,299 characters. The rule file `.augment/rules/character-count-management.md` is installed by `augx init` and pinned by `augx install-rules`. The verification command is:
874
+
875
+ ```powershell
876
+ Get-ChildItem -Path ".augment" -Recurse -File |
877
+ Get-Content -Raw |
878
+ Measure-Object -Character |
879
+ Select-Object -ExpandProperty Characters
880
+ ```
881
+
882
+ When the total exceeds the target, the priority order is: condense examples, then remove low-value examples, then reduce redundancy, then streamline language. Core requirements and validation rules are never removed.
883
+
884
+ ### No em-dashes
885
+
886
+ The repository's `no-em-dash.md` rule forbids the em-dash character in all generated text, code, and documentation, including this README. Use `-` or `--` instead. Em-dashes cause encoding and copy-paste issues in terminals and cross-platform tooling.
887
+
888
+ ### Testing
889
+
890
+ Unit and integration tests live under `tests/`, `__tests__/`, and the CLI's own `cli/src/__tests__/`. Vitest is the primary runner.
891
+
892
+ ```bash
893
+ npm test # full suite
894
+ npm run test:unit # unit tests only
895
+ npm run test:integration # integration tests
896
+ npm run test:coverage # with coverage
897
+ ```
898
+
899
+ Cross-platform-specific suites:
900
+
901
+ - `tests/export-e2e.test.ts` - end-to-end `augx export` runs.
902
+ - `tests/drift-detection.test.ts` - hash-based drift refusal.
903
+ - `tests/dry-run.test.ts` - `--dry-run` writes nothing.
904
+ - `tests/mirror-idempotent.test.ts` - mirror is idempotent across runs.
905
+ - `tests/mirror-symlink-fallback.test.ts` - Windows EPERM fallback.
906
+ - `tests/source-hash.test.ts` - canonical hash properties.
907
+ - `tests/tool-parse.test.ts` - `--target` and `--mirror` parsing.
908
+
909
+ ### Logging and debugging
910
+
911
+ Most commands accept `--verbose` for structured trace output. `augx export --verbose` prints per-target hash computations and the resolved module set. `augx link --verbose --mirror cursor` prints each materialization decision and the fallback mode chosen.
912
+
913
+ ## Project Layout
914
+
915
+ ```
916
+ augment-extensions/
917
+ โ”œโ”€โ”€ augment-extensions/ # Module source tree (modules live here)
918
+ โ”‚ โ”œโ”€โ”€ coding-standards/
919
+ โ”‚ โ”œโ”€โ”€ domain-rules/
920
+ โ”‚ โ”œโ”€โ”€ workflows/
921
+ โ”‚ โ”œโ”€โ”€ examples/
922
+ โ”‚ โ”œโ”€โ”€ skills/
923
+ โ”‚ โ””โ”€โ”€ visual-design/
924
+ โ”œโ”€โ”€ cli/ # The augx CLI (TypeScript)
925
+ โ”‚ โ”œโ”€โ”€ src/
926
+ โ”‚ โ”œโ”€โ”€ config/
927
+ โ”‚ โ””โ”€โ”€ MODULES.md # Generated catalog
928
+ โ”œโ”€โ”€ openspec/ # Spec-driven development
929
+ โ”‚ โ”œโ”€โ”€ specs/ # Canonical specs
930
+ โ”‚ โ”œโ”€โ”€ changes/ # Active proposals
931
+ โ”‚ โ””โ”€โ”€ archive/ # Completed proposals
932
+ โ”œโ”€โ”€ .beads/ # Beads task tracker (JSONL log)
933
+ โ”œโ”€โ”€ .augment/ # Augment Code rules and coordination
934
+ โ”‚ โ”œโ”€โ”€ rules/
935
+ โ”‚ โ”œโ”€โ”€ coordination.json
936
+ โ”‚ โ””โ”€โ”€ extensions.json
937
+ โ”œโ”€โ”€ .vscode/ # VS Code / Augment Code MCP config
938
+ โ”‚ โ””โ”€โ”€ mcp.json
939
+ โ”œโ”€โ”€ tests/ # Cross-platform test suites
940
+ โ”œโ”€โ”€ docs/ # Operator-facing documentation
941
+ โ””โ”€โ”€ scripts/ # Repository automation
942
+ ```
943
+
944
+ ## Module Catalog
945
+
946
+ The curated root index is `modules.md`. The generated CLI catalog is `cli/MODULES.md`; regenerate or check it with `augx catalog --output cli/MODULES.md` and `augx catalog --output cli/MODULES.md --check`. A representative slice of what ships today:
947
+
948
+ ### coding-standards
949
+
950
+ `bash`, `c`, `css`, `go`, `html`, `html-css-js`, `java`, `javascript`, `perl`, `php`, `powershell`, `python`, `q-sharp`, `react`, `spring`, `typescript`.
951
+
952
+ ### domain-rules
953
+
954
+ `api-design`, `database`, `design`, `mcp`, `security`, `seo-sales-marketing`, `software-architecture`, `wordpress`, `wordpress-plugin`, plus the sibling `visual-design/` tree of vendor and domain palettes.
955
+
956
+ ### workflows
957
+
958
+ `adr-support`, `beads`, `cross-platform`, `database`, `mcp`, `openspec`, `wordpress-plugin`.
959
+
960
+ ### examples
961
+
962
+ `design-patterns`, `gutenberg-block-plugin`, `rest-api-plugin`, `woocommerce-extension`.
963
+
964
+ ### skills
965
+
966
+ The `augment-extensions/skills/` tree and the top-level `skills/` tree contain reusable agent skills, addressable through `augx skill`. Categories include `analysis`, `generation`, `integration`, `retrieval`, `transformation`, and `utility`.
967
+
968
+ For the authoritative, up-to-the-commit list, run:
969
+
970
+ ```bash
971
+ augx list
972
+ augx list --json
973
+ ```
974
+
975
+ ## Per-Tool Consumer Notes
976
+
977
+ How the agent in each tool actually sees the materialized rules.
978
+
979
+ ### Augment Code
980
+
981
+ - Reads `.augment/` (rules, coordination, extensions).
982
+ - Source of truth for `coordination.json`.
983
+ - Subject to the character-count rule. Volume control: prefer skills and MCP for volatile or large-volume context.
984
+
985
+ ### Claude Code
986
+
987
+ - Aggregated export target: `CLAUDE.md`.
988
+ - Per-module mirror target: `.claude/rules/<module>/...` plus include stubs appended to `CLAUDE.md`.
989
+ - The include-stub convention keeps `CLAUDE.md` itself small while still surfacing per-module content.
990
+
991
+ ### Cursor
992
+
993
+ - Aggregated export target: `.cursor/rules/augx.mdc`.
994
+ - Per-module mirror target: `.cursor/rules/augx-<module>.mdc`.
995
+ - Frontmatter is generated. Hand-editing the body invalidates the banner hash and triggers drift refusal on next export.
996
+
997
+ ### Windsurf
998
+
999
+ - Aggregated export target: `.windsurfrules`.
1000
+ - Per-module mirror target: `.windsurf/rules/augx-<module>.md`.
1001
+
1002
+ ### GitHub Copilot
1003
+
1004
+ - Aggregated export target: `.github/copilot-instructions.md`.
1005
+ - Per-module mirror target: `.github/instructions/augx-<module>.instructions.md`.
1006
+
1007
+ For any of the four, the rule for agents reading exported files is identical: treat content between banner and footer as canonical static guidance, query the Beads MCP server for live task state, never hand-edit (changes are overwritten on next export).
1008
+
1009
+ ## Contributing
1010
+
1011
+ See [CONTRIBUTING.md](./CONTRIBUTING.md) and [AGENTS.md](./AGENTS.md) for the full workflow. The short form:
1012
+
1013
+ 1. Discuss substantial changes as an OpenSpec proposal under `openspec/changes/<change-name>/`.
1014
+ 2. Decompose into Beads tasks with `bd-` prefixed ids. Append to `.beads/issues.jsonl`.
1015
+ 3. Implement the work, referencing the task id in each commit.
1016
+ 4. Run `npm test`, `augx validate <module>` for any touched modules, and `augx catalog --output cli/MODULES.md --check`.
1017
+ 5. Run `augx export --target all --dry-run` to confirm no unintended drift.
1018
+ 6. Open a PR with a description that links the proposal and the closing task ids.
1019
+
1020
+ Branch and commit-message conventions live in `CONTRIBUTING.md`. The `Landing the Plane` section in `AGENTS.md` describes the mandatory session-close workflow for any AI agent contributing work.
1021
+
1022
+ <a id="about-mytech-today"></a>
1023
+ ## About myTech.Today
1024
+
1025
+ <table role="presentation">
1026
+ <tr>
1027
+ <td width="50%" valign="top">
1028
+ <h3>๐Ÿ› ๏ธ Our Services</h3>
1029
+ <ul>
1030
+ <li>IT Consulting and Support</li>
1031
+ <li>Custom PowerShell Automation and Scripting</li>
1032
+ <li>Infrastructure Optimization and System Administration</li>
1033
+ <li>Cloud Integration (Azure, AWS, GCS, Microsoft 365)</li>
1034
+ <li>Network Design and Management</li>
1035
+ <li>Cybersecurity and Compliance Solutions</li>
1036
+ <li>Database Management and Custom Development</li>
1037
+ <li>System Setup, Upgrades, and Troubleshooting</li>
1038
+ <li>Virus and Spyware Removal</li>
1039
+ <li>Hardware Procurement, Installation, and Configuration</li>
1040
+ </ul>
1041
+ <h3>๐Ÿ“ Service Area</h3>
1042
+ <ul>
1043
+ <li>Omaha, NE</li>
1044
+ <li>Lincoln, NE</li>
1045
+ </ul>
1046
+ </td>
1047
+ <td width="50%" valign="top">
1048
+ <h3>โญ Why Choose myTech.Today?</h3>
1049
+ <ul>
1050
+ <li>20+ years of IT consulting and software development experience</li>
1051
+ <li>Personalized service to 190+ satisfied clients</li>
1052
+ <li>5-star review rating with consistent 24-hour solution delivery</li>
1053
+ <li>Payment-upon-success terms available</li>
1054
+ <li>Expertise in Windows automation, PowerShell scripting, and system optimization</li>
1055
+ </ul>
1056
+ <h3>๐Ÿ“ฌ Contact Information</h3>
1057
+ <table>
1058
+ <tr><th scope="row">๐Ÿ“ง Email</th><td><a href="mailto:sales@mytech.today">sales@mytech.today</a></td></tr>
1059
+ <tr><th scope="row">๐ŸŒ Website</th><td><a href="https://mytech.today">mytech.today</a></td></tr>
1060
+ <tr><th scope="row">๐Ÿ’ป GitHub</th><td><a href="https://github.com/mytech-today-now">@mytech-today-now</a></td></tr>
1061
+ <tr><th scope="row">๐Ÿ”— LinkedIn</th><td><a href="https://linkedin.com/in/kylerode">linkedin.com/in/kylerode</a></td></tr>
1062
+ </table>
1063
+ </td>
1064
+ </tr>
1065
+ </table>
1066
+
1067
+ <table role="presentation">
1068
+ <tr>
1069
+ <td colspan="2" align="center">
1070
+ <sub><strong>myTech.Today</strong> ยท Professional IT Services ยท Serving Omaha and Lincoln ยท <a href="https://mytech.today">mytech.today</a></sub>
1071
+ </td>
1072
+ </tr>
1073
+ </table>
47
1074
 
48
- | Command | Description |
49
- |---------|-------------|
50
- | `augx init` | Initialize in a project |
51
- | `augx link <module>` | Link a module to the current project |
52
- | `augx list` | List all available modules |
53
- | `augx show <module>` | Display module content |
54
- | `augx search <term>` | Search modules by keyword |
55
- | `augx gui` | Interactive TUI module browser |
56
- | `augx upgrade` | Upgrade linked modules to latest |
57
- | `augx validate` | Validate module structure |
1075
+ The canonical company profile is maintained in [docs/company-profile.md](./docs/company-profile.md). Keep it aligned with this public profile and the npm package author metadata.
58
1076
 
59
- ## ๐Ÿ“„ License
1077
+ ## License
60
1078
 
61
- MIT โ€” see [LICENSE](./LICENSE)
1079
+ MIT. See [LICENSE](./LICENSE).