@jeger-ai/opengantry 1.0.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 (515) hide show
  1. package/LICENSE +235 -0
  2. package/NOTICE +16 -0
  3. package/README.md +337 -0
  4. package/dist/cli/commands/arch.d.ts +19 -0
  5. package/dist/cli/commands/arch.d.ts.map +1 -0
  6. package/dist/cli/commands/arch.js +86 -0
  7. package/dist/cli/commands/arch.js.map +1 -0
  8. package/dist/cli/commands/check.d.ts +2 -0
  9. package/dist/cli/commands/check.d.ts.map +1 -0
  10. package/dist/cli/commands/check.js +16 -0
  11. package/dist/cli/commands/check.js.map +1 -0
  12. package/dist/cli/commands/doctor.d.ts +12 -0
  13. package/dist/cli/commands/doctor.d.ts.map +1 -0
  14. package/dist/cli/commands/doctor.js +40 -0
  15. package/dist/cli/commands/doctor.js.map +1 -0
  16. package/dist/cli/commands/init.d.ts +18 -0
  17. package/dist/cli/commands/init.d.ts.map +1 -0
  18. package/dist/cli/commands/init.js +185 -0
  19. package/dist/cli/commands/init.js.map +1 -0
  20. package/dist/cli/commands/legislate.d.ts +21 -0
  21. package/dist/cli/commands/legislate.d.ts.map +1 -0
  22. package/dist/cli/commands/legislate.js +143 -0
  23. package/dist/cli/commands/legislate.js.map +1 -0
  24. package/dist/cli/commands/mcp-serve.d.ts +2 -0
  25. package/dist/cli/commands/mcp-serve.d.ts.map +1 -0
  26. package/dist/cli/commands/mcp-serve.js +14 -0
  27. package/dist/cli/commands/mcp-serve.js.map +1 -0
  28. package/dist/cli/commands/metrics.d.ts +6 -0
  29. package/dist/cli/commands/metrics.d.ts.map +1 -0
  30. package/dist/cli/commands/metrics.js +20 -0
  31. package/dist/cli/commands/metrics.js.map +1 -0
  32. package/dist/cli/commands/mission.d.ts +3 -0
  33. package/dist/cli/commands/mission.d.ts.map +1 -0
  34. package/dist/cli/commands/mission.js +29 -0
  35. package/dist/cli/commands/mission.js.map +1 -0
  36. package/dist/cli/commands/onboarding.d.ts +2 -0
  37. package/dist/cli/commands/onboarding.d.ts.map +1 -0
  38. package/dist/cli/commands/onboarding.js +85 -0
  39. package/dist/cli/commands/onboarding.js.map +1 -0
  40. package/dist/cli/commands/runtime.d.ts +19 -0
  41. package/dist/cli/commands/runtime.d.ts.map +1 -0
  42. package/dist/cli/commands/runtime.js +101 -0
  43. package/dist/cli/commands/runtime.js.map +1 -0
  44. package/dist/cli/commands/start.d.ts +4 -0
  45. package/dist/cli/commands/start.d.ts.map +1 -0
  46. package/dist/cli/commands/start.js +3 -0
  47. package/dist/cli/commands/start.js.map +1 -0
  48. package/dist/cli/commands/status.d.ts +8 -0
  49. package/dist/cli/commands/status.d.ts.map +1 -0
  50. package/dist/cli/commands/status.js +65 -0
  51. package/dist/cli/commands/status.js.map +1 -0
  52. package/dist/cli/commands/teacher.d.ts +11 -0
  53. package/dist/cli/commands/teacher.d.ts.map +1 -0
  54. package/dist/cli/commands/teacher.js +48 -0
  55. package/dist/cli/commands/teacher.js.map +1 -0
  56. package/dist/cli/commands/triage.d.ts +10 -0
  57. package/dist/cli/commands/triage.d.ts.map +1 -0
  58. package/dist/cli/commands/triage.js +48 -0
  59. package/dist/cli/commands/triage.js.map +1 -0
  60. package/dist/cli/commands/upgrade.d.ts +10 -0
  61. package/dist/cli/commands/upgrade.d.ts.map +1 -0
  62. package/dist/cli/commands/upgrade.js +89 -0
  63. package/dist/cli/commands/upgrade.js.map +1 -0
  64. package/dist/cli/commands/verify.d.ts +6 -0
  65. package/dist/cli/commands/verify.d.ts.map +1 -0
  66. package/dist/cli/commands/verify.js +33 -0
  67. package/dist/cli/commands/verify.js.map +1 -0
  68. package/dist/cli/index.d.ts +3 -0
  69. package/dist/cli/index.d.ts.map +1 -0
  70. package/dist/cli/index.js +13 -0
  71. package/dist/cli/index.js.map +1 -0
  72. package/dist/cli/lib/agent-error.d.ts +20 -0
  73. package/dist/cli/lib/agent-error.d.ts.map +1 -0
  74. package/dist/cli/lib/agent-error.js +58 -0
  75. package/dist/cli/lib/agent-error.js.map +1 -0
  76. package/dist/cli/lib/architecture-credential.d.ts +22 -0
  77. package/dist/cli/lib/architecture-credential.d.ts.map +1 -0
  78. package/dist/cli/lib/architecture-credential.js +198 -0
  79. package/dist/cli/lib/architecture-credential.js.map +1 -0
  80. package/dist/cli/lib/architecture-pointer-discovery.d.ts +7 -0
  81. package/dist/cli/lib/architecture-pointer-discovery.d.ts.map +1 -0
  82. package/dist/cli/lib/architecture-pointer-discovery.js +60 -0
  83. package/dist/cli/lib/architecture-pointer-discovery.js.map +1 -0
  84. package/dist/cli/lib/architecture-pointer-doctor.d.ts +3 -0
  85. package/dist/cli/lib/architecture-pointer-doctor.d.ts.map +1 -0
  86. package/dist/cli/lib/architecture-pointer-doctor.js +114 -0
  87. package/dist/cli/lib/architecture-pointer-doctor.js.map +1 -0
  88. package/dist/cli/lib/architecture-pointer-schema.d.ts +5 -0
  89. package/dist/cli/lib/architecture-pointer-schema.d.ts.map +1 -0
  90. package/dist/cli/lib/architecture-pointer-schema.js +137 -0
  91. package/dist/cli/lib/architecture-pointer-schema.js.map +1 -0
  92. package/dist/cli/lib/architecture-pointer-types.d.ts +24 -0
  93. package/dist/cli/lib/architecture-pointer-types.d.ts.map +1 -0
  94. package/dist/cli/lib/architecture-pointer-types.js +7 -0
  95. package/dist/cli/lib/architecture-pointer-types.js.map +1 -0
  96. package/dist/cli/lib/architecture-pointer.d.ts +7 -0
  97. package/dist/cli/lib/architecture-pointer.d.ts.map +1 -0
  98. package/dist/cli/lib/architecture-pointer.js +10 -0
  99. package/dist/cli/lib/architecture-pointer.js.map +1 -0
  100. package/dist/cli/lib/atomic-fs.d.ts +9 -0
  101. package/dist/cli/lib/atomic-fs.d.ts.map +1 -0
  102. package/dist/cli/lib/atomic-fs.js +63 -0
  103. package/dist/cli/lib/atomic-fs.js.map +1 -0
  104. package/dist/cli/lib/audience-output.d.ts +18 -0
  105. package/dist/cli/lib/audience-output.d.ts.map +1 -0
  106. package/dist/cli/lib/audience-output.js +80 -0
  107. package/dist/cli/lib/audience-output.js.map +1 -0
  108. package/dist/cli/lib/break-glass.d.ts +25 -0
  109. package/dist/cli/lib/break-glass.d.ts.map +1 -0
  110. package/dist/cli/lib/break-glass.js +134 -0
  111. package/dist/cli/lib/break-glass.js.map +1 -0
  112. package/dist/cli/lib/cli-io.d.ts +9 -0
  113. package/dist/cli/lib/cli-io.d.ts.map +1 -0
  114. package/dist/cli/lib/cli-io.js +38 -0
  115. package/dist/cli/lib/cli-io.js.map +1 -0
  116. package/dist/cli/lib/cli-timeout.d.ts +9 -0
  117. package/dist/cli/lib/cli-timeout.d.ts.map +1 -0
  118. package/dist/cli/lib/cli-timeout.js +17 -0
  119. package/dist/cli/lib/cli-timeout.js.map +1 -0
  120. package/dist/cli/lib/constants.d.ts +26 -0
  121. package/dist/cli/lib/constants.d.ts.map +1 -0
  122. package/dist/cli/lib/constants.js +26 -0
  123. package/dist/cli/lib/constants.js.map +1 -0
  124. package/dist/cli/lib/dirty-missions.d.ts +8 -0
  125. package/dist/cli/lib/dirty-missions.d.ts.map +1 -0
  126. package/dist/cli/lib/dirty-missions.js +65 -0
  127. package/dist/cli/lib/dirty-missions.js.map +1 -0
  128. package/dist/cli/lib/doctor-checks.d.ts +16 -0
  129. package/dist/cli/lib/doctor-checks.d.ts.map +1 -0
  130. package/dist/cli/lib/doctor-checks.js +138 -0
  131. package/dist/cli/lib/doctor-checks.js.map +1 -0
  132. package/dist/cli/lib/doctor-integration-checks.d.ts +5 -0
  133. package/dist/cli/lib/doctor-integration-checks.d.ts.map +1 -0
  134. package/dist/cli/lib/doctor-integration-checks.js +88 -0
  135. package/dist/cli/lib/doctor-integration-checks.js.map +1 -0
  136. package/dist/cli/lib/doctor-orchestration.d.ts +10 -0
  137. package/dist/cli/lib/doctor-orchestration.d.ts.map +1 -0
  138. package/dist/cli/lib/doctor-orchestration.js +25 -0
  139. package/dist/cli/lib/doctor-orchestration.js.map +1 -0
  140. package/dist/cli/lib/draft-token.d.ts +37 -0
  141. package/dist/cli/lib/draft-token.d.ts.map +1 -0
  142. package/dist/cli/lib/draft-token.js +171 -0
  143. package/dist/cli/lib/draft-token.js.map +1 -0
  144. package/dist/cli/lib/fix-hints.d.ts +51 -0
  145. package/dist/cli/lib/fix-hints.d.ts.map +1 -0
  146. package/dist/cli/lib/fix-hints.js +197 -0
  147. package/dist/cli/lib/fix-hints.js.map +1 -0
  148. package/dist/cli/lib/forbidden-scan.d.ts +18 -0
  149. package/dist/cli/lib/forbidden-scan.d.ts.map +1 -0
  150. package/dist/cli/lib/forbidden-scan.js +96 -0
  151. package/dist/cli/lib/forbidden-scan.js.map +1 -0
  152. package/dist/cli/lib/gate.d.ts +10 -0
  153. package/dist/cli/lib/gate.d.ts.map +1 -0
  154. package/dist/cli/lib/gate.js +30 -0
  155. package/dist/cli/lib/gate.js.map +1 -0
  156. package/dist/cli/lib/git-metrics-missions.d.ts +3 -0
  157. package/dist/cli/lib/git-metrics-missions.d.ts.map +1 -0
  158. package/dist/cli/lib/git-metrics-missions.js +51 -0
  159. package/dist/cli/lib/git-metrics-missions.js.map +1 -0
  160. package/dist/cli/lib/git-metrics-stream.d.ts +24 -0
  161. package/dist/cli/lib/git-metrics-stream.d.ts.map +1 -0
  162. package/dist/cli/lib/git-metrics-stream.js +137 -0
  163. package/dist/cli/lib/git-metrics-stream.js.map +1 -0
  164. package/dist/cli/lib/git-metrics.d.ts +18 -0
  165. package/dist/cli/lib/git-metrics.d.ts.map +1 -0
  166. package/dist/cli/lib/git-metrics.js +39 -0
  167. package/dist/cli/lib/git-metrics.js.map +1 -0
  168. package/dist/cli/lib/git-proof-errors.d.ts +3 -0
  169. package/dist/cli/lib/git-proof-errors.d.ts.map +1 -0
  170. package/dist/cli/lib/git-proof-errors.js +7 -0
  171. package/dist/cli/lib/git-proof-errors.js.map +1 -0
  172. package/dist/cli/lib/git-proof.d.ts +37 -0
  173. package/dist/cli/lib/git-proof.d.ts.map +1 -0
  174. package/dist/cli/lib/git-proof.js +147 -0
  175. package/dist/cli/lib/git-proof.js.map +1 -0
  176. package/dist/cli/lib/git-repo.d.ts +17 -0
  177. package/dist/cli/lib/git-repo.d.ts.map +1 -0
  178. package/dist/cli/lib/git-repo.js +39 -0
  179. package/dist/cli/lib/git-repo.js.map +1 -0
  180. package/dist/cli/lib/git.d.ts +2 -0
  181. package/dist/cli/lib/git.d.ts.map +1 -0
  182. package/dist/cli/lib/git.js +19 -0
  183. package/dist/cli/lib/git.js.map +1 -0
  184. package/dist/cli/lib/gitignore-gxt.d.ts +2 -0
  185. package/dist/cli/lib/gitignore-gxt.d.ts.map +1 -0
  186. package/dist/cli/lib/gitignore-gxt.js +24 -0
  187. package/dist/cli/lib/gitignore-gxt.js.map +1 -0
  188. package/dist/cli/lib/gxt-error-codes.d.ts +19 -0
  189. package/dist/cli/lib/gxt-error-codes.d.ts.map +1 -0
  190. package/dist/cli/lib/gxt-error-codes.js +60 -0
  191. package/dist/cli/lib/gxt-error-codes.js.map +1 -0
  192. package/dist/cli/lib/init-asset-catalog.d.ts +15 -0
  193. package/dist/cli/lib/init-asset-catalog.d.ts.map +1 -0
  194. package/dist/cli/lib/init-asset-catalog.js +163 -0
  195. package/dist/cli/lib/init-asset-catalog.js.map +1 -0
  196. package/dist/cli/lib/init-assets.d.ts +8 -0
  197. package/dist/cli/lib/init-assets.d.ts.map +1 -0
  198. package/dist/cli/lib/init-assets.js +3 -0
  199. package/dist/cli/lib/init-assets.js.map +1 -0
  200. package/dist/cli/lib/init-compose-arch-pointer.d.ts +6 -0
  201. package/dist/cli/lib/init-compose-arch-pointer.d.ts.map +1 -0
  202. package/dist/cli/lib/init-compose-arch-pointer.js +64 -0
  203. package/dist/cli/lib/init-compose-arch-pointer.js.map +1 -0
  204. package/dist/cli/lib/init-compose-doc.d.ts +5 -0
  205. package/dist/cli/lib/init-compose-doc.d.ts.map +1 -0
  206. package/dist/cli/lib/init-compose-doc.js +37 -0
  207. package/dist/cli/lib/init-compose-doc.js.map +1 -0
  208. package/dist/cli/lib/init-interactive.d.ts +8 -0
  209. package/dist/cli/lib/init-interactive.d.ts.map +1 -0
  210. package/dist/cli/lib/init-interactive.js +195 -0
  211. package/dist/cli/lib/init-interactive.js.map +1 -0
  212. package/dist/cli/lib/init-plan.d.ts +20 -0
  213. package/dist/cli/lib/init-plan.d.ts.map +1 -0
  214. package/dist/cli/lib/init-plan.js +92 -0
  215. package/dist/cli/lib/init-plan.js.map +1 -0
  216. package/dist/cli/lib/init-profile.d.ts +39 -0
  217. package/dist/cli/lib/init-profile.d.ts.map +1 -0
  218. package/dist/cli/lib/init-profile.js +93 -0
  219. package/dist/cli/lib/init-profile.js.map +1 -0
  220. package/dist/cli/lib/init-tutorial.d.ts +2 -0
  221. package/dist/cli/lib/init-tutorial.d.ts.map +1 -0
  222. package/dist/cli/lib/init-tutorial.js +156 -0
  223. package/dist/cli/lib/init-tutorial.js.map +1 -0
  224. package/dist/cli/lib/integration-compat.d.ts +24 -0
  225. package/dist/cli/lib/integration-compat.d.ts.map +1 -0
  226. package/dist/cli/lib/integration-compat.js +50 -0
  227. package/dist/cli/lib/integration-compat.js.map +1 -0
  228. package/dist/cli/lib/legislate-skill.d.ts +20 -0
  229. package/dist/cli/lib/legislate-skill.d.ts.map +1 -0
  230. package/dist/cli/lib/legislate-skill.js +30 -0
  231. package/dist/cli/lib/legislate-skill.js.map +1 -0
  232. package/dist/cli/lib/manifest.d.ts +6 -0
  233. package/dist/cli/lib/manifest.d.ts.map +1 -0
  234. package/dist/cli/lib/manifest.js +53 -0
  235. package/dist/cli/lib/manifest.js.map +1 -0
  236. package/dist/cli/lib/mcp-legislation.d.ts +82 -0
  237. package/dist/cli/lib/mcp-legislation.d.ts.map +1 -0
  238. package/dist/cli/lib/mcp-legislation.js +181 -0
  239. package/dist/cli/lib/mcp-legislation.js.map +1 -0
  240. package/dist/cli/lib/mcp-orchestration.d.ts +12 -0
  241. package/dist/cli/lib/mcp-orchestration.d.ts.map +1 -0
  242. package/dist/cli/lib/mcp-orchestration.js +54 -0
  243. package/dist/cli/lib/mcp-orchestration.js.map +1 -0
  244. package/dist/cli/lib/mcp-runtime.d.ts +60 -0
  245. package/dist/cli/lib/mcp-runtime.d.ts.map +1 -0
  246. package/dist/cli/lib/mcp-runtime.js +133 -0
  247. package/dist/cli/lib/mcp-runtime.js.map +1 -0
  248. package/dist/cli/lib/mcp-tools-register.d.ts +4 -0
  249. package/dist/cli/lib/mcp-tools-register.d.ts.map +1 -0
  250. package/dist/cli/lib/mcp-tools-register.js +78 -0
  251. package/dist/cli/lib/mcp-tools-register.js.map +1 -0
  252. package/dist/cli/lib/mcp-upgrade.d.ts +7 -0
  253. package/dist/cli/lib/mcp-upgrade.d.ts.map +1 -0
  254. package/dist/cli/lib/mcp-upgrade.js +38 -0
  255. package/dist/cli/lib/mcp-upgrade.js.map +1 -0
  256. package/dist/cli/lib/mission-emit.d.ts +7 -0
  257. package/dist/cli/lib/mission-emit.d.ts.map +1 -0
  258. package/dist/cli/lib/mission-emit.js +23 -0
  259. package/dist/cli/lib/mission-emit.js.map +1 -0
  260. package/dist/cli/lib/mission-legislative-stub.d.ts +9 -0
  261. package/dist/cli/lib/mission-legislative-stub.d.ts.map +1 -0
  262. package/dist/cli/lib/mission-legislative-stub.js +36 -0
  263. package/dist/cli/lib/mission-legislative-stub.js.map +1 -0
  264. package/dist/cli/lib/mission-markdown.d.ts +6 -0
  265. package/dist/cli/lib/mission-markdown.d.ts.map +1 -0
  266. package/dist/cli/lib/mission-markdown.js +84 -0
  267. package/dist/cli/lib/mission-markdown.js.map +1 -0
  268. package/dist/cli/lib/mission-msn.d.ts +10 -0
  269. package/dist/cli/lib/mission-msn.d.ts.map +1 -0
  270. package/dist/cli/lib/mission-msn.js +85 -0
  271. package/dist/cli/lib/mission-msn.js.map +1 -0
  272. package/dist/cli/lib/mission-parser.d.ts +6 -0
  273. package/dist/cli/lib/mission-parser.d.ts.map +1 -0
  274. package/dist/cli/lib/mission-parser.js +29 -0
  275. package/dist/cli/lib/mission-parser.js.map +1 -0
  276. package/dist/cli/lib/mission-path.d.ts +4 -0
  277. package/dist/cli/lib/mission-path.d.ts.map +1 -0
  278. package/dist/cli/lib/mission-path.js +28 -0
  279. package/dist/cli/lib/mission-path.js.map +1 -0
  280. package/dist/cli/lib/mission-resolution.d.ts +14 -0
  281. package/dist/cli/lib/mission-resolution.d.ts.map +1 -0
  282. package/dist/cli/lib/mission-resolution.js +60 -0
  283. package/dist/cli/lib/mission-resolution.js.map +1 -0
  284. package/dist/cli/lib/mission-yaml.d.ts +12 -0
  285. package/dist/cli/lib/mission-yaml.d.ts.map +1 -0
  286. package/dist/cli/lib/mission-yaml.js +96 -0
  287. package/dist/cli/lib/mission-yaml.js.map +1 -0
  288. package/dist/cli/lib/msn-allocate.d.ts +13 -0
  289. package/dist/cli/lib/msn-allocate.d.ts.map +1 -0
  290. package/dist/cli/lib/msn-allocate.js +98 -0
  291. package/dist/cli/lib/msn-allocate.js.map +1 -0
  292. package/dist/cli/lib/msn.d.ts +2 -0
  293. package/dist/cli/lib/msn.d.ts.map +1 -0
  294. package/dist/cli/lib/msn.js +5 -0
  295. package/dist/cli/lib/msn.js.map +1 -0
  296. package/dist/cli/lib/onboarding-flow.d.ts +11 -0
  297. package/dist/cli/lib/onboarding-flow.d.ts.map +1 -0
  298. package/dist/cli/lib/onboarding-flow.js +25 -0
  299. package/dist/cli/lib/onboarding-flow.js.map +1 -0
  300. package/dist/cli/lib/out-of-scope-hint.d.ts +7 -0
  301. package/dist/cli/lib/out-of-scope-hint.d.ts.map +1 -0
  302. package/dist/cli/lib/out-of-scope-hint.js +79 -0
  303. package/dist/cli/lib/out-of-scope-hint.js.map +1 -0
  304. package/dist/cli/lib/output-context.d.ts +22 -0
  305. package/dist/cli/lib/output-context.d.ts.map +1 -0
  306. package/dist/cli/lib/output-context.js +55 -0
  307. package/dist/cli/lib/output-context.js.map +1 -0
  308. package/dist/cli/lib/program-audience-hook.d.ts +4 -0
  309. package/dist/cli/lib/program-audience-hook.d.ts.map +1 -0
  310. package/dist/cli/lib/program-audience-hook.js +35 -0
  311. package/dist/cli/lib/program-audience-hook.js.map +1 -0
  312. package/dist/cli/lib/runtime-env.d.ts +23 -0
  313. package/dist/cli/lib/runtime-env.d.ts.map +1 -0
  314. package/dist/cli/lib/runtime-env.js +64 -0
  315. package/dist/cli/lib/runtime-env.js.map +1 -0
  316. package/dist/cli/lib/runtime-exec-orchestrator.d.ts +14 -0
  317. package/dist/cli/lib/runtime-exec-orchestrator.d.ts.map +1 -0
  318. package/dist/cli/lib/runtime-exec-orchestrator.js +131 -0
  319. package/dist/cli/lib/runtime-exec-orchestrator.js.map +1 -0
  320. package/dist/cli/lib/runtime-exec-process.d.ts +23 -0
  321. package/dist/cli/lib/runtime-exec-process.d.ts.map +1 -0
  322. package/dist/cli/lib/runtime-exec-process.js +55 -0
  323. package/dist/cli/lib/runtime-exec-process.js.map +1 -0
  324. package/dist/cli/lib/runtime-exec-result.d.ts +21 -0
  325. package/dist/cli/lib/runtime-exec-result.d.ts.map +1 -0
  326. package/dist/cli/lib/runtime-exec-result.js +42 -0
  327. package/dist/cli/lib/runtime-exec-result.js.map +1 -0
  328. package/dist/cli/lib/runtime-exec-worker.d.ts +18 -0
  329. package/dist/cli/lib/runtime-exec-worker.d.ts.map +1 -0
  330. package/dist/cli/lib/runtime-exec-worker.js +49 -0
  331. package/dist/cli/lib/runtime-exec-worker.js.map +1 -0
  332. package/dist/cli/lib/runtime-exec.d.ts +5 -0
  333. package/dist/cli/lib/runtime-exec.d.ts.map +1 -0
  334. package/dist/cli/lib/runtime-exec.js +5 -0
  335. package/dist/cli/lib/runtime-exec.js.map +1 -0
  336. package/dist/cli/lib/skill-sync.d.ts +11 -0
  337. package/dist/cli/lib/skill-sync.d.ts.map +1 -0
  338. package/dist/cli/lib/skill-sync.js +39 -0
  339. package/dist/cli/lib/skill-sync.js.map +1 -0
  340. package/dist/cli/lib/start-orchestration.d.ts +29 -0
  341. package/dist/cli/lib/start-orchestration.d.ts.map +1 -0
  342. package/dist/cli/lib/start-orchestration.js +176 -0
  343. package/dist/cli/lib/start-orchestration.js.map +1 -0
  344. package/dist/cli/lib/start-state.d.ts +12 -0
  345. package/dist/cli/lib/start-state.d.ts.map +1 -0
  346. package/dist/cli/lib/start-state.js +86 -0
  347. package/dist/cli/lib/start-state.js.map +1 -0
  348. package/dist/cli/lib/status-report.d.ts +21 -0
  349. package/dist/cli/lib/status-report.d.ts.map +1 -0
  350. package/dist/cli/lib/status-report.js +77 -0
  351. package/dist/cli/lib/status-report.js.map +1 -0
  352. package/dist/cli/lib/substrate-version.d.ts +22 -0
  353. package/dist/cli/lib/substrate-version.d.ts.map +1 -0
  354. package/dist/cli/lib/substrate-version.js +97 -0
  355. package/dist/cli/lib/substrate-version.js.map +1 -0
  356. package/dist/cli/lib/teacher-identity.d.ts +24 -0
  357. package/dist/cli/lib/teacher-identity.d.ts.map +1 -0
  358. package/dist/cli/lib/teacher-identity.js +123 -0
  359. package/dist/cli/lib/teacher-identity.js.map +1 -0
  360. package/dist/cli/lib/telemetry-log.d.ts +22 -0
  361. package/dist/cli/lib/telemetry-log.d.ts.map +1 -0
  362. package/dist/cli/lib/telemetry-log.js +50 -0
  363. package/dist/cli/lib/telemetry-log.js.map +1 -0
  364. package/dist/cli/lib/trace-failure-kind.d.ts +4 -0
  365. package/dist/cli/lib/trace-failure-kind.d.ts.map +1 -0
  366. package/dist/cli/lib/trace-failure-kind.js +23 -0
  367. package/dist/cli/lib/trace-failure-kind.js.map +1 -0
  368. package/dist/cli/lib/trace.d.ts +25 -0
  369. package/dist/cli/lib/trace.d.ts.map +1 -0
  370. package/dist/cli/lib/trace.js +121 -0
  371. package/dist/cli/lib/trace.js.map +1 -0
  372. package/dist/cli/lib/triage-logic.d.ts +10 -0
  373. package/dist/cli/lib/triage-logic.d.ts.map +1 -0
  374. package/dist/cli/lib/triage-logic.js +105 -0
  375. package/dist/cli/lib/triage-logic.js.map +1 -0
  376. package/dist/cli/lib/types.d.ts +62 -0
  377. package/dist/cli/lib/types.d.ts.map +1 -0
  378. package/dist/cli/lib/types.js +2 -0
  379. package/dist/cli/lib/types.js.map +1 -0
  380. package/dist/cli/lib/upgrade-apply.d.ts +15 -0
  381. package/dist/cli/lib/upgrade-apply.d.ts.map +1 -0
  382. package/dist/cli/lib/upgrade-apply.js +122 -0
  383. package/dist/cli/lib/upgrade-apply.js.map +1 -0
  384. package/dist/cli/lib/upgrade-eligible-assets.d.ts +5 -0
  385. package/dist/cli/lib/upgrade-eligible-assets.d.ts.map +1 -0
  386. package/dist/cli/lib/upgrade-eligible-assets.js +9 -0
  387. package/dist/cli/lib/upgrade-eligible-assets.js.map +1 -0
  388. package/dist/cli/lib/upgrade-plan.d.ts +43 -0
  389. package/dist/cli/lib/upgrade-plan.d.ts.map +1 -0
  390. package/dist/cli/lib/upgrade-plan.js +220 -0
  391. package/dist/cli/lib/upgrade-plan.js.map +1 -0
  392. package/dist/cli/lib/upgrade-profile.d.ts +4 -0
  393. package/dist/cli/lib/upgrade-profile.d.ts.map +1 -0
  394. package/dist/cli/lib/upgrade-profile.js +27 -0
  395. package/dist/cli/lib/upgrade-profile.js.map +1 -0
  396. package/dist/cli/lib/user-error.d.ts +20 -0
  397. package/dist/cli/lib/user-error.d.ts.map +1 -0
  398. package/dist/cli/lib/user-error.js +64 -0
  399. package/dist/cli/lib/user-error.js.map +1 -0
  400. package/dist/cli/lib/verify-engine.d.ts +33 -0
  401. package/dist/cli/lib/verify-engine.d.ts.map +1 -0
  402. package/dist/cli/lib/verify-engine.js +104 -0
  403. package/dist/cli/lib/verify-engine.js.map +1 -0
  404. package/dist/cli/lib/verify-failure-presentation.d.ts +31 -0
  405. package/dist/cli/lib/verify-failure-presentation.d.ts.map +1 -0
  406. package/dist/cli/lib/verify-failure-presentation.js +93 -0
  407. package/dist/cli/lib/verify-failure-presentation.js.map +1 -0
  408. package/dist/cli/lib/verify-flow.d.ts +21 -0
  409. package/dist/cli/lib/verify-flow.d.ts.map +1 -0
  410. package/dist/cli/lib/verify-flow.js +103 -0
  411. package/dist/cli/lib/verify-flow.js.map +1 -0
  412. package/dist/cli/lib/verify-repair.d.ts +4 -0
  413. package/dist/cli/lib/verify-repair.d.ts.map +1 -0
  414. package/dist/cli/lib/verify-repair.js +61 -0
  415. package/dist/cli/lib/verify-repair.js.map +1 -0
  416. package/dist/cli/lib/verify-types.d.ts +21 -0
  417. package/dist/cli/lib/verify-types.d.ts.map +1 -0
  418. package/dist/cli/lib/verify-types.js +2 -0
  419. package/dist/cli/lib/verify-types.js.map +1 -0
  420. package/dist/cli/lib/version.gen.d.ts +4 -0
  421. package/dist/cli/lib/version.gen.d.ts.map +1 -0
  422. package/dist/cli/lib/version.gen.js +4 -0
  423. package/dist/cli/lib/version.gen.js.map +1 -0
  424. package/dist/cli/lib/worker-log-line-map.d.ts +12 -0
  425. package/dist/cli/lib/worker-log-line-map.d.ts.map +1 -0
  426. package/dist/cli/lib/worker-log-line-map.js +29 -0
  427. package/dist/cli/lib/worker-log-line-map.js.map +1 -0
  428. package/dist/cli/lib/workspace.d.ts +11 -0
  429. package/dist/cli/lib/workspace.d.ts.map +1 -0
  430. package/dist/cli/lib/workspace.js +14 -0
  431. package/dist/cli/lib/workspace.js.map +1 -0
  432. package/dist/cli/program-arch.d.ts +3 -0
  433. package/dist/cli/program-arch.d.ts.map +1 -0
  434. package/dist/cli/program-arch.js +45 -0
  435. package/dist/cli/program-arch.js.map +1 -0
  436. package/dist/cli/program-core.d.ts +3 -0
  437. package/dist/cli/program-core.d.ts.map +1 -0
  438. package/dist/cli/program-core.js +154 -0
  439. package/dist/cli/program-core.js.map +1 -0
  440. package/dist/cli/program-mcp.d.ts +3 -0
  441. package/dist/cli/program-mcp.d.ts.map +1 -0
  442. package/dist/cli/program-mcp.js +12 -0
  443. package/dist/cli/program-mcp.js.map +1 -0
  444. package/dist/cli/program-mission.d.ts +3 -0
  445. package/dist/cli/program-mission.d.ts.map +1 -0
  446. package/dist/cli/program-mission.js +77 -0
  447. package/dist/cli/program-mission.js.map +1 -0
  448. package/dist/cli/program-teacher.d.ts +3 -0
  449. package/dist/cli/program-teacher.d.ts.map +1 -0
  450. package/dist/cli/program-teacher.js +19 -0
  451. package/dist/cli/program-teacher.js.map +1 -0
  452. package/dist/cli/program-workflow.d.ts +3 -0
  453. package/dist/cli/program-workflow.d.ts.map +1 -0
  454. package/dist/cli/program-workflow.js +81 -0
  455. package/dist/cli/program-workflow.js.map +1 -0
  456. package/dist/cli/program.d.ts +4 -0
  457. package/dist/cli/program.d.ts.map +1 -0
  458. package/dist/cli/program.js +25 -0
  459. package/dist/cli/program.js.map +1 -0
  460. package/package.json +66 -0
  461. package/templates/.cursor/hooks/gxt-before-shell.sh +63 -0
  462. package/templates/.cursor/hooks/gxt-session-start.sh +68 -0
  463. package/templates/.cursor/hooks.json +15 -0
  464. package/templates/.cursor/mcp.json +8 -0
  465. package/templates/.cursor/rules/opengantry-gxt-substrate.mdc +43 -0
  466. package/templates/.gitagent/ARCHITECTURE.pointer.external.example.json +13 -0
  467. package/templates/.gitagent/ARCHITECTURE.pointer.json +9 -0
  468. package/templates/.gitagent/foreman/BYPASS.sha256 +2 -0
  469. package/templates/.gitagent/foreman/MANIFEST.json +37 -0
  470. package/templates/.gitagent/foreman/SUBSTRATE.version.json +6 -0
  471. package/templates/.gitagent/foreman/TEACHER.allowlist.example +4 -0
  472. package/templates/.gitagent/missions/README.md +18 -0
  473. package/templates/.gitagent/teacher/ARCHITECTURE-ACCESS.md +85 -0
  474. package/templates/.gitagent/teacher/ARCHITECTURE-DISCOVERY.md +40 -0
  475. package/templates/.gitagent/teacher/MISSION-ARCHITECT.md +93 -0
  476. package/templates/.gitagent/teacher/MISSION.schema.yaml +80 -0
  477. package/templates/.gitagent/teacher/RULES.md +36 -0
  478. package/templates/.gitagent/teacher/WORKER_LOG.template.md +2 -0
  479. package/templates/.githooks/post-checkout +26 -0
  480. package/templates/.githooks/pre-push +53 -0
  481. package/templates/.github/workflows/gxt-validate.yml +129 -0
  482. package/templates/.gitignore.gxt +8 -0
  483. package/templates/AGENTS.md +24 -0
  484. package/templates/docs/ARCHITECTURE.md +23 -0
  485. package/templates/integrations/aider/.aider.conf.yml +4 -0
  486. package/templates/integrations/antigravity/.agent/rules/gxt.md +11 -0
  487. package/templates/integrations/claude-code/CLAUDE.md +9 -0
  488. package/templates/integrations/cline/.clinerules/gxt.md +7 -0
  489. package/templates/integrations/codex-cli/.codex/config.toml +3 -0
  490. package/templates/integrations/compatibility.json +92 -0
  491. package/templates/integrations/junie/.junie/guidelines.md +11 -0
  492. package/templates/integrations/opencode/opencode.json +3 -0
  493. package/templates/integrations/openhands/.openhands/microagents/gxt.md +11 -0
  494. package/templates/integrations/recipes/_footer.md +20 -0
  495. package/templates/integrations/recipes/_preamble.md +46 -0
  496. package/templates/integrations/recipes/aider.md +13 -0
  497. package/templates/integrations/recipes/antigravity.md +8 -0
  498. package/templates/integrations/recipes/claude-code.md +14 -0
  499. package/templates/integrations/recipes/cline.md +8 -0
  500. package/templates/integrations/recipes/codex-cli.md +16 -0
  501. package/templates/integrations/recipes/cursor.md +19 -0
  502. package/templates/integrations/recipes/junie.md +8 -0
  503. package/templates/integrations/recipes/opencode.md +8 -0
  504. package/templates/integrations/recipes/openhands.md +8 -0
  505. package/templates/scripts/dev-validate.sh +24 -0
  506. package/templates/scripts/gxt-cursor-env.sh +5 -0
  507. package/templates/scripts/gxt-manifest-lib.mjs +139 -0
  508. package/templates/scripts/gxt-pin-mission.sh +31 -0
  509. package/templates/scripts/gxt-resolve-mission.sh +47 -0
  510. package/templates/scripts/gxt-runtime-env.sh +32 -0
  511. package/templates/scripts/validate-gxt.sh +184 -0
  512. package/templates/skills/gapman.md +5 -0
  513. package/templates/skills/logic.md +3 -0
  514. package/templates/skills/substrate.md +3 -0
  515. package/templates/skills/ui.md +3 -0
