@memnexus-ai/mx-agent-cli 0.1.294-next.0 → 0.1.295-next.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 (450) hide show
  1. package/dist/__tests__/agents-md-canonicalization.test.js +31 -1
  2. package/dist/__tests__/agents-md-canonicalization.test.js.map +1 -1
  3. package/dist/__tests__/behavioral-extraction.test.js +50 -0
  4. package/dist/__tests__/behavioral-extraction.test.js.map +1 -1
  5. package/dist/__tests__/bootstrap-behavioral-contract.test.js +6 -3
  6. package/dist/__tests__/bootstrap-behavioral-contract.test.js.map +1 -1
  7. package/dist/__tests__/bundle-config.test.js +28 -2
  8. package/dist/__tests__/bundle-config.test.js.map +1 -1
  9. package/dist/__tests__/catalog-interaction.test.d.ts +25 -0
  10. package/dist/__tests__/catalog-interaction.test.d.ts.map +1 -0
  11. package/dist/__tests__/catalog-interaction.test.js +269 -0
  12. package/dist/__tests__/catalog-interaction.test.js.map +1 -0
  13. package/dist/__tests__/catalog-named-memories.test.d.ts +2 -0
  14. package/dist/__tests__/catalog-named-memories.test.d.ts.map +1 -0
  15. package/dist/__tests__/catalog-named-memories.test.js +204 -0
  16. package/dist/__tests__/catalog-named-memories.test.js.map +1 -0
  17. package/dist/__tests__/catalog-origin-main.test.d.ts +15 -0
  18. package/dist/__tests__/catalog-origin-main.test.d.ts.map +1 -0
  19. package/dist/__tests__/catalog-origin-main.test.js +296 -0
  20. package/dist/__tests__/catalog-origin-main.test.js.map +1 -0
  21. package/dist/__tests__/catalog.test.d.ts +2 -0
  22. package/dist/__tests__/catalog.test.d.ts.map +1 -0
  23. package/dist/__tests__/catalog.test.js +131 -0
  24. package/dist/__tests__/catalog.test.js.map +1 -0
  25. package/dist/__tests__/cli-build-integration.test.d.ts +2 -0
  26. package/dist/__tests__/cli-build-integration.test.d.ts.map +1 -0
  27. package/dist/__tests__/cli-build-integration.test.js +64 -0
  28. package/dist/__tests__/cli-build-integration.test.js.map +1 -0
  29. package/dist/__tests__/cli-build.test.d.ts +2 -0
  30. package/dist/__tests__/cli-build.test.d.ts.map +1 -0
  31. package/dist/__tests__/cli-build.test.js +640 -0
  32. package/dist/__tests__/cli-build.test.js.map +1 -0
  33. package/dist/__tests__/codex-deploy-config.test.js +60 -0
  34. package/dist/__tests__/codex-deploy-config.test.js.map +1 -1
  35. package/dist/__tests__/completion-rows-discriminate.test.d.ts +20 -0
  36. package/dist/__tests__/completion-rows-discriminate.test.d.ts.map +1 -0
  37. package/dist/__tests__/completion-rows-discriminate.test.js +481 -0
  38. package/dist/__tests__/completion-rows-discriminate.test.js.map +1 -0
  39. package/dist/__tests__/config-fidelity-archived-symlinks.test.d.ts +2 -0
  40. package/dist/__tests__/config-fidelity-archived-symlinks.test.d.ts.map +1 -0
  41. package/dist/__tests__/config-fidelity-archived-symlinks.test.js +127 -0
  42. package/dist/__tests__/config-fidelity-archived-symlinks.test.js.map +1 -0
  43. package/dist/__tests__/config-fidelity-display.test.d.ts +2 -0
  44. package/dist/__tests__/config-fidelity-display.test.d.ts.map +1 -0
  45. package/dist/__tests__/config-fidelity-display.test.js +77 -0
  46. package/dist/__tests__/config-fidelity-display.test.js.map +1 -0
  47. package/dist/__tests__/config-fidelity.test.js +166 -33
  48. package/dist/__tests__/config-fidelity.test.js.map +1 -1
  49. package/dist/__tests__/config-generation-gate.test.js +78 -0
  50. package/dist/__tests__/config-generation-gate.test.js.map +1 -1
  51. package/dist/__tests__/config-sync.test.js +35 -0
  52. package/dist/__tests__/config-sync.test.js.map +1 -1
  53. package/dist/__tests__/coordination-401-production-wiring.test.js +12 -7
  54. package/dist/__tests__/coordination-401-production-wiring.test.js.map +1 -1
  55. package/dist/__tests__/coordination-401-recovery.test.js +39 -32
  56. package/dist/__tests__/coordination-401-recovery.test.js.map +1 -1
  57. package/dist/__tests__/coordination-brief-pin.test.js +21 -8
  58. package/dist/__tests__/coordination-brief-pin.test.js.map +1 -1
  59. package/dist/__tests__/coordination-client.test.js +227 -3
  60. package/dist/__tests__/coordination-client.test.js.map +1 -1
  61. package/dist/__tests__/coordination-credential-endpoint.test.d.ts +24 -0
  62. package/dist/__tests__/coordination-credential-endpoint.test.d.ts.map +1 -0
  63. package/dist/__tests__/coordination-credential-endpoint.test.js +1230 -0
  64. package/dist/__tests__/coordination-credential-endpoint.test.js.map +1 -0
  65. package/dist/__tests__/coordination-memory.test.js +20 -4
  66. package/dist/__tests__/coordination-memory.test.js.map +1 -1
  67. package/dist/__tests__/coordination-provision.test.js +22 -14
  68. package/dist/__tests__/coordination-provision.test.js.map +1 -1
  69. package/dist/__tests__/coordination-status-registration.test.d.ts +16 -0
  70. package/dist/__tests__/coordination-status-registration.test.d.ts.map +1 -0
  71. package/dist/__tests__/coordination-status-registration.test.js +480 -0
  72. package/dist/__tests__/coordination-status-registration.test.js.map +1 -0
  73. package/dist/__tests__/coordination-token-multitenant.test.js +11 -11
  74. package/dist/__tests__/coordination-token-multitenant.test.js.map +1 -1
  75. package/dist/__tests__/coordination-token.test.js +35 -28
  76. package/dist/__tests__/coordination-token.test.js.map +1 -1
  77. package/dist/__tests__/creation-pr-class-check.test.d.ts +17 -0
  78. package/dist/__tests__/creation-pr-class-check.test.d.ts.map +1 -0
  79. package/dist/__tests__/creation-pr-class-check.test.js +346 -0
  80. package/dist/__tests__/creation-pr-class-check.test.js.map +1 -0
  81. package/dist/__tests__/digest-team-omission.test.d.ts +15 -0
  82. package/dist/__tests__/digest-team-omission.test.d.ts.map +1 -0
  83. package/dist/__tests__/digest-team-omission.test.js +247 -0
  84. package/dist/__tests__/digest-team-omission.test.js.map +1 -0
  85. package/dist/__tests__/doctor-worktree-path.test.d.ts +17 -0
  86. package/dist/__tests__/doctor-worktree-path.test.d.ts.map +1 -0
  87. package/dist/__tests__/doctor-worktree-path.test.js +158 -0
  88. package/dist/__tests__/doctor-worktree-path.test.js.map +1 -0
  89. package/dist/__tests__/fleet-data.test.js +40 -7
  90. package/dist/__tests__/fleet-data.test.js.map +1 -1
  91. package/dist/__tests__/fleet-tmux.test.js +2 -2
  92. package/dist/__tests__/fleet-tmux.test.js.map +1 -1
  93. package/dist/__tests__/generate-claude.test.js +137 -3
  94. package/dist/__tests__/generate-claude.test.js.map +1 -1
  95. package/dist/__tests__/git-env.test.d.ts +14 -0
  96. package/dist/__tests__/git-env.test.d.ts.map +1 -0
  97. package/dist/__tests__/git-env.test.js +131 -0
  98. package/dist/__tests__/git-env.test.js.map +1 -0
  99. package/dist/__tests__/git-identity-isolation.test.d.ts +33 -0
  100. package/dist/__tests__/git-identity-isolation.test.d.ts.map +1 -0
  101. package/dist/__tests__/git-identity-isolation.test.js +626 -0
  102. package/dist/__tests__/git-identity-isolation.test.js.map +1 -0
  103. package/dist/__tests__/hook-heal.test.js +17 -0
  104. package/dist/__tests__/hook-heal.test.js.map +1 -1
  105. package/dist/__tests__/init-coordination-url.test.d.ts +11 -0
  106. package/dist/__tests__/init-coordination-url.test.d.ts.map +1 -0
  107. package/dist/__tests__/init-coordination-url.test.js +114 -0
  108. package/dist/__tests__/init-coordination-url.test.js.map +1 -0
  109. package/dist/__tests__/memory-autocreate.test.js +574 -8
  110. package/dist/__tests__/memory-autocreate.test.js.map +1 -1
  111. package/dist/__tests__/memory-log-result.test.d.ts +13 -0
  112. package/dist/__tests__/memory-log-result.test.d.ts.map +1 -0
  113. package/dist/__tests__/memory-log-result.test.js +113 -0
  114. package/dist/__tests__/memory-log-result.test.js.map +1 -0
  115. package/dist/__tests__/memory-named-exists.test.d.ts +16 -0
  116. package/dist/__tests__/memory-named-exists.test.d.ts.map +1 -0
  117. package/dist/__tests__/memory-named-exists.test.js +288 -0
  118. package/dist/__tests__/memory-named-exists.test.js.map +1 -0
  119. package/dist/__tests__/mx-agent-cli-pin-validation.test.js +23 -47
  120. package/dist/__tests__/mx-agent-cli-pin-validation.test.js.map +1 -1
  121. package/dist/__tests__/mx-agent-cli-version-pin.test.js +34 -88
  122. package/dist/__tests__/mx-agent-cli-version-pin.test.js.map +1 -1
  123. package/dist/__tests__/new-project-first-team.test.d.ts +15 -0
  124. package/dist/__tests__/new-project-first-team.test.d.ts.map +1 -0
  125. package/dist/__tests__/new-project-first-team.test.js +263 -0
  126. package/dist/__tests__/new-project-first-team.test.js.map +1 -0
  127. package/dist/__tests__/otel-env.test.d.ts +2 -0
  128. package/dist/__tests__/otel-env.test.d.ts.map +1 -0
  129. package/dist/__tests__/otel-env.test.js +127 -0
  130. package/dist/__tests__/otel-env.test.js.map +1 -0
  131. package/dist/__tests__/project-config.test.js +283 -1
  132. package/dist/__tests__/project-config.test.js.map +1 -1
  133. package/dist/__tests__/provision-behavioral-contract.test.js +96 -4
  134. package/dist/__tests__/provision-behavioral-contract.test.js.map +1 -1
  135. package/dist/__tests__/provision-catalog-precondition.test.d.ts +26 -0
  136. package/dist/__tests__/provision-catalog-precondition.test.d.ts.map +1 -0
  137. package/dist/__tests__/provision-catalog-precondition.test.js +620 -0
  138. package/dist/__tests__/provision-catalog-precondition.test.js.map +1 -0
  139. package/dist/__tests__/provision-completion-rows.test.d.ts +17 -0
  140. package/dist/__tests__/provision-completion-rows.test.d.ts.map +1 -0
  141. package/dist/__tests__/provision-completion-rows.test.js +3095 -0
  142. package/dist/__tests__/provision-completion-rows.test.js.map +1 -0
  143. package/dist/__tests__/provision-identity-gate.test.d.ts +20 -0
  144. package/dist/__tests__/provision-identity-gate.test.d.ts.map +1 -0
  145. package/dist/__tests__/provision-identity-gate.test.js +600 -0
  146. package/dist/__tests__/provision-identity-gate.test.js.map +1 -0
  147. package/dist/__tests__/provision-resume.test.d.ts +26 -0
  148. package/dist/__tests__/provision-resume.test.d.ts.map +1 -0
  149. package/dist/__tests__/provision-resume.test.js +1164 -0
  150. package/dist/__tests__/provision-resume.test.js.map +1 -0
  151. package/dist/__tests__/provision-roleguide-anchors.test.d.ts +27 -0
  152. package/dist/__tests__/provision-roleguide-anchors.test.d.ts.map +1 -0
  153. package/dist/__tests__/provision-roleguide-anchors.test.js +747 -0
  154. package/dist/__tests__/provision-roleguide-anchors.test.js.map +1 -0
  155. package/dist/__tests__/provision-skeleton-fill.test.d.ts +16 -0
  156. package/dist/__tests__/provision-skeleton-fill.test.d.ts.map +1 -0
  157. package/dist/__tests__/provision-skeleton-fill.test.js +488 -0
  158. package/dist/__tests__/provision-skeleton-fill.test.js.map +1 -0
  159. package/dist/__tests__/provision-teambuilder-flow.test.js +93 -7
  160. package/dist/__tests__/provision-teambuilder-flow.test.js.map +1 -1
  161. package/dist/__tests__/repo-guard-wiring.test.d.ts +21 -0
  162. package/dist/__tests__/repo-guard-wiring.test.d.ts.map +1 -0
  163. package/dist/__tests__/repo-guard-wiring.test.js +638 -0
  164. package/dist/__tests__/repo-guard-wiring.test.js.map +1 -0
  165. package/dist/__tests__/runtime-codex-gateway-pilot.test.d.ts +2 -0
  166. package/dist/__tests__/runtime-codex-gateway-pilot.test.d.ts.map +1 -0
  167. package/dist/__tests__/runtime-codex-gateway-pilot.test.js +309 -0
  168. package/dist/__tests__/runtime-codex-gateway-pilot.test.js.map +1 -0
  169. package/dist/__tests__/runtime-codex-gateway-provider.test.d.ts +2 -0
  170. package/dist/__tests__/runtime-codex-gateway-provider.test.d.ts.map +1 -0
  171. package/dist/__tests__/runtime-codex-gateway-provider.test.js +163 -0
  172. package/dist/__tests__/runtime-codex-gateway-provider.test.js.map +1 -0
  173. package/dist/__tests__/runtime-identity.test.d.ts +2 -0
  174. package/dist/__tests__/runtime-identity.test.d.ts.map +1 -0
  175. package/dist/__tests__/runtime-identity.test.js +117 -0
  176. package/dist/__tests__/runtime-identity.test.js.map +1 -0
  177. package/dist/__tests__/session-pause-provisioning.test.js +6 -1
  178. package/dist/__tests__/session-pause-provisioning.test.js.map +1 -1
  179. package/dist/__tests__/session-record-disclosure.test.d.ts +24 -0
  180. package/dist/__tests__/session-record-disclosure.test.d.ts.map +1 -0
  181. package/dist/__tests__/session-record-disclosure.test.js +494 -0
  182. package/dist/__tests__/session-record-disclosure.test.js.map +1 -0
  183. package/dist/__tests__/session.test.js +35 -0
  184. package/dist/__tests__/session.test.js.map +1 -1
  185. package/dist/__tests__/slug-validation.test.js +27 -21
  186. package/dist/__tests__/slug-validation.test.js.map +1 -1
  187. package/dist/__tests__/standards-injection.test.js +23 -1
  188. package/dist/__tests__/standards-injection.test.js.map +1 -1
  189. package/dist/__tests__/start-interactive-role.test.d.ts +22 -0
  190. package/dist/__tests__/start-interactive-role.test.d.ts.map +1 -0
  191. package/dist/__tests__/start-interactive-role.test.js +204 -0
  192. package/dist/__tests__/start-interactive-role.test.js.map +1 -0
  193. package/dist/__tests__/start-team-identity.test.d.ts +25 -0
  194. package/dist/__tests__/start-team-identity.test.d.ts.map +1 -0
  195. package/dist/__tests__/start-team-identity.test.js +307 -0
  196. package/dist/__tests__/start-team-identity.test.js.map +1 -0
  197. package/dist/__tests__/team-memory-commands.test.js +142 -19
  198. package/dist/__tests__/team-memory-commands.test.js.map +1 -1
  199. package/dist/__tests__/template-sync.test.d.ts +19 -0
  200. package/dist/__tests__/template-sync.test.d.ts.map +1 -0
  201. package/dist/__tests__/template-sync.test.js +270 -0
  202. package/dist/__tests__/template-sync.test.js.map +1 -0
  203. package/dist/__tests__/test-project.test.d.ts +18 -0
  204. package/dist/__tests__/test-project.test.d.ts.map +1 -0
  205. package/dist/__tests__/test-project.test.js +465 -0
  206. package/dist/__tests__/test-project.test.js.map +1 -0
  207. package/dist/__tests__/usage-per-call-grouping.test.d.ts +25 -0
  208. package/dist/__tests__/usage-per-call-grouping.test.d.ts.map +1 -0
  209. package/dist/__tests__/usage-per-call-grouping.test.js +952 -0
  210. package/dist/__tests__/usage-per-call-grouping.test.js.map +1 -0
  211. package/dist/__tests__/verify-hooks-check-all.test.d.ts +32 -0
  212. package/dist/__tests__/verify-hooks-check-all.test.d.ts.map +1 -0
  213. package/dist/__tests__/verify-hooks-check-all.test.js +553 -0
  214. package/dist/__tests__/verify-hooks-check-all.test.js.map +1 -0
  215. package/dist/__tests__/worktree-sync-fixture.test.d.ts +17 -0
  216. package/dist/__tests__/worktree-sync-fixture.test.d.ts.map +1 -0
  217. package/dist/__tests__/worktree-sync-fixture.test.js +519 -0
  218. package/dist/__tests__/worktree-sync-fixture.test.js.map +1 -0
  219. package/dist/__tests__/worktree-sync-hardening.test.d.ts +13 -0
  220. package/dist/__tests__/worktree-sync-hardening.test.d.ts.map +1 -0
  221. package/dist/__tests__/worktree-sync-hardening.test.js +919 -0
  222. package/dist/__tests__/worktree-sync-hardening.test.js.map +1 -0
  223. package/dist/__tests__/worktree-sync-shell-free.test.d.ts +25 -0
  224. package/dist/__tests__/worktree-sync-shell-free.test.d.ts.map +1 -0
  225. package/dist/__tests__/worktree-sync-shell-free.test.js +185 -0
  226. package/dist/__tests__/worktree-sync-shell-free.test.js.map +1 -0
  227. package/dist/__tests__/worktree.test.js +75 -1
  228. package/dist/__tests__/worktree.test.js.map +1 -1
  229. package/dist/agent-config/.mx-config-generation.json +2 -2
  230. package/dist/agent-config/AGENTS.md.template +2 -2
  231. package/dist/agent-config/agents/bar-raiser.md +34 -1
  232. package/dist/agent-config/agents/red-team.md +34 -1
  233. package/dist/agent-config/agents/security-reviewer.md +22 -1
  234. package/dist/agent-config/claude-md/CLAUDE.core.md +6 -1
  235. package/dist/agent-config/claude-md/CLAUDE.overlay.memnexus.md +1 -3
  236. package/dist/agent-config/coordination-rosters.generated.json +10 -0
  237. package/dist/agent-config/hooks/HOOK-TIMEOUTS.md +27 -1
  238. package/dist/agent-config/hooks/OR-TRUE-AUDIT.md +8 -8
  239. package/dist/agent-config/hooks/auto-capture-precompact.sh +279 -0
  240. package/dist/agent-config/hooks/auto-capture-session-end.sh +277 -0
  241. package/dist/agent-config/hooks/coordination-brief.sh +290 -245
  242. package/dist/agent-config/hooks/deploy-verification-reminder.sh +359 -22
  243. package/dist/agent-config/hooks/git-mutation-guard.sh +85 -13
  244. package/dist/agent-config/hooks/session-idle-gate.sh +177 -12
  245. package/dist/agent-config/hooks/subagent-write-guard.sh +670 -0
  246. package/dist/agent-config/hooks/worktree-guard.sh +36 -7
  247. package/dist/agent-config/settings.json +15 -2
  248. package/dist/agent-config/shared/creation-pr-review-checklist.md +317 -0
  249. package/dist/commands/bootstrap.d.ts.map +1 -1
  250. package/dist/commands/bootstrap.js +22 -10
  251. package/dist/commands/bootstrap.js.map +1 -1
  252. package/dist/commands/config.d.ts.map +1 -1
  253. package/dist/commands/config.js +28 -1
  254. package/dist/commands/config.js.map +1 -1
  255. package/dist/commands/coordination.d.ts +150 -8
  256. package/dist/commands/coordination.d.ts.map +1 -1
  257. package/dist/commands/coordination.js +519 -25
  258. package/dist/commands/coordination.js.map +1 -1
  259. package/dist/commands/create.d.ts +913 -1
  260. package/dist/commands/create.d.ts.map +1 -1
  261. package/dist/commands/create.js +4879 -345
  262. package/dist/commands/create.js.map +1 -1
  263. package/dist/commands/digest.d.ts.map +1 -1
  264. package/dist/commands/digest.js +91 -7
  265. package/dist/commands/digest.js.map +1 -1
  266. package/dist/commands/fleet-tmux.js +1 -1
  267. package/dist/commands/fleet-tmux.js.map +1 -1
  268. package/dist/commands/init.d.ts +8 -0
  269. package/dist/commands/init.d.ts.map +1 -1
  270. package/dist/commands/init.js +26 -1
  271. package/dist/commands/init.js.map +1 -1
  272. package/dist/commands/list.d.ts +32 -1
  273. package/dist/commands/list.d.ts.map +1 -1
  274. package/dist/commands/list.js +98 -5
  275. package/dist/commands/list.js.map +1 -1
  276. package/dist/commands/new.d.ts +2 -0
  277. package/dist/commands/new.d.ts.map +1 -1
  278. package/dist/commands/new.js +114 -21
  279. package/dist/commands/new.js.map +1 -1
  280. package/dist/commands/session.js +1 -1
  281. package/dist/commands/session.js.map +1 -1
  282. package/dist/commands/start.d.ts +38 -0
  283. package/dist/commands/start.d.ts.map +1 -1
  284. package/dist/commands/start.js +171 -8
  285. package/dist/commands/start.js.map +1 -1
  286. package/dist/commands/sync.d.ts +57 -0
  287. package/dist/commands/sync.d.ts.map +1 -1
  288. package/dist/commands/sync.js +117 -3
  289. package/dist/commands/sync.js.map +1 -1
  290. package/dist/commands/usage.d.ts +64 -0
  291. package/dist/commands/usage.d.ts.map +1 -1
  292. package/dist/commands/usage.js +96 -3
  293. package/dist/commands/usage.js.map +1 -1
  294. package/dist/commands/verify-hooks.d.ts +37 -1
  295. package/dist/commands/verify-hooks.d.ts.map +1 -1
  296. package/dist/commands/verify-hooks.js +114 -2
  297. package/dist/commands/verify-hooks.js.map +1 -1
  298. package/dist/commands/window.d.ts +10 -0
  299. package/dist/commands/window.d.ts.map +1 -0
  300. package/dist/commands/window.js +265 -0
  301. package/dist/commands/window.js.map +1 -0
  302. package/dist/commands/worktree-sync.d.ts +54 -0
  303. package/dist/commands/worktree-sync.d.ts.map +1 -0
  304. package/dist/commands/worktree-sync.js +135 -0
  305. package/dist/commands/worktree-sync.js.map +1 -0
  306. package/dist/index.d.ts.map +1 -1
  307. package/dist/index.js +122 -11
  308. package/dist/index.js.map +1 -1
  309. package/dist/lib/agent-session.d.ts.map +1 -1
  310. package/dist/lib/agent-session.js +6 -1
  311. package/dist/lib/agent-session.js.map +1 -1
  312. package/dist/lib/catalog.d.ts +321 -2
  313. package/dist/lib/catalog.d.ts.map +1 -1
  314. package/dist/lib/catalog.js +490 -11
  315. package/dist/lib/catalog.js.map +1 -1
  316. package/dist/lib/claude.d.ts +53 -23
  317. package/dist/lib/claude.d.ts.map +1 -1
  318. package/dist/lib/claude.js +306 -17
  319. package/dist/lib/claude.js.map +1 -1
  320. package/dist/lib/cli-build.d.ts +172 -0
  321. package/dist/lib/cli-build.d.ts.map +1 -0
  322. package/dist/lib/cli-build.js +654 -0
  323. package/dist/lib/cli-build.js.map +1 -0
  324. package/dist/lib/code-context-file.d.ts +109 -0
  325. package/dist/lib/code-context-file.d.ts.map +1 -0
  326. package/dist/lib/code-context-file.js +219 -0
  327. package/dist/lib/code-context-file.js.map +1 -0
  328. package/dist/lib/code-context-file.test.d.ts +19 -0
  329. package/dist/lib/code-context-file.test.d.ts.map +1 -0
  330. package/dist/lib/code-context-file.test.js +202 -0
  331. package/dist/lib/code-context-file.test.js.map +1 -0
  332. package/dist/lib/config-fidelity.d.ts +40 -20
  333. package/dist/lib/config-fidelity.d.ts.map +1 -1
  334. package/dist/lib/config-fidelity.js +144 -56
  335. package/dist/lib/config-fidelity.js.map +1 -1
  336. package/dist/lib/coordination-client.d.ts +73 -0
  337. package/dist/lib/coordination-client.d.ts.map +1 -1
  338. package/dist/lib/coordination-client.js +180 -8
  339. package/dist/lib/coordination-client.js.map +1 -1
  340. package/dist/lib/coordination-token.d.ts +304 -6
  341. package/dist/lib/coordination-token.d.ts.map +1 -1
  342. package/dist/lib/coordination-token.js +851 -52
  343. package/dist/lib/coordination-token.js.map +1 -1
  344. package/dist/lib/fleet-data.d.ts +34 -0
  345. package/dist/lib/fleet-data.d.ts.map +1 -1
  346. package/dist/lib/fleet-data.js +37 -9
  347. package/dist/lib/fleet-data.js.map +1 -1
  348. package/dist/lib/fleet-render.js +1 -1
  349. package/dist/lib/fleet-render.js.map +1 -1
  350. package/dist/lib/git-identity.d.ts +302 -0
  351. package/dist/lib/git-identity.d.ts.map +1 -0
  352. package/dist/lib/git-identity.js +546 -0
  353. package/dist/lib/git-identity.js.map +1 -0
  354. package/dist/lib/hook-staleness.d.ts +95 -0
  355. package/dist/lib/hook-staleness.d.ts.map +1 -0
  356. package/dist/lib/hook-staleness.js +304 -0
  357. package/dist/lib/hook-staleness.js.map +1 -0
  358. package/dist/lib/jsonl.d.ts +270 -2
  359. package/dist/lib/jsonl.d.ts.map +1 -1
  360. package/dist/lib/jsonl.js +472 -76
  361. package/dist/lib/jsonl.js.map +1 -1
  362. package/dist/lib/memory.d.ts +350 -23
  363. package/dist/lib/memory.d.ts.map +1 -1
  364. package/dist/lib/memory.js +751 -38
  365. package/dist/lib/memory.js.map +1 -1
  366. package/dist/lib/otel-env.d.ts +90 -0
  367. package/dist/lib/otel-env.d.ts.map +1 -0
  368. package/dist/lib/otel-env.js +98 -0
  369. package/dist/lib/otel-env.js.map +1 -0
  370. package/dist/lib/project-config.d.ts +167 -0
  371. package/dist/lib/project-config.d.ts.map +1 -1
  372. package/dist/lib/project-config.js +321 -5
  373. package/dist/lib/project-config.js.map +1 -1
  374. package/dist/lib/projects-registry.d.ts +82 -0
  375. package/dist/lib/projects-registry.d.ts.map +1 -0
  376. package/dist/lib/projects-registry.js +145 -0
  377. package/dist/lib/projects-registry.js.map +1 -0
  378. package/dist/lib/projects-registry.test.d.ts +2 -0
  379. package/dist/lib/projects-registry.test.d.ts.map +1 -0
  380. package/dist/lib/projects-registry.test.js +176 -0
  381. package/dist/lib/projects-registry.test.js.map +1 -0
  382. package/dist/lib/repo-guard-scope.d.ts +126 -0
  383. package/dist/lib/repo-guard-scope.d.ts.map +1 -0
  384. package/dist/lib/repo-guard-scope.js +249 -0
  385. package/dist/lib/repo-guard-scope.js.map +1 -0
  386. package/dist/lib/roster.d.ts +87 -0
  387. package/dist/lib/roster.d.ts.map +1 -0
  388. package/dist/lib/roster.js +332 -0
  389. package/dist/lib/roster.js.map +1 -0
  390. package/dist/lib/roster.test.d.ts +15 -0
  391. package/dist/lib/roster.test.d.ts.map +1 -0
  392. package/dist/lib/roster.test.js +299 -0
  393. package/dist/lib/roster.test.js.map +1 -0
  394. package/dist/lib/runtime/codex-adapter.d.ts.map +1 -1
  395. package/dist/lib/runtime/codex-adapter.js +5 -0
  396. package/dist/lib/runtime/codex-adapter.js.map +1 -1
  397. package/dist/lib/runtime/codex-config.d.ts +129 -0
  398. package/dist/lib/runtime/codex-config.d.ts.map +1 -1
  399. package/dist/lib/runtime/codex-config.js +225 -0
  400. package/dist/lib/runtime/codex-config.js.map +1 -1
  401. package/dist/lib/runtime/identity.d.ts +72 -0
  402. package/dist/lib/runtime/identity.d.ts.map +1 -0
  403. package/dist/lib/runtime/identity.js +128 -0
  404. package/dist/lib/runtime/identity.js.map +1 -0
  405. package/dist/lib/standards.d.ts +10 -1
  406. package/dist/lib/standards.d.ts.map +1 -1
  407. package/dist/lib/standards.js +8 -1
  408. package/dist/lib/standards.js.map +1 -1
  409. package/dist/lib/team-identity.d.ts +134 -0
  410. package/dist/lib/team-identity.d.ts.map +1 -0
  411. package/dist/lib/team-identity.js +193 -0
  412. package/dist/lib/team-identity.js.map +1 -0
  413. package/dist/lib/templates.d.ts +29 -2
  414. package/dist/lib/templates.d.ts.map +1 -1
  415. package/dist/lib/templates.js +1042 -82
  416. package/dist/lib/templates.js.map +1 -1
  417. package/dist/lib/test-project.d.ts +95 -0
  418. package/dist/lib/test-project.d.ts.map +1 -0
  419. package/dist/lib/test-project.js +103 -0
  420. package/dist/lib/test-project.js.map +1 -0
  421. package/dist/lib/vault.d.ts +60 -0
  422. package/dist/lib/vault.d.ts.map +1 -0
  423. package/dist/lib/vault.js +102 -0
  424. package/dist/lib/vault.js.map +1 -0
  425. package/dist/lib/vault.test.d.ts +17 -0
  426. package/dist/lib/vault.test.d.ts.map +1 -0
  427. package/dist/lib/vault.test.js +169 -0
  428. package/dist/lib/vault.test.js.map +1 -0
  429. package/dist/lib/window-view.d.ts +63 -0
  430. package/dist/lib/window-view.d.ts.map +1 -0
  431. package/dist/lib/window-view.js +217 -0
  432. package/dist/lib/window-view.js.map +1 -0
  433. package/dist/lib/window-view.test.d.ts +2 -0
  434. package/dist/lib/window-view.test.d.ts.map +1 -0
  435. package/dist/lib/window-view.test.js +168 -0
  436. package/dist/lib/window-view.test.js.map +1 -0
  437. package/dist/lib/worktree-sync.d.ts +439 -0
  438. package/dist/lib/worktree-sync.d.ts.map +1 -0
  439. package/dist/lib/worktree-sync.js +1167 -0
  440. package/dist/lib/worktree-sync.js.map +1 -0
  441. package/dist/lib/worktree.d.ts +58 -1
  442. package/dist/lib/worktree.d.ts.map +1 -1
  443. package/dist/lib/worktree.js +91 -4
  444. package/dist/lib/worktree.js.map +1 -1
  445. package/dist/standards/decision-request.md +8 -0
  446. package/dist/standards/po-communication-standard.md +126 -0
  447. package/dist/standards/report-format.md +8 -0
  448. package/dist/standards/writing-standard.md +146 -4
  449. package/package.json +1 -1
  450. package/scripts/generate-claude.mjs +119 -46
