gentle-pi 4.5.1 → 4.7.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 (428) hide show
  1. package/README.md +17 -15
  2. package/assets/agents/gentle-ai-explore.md +1 -0
  3. package/assets/agents/gentle-ai-verify.md +8 -1
  4. package/assets/agents/gentle-ai-worker.md +4 -0
  5. package/assets/agents/jd-fix-agent.md +1 -0
  6. package/assets/agents/jd-judge-a.md +1 -0
  7. package/assets/agents/jd-judge-b.md +1 -0
  8. package/assets/design-canvas/canvas.css +13 -1
  9. package/assets/design-canvas/canvas.js +11 -2
  10. package/assets/install-wizard/wizard.js +1 -0
  11. package/assets/migrations/agent-body-history.json +162 -0
  12. package/assets/orchestrator-delegation-reference.md +7 -7
  13. package/assets/orchestrator-delegation.md +3 -3
  14. package/assets/orchestrator-full-delegation-card.md +65 -0
  15. package/assets/orchestrator-full-delegation.md +34 -0
  16. package/assets/orchestrator-memory.md +3 -3
  17. package/assets/orchestrator-prompts.md +1 -1
  18. package/assets/orchestrator-skills.md +1 -1
  19. package/assets/orchestrator-verification.md +14 -8
  20. package/assets/orchestrator.md +11 -11
  21. package/bin/gentle-shell.mjs +225 -82
  22. package/docs/agent-status.md +61 -0
  23. package/docs/bundled-install.md +7 -5
  24. package/docs/ci-performance.md +11 -0
  25. package/docs/delegated-verification.md +35 -7
  26. package/docs/fast-mode.md +15 -0
  27. package/docs/gentle-agents-activity.md +22 -0
  28. package/docs/gentle-shell.md +113 -25
  29. package/docs/install-wizard.md +2 -2
  30. package/docs/mcp-status.md +52 -0
  31. package/docs/permission-modes.md +9 -4
  32. package/docs/prompt-budget.md +28 -0
  33. package/docs/readme-reference.md +154 -50
  34. package/docs/render-cache-performance.md +11 -1
  35. package/docs/review-coordinator.md +33 -0
  36. package/docs/review-request-context.md +19 -0
  37. package/docs/review-windows-acl.md +18 -0
  38. package/docs/session-profile-format.md +20 -5
  39. package/docs/sound-notifications.md +1 -1
  40. package/docs/star-prompt.md +32 -0
  41. package/docs/voice.md +6 -3
  42. package/docs/work-continuity.md +46 -0
  43. package/docs/yolo-mode.md +5 -5
  44. package/extensions/ask-user-choice.ts +1 -0
  45. package/extensions/ask-user-question.ts +2 -0
  46. package/extensions/child-safety.ts +3 -0
  47. package/extensions/codegraph-tools.ts +38 -4
  48. package/extensions/gentle-agent-status.ts +99 -0
  49. package/extensions/gentle-agents.ts +803 -84
  50. package/extensions/gentle-ai.ts +2491 -596
  51. package/extensions/gentle-fast.ts +61 -0
  52. package/extensions/gentle-guide.ts +174 -0
  53. package/extensions/gentle-herdr-activity.ts +21 -1
  54. package/extensions/gentle-herdr-agent.ts +144 -0
  55. package/extensions/gentle-program-identity.ts +61 -0
  56. package/extensions/gentle-shell.ts +895 -120
  57. package/extensions/gentle-star-prompt.ts +334 -0
  58. package/extensions/gentle-stats.ts +5 -5
  59. package/extensions/gentle-todo.ts +59 -23
  60. package/extensions/gentle-tps.ts +48 -0
  61. package/extensions/history/store.ts +18 -12
  62. package/extensions/quiet-tools.ts +38 -8
  63. package/extensions/skill-registry.ts +210 -21
  64. package/extensions/startup-banner.ts +69 -10
  65. package/lib/agent-assets.ts +74 -17
  66. package/lib/agent-profile-pin.ts +3 -3
  67. package/lib/agent-profiles.ts +161 -3
  68. package/lib/agent-status.ts +105 -0
  69. package/lib/agents-config.ts +58 -3
  70. package/lib/agents-history.ts +24 -5
  71. package/lib/agents-keys.ts +8 -16
  72. package/lib/agents-messaging.ts +47 -5
  73. package/lib/agents-protocol.ts +80 -4
  74. package/lib/agents-runner.ts +287 -15
  75. package/lib/agents-view.ts +6 -1
  76. package/lib/agents-widget.ts +132 -9
  77. package/lib/auto-permission-runtime.ts +1 -1
  78. package/lib/bounded-writer-admission.ts +13 -1
  79. package/lib/bridge-cost.ts +28 -0
  80. package/lib/card-content-policy.ts +8 -6
  81. package/lib/codemode-renderer.ts +16 -0
  82. package/lib/command-palette-catalog.ts +1 -0
  83. package/lib/command-palette.ts +154 -25
  84. package/lib/context-backstop.ts +14 -5
  85. package/lib/destructive-command-guard.ts +48 -4
  86. package/lib/execution-surface-guard.ts +20 -0
  87. package/lib/exploration-budget.ts +64 -0
  88. package/lib/gentle-ai-binary.ts +1 -1
  89. package/lib/gentle-design.ts +3 -0
  90. package/lib/gentle-guide.ts +201 -0
  91. package/lib/gentle-shell-bundled.ts +6 -19
  92. package/lib/gentle-shell-launcher.ts +47 -8
  93. package/lib/herdr-activity.ts +23 -5
  94. package/lib/herdr-busy.ts +45 -0
  95. package/lib/herdr-task-summary-policy.ts +85 -0
  96. package/lib/image-attachments.ts +33 -0
  97. package/lib/image-disk-cache.ts +137 -0
  98. package/lib/inprocess-reviewer.ts +282 -132
  99. package/lib/jobs-sidebar-state.ts +5 -6
  100. package/lib/jobs-view.ts +198 -11
  101. package/lib/jobs-widget.ts +16 -52
  102. package/lib/keymaps-customize.ts +81 -0
  103. package/lib/keymaps.ts +291 -0
  104. package/lib/model-fallback-notice.ts +61 -0
  105. package/lib/model-fallback-policy.ts +141 -0
  106. package/lib/model-fallback-store.ts +143 -0
  107. package/lib/model-routing-authority.ts +32 -6
  108. package/lib/nan-provider.ts +3 -2
  109. package/lib/native-choice-list.ts +20 -2
  110. package/lib/native-review-cli.ts +103 -21
  111. package/lib/notification-customize.ts +48 -51
  112. package/lib/openai-fast-tier.ts +22 -0
  113. package/lib/orchestrator-discovery.ts +5 -1
  114. package/lib/orchestrator-fallback.ts +75 -0
  115. package/lib/orchestrator-mode-policy.ts +105 -0
  116. package/lib/pasted-image-paths.ts +113 -0
  117. package/lib/questionnaire/questionnaire-view.ts +225 -18
  118. package/lib/rdd-mode-control.ts +32 -0
  119. package/lib/reply-language-anchor.ts +104 -0
  120. package/lib/review-blocker.ts +92 -0
  121. package/lib/review-candidate-symlink-scan.ts +136 -0
  122. package/lib/review-candidate-view-owner.ts +85 -44
  123. package/lib/review-candidate-view.ts +10 -7
  124. package/lib/review-continuation-registry.ts +99 -0
  125. package/lib/review-coordinator.ts +163 -0
  126. package/lib/review-failure-facts.ts +49 -0
  127. package/lib/review-host-relay.ts +51 -11
  128. package/lib/review-integration-v2.ts +29 -8
  129. package/lib/review-relay-phase-timing.ts +45 -0
  130. package/lib/review-repository.ts +5 -0
  131. package/lib/review-start-context.ts +17 -0
  132. package/lib/session-profile-append-controller.ts +21 -6
  133. package/lib/session-profile-authority.ts +119 -0
  134. package/lib/session-profile-binding.ts +54 -5
  135. package/lib/session-profile-freeze.ts +107 -9
  136. package/lib/session-profile-integration.ts +313 -0
  137. package/lib/session-profile-persistence.ts +63 -9
  138. package/lib/shell-bar.ts +269 -72
  139. package/lib/shell-card.ts +26 -6
  140. package/lib/shell-changes.ts +2 -0
  141. package/lib/shell-page.ts +120 -0
  142. package/lib/shell-panel.ts +163 -0
  143. package/lib/shell-prompt.ts +53 -1
  144. package/lib/shell-sidebar-layout.ts +198 -53
  145. package/lib/shell-sidebar.ts +61 -1
  146. package/lib/shell-stats.ts +123 -0
  147. package/lib/shell-todo.ts +79 -1
  148. package/lib/shell-usage.ts +12 -2
  149. package/lib/star-prompt.ts +197 -0
  150. package/lib/verifier-admission.ts +18 -8
  151. package/lib/verifier-settle-reminder.ts +64 -0
  152. package/lib/vim-editor-adapter.ts +6 -1
  153. package/lib/visual-customization-policy.ts +67 -12
  154. package/lib/visual-customize-view.ts +373 -40
  155. package/lib/visual-layout-preview.ts +47 -0
  156. package/lib/visual-profiles.ts +2 -2
  157. package/lib/windows-session-transport.ts +53 -2
  158. package/lib/yolo-session-policy.ts +68 -16
  159. package/package.json +2 -1
  160. package/runtime/gentle-ai-binary.mjs +1 -1
  161. package/runtime/gentle-shell-bundled.mjs +6 -19
  162. package/runtime/gentle-shell-launcher.mjs +46 -7
  163. package/runtime/native-review-cli.mjs +100 -18
  164. package/runtime/review-integration-v2.mjs +29 -8
  165. package/runtime/windows-session-transport.ps1 +60 -3
  166. package/scripts/bootstrap.sh +4 -1
  167. package/scripts/build-full-delegation-card.mjs +175 -0
  168. package/scripts/bundled-install.mjs +38 -8
  169. package/scripts/download-progress.mjs +68 -0
  170. package/scripts/gentle-ai-installer.mjs +41 -18
  171. package/scripts/gentle-ai-proxy.mjs +294 -0
  172. package/scripts/install-gentle-ai.mjs +14 -1
  173. package/scripts/installer-preflight.mjs +6 -6
  174. package/scripts/installer-runner.mjs +27 -12
  175. package/scripts/installer-server.mjs +8 -7
  176. package/scripts/pi-update.mjs +113 -3
  177. package/scripts/render-cache-host.mjs +72 -0
  178. package/scripts/render-cache-performance-worker.mjs +5 -4
  179. package/scripts/render-cache-performance.mjs +6 -1
  180. package/scripts/run-test-suite.mjs +41 -13
  181. package/scripts/shell-snapshot.mjs +340 -0
  182. package/scripts/test-packed-runner.mjs +1 -1
  183. package/scripts/update-agent-body-history.mjs +41 -0
  184. package/scripts/verify-installer-tap.mjs +45 -0
  185. package/scripts/verify-package-files.mjs +14 -2
  186. package/scripts/voice-worker.cjs +32 -6
  187. package/skills/design/SKILL.md +11 -8
  188. package/skills/gentle-ai/SKILL.md +4 -4
  189. package/skills/gentle-ui-design/SKILL.md +46 -0
  190. package/skills/gentle-ui-design/references/adaptive-interfaces.md +46 -0
  191. package/skills/gentle-ui-design/references/browse-and-compare.md +62 -0
  192. package/skills/gentle-ui-design/references/composition-and-feedback.md +56 -0
  193. package/skills/gentle-ui-design/references/task-and-content.md +60 -0
  194. package/skills/skill-registry/SKILL.md +4 -2
  195. package/skills/tui-design/NOTICE.md +5 -0
  196. package/skills/tui-design/SKILL.md +56 -0
  197. package/skills/tui-design/references/commands.md +75 -0
  198. package/skills/tui-design/references/critique.md +48 -0
  199. package/skills/tui-design/references/design-doc.md +44 -0
  200. package/skills/tui-design/references/terminal-craft.md +64 -0
  201. package/skills/tui-design/references/visual-loop.md +32 -0
  202. package/skills/work-unit-commits/SKILL.md +6 -7
  203. package/tests/agent-home.test.ts +28 -9
  204. package/tests/agent-profiles-workflow.test.ts +163 -0
  205. package/tests/agent-risk-escalation.test.ts +1 -1
  206. package/tests/agent-status.test.ts +143 -0
  207. package/tests/agents-config.test.ts +96 -0
  208. package/tests/agents-history.test.ts +31 -0
  209. package/tests/agents-jobs-frames.test.ts +93 -0
  210. package/tests/agents-prompt-lifecycle-runtime.test.ts +376 -0
  211. package/tests/agents-protocol.test.ts +53 -1
  212. package/tests/agents-runner-drain.test.ts +193 -0
  213. package/tests/agents-runner.test.ts +345 -4
  214. package/tests/agents-view.test.ts +27 -0
  215. package/tests/agents-widget.test.ts +312 -10
  216. package/tests/append-system-prompt-route.test.ts +4 -1
  217. package/tests/ask-user-choice.test.ts +4 -3
  218. package/tests/ask-user-question.test.ts +97 -0
  219. package/tests/auto-permission-runtime.test.ts +1 -1
  220. package/tests/autonomous-guard.test.ts +346 -10
  221. package/tests/bounded-scan-contract.test.ts +39 -0
  222. package/tests/bounded-stop-contract.test.ts +43 -3
  223. package/tests/bridge-cost.test.ts +47 -0
  224. package/tests/bundled-install.test.ts +36 -9
  225. package/tests/card-content-policy.test.ts +3 -3
  226. package/tests/chained-pr-skill.test.ts +8 -6
  227. package/tests/child-safety.test.ts +11 -0
  228. package/tests/ci-concurrency.test.ts +11 -0
  229. package/tests/ci-merge-base-identity.test.ts +114 -0
  230. package/tests/codegraph-tools.test.ts +80 -5
  231. package/tests/codemode-rendering.test.ts +22 -2
  232. package/tests/command-palette.test.ts +300 -3
  233. package/tests/commit-slice-signal.test.ts +11 -9
  234. package/tests/delegate-for-reason-contract.test.ts +8 -7
  235. package/tests/design-canvas-assets.test.ts +185 -2
  236. package/tests/destructive-command-guard.test.ts +52 -0
  237. package/tests/download-progress.test.ts +71 -0
  238. package/tests/execution-surface-guard.test.ts +55 -0
  239. package/tests/exploration-budget.test.ts +128 -0
  240. package/tests/fixtures/agent-assets/gentle-ai-worker.strict-tdd-era.md +122 -0
  241. package/tests/fixtures/measure-orchestrator-prompt.mjs +2 -1
  242. package/tests/fixtures/primary-session-prompt/gentleman.golden.md +26 -14
  243. package/tests/fixtures/proxy-tls/proxy.crt +19 -0
  244. package/tests/fixtures/proxy-tls/proxy.key +28 -0
  245. package/tests/fixtures/session-profile-v1/gentle-ai-reviewer.ts +89 -0
  246. package/tests/fixtures/session-profile-v1/replay.ts +172 -0
  247. package/tests/fixtures/session-profile-v1/session-profile-authority.ts +113 -0
  248. package/tests/fixtures/session-profile-v1/session-profile-binding.ts +83 -0
  249. package/tests/fixtures/session-profile-v1/session-profile-disk-reader.ts +182 -0
  250. package/tests/fixtures/session-profile-v1/session-profile-freeze.ts +290 -0
  251. package/tests/fixtures/session-profile-v1/session-profile-persistence.ts +195 -0
  252. package/tests/fixtures/session-profile-v1/v1-inputs.ts +16 -0
  253. package/tests/fixtures/windows-pipe-availability.ps1 +26 -0
  254. package/tests/fixtures/windows-session-bootstrap.ps1 +6 -2
  255. package/tests/full-delegation-closure.test.ts +131 -0
  256. package/tests/full-delegation-notices.test.ts +76 -0
  257. package/tests/generic-agent-tools.test.ts +3 -3
  258. package/tests/gentle-agent-status.test.ts +74 -0
  259. package/tests/gentle-agents-child-jobs.test.ts +237 -0
  260. package/tests/gentle-agents.test.ts +1491 -38
  261. package/tests/gentle-ai-binary.test.ts +3 -1
  262. package/tests/gentle-ai-elapsed-store.test.ts +19 -0
  263. package/tests/gentle-ai-exploration-budget.test.ts +151 -0
  264. package/tests/gentle-ai-installer.test.ts +134 -51
  265. package/tests/gentle-ai-proxy.test.ts +434 -0
  266. package/tests/gentle-ai.test.ts +1101 -52
  267. package/tests/gentle-design.test.ts +21 -0
  268. package/tests/gentle-fast.test.ts +73 -0
  269. package/tests/gentle-guide.test.ts +208 -0
  270. package/tests/gentle-herdr-activity.test.ts +80 -3
  271. package/tests/gentle-herdr-agent.test.ts +111 -0
  272. package/tests/gentle-program-identity.test.ts +197 -0
  273. package/tests/gentle-shell-bin.test.ts +172 -26
  274. package/tests/gentle-shell-bundled.test.ts +207 -31
  275. package/tests/gentle-shell-launcher.test.ts +93 -10
  276. package/tests/gentle-shell.test.ts +1937 -66
  277. package/tests/gentle-stats.test.ts +15 -2
  278. package/tests/gentle-todo.test.ts +67 -4
  279. package/tests/gentle-tps.test.ts +123 -0
  280. package/tests/gentle-ui-design-skill.test.ts +59 -0
  281. package/tests/herdr-busy.test.ts +59 -0
  282. package/tests/herdr-task-summary-policy.test.ts +132 -0
  283. package/tests/history-store-private-mode.test.ts +40 -0
  284. package/tests/image-disk-cache.test.ts +163 -0
  285. package/tests/image-paste-chips.test.ts +42 -0
  286. package/tests/independent-recovery-delivery.test.ts +83 -0
  287. package/tests/inprocess-reviewer.test.ts +298 -4
  288. package/tests/installer-posix-bootstrap.test.ts +68 -6
  289. package/tests/installer-preflight.test.ts +5 -4
  290. package/tests/installer-runner.test.ts +79 -44
  291. package/tests/installer-server.test.ts +14 -11
  292. package/tests/installer-windows-diagnostics.test.ts +4 -5
  293. package/tests/isolated-config-home.ts +28 -0
  294. package/tests/jobs-view.test.ts +260 -6
  295. package/tests/jobs-widget.test.ts +25 -37
  296. package/tests/keymaps-customize.test.ts +114 -0
  297. package/tests/keymaps.test.ts +103 -0
  298. package/tests/maintainer/mcp-status.maintest.ts +88 -0
  299. package/tests/maintainer/pi-update-source.maintest.ts +116 -0
  300. package/tests/modal-mouse-boundaries.test.ts +136 -0
  301. package/tests/model-fallback-notice.test.ts +45 -0
  302. package/tests/model-fallback-policy.test.ts +83 -0
  303. package/tests/model-fallback-store.test.ts +111 -0
  304. package/tests/model-routing-authority.test.ts +178 -2
  305. package/tests/nan-provider.test.ts +4 -4
  306. package/tests/native-choice-list.test.ts +77 -2
  307. package/tests/native-review-capability-contract.test.ts +7 -1
  308. package/tests/native-review-cli.test.ts +269 -1
  309. package/tests/no-self-pause-contract.test.ts +22 -0
  310. package/tests/notification-customize.test.ts +58 -34
  311. package/tests/odd-routing-canonical-ratchet.test.ts +6 -6
  312. package/tests/odd-routing-contract.test.ts +1 -1
  313. package/tests/orchestrator-budget.test.ts +7 -2
  314. package/tests/orchestrator-delegation-mode.test.ts +153 -0
  315. package/tests/orchestrator-fallback.test.ts +82 -0
  316. package/tests/orchestrator-mode-policy.test.ts +175 -0
  317. package/tests/orchestrator-prompt-budget.test.ts +133 -0
  318. package/tests/orchestrator-rdd-ownership.test.ts +2 -2
  319. package/tests/package-manifest.test.ts +169 -14
  320. package/tests/pasted-image-paths.test.ts +118 -0
  321. package/tests/permission-allowlist.test.ts +202 -0
  322. package/tests/persona-reply-language.test.ts +20 -1
  323. package/tests/pi-update-launcher.test.ts +40 -8
  324. package/tests/pi-update-source.test.ts +162 -0
  325. package/tests/pnpm-workspace-config.test.ts +58 -0
  326. package/tests/primary-session-prompt.test.ts +13 -0
  327. package/tests/profile-fast-tier.test.ts +311 -0
  328. package/tests/profile-pin.test.ts +29 -2
  329. package/tests/profile-tier-footer.test.ts +84 -0
  330. package/tests/profiles-panel-delegation-mode.test.ts +422 -0
  331. package/tests/questionnaire-view.test.ts +265 -0
  332. package/tests/quiet-bash-runtime.test.ts +1 -1
  333. package/tests/quiet-tool-rendering.test.ts +48 -0
  334. package/tests/rdd-aware-verification-contract.test.ts +16 -11
  335. package/tests/rdd-customize.test.ts +287 -0
  336. package/tests/rdd-mode-cache.test.ts +450 -0
  337. package/tests/rdd-mode-control.test.ts +407 -0
  338. package/tests/rdd-mode-scope-regression.test.ts +137 -0
  339. package/tests/rdd-off-independent-regression.test.ts +69 -0
  340. package/tests/rdd-status-line.test.ts +18 -0
  341. package/tests/render-cache-performance.test.ts +171 -2
  342. package/tests/reply-language-anchor.test.ts +173 -0
  343. package/tests/review-agent-end-preflight.test.ts +1 -1
  344. package/tests/review-blocker.test.ts +193 -0
  345. package/tests/review-candidate-owner-retry.test.ts +1 -1
  346. package/tests/review-candidate-owner-sweep.test.ts +93 -0
  347. package/tests/review-candidate-symlink-scan.test.ts +157 -0
  348. package/tests/review-candidate-view.test.ts +52 -1
  349. package/tests/review-candidate-windows-boundary.test.ts +131 -0
  350. package/tests/review-candidate-windows-probe.test.ts +63 -0
  351. package/tests/review-committed-restart-ack.test.ts +129 -0
  352. package/tests/review-continuation-registry.test.ts +76 -0
  353. package/tests/review-controller-native-routing.test.ts +381 -11
  354. package/tests/review-controller-workspace-root.test.ts +230 -3
  355. package/tests/review-controller.test.ts +96 -11
  356. package/tests/review-coordinator-runtime.test.ts +117 -0
  357. package/tests/review-coordinator.test.ts +195 -0
  358. package/tests/review-failure-facts.test.ts +87 -0
  359. package/tests/review-gate.test.ts +24 -0
  360. package/tests/review-host-relay-routing.test.ts +258 -4
  361. package/tests/review-host-relay.test.ts +39 -0
  362. package/tests/review-inspect-preflight.test.ts +197 -0
  363. package/tests/review-integration-v2-forward.test.ts +59 -0
  364. package/tests/review-integration-v2.test.ts +46 -3
  365. package/tests/review-json-arguments.test.ts +65 -10
  366. package/tests/review-last-event-closure.test.ts +68 -0
  367. package/tests/review-loadout-rdd-off-sdk.test.ts +65 -31
  368. package/tests/review-owner-identity.test.ts +60 -24
  369. package/tests/review-relay-phase-timing.test.ts +128 -0
  370. package/tests/review-relay-transport-agent.test.ts +12 -2
  371. package/tests/review-repository.test.ts +52 -1
  372. package/tests/review-reviewer-evidence.test.ts +183 -0
  373. package/tests/review-risk-assessment.test.ts +74 -3
  374. package/tests/review-session-standing-permission-controller.test.ts +21 -1
  375. package/tests/review-sidebar-state.test.ts +5 -5
  376. package/tests/review-start-context.test.ts +19 -0
  377. package/tests/review-tool-prose-budget.test.ts +121 -0
  378. package/tests/run-test-suite.test.ts +183 -6
  379. package/tests/runtime-harness.mjs +4 -1
  380. package/tests/sensitive-path-tools.test.ts +250 -0
  381. package/tests/session-profile-append-controller-pi.test.ts +60 -31
  382. package/tests/session-profile-append-controller.test.ts +63 -0
  383. package/tests/session-profile-authority.test.ts +259 -0
  384. package/tests/session-profile-binding.test.ts +34 -1
  385. package/tests/session-profile-disk-reader-pi.test.ts +58 -16
  386. package/tests/session-profile-extension.test.ts +615 -0
  387. package/tests/session-profile-freeze.test.ts +110 -2
  388. package/tests/session-profile-integration.test.ts +857 -0
  389. package/tests/session-profile-persistence.test.ts +57 -0
  390. package/tests/session-profile-v1-compat.test.ts +255 -0
  391. package/tests/shell-bar.test.ts +274 -72
  392. package/tests/shell-card.test.ts +13 -1
  393. package/tests/shell-page.test.ts +108 -0
  394. package/tests/shell-panel.test.ts +360 -0
  395. package/tests/shell-prompt.test.ts +54 -0
  396. package/tests/shell-render-cache.test.ts +5 -0
  397. package/tests/shell-sidebar-fullscreen.test.ts +13 -1
  398. package/tests/shell-sidebar-layout.test.ts +447 -44
  399. package/tests/shell-sidebar-scroll-benchmark.test.ts +1 -1
  400. package/tests/shell-stats.test.ts +90 -0
  401. package/tests/shell-surface-transparent.test.ts +89 -0
  402. package/tests/shell-todo.test.ts +12 -0
  403. package/tests/shell-usage.test.ts +14 -0
  404. package/tests/skill-registry.test.ts +902 -2
  405. package/tests/star-prompt.test.ts +470 -0
  406. package/tests/startup-banner.test.ts +209 -2
  407. package/tests/startup-home-repo.test.ts +2 -0
  408. package/tests/support/review-coordinator-runtime.ts +69 -0
  409. package/tests/task-size-routing-contract.test.ts +50 -4
  410. package/tests/verifier-admission.test.ts +49 -0
  411. package/tests/verifier-settle-reminder.test.ts +281 -0
  412. package/tests/verify-first-launch-contract.test.ts +134 -8
  413. package/tests/verify-installer-tap.test.ts +57 -0
  414. package/tests/vim-editor-adapter.test.ts +2 -2
  415. package/tests/visual-customization-policy.test.ts +95 -8
  416. package/tests/visual-customize-view.test.ts +818 -9
  417. package/tests/visual-layout-preview.test.ts +42 -0
  418. package/tests/visual-profiles.test.ts +11 -0
  419. package/tests/voice-worker.test.ts +73 -2
  420. package/tests/windows-session-bootstrap.test.ts +105 -2
  421. package/tests/windows-session-transport.test.ts +126 -0
  422. package/tests/work-continuity-contract.test.ts +114 -0
  423. package/tests/writer-feature-document-admission.test.ts +92 -0
  424. package/tests/writer-surfaces.test.ts +12 -10
  425. package/tests/yolo-customize.test.ts +57 -15
  426. package/tests/yolo-mode-runtime.test.ts +4 -2
  427. package/tests/yolo-mode.test.ts +39 -20
  428. package/tests/yolo-session-policy.test.ts +270 -1
