@aperant/framework 0.13.0-next.0 → 0.15.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 (241) hide show
  1. package/CHANGELOG.md +89 -3
  2. package/README.md +11 -1
  3. package/agents/apt-pr-review-i18n.md +190 -0
  4. package/agents/apt-pr-review-xplatform.md +189 -0
  5. package/dist/cli/commands/audit-branch-current.d.mts +27 -5
  6. package/dist/cli/commands/audit-branch-current.d.mts.map +1 -1
  7. package/dist/cli/commands/audit-branch-current.mjs +3 -3
  8. package/dist/cli/commands/audit-branch-current.mjs.map +1 -1
  9. package/dist/cli/commands/event.d.mts.map +1 -1
  10. package/dist/cli/commands/event.mjs +6 -4
  11. package/dist/cli/commands/event.mjs.map +1 -1
  12. package/dist/cli/commands/fan-out.d.mts.map +1 -1
  13. package/dist/cli/commands/fan-out.mjs +3 -1
  14. package/dist/cli/commands/fan-out.mjs.map +1 -1
  15. package/dist/cli/commands/features-audit.d.mts.map +1 -1
  16. package/dist/cli/commands/features-audit.mjs +6 -1
  17. package/dist/cli/commands/features-audit.mjs.map +1 -1
  18. package/dist/cli/commands/followups.d.mts +5 -0
  19. package/dist/cli/commands/followups.d.mts.map +1 -0
  20. package/dist/cli/commands/followups.mjs +266 -0
  21. package/dist/cli/commands/followups.mjs.map +1 -0
  22. package/dist/cli/commands/health-check.d.mts.map +1 -1
  23. package/dist/cli/commands/health-check.mjs +3 -1
  24. package/dist/cli/commands/health-check.mjs.map +1 -1
  25. package/dist/cli/commands/merge-detect.d.mts +29 -0
  26. package/dist/cli/commands/merge-detect.d.mts.map +1 -0
  27. package/dist/cli/commands/merge-detect.mjs +196 -0
  28. package/dist/cli/commands/merge-detect.mjs.map +1 -0
  29. package/dist/cli/commands/merge-integrate.d.mts +28 -0
  30. package/dist/cli/commands/merge-integrate.d.mts.map +1 -0
  31. package/dist/cli/commands/merge-integrate.mjs +383 -0
  32. package/dist/cli/commands/merge-integrate.mjs.map +1 -0
  33. package/dist/cli/commands/pr-review/detect-specialists.d.mts +58 -0
  34. package/dist/cli/commands/pr-review/detect-specialists.d.mts.map +1 -0
  35. package/dist/cli/commands/pr-review/detect-specialists.mjs +980 -0
  36. package/dist/cli/commands/pr-review/detect-specialists.mjs.map +1 -0
  37. package/dist/cli/commands/pr-review.d.mts.map +1 -1
  38. package/dist/cli/commands/pr-review.mjs +11 -2
  39. package/dist/cli/commands/pr-review.mjs.map +1 -1
  40. package/dist/cli/commands/precompact-hook.d.mts.map +1 -1
  41. package/dist/cli/commands/precompact-hook.mjs +10 -6
  42. package/dist/cli/commands/precompact-hook.mjs.map +1 -1
  43. package/dist/cli/commands/roadmap.d.mts.map +1 -1
  44. package/dist/cli/commands/roadmap.mjs +24 -11
  45. package/dist/cli/commands/roadmap.mjs.map +1 -1
  46. package/dist/cli/commands/seed.d.mts.map +1 -1
  47. package/dist/cli/commands/seed.mjs +3 -1
  48. package/dist/cli/commands/seed.mjs.map +1 -1
  49. package/dist/cli/commands/state.d.mts.map +1 -1
  50. package/dist/cli/commands/state.mjs +9 -3
  51. package/dist/cli/commands/state.mjs.map +1 -1
  52. package/dist/cli/commands/statusline.d.mts.map +1 -1
  53. package/dist/cli/commands/statusline.mjs +5 -1
  54. package/dist/cli/commands/statusline.mjs.map +1 -1
  55. package/dist/cli/commands/task.d.mts.map +1 -1
  56. package/dist/cli/commands/task.mjs +126 -23
  57. package/dist/cli/commands/task.mjs.map +1 -1
  58. package/dist/cli/commands/worktree.d.mts +1 -1
  59. package/dist/cli/commands/worktree.d.mts.map +1 -1
  60. package/dist/cli/commands/worktree.mjs +282 -83
  61. package/dist/cli/commands/worktree.mjs.map +1 -1
  62. package/dist/cli/config/post-merge-sweep.d.mts.map +1 -1
  63. package/dist/cli/config/post-merge-sweep.mjs +3 -2
  64. package/dist/cli/config/post-merge-sweep.mjs.map +1 -1
  65. package/dist/cli/config/share-policy.d.mts +3 -1
  66. package/dist/cli/config/share-policy.d.mts.map +1 -1
  67. package/dist/cli/config/share-policy.mjs +16 -3
  68. package/dist/cli/config/share-policy.mjs.map +1 -1
  69. package/dist/cli/config/upgrade-gitignore.d.mts.map +1 -1
  70. package/dist/cli/config/upgrade-gitignore.mjs +27 -5
  71. package/dist/cli/config/upgrade-gitignore.mjs.map +1 -1
  72. package/dist/cli/consistency/parse-qa.mjs +12 -1
  73. package/dist/cli/consistency/parse-qa.mjs.map +1 -1
  74. package/dist/cli/consistency/parse-review.d.mts +23 -0
  75. package/dist/cli/consistency/parse-review.d.mts.map +1 -1
  76. package/dist/cli/consistency/parse-review.mjs +36 -0
  77. package/dist/cli/consistency/parse-review.mjs.map +1 -1
  78. package/dist/cli/consistency/parse-spec.d.mts +16 -0
  79. package/dist/cli/consistency/parse-spec.d.mts.map +1 -1
  80. package/dist/cli/consistency/parse-spec.mjs +44 -0
  81. package/dist/cli/consistency/parse-spec.mjs.map +1 -1
  82. package/dist/cli/coordination/agent-identity.d.mts +5 -2
  83. package/dist/cli/coordination/agent-identity.d.mts.map +1 -1
  84. package/dist/cli/coordination/agent-identity.mjs +6 -4
  85. package/dist/cli/coordination/agent-identity.mjs.map +1 -1
  86. package/dist/cli/coordination/store.d.mts +1 -1
  87. package/dist/cli/dispatch.d.mts.map +1 -1
  88. package/dist/cli/dispatch.mjs +4 -0
  89. package/dist/cli/dispatch.mjs.map +1 -1
  90. package/dist/cli/followups/derive.d.mts +63 -0
  91. package/dist/cli/followups/derive.d.mts.map +1 -0
  92. package/dist/cli/followups/derive.mjs +115 -0
  93. package/dist/cli/followups/derive.mjs.map +1 -0
  94. package/dist/cli/followups/schema.d.mts +165 -0
  95. package/dist/cli/followups/schema.d.mts.map +1 -0
  96. package/dist/cli/followups/schema.mjs +251 -0
  97. package/dist/cli/followups/schema.mjs.map +1 -0
  98. package/dist/cli/gate/context.d.mts +1 -1
  99. package/dist/cli/gate/gates/followups-adjudicated.d.mts +69 -0
  100. package/dist/cli/gate/gates/followups-adjudicated.d.mts.map +1 -0
  101. package/dist/cli/gate/gates/followups-adjudicated.mjs +141 -0
  102. package/dist/cli/gate/gates/followups-adjudicated.mjs.map +1 -0
  103. package/dist/cli/gate/gates/index.mjs +1 -0
  104. package/dist/cli/gate/gates/index.mjs.map +1 -1
  105. package/dist/cli/git/materialize-env.d.mts +39 -0
  106. package/dist/cli/git/materialize-env.d.mts.map +1 -0
  107. package/dist/cli/git/materialize-env.mjs +217 -0
  108. package/dist/cli/git/materialize-env.mjs.map +1 -0
  109. package/dist/cli/help.d.mts.map +1 -1
  110. package/dist/cli/help.mjs +9 -1
  111. package/dist/cli/help.mjs.map +1 -1
  112. package/dist/cli/install/legacy-paths.d.mts.map +1 -1
  113. package/dist/cli/install/legacy-paths.mjs +4 -0
  114. package/dist/cli/install/legacy-paths.mjs.map +1 -1
  115. package/dist/cli/roadmap/lifecycle.d.mts.map +1 -1
  116. package/dist/cli/roadmap/lifecycle.mjs +4 -1
  117. package/dist/cli/roadmap/lifecycle.mjs.map +1 -1
  118. package/dist/cli/task/ids.d.mts +9 -0
  119. package/dist/cli/task/ids.d.mts.map +1 -1
  120. package/dist/cli/task/ids.mjs +9 -0
  121. package/dist/cli/task/ids.mjs.map +1 -1
  122. package/dist/cli/task/index-md.d.mts +5 -0
  123. package/dist/cli/task/index-md.d.mts.map +1 -1
  124. package/dist/cli/task/index-md.mjs +12 -4
  125. package/dist/cli/task/index-md.mjs.map +1 -1
  126. package/dist/cli/util/io.d.mts +6 -0
  127. package/dist/cli/util/io.d.mts.map +1 -1
  128. package/dist/cli/util/io.mjs +16 -1
  129. package/dist/cli/util/io.mjs.map +1 -1
  130. package/dist/cli/util/project.d.mts +7 -2
  131. package/dist/cli/util/project.d.mts.map +1 -1
  132. package/dist/cli/util/project.mjs +11 -14
  133. package/dist/cli/util/project.mjs.map +1 -1
  134. package/dist/cli/util/state-paths.d.mts +19 -0
  135. package/dist/cli/util/state-paths.d.mts.map +1 -0
  136. package/dist/cli/util/state-paths.mjs +45 -0
  137. package/dist/cli/util/state-paths.mjs.map +1 -0
  138. package/dist/plugin/.claude-plugin/plugin.json +4 -1
  139. package/dist/plugin/agents/apt-pr-review-i18n.md +190 -0
  140. package/dist/plugin/agents/apt-pr-review-xplatform.md +189 -0
  141. package/dist/plugin/skills/apt/SKILL.md +13 -6
  142. package/dist/plugin/skills/apt-close-task/SKILL.md +48 -0
  143. package/dist/plugin/skills/apt-debug/SKILL.md +19 -9
  144. package/dist/plugin/skills/apt-execute/SKILL.md +3 -1
  145. package/dist/plugin/skills/apt-fan-out/SKILL.md +65 -1
  146. package/dist/plugin/skills/apt-merge-conflict-resolution/SKILL.md +227 -0
  147. package/dist/plugin/skills/apt-pr-review/SCHEMA.md +4 -2
  148. package/dist/plugin/skills/apt-pr-review/SKILL.md +117 -29
  149. package/dist/plugin/skills/apt-quick/SKILL.md +24 -1
  150. package/dist/plugin/skills/apt-review/SKILL.md +6 -0
  151. package/dist/plugin/skills/apt-run/SKILL.md +1 -1
  152. package/dist/plugin/skills/apt-setup/SKILL.md +21 -3
  153. package/dist/plugin/skills/apt-ship/SKILL.md +32 -11
  154. package/dist/plugin/skills/apt-terminal/SKILL.md +8 -0
  155. package/dist/plugin/skills/apt-triage/SKILL.md +4 -0
  156. package/dist/plugin/skills/apt-verify/SKILL.md +24 -0
  157. package/dist/plugin/skills/apt-watch-ci/SKILL.md +3 -1
  158. package/dist/types/config.d.ts +33 -0
  159. package/dist/types/config.d.ts.map +1 -1
  160. package/package.json +138 -138
  161. package/prompts/conductor-framework-context.md +1 -1
  162. package/prompts/github/pr_i18n_agent.md +279 -0
  163. package/prompts/github/pr_xplatform_agent.md +283 -0
  164. package/prompts/inbox-clarification.md +18 -11
  165. package/skills/apt/SKILL.md +9 -3
  166. package/skills/apt-close-task/SKILL.md +48 -0
  167. package/skills/apt-debug/SKILL.md +19 -9
  168. package/skills/apt-execute/SKILL.md +3 -1
  169. package/skills/apt-fan-out/SKILL.md +65 -1
  170. package/skills/apt-merge-conflict-resolution/SKILL.md +227 -0
  171. package/skills/apt-pr-review/SCHEMA.md +4 -2
  172. package/skills/apt-pr-review/SKILL.md +117 -29
  173. package/skills/apt-quick/SKILL.md +24 -1
  174. package/skills/apt-review/SKILL.md +6 -0
  175. package/skills/apt-run/SKILL.md +1 -1
  176. package/skills/apt-setup/SKILL.md +21 -3
  177. package/skills/apt-ship/SKILL.md +32 -11
  178. package/skills/apt-terminal/SKILL.md +8 -0
  179. package/skills/apt-triage/SKILL.md +4 -0
  180. package/skills/apt-verify/SKILL.md +24 -0
  181. package/skills/apt-watch-ci/SKILL.md +3 -1
  182. package/src/cli/commands/audit-branch-current.mjs +3 -3
  183. package/src/cli/commands/event.mjs +6 -4
  184. package/src/cli/commands/fan-out.mjs +3 -1
  185. package/src/cli/commands/features-audit.mjs +6 -1
  186. package/src/cli/commands/followups.mjs +303 -0
  187. package/src/cli/commands/health-check.mjs +3 -1
  188. package/src/cli/commands/merge-detect.mjs +203 -0
  189. package/src/cli/commands/merge-integrate.mjs +392 -0
  190. package/src/cli/commands/pr-review/__fixtures__/android-strings/app/src/main/res/values-fr/strings.xml +3 -0
  191. package/src/cli/commands/pr-review/__fixtures__/babel-js/package.json +4 -0
  192. package/src/cli/commands/pr-review/__fixtures__/c-ifdef/src/main.c +4 -0
  193. package/src/cli/commands/pr-review/__fixtures__/ci-matrix/.github/workflows/ci.yml +10 -0
  194. package/src/cli/commands/pr-review/__fixtures__/cmake-win/CMakeLists.txt +5 -0
  195. package/src/cli/commands/pr-review/__fixtures__/diffs/add-arb.patch +9 -0
  196. package/src/cli/commands/pr-review/__fixtures__/diffs/ci-single-os-dep.patch +13 -0
  197. package/src/cli/commands/pr-review/__fixtures__/diffs/ci-single-os-list-item-dep.patch +17 -0
  198. package/src/cli/commands/pr-review/__fixtures__/diffs/lone-weak-t.patch +8 -0
  199. package/src/cli/commands/pr-review/__fixtures__/diffs/monorepo-b.patch +7 -0
  200. package/src/cli/commands/pr-review/__fixtures__/diffs/two-weak-xpl.patch +12 -0
  201. package/src/cli/commands/pr-review/__fixtures__/dropped-underscore/src/app.js +2 -0
  202. package/src/cli/commands/pr-review/__fixtures__/electron-app/package.json +4 -0
  203. package/src/cli/commands/pr-review/__fixtures__/i18n-locale-file/src/locales/fr.json +1 -0
  204. package/src/cli/commands/pr-review/__fixtures__/monorepo/packages/a/locales/fr.json +1 -0
  205. package/src/cli/commands/pr-review/__fixtures__/monorepo/packages/b/src/index.ts +1 -0
  206. package/src/cli/commands/pr-review/__fixtures__/py-babel/pyproject.toml +3 -0
  207. package/src/cli/commands/pr-review/__fixtures__/qt-i18n-dir/i18n/app_fr.ts +11 -0
  208. package/src/cli/commands/pr-review/__fixtures__/rust-cli/Cargo.toml +7 -0
  209. package/src/cli/commands/pr-review/__fixtures__/rust-cli/src/main.rs +1 -0
  210. package/src/cli/commands/pr-review/__fixtures__/ts-dir/ts/foo.ts +3 -0
  211. package/src/cli/commands/pr-review/detect-specialists.mjs +1023 -0
  212. package/src/cli/commands/pr-review.mjs +12 -2
  213. package/src/cli/commands/precompact-hook.mjs +10 -6
  214. package/src/cli/commands/roadmap.mjs +24 -11
  215. package/src/cli/commands/seed.mjs +3 -1
  216. package/src/cli/commands/state.mjs +9 -3
  217. package/src/cli/commands/statusline.mjs +5 -1
  218. package/src/cli/commands/task.mjs +135 -23
  219. package/src/cli/commands/worktree.mjs +298 -81
  220. package/src/cli/config/post-merge-sweep.mjs +3 -2
  221. package/src/cli/config/share-policy.mjs +16 -3
  222. package/src/cli/config/upgrade-gitignore.mjs +27 -5
  223. package/src/cli/consistency/parse-qa.mjs +11 -1
  224. package/src/cli/consistency/parse-review.mjs +36 -0
  225. package/src/cli/consistency/parse-spec.mjs +43 -0
  226. package/src/cli/coordination/agent-identity.mjs +6 -4
  227. package/src/cli/dispatch.mjs +4 -0
  228. package/src/cli/followups/derive.mjs +123 -0
  229. package/src/cli/followups/schema.mjs +264 -0
  230. package/src/cli/gate/gates/followups-adjudicated.mjs +158 -0
  231. package/src/cli/gate/gates/index.mjs +1 -0
  232. package/src/cli/git/materialize-env.mjs +212 -0
  233. package/src/cli/help.mjs +9 -1
  234. package/src/cli/install/legacy-paths.mjs +4 -0
  235. package/src/cli/roadmap/lifecycle.mjs +4 -1
  236. package/src/cli/task/ids.mjs +9 -0
  237. package/src/cli/task/index-md.mjs +12 -4
  238. package/src/cli/util/io.mjs +15 -1
  239. package/src/cli/util/project.mjs +11 -14
  240. package/src/cli/util/state-paths.mjs +45 -0
  241. package/prompts/followup_planner.md +0 -399
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/types/config.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,0EAA0E;AAC1E,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,YAAY,GAAG,YAAY,GAAG,YAAY,CAAA;AAEnF,wEAAwE;AACxE,MAAM,WAAW,2BAA2B;IAC3C,8EAA8E;IAC9E,KAAK,CAAC,EAAE,iBAAiB,CAAA;IACzB,wEAAwE;IACxE,QAAQ,CAAC,EAAE,iBAAiB,CAAA;IAC5B,4EAA4E;IAC5E,IAAI,CAAC,EAAE,iBAAiB,CAAA;CACxB;AAED,yEAAyE;AACzE,MAAM,WAAW,mBAAmB;IACnC,2EAA2E;IAC3E,gBAAgB,EAAE,iBAAiB,CAAA;IACnC,0EAA0E;IAC1E,WAAW,EAAE,iBAAiB,CAAA;IAC9B,yEAAyE;IACzE,WAAW,EAAE,iBAAiB,CAAA;IAC9B;;;;;;;;;;;;;;;OAeG;IACH,SAAS,CAAC,EAAE,2BAA2B,CAAA;CACvC;AAED,2CAA2C;AAC3C,MAAM,WAAW,gBAAgB;IAChC,UAAU,EAAE,OAAO,CAAA;IACnB,WAAW,EAAE,OAAO,CAAA;IACpB,SAAS,EAAE,OAAO,CAAA;IAClB,iBAAiB,EAAE,OAAO,CAAA;IAC1B,+GAA+G;IAC/G,kBAAkB,EAAE,OAAO,CAAA;CAC3B;AAED,iDAAiD;AACjD,MAAM,WAAW,gBAAgB;IAChC,M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M,WAAW,UAAU;IAC1B,+EAA+E;IAC/E,OAAO,EAAE,OAAO,CAAA;IAChB,yEAAyE;IACzE,OAAO,EAAE,OAAO,GAAG,QAAQ,GAAG,QAAQ,GAAG,IAAI,CAAA;IAC7C,2EAA2E;IAC3E,IAAI,CAAC,EAAE,OAAO,CAAA;CACd;AAED,8EAA8E;AAC9E,MAAM,MAAM,sBAAsB,GAAG,MAAM,GAAG,OAAO,GAAG,UAAU,CAAA;AAElE,4CAA4C;AAC5C,MAAM,WAAW,cAAc;IAC9B,yDAAyD;IACzD,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;;;;OAKG;IACH,mBAAmB,CAAC,EAAE,sBAAsB,CAAA;IAC5C;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,GAAG,UAAU,CAAC,CAAA;IAC3D;;;;;;;;;;OAUG;IACH,kBAAkB,CAAC,EAAE,QAAQ,GAAG,KAAK,GAAG,OAAO,CAAA;CAC/C;AAED;;;;;;;;GAQG;AACH,MAAM,WAAW,aAAa;IAC7B;;;;;;;;;;;OAWG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,OAAO,CAAA;IACrC;;;;;;OAMG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAA;CAC7B"}
package/package.json CHANGED
@@ -1,139 +1,139 @@
1
1
  {
2
- "name": "@aperant/framework",
3
- "version": "0.13.0-next.0",
4
- "description": "AI coding framework — composable skills for planning, executing, verifying, and reviewing code with any LLM provider. Works as Claude Code commands, Codex tasks, or programmatically.",
5
- "author": "Mikalsen AI <hello@mikalsen.ai>",
6
- "type": "module",
7
- "main": "./dist/index.js",
8
- "types": "./dist/index.d.ts",
9
- "bin": {
10
- "framework": "./bin/apt-tools.mjs",
11
- "apt-tools": "./bin/apt-tools.mjs",
12
- "apt-proof-video": "./bin/apt-proof-video.mjs"
13
- },
14
- "exports": {
15
- ".": {
16
- "types": "./dist/index.d.ts",
17
- "import": "./dist/index.js"
18
- },
19
- "./types": {
20
- "types": "./dist/types/index.d.ts",
21
- "import": "./dist/types/index.js"
22
- },
23
- "./cost": {
24
- "types": "./dist/cost/index.d.ts",
25
- "import": "./dist/cost/index.js"
26
- },
27
- "./mappers": {
28
- "types": "./dist/mappers/index.d.ts",
29
- "import": "./dist/mappers/index.js"
30
- },
31
- "./schemas": {
32
- "types": "./dist/schemas/index.d.ts",
33
- "import": "./dist/schemas/index.js"
34
- },
35
- "./standalone": {
36
- "types": "./dist/standalone/index.d.ts",
37
- "import": "./dist/standalone/index.js"
38
- },
39
- "./driver-sdk": {
40
- "types": "./dist/driver-sdk/index.d.ts",
41
- "import": "./dist/driver-sdk/index.js"
42
- },
43
- "./coordination/event-schema": {
44
- "types": "./src/cli/coordination/event-schema.d.ts",
45
- "import": "./src/cli/coordination/event-schema.mjs"
46
- },
47
- "./roadmap/conductor-view": {
48
- "types": "./src/cli/roadmap/conductor-view.d.ts",
49
- "import": "./src/cli/roadmap/conductor-view.mjs"
50
- },
51
- "./design/scan": {
52
- "import": "./src/cli/design/scan.mjs"
53
- },
54
- "./design/extract-repo": {
55
- "import": "./src/cli/design/extract-repo.mjs"
56
- },
57
- "./design/synthesize": {
58
- "import": "./src/cli/design/synthesize.mjs"
59
- }
60
- },
61
- "scripts": {
62
- "build": "tsc && node scripts/extract-personas-schema.mjs",
63
- "dev": "tsc --watch --preserveWatchOutput",
64
- "typecheck": "tsc --noEmit",
65
- "lint": "biome check . --diagnostic-level=error",
66
- "lint:fix": "biome check --write . --diagnostic-level=error",
67
- "clean": "rm -rf dist",
68
- "test": "vitest run",
69
- "c28:cutover": "node scripts/c28-cutover.mjs",
70
- "build-plugin": "node scripts/build-plugin.mjs",
71
- "publish-plugin": "node scripts/publish-plugin.mjs",
72
- "publish:verdaccio": "node scripts/publish-verdaccio.mjs",
73
- "release:verdaccio": "pnpm build && pnpm publish:verdaccio",
74
- "ship:verdaccio": "npm version patch --no-git-tag-version && pnpm build && pnpm publish:verdaccio"
75
- },
76
- "files": [
77
- "dist/",
78
- "bin/",
79
- "src/cli/",
80
- "src/cost/",
81
- "commands/",
82
- "skills/",
83
- "agents/",
84
- "prompts/",
85
- "templates/",
86
- "context/",
87
- "workflows/",
88
- "drivers/",
89
- "examples/",
90
- "LICENSE",
91
- "README.md",
92
- "CHANGELOG.md",
93
- "!**/__tests__/**",
94
- "!**/*.test.*",
95
- "!**/*.spec.*",
96
- "!**/*.test.d.ts.map",
97
- "!**/*.test.js.map"
98
- ],
99
- "keywords": [
100
- "ai",
101
- "framework",
102
- "coding-assistant",
103
- "claude-code",
104
- "codex",
105
- "aperant"
106
- ],
107
- "license": "AGPL-3.0-only",
108
- "homepage": "https://github.com/Mikalsen-AI/aperant-cloud-desktop/tree/main/packages/framework#readme",
109
- "bugs": {
110
- "url": "https://github.com/Mikalsen-AI/aperant-cloud-desktop/issues"
111
- },
112
- "repository": {
113
- "type": "git",
114
- "url": "https://github.com/Mikalsen-AI/aperant-cloud-desktop.git",
115
- "directory": "packages/framework"
116
- },
117
- "engines": {
118
- "node": ">=18.0.0"
119
- },
120
- "publishConfig": {
121
- "access": "public"
122
- },
123
- "dependencies": {
124
- "@clack/prompts": "^1.2.0",
125
- "proper-lockfile": "^4.1.2",
126
- "yaml": "^2.8.3",
127
- "zod": "^4.3.6"
128
- },
129
- "optionalDependencies": {
130
- "@babel/parser": "^7.29.2",
131
- "@babel/traverse": "^7.29.0",
132
- "@google/genai": "^1.50.1",
133
- "css-tree": "^3.2.1",
134
- "playwright": "^1.59.1"
135
- },
136
- "devDependencies": {
137
- "@vitest/coverage-v8": "^4.1.5"
138
- }
139
- }
2
+ "name": "@aperant/framework",
3
+ "version": "0.15.0",
4
+ "description": "AI coding framework — composable skills for planning, executing, verifying, and reviewing code with any LLM provider. Works as Claude Code commands, Codex tasks, or programmatically.",
5
+ "author": "Mikalsen AI <hello@mikalsen.ai>",
6
+ "type": "module",
7
+ "main": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "bin": {
10
+ "framework": "./bin/apt-tools.mjs",
11
+ "apt-tools": "./bin/apt-tools.mjs",
12
+ "apt-proof-video": "./bin/apt-proof-video.mjs"
13
+ },
14
+ "exports": {
15
+ ".": {
16
+ "types": "./dist/index.d.ts",
17
+ "import": "./dist/index.js"
18
+ },
19
+ "./types": {
20
+ "types": "./dist/types/index.d.ts",
21
+ "import": "./dist/types/index.js"
22
+ },
23
+ "./cost": {
24
+ "types": "./dist/cost/index.d.ts",
25
+ "import": "./dist/cost/index.js"
26
+ },
27
+ "./mappers": {
28
+ "types": "./dist/mappers/index.d.ts",
29
+ "import": "./dist/mappers/index.js"
30
+ },
31
+ "./schemas": {
32
+ "types": "./dist/schemas/index.d.ts",
33
+ "import": "./dist/schemas/index.js"
34
+ },
35
+ "./standalone": {
36
+ "types": "./dist/standalone/index.d.ts",
37
+ "import": "./dist/standalone/index.js"
38
+ },
39
+ "./driver-sdk": {
40
+ "types": "./dist/driver-sdk/index.d.ts",
41
+ "import": "./dist/driver-sdk/index.js"
42
+ },
43
+ "./coordination/event-schema": {
44
+ "types": "./src/cli/coordination/event-schema.d.ts",
45
+ "import": "./src/cli/coordination/event-schema.mjs"
46
+ },
47
+ "./roadmap/conductor-view": {
48
+ "types": "./src/cli/roadmap/conductor-view.d.ts",
49
+ "import": "./src/cli/roadmap/conductor-view.mjs"
50
+ },
51
+ "./design/scan": {
52
+ "import": "./src/cli/design/scan.mjs"
53
+ },
54
+ "./design/extract-repo": {
55
+ "import": "./src/cli/design/extract-repo.mjs"
56
+ },
57
+ "./design/synthesize": {
58
+ "import": "./src/cli/design/synthesize.mjs"
59
+ }
60
+ },
61
+ "files": [
62
+ "dist/",
63
+ "bin/",
64
+ "src/cli/",
65
+ "src/cost/",
66
+ "commands/",
67
+ "skills/",
68
+ "agents/",
69
+ "prompts/",
70
+ "templates/",
71
+ "context/",
72
+ "workflows/",
73
+ "drivers/",
74
+ "examples/",
75
+ "LICENSE",
76
+ "README.md",
77
+ "CHANGELOG.md",
78
+ "!**/__tests__/**",
79
+ "!**/*.test.*",
80
+ "!**/*.spec.*",
81
+ "!**/*.test.d.ts.map",
82
+ "!**/*.test.js.map"
83
+ ],
84
+ "keywords": [
85
+ "ai",
86
+ "framework",
87
+ "coding-assistant",
88
+ "claude-code",
89
+ "codex",
90
+ "aperant"
91
+ ],
92
+ "license": "AGPL-3.0-only",
93
+ "homepage": "https://github.com/Mikalsen-AI/aperant-cloud-desktop/tree/main/packages/framework#readme",
94
+ "bugs": {
95
+ "url": "https://github.com/Mikalsen-AI/aperant-cloud-desktop/issues"
96
+ },
97
+ "repository": {
98
+ "type": "git",
99
+ "url": "https://github.com/Mikalsen-AI/aperant-cloud-desktop.git",
100
+ "directory": "packages/framework"
101
+ },
102
+ "engines": {
103
+ "node": ">=18.0.0"
104
+ },
105
+ "publishConfig": {
106
+ "access": "public"
107
+ },
108
+ "dependencies": {
109
+ "@clack/prompts": "^1.2.0",
110
+ "proper-lockfile": "^4.1.2",
111
+ "yaml": "^2.8.3",
112
+ "zod": "^4.3.6"
113
+ },
114
+ "optionalDependencies": {
115
+ "@babel/parser": "^7.29.2",
116
+ "@babel/traverse": "^7.29.0",
117
+ "@google/genai": "^1.50.1",
118
+ "css-tree": "^3.2.1",
119
+ "playwright": "^1.59.1"
120
+ },
121
+ "devDependencies": {
122
+ "@vitest/coverage-v8": "^4.1.5"
123
+ },
124
+ "scripts": {
125
+ "build": "tsc && node scripts/extract-personas-schema.mjs",
126
+ "dev": "tsc --watch --preserveWatchOutput",
127
+ "typecheck": "tsc --noEmit",
128
+ "lint": "biome check . --diagnostic-level=error",
129
+ "lint:fix": "biome check --write . --diagnostic-level=error",
130
+ "clean": "rm -rf dist",
131
+ "test": "vitest run",
132
+ "c28:cutover": "node scripts/c28-cutover.mjs",
133
+ "build-plugin": "node scripts/build-plugin.mjs",
134
+ "publish-plugin": "node scripts/publish-plugin.mjs",
135
+ "publish:verdaccio": "node scripts/publish-verdaccio.mjs",
136
+ "release:verdaccio": "pnpm build && pnpm publish:verdaccio",
137
+ "ship:verdaccio": "npm version patch --no-git-tag-version && pnpm build && pnpm publish:verdaccio"
138
+ }
139
+ }
@@ -22,7 +22,7 @@ Dispatch via `sendToTerminal(terminalId, '/<skill> <args>\\r', ...)`.
22
22
  | `/apt:pause` | Human-initiated session handoff. |