@@ -0,0 +1,302 @@
1
+ /**
2
+ * git-identity -- the per-team git identity `mx-agent provision` writes into the
3
+ * worktree it is provisioning, and the values every commit from that worktree
4
+ * then carries (#440 part A).
5
+ *
6
+ * WHAT THIS FIXES. Every team's worktree here is a LINKED worktree of one shared
7
+ * repository, and every one of them resolved `user.name` from the single file
8
+ * `/workspace/.git/config`. Eight worktrees, one identity, so `git log` could not
9
+ * say which team produced a commit. The design memory
10
+ * `0aaa2f4f-5614-442b-afb5-47c8aa600ea1` and `docs/agent-github-identity-setup.md`
11
+ * both prescribed plain `git config user.name <slug>` for this, which is the one
12
+ * mechanism that makes it WORSE: from a linked worktree that writes the shared
13
+ * file, so the first team to provision reassigns the identity of every other
14
+ * team's live session, and the next team to provision overwrites it again.
15
+ *
16
+ * SO `--worktree` IS THE MECHANISM AND PLAIN `git config` IS FORBIDDEN HERE
17
+ * (issue #440, comment 5559622174, which supersedes the environment-variable
18
+ * choice in comment 5559576380). `git config --worktree` writes
19
+ * `$GIT_COMMON_DIR/worktrees/<name>/config.worktree`, which only that worktree
20
+ * reads. Nothing in this module ever runs `git config` without `--worktree`
21
+ * except to READ, and the two read call sites are named in their own comments.
22
+ *
23
+ * `--worktree` NEEDS `extensions.worktreeConfig=true` ON THE SHARED REPOSITORY,
24
+ * AND THIS MODULE NEVER ENABLES IT. Enabling it is a change to state shared by
25
+ * every worktree on the machine, it is the bootstrap lead's to make after the
26
+ * pre-flight check below, and a provisioning run is not the place to make a
27
+ * change whose reach is every other team. When the extension is off this module
28
+ * WRITES NOTHING and returns a refusal naming the command an operator must run.
29
+ *
30
+ * That refusal is belt on top of braces rather than the only guard. Measured in
31
+ * a throwaway repository on git 2.49.0, 2026-09-06: with the extension off,
32
+ * `git config --worktree user.name alpha` exits 128 with `fatal: --worktree
33
+ * cannot be used with multiple working trees unless the config extension
34
+ * worktreeConfig is enabled`, and the shared config is byte-identical
35
+ * afterwards. Git itself fails closed here; there is no silent fall-through to
36
+ * the shared file. The detection exists so an operator reads one sentence with a
37
+ * remedy instead of a git fatal, not because the write would otherwise land
38
+ * somewhere dangerous.
39
+ *
40
+ * IT IS ATTRIBUTION, NOT AUTHENTICATION. Any session can set any name, so a
41
+ * commit's author records which worktree produced it and proves nothing about
42
+ * who that session was. The same caveat the design records about the app setting
43
+ * a passing check without doing the work applies here, and it should survive
44
+ * into every document that describes this (#440, comment 5559576380, "Should Fix
45
+ * items").
46
+ *
47
+ * NOTHING HERE THROWS. Every failure is a returned outcome with a `kind`, for
48
+ * the reason `lib/claude.ts:549-557` gives about the behavioral block: an
49
+ * identity that could not be written degrades attribution and does not endanger
50
+ * the worktree, so it warns and continues rather than refusing a creation that
51
+ * has already made a worktree, a catalog entry and three memories.
52
+ */
53
+ /**
54
+ * The domain every team's git email is under. Resolves to no GitHub account by
55
+ * design: a `Co-authored-by` trailer naming it persists as text in the commit
56
+ * body and shows as an unlinked co-author, which is what `git log` attribution
57
+ * needs and is NOT a GitHub identity (#440, comment 5555802652).
58
+ */
59
+ export declare const TEAM_EMAIL_DOMAIN = "mx-agent.local";
60
+ /** The two config keys this module owns. Nothing else is written. */
61
+ export declare const IDENTITY_KEYS: readonly ["user.name", "user.email"];
62
+ /** `<slug>@mx-agent.local`. */
63
+ export declare function teamGitEmail(slug: string): string;
64
+ /**
65
+ * The trailer that carries this team's attribution through a squash merge.
66
+ *
67
+ * ONE DEFINITION, for the reason `behavioralPointerLine` states about the
68
+ * pointer line (`lib/claude.ts:735-745`): the generator that writes the
69
+ * instruction into `CLAUDE.local.md` and any later reader of a commit body would
70
+ * otherwise hold two copies of the literal and drift silently.
71
+ *
72
+ * GitHub aggregates `Co-authored-by` trailers from a branch's commits into the
73
+ * squash commit body rather than dropping them, measured on this repository's
74
+ * own `main`: 12 of the last 60 commits carry trailers, every one of them a
75
+ * squash merge, and two carry 7 and 9 (#440, comment 5555802652). That is what
76
+ * makes the trailer the durable half of the attribution, since the branch-level
77
+ * author does not reach `main` under a squash.
78
+ */
79
+ export declare function teamCoAuthorTrailer(slug: string): string;
80
+ /**
81
+ * The three settings that decide whether enabling `extensions.worktreeConfig` on
82
+ * a shared repository is additive or needs a manual migration first.
83
+ *
84
+ * FROM GIT'S OWN DOCUMENTATION, not from a test that happened to pass.
85
+ * `git-worktree(1)`, CONFIGURATION FILE: "Note that in this file, the exception
86
+ * for `core.bare` and `core.worktree` is gone. If they exist in
87
+ * `$GIT_DIR/config`, you must move them to the `config.worktree` of the main
88
+ * worktree. `core.bare` should not be shared if the value is `core.bare=true`.
89
+ * `core.sparseCheckout` should not be shared, unless you are sure you always use
90
+ * sparse checkout for all worktrees."
91
+ *
92
+ * The bootstrap lead's own test of additivity ran in a repository where all
93
+ * three were absent, which is why it read as unconditional (#440, comment
94
+ * 5559669566). This function is the condition stated as a check.
95
+ */
96
+ export declare const PREFLIGHT_KEYS: readonly ["core.bare", "core.worktree", "core.sparseCheckout"];
97
+ export type PreflightKey = (typeof PREFLIGHT_KEYS)[number];
98
+ export interface PreflightReading {
99
+ key: PreflightKey;
100
+ /** The value in the repository's own config, or null when unset. */
101
+ value: string | null;
102
+ safe: boolean;
103
+ /** Why it is or is not safe, in one clause. */
104
+ why: string;
105
+ }
106
+ export interface WorktreeConfigPreflight {
107
+ /** True when enabling the extension needs no manual migration. */
108
+ safe: boolean;
109
+ readings: PreflightReading[];
110
+ /** True when the extension is ALREADY on, which makes the question moot. */
111
+ alreadyEnabled: boolean;
112
+ /** Null when the repository could not be read at all. */
113
+ couldNotRun: string | null;
114
+ }
115
+ /**
116
+ * Read the three settings and say whether enabling the extension is additive
117
+ * right now.
118
+ *
119
+ * READ-ONLY AND RUN AT THE MOMENT OF USE. It is not a fact established once: any
120
+ * team's change could set one of these between a plan and its implementation,
121
+ * and nothing would announce it (#440, comment 5559669566, "They are checked
122
+ * again at implementation time because they can change").
123
+ *
124
+ * `--local` deliberately. The question is what is in THIS repository's config,
125
+ * not what a global or system file also supplies: the migration git describes
126
+ * is a migration of `$GIT_DIR/config`, and a `core.bare` inherited from a global
127
+ * file is not in that file and is not what needs moving.
128
+ */
129
+ export declare function checkWorktreeConfigPreflight(repoPath: string): WorktreeConfigPreflight;
130
+ /** One line per reading, for a message or a report. */
131
+ export declare function describePreflight(p: WorktreeConfigPreflight): string;
132
+ /**
133
+ * Whether `extensions.worktreeConfig` is on, or null when the repository could
134
+ * not be read.
135
+ *
136
+ * A READ WITHOUT `--worktree`, and one of only two in this module. The extension
137
+ * lives in the shared config by definition, so there is nothing per-worktree to
138
+ * ask for, and a read cannot write.
139
+ */
140
+ export declare function readWorktreeConfigExtension(repoOrWorktreePath: string): boolean | null;
141
+ export interface WorktreeIdentityReading {
142
+ /** The per-worktree `user.name`, or null when this worktree sets none. */
143
+ name: string | null;
144
+ /** The per-worktree `user.email`, or null when this worktree sets none. */
145
+ email: string | null;
146
+ /** The file the EFFECTIVE `user.name` resolves from, which is how a shared fallback is told from a per-worktree value. */
147
+ effectiveNameOrigin: string | null;
148
+ /** False when the extension is off, which makes both values above null for a reason other than "unset". */
149
+ extensionEnabled: boolean;
150
+ }
151
+ /**
152
+ * What this worktree's own config.worktree holds, read back from disk.
153
+ *
154
+ * THE ARTIFACT, NOT THE WRITE'S RETURN VALUE. Completion row 15 calls this for
155
+ * the reason row 14 re-reads `dist/index.js` rather than trusting the build
156
+ * result (`commands/create.ts:3377-3380`): the row reports what exists now, so a
157
+ * value written by this run and removed since is not an asserted row, and a
158
+ * `--recheck`, which writes nothing, gets a real answer from the same function.
159
+ */
160
+ export declare function readTeamGitIdentity(worktreePath: string): WorktreeIdentityReading;
161
+ /**
162
+ * Why this worktree's commits carry the author they carry.
163
+ *
164
+ * `isolated` this worktree's own `config.worktree` supplies the
165
+ * team's name and email, and a commit carries them.
166
+ * `no-worktree-path` the caller has no path to read.
167
+ * `unreadable` the path is not a git repository this run can read.
168
+ * `extension-disabled` `extensions.worktreeConfig` is off, so git refuses
169
+ * `--worktree` and there is nothing per-worktree to read.
170
+ * `unset` the extension is on and this worktree sets no identity.
171
+ * `mismatch` values exist but are not this team's, or the effective
172
+ * `user.name` resolves from the shared file rather than
173
+ * this worktree's own.
174
+ */
175
+ export type TeamGitIdentityCode = 'isolated' | 'no-worktree-path' | 'unreadable' | 'extension-disabled' | 'unset' | 'mismatch';
176
+ export interface TeamGitIdentityState {
177
+ /**
178
+ * THE ONE PREDICATE, and the reason this type exists.
179
+ *
180
+ * Completion row 15 and the `## Git Identity` block in `CLAUDE.local.md` are
181
+ * two renderings of one fact, and until #440 part A's creation test they were
182
+ * two independent decisions: the row read git and reported could-not-run,
183
+ * while the block was gated on `teamSlug` being a non-empty string and said
184
+ * the identity had been written whatever git held. On a machine where
185
+ * `extensions.worktreeConfig` is off — which is every worktree of
186
+ * `/workspace/.git` today — the row was right and the block was false, and
187
+ * the block is the one injected into every turn of that team's sessions.
188
+ *
189
+ * Both consumers now branch on THIS boolean from ONE call, so there is no
190
+ * combination of inputs where one claims an identity was written and the
191
+ * other reports could-not-run.
192
+ */
193
+ isolated: boolean;
194
+ code: TeamGitIdentityCode;
195
+ /**
196
+ * True when nothing was measured, as opposed to measured and wrong. Passed
197
+ * straight to row 15's `couldNotRun`, which keeps passed, failed and
198
+ * could-not-run three outcomes (mx-agent-system/standards/fail-loud-standard.md).
199
+ * `unset` and `mismatch` are NOT could-not-run: git answered, and the answer
200
+ * was the wrong one.
201
+ */
202
+ couldNotRun: boolean;
203
+ /** This worktree's own `user.name`, or null. */
204
+ name: string | null;
205
+ /** This worktree's own `user.email`, or null. */
206
+ email: string | null;
207
+ /**
208
+ * `<name> <<email>>` a commit made here right now would carry, resolved the
209
+ * way git resolves it, or null when git could not say. This is the value the
210
+ * refused `## Git Identity` block names, so a session reads the author it
211
+ * will actually get rather than the one provisioning intended.
212
+ */
213
+ effectiveAuthor: string | null;
214
+ /** The file the effective `user.name` resolves from, or null. */
215
+ effectiveNameOrigin: string | null;
216
+ /** One clause naming the state. Collapsed to a single line and capped. */
217
+ reason: string;
218
+ }
219
+ /**
220
+ * Read this worktree's git identity and say whether it is this team's own.
221
+ *
222
+ * READS THE ARTIFACT, NOT A WRITE'S RETURN VALUE, for the reason
223
+ * `readTeamGitIdentity`'s header gives: the answer must be the same for a fresh
224
+ * provision, a resume, a `--recheck` that writes nothing, and an
225
+ * `mx-agent start` days later that never calls the writer at all. A state
226
+ * threaded down from `writeTeamGitIdentity` would be available on exactly one
227
+ * of those four paths, and `mx-agent start` regenerates `CLAUDE.local.md` on
228
+ * every session.
229
+ *
230
+ * The isolation criterion is the strict one row 15 already applied: the name and
231
+ * email must match the team AND the effective `user.name` must resolve from a
232
+ * `config.worktree`. A shared config that happens to hold the team's name is not
233
+ * isolation, and accepting it would report success for the exact defect #440
234
+ * exists to prevent (#440, comment 5555843161).
235
+ */
236
+ export declare function describeTeamGitIdentityState(worktreePath: string | undefined, slug: string): TeamGitIdentityState;
237
+ export type GitIdentityRefusalCode =
238
+ /** The slug did not pass `isValidProjectSlug`, so nothing was passed to git. */
239
+ 'invalid-slug'
240
+ /** The path is not inside a git worktree this run can read. */
241
+ | 'not-a-worktree'
242
+ /** The path is the MAIN worktree, where `--worktree` writes a file inside the shared `.git`. */
243
+ | 'main-worktree'
244
+ /** `extensions.worktreeConfig` is not enabled on the shared repository. */
245
+ | 'extension-disabled'
246
+ /** git refused the write, or the read-back did not return what was written. */
247
+ | 'write-failed'
248
+ /** The shared config changed across the write. Nothing this module does can cause it; it is reported loudly. */
249
+ | 'shared-config-changed';
250
+ export type TeamGitIdentityOutcome = {
251
+ kind: 'written';
252
+ name: string;
253
+ email: string;
254
+ /** The file the values landed in, as git reports it. */
255
+ originFile: string | null;
256
+ } | {
257
+ kind: 'refused';
258
+ code: GitIdentityRefusalCode;
259
+ detail: string;
260
+ };
261
+ export interface WriteTeamGitIdentityOptions {
262
+ /** The worktree being provisioned. Never the main checkout. */
263
+ worktreePath: string;
264
+ /** The team slug. Re-validated here rather than trusted from the caller. */
265
+ slug: string;
266
+ }
267
+ /**
268
+ * Write `user.name` and `user.email` for ONE worktree, or refuse and write
269
+ * nothing.
270
+ *
271
+ * FOUR GUARDS RUN BEFORE ANY WRITE, and each one exists because the failure it
272
+ * prevents is silent:
273
+ *
274
+ * 1. THE SLUG IS RE-VALIDATED. `isValidProjectSlug` is the same rule the
275
+ * coordination service applies (`lib/slug.ts:1-19`), and the caller already
276
+ * applies it, and it runs again here for the reason `writeCodeContextFile`
277
+ * re-validates its four values (`commands/create.ts:5302-5306`): a value
278
+ * reaching this point that no earlier gate covered is a bug worth naming
279
+ * rather than passing to git.
280
+ * 2. THE PATH MUST BE A LINKED WORKTREE. `git rev-parse --absolute-git-dir`
281
+ * equal to `--git-common-dir` is the main checkout, where `--worktree`
282
+ * writes `$GIT_COMMON_DIR/config.worktree` — a file inside the shared `.git`
283
+ * that only the main worktree reads. Measured 2026-09-06: writing there
284
+ * leaves every linked worktree's resolution untouched, so it is not the
285
+ * eight-worktree defect, and provisioning still has no business setting an
286
+ * identity on the operator's own checkout.
287
+ * 3. THE EXTENSION MUST BE ON, and this function never turns it on. See the
288
+ * module header.
289
+ * 4. THE SHARED CONFIG IS SNAPSHOTTED BEFORE AND AFTER. This is the control
290
+ * that would catch the original defect if it ever came back by a route the
291
+ * three guards above do not cover: two `--local --get` reads, compared. A
292
+ * change across a write that only used `--worktree` is not something this
293
+ * module can cause, which is exactly why observing one is worth a loud
294
+ * refusal rather than a silent pass.
295
+ *
296
+ * IDEMPOTENT. A resume, and a re-provision of a team that already has an
297
+ * identity, both write the same two values again and report `written`. There is
298
+ * no separate "already correct" outcome, because the operator's next action is
299
+ * the same either way and a second kind would only be another branch to test.
300
+ */
301
+ export declare function writeTeamGitIdentity(opts: WriteTeamGitIdentityOptions): TeamGitIdentityOutcome;
302
+ //# sourceMappingURL=git-identity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"git-identity.d.ts","sourceRoot":"","sources":["../../src/lib/git-identity.ts"],"names":[],"mappings":"AAAA;;;;;;;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