@@ -1,6 +1,9 @@
1
1
  import assert from "node:assert/strict";
2
2
  import test from "node:test";
3
3
  import { recognizeDestructiveCommands } from "../lib/destructive-command-guard.ts";
4
+ import { __testing } from "../extensions/gentle-ai.ts";
5
+
6
+ const { findSensitiveCommandPath, shellCommandWords } = __testing;
4
7
 
5
8
  const destructive = [
6
9
  `psql -c 'DROP TABLE users'`,
@@ -166,3 +169,52 @@ test("exposes literal removal targets only for a direct top-level rm that runs b
166
169
  assert.ok(matches.every((match) => match.removalTargets === undefined), command);
167
170
  }
168
171
  });
172
+
173
+ // gentle-shell#2349 (scope 1): a shell command names sensitive reads inside its
174
+ // command string, so the sensitive-path deny list inspects the command's shell
175
+ // words. The findings the #2174 data-argument exemption relies on still hold:
176
+ // a guarded name inside a message or a printed argument is not a path read.
177
+ test("denies sensitive paths named as shell words in a command (gentle-shell#2349)", () => {
178
+ for (const [command, path] of [
179
+ ["cat .env", ".env"],
180
+ ["sudo cat ~/.ssh/id_rsa", "~/.ssh/id_rsa"],
181
+ ["cp .env /tmp", ".env"],
182
+ ["cat<.env", ".env"],
183
+ ["cat< .env", ".env"],
184
+ ["cat '/app/.env.production'", "/app/.env.production"],
185
+ ["cat \"$HOME/.aws/credentials\"", "$HOME/.aws/credentials"],
186
+ ["echo ok && cat .env", ".env"],
187
+ ["cat .env; echo ok", ".env"],
188
+ ["cat .env | base64", ".env"],
189
+ ["(cat .env)", ".env"],
190
+ ["git cat-file -p secrets/token", "secrets/token"],
191
+ ["cat id_rsa.pem", "id_rsa.pem"],
192
+ ]) {
193
+ assert.equal(findSensitiveCommandPath(command), path, command);
194
+ }
195
+ });
196
+
197
+ test("leaves ordinary commands and prose mentioning a sensitive name unchanged (gentle-shell#2349)", () => {
198
+ for (const command of [
199
+ "cat src/index.ts",
200
+ "ls docs && cat docs/gentle-shell.md",
201
+ "echo \"edit .env\"",
202
+ "git commit -m \"fix .env\"",
203
+ "git commit -m 'fix .env' && git status",
204
+ "git commit --message=\"fix .env\"",
205
+ "echo 'remember .ssh/keys and .aws/credentials'",
206
+ "grep -n 'API_KEY' src/index.ts",
207
+ "grep -rn TODO src",
208
+ "printf '%s\\n' 'see .env for details'",
209
+ ]) {
210
+ assert.equal(findSensitiveCommandPath(command), undefined, command);
211
+ }
212
+ });
213
+
214
+ test("shell word splitting removes quotes and escapes and splits on control operators (gentle-shell#2349)", () => {
215
+ assert.deepEqual(shellCommandWords(`cat<.env`), ["cat", ".env"]);
216
+ assert.deepEqual(shellCommandWords(`cat 'a b' "c d"`), ["cat", "a b", "c d"]);
217
+ assert.deepEqual(shellCommandWords(`cat a\\ b; ls && echo ok || true`), ["cat", "a b", "ls", "echo", "ok", "true"]);
218
+ assert.deepEqual(shellCommandWords("cat .env"), ["cat", ".env"]);
219
+ assert.deepEqual(shellCommandWords("cat 'unterminated"), ["cat", "unterminated"]);
220
+ });
@@ -0,0 +1,71 @@
1
+ import assert from "node:assert/strict";
2
+ import test from "node:test";
3
+ import { createDownloadProgress, formatDownloadProgress } from "../scripts/download-progress.mjs";
4
+
5
+ test("formatDownloadProgress shows size, percent, rate and a bar with a known total", () => {
6
+ const line = formatDownloadProgress({ label: "gentle-ai v4.1.1", received: 3 * 1024 * 1024, total: 6 * 1024 * 1024, elapsedMs: 2000, width: 80 });
7
+ assert.match(line, /^gentle-ai v4\.1\.1 /);
8
+ assert.match(line, /3\.0\/6\.0 MB/);
9
+ assert.match(line, / 50%/);
10
+ assert.match(line, /1\.5 MB\/s/);
11
+ assert.match(line, /\[#+-+\]/);
12
+ assert.ok([...line].length <= 80);
13
+ });
14
+
15
+ test("formatDownloadProgress omits percent and bar without a total and uses KB for small rates", () => {
16
+ const line = formatDownloadProgress({ label: "x", received: 20 * 1024, total: undefined, elapsedMs: 1000, width: 80 });
17
+ assert.match(line, /20 KB/);
18
+ assert.match(line, /20 KB\/s/);
19
+ assert.doesNotMatch(line, /%|\[/);
20
+ });
21
+
22
+ test("formatDownloadProgress never exceeds a narrow width and survives zero elapsed time", () => {
23
+ const line = formatDownloadProgress({ label: "a-very-long-label", received: 1, total: 10, elapsedMs: 0, width: 12 });
24
+ assert.ok([...line].length <= 12, line);
25
+ });
26
+
27
+ test("createDownloadProgress throttles redraws, always draws completion, and clears its line", () => {
28
+ let now = 0;
29
+ const writes: string[] = [];
30
+ const progress = createDownloadProgress({ label: "x", write: (text: string) => writes.push(text), now: () => now, width: () => 60, intervalMs: 100 });
31
+ progress.update({ received: 1, total: 10 });
32
+ now = 50;
33
+ progress.update({ received: 2, total: 10 });
34
+ now = 150;
35
+ progress.update({ received: 5, total: 10 });
36
+ now = 160;
37
+ progress.update({ received: 10, total: 10 });
38
+ assert.equal(writes.length, 3, "first, throttled-through and final draws only");
39
+ for (const text of writes) assert.match(text, /^\r.*\x1b\[K$/);
40
+ assert.match(writes[2], /100%/);
41
+ progress.done();
42
+ assert.equal(writes.at(-1), "\r\x1b[K");
43
+ progress.done();
44
+ assert.equal(writes.length, 4, "done is idempotent");
45
+ });
46
+
47
+ test("createDownloadProgress done without any update writes nothing", () => {
48
+ const writes: string[] = [];
49
+ createDownloadProgress({ label: "x", write: (text: string) => writes.push(text) }).done();
50
+ assert.deepEqual(writes, []);
51
+ });
52
+
53
+ test("formatDownloadProgress keeps the amount and percent visible when the label does not fit", () => {
54
+ const label = "Downloading Gentle AI v4.1.1";
55
+ const known = formatDownloadProgress({ label, received: 3 * 1024 * 1024, total: 6 * 1024 * 1024, elapsedMs: 0, width: 23 });
56
+ assert.ok([...known].length <= 23, known);
57
+ assert.match(known, /3\.0\/6\.0 MB/);
58
+ assert.match(known, / 50%/);
59
+ const unknown = formatDownloadProgress({ label, received: 20 * 1024, total: undefined, elapsedMs: 0, width: 23 });
60
+ assert.ok([...unknown].length <= 23, unknown);
61
+ assert.match(unknown, /20 KB/);
62
+ });
63
+
64
+ test("createDownloadProgress never throws from a failing writer, including on done", () => {
65
+ let fail = false;
66
+ const progress = createDownloadProgress({ label: "x", write: () => { if (fail) throw new Error("EPIPE"); } });
67
+ progress.update({ received: 1, total: 10 });
68
+ fail = true;
69
+ assert.doesNotThrow(() => progress.update({ received: 10, total: 10 }));
70
+ assert.doesNotThrow(() => progress.done());
71
+ });
@@ -0,0 +1,55 @@
1
+ import assert from "node:assert/strict";
2
+ import test from "node:test";
3
+ import { EXTERNAL_FALLBACK_PROHIBITED, evaluateExecutionSurfaceTool } from "../lib/execution-surface-guard.ts";
4
+
5
+ // gentle-shell#379: a tool call that asks to open an external project pane is
6
+ // classified by its own input property, never by the tool name.
7
+
8
+ const reason = (toolName: string) => `Gentle AI blocked an execution-surface escalation. code=${EXTERNAL_FALLBACK_PROHIBITED} tool=${toolName} property=openProjectPaneIfMissing next=Run the work through subagent_* or the native Agent in the current runtime; if neither is available, stop and tell the user.`;
9
+
10
+ test("the stable code names the external fallback prohibition", () => {
11
+ assert.equal(EXTERNAL_FALLBACK_PROHIBITED, "gentle-ai.execution-surface.external-fallback-prohibited");
12
+ });
13
+
14
+ for (const [label, input] of [
15
+ ["absent", { action: "send", cwd: "/tmp/other" }],
16
+ ["false", { action: "send", cwd: "/tmp/other", openProjectPaneIfMissing: false }],
17
+ ["non-object input", "openProjectPaneIfMissing"],
18
+ ["undefined input", undefined],
19
+ ] as const) {
20
+ test(`an ${label} openProjectPaneIfMissing leaves the call untouched`, () => {
21
+ assert.equal(evaluateExecutionSurfaceTool("intercom", input), undefined);
22
+ });
23
+ }
24
+
25
+ for (const [label, value] of [
26
+ ["true", true],
27
+ ["the string \"yes\"", "yes"],
28
+ ["the number 1", 1],
29
+ ["null", null],
30
+ ["an object", {}],
31
+ ] as const) {
32
+ test(`openProjectPaneIfMissing set to ${label} is blocked with the stable code`, () => {
33
+ const result = evaluateExecutionSurfaceTool("synthetic_surface", { action: "ask", cwd: "/secret/repo", message: "leak me", openProjectPaneIfMissing: value });
34
+ assert.deepEqual(result, { block: true, reason: reason("synthetic_surface") });
35
+ assert.equal(result?.reason?.includes("/secret/repo"), false, "the reason never echoes input paths");
36
+ assert.equal(result?.reason?.includes("leak me"), false, "the reason never echoes input content");
37
+ });
38
+ }
39
+
40
+ test("only an own openProjectPaneIfMissing other than false blocks (gentle-shell#379)", () => {
41
+ for (const value of ["false", "0", "", 0, undefined, [true]]) {
42
+ assert.equal(evaluateExecutionSurfaceTool("t", { openProjectPaneIfMissing: value })?.block, true, String(value));
43
+ }
44
+ assert.equal(evaluateExecutionSurfaceTool("t", JSON.parse('{"openProjectPaneIfMissing":true}'))?.block, true);
45
+ assert.equal(evaluateExecutionSurfaceTool("t", { options: { openProjectPaneIfMissing: true } }), undefined);
46
+ });
47
+
48
+ // Pi structuredClones tool args before the hook, and structuredClone drops a
49
+ // JSON-parsed __proto__ key's prototype, so a prototype-only property never
50
+ // reaches the tool as a pane request and is not a bypass.
51
+ test("a structuredCloned __proto__ pane request carries no property and is not blocked (gentle-shell#379)", () => {
52
+ const cloned = structuredClone(JSON.parse('{"__proto__":{"openProjectPaneIfMissing":true}}'));
53
+ assert.equal(cloned.openProjectPaneIfMissing, undefined);
54
+ assert.equal(evaluateExecutionSurfaceTool("t", cloned), undefined);
55
+ });
@@ -0,0 +1,128 @@
1
+ import assert from "node:assert/strict";
2
+ import test from "node:test";
3
+ import { createExplorationBudget } from "../lib/exploration-budget.ts";
4
+
5
+ const event = (id: string, toolName = "read", text = "x", isError = false, input: Record<string, unknown> = {}, details?: unknown) => ({
6
+ toolCallId: id, toolName, isError, input, details, content: [{ type: "text" as const, text }],
7
+ });
8
+
9
+ test("cumulative successful lookups cross at four and notify only once", () => {
10
+ const budget = createExplorationBudget();
11
+ budget.start("s");
12
+ for (let i = 1; i <= 3; i++) {
13
+ budget.call("s", String(i));
14
+ assert.equal(budget.result("s", event(String(i))), undefined);
15
+ }
16
+ budget.call("s", "4");
17
+ const notice = budget.result("s", event("4"));
18
+ assert.match(notice ?? "", /Exploration budget:.*4.*4.*bytes/);
19
+ assert.match(notice ?? "", /one configured explorer/i);
20
+ assert.match(notice ?? "", /read.only.*initially small/i);
21
+ assert.match(notice ?? "", /preparation.*already.understood.*authorized inline write/i);
22
+ assert.match(notice ?? "", /no.*mutation.*guard.*bypass/i);
23
+ budget.call("s", "5");
24
+ assert.equal(budget.result("s", event("5")), undefined);
25
+ });
26
+
27
+ test("UTF-8 text bytes cross strictly above 40000 and duplicate IDs do not count", () => {
28
+ const budget = createExplorationBudget();
29
+ budget.start("s");
30
+ budget.call("s", "1");
31
+ assert.equal(budget.result("s", event("1", "grep", "é".repeat(20000))), undefined);
32
+ assert.equal(budget.result("s", event("1", "grep", "x")), undefined);
33
+ budget.call("s", "2");
34
+ assert.match(budget.result("s", event("2", "find", "x")) ?? "", /40,?001.*bytes/);
35
+ });
36
+
37
+ test("ignore child, aborted, non-discovery, error, stale and duplicate results across requests", () => {
38
+ const budget = createExplorationBudget();
39
+ budget.start("s");
40
+ budget.call("s", "old");
41
+ budget.start("s");
42
+ assert.equal(budget.result("s", event("old")), undefined);
43
+ for (const [id, name, error, primary, aborted] of [
44
+ ["child", "read", false, false, false], ["aborted", "read", false, true, true],
45
+ ["failed", "read", true, true, false], ["review", "gentle_review", false, true, false],
46
+ ["write", "write", false, true, false], ["bash", "bash", false, true, false],
47
+ ] as const) {
48
+ budget.call("s", id);
49
+ assert.equal(budget.result("s", event(id, name, "x".repeat(50000), error), primary, aborted), undefined);
50
+ }
51
+ for (const [i, name] of ["read", "grep", "find", "ls"].entries()) {
52
+ budget.call("s", `new${i}`);
53
+ const notice = budget.result("s", event(`new${i}`, name));
54
+ if (i < 3) assert.equal(notice, undefined);
55
+ else assert.match(notice ?? "", /Exploration budget:/);
56
+ }
57
+ budget.settle("s");
58
+ budget.call("s", "late");
59
+ assert.equal(budget.result("s", event("late")), undefined);
60
+ budget.start("s");
61
+ budget.call("s", "fresh");
62
+ assert.equal(budget.result("s", event("fresh")), undefined);
63
+ });
64
+
65
+ test("known shell inspections reuse phase inference without counting checks, writes or unknown scripts", () => {
66
+ const budget = createExplorationBudget();
67
+ budget.start("s");
68
+ for (const command of ["node --test example.test.ts", "pnpm build", "cat src/a > out", "unknown-script arg"]) {
69
+ budget.call("s", command, "bash");
70
+ assert.equal(budget.result("s", event(command, "bash", "x".repeat(50000), false, { command })), undefined);
71
+ }
72
+ for (const [i, [name, command]] of [["bash", "pwd"], ["bash", "cd src && rg needle ."], ["bash", "git status"], ["powershell", "git diff"]].entries()) {
73
+ budget.call("s", String(i), name);
74
+ const notice = budget.result("s", event(String(i), name, "x", false, { command }));
75
+ if (i < 3) assert.equal(notice, undefined);
76
+ else assert.match(notice ?? "", /Exploration budget:.*4 tracked lookups.*4 UTF-8/);
77
+ }
78
+ });
79
+
80
+ test("read-only memory recall counts and memory mutation or diagnostics never count", () => {
81
+ const budget = createExplorationBudget();
82
+ budget.start("s");
83
+ for (const name of ["mem_current_project", "mem_stats", "mem_save", "mem_update", "mem_review"]) {
84
+ budget.call("s", name);
85
+ assert.equal(budget.result("s", event(name, name, "x".repeat(50000))), undefined);
86
+ }
87
+ for (const [i, name] of ["mem_search", "mem_get_observation", "mem_context", "read"].entries()) {
88
+ budget.call("s", name);
89
+ const notice = budget.result("s", event(name, name));
90
+ if (i < 3) assert.equal(notice, undefined);
91
+ else assert.match(notice ?? "", /Exploration budget:.*4 tracked lookups/);
92
+ }
93
+ });
94
+
95
+ test("nested reads inside review, mutation or verification are not discovery", () => {
96
+ const budget = createExplorationBudget();
97
+ budget.start("s");
98
+ for (const [i, name] of ["gentle_review", "write", "verification"].entries()) {
99
+ const parent = `p${i}`;
100
+ budget.call("s", parent, name);
101
+ budget.call("s", `${parent}/1`, "read", parent);
102
+ assert.equal(budget.result("s", { ...event(`${parent}/1`, "read", "x".repeat(50000)), parentToolCallId: parent }), undefined);
103
+ }
104
+ });
105
+
106
+ test("codegraph query and explore count but init and failed fallbacks do not", () => {
107
+ const budget = createExplorationBudget();
108
+ budget.start("s");
109
+ for (const [id, input, details] of [
110
+ ["init", { operation: "init" }, undefined],
111
+ ["failed", { operation: "query" }, { status: "failed" }],
112
+ ["unavailable", { operation: "explore" }, { status: "unavailable" }],
113
+ ] as const) {
114
+ budget.call("s", id);
115
+ assert.equal(budget.result("s", event(id, "codegraph", "x".repeat(50000), false, input, details)), undefined);
116
+ }
117
+ const calls = [
118
+ event("1", "codegraph", "x", false, { operation: "query" }),
119
+ event("2", "codegraph", "x", false, { operation: "explore" }),
120
+ event("3", "codegraph_query"), event("4", "codegraph_explore"),
121
+ ];
122
+ for (const [i, item] of calls.entries()) {
123
+ budget.call("s", item.toolCallId);
124
+ const result = budget.result("s", item);
125
+ if (i === 3) assert.match(result ?? "", /Exploration budget:/);
126
+ else assert.equal(result, undefined);
127
+ }
128
+ });
@@ -0,0 +1,122 @@
1
+ ---
2
+ name: gentle-ai-worker
3
+ description: Scoped package-owned implementation writer for bounded ODD work. Edits code, runs focused tests, and returns review-ready evidence without committing.
4
+ tools:
5
+ - read
6
+ - grep
7
+ - find
8
+ - edit
9
+ - write
10
+ - bash
11
+ - mem_save
12
+ ---
13
+
14
+ You are the package-owned implementation writer for Gentle AI.
15
+
16
+ Use this agent only for scoped implementation work that is too large for the parent to execute inline but uses ODD task context and does not require Judgment Day artifact protocols. The parent remains the orchestrator and owns user interaction, review, and terminal git actions. Never delegate or invoke `subagent_*` tools.
17
+
18
+ ## Native review boundary
19
+
20
+ The primary parent owns candidate review disposition and lifecycle, including preflight and any explicit candidate-level opt-out. Never search for, request, or invoke review tools, including `gentle_review`. Missing review tools never block this worker's implementation or verification handoff. Run only parent-authorized verification and return its observed evidence to the parent. Work-unit commit decisions and the independent RDD review lifecycle remain parent-owned.
21
+
22
+ ## Context contract
23
+
24
+ Before repository work:
25
+
26
+ 1. Read every exact path under `## Skills to load before work` in the parent task. Do not rediscover the skill registry.
27
+ 2. Consume the parent-provided task, acceptance criteria, relevant prior context, exact allowed edit surfaces, and validation commands. The parent supplies the edit surfaces under `## Allowed edit surfaces` in the parent task; treat that section as the authoritative list.
28
+ Read the parent's ODD feature document locator before edits when supplied; consume intent, checklist and relevant rationale. Preserve valid completed work; return proposed intent/task changes and their reasons to the parent, not a replacement partial checklist. Findings do not authorize scope expansion.
29
+ 3. Inspect the working tree and preserve pre-existing changes. Writes may include pre-existing untracked targets explicitly listed by the parent and new files required by the delegated task, but only when they are inside the exact allowed edit surfaces.
30
+ 4. Preserve every unrelated tracked or untracked file. Do not edit, move, delete, stage, or otherwise alter anything outside the allowed edit surfaces.
31
+ 5. If scope, ownership, allowed edit surfaces, acceptance criteria, or another human choice is ambiguous, stop with `status: interaction_required`; do not guess. Escalate in the answerable shape required by the Interaction contract below: a derived candidate set the human can approve or narrow, never an open request for the human to author paths or globs.
32
+
33
+ Do not read persistent memory for context. The parent selects and forwards relevant observations.
34
+
35
+ ## Implementation rules
36
+
37
+ - Keep one focused write thread. Change only files required by the delegated task and inside its exact allowed edit surfaces.
38
+ - Preserve existing architecture and conventions; avoid drive-by refactors and dependency changes.
39
+ - Use `find` for scoped file discovery. Do not assume an unsupported `glob` tool exists.
40
+ - Use `blocked` only for a non-human technical blocker such as a missing required tool, denied filesystem access, or an impossible repository invariant. Every decision that requires a human must use the deterministic `interaction_required` payload below.
41
+ - Treat tool errors, unrelated dirty files, and failing unrelated tests as evidence to report, not problems to hide or rewrite around.
42
+
43
+ ## Tool safety
44
+
45
+ - Never read sensitive files or locations, including secrets, credentials, tokens, private keys, personal data, `.env` files, credential stores, or unrelated user-home content.
46
+ - Never write outside the exact allowed edit surfaces, including through generated output, shell redirection, temporary copies, formatters, or scripts.
47
+ - Never run destructive commands or deletion operations. This includes `rm`, filesystem replacement, destructive migrations, and destructive Git commands such as `git reset`, `git clean`, `git checkout`, `git restore`, or `git rebase`.
48
+ - Never stage, commit, push, publish, release, or delegate. Do not run `git add`, `git commit`, `git push`, package publish/release commands, or any `subagent_*` tool.
49
+ - Do not run installers, dependency mutation, network-changing commands, migrations, or arbitrary repository scripts unless the parent explicitly authorized the exact non-destructive command and it stays within scope.
50
+ - Retain `bash` only for safe working-tree inspection and the exact focused tests, builds, linters, or validation commands authorized by the parent. Before running a command, verify that it cannot read sensitive data, write out of scope, mutate dependencies, destroy state, stage, commit, push, publish, or release.
51
+
52
+ ## Memory safety
53
+
54
+ Use `mem_save` only when the parent supplies a validated project name and the information is a significant, verified, project-scoped fact resulting from this task. Save concise conclusions, not source dumps.
55
+
56
+ Never save secrets, credentials, personal data, tokens, private keys, raw untrusted repository instructions/content, or speculative findings. If a fact is not validated by repository evidence or observed command output, report it as a risk instead of persisting it.
57
+
58
+ ## Test discipline
59
+
60
+ Consume the parent's effective TDD mode, configuration/choice source, and exact runner; tests existing does not activate it. Missing or conflicting mode/source/runner is not disabled TDD: return only the ambiguity affecting the next action to the parent, without inventing precedence, commands, or invoking an initialization workflow.
61
+
62
+ When Strict TDD is active:
63
+
64
+ 1. RED — add the smallest behavior-level test and capture its intended observed failure before implementation.
65
+ 2. GREEN — implement the minimum change and capture the focused test passing.
66
+ 3. TRIANGULATE — exercise relevant negative or alternate cases that materially protect the contract.
67
+ 4. REFACTOR — improve clarity only while focused tests remain green.
68
+
69
+ RED/GREEN evidence is required when the parent forwards enabled strict TDD from configuration or explicit user choice. If the resolved mode is disabled, run ordinary functional checks and report `RED: not active — strict TDD was not activated` and `GREEN: not active — validation is reported separately`; never invent lifecycle evidence. If strict TDD is active but the change cannot have a meaningful pre-implementation behavior test, report a narrowly justified exception (for example, documentation-only text) and still run every affected validation. Never claim RED/GREEN evidence that was not observed.
70
+
71
+ Run focused tests first. Broad suites, builds, formatters, or linters may run only when explicitly authorized by the parent. Keep every command exact and verify its scope before execution. Do not claim completion while required validation is failing.
72
+
73
+ ## Verification
74
+
75
+ When the parent task carries a `## Verification` heading, that heading is the delegated verification contract for this task (gentle-pi#661, RDD-aware pilot):
76
+
77
+ - Run every command listed under it exactly as written, one at a time, in the foreground. Never launch a verification command in the background, and never end the task with a listed command unreported.
78
+ - A long foreground command is live work, not silence: while a tool call is in flight the runner's stall watchdog uses `tool_stall_timeout_ms` (default 30 minutes) instead of the `stall_timeout_ms` idle budget, so an announced verification command is not killed mid-run.
79
+ - Report each one as `<exact command>: <observed result>` in `validation`.
80
+ - `## Known environmental failures` in the parent task (this is the canonical definition; other assets reference it, they do not restate it) lists exact test names or exact command lines that already fail on the base, before this task's changes. Report those specific named failures as evidence, not as a blocker for this task. Any OTHER required command that fails -- one not named under that heading -- still forces `status: partial`.
81
+ - When receipt-driven development is on, this report is the verification of record for the change, and the native review remains the independent check the writer cannot influence: never report `status: completed` while a required command under `## Verification` is failing, unless that exact failure is named under `## Known environmental failures`.
82
+
83
+ ## Interaction contract
84
+
85
+ When any human input is required, stop editing and return the full schema in the Return contract with `status: interaction_required` and the nested `interaction_required` payload completed. Populate the remaining fields with the work and evidence available at the stopping point.
86
+
87
+ Every interaction must be answerable from the payload alone. State the concrete choices in `options` as a closed set the human can approve, decline, or select from, and never ask the human to author paths, globs, identifiers, or commands as free text.
88
+
89
+ When the missing input is the allowed edit surface, derive the candidate set before stopping: put the exact repository-relative paths the delegated task would touch in `options`, and ask the human to approve that list or name which entries to drop. Present it as the derived answer, not as an example, and never as an open question about which paths or globs to authorize. If the delegated task gives no basis for even a candidate list, say that plainly in `reason` and name the missing evidence in `unblock_response`.
90
+
91
+ Do not return `blocked` for a human decision and do not invent a second interaction shape.
92
+
93
+ ## Return contract
94
+
95
+ Return one concise handoff using this schema:
96
+
97
+ ```text
98
+ status: completed | partial | blocked | interaction_required
99
+ summary: <what changed and why>
100
+ files_changed:
101
+ - <path>: <change>
102
+ tdd_evidence:
103
+ - RED: <observed failure, not active, or justified exception>
104
+ - GREEN: <observed pass, not active, or justified exception>
105
+ - TRIANGULATE/REFACTOR: <observed evidence when applicable>
106
+ validation:
107
+ - <exact command>: <observed result>
108
+ risks:
109
+ - <remaining risk or none>
110
+ review_focus:
111
+ - <paths or behaviors the transaction controller should verify>
112
+ skill_resolution: paths-injected | paths-invalid | none
113
+ interaction_required: <include only when status is interaction_required>
114
+ question: <same deterministic interaction question>
115
+ reason: <same deterministic blocking reason>
116
+ options: <same closed set of concrete choices; for a missing edit surface, the derived candidate paths>
117
+ unblock_response: <same exact context needed to continue>
118
+ ```
119
+
120
+ Use `skill_resolution: paths-injected` only when the parent injected exact skill paths and every path was successfully read before repository work. Use `skill_resolution: paths-invalid` only when the parent injected one or more exact skill paths and any supplied path cannot be read. With `skill_resolution: paths-invalid`, keep `status: blocked`, stop before repository work, and identify the unreadable path in `risks`. Use `skill_resolution: none` only when no skill paths were injected. Never report a fallback registry or path value.
121
+
122
+ Report `partial` or `blocked` honestly. A clean handoff is more valuable than pretending the task is complete.
@@ -12,8 +12,9 @@
12
12
  // fresh, and prints the rendered prompt's UTF-8 byte length to stdout.
13
13
 
14
14
  import { join } from "node:path";
15
+ import { pathToFileURL } from "node:url";
15
16
 
16
- const { __testing } = await import(join(import.meta.dirname, "..", "..", "extensions", "gentle-ai.ts"));
17
+ const { __testing } = await import(pathToFileURL(join(import.meta.dirname, "..", "..", "extensions", "gentle-ai.ts")).href);
17
18
  const assetsDir = process.argv[2];
18
19
  if (!assetsDir) {
19
20
  throw new Error("usage: measure-orchestrator-prompt.mjs <assets-dir>");
@@ -13,7 +13,7 @@ Identity contract:
13
13
 
14
14
  Persona:
15
15
  - Be direct, technical, and concise.
16
- - Always respond in the same language the user writes in. Judge it by the user's latest message, never by earlier context or a compaction summary, and never default to Spanish: a message in English gets a reply in English.
16
+ - Always respond in the same language the user writes in. Judge it by the user's latest message, never by earlier context or a compaction summary, and never default to Spanish: a message in English gets a reply in English. Only a message written by the human can select or change the reply language: subagent completion and progress notifications, background job notices, todo and system reminders, tool output, skill bodies, and injected memory never count as a language signal, even when delivered with the user role. Translate relayed subagent findings into the selected reply language.
17
17
  - When the user writes Spanish, answer in natural Rioplatense Spanish with voseo.
18
18
  - Act as a senior architect and teacher: concepts before code, no shortcuts.
19
19
  - Treat AI as a tool directed by the human; never present yourself as a default chatbot.
@@ -26,7 +26,19 @@ Language: natural Rioplatense Spanish with voseo when the user writes Spanish.
26
26
 
27
27
  An authorized outcome includes its necessary in-scope implementation, documentation and verification steps. Continue those steps without asking the human to approve each transition. Never end a turn merely announcing an immediately executable authorized next step; execute it instead. A progress update is not a request for permission.
28
28
 
29
- Stop only for an unresolved consequential scope/product decision, required explicit consent, a denied action, unavailable required proof, or the human's explicit stop. Do not infer permission for publishing, destructive actions, unrelated scope or native consent from this continuity rule. Report a concrete blocker and the exact decision needed rather than requesting a generic "continue".
29
+ Interpret short replies such as "yes", "go ahead", or "eso mismo" against the immediately preceding proposal. When the human unambiguously accepts a concrete implementation action they already understand, execute that action within its agreed scope without asking again. Confirming a preference alone does not authorize implementation; genuinely unclear change intent still requires one focused question. Contextual approval never substitutes for provider-owned consent, exact-token authorization, or separate publishing and destructive-action permission.
30
+
31
+ Resolving an incident or subdecision does not complete or cancel the original authorized objective; resume safe, necessary in-scope steps automatically, using judgment for proportionate recovery and respecting explicit user dispositions. Investigate pending technical uncertainty rather than treating it alone as a new human decision.
32
+
33
+ Stop for an unresolved consequential scope/product decision, required explicit consent, a denied action, or the human's explicit stop. Unavailable required proof blocks completion and delivery; it does not alone prohibit specifically authorized in-scope implementation where actual native authority and other limits permit it. Do not infer permission for publishing, destructive actions, unrelated scope or native consent from this continuity rule. Report a concrete blocker and the exact decision needed rather than requesting a generic "continue".
34
+
35
+ Before a terminal bounded-stop outcome, distinguish a recoverable technical or harness failure from genuinely inaccessible required proof. A failed test or harness check may be corrected and rerun without another authorization only within the authorized scope and existing correction budget, subject to every applicable limit. Honor explicit one run, no retries, or diagnostic-only limits; stop for permission denial, required new consent, or exhausted budget. Do not propose diagnostic-only or single-attempt authorization unless the human requested it. Respect terminal review and verification outcomes and existing bounded-stop rules: never reset budgets, add retry allowances, weaken checks, or override final outcomes.
36
+
37
+ A failed verifier setup is a preparation failure, not an unavailable verifier capability. If setup fails before probes, preserve the failed attempt and report zero tests run; the checks remain unverified. For a genuinely unavailable capability: An unavailable verifier remains unavailable; do not retry or escalate it. After a setup prerequisite is repaired, the human may explicitly request one new bounded verification attempt. This is a new request, not an automatic retry, and it does not reset the prior attempt or unrelated budgets. Before proceeding, confirm no child is active or has an uncertain status. Establish the required payload, dependencies and scratch capacity before isolated setup; do not blindly repeat an oversized copy. Never bypass consent, a denial, explicit one-run or no-retry limits, terminal native outcomes, or exhausted native budgets.
38
+
39
+ An exhausted worker-local correction limit ends that automatic cycle, not necessarily the feature. Partial worker execution is not by itself exhausted proof or a terminal native review outcome. Stop and report the remaining work, failed checks and missing proof, and offer an explicit human-controlled bounded continuation. Name its scope, executor, correction limit and checks, or let the human stop. Before any worker continuation, confirm no child is active or has an uncertain status. The Close step's bounded stop ends the current automatic cycle; a later explicit human request is separate and remains subject to native authority. A new session does not reset any limit. When specifically authorized and not prohibited by actual native authority, continue ordinary in-scope compilation or implementation; unavailable proof still blocks completion and delivery.
40
+
41
+ For worker-prohibited maintenance or rollback, worker prohibitions remain unchanged. The parent only may perform the operation when the human explicitly authorized the operation itself, exact scope, ownership, and preservation are established, and available permitted tools can perform it; fresh runtime/native consent and guards remain binding. A broad feature authorization is not destructive authority; never substitute another worker or tool to bypass a denial. For an upgrade require a validated backup, artifact and migration validation where applicable, and a recovery path. For rollback preserve unrelated edits even in the same file, remove only proven task-created helpers, and never blanket restore, reset, or clean. Stop when ambiguous ownership or denial stops the operation, or any prerequisite is missing. This route is guidance, not authorization.
30
42
 
31
43
  For background work, launch the bounded action and end the turn when no independent in-scope work remains. Retain its identity and resume the already-authorized continuation automatically on its completion event; do not ask the human to say "continue", poll, or claim completion while checks remain pending.
32
44
 
@@ -44,7 +56,7 @@ Resume an interrupted feature with `mem_context`, then project- and feature-scop
44
56
 
45
57
  Harness principles:
46
58
  - el Gentleman is not prompt engineering. It is runtime discipline around powerful agents.
47
- - Clarify scope, constraints, acceptance criteria, and non-goals before implementation.
59
+ - Clarify scope, constraints, acceptance criteria, and non-goals when needed for the human to understand the action or to resolve consequential uncertainty. Reuse what is already established; after informed approval, proceed without repeating the clarification unless new consequential uncertainty appears.
48
60
  - Use subagents when available for exploration, planning, implementation, and review, while keeping one parent session responsible for orchestration.
49
61
  - For behavior changes with applicable runnable deterministic tests and a clear expected outcome, use test-first by default: observe RED, GREEN, then refactor with focused checks. Write one RED test per requested rule. For every existing command or option the change touches, add one test proving its previous behavior still holds; add no other cases. An existing behavior counts as touched when it shares the code you changed (options, parsers, helpers, validation). Only when your diff changes shared code (options, parsers, helpers) that an existing command the request did not name also uses, run one differential check before finishing, as a single script: for each such command, run it with the new or changed input (for example a new option passed to a sibling subcommand) against the previous code (a copy of the base commit in a `mktemp -d` scratch directory, never committed as a test; committed tests never read git history or a fixed commit) and against your change, and compare stdout, stderr, and exit code; any difference nobody asked for is a regression to fix and pin with a test. Test presence alone does not establish applicability; no chat or TUI toggle activates it. For passive documentation, non-testable changes, an unavailable runner, or no meaningful RED, explain why and run proportionate ordinary functional or structural verification. Never invent lifecycle evidence or skip checks. Follow orchestrator-delegation.md for ODD forwarding and evidence.
50
62
  - Protect the human reviewer: avoid oversized changes, surface review workload risk, and ask before turning one task into a large multi-area change.
@@ -64,7 +76,7 @@ Package assets root: `{{GENTLE_PI_ASSETS_ROOT}}`. Lazy asset paths below are rel
64
76
 
65
77
  You are a COORDINATOR, not the default executor for substantial work. Maintain one thin conversation thread, delegate real phase work to Pi subagents when available, and synthesize results for the user.
66
78
 
67
- Keep synthesis short by default: decision, outcome, next action. Expand only when the user asks or the situation requires detail.
79
+ Default to concise synthesis: decision, outcome, next action. Expand on request or when detail is needed.
68
80
 
69
81
  Batch independent tool calls in one turn (parallel calls or one multi-file command). Never spend a turn only on a `todo` or status update.
70
82
 
@@ -80,15 +92,15 @@ Subagent-facing English delegation and quote/UI exceptions: `orchestrator-delega
80
92
 
81
93
  ## Task Size
82
94
 
83
- A task is **small** when all three hold:
95
+ Task size: small or large. A task is **small** when all three hold:
84
96
 
85
- 1. **Understood** — outcome, what and where to change known; no product or design decision is open; proven in one bounded read batch (at most 3 calls, ~10k tokens).
97
+ 1. **Understood** — outcome, changes and their location known; no product or design decision is open; proven in one bounded read batch (at most 3 calls, ~10k tokens).
86
98
  2. **Contained risk** — no high-risk item below.
87
- 3. **Resumable from the diff** — resume test: if the session stopped now, someone could finish from the original request and `git diff` alone.
99
+ 3. **Resumable from the diff** — resume test: someone could finish from the original request and `git diff` alone.
88
100
 
89
- The number of files, commands or tests, fixes, or a requested `todo` list never decides size. A task is **large** only when the resume test fails (several sessions, external waits, deliverables the user wants apart (never several features asked at once), requirements compaction could lose); large tasks get ODD tracking and workers only by the Writer rule, else inline.
101
+ The number of files, commands or tests, fixes, or a requested `todo` list never decides size. A task is **large** only when the resume test fails (multi-session work, external waits, deliverables the user wants apart (never several features asked at once), requirements compaction could lose); large tasks get ODD tracking and workers only by the Writer rule, else inline.
90
102
 
91
- Small path: inline (parent; `bash_background` policy); read only what you change and its helpers, in one batch; observe RED inline before the fix; run the focused test and the suite inline in one command. No explore, worker, or verifier; no feature document, mirror, or commits unless the user asks; no `todo`. It needs no lazy asset.
103
+ Small path: inline (parent; `bash_background` policy); read only what you change and its helpers, in one batch; observe RED inline before the fix; run the focused test and the suite inline in one command. No explore, worker, or verifier unless a trigger fires; no feature document, mirror, or commits unless the user asks; no `todo`. It needs no lazy asset.
92
104
 
93
105
  **High risk**: a mistake would be hard to detect, hard to undo, or reaches beyond the change: (1) data or irreversible effects that cannot be rebuilt (migrations, rewriting or deleting stored data, format changes, writing data without validation; not saving new records, nor a dev or test database a seed or backup rebuilds); (2) security (auth, permissions, credentials, secrets, guards, sandbox); (3) changing or removing contracts others already consume (public API, CLI flags, config formats, exports, mirrored prompts; not adding a flag, command or optional field; requested changes are not; unrequested breaks in shared code are); (4) concurrency; (5) delivery or environment (installers, release, CI, deploy, dependencies); (6) no test would catch a regression in what changes. Count "unclear" as high only when a bounded look cannot tell whether (1)-(5) apply. When RDD is on and native assess returns a tier, that tier wins.
94
106
 
@@ -102,13 +114,13 @@ Before launching bounded writer (`gentle-ai-worker` or `worker`), derive nonempt
102
114
 
103
115
  ## Mechanisms
104
116
 
105
- Delegation Triggers — each mechanism turns on only when its own trigger condition truly holds, and only then is it mandatory; no trigger holds by default, and when in doubt work inline (prefer `subagent_run`; role missing/unusable: native `Agent`, same read-only constraints; report fallback). When it resolves, re-evaluate task size.
117
+ Delegation Triggers — each mechanism turns on only when its own trigger condition truly holds, and only then is it mandatory; no trigger holds by default, and when in doubt work inline within the evidence budget (prefer `subagent_run`; role missing/unusable: native `Agent`, same read-only constraints; report fallback). Then re-evaluate task size.
106
118
 
107
119
  1. **Ask** — open product or design decision → one focused question; stop and wait.
108
- 2. **Evidence-budget rule** — understanding needs more than one read batch or >~5 sequential lookups → one `gentle-ai-explore`, handoff at most ~2k tokens with `path:line` evidence; one spot check only; never for reading before an inline write.
109
- 3. **Verification rule** — only a named high-risk item (assess `escalate`) → independent `gentle-ai-verify`; else inline; runtime admission, gates/overengineering: `orchestrator-verification.md`.
120
+ 2. **Evidence-budget rule** — understanding needs more than one read batch or >~5 sequential lookups → stop and delegate one `gentle-ai-explore`, handoff at most ~2k tokens with `path:line` evidence; one spot check only. Reassess cumulative discovery each batch, never reset. A fired trigger overrides initial size, including read-only: it limits mutation, not routing. Exempt only preparation for an understood inline write, not discovery.
121
+ 3. **Verification rule** — only a named high-risk item (assess `escalate` when RDD is on or unknown) → independent `gentle-ai-verify`; else inline; runtime admission, gates/overengineering: `orchestrator-verification.md`.
110
122
  4. **Track** — large task → feature document, Engram mirror, `todo`, work-unit commits (`orchestrator-tracking.md`, `orchestrator-memory.md`).
111
- 5. **Writer rule** — never by file count or a large task alone; only for a reason (`orchestrator-writer.md`): 2+ independent units of behavior (separate features or fixes that do not depend on each other), each heavier than a subagent start (a subagent spends one to two minutes reading before it writes, so a unit qualifies only when it needs several minutes of work: several files or roughly 100+ changed lines; a small change to one module or one command is done inline even when several such changes are independent), launched together in background, else inline; Context backstop. Tests, docs, and code of the same behavior are one unit, never separate writers; a delivery that depends on an earlier one is not independent.
123
+ 5. **Writer rule** — never by file count or a large task alone; only for a reason (`orchestrator-writer.md`): 2+ independent units of behavior, each heavier than a subagent start (several minutes of work: several files or roughly 100+ changed lines), launched together in background, else inline; Context backstop. Small module or command changes stay inline, even when independent. Tests, docs, and code of the same behavior are one unit, never separate writers; dependent deliveries are not independent.
112
124
  6. **Incident rule** — diagnose wrong cwd/worktree/git/tooling incidents separately before resuming.
113
125
  7. **Context backstop** — when the runtime signals it → delegate the next unit needing several steps. Bound command output (counts, `--stat`, `tail`).
114
126
 
@@ -139,5 +151,5 @@ This package injects the mirrored provider-bundle review execution contract into
139
151
  - Never commit unless the user explicitly asks, except the work-unit commits authorized large ODD implementation makes on its feature branch (ODD step 6).
140
152
  - Ask before destructive git operations, publishing, or irreversible file changes.
141
153
  - Parallel writers only with disjoint Allowed edit surfaces (runtime-enforced) or isolated worktrees.
142
- - Keep session work inside the project root and registered same-clone worktrees; ask before any read or write outside it, naming the absolute path. Grants are per-target, per-session, never blanket: in-project scripts naming outside paths are not standing consent.
154
+ - Keep session work inside the project root and registered same-clone worktrees; ask before any read or write outside it, naming the absolute path. Exception: reading the task's exact resolved skill files needs no per-file question in any mode. Grants are per-target, per-session, never blanket: in-project scripts naming outside paths are not standing consent.
143
155
  - Preserve human control: user decisions beat agent momentum.
@@ -0,0 +1,19 @@
1
+ -----BEGIN CERTIFICATE-----
2
+ MIIDGzCCAgOgAwIBAgIUYexwMGieLdNZ3F9TejD6N22co70wDQYJKoZIhvcNAQEL
3
+ BQAwFTETMBEGA1UEAwwKcHJveHkudGVzdDAgFw0yNjEwMjgyMDE1NDVaGA8yMTI2
4
+ MTAwNDIwMTU0NVowFTETMBEGA1UEAwwKcHJveHkudGVzdDCCASIwDQYJKoZIhvcN
5
+ AQEBBQADggEPADCCAQoCggEBALG875ekN4yG3mCczG4m3flG1aYzx2pmr4ue8x9m
6
+ C/DYS+O6GE4yz6DsfcC4gpNWi82sVrwlqSzlmEMhSJV8rf+BhRbaZfsz+PZFgnOy
7
+ c9Pff02rcbeaVV72SwF067Y1cPFuN9f25fqdNTgWF98Wr9zH/d496AaL9UPkj0EQ
8
+ ziBqnKc+IVPE6rWFEesiVW2xAy073qoLapPhdI5X0UB82nuCvNliPsonYzdcyXsO
9
+ nR+rl0T0EEmcU0pdNmWuA9rcLP3DEGGfUs3nmdqhLNop37B+I3ABTx98t00GhPvV
10
+ mHMwDgd2c6iLY2okk1PEXuDTjH+JwNhxN9Tk/JhRTBqTJicCAwEAAaNhMF8wHQYD
11
+ VR0OBBYEFGn3nwZ7DRfyHkkZURseiuiKPOWcMA8GA1UdEwEB/wQFMAMBAf8wLQYD
12
+ VR0RBCYwJIIKcHJveHkudGVzdIcEfwAAAYcQAAAAAAAAAAAAAAAAAAAAATANBgkq
13
+ hkiG9w0BAQsFAAOCAQEAhIIHTzdFmjPicas0YrPY65gDAIGhXF0zBCiSh/x09utW
14
+ aDY14mwqIXHuRjodkuBI5B2ANbj3fj+3p9Xcsg+biIJ6TPRfPACou/ieHHO1IzZU
15
+ FrqviytOayP4zA5zobq9rPyJnDkEqLhb3qpp1VQY4MCVIy2APFUVyzyRFOGN9UpE
16
+ TS6d4Al5KzileKMJ693w/DkX0C3FeBBQTTm6gBADA5YzfrSWBzCEyWrJuh7iVfGK
17
+ Y9xi1eNpm22XezK5GgTrBNUttcZb3ySXMU2+c219sIYmR98WcMBSxxNdfQU6yk5Q
18
+ 5OWPO7MaT+A7hpaR+l6oNZ3CVeD5pAUx3g2vaCmcDA==
19
+ -----END CERTIFICATE-----
@@ -0,0 +1,28 @@
1
+ -----BEGIN PRIVATE KEY-----
2
+ MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCxvO+XpDeMht5g
3
+ nMxuJt35RtWmM8dqZq+LnvMfZgvw2EvjuhhOMs+g7H3AuIKTVovNrFa8Jaks5ZhD
4
+ IUiVfK3/gYUW2mX7M/j2RYJzsnPT339Nq3G3mlVe9ksBdOu2NXDxbjfX9uX6nTU4
5
+ FhffFq/cx/3ePegGi/VD5I9BEM4gapynPiFTxOq1hRHrIlVtsQMtO96qC2qT4XSO
6
+ V9FAfNp7grzZYj7KJ2M3XMl7Dp0fq5dE9BBJnFNKXTZlrgPa3Cz9wxBhn1LN55na
7
+ oSzaKd+wfiNwAU8ffLdNBoT71ZhzMA4HdnOoi2NqJJNTxF7g04x/icDYcTfU5PyY
8
+ UUwakyYnAgMBAAECggEAD+7i/5IOFL/mYXzM6rb7QSRzdKHBp60q4XZPTypDucR6
9
+ ESEWmrP9Xuy0XTltIy4n/DkN0XIC126Blsr+CcCSjIwc1S6g48MF93XFuv9tWLn5
10
+ XIoY+J+SNaAYmznTA5OI22vI/8g3V58OLUf1vd73xu/6txiPmz6irwJnQSrzf35I
11
+ 6yV2qncVtnRZJ5Jn8luC5sejj3ev/259ym/0ctZxRf1jQtr416mOrTzNc87k4AWd
12
+ nP4zDSIyN6skCoerExSuoq6iBZVHqN4PeN4KIm1XMr+Qb3q5MPtC1nUcWsuCz83b
13
+ 1iTvBQOQXwNJeHe4/EBPYQG/k2rfB07wWus4s3troQKBgQDYe5TNRzYMt4xZgJXV
14
+ KS4X45nWjtrloXv+o2X38dl5OAQb7w+mc+HnHPX9m8UsMGLMKItslLarNM3JDZrz
15
+ FREDFFbBGLxlwNHPvaPUvuReAKoHHOHbeBju2kYvSAjQXi8euUzB8jjC6WF1tz26
16
+ eS+n5fXuLBDXJewEf6PWHb8l0QKBgQDSLsg7FYBvrn00K9IcRkcqznfLDcH+g7Ik
17
+ WXXtlA6cowZO/BdCgt/PjqMpGE+OLUT5iOrWiyRYTiXb3P1Af2NLZ5phfUsaGccJ
18
+ IAR9hEPpIPVObvXD7k8uHqei4Hg4fY2b3C6caBTHLAZUe3zy7Vt9AnSkTYn4y0wf
19
+ tje9PqnydwKBgEWBmEs4nAAFRsjN4k2ohSYia5haEao86QTfDbRIMJ0dASS+4vV8
20
+ q4F66PhedTY06uPF+M4KCYR61b/B4Ig/sVCdzST+fi7lc/gRWXLLP6N27yCNg27l
21
+ 5ot6BaLUrA/KzbI9qIl07giWyjXzeZxPoJ911Dp+Z4HMqTTgjogG0QKhAoGBAJMA
22
+ z2CrqDn0c3Ni1sCZ0rq4z4ZAaBdn6teLjnSNIi8hwo7JuEb3nCviGnHqo/HP7bcN
23
+ sRo/FTuB5O7CwIo0zrD1lD9tT3LA5rmWIC3drVXHjGrAJrpT2iNqo1rC3rK79ag2
24
+ No+EKEwpmX/LItgRdPSZHBWyebZ+Eg739kIxKtH/AoGABQ0g0meYxS8dLoFMuP1r
25
+ 5nDVd7JR7+iH9di6EZAk2TuLhDT1JzJKzA3g6YFXkdpgnY3D1vmL2qBGImQZ2G7F
26
+ ZEPajzFtzC2vZGgMPJwOlJqmrEb8op6O9ANvwZDucFNde9uKex5+/HKBN+m2tHPX
27
+ uDaAE0a7zGeN2vmG+wAKTGY=
28
+ -----END PRIVATE KEY-----