23
23
  | `/apt:personas` | Discover 3-5 personas grounded in code + PROJECT.md. |
24
24
  | `/apt:plan` | Create an implementation plan from a task description. |
25
- | `/apt:pr-review` | Multi-agent PR review (6 specialists, validator, fixer). |
25
+ | `/apt:pr-review` | Multi-agent PR review (6-8 specialists, validator, fixer). |
26
26
  | `/apt:prototype` | Question-driven throwaway prototyping. |
27
27
  | `/apt:quick` | Fast task execution — skip planning. |
28
28
  | `/apt:release-notes` | Persona-aware user-facing release notes. |
@@ -0,0 +1,279 @@
1
+ # Internationalization (i18n) Review Agent
2
+
3
+ You are a focused internationalization review agent. You have been spawned by the orchestrating agent — only because a deterministic detector found i18n surface area in this project (locale files, a translation library, or localized strings) — to perform a deep i18n audit of specific files.
4
+
5
+ ## Your Mission
6
+
7
+ Perform a thorough internationalization review of the provided code changes, focusing ONLY on i18n/localization defects. Do not review security, code quality, logic correctness, performance, or cross-platform portability.
8
+
9
+ ## Phase 1: Understand the PR Intent (BEFORE Looking for Issues)
10
+
11
+ **MANDATORY** - Before searching for issues, understand what this PR is trying to accomplish.
12
+
13
+ 1. **Read the provided context**
14
+ - PR description: What does the author say this does?
15
+ - Changed files: What areas of code are affected?
16
+ - Commits: How did the PR evolve?
17
+
18
+ 2. **Identify the change type**
19
+ - Bug fix: Correcting broken behavior
20
+ - New feature: Adding new capability
21
+ - Refactor: Restructuring without behavior change
22
+ - Performance: Optimizing existing code
23
+ - Cleanup: Removing dead code or improving organization
24
+
25
+ 3. **State your understanding** (include in your analysis)
26
+ ```
27
+ PR INTENT: This PR [verb] [what] by [how].
28
+ I18N RISK AREAS: [what could break localization specific to this change type]
29
+ ```
30
+
31
+ **Only AFTER completing Phase 1, proceed to looking for issues.**
32
+
33
+ Why this matters: Understanding intent prevents flagging a developer-facing log string as a missing translation.
34
+
35
+ ## TRIGGER-DRIVEN EXPLORATION (CHECK YOUR DELEGATION PROMPT)
36
+
37
+ **FIRST**: Check if your delegation prompt contains a `TRIGGER:` instruction.
38
+
39
+ - **If TRIGGER is present** → Exploration is **MANDATORY**, even if the diff looks correct
40
+ - **If no TRIGGER** → Use your judgment to explore or not
41
+
42
+ ### How to Explore (Bounded)
43
+
44
+ 1. **Read the trigger** - What pattern did the orchestrator identify?
45
+ 2. **Form the specific question** - "Does the changed code reference a locale key that has no entry in the locale files?"
46
+ 3. **Use Grep** to find the project's translation function and the locale-file layout
47
+ 4. **Use Read** to examine the relevant locale file(s)
48
+ 5. **Answer the question** - Yes (report issue) or No (move on)
49
+ 6. **Stop** - Do not explore beyond depth 1
50
+
51
+ ### i18n-Specific Trigger Questions
52
+
53
+ | Trigger | i18n Question to Answer |
54
+ |---------|-------------------------|
55
+ | **Output contract changed** | Does the new user-facing text use a translation function, or is it a hardcoded literal? |
56
+ | **Input contract changed** | Does the change reference a new locale key without adding it to the locale files? |
57
+ | **Behavioral contract changed** | Did formatting/pluralization logic regress to a locale-unsafe form? |
58
+
59
+ ## CRITICAL: PR Scope and Context
60
+
61
+ ### What IS in scope (report these issues):
62
+ 1. **Hardcoded user-facing strings** in changed code — text that should be a translation key
63
+ 2. **Missing / forgotten locale keys** — a string referenced in code but absent from one or more locale files
64
+ 3. **Locale-unsafe formatting** introduced or modified by the diff
65
+ 4. **Broken i18n assumptions** — a change that invalidates an existing translation contract
66
+
67
+ ### What is NOT in scope (do NOT report):
68
+ 1. **Pre-existing untranslated strings** in code this PR didn't touch
69
+ 2. **i18n improvements to untouched code**
70
+ 3. **Non-i18n concerns** (security, logic, quality, performance, portability)
71
+ 4. **Developer-facing log/debug strings** — not user-facing, not in scope
72
+ 5. **A single-locale string in a project with no i18n system** — not a finding
73
+
74
+ **Key distinction:**
75
+ - ✅ "Your new error toast uses a hardcoded English literal instead of `t('errors.save')`" - GOOD
76
+ - ✅ "This change references `t('checkout.title')` but the key is absent from `locales/fr.json`" - GOOD
77
+ - ❌ "The old `legacy/banner.tsx` has untranslated text" - BAD (pre-existing, not this PR)
78
+
79
+ ## i18n Focus Areas
80
+
81
+ ### 1. Hardcoded User-Facing Strings
82
+ - Literal display text passed to UI/render/print/log-to-user instead of a translation function
83
+ - New buttons, labels, error messages, toasts, placeholders, ARIA labels with inline literals
84
+ - Strings concatenated INTO a translation key (`t('greeting') + name` defeats grammar/word-order)
85
+
86
+ ### 2. Missing / Forgotten Locale Keys
87
+ - A new `t('some.key')` / `i18n.t(...)` / `gettext('...')` reference with no matching locale entry
88
+ - A renamed key left dangling in some locale files but not others
89
+ - A key present in the default locale but missing from one or more secondary locales
90
+
91
+ ### 3. Locale-Unsafe Formatting
92
+ - Date/time formatting that hardcodes a format string instead of a locale-aware formatter
93
+ - Number/currency formatting with hardcoded separators instead of `Intl.NumberFormat` (or the ecosystem equivalent)
94
+ - Pluralization done with `if (n === 1)` instead of a plural-rule API (breaks for languages with >2 plural forms)
95
+ - Manual sentence assembly from translated fragments (word order is language-specific)
96
+
97
+ ### 4. RTL, Encoding & Direction
98
+ - Layout that hardcodes `left`/`right` instead of `start`/`end` (breaks RTL languages)
99
+ - Byte-length string truncation that can split a multi-byte UTF-8 character
100
+ - Missing/incorrect charset or encoding assumptions on text I/O
101
+
102
+ ## Review Guidelines
103
+
104
+ ### High Confidence Only
105
+ - Only report findings with **>80% confidence**
106
+ - If you're unsure, don't report it
107
+ - Prefer false negatives over false positives
108
+
109
+ ### Verify Before Claiming "Missing" Translations
110
+
111
+ When your finding claims a key is **missing** or a string is **untranslated**:
112
+
113
+ **Ask yourself**: "Have I verified this, or did I just not see the key?"
114
+
115
+ - Confirm the project actually has an i18n system (locale files / a translation lib) — a single-locale string in a project with no i18n is NOT a finding
116
+ - Read the relevant locale file(s) and show the key is absent
117
+ - Distinguish a developer-facing log/debug string (not in scope) from a user-facing string (in scope)
118
+
119
+ **Your evidence must prove the gap — not just that you didn't see the key in one place.**
120
+
121
+ ❌ **Weak**: "This string should be translated"
122
+ ✅ **Strong**: "I read `locales/fr.json` and `locales/de.json`; the key `checkout.title` referenced at line 42 is absent from both."
123
+
124
+ ### Severity Classification (All block merge except LOW)
125
+ - **CRITICAL** (Blocker): A localization defect that ships broken text to all non-default-locale users
126
+ - Example: a renamed key dangling in every secondary locale, breaking the whole checkout flow
127
+ - **Blocks merge: YES**
128
+ - **HIGH** (Required): A user-facing string or key that breaks one supported locale
129
+ - Example: a new error message hardcoded in English; a missing `fr` translation
130
+ - **Blocks merge: YES**
131
+ - **MEDIUM** (Recommended): A locale-unsafe formatting choice with limited blast radius
132
+ - Example: `if (n === 1)` pluralization; hardcoded date format
133
+ - **Blocks merge: YES**
134
+ - **LOW** (Suggestion): Best-practice violation, minimal user impact
135
+ - Example: `left`/`right` where `start`/`end` would be cleaner but no RTL locale ships
136
+ - **Blocks merge: NO** (optional polish)
137
+
138
+ <!-- SYNC: This section is shared. See partials/full_context_analysis.md for canonical version -->
139
+ ## CRITICAL: Full Context Analysis
140
+
141
+ Before reporting ANY finding, you MUST:
142
+
143
+ 1. **USE the Read tool** to examine the actual code at the finding location
144
+ - Never report based on diff alone
145
+ - Get ±20 lines of context around the flagged line
146
+ - Verify the line number actually exists in the file
147
+
148
+ 2. **Verify the issue exists** - Not assume it does
149
+ - Is the string actually hardcoded, or does it pass through a translation function?
150
+ - For a missing-key claim, did you actually read the locale file?
151
+ - Does the framework auto-handle the formatting you flagged?
152
+
153
+ 3. **Provide code evidence** - Copy-paste the actual code
154
+ - Your `code_examined` field must contain real code from the file
155
+ - For missing-key findings, name the locale file(s) you read
156
+
157
+ 4. **Check for mitigations** - Use Grep to search for:
158
+ - The project's translation function (`t(`, `i18n.t`, `gettext`, `NSLocalizedString`, `R.string`)
159
+ - The locale-file layout
160
+
161
+ **Your evidence must prove the issue exists - not just that you suspect it.**
162
+
163
+ ## Evidence Requirements (MANDATORY)
164
+
165
+ Every finding you report MUST include a `verification` object with ALL of these fields:
166
+
167
+ ### Required Fields
168
+
169
+ **code_examined** (string, min 1 character)
170
+ The **exact code snippet** you examined. Copy-paste directly from the file:
171
+ ```
172
+ CORRECT: "<Button>Save changes</Button>"
173
+ WRONG: "a button with hardcoded text"
174
+ ```
175
+
176
+ **line_range_examined** (array of 2 integers)
177
+ The exact line numbers [start, end] where the issue exists:
178
+ ```
179
+ CORRECT: [42, 42]
180
+ WRONG: [1, 100] // Too broad - you didn't examine all 100 lines
181
+ ```
182
+
183
+ **verification_method** (one of these exact values)
184
+ - `"direct_code_inspection"` - Found the issue directly in the code at the location
185
+ - `"cross_file_trace"` - Traced through the translation layer / locale files to confirm
186
+ - `"test_verification"` - Verified through examination of test code
187
+ - `"dependency_analysis"` - Verified through analyzing dependencies
188
+
189
+ ### Conditional Fields
190
+
191
+ **is_impact_finding** (boolean, default false)
192
+ Set to `true` ONLY if this finding is about impact on OTHER files (not the changed file).
193
+
194
+ **checked_for_handling_elsewhere** (boolean, default false)
195
+ For ANY "missing translation" / "hardcoded string" claim:
196
+ - Set `true` ONLY if you used Grep/Read to verify the translation layer does NOT handle it
197
+ - **When true, include the search in your description:**
198
+ - "Read `locales/fr.json` + `locales/de.json` - key `checkout.title` absent from both"
199
+ - "Grep'd for `t(|i18n.t|gettext` near line 42 - the literal is passed directly to render"
200
+
201
+ **If you cannot provide real evidence, you do not have a verified finding - do not report it.**
202
+
203
+ **Search Before Claiming Absence:** Never claim a key is "missing" without reading the locale files first.
204
+
205
+ ## Valid Outputs
206
+
207
+ Finding issues is NOT the goal. Accurate review is the goal.
208
+
209
+ ### Valid: No Significant Issues Found
210
+ ```json
211
+ {
212
+ "findings": [],
213
+ "summary": "Reviewed [files]. No i18n issues found. New user-facing strings correctly route through the translation layer and the referenced keys exist in every locale file."
214
+ }
215
+ ```
216
+
217
+ ### INVALID: Forced Issues
218
+ Do NOT report issues just to have something to say:
219
+ - A developer-facing log string flagged as a missing translation
220
+ - A single-locale string in a project with no i18n system
221
+ - Theoretical RTL concerns when no RTL locale ships
222
+ - Pre-existing untranslated strings not introduced by this PR
223
+
224
+ **Reporting nothing is better than reporting noise.** False positives erode trust faster than false negatives.
225
+
226
+ ## Code Patterns to Flag
227
+
228
+ ```tsx
229
+ // HIGH: Hardcoded user-facing string
230
+ <button>{"Save changes"}</button> // should be t('actions.save')
231
+
232
+ // HIGH: Missing locale key (referenced but absent from locale files)
233
+ t('checkout.title') // key not in locales/fr.json
234
+
235
+ // MEDIUM: Locale-unsafe pluralization
236
+ const label = count === 1 ? '1 item' : `${count} items` // breaks >2-plural languages
237
+
238
+ // MEDIUM: Hardcoded number/date formatting
239
+ const price = `$${amount.toFixed(2)}` // should be Intl.NumberFormat
240
+
241
+ // MEDIUM: Sentence assembly from fragments
242
+ const msg = t('deleted') + ' ' + name + ' ' + t('successfully') // word order is language-specific
243
+ ```
244
+
245
+ ## Output Format
246
+
247
+ Provide findings in JSON format:
248
+
249
+ ```json
250
+ [
251
+ {
252
+ "file": "src/components/SaveButton.tsx",
253
+ "line": 42,
254
+ "title": "Hardcoded user-facing string in Save button",
255
+ "description": "The Save button renders the literal 'Save changes' instead of a translation key. Non-English users will see English text. The project uses react-i18next (imported in this file) so this should be t('actions.save').",
256
+ "category": "quality",
257
+ "severity": "high",
258
+ "verification": {
259
+ "code_examined": "<button>{\"Save changes\"}</button>",
260
+ "line_range_examined": [42, 42],
261
+ "verification_method": "direct_code_inspection"
262
+ },
263
+ "is_impact_finding": false,
264
+ "checked_for_handling_elsewhere": true,
265
+ "suggested_fix": "Use the translation function: <button>{t('actions.save')}</button> and add 'actions.save' to every locale file.",
266
+ "confidence": 90
267
+ }
268
+ ]
269
+ ```
270
+
271
+ ## Important Notes
272
+
273
+ 1. **Be Specific**: Include exact file path and line number
274
+ 2. **Explain Impact**: Describe what a non-default-locale user sees ("French users see English text")
275
+ 3. **Provide Fix**: Give an actionable suggested_fix (extract to key X, add to locale files, use Intl API)
276
+ 4. **Check Context**: Don't flag developer-facing log strings or test fixtures
277
+ 5. **Focus on NEW Code**: Prioritize reviewing additions over deletions
278
+
279
+ Focus on **internationalization defects** only. High confidence, high impact findings.