@mytechtoday/augment-extensions 1.4.0 → 1.5.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 (307) hide show
  1. package/augment-extensions/coding-standards/c/CHANGELOG.md +55 -0
  2. package/augment-extensions/coding-standards/c/LICENSE +22 -0
  3. package/augment-extensions/coding-standards/c/README.md +167 -0
  4. package/augment-extensions/coding-standards/c/config/defaults.json +26 -0
  5. package/augment-extensions/coding-standards/c/config/examples/embedded.yaml +25 -0
  6. package/augment-extensions/coding-standards/c/config/examples/systems.json +31 -0
  7. package/augment-extensions/coding-standards/c/config/schema.json +244 -0
  8. package/augment-extensions/coding-standards/c/docs/API.md +613 -0
  9. package/augment-extensions/coding-standards/c/docs/CONFIGURATION.md +259 -0
  10. package/augment-extensions/coding-standards/c/docs/USER_GUIDE.md +567 -0
  11. package/augment-extensions/coding-standards/c/examples/drivers/Makefile +33 -0
  12. package/augment-extensions/coding-standards/c/examples/drivers/README.md +192 -0
  13. package/augment-extensions/coding-standards/c/examples/drivers/dma-example.c +224 -0
  14. package/augment-extensions/coding-standards/c/examples/drivers/example.dts +64 -0
  15. package/augment-extensions/coding-standards/c/examples/drivers/platform-driver.c +174 -0
  16. package/augment-extensions/coding-standards/c/examples/embedded/README.md +167 -0
  17. package/augment-extensions/coding-standards/c/examples/embedded/gpio-control.c +172 -0
  18. package/augment-extensions/coding-standards/c/examples/embedded/timer-isr.c +198 -0
  19. package/augment-extensions/coding-standards/c/examples/embedded/uart-communication.c +212 -0
  20. package/augment-extensions/coding-standards/c/examples/kernel/Makefile +82 -0
  21. package/augment-extensions/coding-standards/c/examples/kernel/README.md +168 -0
  22. package/augment-extensions/coding-standards/c/examples/kernel/char-device.c +198 -0
  23. package/augment-extensions/coding-standards/c/examples/kernel/proc-file.c +131 -0
  24. package/augment-extensions/coding-standards/c/examples/kernel/simple-module.c +111 -0
  25. package/augment-extensions/coding-standards/c/examples/legacy/Makefile +62 -0
  26. package/augment-extensions/coding-standards/c/examples/legacy/README.md +255 -0
  27. package/augment-extensions/coding-standards/c/examples/legacy/c89-to-c11-migration.c +268 -0
  28. package/augment-extensions/coding-standards/c/examples/legacy/compatibility-layer.c +239 -0
  29. package/augment-extensions/coding-standards/c/examples/networking/Makefile +35 -0
  30. package/augment-extensions/coding-standards/c/examples/networking/README.md +207 -0
  31. package/augment-extensions/coding-standards/c/examples/networking/protocol-parser.c +270 -0
  32. package/augment-extensions/coding-standards/c/examples/networking/tcp-server.c +197 -0
  33. package/augment-extensions/coding-standards/c/examples/networking/udp-multicast.c +220 -0
  34. package/augment-extensions/coding-standards/c/examples/realtime/Makefile +53 -0
  35. package/augment-extensions/coding-standards/c/examples/realtime/README.md +199 -0
  36. package/augment-extensions/coding-standards/c/examples/realtime/deadline-monitoring.c +260 -0
  37. package/augment-extensions/coding-standards/c/examples/realtime/priority-scheduling.c +258 -0
  38. package/augment-extensions/coding-standards/c/examples/systems/Makefile +34 -0
  39. package/augment-extensions/coding-standards/c/examples/systems/README.md +123 -0
  40. package/augment-extensions/coding-standards/c/examples/systems/ipc-pipes.c +181 -0
  41. package/augment-extensions/coding-standards/c/examples/systems/process-management.c +153 -0
  42. package/augment-extensions/coding-standards/c/examples/systems/signal-handling.c +162 -0
  43. package/augment-extensions/coding-standards/c/module.json +149 -0
  44. package/augment-extensions/coding-standards/c/rules/categories/drivers.md +635 -0
  45. package/augment-extensions/coding-standards/c/rules/categories/embedded.md +510 -0
  46. package/augment-extensions/coding-standards/c/rules/categories/kernel.md +653 -0
  47. package/augment-extensions/coding-standards/c/rules/categories/legacy.md +526 -0
  48. package/augment-extensions/coding-standards/c/rules/categories/networking.md +735 -0
  49. package/augment-extensions/coding-standards/c/rules/categories/realtime.md +631 -0
  50. package/augment-extensions/coding-standards/c/rules/categories/systems.md +586 -0
  51. package/augment-extensions/coding-standards/c/rules/universal/const-correctness.md +275 -0
  52. package/augment-extensions/coding-standards/c/rules/universal/documentation.md +251 -0
  53. package/augment-extensions/coding-standards/c/rules/universal/error-handling.md +250 -0
  54. package/augment-extensions/coding-standards/c/rules/universal/header-guards.md +254 -0
  55. package/augment-extensions/coding-standards/c/rules/universal/memory-safety.md +233 -0
  56. package/augment-extensions/coding-standards/c/rules/universal/naming.md +146 -0
  57. package/augment-extensions/coding-standards/c/src/conflict-detector.ts +461 -0
  58. package/augment-extensions/coding-standards/c/src/prompt-generator.ts +307 -0
  59. package/augment-extensions/coding-standards/c/src/rule-evaluator.ts +307 -0
  60. package/augment-extensions/coding-standards/c/src/rule-override.ts +427 -0
  61. package/augment-extensions/coding-standards/c/src/template-engine.ts +217 -0
  62. package/augment-extensions/coding-standards/c/templates/prompts/drivers.txt +191 -0
  63. package/augment-extensions/coding-standards/c/templates/prompts/embedded.txt +164 -0
  64. package/augment-extensions/coding-standards/c/templates/prompts/kernel.txt +175 -0
  65. package/augment-extensions/coding-standards/c/templates/prompts/legacy.txt +280 -0
  66. package/augment-extensions/coding-standards/c/templates/prompts/networking.txt +259 -0
  67. package/augment-extensions/coding-standards/c/templates/prompts/realtime.txt +219 -0
  68. package/augment-extensions/coding-standards/c/templates/prompts/systems.txt +147 -0
  69. package/augment-extensions/coding-standards/c/tests/integration/category-specific.test.ts +356 -0
  70. package/augment-extensions/coding-standards/c/tests/integration/end-to-end-workflow.test.ts +377 -0
  71. package/augment-extensions/coding-standards/c/tests/performance/benchmarks.test.ts +407 -0
  72. package/augment-extensions/coding-standards/c/tests/unit/config-manager.test.ts +345 -0
  73. package/augment-extensions/coding-standards/c/tests/unit/conflict-detector.test.ts +294 -0
  74. package/augment-extensions/coding-standards/c/tests/unit/prompt-generator.test.ts +174 -0
  75. package/augment-extensions/coding-standards/c/tests/unit/registry.test.ts +313 -0
  76. package/augment-extensions/coding-standards/c/tests/unit/rule-evaluator.test.ts +318 -0
  77. package/augment-extensions/coding-standards/c/tests/unit/rule-override.test.ts +326 -0
  78. package/augment-extensions/coding-standards/c/tests/unit/template-engine.test.ts +314 -0
  79. package/augment-extensions/coding-standards/go/CHARACTER-COUNT-REPORT.md +135 -0
  80. package/augment-extensions/coding-standards/go/PHASE1-COMPLETION.md +146 -0
  81. package/augment-extensions/coding-standards/go/PHASE4-COMPLETION.md +184 -0
  82. package/augment-extensions/coding-standards/go/README.md +200 -0
  83. package/augment-extensions/coding-standards/go/VALIDATION-CHECKLIST.md +154 -0
  84. package/augment-extensions/coding-standards/go/config/examples/example-cli.json +15 -0
  85. package/augment-extensions/coding-standards/go/config/examples/example-microservices.json +21 -0
  86. package/augment-extensions/coding-standards/go/config/examples/example-multi-category.yaml +24 -0
  87. package/augment-extensions/coding-standards/go/config/examples/example-web.json +15 -0
  88. package/augment-extensions/coding-standards/go/config/schema.json +110 -0
  89. package/augment-extensions/coding-standards/go/docs/CATEGORIES.md +221 -0
  90. package/augment-extensions/coding-standards/go/docs/CONFIGURATION.md +198 -0
  91. package/augment-extensions/coding-standards/go/docs/TROUBLESHOOTING.md +285 -0
  92. package/augment-extensions/coding-standards/go/examples/cli/cobra-app.go +287 -0
  93. package/augment-extensions/coding-standards/go/examples/cloud-native-app.go +217 -0
  94. package/augment-extensions/coding-standards/go/examples/devops-tool.go +250 -0
  95. package/augment-extensions/coding-standards/go/examples/distributed-system.go +247 -0
  96. package/augment-extensions/coding-standards/go/examples/microservices/grpc-service.go +253 -0
  97. package/augment-extensions/coding-standards/go/examples/rest-api.go +270 -0
  98. package/augment-extensions/coding-standards/go/examples/web/http-server.go +224 -0
  99. package/augment-extensions/coding-standards/go/module.json +139 -0
  100. package/augment-extensions/coding-standards/go/rules/categories/api-development/api-versioning.md +149 -0
  101. package/augment-extensions/coding-standards/go/rules/categories/api-development/rate-limiting.md +209 -0
  102. package/augment-extensions/coding-standards/go/rules/categories/api-development/rest-api-design.md +183 -0
  103. package/augment-extensions/coding-standards/go/rules/categories/cloud-native/cloud-config.md +193 -0
  104. package/augment-extensions/coding-standards/go/rules/categories/cloud-native/health-checks.md +231 -0
  105. package/augment-extensions/coding-standards/go/rules/categories/cloud-native/kubernetes.md +180 -0
  106. package/augment-extensions/coding-standards/go/rules/categories/devops-tooling/automation.md +179 -0
  107. package/augment-extensions/coding-standards/go/rules/categories/devops-tooling/ci-cd-integration.md +147 -0
  108. package/augment-extensions/coding-standards/go/rules/categories/devops-tooling/infrastructure-as-code.md +231 -0
  109. package/augment-extensions/coding-standards/go/rules/categories/distributed-systems/caching.md +150 -0
  110. package/augment-extensions/coding-standards/go/rules/categories/distributed-systems/consensus.md +187 -0
  111. package/augment-extensions/coding-standards/go/rules/categories/distributed-systems/event-sourcing.md +246 -0
  112. package/augment-extensions/coding-standards/go/rules/cli/command-parsing.md +264 -0
  113. package/augment-extensions/coding-standards/go/rules/cli/configuration.md +268 -0
  114. package/augment-extensions/coding-standards/go/rules/cli/cross-platform.md +324 -0
  115. package/augment-extensions/coding-standards/go/rules/microservices/distributed-tracing.md +253 -0
  116. package/augment-extensions/coding-standards/go/rules/microservices/grpc.md +257 -0
  117. package/augment-extensions/coding-standards/go/rules/microservices/metrics.md +278 -0
  118. package/augment-extensions/coding-standards/go/rules/microservices/service-discovery.md +249 -0
  119. package/augment-extensions/coding-standards/go/rules/universal/code-organization.md +221 -0
  120. package/augment-extensions/coding-standards/go/rules/universal/documentation.md +269 -0
  121. package/augment-extensions/coding-standards/go/rules/universal/performance.md +323 -0
  122. package/augment-extensions/coding-standards/go/rules/universal/testing.md +162 -0
  123. package/augment-extensions/coding-standards/go/rules/web/graceful-shutdown.md +249 -0
  124. package/augment-extensions/coding-standards/go/rules/web/http-handlers.md +164 -0
  125. package/augment-extensions/coding-standards/go/rules/web/middleware.md +234 -0
  126. package/augment-extensions/coding-standards/go/rules/web/routing.md +251 -0
  127. package/augment-extensions/coding-standards/go/templates/prompts/api.md +160 -0
  128. package/augment-extensions/coding-standards/go/templates/prompts/cli.md +225 -0
  129. package/augment-extensions/coding-standards/go/templates/prompts/cloud-native.md +121 -0
  130. package/augment-extensions/coding-standards/go/templates/prompts/devops.md +146 -0
  131. package/augment-extensions/coding-standards/go/templates/prompts/distributed.md +133 -0
  132. package/augment-extensions/coding-standards/go/templates/prompts/microservices.md +225 -0
  133. package/augment-extensions/coding-standards/go/templates/prompts/web.md +181 -0
  134. package/augment-extensions/coding-standards/go/tests/integration/module-integration.test.ts +164 -0
  135. package/augment-extensions/coding-standards/go/tests/unit/category-selection.test.ts +147 -0
  136. package/augment-extensions/coding-standards/go/tests/unit/module-structure.test.ts +154 -0
  137. package/augment-extensions/coding-standards/go/tests/validate-character-count.ps1 +13 -0
  138. package/augment-extensions/coding-standards/go/tests/validate-examples.ps1 +148 -0
  139. package/augment-extensions/coding-standards/go/tests/validate-examples.sh +135 -0
  140. package/cli/dist/analysis/ast-parser.d.ts +47 -0
  141. package/cli/dist/analysis/ast-parser.d.ts.map +1 -0
  142. package/cli/dist/analysis/ast-parser.js +161 -0
  143. package/cli/dist/analysis/ast-parser.js.map +1 -0
  144. package/cli/dist/analysis/complexity-analyzer.d.ts +27 -0
  145. package/cli/dist/analysis/complexity-analyzer.d.ts.map +1 -0
  146. package/cli/dist/analysis/complexity-analyzer.js +189 -0
  147. package/cli/dist/analysis/complexity-analyzer.js.map +1 -0
  148. package/cli/dist/analysis/dependency-analyzer.d.ts +23 -0
  149. package/cli/dist/analysis/dependency-analyzer.d.ts.map +1 -0
  150. package/cli/dist/analysis/dependency-analyzer.js +237 -0
  151. package/cli/dist/analysis/dependency-analyzer.js.map +1 -0
  152. package/cli/dist/analysis/index.d.ts +9 -0
  153. package/cli/dist/analysis/index.d.ts.map +1 -0
  154. package/cli/dist/analysis/index.js +25 -0
  155. package/cli/dist/analysis/index.js.map +1 -0
  156. package/cli/dist/analysis/security-scanner.d.ts +11 -0
  157. package/cli/dist/analysis/security-scanner.d.ts.map +1 -0
  158. package/cli/dist/analysis/security-scanner.js +294 -0
  159. package/cli/dist/analysis/security-scanner.js.map +1 -0
  160. package/cli/dist/analysis/types.d.ts +151 -0
  161. package/cli/dist/analysis/types.d.ts.map +1 -0
  162. package/cli/dist/analysis/types.js +6 -0
  163. package/cli/dist/analysis/types.js.map +1 -0
  164. package/cli/dist/cli.js +24 -0
  165. package/cli/dist/cli.js.map +1 -1
  166. package/cli/dist/commands/code-analysis.d.ts +11 -0
  167. package/cli/dist/commands/code-analysis.d.ts.map +1 -0
  168. package/cli/dist/commands/code-analysis.js +412 -0
  169. package/cli/dist/commands/code-analysis.js.map +1 -0
  170. package/modules.md +99 -3
  171. package/package.json +14 -2
  172. package/cli/dist/commands/agent.d.ts +0 -37
  173. package/cli/dist/commands/agent.d.ts.map +0 -1
  174. package/cli/dist/commands/agent.js +0 -222
  175. package/cli/dist/commands/agent.js.map +0 -1
  176. package/cli/dist/commands/beads.d.ts +0 -64
  177. package/cli/dist/commands/beads.d.ts.map +0 -1
  178. package/cli/dist/commands/beads.js +0 -377
  179. package/cli/dist/commands/beads.js.map +0 -1
  180. package/cli/dist/commands/change.d.ts +0 -54
  181. package/cli/dist/commands/change.d.ts.map +0 -1
  182. package/cli/dist/commands/change.js +0 -243
  183. package/cli/dist/commands/change.js.map +0 -1
  184. package/cli/dist/commands/clean.d.ts +0 -15
  185. package/cli/dist/commands/clean.d.ts.map +0 -1
  186. package/cli/dist/commands/clean.js +0 -63
  187. package/cli/dist/commands/clean.js.map +0 -1
  188. package/cli/dist/commands/clone.d.ts +0 -15
  189. package/cli/dist/commands/clone.d.ts.map +0 -1
  190. package/cli/dist/commands/clone.js +0 -49
  191. package/cli/dist/commands/clone.js.map +0 -1
  192. package/cli/dist/commands/config.d.ts +0 -33
  193. package/cli/dist/commands/config.d.ts.map +0 -1
  194. package/cli/dist/commands/config.js +0 -166
  195. package/cli/dist/commands/config.js.map +0 -1
  196. package/cli/dist/commands/context.d.ts +0 -38
  197. package/cli/dist/commands/context.d.ts.map +0 -1
  198. package/cli/dist/commands/context.js +0 -205
  199. package/cli/dist/commands/context.js.map +0 -1
  200. package/cli/dist/commands/create.d.ts +0 -18
  201. package/cli/dist/commands/create.d.ts.map +0 -1
  202. package/cli/dist/commands/create.js +0 -178
  203. package/cli/dist/commands/create.js.map +0 -1
  204. package/cli/dist/commands/diff.d.ts +0 -19
  205. package/cli/dist/commands/diff.d.ts.map +0 -1
  206. package/cli/dist/commands/diff.js +0 -104
  207. package/cli/dist/commands/diff.js.map +0 -1
  208. package/cli/dist/commands/doctor.d.ts +0 -14
  209. package/cli/dist/commands/doctor.d.ts.map +0 -1
  210. package/cli/dist/commands/doctor.js +0 -62
  211. package/cli/dist/commands/doctor.js.map +0 -1
  212. package/cli/dist/commands/export.d.ts +0 -28
  213. package/cli/dist/commands/export.d.ts.map +0 -1
  214. package/cli/dist/commands/export.js +0 -135
  215. package/cli/dist/commands/export.js.map +0 -1
  216. package/cli/dist/commands/import.d.ts +0 -23
  217. package/cli/dist/commands/import.d.ts.map +0 -1
  218. package/cli/dist/commands/import.js +0 -118
  219. package/cli/dist/commands/import.js.map +0 -1
  220. package/cli/dist/commands/prompt.d.ts +0 -45
  221. package/cli/dist/commands/prompt.d.ts.map +0 -1
  222. package/cli/dist/commands/prompt.js +0 -223
  223. package/cli/dist/commands/prompt.js.map +0 -1
  224. package/cli/dist/commands/spec.d.ts +0 -57
  225. package/cli/dist/commands/spec.d.ts.map +0 -1
  226. package/cli/dist/commands/spec.js +0 -279
  227. package/cli/dist/commands/spec.js.map +0 -1
  228. package/cli/dist/commands/stats.d.ts +0 -18
  229. package/cli/dist/commands/stats.d.ts.map +0 -1
  230. package/cli/dist/commands/stats.js +0 -85
  231. package/cli/dist/commands/stats.js.map +0 -1
  232. package/cli/dist/commands/task.d.ts +0 -65
  233. package/cli/dist/commands/task.d.ts.map +0 -1
  234. package/cli/dist/commands/task.js +0 -282
  235. package/cli/dist/commands/task.js.map +0 -1
  236. package/cli/dist/commands/template.d.ts +0 -17
  237. package/cli/dist/commands/template.d.ts.map +0 -1
  238. package/cli/dist/commands/template.js +0 -55
  239. package/cli/dist/commands/template.js.map +0 -1
  240. package/cli/dist/utils/agent-config.d.ts +0 -129
  241. package/cli/dist/utils/agent-config.d.ts.map +0 -1
  242. package/cli/dist/utils/agent-config.js +0 -297
  243. package/cli/dist/utils/agent-config.js.map +0 -1
  244. package/cli/dist/utils/beads-graph.d.ts +0 -17
  245. package/cli/dist/utils/beads-graph.d.ts.map +0 -1
  246. package/cli/dist/utils/beads-graph.js +0 -150
  247. package/cli/dist/utils/beads-graph.js.map +0 -1
  248. package/cli/dist/utils/beads-integration.d.ts +0 -112
  249. package/cli/dist/utils/beads-integration.d.ts.map +0 -1
  250. package/cli/dist/utils/beads-integration.js +0 -312
  251. package/cli/dist/utils/beads-integration.js.map +0 -1
  252. package/cli/dist/utils/beads-reporter.d.ts +0 -17
  253. package/cli/dist/utils/beads-reporter.d.ts.map +0 -1
  254. package/cli/dist/utils/beads-reporter.js +0 -160
  255. package/cli/dist/utils/beads-reporter.js.map +0 -1
  256. package/cli/dist/utils/cache-manager.d.ts +0 -55
  257. package/cli/dist/utils/cache-manager.d.ts.map +0 -1
  258. package/cli/dist/utils/cache-manager.js +0 -150
  259. package/cli/dist/utils/cache-manager.js.map +0 -1
  260. package/cli/dist/utils/change-manager.d.ts +0 -70
  261. package/cli/dist/utils/change-manager.d.ts.map +0 -1
  262. package/cli/dist/utils/change-manager.js +0 -412
  263. package/cli/dist/utils/change-manager.js.map +0 -1
  264. package/cli/dist/utils/config-manager-enhanced.d.ts +0 -66
  265. package/cli/dist/utils/config-manager-enhanced.d.ts.map +0 -1
  266. package/cli/dist/utils/config-manager-enhanced.js +0 -77
  267. package/cli/dist/utils/config-manager-enhanced.js.map +0 -1
  268. package/cli/dist/utils/context-manager.d.ts +0 -96
  269. package/cli/dist/utils/context-manager.d.ts.map +0 -1
  270. package/cli/dist/utils/context-manager.js +0 -258
  271. package/cli/dist/utils/context-manager.js.map +0 -1
  272. package/cli/dist/utils/diff-engine.d.ts +0 -78
  273. package/cli/dist/utils/diff-engine.d.ts.map +0 -1
  274. package/cli/dist/utils/diff-engine.js +0 -233
  275. package/cli/dist/utils/diff-engine.js.map +0 -1
  276. package/cli/dist/utils/export-system.d.ts +0 -101
  277. package/cli/dist/utils/export-system.d.ts.map +0 -1
  278. package/cli/dist/utils/export-system.js +0 -289
  279. package/cli/dist/utils/export-system.js.map +0 -1
  280. package/cli/dist/utils/health-checker.d.ts +0 -66
  281. package/cli/dist/utils/health-checker.d.ts.map +0 -1
  282. package/cli/dist/utils/health-checker.js +0 -285
  283. package/cli/dist/utils/health-checker.js.map +0 -1
  284. package/cli/dist/utils/import-system.d.ts +0 -74
  285. package/cli/dist/utils/import-system.d.ts.map +0 -1
  286. package/cli/dist/utils/import-system.js +0 -317
  287. package/cli/dist/utils/import-system.js.map +0 -1
  288. package/cli/dist/utils/module-cloner.d.ts +0 -40
  289. package/cli/dist/utils/module-cloner.d.ts.map +0 -1
  290. package/cli/dist/utils/module-cloner.js +0 -136
  291. package/cli/dist/utils/module-cloner.js.map +0 -1
  292. package/cli/dist/utils/prompt-manager.d.ts +0 -90
  293. package/cli/dist/utils/prompt-manager.d.ts.map +0 -1
  294. package/cli/dist/utils/prompt-manager.js +0 -302
  295. package/cli/dist/utils/prompt-manager.js.map +0 -1
  296. package/cli/dist/utils/spec-manager.d.ts +0 -65
  297. package/cli/dist/utils/spec-manager.d.ts.map +0 -1
  298. package/cli/dist/utils/spec-manager.js +0 -329
  299. package/cli/dist/utils/spec-manager.js.map +0 -1
  300. package/cli/dist/utils/stats-collector.d.ts +0 -74
  301. package/cli/dist/utils/stats-collector.d.ts.map +0 -1
  302. package/cli/dist/utils/stats-collector.js +0 -164
  303. package/cli/dist/utils/stats-collector.js.map +0 -1
  304. package/cli/dist/utils/template-engine.d.ts +0 -47
  305. package/cli/dist/utils/template-engine.d.ts.map +0 -1
  306. package/cli/dist/utils/template-engine.js +0 -204
  307. package/cli/dist/utils/template-engine.js.map +0 -1