package/LICENSE ADDED
@@ -0,0 +1,235 @@
1
+
2
+
3
+ Apache License
4
+ Version 2.0, January 2004
5
+ http://www.apache.org/licenses/
6
+
7
+
8
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
9
+
10
+
11
+ 1. Definitions.
12
+
13
+
14
+ "License" shall mean the terms and conditions for use, reproduction,
15
+ and distribution as defined by Sections 1 through 9 of this document.
16
+
17
+
18
+ "Licensor" shall mean the copyright owner or entity authorized by
19
+ the copyright owner that is granting the License.
20
+
21
+
22
+ "Legal Entity" shall mean the union of the acting entity and all
23
+ other entities that control, are controlled by, or are under common
24
+ control with that entity. For the purposes of this definition,
25
+ "control" means (i) the power, direct or indirect, to cause the
26
+ direction or management of such entity, whether by contract or
27
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
28
+ outstanding shares, or (iii) beneficial ownership of such entity.
29
+
30
+
31
+ "You" (or "Your") shall mean an individual or Legal Entity
32
+ exercising permissions granted by this License.
33
+
34
+
35
+ "Source" form shall mean the preferred form for making modifications,
36
+ including but not limited to software source code, documentation
37
+ source, and configuration files.
38
+
39
+
40
+ "Object" form shall mean any form resulting from mechanical
41
+ transformation or translation of a Source form, including but
42
+ not limited to compiled object code, generated documentation,
43
+ and conversions to other media types.
44
+
45
+
46
+ "Work" shall mean the work of authorship, whether in Source or
47
+ Object form, made available under the License, as indicated by a
48
+ copyright notice that is included in or attached to the work
49
+ (an example is provided in the Appendix below).
50
+
51
+
52
+ "Derivative Works" shall mean any work, whether in Source or Object
53
+ form, that is based on (or derived from) the Work and for which the
54
+ editorial revisions, annotations, elaborations, or other modifications
55
+ represent, as a whole, an original work of authorship. For the purposes
56
+ of this License, Derivative Works shall not include works that remain
57
+ separable from, or merely link (or bind by name) to the interfaces of,
58
+ the Work and Derivative Works thereof.
59
+
60
+
61
+ "Contribution" shall mean any work of authorship, including
62
+ the original version of the Work and any modifications or additions
63
+ to that Work or Derivative Works thereof, that is intentionally
64
+ submitted to Licensor for inclusion in the Work by the copyright owner
65
+ or by an individual or Legal Entity authorized to submit on behalf of
66
+ the copyright owner. For the purposes of this definition, "submitted"
67
+ means any form of electronic, verbal, or written communication sent
68
+ to the Licensor or its representatives, including but not limited to
69
+ communication on electronic mailing lists, source code control systems,
70
+ and issue tracking systems that are managed by, or on behalf of, the
71
+ Licensor for the purpose of discussing and improving the Work, but
72
+ excluding communication that is conspicuously marked or otherwise
73
+ designated in writing by the copyright owner as "Not a Contribution."
74
+
75
+
76
+ "Contributor" shall mean Licensor and any individual or Legal Entity
77
+ on behalf of whom a Contribution has been received by Licensor and
78
+ subsequently incorporated within the Work.
79
+
80
+
81
+ 2. Grant of Copyright License. Subject to the terms and conditions of
82
+ this License, each Contributor hereby grants to You a perpetual,
83
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
84
+ copyright license to reproduce, prepare Derivative Works of,
85
+ publicly display, publicly perform, sublicense, and distribute the
86
+ Work and such Derivative Works in Source or Object form.
87
+
88
+
89
+ 3. Grant of Patent License. Subject to the terms and conditions of
90
+ this License, each Contributor hereby grants to You a perpetual,
91
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
92
+ (except as stated in this section) patent license to make, have made,
93
+ use, offer to sell, sell, import, and otherwise transfer the Work,
94
+ where such license applies only to those patent claims licensable
95
+ by such Contributor that are necessarily infringed by their
96
+ Contribution(s) alone or by combination of their Contribution(s)
97
+ with the Work to which such Contribution(s) was submitted. If You
98
+ institute patent litigation against any entity (including a
99
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
100
+ or a Contribution incorporated within the Work constitutes direct
101
+ or contributory patent infringement, then any patent licenses
102
+ granted to You under this License for that Work shall terminate
103
+ as of the date such litigation is filed.
104
+
105
+
106
+ 4. Redistribution. You may reproduce and distribute copies of the
107
+ Work or Derivative Works thereof in any medium, with or without
108
+ modifications, and in Source or Object form, provided that You
109
+ meet the following conditions:
110
+
111
+
112
+ (a) You must give any other recipients of the Work or
113
+ Derivative Works a copy of this License; and
114
+
115
+
116
+ (b) You must cause any modified files to carry prominent notices
117
+ stating that You changed the files; and
118
+
119
+
120
+ (c) You must retain, in the Source form of any Derivative Works
121
+ that You distribute, all copyright, patent, trademark, and
122
+ attribution notices from the Source form of the Work,
123
+ excluding those notices that do not pertain to any part of
124
+ the Derivative Works; and
125
+
126
+
127
+ (d) If the Work includes a "NOTICE" text file as part of its
128
+ distribution, then any Derivative Works that You distribute must
129
+ include a readable copy of the attribution notices contained
130
+ within such NOTICE file, excluding those notices that do not
131
+ pertain to any part of the Derivative Works, in at least one
132
+ of the following places: within a NOTICE text file distributed
133
+ as part of the Derivative Works; within the Source form or
134
+ documentation, if provided along with the Derivative Works; or,
135
+ within a display generated by the Derivative Works, if and
136
+ wherever such third-party notices normally appear. The contents
137
+ of the NOTICE file are for informational purposes only and
138
+ do not modify the License. You may add Your own attribution
139
+ notices within Derivative Works that You distribute, alongside
140
+ or as an addendum to the NOTICE text from the Work, provided
141
+ that such additional attribution notices cannot be construed
142
+ as modifying the License.
143
+
144
+
145
+ You may add Your own copyright statement to Your modifications and
146
+ may provide additional or different license terms and conditions
147
+ for use, reproduction, or distribution of Your modifications, or
148
+ for any such Derivative Works as a whole, provided Your use,
149
+ reproduction, and distribution of the Work otherwise complies with
150
+ the conditions stated in this License.
151
+
152
+
153
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
154
+ any Contribution intentionally submitted for inclusion in the Work
155
+ by You to the Licensor shall be under the terms and conditions of
156
+ this License, without any additional terms or conditions.
157
+ Notwithstanding the above, nothing herein shall supersede or modify
158
+ the terms of any separate license agreement you may have executed
159
+ with Licensor regarding such Contributions.
160
+
161
+
162
+ 6. Trademarks. This License does not grant permission to use the trade
163
+ names, trademarks, service marks, or product names of the Licensor,
164
+ except as required for reasonable and customary use in describing the
165
+ origin of the Work and reproducing the content of the NOTICE file.
166
+
167
+
168
+ 7. Disclaimer of Warranty. Unless required by applicable law or
169
+ agreed to in writing, Licensor provides the Work (and each
170
+ Contributor provides its Contributions) on an "AS IS" BASIS,
171
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
172
+ implied, including, without limitation, any warranties or conditions
173
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
174
+ PARTICULAR PURPOSE. You are solely responsible for determining the
175
+ appropriateness of using or redistributing the Work and assume any
176
+ risks associated with Your exercise of permissions under this License.
177
+
178
+
179
+ 8. Limitation of Liability. In no event and under no legal theory,
180
+ whether in tort (including negligence), contract, or otherwise,
181
+ unless required by applicable law (such as deliberate and grossly
182
+ negligent acts) or agreed to in writing, shall any Contributor be
183
+ liable to You for damages, including any direct, indirect, special,
184
+ incidental, or consequential damages of any character arising as a
185
+ result of this License or out of the use or inability to use the
186
+ Work (including but not limited to damages for loss of goodwill,
187
+ work stoppage, computer failure or malfunction, or any and all
188
+ other commercial damages or losses), even if such Contributor
189
+ has been advised of the possibility of such damages.
190
+
191
+
192
+ 9. Accepting Warranty or Additional Liability. While redistributing
193
+ the Work or Derivative Works thereof, You may choose to offer,
194
+ and charge a fee for, acceptance of support, warranty, indemnity,
195
+ or other liability obligations and/or rights consistent with this
196
+ License. However, in accepting such obligations, You may act only
197
+ on Your own behalf and on Your sole responsibility, not on behalf
198
+ of any other Contributor, and only if You agree to indemnify,
199
+ defend, and hold each Contributor harmless for any liability
200
+ incurred by, or claims asserted against, such Contributor by reason
201
+ of your accepting any such warranty or additional liability.
202
+
203
+
204
+ END OF TERMS AND CONDITIONS
205
+
206
+
207
+ APPENDIX: How to apply the Apache License to your work.
208
+
209
+
210
+ To apply the Apache License to your work, attach the following
211
+ boilerplate notice, with the fields enclosed by brackets "[]"
212
+ replaced with your own identifying information. (Don't include
213
+ the brackets!) The text should be enclosed in the appropriate
214
+ comment syntax for the file format. We also recommend that a
215
+ file or class name and description of purpose be included on the
216
+ same "printed page" as the copyright notice for easier
217
+ identification within third-party archives.
218
+
219
+
220
+ Copyright [yyyy] [name of copyright owner]
221
+
222
+
223
+ Licensed under the Apache License, Version 2.0 (the "License");
224
+ you may not use this file except in compliance with the License.
225
+ You may obtain a copy of the License at
226
+
227
+
228
+ http://www.apache.org/licenses/LICENSE-2.0
229
+
230
+
231
+ Unless required by applicable law or agreed to in writing, software
232
+ distributed under the License is distributed on an "AS IS" BASIS,
233
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
234
+ See the License for the specific language governing permissions and
235
+ limitations under the License.
package/NOTICE ADDED
@@ -0,0 +1,16 @@
1
+ OpenGantry
2
+ Copyright 2026 Juergen Eger and the jeger-ai contributors
3
+
4
+ Licensed under the Apache License, Version 2.0 (the "License");
5
+ you may not use this file except in compliance with the License.
6
+ You may obtain a copy of the License at
7
+
8
+ http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ Unless required by applicable law or agreed to in writing, software
11
+ distributed under the License is distributed on an "AS IS" BASIS,
12
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ See the License for the specific language governing permissions and
14
+ limitations under the License.
15
+
16
+ Repository: https://github.com/jeger-ai/opengantry
package/README.md ADDED
@@ -0,0 +1,337 @@
1
+ # OpenGantry
2
+
3
+ **Insurance for autonomous code** — OpenGantry helps teams **prevent unreviewed AI scope**, **block edits outside approved paths**, and **produce greppable audit evidence in plain Git**—without a proprietary runtime.
4
+
5
+ ### What you get in production
6
+
7
+ - **Review before run:** workers do not complete the loop until a human-approved mission defines scope, gates, and trace rows.
8
+ - **No silent governance edits:** hooks and `gapman verify` fail closed on law, manifest, and mission paths without a Teacher `[MSN-XXXX]` commit.
9
+ - **Audit in Git:** `git log --grep='MSN-0042'` plus `WORKER_LOG.md` quotes that verifiers must cite verbatim.
10
+
11
+ **Protocol (implementers):** under the hood, **GXT (Git-native eXecution and Trace)** binds law, Foreman routing, deterministic gates, and trace mapping to `WORKER_LOG.md`. This repository is both the **specimen** and the **template**. Run **`gapman init`** (or **`gapman init --tutorial`**) in your repo and adapt it.
12
+
13
+ ## Install
14
+
15
+ Requires **Node.js 24+**.
16
+
17
+ ```bash
18
+ npm install -g @jeger-ai/opengantry
19
+ gapman init --tutorial
20
+ ```
21
+
22
+ Or without a global install:
23
+
24
+ ```bash
25
+ npx @jeger-ai/opengantry init --tutorial
26
+ ```
27
+
28
+ Developing this repository from source: `npm ci && npm run build` — see [gapman CLI](#gapman-cli) and [`docs/DEVELOPMENT.md`](docs/DEVELOPMENT.md).
29
+
30
+ ## Why teams adopt this
31
+
32
+ | Outcome | How OpenGantry delivers it |
33
+ |---------|---------------------------|
34
+ | **Lower onboarding friction** | `gapman init --tutorial`, `gapman onboarding`, `gapman start "<intent>"`, `gapman status --json` |
35
+ | **No unreviewed agent scope** | Teacher reviews mission YAML **before** `runtime env` / worker execution; TMVC roots + forbidden zones enforce paths |
36
+ | **Audit-ready evidence** | `[MSN-XXXX]` commit subjects; verifier PASS requires a verbatim quote from `WORKER_LOG.md` |
37
+ | **Faster recovery from failure** | Stable `GXT_*` error codes, `gapman verify --fix`, role output via `--audience worker\|teacher\|verifier` |
38
+
39
+ **Protocol maturity:** substrate law **v0.5.0**; **`gapman` v1.0.0** — enterprise onboarding, contextual output, first-run tutorial. See [.gitagent/teacher/RUNTIME.md](.gitagent/teacher/RUNTIME.md).
40
+
41
+ ## v1.0 adoption release
42
+
43
+ `v1.0.0` productizes the specimen: first-run tutorial, global `--audience` output modes, and docs framed for enterprise adoption. Use [`docs/ADOPTION.md`](docs/ADOPTION.md) for the ordered runbook.
44
+
45
+ | Release | Highlights |
46
+ |---------|------------|
47
+ | **v0.9.0** | `gapman start`, `verify --fix`, `status --json`, `onboarding`, GXT error codes |
48
+ | **v1.0.0** | `gapman init --tutorial`, global `--audience` / `GXT_AUDIENCE`, adoption-first README + runbook |
49
+
50
+ ## What you get
51
+
52
+ | Idea | Where it lives |
53
+ |------|----------------|
54
+ | **Law** (SOD, trace mapping, risk tiers, TMVC, manifest sync) | [`.gitagent/teacher/RULES.md`](.gitagent/teacher/RULES.md) |
55
+ | **Routing map** (skills, roots, forbidden zones, path risks) | [`.gitagent/foreman/MANIFEST.json`](.gitagent/foreman/MANIFEST.json) |
56
+ | **Foreman** (cheap, manifest-only triage) | [`.gitagent/foreman/SOUL.md`](.gitagent/foreman/SOUL.md) |
57
+ | **Worker Runtime Contract** (env exports for IDE agents / scripts) | [`.gitagent/teacher/RUNTIME.md`](.gitagent/teacher/RUNTIME.md) |
58
+ | **Bootstrap** (zero-friction substrate install) | `gapman init` + packaged [`templates/`](templates/) |
59
+ | **Architecture pointer** (where agents find code layout) | [`.gitagent/ARCHITECTURE.pointer.json`](.gitagent/ARCHITECTURE.pointer.json), [ARCHITECTURE-DISCOVERY.md](.gitagent/teacher/ARCHITECTURE-DISCOVERY.md) |
60
+ | **Work order + commit receipt** | YAML via `gapman legislate` + [`.gitagent/teacher/MISSION.example.yaml`](.gitagent/teacher/MISSION.example.yaml); Markdown reference: [`.gitagent/teacher/MISSION.template.md`](.gitagent/teacher/MISSION.template.md), [`.gitagent/teacher/commit-template.md`](.gitagent/teacher/commit-template.md) |
61
+ | **gapman CLI** | `npm install -g @jeger-ai/opengantry` or `npx @jeger-ai/opengantry` — see [gapman](#gapman-cli) |
62
+ | **Full orientation + workflow diagram** | [`.gitagent/README.md`](.gitagent/README.md) |
63
+
64
+ Core behaviors in plain language:
65
+
66
+ - **Git-native missions:** commit subjects use **`[MSN-XXXX]`** so history is greppable (`git log --grep='MSN-0042'`).
67
+ - **Auditable execution log:** verifier PASS requires quotes from **`WORKER_LOG.md`** (process control paired with SOD and deterministic gates).
68
+ - **Risk tiers:** cheap automation where safe; stricter human paths for sensitive areas.
69
+ - **Approved edit paths:** work under declared **tmvc_roots**; **forbidden zones** are hard stops; out-of-scope access needs a logged **context request**.
70
+ - **Honest limits:** trace mapping is **not cryptographic proof**—it records what ran under your reviewed mission (see [`.gitagent/teacher/RULES.md`](.gitagent/teacher/RULES.md)).
71
+
72
+ ## Start here (5 minutes)
73
+
74
+ ```bash
75
+ gapman init --tutorial # or: gapman init && gapman onboarding
76
+ gapman teacher set "$(git config user.email)"
77
+ gapman start "Your first change" --msn MSN-0001 --skill-key <manifest-key>
78
+ # Teacher: review mission scope/gates, then commit [MSN-0001] including the mission file
79
+ git log --grep='MSN-' --oneline
80
+ ```
81
+
82
+ ### Human handbrake
83
+
84
+ If you do **not** review the **mission** under `.gitagent/missions/` **before** the worker runs, the trace records **what you allowed to happen**—not a substitute for intent checks. You still sign off on scope, TMVC roots, and the deterministic gate.
85
+
86
+ ## Using this outside the OpenGantry repo
87
+
88
+ Treat the following as a **portable kit** you can drop into any Git repository (app, library, or monorepo).
89
+
90
+ ### Enforcement boundary
91
+
92
+ **Prevents unreviewed edits where it matters.** IDE Agent Write/Edit is advisory TMVC; hard boundaries live in `runtime exec`, `gapman verify`, and hooks.
93
+
94
+ | Tier | Mechanism | Enterprise control |
95
+ |------|-----------|-------------------|
96
+ | **Process-boundary** | `gapman runtime exec` | Agent cannot touch forbidden paths during orchestrated runs |
97
+ | **Deterministic hook** | Cursor `beforeShellExecution`, pre-push verify | Shell/hook writes to governance files require mission + verify |
98
+ | **Advisory** | IDE rules, `AGENTS.md`, sessionStart context | IDE suggestions alone do not count as approval |
99
+
100
+ Per-tool recipes: [`docs/INTEGRATIONS.md`](docs/INTEGRATIONS.md) (see **Enforcement boundary**).
101
+
102
+ ### 1. Bootstrap with `gapman init` (recommended)
103
+
104
+ From a built OpenGantry tree (or after copying the `gapman` CLI + `templates/` into your toolchain):
105
+
106
+ ```bash
107
+ npm ci && npm run build # in the OpenGantry repo, or use a globally linked gapman
108
+ gapman init --tutorial # recommended first run; or gapman init (wizard / --yes)
109
+ gapman teacher set "$(git config user.email)" # repo-local (recommended)
110
+ gapman doctor
111
+ git config core.hooksPath .githooks
112
+ ```
113
+
114
+ `gapman init` bootstraps a target git repository from packaged templates:
115
+
116
+ - **TTY:** interactive wizard (`@clack/prompts`) — select IDE/agent integrations, doc path, skills preset, hooks, CI, architecture pointer.
117
+ - **Non-TTY / CI:** auto-applies default profile (core + Cursor + hooks + CI) — no hang.
118
+ - **`--yes`:** default profile without prompts. **`--dry-run`:** print planned writes.
119
+ - **Flags:** `--ides cursor,claude-code`, `--docs-path`, `--skills minimal|specimen`, `--no-hooks`, `--no-ci`, `--arch-source`, `--arch-location`.
120
+
121
+ Asset lifecycles:
122
+
123
+ - `scaffold_only` files (for example `MANIFEST.json`, `RULES.md`, `skills/*.md`, IDE pointer files) are created when missing and preserved when customized.
124
+ - `managed_strict` runtime assets (workflow, validate script, hooks, schema/rules pointers) prompt before overwrite in an interactive terminal; use `--force` to skip the prompt.
125
+
126
+ Init also composes **`docs/INTEGRATIONS.md`** (or your chosen path) from `templates/integrations/compatibility.json`, scaffolds **`.gitagent/ARCHITECTURE.pointer.json`**, and installs runtime scripts (`gxt-runtime-env.sh`, `gxt-pin-mission.sh`, …). Store local tokens for protected architecture sources with **`gapman arch cred set`** (stdin only; git-ignored under `.gitagent/history/credentials/`).
127
+
128
+ After `init`, customize your manifest and skills, then legislate. See [`docs/ADOPTION.md`](docs/ADOPTION.md) for the exact ordered runbook.
129
+
130
+ ### 2. Customize for your project
131
+
132
+ - Edit **[`.gitagent/foreman/MANIFEST.json`](.gitagent/foreman/MANIFEST.json)**
133
+ Set `path_risks`, `risk_keywords`, and each skill's `tmvc_roots`, `forbidden_zones`, and `trust_threshold` to match **your** directories and risk appetite.
134
+ - Align **[`.gitagent/teacher/RULES.md`](.gitagent/teacher/RULES.md)** with your review policy (tiers, who counts as "human audit", merge gates).
135
+ - Point **deterministic gates** in missions at **your** stack (`npm test`, `pytest`, `cargo test`, etc.).
136
+ - Store mission files you intend to **`gapman verify`** under **`.gitagent/missions/`** and configure **Teacher allowlist** per repo (`gapman teacher set`, `.gitagent/foreman/TEACHER.allowlist.local`, or `git config gapman.teacherEmails`).
137
+
138
+ **Concrete gate example** (YAML fields in a mission file; adjust paths and commands):
139
+
140
+ ```yaml
141
+ gate_command: "npm test -- src/components/Button.test.tsx"
142
+ gate_success_substring: "Tests: 1 passed"
143
+ ```
144
+
145
+ The gate is whatever command **fails closed** for your repo (lint, typecheck, integration suite). One explicit command beats a vague "run tests somewhere." Primary reference: [`.gitagent/teacher/MISSION.example.yaml`](.gitagent/teacher/MISSION.example.yaml). Markdown missions remain supported (`gapman verify` parses both); [`.gitagent/teacher/MISSION.template.md`](.gitagent/teacher/MISSION.template.md) is a human-readable reference, not the `legislate` default.
146
+
147
+ ### gapman CLI
148
+
149
+ Requires **Node.js 24+** (Active LTS line). Published as **`@jeger-ai/opengantry`** on npm; the `gapman` binary is registered via `package.json` `bin` (see [`package.json`](package.json)). From source: `npm ci && npm run build` → `dist/cli/index.js`.
150
+
151
+ **Developing OpenGantry:** dogfood the full stack — [`docs/DEVELOPMENT.md`](docs/DEVELOPMENT.md) (missions, hooks, verify, `npm run validate`). Layer rules: [`docs/ARCHITECTURE.md`](docs/ARCHITECTURE.md). Adopters: [`docs/ADOPTION.md`](docs/ADOPTION.md).
152
+
153
+ **Adoption path:**
154
+
155
+ | Step | Command | Outcome |
156
+ |------|---------|---------|
157
+ | Onboard | `gapman init --tutorial` or `gapman onboarding` | Feel Teacher stamp + verify loop (~3 min) |
158
+ | Scope + approve | `gapman start` → Teacher `[MSN-…]` commit | Unreviewed stub cannot pass full verify |
159
+ | Prove work | `gapman verify` | Gate + log quotes + greppable history |
160
+
161
+ **Global output:** `gapman --audience worker\|teacher\|verifier\|platform <cmd>` (or `GXT_AUDIENCE=verifier` in CI — silence unless `[GXT_*]` errors).
162
+
163
+ | Command | Purpose |
164
+ |--------|---------|
165
+ | `gapman init` | Bootstrap substrate + IDE packs + hooks + CI. `--tutorial` runs guided first loop after scaffold. |
166
+ | `gapman upgrade` | Plan substrate updates from the installed package (stages to `.gitagent/.upgrade-tmp/`, drafts upgrade mission YAML). `gapman upgrade --apply --mission …` after Teacher `[MSN-…]` commit. |
167
+ | `gapman check` | Validate `MANIFEST.json` shape + **Rule 4.4** sync: every `manifest.skills` key must have `skills/<key>.md`, with no orphan skill files. |
168
+ | `gapman status` | GXT readiness dashboard (`--json`, `--verbose`, `--audience worker\|teacher\|verifier\|platform`). |
169
+ | `gapman start "<intent>"` | Goal-first orchestration: triage → legislate stub → runtime next steps (`--msn`, `--skill-key`, `--json`). |
170
+ | `gapman onboarding` | Interactive walkthrough of the strict mission loop (no relaxed checks). |
171
+ | `gapman doctor` | Active readiness check (manifest, Teacher email, bypass secret match, hooks, architecture pointer, integration staleness). Warnings exit 0. `--audience` tailors next steps. |
172
+ | `gapman triage "<intent>"` | Foreman-style routing ([`SOUL.md`](.gitagent/foreman/SOUL.md)). `--json` for machine output (may include non-binding `adr_hints` from [`.gitagent/out-of-scope/`](.gitagent/out-of-scope/README.md)). `--emit-mission --msn MSN-0007` writes `.gitagent/missions/ACTIVE_MISSION.md` by default on **DIRECT_EXECUTION** only. |
173
+ | `gapman teacher show\|set` | Repo-local Teacher git-proof allowlist (`.gitagent/foreman/TEACHER.allowlist.local`; avoids global `GAPMAN_TEACHER_EMAILS` leaking across projects). |
174
+ | `gapman legislate "<intent>" --msn MSN-0007` | Emit stub **YAML** mission under `.gitagent/missions/` with explicit MSN (`--skill-key` when triage would escalate; `--gate-command` / `--gate-success-substring` for one-click handoff). Teacher still **`git commit`**-legislates from an allowlisted email. |
175
+ | `gapman mission validate --file <path>` | Validate a mission `.md` or `.yaml` (YAML checked against [`.gitagent/teacher/MISSION.schema.yaml`](.gitagent/teacher/MISSION.schema.yaml)). |
176
+ | `gapman mission snapshot --file <path>` | Write start-state JSON under `.gitagent/history/` (git HEAD, branch, dirty flag, manifest hash, hashes of files under the mission skill's `tmvc_roots`). |
177
+ | `gapman runtime env --mission <path>` | Worker Runtime Contract: emit `GXT_REPO_ROOT`, `GXT_MISSION_FILE`, `GXT_MSN_ID`, `GXT_SKILL_KEY`, `GXT_TMVC_ROOTS`, `GXT_FORBIDDEN_ZONES`, `GXT_WORKER_LOG`. Default: POSIX `export …` lines; `--json` for scripts. [.gitagent/teacher/RUNTIME.md](.gitagent/teacher/RUNTIME.md). |
178
+ | `gapman runtime exec --mission <path> -- <cmd…>` | Run worker command with mission env, telemetry capture, and forbidden-zone scan (strongest TMVC trap). |
179
+ | `gapman mcp serve` | Stdio MCP server exposing `gxt_*` tools (legislation, pin, runtime env, verify with `fix_hints`, `gxt_start_orchestration`, exec). Configure via `.cursor/mcp.json`. |
180
+ | `gapman verify --mission <path>` | Teacher-approved mission commit + gate + trace. **`--fix`** guided repair. CI: `--audience verifier` (errors only). Failures emit **`GXT_*`** codes. |
181
+ | `gapman arch pointer` | Print architecture pointer summary for agents (`.gitagent/ARCHITECTURE.pointer.json`). |
182
+ | `gapman arch cred status\|set\|unset` | Git-ignored credential slots for authenticated external architecture sources (secrets via stdin only). |
183
+ | `gapman metrics [--json] [--ref main]` | Git-native governance rollup (stream-parsed). See [`docs/ADOPTION.md`](docs/ADOPTION.md). |
184
+
185
+ **Who can approve missions (Teacher allowlist):** only allowlisted identities can legislate missions that verify accepts. Precedence:
186
+
187
+ 1. `.gitagent/foreman/TEACHER.allowlist` (+ optional gitignored `.local` merge)
188
+ 2. `git config gapman.teacherEmails "a@x.com,b@y.com"`
189
+ 3. `GAPMAN_TEACHER_EMAILS` env (CI escape hatch only)
190
+ 4. implicit `git config user.email` when nothing else is set
191
+
192
+ Use **`gapman teacher set "$(git config user.email)"`** after clone — do not rely on a global shell export when you work across multiple projects.
193
+
194
+ ### Worker Runtime quickstart
195
+
196
+ Agents (Cursor, Junie, local scripts) should not guess TMVC roots — read them from **`gapman runtime env`**.
197
+
198
+ Each `--mission` path must refer to **an existing mission file** (ENOENT means the YAML or Markdown mission is missing). Split these into separate shell steps if you paste from docs.
199
+
200
+ ```bash
201
+ npm ci && npm run build
202
+
203
+ # Existing mission (tracked example — swap for yours after Teacher legislates it):
204
+ eval "$(node dist/cli/index.js runtime env --mission .gitagent/missions/example.verify.yaml)"
205
+
206
+ # Or machine-readable JSON for a wrapper script:
207
+ node dist/cli/index.js runtime env --mission .gitagent/missions/example.verify.yaml --json
208
+
209
+ # Headless / CI — strongest TMVC trap:
210
+ node dist/cli/index.js runtime exec --mission .gitagent/missions/example.verify.yaml -- <your-agent-command>
211
+ ```
212
+
213
+ Inspect `GXT_TMVC_ROOTS`, `GXT_FORBIDDEN_ZONES`, and `GXT_WORKER_LOG`; write forensic trace quotes to **`WORKER_LOG.md`** (or `--worker-log` at verify time), then **`gapman verify`** as usual.
214
+
215
+ **Legislate a stub mission (Teacher edits + commits — then wire `runtime env` to that file path):**
216
+
217
+ ```bash
218
+ node dist/cli/index.js legislate "Fix login spinner on checkout — ui" --msn MSN-0007 --skill-key ui
219
+ # Teacher: tune gate/trace rows; git commit -m "[MSN-0007] legislate …" including the mission file
220
+ # eval "$(node dist/cli/index.js runtime env --mission .gitagent/missions/MSN-0007.<slug>.yaml)"
221
+ ```
222
+
223
+ Details and variable semantics: [.gitagent/teacher/RUNTIME.md](.gitagent/teacher/RUNTIME.md).
224
+
225
+ ### 3. Wire agents (and optionally CI)
226
+
227
+ - **[`docs/INTEGRATIONS.md`](docs/INTEGRATIONS.md)** — closed-loop agent integrations (enforcement boundary, remote handoff, per-tool recipes for Cursor, Claude Code, OpenAI Codex CLI, OpenCode, Junie, Antigravity, Cline, Aider, OpenHands). Installed by `gapman init`.
228
+ - **[`AGENTS.md`](AGENTS.md)** tells agents to read **RULES** + **MANIFEST** before acting.
229
+ - **[`.cursor/rules/opengantry-gxt-substrate.mdc`](.cursor/rules/opengantry-gxt-substrate.mdc)** does the same for Cursor with `alwaysApply: true`.
230
+ - **CI:** this repo includes **[`.github/workflows/gxt-validate.yml`](.github/workflows/gxt-validate.yml)**:
231
+ - **gapman:** `npm ci` / `npm run build`, then `gapman check`, `gapman doctor`, and unit tests.
232
+ - **Manifest (jq parity):** validates [`.gitagent/foreman/MANIFEST.json`](.gitagent/foreman/MANIFEST.json) via [`scripts/validate-gxt.sh`](scripts/validate-gxt.sh) `manifest`.
233
+ - **Changed-code quality (PR only):** ESLint complexity, import layers, line budgets on touched `src/cli/**/*.ts`.
234
+ - **MSN (PR only, path-scoped):** on **pull_request** only, any **non-merge** commit in the PR range that touches `.gitagent/`, repo-root `WORKER_LOG.md`, `.githooks/`, or [`.github/workflows/gxt-validate.yml`](.github/workflows/gxt-validate.yml) must have a subject starting with **`[MSN-NNNN]`** (four digits). Other paths (e.g. root `README.md` only) do not trigger this check.
235
+ - **Local (full stack):** [`scripts/dev-validate.sh`](scripts/dev-validate.sh) / `npm run validate` — superset of CI (includes changed-code + MSN vs `origin/main`).
236
+
237
+ ```bash
238
+ npm ci && npm run build
239
+ node dist/cli/index.js check
240
+ node dist/cli/index.js doctor
241
+ ./scripts/validate-gxt.sh manifest
242
+ ./scripts/validate-gxt.sh msn origin/main HEAD # after: git fetch origin
243
+ # or full local stack:
244
+ npm run validate
245
+ ```
246
+
247
+ ### 4. Run the loop (human + models)
248
+
249
+ High level: **Foreman** routes → **Teacher** authors a mission when needed → **Worker** executes inside TMVC and writes **`WORKER_LOG.md`** → **deterministic gate** runs → **Verifier** maps passes to the log → commits follow **`[MSN-XXXX]`** + receipt template.
250
+
251
+ Details and the workflow diagram: **[`.gitagent/README.md`](.gitagent/README.md)**.
252
+
253
+ ### Advanced: manual vendoring
254
+
255
+ If you cannot run `gapman init`, copy at least:
256
+
257
+ - `.gitagent/` (entire tree)
258
+ - `skills/` (optional in minimal vendoring, but **required** for Rule 4.4: one `skills/<skill-key>.md` per manifest skill — enforced by `gapman check`)
259
+ - `.githooks/` (optional: creates an empty repo-root `WORKER_LOG.md` when you check out a feature branch)
260
+ - `AGENTS.md` (or merge its bullets into your existing agent instructions)
261
+ - Optionally `.cursor/rules/opengantry-gxt-substrate.mdc` if you use Cursor
262
+
263
+ Add to your **`.gitignore`** (if not already present):
264
+
265
+ ```gitignore
266
+ # OpenGantry local forensic bulk (optional)
267
+ .gitagent/history/
268
+ ```
269
+
270
+ **Empty `WORKER_LOG.md` on branch checkout:** after copying, point Git at the vendored hooks once per clone (`git config core.hooksPath .githooks`). On branch checkouts **other than** `main` or `master`, if `WORKER_LOG.md` is missing at the repo root, [`.githooks/post-checkout`](.githooks/post-checkout) copies [`.gitagent/teacher/WORKER_LOG.template.md`](.gitagent/teacher/WORKER_LOG.template.md) into place. It **never overwrites** an existing file.
271
+
272
+ ## Staying in sync
273
+
274
+ **Primary path (npm):** install or update the CLI package, then apply bundled substrate changes in your repo:
275
+
276
+ ```bash
277
+ npm install @jeger-ai/opengantry@latest
278
+ gapman upgrade
279
+ # Review .gitagent/.upgrade-tmp/; Teacher-commit the upgrade mission YAML
280
+ gapman upgrade --apply --mission .gitagent/missions/MSN-9001.upgrade-vX.Y.Z.yaml
281
+ gapman doctor
282
+ ```
283
+
284
+ See [`docs/ADOPTION.md`](docs/ADOPTION.md) and [`docs/DEVELOPMENT.md`](docs/DEVELOPMENT.md#substrate-upgrade-loop-adopters--dogfood).
285
+
286
+ **Alternative — vendor `.gitagent/` without npm** (no Node required in the host repo):
287
+
288
+ **Option A — `git subtree` (good if you vendored `.gitagent/` with subtree in the first place)**
289
+
290
+ ```bash
291
+ git remote add opengantry-upstream https://github.com/jeger-ai/opengantry.git # once
292
+ git fetch opengantry-upstream
293
+ git subtree pull --prefix=.gitagent opengantry-upstream main --squash
294
+ ```
295
+
296
+ Resolve conflicts carefully: **keep your** `MANIFEST.json` edits; **merge in** upstream changes to shared files like `RULES.md` or templates.
297
+
298
+ **Option B — side-by-side clone + copy**
299
+
300
+ ```bash
301
+ git clone https://github.com/jeger-ai/opengantry.git /tmp/opengantry && \
302
+ diff -ru .gitagent /tmp/opengantry/.gitagent | less
303
+ # Then selectively copy files you want (e.g. RULES.md) without overwriting your manifest.
304
+ ```
305
+
306
+ **Option C — `curl` / raw URLs (surgical, fragile)**
307
+
308
+ Fetch a single file from `main` when you only want the latest template text:
309
+
310
+ ```bash
311
+ curl -fsSL -o .gitagent/teacher/MISSION.example.yaml \
312
+ https://raw.githubusercontent.com/jeger-ai/opengantry/main/.gitagent/teacher/MISSION.example.yaml
313
+ ```
314
+
315
+ Always **review the diff** before commit; never bulk-overwrite a customized `MANIFEST.json`.
316
+
317
+ ## OpenGantry Ledger — how GXT fits the landscape
318
+
319
+ | Pattern | Typical shape | Audit / production readiness |
320
+ |---------|----------------|------------------------------|
321
+ | **GXT / OpenGantry** | Git-native missions, manifest routing, deterministic gates, auditable log mapped to **`WORKER_LOG.md`**, human `[MSN-XXXX]` approval + SOD ([`RULES.md`](.gitagent/teacher/RULES.md)) | **Can we find every AI-governed change?** Greppable missions. **Can we prove what was checked?** Gate output + log quotes. **Can agents edit compliance files silently?** Hooks + verify fail closed. |
322
+ | Agent "swarm" / choreography layers | Orchestrates model calls across services; emphasizes throughput and parallelism | Strong on **coverage** of tasks; lineage and per-change evidence depends on tooling above the swarm |
323
+ | Unstructured desktop assistants | Reactive help in-editor or OS-wide; informal plans | Lightweight for exploration; weakest default for **reproducible** production sign-off without additional discipline |
324
+
325
+ GXT deliberately trades "always-on improvisation" for a **narrow, inspectable envelope**: Foreman chooses a skill footprint, Teachers legislate commits, Workers stay inside TMVC (or Context Request → accept/reject), and Verifiers bind PASS claims to log quotes.
326
+
327
+ ## Relationship to this repository
328
+
329
+ **jeger-ai/opengantry** is the **canonical reference tree** for **GXT** (manifest `schema_version` **v0.5.0** law + **`gapman` v1.0.0** CLI). Fork it, run `gapman init` in your repo, vendor the `.gitagent/` folder, or cherry-pick files—there is no published runtime "install" step.
330
+
331
+ ## Security
332
+
333
+ Supported versions and how to report vulnerabilities: [`SECURITY.md`](SECURITY.md).
334
+
335
+ ## License
336
+
337
+ OpenGantry is licensed under the **Apache License, Version 2.0**. See [`LICENSE`](LICENSE). Attribution and copyright notice: [`NOTICE`](NOTICE).
@@ -0,0 +1,19 @@
1
+ import { type ArchitectureCredentialKind } from "../lib/architecture-credential.js";
2
+ export interface ArchOptions {
3
+ cwd?: string;
4
+ }
5
+ export interface ArchCredSetOptions extends ArchOptions {
6
+ slot: string;
7
+ kind: ArchitectureCredentialKind;
8
+ }
9
+ export interface ArchCredUnsetOptions extends ArchOptions {
10
+ slot: string;
11
+ }
12
+ export interface ArchCredStatusOptions extends ArchOptions {
13
+ slot?: string;
14
+ }
15
+ export declare function runArchPointer(options?: ArchOptions): void;
16
+ export declare function runArchCredSet(options: ArchCredSetOptions): Promise<void>;
17
+ export declare function runArchCredUnset(options: ArchCredUnsetOptions): void;
18
+ export declare function runArchCredStatus(options?: ArchCredStatusOptions): void;
19
+ //# sourceMappingURL=arch.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"arch.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/arch.ts"],"names":[],"mappings":"AAMA,OAAO,EAOL,KAAK,0BAA0B,EAChC,MAAM,mCAAmC,CAAC;AAE3C,MAAM,WAAW,WAAW;IAC1B,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,kBAAmB,SAAQ,WAAW;IACrD,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,0BAA0B,CAAC;CAClC;AAED,MAAM,WAAW,oBAAqB,SAAQ,WAAW;IACvD,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,qBAAsB,SAAQ,WAAW;IACxD,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,wBAAgB,cAAc,CAAC,OAAO,GAAE,WAAgB,GAAG,IAAI,CAgB9D;AAED,wBAAsB,cAAc,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC,CA4B/E;AAED,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,oBAAoB,GAAG,IAAI,CAgBpE;AAED,wBAAgB,iBAAiB,CAAC,OAAO,GAAE,qBAA0B,GAAG,IAAI,CAW3E"}