@@ -0,0 +1,55 @@
1
+ # Changelog
2
+
3
+ All notable changes to the C Coding Standards extension will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [1.0.0] - 2026-02-19
9
+
10
+ ### Added
11
+ - Initial release of C Coding Standards extension
12
+ - Module structure with organized directories
13
+ - Configuration system with JSON Schema validation
14
+ - Configuration manager with JSON/YAML support
15
+ - Rule registry with Markdown parsing
16
+ - Support for 7 categories: systems, embedded, kernel, drivers, realtime, networking, legacy
17
+ - 6 universal rules: naming, memory-safety, error-handling, documentation, header-guards, const-correctness
18
+ - Category-specific rule overrides
19
+ - Static analysis tool integration (clang-tidy, cppcheck, valgrind)
20
+ - Custom rules support
21
+ - Hot-reload configuration support
22
+ - Comprehensive examples for each category
23
+ - AI prompt templates
24
+ - TypeScript implementation with full type safety
25
+ - Unit and integration tests
26
+ - Complete documentation
27
+
28
+ ### Changed
29
+ - N/A (initial release)
30
+
31
+ ### Deprecated
32
+ - N/A (initial release)
33
+
34
+ ### Removed
35
+ - N/A (initial release)
36
+
37
+ ### Fixed
38
+ - N/A (initial release)
39
+
40
+ ### Security
41
+ - N/A (initial release)
42
+
43
+ ## [Unreleased]
44
+
45
+ ### Planned
46
+ - Additional category-specific rules
47
+ - More code examples
48
+ - Integration with additional static analysis tools
49
+ - VS Code extension integration
50
+ - Real-time rule validation
51
+ - Rule conflict detection and resolution
52
+ - Performance optimizations
53
+ - Enhanced error messages
54
+ - Migration tools for legacy code
55
+
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Augment Extensions
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
22
+
@@ -0,0 +1,167 @@
1
+ # C Coding Standards
2
+
3
+ Comprehensive C programming language coding standards for Augment Code AI, covering systems programming, embedded systems, kernel development, device drivers, real-time systems, networking, and legacy code maintenance.
4
+
5
+ ## Overview
6
+
7
+ This extension provides category-based coding standards for C development, with universal rules that apply across all categories and specialized rules for specific domains.
8
+
9
+ ## Installation
10
+
11
+ ### Using augx CLI
12
+
13
+ ```bash
14
+ # Link the module to your project
15
+ augx link coding-standards/c
16
+
17
+ # Verify installation
18
+ augx show c-standards
19
+ ```
20
+
21
+ ### Manual Installation
22
+
23
+ Copy the contents of this directory to your project's `.augment/` folder.
24
+
25
+ ## Quick Start
26
+
27
+ 1. **Configure Categories**: Create `.augment/c-standards.json`:
28
+
29
+ ```json
30
+ {
31
+ "c_standards": {
32
+ "version": "1.0.0",
33
+ "categories": ["systems"],
34
+ "c_standard": "c11"
35
+ }
36
+ }
37
+ ```
38
+
39
+ 2. **Start Coding**: The extension will automatically apply rules based on your configuration.
40
+
41
+ ## Categories
42
+
43
+ ### Systems Programming
44
+ - POSIX compliance
45
+ - Process management
46
+ - Inter-process communication (IPC)
47
+ - Signal handling
48
+ - File I/O and system calls
49
+
50
+ ### Embedded Systems
51
+ - Microcontroller programming
52
+ - Interrupt service routines (ISRs)
53
+ - Hardware register access
54
+ - Memory-constrained environments
55
+ - Fixed-size buffers
56
+
57
+ ### Kernel Development
58
+ - Linux kernel modules
59
+ - Kernel subsystems
60
+ - Device drivers (character, block, network)
61
+ - Kernel APIs and conventions
62
+
63
+ ### Device Drivers
64
+ - GPIO drivers
65
+ - DMA transfers
66
+ - Interrupt handling
67
+ - Platform devices
68
+ - Device tree integration
69
+
70
+ ### Real-Time Systems
71
+ - RTOS integration
72
+ - Task scheduling
73
+ - Priority management
74
+ - Deterministic execution
75
+ - Timing constraints
76
+
77
+ ### Networking
78
+ - Socket programming
79
+ - Protocol implementation
80
+ - Packet processing
81
+ - Network drivers
82
+ - TCP/IP stack integration
83
+
84
+ ### Legacy Code
85
+ - Code modernization
86
+ - Refactoring strategies
87
+ - Migration to modern C standards
88
+ - Compatibility maintenance
89
+
90
+ ## Universal Rules
91
+
92
+ These rules apply to all categories:
93
+
94
+ 1. **Naming Conventions**: snake_case for functions/variables, UPPER_CASE for macros
95
+ 2. **Memory Safety**: Proper allocation, deallocation, and bounds checking
96
+ 3. **Error Handling**: Check all return values, use errno appropriately
97
+ 4. **Documentation**: Doxygen-style comments for all public APIs
98
+ 5. **Header Guards**: Use include guards or `#pragma once`
99
+ 6. **Const Correctness**: Use `const` for immutable data
100
+
101
+ ## Configuration
102
+
103
+ ### Configuration File
104
+
105
+ Create `.augment/c-standards.json` or `.augment/c-standards.yaml`:
106
+
107
+ ```json
108
+ {
109
+ "c_standards": {
110
+ "version": "1.0.0",
111
+ "categories": ["systems", "embedded"],
112
+ "c_standard": "c11",
113
+ "universal_rules": {
114
+ "naming": "enabled",
115
+ "memory_safety": "enabled",
116
+ "error_handling": "enabled",
117
+ "documentation": "warning",
118
+ "header_guards": "enabled",
119
+ "const_correctness": "warning"
120
+ },
121
+ "category_overrides": {
122
+ "embedded": {
123
+ "allow_dynamic_allocation": false,
124
+ "require_volatile_hardware": true,
125
+ "max_stack_depth": 5
126
+ }
127
+ },
128
+ "static_analysis": {
129
+ "clang_tidy": true,
130
+ "cppcheck": true,
131
+ "valgrind": false
132
+ }
133
+ }
134
+ }
135
+ ```
136
+
137
+ ### Rule Severity Levels
138
+
139
+ - `enabled`: Enforce rule (errors)
140
+ - `warning`: Warn about violations
141
+ - `disabled`: Ignore rule
142
+
143
+ ## Examples
144
+
145
+ See the `examples/` directory for complete, compilable examples for each category.
146
+
147
+ ## Static Analysis Integration
148
+
149
+ This extension integrates with:
150
+ - **clang-tidy**: Modern C/C++ linter
151
+ - **cppcheck**: Static analysis tool
152
+ - **valgrind**: Memory debugging and profiling
153
+
154
+ ## Contributing
155
+
156
+ See [CONTRIBUTING.md](../../CONTRIBUTING.md) for guidelines.
157
+
158
+ ## License
159
+
160
+ MIT License - see [LICENSE](LICENSE) file.
161
+
162
+ ## Links
163
+
164
+ - [Documentation](https://github.com/mytech-today-now/augment-extensions/tree/main/augment-extensions/coding-standards/c)
165
+ - [Issues](https://github.com/mytech-today-now/augment-extensions/issues)
166
+ - [Augment Extensions](https://github.com/mytech-today-now/augment-extensions)
167
+
@@ -0,0 +1,26 @@
1
+ {
2
+ "c_standards": {
3
+ "version": "1.0.0",
4
+ "categories": ["systems"],
5
+ "c_standard": "c11",
6
+ "universal_rules": {
7
+ "naming": "enabled",
8
+ "memory_safety": "enabled",
9
+ "error_handling": "enabled",
10
+ "documentation": "enabled",
11
+ "header_guards": "enabled",
12
+ "const_correctness": "enabled"
13
+ },
14
+ "category_overrides": {},
15
+ "static_analysis": {
16
+ "clang_tidy": false,
17
+ "cppcheck": false,
18
+ "valgrind": false
19
+ },
20
+ "custom_rules": {
21
+ "enabled": false,
22
+ "path": ".augment/c-standards/custom-rules/"
23
+ }
24
+ }
25
+ }
26
+
@@ -0,0 +1,25 @@
1
+ c_standards:
2
+ version: "1.0.0"
3
+ categories:
4
+ - embedded
5
+ c_standard: c99
6
+ universal_rules:
7
+ naming: enabled
8
+ memory_safety: enabled
9
+ error_handling: enabled
10
+ documentation: enabled
11
+ header_guards: enabled
12
+ const_correctness: enabled
13
+ category_overrides:
14
+ embedded:
15
+ allow_dynamic_allocation: false
16
+ require_volatile_hardware: true
17
+ max_stack_depth: 5
18
+ static_analysis:
19
+ clang_tidy: true
20
+ cppcheck: true
21
+ valgrind: false
22
+ custom_rules:
23
+ enabled: false
24
+ path: ".augment/c-standards/custom-rules/"
25
+
@@ -0,0 +1,31 @@
1
+ {
2
+ "c_standards": {
3
+ "version": "1.0.0",
4
+ "categories": ["systems"],
5
+ "c_standard": "c11",
6
+ "universal_rules": {
7
+ "naming": "enabled",
8
+ "memory_safety": "enabled",
9
+ "error_handling": "enabled",
10
+ "documentation": "warning",
11
+ "header_guards": "enabled",
12
+ "const_correctness": "warning"
13
+ },
14
+ "category_overrides": {
15
+ "systems": {
16
+ "require_posix_compliance": true,
17
+ "check_system_call_errors": true
18
+ }
19
+ },
20
+ "static_analysis": {
21
+ "clang_tidy": true,
22
+ "cppcheck": true,
23
+ "valgrind": true
24
+ },
25
+ "custom_rules": {
26
+ "enabled": false,
27
+ "path": ".augment/c-standards/custom-rules/"
28
+ }
29
+ }
30
+ }
31
+
@@ -0,0 +1,244 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://augment-extensions.dev/schemas/c-standards-config.json",
4
+ "title": "C Coding Standards Configuration",
5
+ "description": "Configuration schema for C coding standards extension",
6
+ "type": "object",
7
+ "required": ["c_standards"],
8
+ "properties": {
9
+ "c_standards": {
10
+ "type": "object",
11
+ "required": ["version", "categories"],
12
+ "properties": {
13
+ "version": {
14
+ "type": "string",
15
+ "pattern": "^\\d+\\.\\d+\\.\\d+$",
16
+ "description": "Configuration schema version (semantic versioning)"
17
+ },
18
+ "categories": {
19
+ "type": "array",
20
+ "minItems": 1,
21
+ "uniqueItems": true,
22
+ "items": {
23
+ "type": "string",
24
+ "enum": ["systems", "embedded", "kernel", "drivers", "realtime", "networking", "legacy"]
25
+ },
26
+ "description": "Active C project categories"
27
+ },
28
+ "c_standard": {
29
+ "type": "string",
30
+ "enum": ["c89", "c90", "c99", "c11", "c17", "c23"],
31
+ "default": "c11",
32
+ "description": "Target C language standard"
33
+ },
34
+ "universal_rules": {
35
+ "type": "object",
36
+ "properties": {
37
+ "naming": {
38
+ "type": "string",
39
+ "enum": ["enabled", "disabled", "warning"],
40
+ "default": "enabled"
41
+ },
42
+ "memory_safety": {
43
+ "type": "string",
44
+ "enum": ["enabled", "disabled", "warning"],
45
+ "default": "enabled"
46
+ },
47
+ "error_handling": {
48
+ "type": "string",
49
+ "enum": ["enabled", "disabled", "warning"],
50
+ "default": "enabled"
51
+ },
52
+ "documentation": {
53
+ "type": "string",
54
+ "enum": ["enabled", "disabled", "warning"],
55
+ "default": "enabled"
56
+ },
57
+ "header_guards": {
58
+ "type": "string",
59
+ "enum": ["enabled", "disabled", "warning"],
60
+ "default": "enabled"
61
+ },
62
+ "const_correctness": {
63
+ "type": "string",
64
+ "enum": ["enabled", "disabled", "warning"],
65
+ "default": "enabled"
66
+ }
67
+ },
68
+ "additionalProperties": false,
69
+ "description": "Universal rules configuration"
70
+ },
71
+ "category_overrides": {
72
+ "type": "object",
73
+ "properties": {
74
+ "systems": {
75
+ "$ref": "#/definitions/systemsOverrides"
76
+ },
77
+ "embedded": {
78
+ "$ref": "#/definitions/embeddedOverrides"
79
+ },
80
+ "kernel": {
81
+ "$ref": "#/definitions/kernelOverrides"
82
+ },
83
+ "drivers": {
84
+ "$ref": "#/definitions/driversOverrides"
85
+ },
86
+ "realtime": {
87
+ "$ref": "#/definitions/realtimeOverrides"
88
+ },
89
+ "networking": {
90
+ "$ref": "#/definitions/networkingOverrides"
91
+ },
92
+ "legacy": {
93
+ "$ref": "#/definitions/legacyOverrides"
94
+ }
95
+ },
96
+ "additionalProperties": false,
97
+ "description": "Category-specific configuration overrides"
98
+ },
99
+ "static_analysis": {
100
+ "type": "object",
101
+ "properties": {
102
+ "clang_tidy": {
103
+ "type": "boolean",
104
+ "default": false,
105
+ "description": "Enable clang-tidy integration"
106
+ },
107
+ "cppcheck": {
108
+ "type": "boolean",
109
+ "default": false,
110
+ "description": "Enable cppcheck integration"
111
+ },
112
+ "valgrind": {
113
+ "type": "boolean",
114
+ "default": false,
115
+ "description": "Enable valgrind integration"
116
+ }
117
+ },
118
+ "additionalProperties": false,
119
+ "description": "Static analysis tool integration"
120
+ },
121
+ "custom_rules": {
122
+ "type": "object",
123
+ "properties": {
124
+ "enabled": {
125
+ "type": "boolean",
126
+ "default": false,
127
+ "description": "Enable custom user-defined rules"
128
+ },
129
+ "path": {
130
+ "type": "string",
131
+ "default": ".augment/c-standards/custom-rules/",
132
+ "description": "Path to custom rules directory"
133
+ }
134
+ },
135
+ "additionalProperties": false,
136
+ "description": "Custom rules configuration"
137
+ }
138
+ },
139
+ "additionalProperties": false
140
+ }
141
+ },
142
+ "additionalProperties": false,
143
+ "definitions": {
144
+ "systemsOverrides": {
145
+ "type": "object",
146
+ "properties": {
147
+ "require_posix_compliance": {
148
+ "type": "boolean",
149
+ "default": true
150
+ },
151
+ "check_system_call_errors": {
152
+ "type": "boolean",
153
+ "default": true
154
+ }
155
+ }
156
+ },
157
+ "embeddedOverrides": {
158
+ "type": "object",
159
+ "properties": {
160
+ "allow_dynamic_allocation": {
161
+ "type": "boolean",
162
+ "default": false
163
+ },
164
+ "require_volatile_hardware": {
165
+ "type": "boolean",
166
+ "default": true
167
+ },
168
+ "max_stack_depth": {
169
+ "type": "integer",
170
+ "minimum": 1,
171
+ "maximum": 20,
172
+ "default": 5
173
+ }
174
+ }
175
+ },
176
+ "kernelOverrides": {
177
+ "type": "object",
178
+ "properties": {
179
+ "require_kernel_style": {
180
+ "type": "boolean",
181
+ "default": true
182
+ },
183
+ "check_module_license": {
184
+ "type": "boolean",
185
+ "default": true
186
+ }
187
+ }
188
+ },
189
+ "driversOverrides": {
190
+ "type": "object",
191
+ "properties": {
192
+ "require_device_tree": {
193
+ "type": "boolean",
194
+ "default": false
195
+ },
196
+ "check_interrupt_safety": {
197
+ "type": "boolean",
198
+ "default": true
199
+ }
200
+ }
201
+ },
202
+ "realtimeOverrides": {
203
+ "type": "object",
204
+ "properties": {
205
+ "enforce_determinism": {
206
+ "type": "boolean",
207
+ "default": true
208
+ },
209
+ "max_execution_time_us": {
210
+ "type": "integer",
211
+ "minimum": 1,
212
+ "default": 1000
213
+ }
214
+ }
215
+ },
216
+ "networkingOverrides": {
217
+ "type": "object",
218
+ "properties": {
219
+ "require_endian_handling": {
220
+ "type": "boolean",
221
+ "default": true
222
+ },
223
+ "check_buffer_overflow": {
224
+ "type": "boolean",
225
+ "default": true
226
+ }
227
+ }
228
+ },
229
+ "legacyOverrides": {
230
+ "type": "object",
231
+ "properties": {
232
+ "allow_deprecated_functions": {
233
+ "type": "boolean",
234
+ "default": true
235
+ },
236
+ "suggest_modernization": {
237
+ "type": "boolean",
238
+ "default": true
239
+ }
240
+ }
241
+ }
242
+ }
243
+ }
244
+