@yasaswy.nagavolu/agents 0.40.0 → 0.41.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 (1137) hide show
  1. package/README.md +121 -51
  2. package/bin/cli.js +97 -25
  3. package/content/agents/scribe-agent/scribe_runner.py +3 -3
  4. package/content/global/githooks/_lib.sh +3 -1
  5. package/content/global/hooks/cloudshell_guard.py +225 -9
  6. package/content/global/hooks/lib/founderCmd.js +19 -4
  7. package/content/global/hooks/pyrun.js +3 -0
  8. package/content/global/hooks/wiring_required.json +124 -17
  9. package/content/global/hooks/wiring_selfheal.js +4 -2
  10. package/content/manifest.json +311 -2695
  11. package/content/manifest.schema.json +5 -1
  12. package/content/mcps/mcps.json +2 -2
  13. package/content/mods/handoff/.claude-plugin/plugin.json +1 -1
  14. package/content/mods/model-routing/.claude-plugin/plugin.json +1 -1
  15. package/content/packages/cli/templates/litellm-config.yaml +1 -1
  16. package/content/packages/cli/templates/start-litellm.ps1 +2 -2
  17. package/content/packages/cli/templates/start-litellm.sh +2 -2
  18. package/content/proxy/agent_model_guard.py +28 -4
  19. package/content/proxy/founder_cmd.py +21 -2
  20. package/content/proxy/prd_autobind.py +17 -3
  21. package/content/proxy/prd_binding.py +120 -7
  22. package/content/proxy/prd_chief.py +110 -0
  23. package/content/proxy/prd_discipline.py +431 -0
  24. package/content/proxy/prd_home_gate.py +41 -4
  25. package/content/proxy/register_mem_sampler.ps1 +8 -0
  26. package/content/scripts/gitlab_api.py +34 -10
  27. package/content/skills/android-emulator/SKILL.md +1 -1
  28. package/content/skills/ci-runner/SKILL.md +2 -0
  29. package/content/skills/ci-runner/ci-runner-pool.md +14 -0
  30. package/content/skills/gmail-reader/tests/test_proof.py +2 -2
  31. package/content/skills/gmail-reader/tests/test_recall.py +1 -1
  32. package/content/skills/gmail-reader/tests/test_zero_prices.py +1 -1
  33. package/content/skills/ntfy/SKILL.md +1 -0
  34. package/content/skills/ntfy/tests/test_ntfy.py +3 -3
  35. package/content/skills/ship-the-code/ship.py +1 -1
  36. package/content/skills/ship-the-code/tests/test_ship.py +7 -7
  37. package/content/statusline/chief_watch.py +200 -0
  38. package/content/statusline/chief_watchdog.py +137 -0
  39. package/content/statusline/orchestration-line.ps1 +153 -19
  40. package/content/statusline/orchestration_line.py +38 -22
  41. package/lib/bootstrap/index.js +145 -37
  42. package/lib/bootstrap/probe.js +1 -1
  43. package/lib/bootstrap/tools.js +91 -50
  44. package/lib/bypassOnly.js +43 -8
  45. package/lib/chiefCmd.js +51 -8
  46. package/lib/codex-compatibility.json +2 -2
  47. package/lib/codex.js +4 -3
  48. package/lib/deployment.js +1 -1
  49. package/lib/downgradeGuard.js +64 -10
  50. package/lib/founderCmd.js +3 -2
  51. package/lib/hostJobs.js +9 -2
  52. package/lib/install.js +2 -0
  53. package/lib/ledger.js +2 -0
  54. package/lib/migrate/installSet.js +2 -1
  55. package/lib/packageName.js +10 -0
  56. package/lib/prdBinding.js +1 -1
  57. package/lib/prepack.js +32 -7
  58. package/lib/pyDeps.js +16 -10
  59. package/lib/runner/args.js +13 -4
  60. package/lib/runner/budget.js +20 -7
  61. package/lib/runner/gitlab.js +40 -1
  62. package/lib/runner/hostSizing.js +171 -0
  63. package/lib/runner/hosts.js +262 -0
  64. package/lib/runner/index.js +101 -7
  65. package/lib/runner/janitor.js +5 -1
  66. package/lib/runner/pool.js +1 -1
  67. package/lib/runner/profiles/linuxDocker.js +1 -1
  68. package/lib/taskBackend/launchd.js +2 -0
  69. package/lib/taskItems.js +10 -3
  70. package/lib/update.js +6 -2
  71. package/package.json +2 -2
  72. package/templates/litellm-config.yaml +1 -1
  73. package/templates/start-litellm.ps1 +2 -2
  74. package/templates/start-litellm.sh +2 -2
  75. package/content/agents/adversarial-story-reviewer.md +0 -48
  76. package/content/agents/picture-beat-reviewer.md +0 -47
  77. package/content/agents/synth-auditor.md +0 -59
  78. package/content/agents/visual-review-council/test_triage_gate.py +0 -74
  79. package/content/agents/visual-review-council/test_visual_diagnosis_vrc.py +0 -133
  80. package/content/agents/visual-review-council/triage_gate.py +0 -428
  81. package/content/agents/visual-review-council/visual_diagnosis.py +0 -472
  82. package/content/global/CLAUDE.md +0 -79
  83. package/content/global/code-mode/README.md +0 -10
  84. package/content/global/keybindings.json +0 -15
  85. package/content/hooks/conclusion-scribe/README.md +0 -88
  86. package/content/hooks/conclusion-scribe/conclusion-scribe.env.example +0 -21
  87. package/content/hooks/conclusion-scribe/conclusion_scribe_hook.py +0 -1156
  88. package/content/hooks/conclusion-scribe/test_conclusion_scribe_hook.py +0 -1247
  89. package/content/hooks/reconcile_landing.py +0 -109
  90. package/content/hooks/reconcile_session_start.py +0 -47
  91. package/content/hooks/reconcile_triggers.py +0 -257
  92. package/content/hooks/task_completion_gate.py +0 -104
  93. package/content/hooks/tracker_proof_gate.py +0 -327
  94. package/content/hooks/worktree-registry/README.md +0 -51
  95. package/content/hooks/worktree-registry/test_worktree_registry.py +0 -343
  96. package/content/hooks/worktree-registry/worktree_registry.py +0 -322
  97. package/content/mcps/chrome_devtools_final_actions.json +0 -35
  98. package/content/mcps/chrome_devtools_gate.js +0 -612
  99. package/content/mcps/chrome_devtools_policy.js +0 -268
  100. package/content/mcps/chrome_devtools_rules.json +0 -77
  101. package/content/proxy/README.md +0 -528
  102. package/content/proxy/autostart_hook.py +0 -85
  103. package/content/proxy/capture_proxy.py +0 -59
  104. package/content/proxy/chief_spine.py +0 -263
  105. package/content/proxy/chrome_devtools_guard.py +0 -277
  106. package/content/proxy/chrome_profile_lock.py +0 -178
  107. package/content/proxy/claude_headless.py +0 -109
  108. package/content/proxy/claude_router.py +0 -1055
  109. package/content/proxy/credential_mutation_guard.py +0 -1020
  110. package/content/proxy/delete_guard.py +0 -2538
  111. package/content/proxy/delete_guard_path.py +0 -71
  112. package/content/proxy/gitlab_mutation_guard.py +0 -123
  113. package/content/proxy/grilling_format_gate.py +0 -276
  114. package/content/proxy/headless_launch_rules.py +0 -361
  115. package/content/proxy/headless_scan.py +0 -309
  116. package/content/proxy/headless_spawn_guard.py +0 -391
  117. package/content/proxy/litellm/call_feed.ps1 +0 -92
  118. package/content/proxy/litellm/call_log.py +0 -197
  119. package/content/proxy/litellm/config.yaml +0 -191
  120. package/content/proxy/litellm/custom_callbacks.py +0 -125
  121. package/content/proxy/litellm/docker-compose.yml +0 -49
  122. package/content/proxy/litellm/litellm_status.ps1 +0 -137
  123. package/content/proxy/litellm/litellm_watch.ps1 +0 -109
  124. package/content/proxy/litellm/smoke_test.py +0 -170
  125. package/content/proxy/litellm/start-docker.ps1 +0 -76
  126. package/content/proxy/litellm/start.ps1 +0 -453
  127. package/content/proxy/litellm/state_dir.ps1 +0 -26
  128. package/content/proxy/litellm/supervise_hidden.vbs +0 -14
  129. package/content/proxy/litellm/supervise_visible.vbs +0 -25
  130. package/content/proxy/mac_toast.py +0 -19
  131. package/content/proxy/managed_files_guard.py +0 -153
  132. package/content/proxy/memory_first_hook.py +0 -182
  133. package/content/proxy/model_id_leak_guard.py +0 -178
  134. package/content/proxy/no_openrouter_guard.py +0 -143
  135. package/content/proxy/portal/README.md +0 -186
  136. package/content/proxy/portal/aggregator.py +0 -634
  137. package/content/proxy/portal/docker-compose.yml +0 -35
  138. package/content/proxy/portal/portal.html +0 -758
  139. package/content/proxy/portal/portal_service.py +0 -97
  140. package/content/proxy/portal/portal_wait.ps1 +0 -42
  141. package/content/proxy/portal/register-autostart.ps1 +0 -78
  142. package/content/proxy/portal/start-portal.ps1 +0 -152
  143. package/content/proxy/portal/supervise_portal_hidden.vbs +0 -23
  144. package/content/proxy/prd_closing_gate.py +0 -239
  145. package/content/proxy/publish_guard.py +0 -288
  146. package/content/proxy/register_task.ps1 +0 -101
  147. package/content/proxy/remote_mode.ps1 +0 -56
  148. package/content/proxy/resale_surfaces_hook.py +0 -145
  149. package/content/proxy/session_write_ledger.py +0 -321
  150. package/content/proxy/shared_worktree_revert_guard.py +0 -1205
  151. package/content/proxy/start.ps1 +0 -144
  152. package/content/proxy/subagent_repo_scope.py +0 -476
  153. package/content/proxy/switch_model.ps1 +0 -64
  154. package/content/proxy/validate_dispatch_tiers.py +0 -72
  155. package/content/scripts/_imgmetric.py +0 -114
  156. package/content/scripts/_vlm.py +0 -176
  157. package/content/scripts/check_skill_drift.py +0 -176
  158. package/content/scripts/item.py +0 -1178
  159. package/content/scripts/migrate_v3_to_v4.py +0 -273
  160. package/content/scripts/prd_registry.py +0 -146
  161. package/content/scripts/reconcile_records.py +0 -539
  162. package/content/scripts/register_spend_compare_task.ps1 +0 -60
  163. package/content/scripts/spend_compare_job.py +0 -218
  164. package/content/scripts/spend_parse.py +0 -163
  165. package/content/scripts/spend_prices.json +0 -13
  166. package/content/scripts/spend_report.py +0 -364
  167. package/content/scripts/test_review_pass.py +0 -76
  168. package/content/scripts/tests/__init__.py +0 -0
  169. package/content/scripts/tests/test_gitlab_api_utf8.py +0 -33
  170. package/content/scripts/tests/test_item_cli.py +0 -676
  171. package/content/scripts/tests/test_item_resolve.py +0 -234
  172. package/content/scripts/tests/test_reconcile_records.py +0 -408
  173. package/content/scripts/tests/test_visual_loop_worker_contract.py +0 -281
  174. package/content/scripts/validate_violations_schema.py +0 -133
  175. package/content/skills/README.md +0 -137
  176. package/content/skills/chief/SKILL.md +0 -37
  177. package/content/skills/chief/chief/__init__.py +0 -1
  178. package/content/skills/chief/chief/cli.py +0 -145
  179. package/content/skills/chief/chief/config.py +0 -71
  180. package/content/skills/chief/chief/deps.py +0 -17
  181. package/content/skills/chief/chief/gates.py +0 -75
  182. package/content/skills/chief/chief/post.py +0 -85
  183. package/content/skills/chief/chief/queue.py +0 -123
  184. package/content/skills/chief/chief/report.py +0 -127
  185. package/content/skills/chief/chief/runner.py +0 -96
  186. package/content/skills/chief/chief/tick.py +0 -51
  187. package/content/skills/chief/chief/when.py +0 -39
  188. package/content/skills/chief/chief/worker.py +0 -100
  189. package/content/skills/chief/chief_cli.py +0 -11
  190. package/content/skills/chief/tasks/tick_task.py +0 -10
  191. package/content/skills/chief/tests/conftest.py +0 -35
  192. package/content/skills/chief/tests/test_cli.py +0 -81
  193. package/content/skills/chief/tests/test_gates.py +0 -110
  194. package/content/skills/chief/tests/test_post.py +0 -62
  195. package/content/skills/chief/tests/test_queue.py +0 -118
  196. package/content/skills/chief/tests/test_report.py +0 -72
  197. package/content/skills/chief/tests/test_runner.py +0 -108
  198. package/content/skills/chief/tests/test_spine.py +0 -86
  199. package/content/skills/chief/tests/test_tick.py +0 -71
  200. package/content/skills/chief/tests/test_worker.py +0 -144
  201. package/content/skills/deskflow/SKILL.md +0 -86
  202. package/content/skills/deskflow/apply.py +0 -193
  203. package/content/skills/deskflow/collect_mac.py +0 -254
  204. package/content/skills/deskflow/collect_pc.py +0 -274
  205. package/content/skills/deskflow/core_host.py +0 -154
  206. package/content/skills/deskflow/core_install.py +0 -237
  207. package/content/skills/deskflow/core_pins.py +0 -48
  208. package/content/skills/deskflow/deskflow.py +0 -578
  209. package/content/skills/deskflow/deskflow_defaults.py +0 -29
  210. package/content/skills/deskflow/displays.py +0 -205
  211. package/content/skills/deskflow/doctor.py +0 -406
  212. package/content/skills/deskflow/doctor_probes.py +0 -78
  213. package/content/skills/deskflow/firewall_rules.py +0 -191
  214. package/content/skills/deskflow/firewall_scope.py +0 -78
  215. package/content/skills/deskflow/fleet.py +0 -535
  216. package/content/skills/deskflow/fleet_migrate.py +0 -140
  217. package/content/skills/deskflow/fleet_schema.py +0 -278
  218. package/content/skills/deskflow/fleet_sync.py +0 -363
  219. package/content/skills/deskflow/genconfig.py +0 -249
  220. package/content/skills/deskflow/guard.py +0 -80
  221. package/content/skills/deskflow/helper_build.py +0 -107
  222. package/content/skills/deskflow/identify.py +0 -54
  223. package/content/skills/deskflow/index.html +0 -54
  224. package/content/skills/deskflow/layout.py +0 -319
  225. package/content/skills/deskflow/layout_check.py +0 -143
  226. package/content/skills/deskflow/listen.py +0 -179
  227. package/content/skills/deskflow/local.py +0 -64
  228. package/content/skills/deskflow/mac_firewall.py +0 -46
  229. package/content/skills/deskflow/macos-helper/Info.plist +0 -26
  230. package/content/skills/deskflow/macos-helper/main.swift +0 -217
  231. package/content/skills/deskflow/monitors.py +0 -74
  232. package/content/skills/deskflow/netstat.py +0 -106
  233. package/content/skills/deskflow/node.py +0 -717
  234. package/content/skills/deskflow/node_firewall.py +0 -121
  235. package/content/skills/deskflow/node_mac.py +0 -319
  236. package/content/skills/deskflow/node_trust.py +0 -100
  237. package/content/skills/deskflow/node_win.py +0 -121
  238. package/content/skills/deskflow/outcome.py +0 -78
  239. package/content/skills/deskflow/pair.py +0 -77
  240. package/content/skills/deskflow/peer.py +0 -109
  241. package/content/skills/deskflow/portal.css +0 -262
  242. package/content/skills/deskflow/portal.js +0 -242
  243. package/content/skills/deskflow/portal.py +0 -315
  244. package/content/skills/deskflow/portal_displays.js +0 -132
  245. package/content/skills/deskflow/portal_features.js +0 -104
  246. package/content/skills/deskflow/portal_features.py +0 -157
  247. package/content/skills/deskflow/portal_forms.js +0 -314
  248. package/content/skills/deskflow/portal_guard.js +0 -45
  249. package/content/skills/deskflow/render_png.py +0 -119
  250. package/content/skills/deskflow/restart_core.ps1 +0 -36
  251. package/content/skills/deskflow/restart_core.py +0 -168
  252. package/content/skills/deskflow/scroll_calibration.py +0 -252
  253. package/content/skills/deskflow/scroll_helper.py +0 -214
  254. package/content/skills/deskflow/scroll_watch.py +0 -140
  255. package/content/skills/deskflow/store.py +0 -212
  256. package/content/skills/deskflow/tasks.py +0 -140
  257. package/content/skills/deskflow/tests/conftest.py +0 -53
  258. package/content/skills/deskflow/tests/deskflow_fixtures.py +0 -25
  259. package/content/skills/deskflow/tests/node_fakes.py +0 -48
  260. package/content/skills/deskflow/tests/privacy_scan.py +0 -274
  261. package/content/skills/deskflow/tests/test_apply_guard.py +0 -165
  262. package/content/skills/deskflow/tests/test_apply_ux.py +0 -179
  263. package/content/skills/deskflow/tests/test_collectors.py +0 -74
  264. package/content/skills/deskflow/tests/test_core_install.py +0 -364
  265. package/content/skills/deskflow/tests/test_display_wiring.py +0 -324
  266. package/content/skills/deskflow/tests/test_doctor.py +0 -556
  267. package/content/skills/deskflow/tests/test_firewall.py +0 -315
  268. package/content/skills/deskflow/tests/test_fleet.py +0 -381
  269. package/content/skills/deskflow/tests/test_fleet_cli.py +0 -60
  270. package/content/skills/deskflow/tests/test_fleet_empty_report.py +0 -384
  271. package/content/skills/deskflow/tests/test_fleet_owner.py +0 -515
  272. package/content/skills/deskflow/tests/test_fleet_robust.py +0 -388
  273. package/content/skills/deskflow/tests/test_fleet_safety.py +0 -208
  274. package/content/skills/deskflow/tests/test_fleet_sync.py +0 -434
  275. package/content/skills/deskflow/tests/test_genconfig.py +0 -222
  276. package/content/skills/deskflow/tests/test_helper_build.py +0 -159
  277. package/content/skills/deskflow/tests/test_hubs_symmetry.py +0 -290
  278. package/content/skills/deskflow/tests/test_install_roles.py +0 -86
  279. package/content/skills/deskflow/tests/test_layout_check.py +0 -183
  280. package/content/skills/deskflow/tests/test_listen.py +0 -412
  281. package/content/skills/deskflow/tests/test_mac_portability.py +0 -231
  282. package/content/skills/deskflow/tests/test_netstat.py +0 -82
  283. package/content/skills/deskflow/tests/test_node.py +0 -268
  284. package/content/skills/deskflow/tests/test_node_adapters.py +0 -250
  285. package/content/skills/deskflow/tests/test_node_defaults.py +0 -186
  286. package/content/skills/deskflow/tests/test_node_robust.py +0 -340
  287. package/content/skills/deskflow/tests/test_pairing.py +0 -408
  288. package/content/skills/deskflow/tests/test_peer.py +0 -258
  289. package/content/skills/deskflow/tests/test_portal.py +0 -206
  290. package/content/skills/deskflow/tests/test_portal_features.py +0 -448
  291. package/content/skills/deskflow/tests/test_portal_features_http.py +0 -147
  292. package/content/skills/deskflow/tests/test_privacy.py +0 -218
  293. package/content/skills/deskflow/tests/test_restart.py +0 -146
  294. package/content/skills/deskflow/tests/test_scroll.py +0 -434
  295. package/content/skills/deskflow/tests/test_scroll_device.py +0 -153
  296. package/content/skills/deskflow/tests/test_scroll_helper.py +0 -684
  297. package/content/skills/deskflow/tests/test_scroll_readonly.py +0 -283
  298. package/content/skills/deskflow/tests/test_ui_spacing.py +0 -48
  299. package/content/skills/deskflow/tls_cert.py +0 -136
  300. package/content/skills/deskflow/tls_trust.py +0 -89
  301. package/content/skills/dev-bridge/SKILL.md +0 -67
  302. package/content/skills/dev-bridge/dev_bridge.py +0 -1752
  303. package/content/skills/dev-bridge/tests/conftest.py +0 -21
  304. package/content/skills/dev-bridge/tests/test_dev_bridge.py +0 -1594
  305. package/content/skills/graphic-novel-pipeline/SKILL.md +0 -99
  306. package/content/skills/graphic-novel-pipeline/reference.md +0 -246
  307. package/content/skills/graphic-novel-pipeline/scripts/build_review.py +0 -105
  308. package/content/skills/graphic-novel-pipeline/scripts/comic_txt.py +0 -1130
  309. package/content/skills/graphic-novel-pipeline/scripts/comic_txt_html.py +0 -417
  310. package/content/skills/graphic-novel-pipeline/scripts/compile_prompts.py +0 -428
  311. package/content/skills/graphic-novel-pipeline/scripts/direction.py +0 -81
  312. package/content/skills/graphic-novel-pipeline/scripts/framing.py +0 -105
  313. package/content/skills/graphic-novel-pipeline/scripts/generate_all.py +0 -579
  314. package/content/skills/graphic-novel-pipeline/scripts/generate_art_gemini.py +0 -131
  315. package/content/skills/graphic-novel-pipeline/scripts/generate_art_meshy.py +0 -219
  316. package/content/skills/graphic-novel-pipeline/scripts/gn_common.py +0 -212
  317. package/content/skills/graphic-novel-pipeline/scripts/ledger_template.md +0 -25
  318. package/content/skills/graphic-novel-pipeline/scripts/naming.py +0 -75
  319. package/content/skills/graphic-novel-pipeline/scripts/new_version.py +0 -76
  320. package/content/skills/graphic-novel-pipeline/scripts/notext.py +0 -93
  321. package/content/skills/graphic-novel-pipeline/scripts/panel_ids.py +0 -321
  322. package/content/skills/graphic-novel-pipeline/scripts/picture_review.py +0 -367
  323. package/content/skills/graphic-novel-pipeline/scripts/pipeline.py +0 -358
  324. package/content/skills/graphic-novel-pipeline/scripts/post_process.py +0 -199
  325. package/content/skills/graphic-novel-pipeline/scripts/renumber_panels.py +0 -454
  326. package/content/skills/graphic-novel-pipeline/scripts/scene_sets.py +0 -115
  327. package/content/skills/graphic-novel-pipeline/scripts/sheets.py +0 -320
  328. package/content/skills/graphic-novel-pipeline/scripts/source_trace.py +0 -1076
  329. package/content/skills/graphic-novel-pipeline/scripts/spend_guard.py +0 -174
  330. package/content/skills/graphic-novel-pipeline/scripts/synth_audit.py +0 -356
  331. package/content/skills/graphic-novel-pipeline/scripts/theme.py +0 -229
  332. package/content/skills/graphic-novel-pipeline/scripts/visualgen_bridge.py +0 -62
  333. package/content/skills/graphic-novel-pipeline/scripts/workflow.py +0 -739
  334. package/content/skills/graphic-novel-pipeline/templates/adversarial_review_prompt.md +0 -68
  335. package/content/skills/graphic-novel-pipeline/templates/comic_txt_FORMAT.md +0 -140
  336. package/content/skills/graphic-novel-pipeline/templates/continuity.json +0 -66
  337. package/content/skills/graphic-novel-pipeline/templates/picture_review_prompt.md +0 -53
  338. package/content/skills/graphic-novel-pipeline/templates/project.json +0 -195
  339. package/content/skills/graphic-novel-pipeline/templates/theme.json +0 -65
  340. package/content/skills/graphic-novel-pipeline/templates/workflow.json +0 -192
  341. package/content/skills/graphic-novel-pipeline/tests/_util.py +0 -28
  342. package/content/skills/graphic-novel-pipeline/tests/fixtures/comic_txt_ch1/comic_txt/WORLD.md +0 -111
  343. package/content/skills/graphic-novel-pipeline/tests/fixtures/comic_txt_ch1/comic_txt/_audit/1_duty_audit.md +0 -53
  344. package/content/skills/graphic-novel-pipeline/tests/fixtures/comic_txt_ch1/comic_txt/ch1_duty.md +0 -849
  345. package/content/skills/graphic-novel-pipeline/tests/fixtures/comic_txt_ch1/plan/book_arc.json +0 -45
  346. package/content/skills/graphic-novel-pipeline/tests/fixtures/comic_txt_ch1/plan/cast.json +0 -2227
  347. package/content/skills/graphic-novel-pipeline/tests/fixtures/comic_txt_ch1/plan/novel_b/ch1_captions_draft.json +0 -105
  348. package/content/skills/graphic-novel-pipeline/tests/fixtures/comic_txt_ch1/plan/novel_b/ch1_comic_txt_lock.json +0 -24
  349. package/content/skills/graphic-novel-pipeline/tests/fixtures/comic_txt_ch1/plan/novel_b/ch1_parts.json +0 -1220
  350. package/content/skills/graphic-novel-pipeline/tests/fixtures/comic_txt_ch1/project.json +0 -308
  351. package/content/skills/graphic-novel-pipeline/tests/fixtures/comic_txt_ch1/source/synth_txt/1_duty_part.txt +0 -89
  352. package/content/skills/graphic-novel-pipeline/tests/test_approve.py +0 -86
  353. package/content/skills/graphic-novel-pipeline/tests/test_comic_txt.py +0 -638
  354. package/content/skills/graphic-novel-pipeline/tests/test_comic_txt_html.py +0 -219
  355. package/content/skills/graphic-novel-pipeline/tests/test_direction.py +0 -128
  356. package/content/skills/graphic-novel-pipeline/tests/test_framing.py +0 -79
  357. package/content/skills/graphic-novel-pipeline/tests/test_mark_flag.py +0 -82
  358. package/content/skills/graphic-novel-pipeline/tests/test_naming.py +0 -126
  359. package/content/skills/graphic-novel-pipeline/tests/test_notext.py +0 -83
  360. package/content/skills/graphic-novel-pipeline/tests/test_panel_ids.py +0 -323
  361. package/content/skills/graphic-novel-pipeline/tests/test_panel_refs.py +0 -205
  362. package/content/skills/graphic-novel-pipeline/tests/test_props_world.py +0 -115
  363. package/content/skills/graphic-novel-pipeline/tests/test_quantise.py +0 -74
  364. package/content/skills/graphic-novel-pipeline/tests/test_roles.py +0 -89
  365. package/content/skills/graphic-novel-pipeline/tests/test_routes.py +0 -287
  366. package/content/skills/graphic-novel-pipeline/tests/test_saturation_levels.py +0 -40
  367. package/content/skills/graphic-novel-pipeline/tests/test_scene_pins.py +0 -138
  368. package/content/skills/graphic-novel-pipeline/tests/test_sheets.py +0 -241
  369. package/content/skills/graphic-novel-pipeline/tests/test_shot_size.py +0 -89
  370. package/content/skills/graphic-novel-pipeline/tests/test_source_trace.py +0 -250
  371. package/content/skills/graphic-novel-pipeline/tests/test_spend_refs.py +0 -401
  372. package/content/skills/graphic-novel-pipeline/tests/test_synth_audit.py +0 -214
  373. package/content/skills/graphic-novel-pipeline/tests/test_workflow.py +0 -593
  374. package/content/skills/graphic-novel-pipeline/tests/test_workflow_chapter.py +0 -284
  375. package/content/skills/house-sale/CONTRACTS.md +0 -83
  376. package/content/skills/house-sale/README.md +0 -103
  377. package/content/skills/house-sale/SKILL.md +0 -49
  378. package/content/skills/house-sale/config.example.json +0 -43
  379. package/content/skills/house-sale/house_sale/__init__.py +0 -2
  380. package/content/skills/house-sale/house_sale/__main__.py +0 -80
  381. package/content/skills/house-sale/house_sale/api.py +0 -81
  382. package/content/skills/house-sale/house_sale/builder.py +0 -85
  383. package/content/skills/house-sale/house_sale/closing.py +0 -95
  384. package/content/skills/house-sale/house_sale/config.py +0 -156
  385. package/content/skills/house-sale/house_sale/content.py +0 -56
  386. package/content/skills/house-sale/house_sale/db.py +0 -84
  387. package/content/skills/house-sale/house_sale/doctor.py +0 -71
  388. package/content/skills/house-sale/house_sale/estimate.py +0 -90
  389. package/content/skills/house-sale/house_sale/ingest.py +0 -122
  390. package/content/skills/house-sale/house_sale/market.py +0 -62
  391. package/content/skills/house-sale/house_sale/panel.py +0 -183
  392. package/content/skills/house-sale/house_sale/pitch.py +0 -118
  393. package/content/skills/house-sale/house_sale/plan_bridge.py +0 -225
  394. package/content/skills/house-sale/house_sale/poll.py +0 -132
  395. package/content/skills/house-sale/house_sale/rates.py +0 -45
  396. package/content/skills/house-sale/house_sale/redfin.py +0 -160
  397. package/content/skills/house-sale/house_sale/restore.py +0 -118
  398. package/content/skills/house-sale/house_sale/schedule.py +0 -18
  399. package/content/skills/house-sale/house_sale/valuation.py +0 -278
  400. package/content/skills/house-sale/house_sale/view.py +0 -93
  401. package/content/skills/house-sale/settings.example.env +0 -9
  402. package/content/skills/house-sale/talking-points.example.json +0 -156
  403. package/content/skills/house-sale/tasks/_bootstrap.py +0 -18
  404. package/content/skills/house-sale/tasks/poll_task.py +0 -30
  405. package/content/skills/house-sale/tasks/task_items.json +0 -20
  406. package/content/skills/house-sale/tests/conftest.py +0 -23
  407. package/content/skills/house-sale/tests/content_support.py +0 -72
  408. package/content/skills/house-sale/tests/hs_support.py +0 -91
  409. package/content/skills/house-sale/tests/test_builder_prices.py +0 -32
  410. package/content/skills/house-sale/tests/test_closing.py +0 -43
  411. package/content/skills/house-sale/tests/test_content.py +0 -68
  412. package/content/skills/house-sale/tests/test_headless_children.py +0 -77
  413. package/content/skills/house-sale/tests/test_ingest.py +0 -98
  414. package/content/skills/house-sale/tests/test_no_subject_in_repo.py +0 -39
  415. package/content/skills/house-sale/tests/test_panel.py +0 -120
  416. package/content/skills/house-sale/tests/test_pitch.py +0 -39
  417. package/content/skills/house-sale/tests/test_plan_bridge.py +0 -194
  418. package/content/skills/house-sale/tests/test_poll.py +0 -154
  419. package/content/skills/house-sale/tests/test_rates.py +0 -27
  420. package/content/skills/house-sale/tests/test_redfin.py +0 -122
  421. package/content/skills/house-sale/tests/test_restore.py +0 -117
  422. package/content/skills/house-sale/tests/test_valuation.py +0 -156
  423. package/content/skills/house-sale/tests/test_view_api.py +0 -156
  424. package/content/skills/mattpocock-codebase-design/DEEPENING.md +0 -37
  425. package/content/skills/mattpocock-codebase-design/DESIGN-IT-TWICE.md +0 -44
  426. package/content/skills/mattpocock-codebase-design/SKILL.md +0 -114
  427. package/content/skills/mattpocock-codebase-design/agents/openai.yaml +0 -3
  428. package/content/skills/mattpocock-domain-modeling/ADR-FORMAT.md +0 -47
  429. package/content/skills/mattpocock-domain-modeling/CONTEXT-FORMAT.md +0 -60
  430. package/content/skills/mattpocock-domain-modeling/SKILL.md +0 -74
  431. package/content/skills/mattpocock-domain-modeling/agents/openai.yaml +0 -3
  432. package/content/skills/mattpocock-grill-me/SKILL.md +0 -7
  433. package/content/skills/mattpocock-grill-me/agents/openai.yaml +0 -5
  434. package/content/skills/mattpocock-grilling/SKILL.md +0 -16
  435. package/content/skills/mattpocock-grilling/agents/openai.yaml +0 -3
  436. package/content/skills/mattpocock-improve-codebase-architecture/HTML-REPORT.md +0 -123
  437. package/content/skills/mattpocock-improve-codebase-architecture/SKILL.md +0 -71
  438. package/content/skills/mattpocock-improve-codebase-architecture/agents/openai.yaml +0 -5
  439. package/content/skills/mattpocock-research/SKILL.md +0 -12
  440. package/content/skills/mattpocock-research/agents/openai.yaml +0 -3
  441. package/content/skills/mattpocock-tdd/SKILL.md +0 -38
  442. package/content/skills/mattpocock-tdd/agents/openai.yaml +0 -3
  443. package/content/skills/mattpocock-tdd/mocking.md +0 -59
  444. package/content/skills/mattpocock-tdd/tests.md +0 -77
  445. package/content/skills/mattpocock-to-spec/SKILL.md +0 -75
  446. package/content/skills/mattpocock-to-spec/agents/openai.yaml +0 -5
  447. package/content/skills/mattpocock-to-tickets/SKILL.md +0 -107
  448. package/content/skills/mattpocock-to-tickets/agents/openai.yaml +0 -5
  449. package/content/skills/mattpocock-to-tickets/gitlab_phase.py +0 -183
  450. package/content/skills/mattpocock-to-tickets/tests/test_gitlab_phase.py +0 -231
  451. package/content/skills/mattpocock-wait-what/SKILL.md +0 -7
  452. package/content/skills/mattpocock-wait-what/agents/openai.yaml +0 -5
  453. package/content/skills/mattpocock-wayfinder/SKILL.md +0 -128
  454. package/content/skills/mattpocock-wayfinder/agents/openai.yaml +0 -5
  455. package/content/skills/mcp-oauth-connector/README.md +0 -71
  456. package/content/skills/mcp-oauth-connector/SKILL.md +0 -27
  457. package/content/skills/mcp-oauth-connector/get-connector-values.ps1 +0 -101
  458. package/content/skills/onebrain-connector/SKILL.md +0 -27
  459. package/content/skills/onebrain-connector/get-connector-values.ps1 +0 -2
  460. package/content/skills/publish-article/SKILL.md +0 -277
  461. package/content/skills/publish-article/arch_component_lint.py +0 -154
  462. package/content/skills/publish-article/arch_render_check.py +0 -142
  463. package/content/skills/publish-article/arch_text_floor.py +0 -129
  464. package/content/skills/publish-article/architecture_review.py +0 -94
  465. package/content/skills/publish-article/build_hero.py +0 -125
  466. package/content/skills/publish-article/bundle_skill.py +0 -254
  467. package/content/skills/publish-article/caption_review.py +0 -124
  468. package/content/skills/publish-article/companion_repo_checklist.py +0 -164
  469. package/content/skills/publish-article/diagram_kinds_lint.py +0 -95
  470. package/content/skills/publish-article/html_mock_review.py +0 -144
  471. package/content/skills/publish-article/illustration_lib.py +0 -154
  472. package/content/skills/publish-article/island_theme_lint.py +0 -128
  473. package/content/skills/publish-article/learn_feedback.py +0 -183
  474. package/content/skills/publish-article/lint_article.py +0 -882
  475. package/content/skills/publish-article/publish_article.py +0 -1234
  476. package/content/skills/publish-article/released_bundles.py +0 -60
  477. package/content/skills/publish-article/repo_locate.py +0 -70
  478. package/content/skills/publish-article/review_store.py +0 -115
  479. package/content/skills/publish-article/skill_drift.py +0 -42
  480. package/content/skills/publish-article/tests/conftest.py +0 -7
  481. package/content/skills/publish-article/tests/test_arch_render_check.py +0 -47
  482. package/content/skills/publish-article/tests/test_arch_text_floor.py +0 -26
  483. package/content/skills/publish-article/tests/test_architecture_review.py +0 -89
  484. package/content/skills/publish-article/tests/test_build_hero.py +0 -29
  485. package/content/skills/publish-article/tests/test_bundle_skill.py +0 -63
  486. package/content/skills/publish-article/tests/test_caption_review.py +0 -71
  487. package/content/skills/publish-article/tests/test_card_and_hero_lint.py +0 -62
  488. package/content/skills/publish-article/tests/test_companion_repo_checklist.py +0 -89
  489. package/content/skills/publish-article/tests/test_dev_root_defaults.py +0 -37
  490. package/content/skills/publish-article/tests/test_diagram_kinds_lint.py +0 -89
  491. package/content/skills/publish-article/tests/test_fresh_worktree_layout.py +0 -205
  492. package/content/skills/publish-article/tests/test_html_mock_review.py +0 -159
  493. package/content/skills/publish-article/tests/test_illustration_lib.py +0 -127
  494. package/content/skills/publish-article/tests/test_learn_feedback.py +0 -64
  495. package/content/skills/publish-article/tests/test_lint_article.py +0 -467
  496. package/content/skills/publish-article/tests/test_lint_investing.py +0 -346
  497. package/content/skills/publish-article/tests/test_login_if_missing.py +0 -178
  498. package/content/skills/publish-article/tests/test_publish_article.py +0 -1388
  499. package/content/skills/publish-article/tests/test_review_store.py +0 -69
  500. package/content/skills/resale/.dockerignore +0 -7
  501. package/content/skills/resale/CONTRACTS.md +0 -444
  502. package/content/skills/resale/README.md +0 -942
  503. package/content/skills/resale/SKILL.md +0 -101
  504. package/content/skills/resale/container/.gitkeep +0 -0
  505. package/content/skills/resale/container/Dockerfile +0 -22
  506. package/content/skills/resale/container/docker-compose.yml +0 -115
  507. package/content/skills/resale/container/empty.env +0 -1
  508. package/content/skills/resale/container/no-file/.gitkeep +0 -0
  509. package/content/skills/resale/prompts/comps_review.md +0 -21
  510. package/content/skills/resale/resale/__init__.py +0 -3
  511. package/content/skills/resale/resale/__main__.py +0 -71
  512. package/content/skills/resale/resale/analysis/__init__.py +0 -4
  513. package/content/skills/resale/resale/analysis/bundle.py +0 -115
  514. package/content/skills/resale/resale/analysis/commands.py +0 -190
  515. package/content/skills/resale/resale/analysis/gather.py +0 -89
  516. package/content/skills/resale/resale/analysis/market_watch.py +0 -199
  517. package/content/skills/resale/resale/analysis/market_watch_run.py +0 -356
  518. package/content/skills/resale/resale/analysis/package_terms.py +0 -61
  519. package/content/skills/resale/resale/analysis/paid_check.py +0 -9
  520. package/content/skills/resale/resale/analysis/price_basis.py +0 -45
  521. package/content/skills/resale/resale/analysis/reprice.py +0 -241
  522. package/content/skills/resale/resale/analysis/reprice_apply.py +0 -95
  523. package/content/skills/resale/resale/analysis/reprice_run.py +0 -194
  524. package/content/skills/resale/resale/analysis/runner.py +0 -84
  525. package/content/skills/resale/resale/analysis/stats.py +0 -343
  526. package/content/skills/resale/resale/api_client.py +0 -45
  527. package/content/skills/resale/resale/build.py +0 -10
  528. package/content/skills/resale/resale/cadence/__init__.py +0 -8
  529. package/content/skills/resale/resale/cadence/budget.py +0 -97
  530. package/content/skills/resale/resale/cadence/schedule.py +0 -64
  531. package/content/skills/resale/resale/comps/__init__.py +0 -4
  532. package/content/skills/resale/resale/comps/accessories.py +0 -99
  533. package/content/skills/resale/resale/comps/commands.py +0 -86
  534. package/content/skills/resale/resale/comps/depreciation.json +0 -47
  535. package/content/skills/resale/resale/comps/depreciation.py +0 -71
  536. package/content/skills/resale/resale/comps/estimate.py +0 -131
  537. package/content/skills/resale/resale/comps/market_parse.py +0 -184
  538. package/content/skills/resale/resale/comps/market_value.py +0 -106
  539. package/content/skills/resale/resale/comps/ranking.py +0 -69
  540. package/content/skills/resale/resale/comps/relevance.py +0 -95
  541. package/content/skills/resale/resale/comps/retailers.py +0 -46
  542. package/content/skills/resale/resale/comps/review_runner.py +0 -247
  543. package/content/skills/resale/resale/comps/similar.py +0 -153
  544. package/content/skills/resale/resale/comps/specs.py +0 -200
  545. package/content/skills/resale/resale/comps/trusted_retailers.json +0 -205
  546. package/content/skills/resale/resale/conditions.py +0 -139
  547. package/content/skills/resale/resale/contracts/__init__.py +0 -169
  548. package/content/skills/resale/resale/contracts/amazon_orders.schema.json +0 -52
  549. package/content/skills/resale/resale/contracts/comp_decisions.schema.json +0 -22
  550. package/content/skills/resale/resale/contracts/event.schema.json +0 -19
  551. package/content/skills/resale/resale/contracts/fbgroup_batch.schema.json +0 -67
  552. package/content/skills/resale/resale/contracts/fbgroup_targets.schema.json +0 -44
  553. package/content/skills/resale/resale/contracts/inquiry_batch.schema.json +0 -34
  554. package/content/skills/resale/resale/contracts/item_specs.schema.json +0 -79
  555. package/content/skills/resale/resale/contracts/observation_batch.schema.json +0 -51
  556. package/content/skills/resale/resale/contracts/reader_state.schema.json +0 -40
  557. package/content/skills/resale/resale/contracts/reader_targets.schema.json +0 -49
  558. package/content/skills/resale/resale/contracts/review_decisions.schema.json +0 -19
  559. package/content/skills/resale/resale/credentials.py +0 -80
  560. package/content/skills/resale/resale/db/__init__.py +0 -6
  561. package/content/skills/resale/resale/db/migrate.py +0 -72
  562. package/content/skills/resale/resale/db/migrations/0001_init.sql +0 -188
  563. package/content/skills/resale/resale/db/migrations/0002_service.sql +0 -37
  564. package/content/skills/resale/resale/db/migrations/0003_image_url.sql +0 -1
  565. package/content/skills/resale/resale/db/migrations/0004_own_listings_nextdoor.sql +0 -60
  566. package/content/skills/resale/resale/db/migrations/0005_item_hidden.sql +0 -2
  567. package/content/skills/resale/resale/db/migrations/0006_market_snapshots.sql +0 -56
  568. package/content/skills/resale/resale/db/migrations/0007_item_price_proof.sql +0 -4
  569. package/content/skills/resale/resale/db/migrations/0008_market_trust.sql +0 -4
  570. package/content/skills/resale/resale/db/migrations/0009_item_paid_source.sql +0 -1
  571. package/content/skills/resale/resale/db/migrations/0010_analysis.sql +0 -30
  572. package/content/skills/resale/resale/db/migrations/0011_item_images.sql +0 -25
  573. package/content/skills/resale/resale/db/migrations/0012_page_images.sql +0 -6
  574. package/content/skills/resale/resale/db/migrations/0013_display_name_inbox.sql +0 -9
  575. package/content/skills/resale/resale/db/migrations/0014_listing_drafts.sql +0 -16
  576. package/content/skills/resale/resale/db/migrations/0015_post_kit.sql +0 -14
  577. package/content/skills/resale/resale/db/migrations/0016_comps_review.sql +0 -12
  578. package/content/skills/resale/resale/db/migrations/0017_search_terms.sql +0 -1
  579. package/content/skills/resale/resale/db/migrations/0018_unproven_zero_paid.sql +0 -12
  580. package/content/skills/resale/resale/db/migrations/0019_equivalent_comps.sql +0 -17
  581. package/content/skills/resale/resale/db/migrations/0020_selling_notes.sql +0 -1
  582. package/content/skills/resale/resale/db/migrations/0021_paid_incl_tax.sql +0 -5
  583. package/content/skills/resale/resale/db/migrations/0022_draft_filled.sql +0 -2
  584. package/content/skills/resale/resale/db/migrations/0023_purchased_source.sql +0 -1
  585. package/content/skills/resale/resale/db/migrations/0024_buyer_inquiries.sql +0 -44
  586. package/content/skills/resale/resale/db/migrations/0025_listing_copy.sql +0 -7
  587. package/content/skills/resale/resale/db/migrations/0026_selling_lifecycle.sql +0 -6
  588. package/content/skills/resale/resale/db/migrations/0027_own_listing_alias.sql +0 -1
  589. package/content/skills/resale/resale/db/migrations/0028_site_draft_url.sql +0 -1
  590. package/content/skills/resale/resale/db/migrations/0029_fb_groups.sql +0 -37
  591. package/content/skills/resale/resale/db/migrations/0030_estimate_basis.sql +0 -14
  592. package/content/skills/resale/resale/db/migrations/0031_bundle_lots.sql +0 -4
  593. package/content/skills/resale/resale/db/migrations/0032_bundle_total.sql +0 -1
  594. package/content/skills/resale/resale/db/migrations/0033_floor_variant.sql +0 -2
  595. package/content/skills/resale/resale/db/migrations/0034_price_drop.sql +0 -1
  596. package/content/skills/resale/resale/db/migrations/0035_cap_off.sql +0 -2
  597. package/content/skills/resale/resale/db/migrations/0036_package_price.sql +0 -2
  598. package/content/skills/resale/resale/db/migrations/0037_open_places.sql +0 -5
  599. package/content/skills/resale/resale/db/migrations/0038_post_from_any_state.sql +0 -1
  600. package/content/skills/resale/resale/db/migrations/0039_reprice.sql +0 -62
  601. package/content/skills/resale/resale/db/migrations/0040_quote_review_per_title.sql +0 -1
  602. package/content/skills/resale/resale/db/migrations/0041_included_items.sql +0 -1
  603. package/content/skills/resale/resale/db/migrations/0042_reader_reads.sql +0 -13
  604. package/content/skills/resale/resale/db/migrations/0043_market_watch.sql +0 -69
  605. package/content/skills/resale/resale/db/migrations/0044_lot_drafts.sql +0 -68
  606. package/content/skills/resale/resale/db/retention.py +0 -17
  607. package/content/skills/resale/resale/db/single_writer.py +0 -37
  608. package/content/skills/resale/resale/founder_words.py +0 -106
  609. package/content/skills/resale/resale/fresh_read.py +0 -82
  610. package/content/skills/resale/resale/http_util.py +0 -22
  611. package/content/skills/resale/resale/inquiries/__init__.py +0 -1
  612. package/content/skills/resale/resale/inquiries/commands.py +0 -43
  613. package/content/skills/resale/resale/inquiries/fbinbox.py +0 -212
  614. package/content/skills/resale/resale/inquiries/match.py +0 -85
  615. package/content/skills/resale/resale/inquiries/parse.py +0 -156
  616. package/content/skills/resale/resale/inquiries/queries.py +0 -54
  617. package/content/skills/resale/resale/inquiries/refs.py +0 -63
  618. package/content/skills/resale/resale/inquiries/rules.py +0 -93
  619. package/content/skills/resale/resale/inquiries/scan.py +0 -124
  620. package/content/skills/resale/resale/inquiries/store.py +0 -90
  621. package/content/skills/resale/resale/inventory/__init__.py +0 -10
  622. package/content/skills/resale/resale/inventory/bundles.py +0 -39
  623. package/content/skills/resale/resale/inventory/lifecycle.py +0 -42
  624. package/content/skills/resale/resale/inventory/paid.py +0 -54
  625. package/content/skills/resale/resale/inventory/private_sale.py +0 -37
  626. package/content/skills/resale/resale/listing/__init__.py +0 -1
  627. package/content/skills/resale/resale/listing/commands.py +0 -68
  628. package/content/skills/resale/resale/listing/flow.py +0 -181
  629. package/content/skills/resale/resale/listing/gate.py +0 -13
  630. package/content/skills/resale/resale/offer/__init__.py +0 -1
  631. package/content/skills/resale/resale/offer/check.py +0 -58
  632. package/content/skills/resale/resale/offer/commands.py +0 -61
  633. package/content/skills/resale/resale/offer/evidence.py +0 -139
  634. package/content/skills/resale/resale/offer/render.py +0 -50
  635. package/content/skills/resale/resale/offer/routes.py +0 -24
  636. package/content/skills/resale/resale/offer/verdict.py +0 -42
  637. package/content/skills/resale/resale/portal/__init__.py +0 -1
  638. package/content/skills/resale/resale/portal/bundles.py +0 -129
  639. package/content/skills/resale/resale/portal/layout.py +0 -359
  640. package/content/skills/resale/resale/portal/market_cells.py +0 -120
  641. package/content/skills/resale/resale/portal/names.py +0 -35
  642. package/content/skills/resale/resale/portal/paid_cells.py +0 -62
  643. package/content/skills/resale/resale/portal/panel.py +0 -84
  644. package/content/skills/resale/resale/portal/photos.py +0 -111
  645. package/content/skills/resale/resale/portal/pieces.py +0 -118
  646. package/content/skills/resale/resale/portal/posted.py +0 -73
  647. package/content/skills/resale/resale/portal/tablesort.py +0 -58
  648. package/content/skills/resale/resale/portal/views_analysis.py +0 -394
  649. package/content/skills/resale/resale/portal/views_conditions.py +0 -127
  650. package/content/skills/resale/resale/portal/views_house.py +0 -444
  651. package/content/skills/resale/resale/portal/views_inquiries.py +0 -90
  652. package/content/skills/resale/resale/portal/views_items.py +0 -681
  653. package/content/skills/resale/resale/portal/views_misc.py +0 -99
  654. package/content/skills/resale/resale/portal/views_postkit.py +0 -340
  655. package/content/skills/resale/resale/portal/views_reader.py +0 -59
  656. package/content/skills/resale/resale/portal/views_reprice.py +0 -107
  657. package/content/skills/resale/resale/portal/views_search.py +0 -55
  658. package/content/skills/resale/resale/portal/views_selling.py +0 -233
  659. package/content/skills/resale/resale/portal/views_watch.py +0 -95
  660. package/content/skills/resale/resale/poster/__init__.py +0 -1
  661. package/content/skills/resale/resale/poster/adapters.py +0 -359
  662. package/content/skills/resale/resale/poster/commands.py +0 -304
  663. package/content/skills/resale/resale/poster/confirm_step.py +0 -76
  664. package/content/skills/resale/resale/poster/driver.py +0 -874
  665. package/content/skills/resale/resale/poster/edit_verify.py +0 -95
  666. package/content/skills/resale/resale/poster/own_tabs.py +0 -54
  667. package/content/skills/resale/resale/poster/preflight.py +0 -57
  668. package/content/skills/resale/resale/poster/review_window.py +0 -343
  669. package/content/skills/resale/resale/poster/rules.py +0 -121
  670. package/content/skills/resale/resale/poster/runner.py +0 -585
  671. package/content/skills/resale/resale/poster/specs.py +0 -31
  672. package/content/skills/resale/resale/poster/tabs.py +0 -254
  673. package/content/skills/resale/resale/poster/unconfirmed.py +0 -113
  674. package/content/skills/resale/resale/postkit/__init__.py +0 -6
  675. package/content/skills/resale/resale/postkit/draft_price.py +0 -22
  676. package/content/skills/resale/resale/postkit/drafts.py +0 -571
  677. package/content/skills/resale/resale/postkit/drift.py +0 -91
  678. package/content/skills/resale/resale/postkit/fill.py +0 -143
  679. package/content/skills/resale/resale/postkit/groups.py +0 -57
  680. package/content/skills/resale/resale/postkit/health.py +0 -85
  681. package/content/skills/resale/resale/postkit/lint.py +0 -118
  682. package/content/skills/resale/resale/postkit/lot_photos.py +0 -64
  683. package/content/skills/resale/resale/postkit/lot_sale.py +0 -146
  684. package/content/skills/resale/resale/postkit/lot_state.py +0 -43
  685. package/content/skills/resale/resale/postkit/lot_titles.py +0 -33
  686. package/content/skills/resale/resale/postkit/lots.py +0 -328
  687. package/content/skills/resale/resale/postkit/open_places.py +0 -143
  688. package/content/skills/resale/resale/postkit/platforms.py +0 -163
  689. package/content/skills/resale/resale/postkit/post_edit.py +0 -95
  690. package/content/skills/resale/resale/postkit/post_id.py +0 -55
  691. package/content/skills/resale/resale/postkit/posting.py +0 -81
  692. package/content/skills/resale/resale/postkit/price_drop.py +0 -60
  693. package/content/skills/resale/resale/postkit/pricing.py +0 -112
  694. package/content/skills/resale/resale/postkit/ready.py +0 -390
  695. package/content/skills/resale/resale/postkit/selling.py +0 -161
  696. package/content/skills/resale/resale/postkit/specs.py +0 -35
  697. package/content/skills/resale/resale/postkit/text.py +0 -398
  698. package/content/skills/resale/resale/price_rule.py +0 -47
  699. package/content/skills/resale/resale/proxy_lib.py +0 -28
  700. package/content/skills/resale/resale/publisher/__init__.py +0 -1
  701. package/content/skills/resale/resale/publisher/adapters/__init__.py +0 -10
  702. package/content/skills/resale/resale/publisher/adapters/browser.py +0 -71
  703. package/content/skills/resale/resale/publisher/adapters/draft.py +0 -46
  704. package/content/skills/resale/resale/publisher/adapters/ebay.py +0 -126
  705. package/content/skills/resale/resale/publisher/adapters/forms.py +0 -182
  706. package/content/skills/resale/resale/publisher/allowlist.py +0 -100
  707. package/content/skills/resale/resale/publisher/api.py +0 -203
  708. package/content/skills/resale/resale/publisher/apply.py +0 -82
  709. package/content/skills/resale/resale/publisher/chrome_profile_lock.py +0 -178
  710. package/content/skills/resale/resale/publisher/client.py +0 -87
  711. package/content/skills/resale/resale/publisher/commands.py +0 -307
  712. package/content/skills/resale/resale/publisher/ebay_auth.py +0 -109
  713. package/content/skills/resale/resale/publisher/login_watch.py +0 -178
  714. package/content/skills/resale/resale/publisher/pricing.py +0 -119
  715. package/content/skills/resale/resale/publisher/profile_lock.py +0 -15
  716. package/content/skills/resale/resale/publisher/proposals.py +0 -174
  717. package/content/skills/resale/resale/publisher/review.py +0 -227
  718. package/content/skills/resale/resale/push/__init__.py +0 -1
  719. package/content/skills/resale/resale/push/commands.py +0 -102
  720. package/content/skills/resale/resale/push/link.py +0 -35
  721. package/content/skills/resale/resale/push/links.py +0 -49
  722. package/content/skills/resale/resale/push/rules.py +0 -309
  723. package/content/skills/resale/resale/push/run.py +0 -228
  724. package/content/skills/resale/resale/push/watchdog.py +0 -50
  725. package/content/skills/resale/resale/receipts/__init__.py +0 -19
  726. package/content/skills/resale/resale/receipts/amazon_history.py +0 -242
  727. package/content/skills/resale/resale/receipts/charges.py +0 -274
  728. package/content/skills/resale/resale/receipts/commands.py +0 -238
  729. package/content/skills/resale/resale/receipts/intake.py +0 -134
  730. package/content/skills/resale/resale/receipts/links.py +0 -61
  731. package/content/skills/resale/resale/receipts/reader_link.py +0 -66
  732. package/content/skills/resale/resale/receipts/review.py +0 -127
  733. package/content/skills/resale/resale/receipts/store.py +0 -509
  734. package/content/skills/resale/resale/sales/__init__.py +0 -1
  735. package/content/skills/resale/resale/sales/assets.py +0 -87
  736. package/content/skills/resale/resale/sales/aws.py +0 -76
  737. package/content/skills/resale/resale/sales/build.py +0 -88
  738. package/content/skills/resale/resale/sales/card.py +0 -69
  739. package/content/skills/resale/resale/sales/commands.py +0 -149
  740. package/content/skills/resale/resale/sales/feed.py +0 -156
  741. package/content/skills/resale/resale/sales/lint.py +0 -112
  742. package/content/skills/resale/resale/sales/photos.py +0 -100
  743. package/content/skills/resale/resale/sales/publish.py +0 -167
  744. package/content/skills/resale/resale/sales/render.py +0 -175
  745. package/content/skills/resale/resale/sales/routes.py +0 -97
  746. package/content/skills/resale/resale/sales/rules.py +0 -128
  747. package/content/skills/resale/resale/sales/state.py +0 -79
  748. package/content/skills/resale/resale/sales/tracker.py +0 -41
  749. package/content/skills/resale/resale/sales/verify.py +0 -165
  750. package/content/skills/resale/resale/sales/view.py +0 -108
  751. package/content/skills/resale/resale/service/__init__.py +0 -1
  752. package/content/skills/resale/resale/service/app.py +0 -115
  753. package/content/skills/resale/resale/service/backup.py +0 -398
  754. package/content/skills/resale/resale/service/budget.py +0 -31
  755. package/content/skills/resale/resale/service/cap_refresh.py +0 -10
  756. package/content/skills/resale/resale/service/commands.py +0 -423
  757. package/content/skills/resale/resale/service/comp_gate.py +0 -216
  758. package/content/skills/resale/resale/service/comps_refresh.py +0 -16
  759. package/content/skills/resale/resale/service/comps_review.py +0 -210
  760. package/content/skills/resale/resale/service/comps_sanity.py +0 -31
  761. package/content/skills/resale/resale/service/comps_service.py +0 -172
  762. package/content/skills/resale/resale/service/condition_refresh.py +0 -34
  763. package/content/skills/resale/resale/service/copy_plan.py +0 -92
  764. package/content/skills/resale/resale/service/display_names.py +0 -69
  765. package/content/skills/resale/resale/service/draft_sync.py +0 -21
  766. package/content/skills/resale/resale/service/drafts.py +0 -181
  767. package/content/skills/resale/resale/service/ebay_follow.py +0 -19
  768. package/content/skills/resale/resale/service/ebay_poller.py +0 -256
  769. package/content/skills/resale/resale/service/fb_groups.py +0 -157
  770. package/content/skills/resale/resale/service/fetch.py +0 -80
  771. package/content/skills/resale/resale/service/fresh_reads.py +0 -61
  772. package/content/skills/resale/resale/service/ingest.py +0 -65
  773. package/content/skills/resale/resale/service/integrations.py +0 -20
  774. package/content/skills/resale/resale/service/inventory_ops.py +0 -474
  775. package/content/skills/resale/resale/service/item_specs_plan.py +0 -76
  776. package/content/skills/resale/resale/service/market.py +0 -357
  777. package/content/skills/resale/resale/service/market_watch_routes.py +0 -52
  778. package/content/skills/resale/resale/service/multipart.py +0 -36
  779. package/content/skills/resale/resale/service/new_price_plan.py +0 -82
  780. package/content/skills/resale/resale/service/package_terms_plan.py +0 -31
  781. package/content/skills/resale/resale/service/pageimage.py +0 -83
  782. package/content/skills/resale/resale/service/photo_folders.py +0 -72
  783. package/content/skills/resale/resale/service/photo_inbox.py +0 -151
  784. package/content/skills/resale/resale/service/photos.py +0 -138
  785. package/content/skills/resale/resale/service/push_routes.py +0 -28
  786. package/content/skills/resale/resale/service/queries.py +0 -133
  787. package/content/skills/resale/resale/service/reader_reads.py +0 -40
  788. package/content/skills/resale/resale/service/reader_state.py +0 -38
  789. package/content/skills/resale/resale/service/reprice_routes.py +0 -64
  790. package/content/skills/resale/resale/service/round_prices.py +0 -86
  791. package/content/skills/resale/resale/service/scheduler.py +0 -355
  792. package/content/skills/resale/resale/service/search_terms_plan.py +0 -80
  793. package/content/skills/resale/resale/service/server.py +0 -1099
  794. package/content/skills/resale/resale/service/similar_evidence.py +0 -103
  795. package/content/skills/resale/resale/service/stock_photos.py +0 -207
  796. package/content/skills/resale/resale/service/store.py +0 -112
  797. package/content/skills/resale/resale/service/websearch.py +0 -91
  798. package/content/skills/resale/resale/settings.py +0 -299
  799. package/content/skills/resale/resale/sources/__init__.py +0 -16
  800. package/content/skills/resale/resale/sources/amazon_orders.py +0 -285
  801. package/content/skills/resale/resale/sources/amazon_reader.py +0 -278
  802. package/content/skills/resale/resale/sources/astromart.py +0 -161
  803. package/content/skills/resale/resale/sources/browser.py +0 -80
  804. package/content/skills/resale/resale/sources/browser_audit.py +0 -129
  805. package/content/skills/resale/resale/sources/cards.py +0 -76
  806. package/content/skills/resale/resale/sources/chrome_launch.py +0 -40
  807. package/content/skills/resale/resale/sources/chrome_paths.py +0 -21
  808. package/content/skills/resale/resale/sources/client.py +0 -195
  809. package/content/skills/resale/resale/sources/cloudynights.py +0 -38
  810. package/content/skills/resale/resale/sources/commands.py +0 -327
  811. package/content/skills/resale/resale/sources/completeness.py +0 -17
  812. package/content/skills/resale/resale/sources/craigslist.py +0 -71
  813. package/content/skills/resale/resale/sources/ebay.py +0 -172
  814. package/content/skills/resale/resale/sources/events.py +0 -46
  815. package/content/skills/resale/resale/sources/facebook.py +0 -40
  816. package/content/skills/resale/resale/sources/fbgroup_commands.py +0 -94
  817. package/content/skills/resale/resale/sources/fbgroup_parse.py +0 -449
  818. package/content/skills/resale/resale/sources/fbgroup_reader.py +0 -346
  819. package/content/skills/resale/resale/sources/guards.py +0 -37
  820. package/content/skills/resale/resale/sources/hostlog.py +0 -18
  821. package/content/skills/resale/resale/sources/htmlparse.py +0 -97
  822. package/content/skills/resale/resale/sources/httppage.py +0 -59
  823. package/content/skills/resale/resale/sources/keyboard.py +0 -42
  824. package/content/skills/resale/resale/sources/listing_page.py +0 -53
  825. package/content/skills/resale/resale/sources/login_flow.py +0 -55
  826. package/content/skills/resale/resale/sources/login_window.py +0 -76
  827. package/content/skills/resale/resale/sources/logins.py +0 -139
  828. package/content/skills/resale/resale/sources/market_read.py +0 -70
  829. package/content/skills/resale/resale/sources/model.py +0 -125
  830. package/content/skills/resale/resale/sources/notify.py +0 -274
  831. package/content/skills/resale/resale/sources/offerup.py +0 -39
  832. package/content/skills/resale/resale/sources/own_check.py +0 -73
  833. package/content/skills/resale/resale/sources/own_price.py +0 -81
  834. package/content/skills/resale/resale/sources/profile_guard.py +0 -77
  835. package/content/skills/resale/resale/sources/readonly.py +0 -56
  836. package/content/skills/resale/resale/sources/readonly_lint.py +0 -86
  837. package/content/skills/resale/resale/sources/runner.py +0 -531
  838. package/content/skills/resale/resale/sources/session_cookies.py +0 -22
  839. package/content/skills/resale/resale/sources/timeparse.py +0 -55
  840. package/content/skills/resale/resale/sources/transport.py +0 -16
  841. package/content/skills/resale/resale/sources/window.py +0 -49
  842. package/content/skills/resale/resale/surfaces/__init__.py +0 -0
  843. package/content/skills/resale/resale/surfaces/check.py +0 -134
  844. package/content/skills/resale/resale/surfaces/commands.py +0 -182
  845. package/content/skills/resale/resale/surfaces/gate.py +0 -101
  846. package/content/skills/resale/resale/surfaces/local.py +0 -56
  847. package/content/skills/resale/resale/surfaces/model.py +0 -39
  848. package/content/skills/resale/resale/surfaces/platform.py +0 -112
  849. package/content/skills/resale/resale/surfaces/registry.py +0 -104
  850. package/content/skills/resale/resale/surfaces/sales.py +0 -148
  851. package/content/skills/resale/resale/transfer/__init__.py +0 -1
  852. package/content/skills/resale/resale/transfer/classify.py +0 -64
  853. package/content/skills/resale/resale/transfer/commands.py +0 -25
  854. package/content/skills/resale/resale/transfer/dbgate.py +0 -40
  855. package/content/skills/resale/resale/transfer/importer.py +0 -444
  856. package/content/skills/resale/resale/transfer/manifest.py +0 -82
  857. package/content/skills/resale/resale/transfer/merge.py +0 -95
  858. package/content/skills/resale/resale/visible_window.py +0 -91
  859. package/content/skills/resale/seeds/similar_brands.json +0 -22
  860. package/content/skills/resale/settings.example.env +0 -119
  861. package/content/skills/resale/tasks/.gitkeep +0 -0
  862. package/content/skills/resale/tasks/_bootstrap.py +0 -23
  863. package/content/skills/resale/tasks/comps_review_task.py +0 -21
  864. package/content/skills/resale/tasks/notifier_task.py +0 -14
  865. package/content/skills/resale/tasks/reader_task.py +0 -43
  866. package/content/skills/resale/tasks/task_items.json +0 -50
  867. package/content/skills/resale/tests/analysis_support.py +0 -31
  868. package/content/skills/resale/tests/conftest.py +0 -127
  869. package/content/skills/resale/tests/fixtures/amazon/captcha.html +0 -2
  870. package/content/skills/resale/tests/fixtures/amazon/history_2023.html +0 -6
  871. package/content/skills/resale/tests/fixtures/amazon/history_empty.html +0 -1
  872. package/content/skills/resale/tests/fixtures/amazon/order_cancelled_returned.html +0 -16
  873. package/content/skills/resale/tests/fixtures/amazon/order_discount_single.html +0 -10
  874. package/content/skills/resale/tests/fixtures/amazon/order_new_layout.html +0 -38
  875. package/content/skills/resale/tests/fixtures/amazon/order_not_found.html +0 -1
  876. package/content/skills/resale/tests/fixtures/amazon/order_old_layout.html +0 -33
  877. package/content/skills/resale/tests/fixtures/amazon/order_real_cancelled.html +0 -10
  878. package/content/skills/resale/tests/fixtures/amazon/order_real_coupon.html +0 -12
  879. package/content/skills/resale/tests/fixtures/amazon/order_real_layout.html +0 -15
  880. package/content/skills/resale/tests/fixtures/amazon/signin.html +0 -1
  881. package/content/skills/resale/tests/fixtures/capture/craigslist_home.html +0 -5
  882. package/content/skills/resale/tests/fixtures/capture/facebook_profile.html +0 -7
  883. package/content/skills/resale/tests/fixtures/capture/facebook_selling.html +0 -6
  884. package/content/skills/resale/tests/fixtures/capture/offerup_account.html +0 -3
  885. package/content/skills/resale/tests/fixtures/capture/offerup_profile.html +0 -5
  886. package/content/skills/resale/tests/fixtures/edit_pages/astromart.html +0 -12
  887. package/content/skills/resale/tests/fixtures/edit_pages/cloudynights.html +0 -12
  888. package/content/skills/resale/tests/fixtures/edit_pages/craigslist.html +0 -12
  889. package/content/skills/resale/tests/fixtures/edit_pages/craigslist_step2.html +0 -6
  890. package/content/skills/resale/tests/fixtures/edit_pages/facebook.html +0 -20
  891. package/content/skills/resale/tests/fixtures/edit_pages/facebook_insights.html +0 -1
  892. package/content/skills/resale/tests/fixtures/poster/cloudynights_blocked.html +0 -4
  893. package/content/skills/resale/tests/fixtures/poster/cloudynights_form.html +0 -13
  894. package/content/skills/resale/tests/fixtures/poster/cloudynights_form_iframe.html +0 -9
  895. package/content/skills/resale/tests/fixtures/poster/cloudynights_index.html +0 -4
  896. package/content/skills/resale/tests/fixtures/poster/cloudynights_signed_out.html +0 -3
  897. package/content/skills/resale/tests/fixtures/reader/astromart_category.html +0 -74
  898. package/content/skills/resale/tests/fixtures/reader/astromart_detail_loggedout.html +0 -332
  899. package/content/skills/resale/tests/fixtures/reader/astromart_empty.html +0 -431
  900. package/content/skills/resale/tests/fixtures/reader/astromart_paged.html +0 -1492
  901. package/content/skills/resale/tests/fixtures/reader/astromart_search.html +0 -114
  902. package/content/skills/resale/tests/fixtures/reader/cloudynights_challenge.html +0 -1
  903. package/content/skills/resale/tests/fixtures/reader/craigslist_detail.html +0 -290
  904. package/content/skills/resale/tests/fixtures/reader/craigslist_empty.html +0 -78
  905. package/content/skills/resale/tests/fixtures/reader/craigslist_search.html +0 -1
  906. package/content/skills/resale/tests/fixtures/reader/facebook_detail.html +0 -2
  907. package/content/skills/resale/tests/fixtures/reader/facebook_empty.html +0 -266
  908. package/content/skills/resale/tests/fixtures/reader/facebook_search.html +0 -1
  909. package/content/skills/resale/tests/fixtures/reader/fbgroup_joins.html +0 -7
  910. package/content/skills/resale/tests/fixtures/reader/fbgroup_post.html +0 -6
  911. package/content/skills/resale/tests/fixtures/reader/fbgroup_post_page.html +0 -7
  912. package/content/skills/resale/tests/fixtures/reader/fbgroup_private.html +0 -3
  913. package/content/skills/resale/tests/fixtures/reader/fbgroup_search.html +0 -29
  914. package/content/skills/resale/tests/fixtures/reader/fbgroup_story_search.html +0 -5
  915. package/content/skills/resale/tests/fixtures/reader/offerup_detail.html +0 -5
  916. package/content/skills/resale/tests/fixtures/reader/offerup_empty.html +0 -1
  917. package/content/skills/resale/tests/fixtures/reader/offerup_results_live.html +0 -1
  918. package/content/skills/resale/tests/fixtures/reader/offerup_search.html +0 -1
  919. package/content/skills/resale/tests/house_support.py +0 -73
  920. package/content/skills/resale/tests/inquiry_fixtures.py +0 -145
  921. package/content/skills/resale/tests/portal_gate.py +0 -271
  922. package/content/skills/resale/tests/postkit_support.py +0 -59
  923. package/content/skills/resale/tests/pricing_support.py +0 -4
  924. package/content/skills/resale/tests/publisher_helpers.py +0 -143
  925. package/content/skills/resale/tests/resale_home_guard.py +0 -32
  926. package/content/skills/resale/tests/sales_support.py +0 -165
  927. package/content/skills/resale/tests/service_support.py +0 -98
  928. package/content/skills/resale/tests/test_amazon_history.py +0 -387
  929. package/content/skills/resale/tests/test_amazon_orders_parse.py +0 -94
  930. package/content/skills/resale/tests/test_amazon_reader.py +0 -303
  931. package/content/skills/resale/tests/test_amazon_service_and_login.py +0 -131
  932. package/content/skills/resale/tests/test_analysis_service.py +0 -326
  933. package/content/skills/resale/tests/test_analysis_stats.py +0 -175
  934. package/content/skills/resale/tests/test_astromart_live_ads.py +0 -138
  935. package/content/skills/resale/tests/test_backup.py +0 -351
  936. package/content/skills/resale/tests/test_browser_audit.py +0 -115
  937. package/content/skills/resale/tests/test_browser_cache_env.py +0 -24
  938. package/content/skills/resale/tests/test_browser_marker.py +0 -32
  939. package/content/skills/resale/tests/test_bundle.py +0 -448
  940. package/content/skills/resale/tests/test_bundle_full_list.py +0 -85
  941. package/content/skills/resale/tests/test_bundle_offer.py +0 -573
  942. package/content/skills/resale/tests/test_cadence.py +0 -134
  943. package/content/skills/resale/tests/test_candidates_review.py +0 -257
  944. package/content/skills/resale/tests/test_cap_off.py +0 -112
  945. package/content/skills/resale/tests/test_comp_accessories.py +0 -83
  946. package/content/skills/resale/tests/test_comps.py +0 -68
  947. package/content/skills/resale/tests/test_comps_relevance.py +0 -45
  948. package/content/skills/resale/tests/test_comps_review.py +0 -535
  949. package/content/skills/resale/tests/test_comps_review_task.py +0 -318
  950. package/content/skills/resale/tests/test_comps_specs.py +0 -74
  951. package/content/skills/resale/tests/test_condition_refresh.py +0 -160
  952. package/content/skills/resale/tests/test_conditions.py +0 -77
  953. package/content/skills/resale/tests/test_conditions_page.py +0 -258
  954. package/content/skills/resale/tests/test_contracts.py +0 -146
  955. package/content/skills/resale/tests/test_db.py +0 -183
  956. package/content/skills/resale/tests/test_display_names_apply.py +0 -79
  957. package/content/skills/resale/tests/test_draft_price.py +0 -96
  958. package/content/skills/resale/tests/test_draft_price_sync.py +0 -161
  959. package/content/skills/resale/tests/test_ebay_live_quality.py +0 -224
  960. package/content/skills/resale/tests/test_equivalent_comps.py +0 -309
  961. package/content/skills/resale/tests/test_fbgroup_parse.py +0 -157
  962. package/content/skills/resale/tests/test_fbgroup_reader.py +0 -202
  963. package/content/skills/resale/tests/test_fbgroups_service.py +0 -191
  964. package/content/skills/resale/tests/test_founder_hide.py +0 -166
  965. package/content/skills/resale/tests/test_founder_words.py +0 -166
  966. package/content/skills/resale/tests/test_inquiries_fbinbox.py +0 -197
  967. package/content/skills/resale/tests/test_inquiries_forwarded.py +0 -86
  968. package/content/skills/resale/tests/test_inquiries_parse.py +0 -94
  969. package/content/skills/resale/tests/test_inquiries_scan.py +0 -170
  970. package/content/skills/resale/tests/test_inquiries_service.py +0 -280
  971. package/content/skills/resale/tests/test_isolation.py +0 -35
  972. package/content/skills/resale/tests/test_kit_mode.py +0 -150
  973. package/content/skills/resale/tests/test_lifecycle.py +0 -53
  974. package/content/skills/resale/tests/test_list_item.py +0 -417
  975. package/content/skills/resale/tests/test_listing_copy.py +0 -357
  976. package/content/skills/resale/tests/test_live_proof.py +0 -82
  977. package/content/skills/resale/tests/test_lock_priority.py +0 -40
  978. package/content/skills/resale/tests/test_login_cookie_e2e.py +0 -288
  979. package/content/skills/resale/tests/test_login_keychain.py +0 -222
  980. package/content/skills/resale/tests/test_login_window_autoclose.py +0 -215
  981. package/content/skills/resale/tests/test_lot_posts.py +0 -426
  982. package/content/skills/resale/tests/test_market_parse.py +0 -113
  983. package/content/skills/resale/tests/test_market_read.py +0 -193
  984. package/content/skills/resale/tests/test_market_service.py +0 -383
  985. package/content/skills/resale/tests/test_market_trust.py +0 -145
  986. package/content/skills/resale/tests/test_market_value.py +0 -121
  987. package/content/skills/resale/tests/test_market_watch.py +0 -567
  988. package/content/skills/resale/tests/test_offer_check.py +0 -286
  989. package/content/skills/resale/tests/test_one_profile.py +0 -42
  990. package/content/skills/resale/tests/test_open_places.py +0 -301
  991. package/content/skills/resale/tests/test_own_check.py +0 -151
  992. package/content/skills/resale/tests/test_own_comps.py +0 -122
  993. package/content/skills/resale/tests/test_package_price.py +0 -64
  994. package/content/skills/resale/tests/test_paid_incl_tax.py +0 -255
  995. package/content/skills/resale/tests/test_paid_incl_tax_views.py +0 -114
  996. package/content/skills/resale/tests/test_paid_proof.py +0 -152
  997. package/content/skills/resale/tests/test_photo_folders.py +0 -92
  998. package/content/skills/resale/tests/test_photo_inbox.py +0 -147
  999. package/content/skills/resale/tests/test_photos_fetch.py +0 -84
  1000. package/content/skills/resale/tests/test_photos_service.py +0 -264
  1001. package/content/skills/resale/tests/test_portal_bundle_fold.py +0 -125
  1002. package/content/skills/resale/tests/test_portal_bundle_offer.py +0 -51
  1003. package/content/skills/resale/tests/test_portal_bundle_pieces_browser.py +0 -122
  1004. package/content/skills/resale/tests/test_portal_bundles.py +0 -118
  1005. package/content/skills/resale/tests/test_portal_candidates.py +0 -131
  1006. package/content/skills/resale/tests/test_portal_collapse_browser.py +0 -181
  1007. package/content/skills/resale/tests/test_portal_fit_tables.py +0 -54
  1008. package/content/skills/resale/tests/test_portal_house.py +0 -249
  1009. package/content/skills/resale/tests/test_portal_house_browser.py +0 -42
  1010. package/content/skills/resale/tests/test_portal_inplace.py +0 -126
  1011. package/content/skills/resale/tests/test_portal_item_column.py +0 -86
  1012. package/content/skills/resale/tests/test_portal_layout.py +0 -162
  1013. package/content/skills/resale/tests/test_portal_layout_gate.py +0 -31
  1014. package/content/skills/resale/tests/test_portal_market.py +0 -148
  1015. package/content/skills/resale/tests/test_portal_names.py +0 -86
  1016. package/content/skills/resale/tests/test_portal_photos.py +0 -150
  1017. package/content/skills/resale/tests/test_portal_posted_pill.py +0 -170
  1018. package/content/skills/resale/tests/test_portal_postkit.py +0 -222
  1019. package/content/skills/resale/tests/test_portal_sort.py +0 -91
  1020. package/content/skills/resale/tests/test_portal_split.py +0 -238
  1021. package/content/skills/resale/tests/test_portal_text_audit.py +0 -78
  1022. package/content/skills/resale/tests/test_portal_theme.py +0 -95
  1023. package/content/skills/resale/tests/test_post_any_state.py +0 -94
  1024. package/content/skills/resale/tests/test_post_id.py +0 -118
  1025. package/content/skills/resale/tests/test_post_ready.py +0 -469
  1026. package/content/skills/resale/tests/test_poster.py +0 -1445
  1027. package/content/skills/resale/tests/test_poster_confirm_step.py +0 -176
  1028. package/content/skills/resale/tests/test_poster_contract.py +0 -283
  1029. package/content/skills/resale/tests/test_poster_own_tabs.py +0 -366
  1030. package/content/skills/resale/tests/test_poster_preflight.py +0 -65
  1031. package/content/skills/resale/tests/test_poster_review_window.py +0 -399
  1032. package/content/skills/resale/tests/test_poster_specs.py +0 -41
  1033. package/content/skills/resale/tests/test_poster_tabs.py +0 -980
  1034. package/content/skills/resale/tests/test_poster_unconfirmed.py +0 -175
  1035. package/content/skills/resale/tests/test_postkit.py +0 -653
  1036. package/content/skills/resale/tests/test_postkit_fill.py +0 -286
  1037. package/content/skills/resale/tests/test_postkit_post_edit.py +0 -147
  1038. package/content/skills/resale/tests/test_price_drop.py +0 -175
  1039. package/content/skills/resale/tests/test_pricing_estimate.py +0 -327
  1040. package/content/skills/resale/tests/test_pricing_rules.py +0 -242
  1041. package/content/skills/resale/tests/test_private_sale_tax.py +0 -123
  1042. package/content/skills/resale/tests/test_profile_guard.py +0 -75
  1043. package/content/skills/resale/tests/test_profile_launch.py +0 -229
  1044. package/content/skills/resale/tests/test_publisher_allowlist.py +0 -96
  1045. package/content/skills/resale/tests/test_publisher_api.py +0 -157
  1046. package/content/skills/resale/tests/test_publisher_apply.py +0 -190
  1047. package/content/skills/resale/tests/test_publisher_commands.py +0 -178
  1048. package/content/skills/resale/tests/test_publisher_ebay.py +0 -125
  1049. package/content/skills/resale/tests/test_publisher_forms.py +0 -181
  1050. package/content/skills/resale/tests/test_publisher_pricing.py +0 -83
  1051. package/content/skills/resale/tests/test_publisher_proposals.py +0 -109
  1052. package/content/skills/resale/tests/test_publisher_review.py +0 -121
  1053. package/content/skills/resale/tests/test_purchase_search.py +0 -90
  1054. package/content/skills/resale/tests/test_push.py +0 -315
  1055. package/content/skills/resale/tests/test_push_links.py +0 -195
  1056. package/content/skills/resale/tests/test_push_proof.py +0 -206
  1057. package/content/skills/resale/tests/test_reader_any_state.py +0 -54
  1058. package/content/skills/resale/tests/test_reader_link.py +0 -53
  1059. package/content/skills/resale/tests/test_reader_lint.py +0 -38
  1060. package/content/skills/resale/tests/test_reader_live_pages.py +0 -61
  1061. package/content/skills/resale/tests/test_reader_model.py +0 -59
  1062. package/content/skills/resale/tests/test_reader_notify.py +0 -296
  1063. package/content/skills/resale/tests/test_reader_parsers.py +0 -159
  1064. package/content/skills/resale/tests/test_reader_query.py +0 -63
  1065. package/content/skills/resale/tests/test_reader_reads.py +0 -84
  1066. package/content/skills/resale/tests/test_reader_runner.py +0 -641
  1067. package/content/skills/resale/tests/test_reader_state_portal.py +0 -114
  1068. package/content/skills/resale/tests/test_receipts_intake.py +0 -483
  1069. package/content/skills/resale/tests/test_receipts_recommendations.py +0 -117
  1070. package/content/skills/resale/tests/test_receipts_split_orders.py +0 -115
  1071. package/content/skills/resale/tests/test_reprice_review.py +0 -314
  1072. package/content/skills/resale/tests/test_reprice_rules.py +0 -171
  1073. package/content/skills/resale/tests/test_retailers.py +0 -24
  1074. package/content/skills/resale/tests/test_returns_intake.py +0 -69
  1075. package/content/skills/resale/tests/test_round_prices.py +0 -240
  1076. package/content/skills/resale/tests/test_sales_browser.py +0 -164
  1077. package/content/skills/resale/tests/test_sales_build.py +0 -585
  1078. package/content/skills/resale/tests/test_sales_commands.py +0 -95
  1079. package/content/skills/resale/tests/test_sales_feed.py +0 -226
  1080. package/content/skills/resale/tests/test_sales_http.py +0 -164
  1081. package/content/skills/resale/tests/test_sales_no_llm.py +0 -40
  1082. package/content/skills/resale/tests/test_sales_real_data.py +0 -44
  1083. package/content/skills/resale/tests/test_sales_sold_republish.py +0 -132
  1084. package/content/skills/resale/tests/test_sales_verify.py +0 -147
  1085. package/content/skills/resale/tests/test_search_terms.py +0 -71
  1086. package/content/skills/resale/tests/test_search_terms_apply.py +0 -76
  1087. package/content/skills/resale/tests/test_selling.py +0 -376
  1088. package/content/skills/resale/tests/test_selling_notes.py +0 -129
  1089. package/content/skills/resale/tests/test_service_comps.py +0 -129
  1090. package/content/skills/resale/tests/test_service_delete.py +0 -126
  1091. package/content/skills/resale/tests/test_service_ebay.py +0 -265
  1092. package/content/skills/resale/tests/test_service_gmail.py +0 -61
  1093. package/content/skills/resale/tests/test_service_http.py +0 -333
  1094. package/content/skills/resale/tests/test_service_ingest.py +0 -73
  1095. package/content/skills/resale/tests/test_service_main.py +0 -127
  1096. package/content/skills/resale/tests/test_service_migrations.py +0 -38
  1097. package/content/skills/resale/tests/test_settings.py +0 -150
  1098. package/content/skills/resale/tests/test_similar_comps.py +0 -313
  1099. package/content/skills/resale/tests/test_single_writer.py +0 -53
  1100. package/content/skills/resale/tests/test_surfaces.py +0 -378
  1101. package/content/skills/resale/tests/test_surfaces_no_llm.py +0 -69
  1102. package/content/skills/resale/tests/test_transfer_import.py +0 -416
  1103. package/content/skills/resale/tests/test_visible_window.py +0 -124
  1104. package/content/skills/resale/tests/test_window_never_closed.py +0 -156
  1105. package/content/skills/resale/tests/test_zero_paid.py +0 -67
  1106. package/content/skills/resale/tests/transfer_support.py +0 -191
  1107. package/content/skills/visual-gen/SKILL.md +0 -97
  1108. package/content/skills/visual-gen/scripts/visualgen/__init__.py +0 -1
  1109. package/content/skills/visual-gen/scripts/visualgen/compare.py +0 -69
  1110. package/content/skills/visual-gen/scripts/visualgen/config.py +0 -131
  1111. package/content/skills/visual-gen/scripts/visualgen/engine.py +0 -162
  1112. package/content/skills/visual-gen/scripts/visualgen/guard.py +0 -86
  1113. package/content/skills/visual-gen/scripts/visualgen/imaging.py +0 -109
  1114. package/content/skills/visual-gen/scripts/visualgen/keys.py +0 -44
  1115. package/content/skills/visual-gen/scripts/visualgen/model.py +0 -60
  1116. package/content/skills/visual-gen/scripts/visualgen/providers/__init__.py +0 -0
  1117. package/content/skills/visual-gen/scripts/visualgen/providers/base.py +0 -82
  1118. package/content/skills/visual-gen/scripts/visualgen/providers/chatgpt_codex.py +0 -286
  1119. package/content/skills/visual-gen/scripts/visualgen/providers/gemini.py +0 -97
  1120. package/content/skills/visual-gen/scripts/visualgen/providers/meshy.py +0 -146
  1121. package/content/skills/visual-gen/scripts/visualgen/providers/registry.py +0 -42
  1122. package/content/skills/visual-gen/scripts/visualgen/quota.py +0 -157
  1123. package/content/skills/visual-gen/scripts/visualgen/runner.py +0 -103
  1124. package/content/skills/visual-gen/scripts/visualgen_cli.py +0 -328
  1125. package/content/skills/visual-gen/templates/codex_job_capture.txt +0 -5
  1126. package/content/skills/visual-gen/templates/codex_job_model.txt +0 -6
  1127. package/content/skills/visual-gen/templates/codex_prompt_capture.txt +0 -8
  1128. package/content/skills/visual-gen/templates/codex_prompt_model.txt +0 -9
  1129. package/content/skills/visual-gen/templates/config.json +0 -52
  1130. package/content/skills/visual-gen/tests/_util.py +0 -173
  1131. package/content/skills/visual-gen/tests/test_cli.py +0 -166
  1132. package/content/skills/visual-gen/tests/test_codex.py +0 -210
  1133. package/content/skills/visual-gen/tests/test_config_guard.py +0 -115
  1134. package/content/skills/visual-gen/tests/test_engine.py +0 -185
  1135. package/content/skills/visual-gen/tests/test_http_providers.py +0 -126
  1136. package/content/skills/visual-gen/tests/test_options.py +0 -164
  1137. package/content/skills/visual-gen/tests/test_quota.py +0 -151
package/README.md CHANGED
@@ -1,56 +1,126 @@
1
1
  # @yasaswy.nagavolu/agents
2
2
 
3
- CLI for installing the yasaswy.nagavolu agent/skill/hook bundle across Claude
4
- Code and Codex.
5
-
6
- The install, update, uninstall, and doctor commands target Claude Code and
7
- Codex by default. Codex skills live in `~/.agents/skills`; Codex instructions,
8
- hooks, agents, MCP servers, and the deployment ledger live under `~/.codex`.
9
- Use `--runtime claude` or `--runtime codex` to select one runtime. `--codex-dir`
10
- sets Codex's configuration home (or set `CODEX_HOME`; when `HOME` is redirected, a `CODEX_HOME` that lies outside that home is ignored). A custom
11
- `--target-dir` keeps the legacy Claude-only behavior; use `--runtime both`
12
- with both `--target-dir` and `--codex-dir` to install into isolated homes.
13
- Codex receives native agent and skill projections plus compatible hooks. Hooks
14
- that depend on Claude-only events or payloads, and newly registered hooks without
15
- a reviewed Codex contract, are retained as inert compatibility assets and listed
16
- in Codex's compatibility report. New skills and agents are discovered during
17
- updates; new hook scripts are discovered when their Claude hook registration or
18
- adjacent `.deploy.json` declares the event and command.
19
- Windows releases verify NPX-installed Codex hooks before and after publication in a guarded private home, including native trust, PowerShell/cmd execution, repeat installation, and unchanged live configuration.
20
-
21
- Generated Codex hook commands use a UTF-8 base64 bootstrap so adapter paths and
22
- hook commands survive PowerShell, `cmd.exe`, and POSIX shell parsing.
23
-
24
- `install` opens an interactive checkbox menu of purpose-based bundles when
25
- run in a terminal, or installs one bundle non-interactively via
26
- `--bundle <key> --yes`. Every installed file's hash is recorded in a ledger
27
- for idempotent re-runs. Bundles are declared in the repo-root `manifest.json`,
28
- validated against `manifest.schema.json`
29
- ([schema decision: #36](https://gitlab.com/yasaswy22/my-agents/-/issues/36),
30
- [versioning decision: #37](https://gitlab.com/yasaswy22/my-agents/-/issues/37)),
31
- and CI's `manifest-lint` job (`tools/manifest_lint.py`) fails the pipeline if
32
- any repo file is left unclaimed by a bundle or `internal[]`.
33
-
34
- ## Install
3
+ Install a set of agents, skills, hooks and helper tools into Claude Code and Codex with one command.
4
+ The installer checks your machine, asks before it installs anything it needs, copies the bundles you pick,
5
+ and can update or remove them later. It works on macOS and Windows; on Linux it installs the files and reports
6
+ missing tools but does not install them.
7
+
8
+ ## Quick start
9
+
10
+ ### macOS (Terminal, zsh)
11
+
12
+ 1. Install [Homebrew](https://brew.sh) and Node.js 18 or newer: `brew install node`.
13
+ 2. Run the installer and pick bundles in the menu:
14
+
15
+ ```bash
16
+ npx @yasaswy.nagavolu/agents install
17
+ ```
18
+
19
+ 3. The installer lists what your bundles need (git, uv, Python, Claude Code, and for some bundles Docker Desktop, ffmpeg or Chrome) and asks before it installs each one with Homebrew.
20
+ 4. Open a new terminal tab, then check the result: `agents-cli doctor`.
21
+
22
+ ### Windows (PowerShell)
23
+
24
+ 1. Windows 10 or 11 with the Microsoft Store "App Installer" (it provides `winget`; Windows 11 has it). Install Node.js 18 or newer: `winget install --id OpenJS.NodeJS.LTS -e`, then open a new PowerShell window.
25
+ 2. Run the installer. Quote the package name in PowerShell, because `@` starts splatting there:
26
+
27
+ ```powershell
28
+ npx '@yasaswy.nagavolu/agents' install
29
+ ```
30
+
31
+ 3. The installer lists what your bundles need and asks before it installs each one with `winget` (a Windows installer may show its own admin prompt; accept it).
32
+ 4. Open a new PowerShell window, then check the result: `agents-cli doctor`.
33
+
34
+ ### Linux
35
35
 
36
36
  ```bash
37
37
  npx @yasaswy.nagavolu/agents install
38
38
  ```
39
39
 
40
- In PowerShell, quote the package name (`@` collides with the splatting
41
- operator — harmless elsewhere, required here):
40
+ The files are installed, background tasks are not (they use Windows Task Scheduler and macOS LaunchAgents).
41
+ The tool check only reports what is missing; install it with your package manager.
42
42
 
43
- ```powershell
44
- npx '@yasaswy.nagavolu/agents' install
45
- ```
46
-
47
- or install the CLI globally:
43
+ ### Without a terminal menu
48
44
 
49
45
  ```bash
50
- npm install -g @yasaswy.nagavolu/agents
51
- agents-cli install
46
+ npx @yasaswy.nagavolu/agents install --bundle handoff --yes # one bundle, no questions asked
47
+ npx @yasaswy.nagavolu/agents install # outside a terminal: lists the bundle keys
52
48
  ```
53
49
 
50
+ `--yes` also installs missing tools without asking (`--no-bootstrap` skips the tool check). The CLI can also be installed
51
+ globally: `npm install -g @yasaswy.nagavolu/agents`, then `agents-cli install`.
52
+
53
+ ## What `install` does
54
+
55
+ 1. **Checks the tools** your chosen bundles need and, after asking about each one, installs what is missing (Homebrew on macOS, winget on Windows, npm or uv for the rest). `agents-cli bootstrap --check` shows the same table without changing anything.
56
+ 2. **Copies the bundle files** into `~/.claude` (and `~/.codex` for Codex), recording each file's hash so a later `update` never overwrites an edit of yours without telling you.
57
+ 3. **Wires** hooks, MCP servers, key bindings and settings into `settings.json`, with a backup first.
58
+ 4. **Builds the Python environment** the bundles' hooks need (one locked environment under `~/.claude/pyenv` when your Python does not satisfy them) and runs each package's one-time setup, such as the Chromium download for Playwright.
59
+ 5. **Asks for secrets** (API keys, tokens) with masked input; skip with `--no-secrets` and run `agents-cli secrets` later.
60
+ 6. **Starts background parts** a bundle declares: Docker containers, hidden Windows scheduled tasks, macOS LaunchAgents. Skip with `--no-containers` and `--no-scheduled-tasks`.
61
+
62
+ ## What your machine needs
63
+
64
+ | Tool | Needed for | macOS | Windows |
65
+ |---|---|---|---|
66
+ | Node.js 18+ | the CLI itself | `brew install node` (you) | `winget install --id OpenJS.NodeJS.LTS -e` (you) |
67
+ | git | every bundle | Homebrew | winget `Git.Git` |
68
+ | uv | locked Python environment | Homebrew | winget `astral-sh.uv` |
69
+ | Python 3.8+ | hooks and skills | uv installs 3.12 when none is found | uv installs 3.12 when none is found |
70
+ | Claude Code | the host of the bundles | npm | winget `Anthropic.ClaudeCode` |
71
+ | gitleaks | shipping, clean-litter, disk-cleanup, runner | Homebrew | winget `Gitleaks.Gitleaks` |
72
+ | Docker Desktop | LiteLLM-backed bundles (councils, review-council, agent-orchestration, web-search, model-routing), runner | Homebrew cask (asks for your password) | winget `Docker.DockerDesktop` |
73
+ | ffmpeg | video-editing, youtube-download | Homebrew | winget `Gyan.FFmpeg` |
74
+ | Google Chrome | visual-review, reddit-reader, youtube-download | Homebrew cask | winget `Google.Chrome` |
75
+ | Expo EAS CLI | expo-release (optional) | npm | npm |
76
+
77
+ Homebrew and winget are the only tools you install yourself first (with Node.js). Nothing is ever installed through a piped script.
78
+
79
+ ## Bundles in this package
80
+
81
+ `agents-cli install` lists them; each bundle is installed on its own, with the bundles it depends on.
82
+
83
+ | Bundle | What it gives you |
84
+ |---|---|
85
+ | `harness-hygiene` (core) | Read guard for large files, commit-trailer guard, statusline, Context7 and Terraform rules; installed first with any bundle |
86
+ | `session-tools` | Resume past Claude Code sessions by name; archive transcripts to markdown |
87
+ | `shipping` | Sync, test, commit, push and file the GitLab issue update in one skill |
88
+ | `handoff` | One-click session handoff (Ctrl+X H) |
89
+ | `subagent-model-routing` | Worker and assistant model roles, a dispatch guard, `models.json` |
90
+ | `agent-orchestration` | Orchestrator and worker agents, scribe, memory-safety stack |
91
+ | `councils`, `review-council`, `web-search`, `model-routing` | Multi-model councils, review panels, web search and model switching through your own LiteLLM proxy |
92
+ | `visual-review` | HTML mocks checked in a live browser with click-to-comment rounds |
93
+ | `video-editing`, `youtube-download` | ffmpeg and OpenCV editing with DaVinci Resolve hand-off; yt-dlp downloads |
94
+ | `reddit-reader`, `docs-lookup`, `skill-authoring` | Read Reddit threads; Context7 library docs; code-is-law lint for skills and agents |
95
+ | `heavy-gate-runner`, `low-ram-advisor`, `disk-cleanup`, `clean-litter` | Long-gate runner, RAM triage, disk scan and cleanup, finished-worktree cleanup |
96
+ | `runner` | Self-hosted GitLab CI runner setup |
97
+ | `android-emulator`, `expo-release` | Headless Android emulator; self-hosted Expo release pipeline |
98
+ | `gmail-reader`, `ntfy` | Read-only Gmail access and phone pushes for other skills (advanced) |
99
+ | `planning-ideation` | Points to the separate planning-skills package |
100
+
101
+ Bundles that belong to one person's setup (resale tracking, house-sale tracking, article publishing, the LAN dev bridge, Deskflow layout) and the maintainer bundles are not part of this package. They install from a checkout of the repository with `--profile self`.
102
+
103
+ ## After the install
104
+
105
+ - `agents-cli doctor` reports missing or drifted files, hooks that would break a session, and tools or Python packages a bundle needs; `agents-cli doctor --fix` repairs what it can.
106
+ - `agents-cli update --yes` brings every installed bundle to the current version; your own edits are kept or shown as a diff.
107
+ - `agents-cli uninstall --bundle <key> --yes` removes a bundle's files and wiring.
108
+ - `agents-cli secrets` prompts again for any missing secret; `agents-cli secrets --list` shows which are set.
109
+
110
+ ### Platform notes
111
+
112
+ | | macOS | Windows |
113
+ |---|---|---|
114
+ | Background tasks | LaunchAgents, no window | hidden Task Scheduler tasks (`conhost --headless`), no elevation |
115
+ | Python for the tasks | the environment `install` builds, else `python3` | the environment `install` builds, else a Python on PATH, else the uv-managed Python |
116
+ | Package manager | Homebrew | winget |
117
+ | Docker Desktop | first start by hand: `open -a Docker`, accept the terms | first start by hand, accept the terms |
118
+ | Shell for printed commands | zsh | PowerShell (the package name is quoted) |
119
+
120
+ ## Reference
121
+
122
+ The sections below describe every command, the bundle manifest and the install internals.
123
+
54
124
  ## The `agents-cli` command
55
125
 
56
126
  `install`, `update` and `doctor --fix` put a launcher at `~/.claude/bin/agents-cli` (`agents-cli.cmd` on Windows) that runs this CLI: the checkout's `bin/cli.js` when run from a my-agents checkout, otherwise `npx`. macOS and Linux: a managed `agents-cli launcher PATH` block in the zsh (or bash) profile adds `~/.claude/bin` to `PATH`. Windows: the folder is added to the user `PATH` in the registry (the type of the existing value is kept). Open a new terminal to use it. `doctor` reports a missing or stale launcher or PATH entry and `doctor --fix` repairs both; every run is idempotent.
@@ -103,10 +173,12 @@ Every command this package prints for you to paste goes through one helper (`glo
103
173
  [Updating](#updating) below.
104
174
  Run from a git checkout, `update` refuses (exit 1, nothing deployed) when HEAD is behind origin's default branch,
105
175
  because it would deploy older files over newer ones; `--allow-stale` overrides, and an unreachable remote only warns.
106
- `update` also refuses (exit 1, nothing written, no project, profile or bypass step run) when the install record
107
- (`agents-ledger.json`, `cliVersion`) was written by a newer agents-cli than the one running, since it would write older
108
- guard files over newer ones and remove newer settings items; `--allow-downgrade` overrides. The Codex record is checked
109
- the same way. Equal or older records are unaffected. `doctor` prints the install record version against the running one
176
+ `update` and `install` also refuse (exit 1, nothing written, no project, profile or bypass step run) when the install
177
+ record (`agents-ledger.json`, `cliVersion`) was written by a newer agents-cli than the one running, since it would write
178
+ older guard files over newer ones and remove newer settings items. On the same version, a checkout whose commit is an
179
+ ancestor of the recorded `sourceCommit` (or older by commit time when git cannot tell) is refused the same way, with no
180
+ network needed; every install and update records `sourceKind`, `sourceCommit` and `sourceCommitTime`.
181
+ `--allow-downgrade` overrides. The Codex record is checked the same way. Equal or older records are unaffected. `doctor` prints the install record version against the running one
110
182
  and warns when the record is newer.
111
183
  - **Hook failure policy.** A hook registration in `manifest.json` may carry `timeout` (seconds) and `onFailure`
112
184
  (`"continue"` or `"block"`, read by Claude Code 2.1.295 and later). The two every-call `PreToolUse` helpers
@@ -153,7 +225,7 @@ Every command this package prints for you to paste goes through one helper (`glo
153
225
  On Windows it also warns (report only, never changes the exit code) when the shell hosting the chat, `pwsh` first on PATH,
154
226
  a visible Windows Terminal profile, or a `Claude*`/`LiteLLM*` scheduled task points at the Microsoft Store (MSIX)
155
227
  PowerShell, because a Store update force-closes running chats. Fix with `tools/pwsh_msi_cutover.ps1` in the my-agents repo.
156
- It also checks `~/.claude/settings.json` for bypass-only, no auto mode: `permissions.defaultMode` `bypassPermissions`,
228
+ On the self profile, and on any machine that answered yes to `install --bypass-permissions` (an interactive install asks once; `--no-bypass-permissions` records a no; a public install is off by default and never touches these keys), it also checks `~/.claude/settings.json` for bypass-only, no auto mode: `permissions.defaultMode` `bypassPermissions`,
157
229
  `skipDangerousModePermissionPrompt` `true`, `useAutoModeDuringPlan` `false`, and neither
158
230
  `permissions.disableBypassPermissionsMode` nor `permissions.disableAutoMode`. `--fix`, `install` and `update` set the
159
231
  required keys, remove the forbidden ones, and leave every other key, including `permissions.deny`, untouched; a project `defaultMode` weaker than `bypassPermissions` is flagged too.
@@ -175,7 +247,7 @@ Every command this package prints for you to paste goes through one helper (`glo
175
247
  - `agents-cli worktree park [path ... | --all] [--dry-run] [--json] [--repo DIR]` — frees local git worktrees while the work stays on origin (runs `proxy/worktree_park.py` from the checkout or `~/.claude/proxy`). Rules and skips: [`CONTRIBUTING.md`](../../CONTRIBUTING.md#worktree-parking). It needs `gitleaks` (`brew install gitleaks`, installed by `bootstrap`; on Windows `winget install --id Gitleaks.Gitleaks -e`, no elevation); `doctor --fix` installs it with the OS package manager and never skips the scan silently; with the `shipping` bundle installed, `doctor` reports a missing one and `doctor --fix` lists it under "Needs you".
176
248
  - `agents-cli litellm <status|use-peer|use-local> [--host <name>] [--ip <lan-ip>] [--target-dir <path>]` — the per-machine LiteLLM base URL (`LITELLM_BASE_URL`, plus `LITELLM_BASE_URL_FALLBACK` for the LAN IP, both in `agents.env`; default `http://127.0.0.1:4000`). The Mac serves LiteLLM on the LAN with the master key required; a peer machine (the retired Windows PC) runs `use-peer`, which reads the Mac's name and IP from dev-bridge `peers.json` unless `--host` and `--ip` are given. `jobs retire` on Windows does it too when no URL is set. `status` probes the URL, the key, and that a call without the key is refused. `doctor` runs the same probe as "LiteLLM reachable from this machine" wherever a LiteLLM client (web-search, councils, `_vlm.py`) is installed and this machine runs no LiteLLM of its own.
177
249
  - `agents-cli sampler <status|register|unregister> [--dry-run] [--target-dir <path>]` — the hidden `ClaudeMemSampler` task of the memory-safety stack (a Windows logon task, a per-user LaunchAgent on macOS). `install` and `update` register or start it on their own when the stack is installed (idempotent, hidden, default `~/.claude` install only, skipped under `NODE_ENV=test`; `--no-scheduled-tasks` or `AGENTS_CLI_NO_SCHEDULED_TASKS=1` skips it). `--dry-run` runs `register_mem_sampler.ps1` with `-WhatIf` and changes nothing. `doctor` adds a "Memory-safety stack" block (task, wired hooks, budget file, newest sample in `logs/mem-samples.jsonl`) and exits 1 on a missing task, an unwired hook, an invalid budget file or a stale sample. See [`docs/memory-safety.md`](../../docs/memory-safety.md).
178
- - `agents-cli bootstrap [--check] [--json] [--skip <tool>]` — new-Mac setup, run after Homebrew and Node (the two manual commands). Installs or verifies git, uv, Python 3.12 (through uv), Docker Desktop, ffmpeg, OpenTofu, gitleaks, AWS CLI, Claude Code, Codex and Google Chrome, plus the optional PowerShell 7 and Expo EAS CLI, through Homebrew, npm or uv only (never a piped script), creates the dev folder (`~/dev`, or `MY_AGENTS_DEV_ROOT`) and prints the next commands. Idempotent: a second run installs nothing. A step that needs a click or an Apple ID (Xcode command line tools, Docker Desktop first launch, Android Studio, DaVinci Resolve) is listed as a manual step with one line of instruction; the command opens no window. `--check` changes nothing and lists present, missing and version per tool; on Windows and Linux the command only ever runs `--check`. `--json` prints the same table as JSON. Exit codes: 0 every required tool ready, 1 something required is missing or failed, 2 usage error. The Python packages and the Playwright browser are not bootstrap's job: `install` builds one locked managed environment (`~/.claude/pyenv`) when the Mac's Python does not satisfy the installed bundles, and installs the browser that matches its locked playwright. Runbook: [`docs/mac-setup.md`](../../docs/mac-setup.md).
250
+ - `agents-cli bootstrap [--check] [--json] [--yes] [--bundle <key>]... [--with <tool>]... [--skip <tool>]... [--profile public|self]` — checks the tools the harness needs and, after asking about each one (`--yes`: without asking), installs what is missing: macOS through Homebrew, Windows through winget (Linux only reports). In scope without `--bundle`: git, Node.js, uv, Python (uv installs 3.12 when none is found) and Claude Code; `--bundle <key>` adds what that bundle needs (Docker Desktop for the LiteLLM bundles and the runner, ffmpeg for video, Chrome for visual review, gitleaks for shipping and cleanup); `--with <tool>` adds one more; `--profile self` is the maintainer set (Docker, ffmpeg, OpenTofu, AWS CLI, Codex, Chrome, the dev folder). Homebrew, winget and Node.js are the manual steps: they are listed with one line of instruction. `install` runs the same check on the chosen bundles before it copies anything (`--no-bootstrap` or `AGENTS_CLI_NO_BOOTSTRAP=1` skips it) and never fails because a tool is missing. Never a piped script; the command opens no window of its own (a Windows installer may show its own prompt). `--check` changes nothing; `--json` prints the same table as JSON. Exit codes: 0 every tool in scope is ready, 1 one is missing or failed, 2 usage error. Python packages and the Playwright browser: `install` builds the locked managed environment (`~/.claude/pyenv`) when the machine's Python does not satisfy the installed bundles, and runs each package's setup (`playwright install chromium`) on every install and update.
179
251
  - `agents-cli migrate plan | export --out <file> | import <file> [--dry-run] [--force]` — carry the secrets, personal data and unpushed repo work that a public package cannot hold to a new machine in one passphrase-encrypted archive; `plan` is read-only. `migrate export --scope harness-state --out <folder>` and `migrate import --from <folder>` move only project memory, handoffs and publish-article gate records as one plain, secret-free folder (through `dev-bridge send --inbox --move`); an existing different file is never overwritten, both are kept. Details and the file list: [`docs/mac-setup.md`](../../docs/mac-setup.md).
180
252
  - `agents-cli --help` — show usage
181
253
 
@@ -492,7 +564,6 @@ works with no `agents.env` file at all.
492
564
  One package state produces the same working setup on both systems. Four pieces are written for the host system at `install`, `update` and `doctor --fix`.
493
565
 
494
566
  - **Shell profile commands.** On macOS and Linux, `resume` (resume-session skill) and `litellm [start|restart|status|watch]` (launch-litellm skill) are written as marker-guarded blocks (`# --- <name> (BEGIN) ---` ... `(END) ---`) into `~/.zshrc` (macOS default, or when `$SHELL` is zsh; `$ZDOTDIR` honoured when it lies inside the home being installed into, or that home is the signed-in account's own; a `$ZDOTDIR` of the real account is never written while `HOME` points elsewhere) and into `~/.bash_profile` (macOS) or `~/.bashrc` (Linux) when `$SHELL` is bash. A block exists only while its skill is installed: `uninstall` removes it, `doctor` reports a missing, outdated or orphan block, and `doctor --fix` repairs it. A first change to an existing profile keeps a `.bak-<date>` copy; an unknown login shell (cron, CI) writes nothing. Not ported: the PowerShell `claude` launcher, which follows the Windows npm shim to the newest `claude.exe`; npm links `claude` straight into `PATH` on macOS and Linux, so nothing needs following. The Git `PATH` and tmux lines on the Windows PC are hand-made and not package state.
495
- - **one-brain client (`self-one-brain`, core, self profile).** One bundle owns the whole connection to the self-hosted one-brain, installed right after `harness-hygiene` and `self-global`. `install` and `update` clone `git@gitlab.com:ai8314511/one-brain.git` into the dev root over SSH (or `git pull --ff-only`) before hooks are wired; the bundle then reads the token with `aws ssm get-parameter --profile one-brain` (region read from the clone's `infra` folder), else from the stored secret `OB_MCP_BEARER_TOKEN` (`agents-cli secrets --bundle self-one-brain`), and runs the repo's own `scripts/setup-client.sh` (`setup-client.ps1` on Windows) with the token in the child environment only. It never runs that script with an empty token. A missing SSH key, AWS profile or token is a `Needs you` item with the steps for the host OS, never a failed install. The recall hook has one owner: the bundle wires `recall_hook.py` on `UserPromptSubmit` and `PreCompact` through `pyrun.js` (`~/dev` resolves to the dev root; `wiring.requires` keeps the hook unwired until the clone exists); the setup script skips its own hook step when it finds `recall_hook.py` wired, and a duplicate it did add is removed. `doctor` reports the clone, the MCP server, `one-brain/recall.env`, the hook count per event, the `## Memory-First (every session)` block in `CLAUDE.md` (`repoSetup.memoryMarker`; a missing block is a `Needs you` item with the zsh or PowerShell command), a live recall check (it runs the installed recall hook once, headless, with a sample prompt and checks the server answered), the token source (never the value) and the AWS identity of the `one-brain` profile (`aws sts get-caller-identity`; it must be the IAM user `repoSetup.token.aws.user`, and a wrong user is a `Needs you` item that names the user found; the account id is never printed). Step map for one-brain#4: [docs/mac-setup.md](../../docs/mac-setup.md#one-brain4-step-map). Only generic names are in the public package; the server address comes from the clone. Only the `~/.claude` of the signed-in home is touched: another `--target-dir` skips the setup script.
496
567
  - **Operating-system wording in `CLAUDE.md`.** Rules that name a Windows tool carry a macOS variant in `<!--os:name-->windows text<!--os:darwin-->macOS text<!--/os:name-->` fragments inside `global/CLAUDE.md`. Items with `"osStamp": true` are rendered for the host before they are hashed and copied: Windows receives today's text byte for byte, macOS and Linux receive the zsh, `kill -9`/`launchctl` and no-popup wording. The CLI test `osStamp.test.js` fails when a fragment lacks either variant, when one variant names the other system's tools, or when Windows-only or macOS-only wording sits outside a fragment.
497
568
  - **One secret store.** Every packaged consumer of `LITELLM_MASTER_KEY` and `GEMINI_API_KEY` (council fan-outs and visual diagnosis, web search and its guard hook, visual check, the vision helper, the LiteLLM smoke test, the retired router, the scribe runner, visual-gen and graphic-novel image generation) reads it through `proxy/agents_env.py`, so a value that exists only in `~/.claude/agents.env` works. `migrate export` folds the user environment and `settings.json` env secrets into `agents.env`, drops the retired OpenRouter API key (either spelling) and says so in the plan, and `migrate import` never writes a secret-named key into `settings.json`.
498
569
 
@@ -563,7 +634,7 @@ setting to tick) instead of failing with a Docker error.
563
634
 
564
635
  **Where tasks may be registered.** Background tasks (Windows scheduled tasks, macOS LaunchAgents: the memory sampler, a bundle's `task` items, the CI janitor) are machine-wide, so install and update register them only when the target is the signed-in account's own `~/.claude`, resolved from the operating system account and not from `HOME` or `USERPROFILE`. Any other target, or a run whose home is redirected by an environment variable, registers nothing and prints one line. A task that already runs from another install still on disk is reported (task name, current install, requested install) and left alone; `--takeover-tasks` re-points it. `doctor` flags a task whose action names a path that no longer exists.
565
636
 
566
- **Retiring a job host.** The Mac is the only machine that runs jobs; a retired host must never start them again by itself. `agents-cli jobs retire [--bundle <key>]` writes `<target>/state/jobs-state.json` (local machine state, never in git); while it exists, `install`, `update` and `doctor --fix` start no task, LaunchAgent or container for the machine (or the named bundle) and print one skip line per item. `agents-cli jobs activate [--bundle <key>]` clears it and starts the jobs; `agents-cli jobs status` and `doctor` show the state, and `doctor` flags a job that is still running on a retired host with the command that stops it. Machine-local jobs (the daily `CleanLitter` task, the sampler, the CI janitor and runner pool) run on every machine: `update` installs the bundle that carries one when it is missing (the `clean-litter` bundle on a PC that never had it), and `doctor` reports a machine-local job whose bundle is not installed with `agents-cli install --bundle <key> --yes`; `doctor --fix` installs it. On Windows, `CleanLitter` cannot verify live use without `lsof`, so it keeps every worktree and scratch folder it cannot prove idle and only reports them. The retire list is every bundle task and container item (on any platform, so the PC sees the darwin-only LiteLLM, Postgres and portal too) plus the manifest `hostJobs` list (the PC-only spend task, old router tasks, CI runner pieces; an entry may list `platforms`). A job with `machineLocal: true` (memory sampler, CI runner pool and janitor, clean-litter) always runs on every machine: a retired host leaves it running and still registers it. `doctor --fix` stops and disables the live ones gracefully (`docker update --restart=no` then `docker stop`; `Disable-ScheduledTask` then `Stop-ScheduledTask`; `launchctl disable` then `bootout`; never a kill) and removes litter: `agents-cleanroom-*` containers with no running gate, and disabled tasks the manifest lists as `legacy`. An unreadable state file counts as retired. Without any marker, an explicit stop is also honoured: a Task Scheduler task with `Enabled=false`, a LaunchAgent under `launchctl disable`, and an exited container with a keep-up restart policy (`docker stop`) are left as they are (`left-disabled` / `left-stopped`) and only `jobs activate` starts them, because disabled or stopped is operator intent, while a missing job is still created.
637
+ **Retiring a job host.** The Mac is the only machine that runs jobs; a retired host must never start them again by itself. `agents-cli jobs retire [--bundle <key>]` writes `<target>/state/jobs-state.json` (local machine state, never in git); while it exists, `install`, `update` and `doctor --fix` start no task, LaunchAgent or container for the machine (or the named bundle) and print one skip line per item. `agents-cli jobs activate [--bundle <key>]` clears it and starts the jobs; `agents-cli jobs status` and `doctor` show the state, and `doctor` flags a job that is still running on a retired host with the command that stops it. Machine-local jobs (the daily `CleanLitter` task, the sampler, the CI janitor and runner pool) run on every machine: `update` installs the bundle that carries one when it is missing (the `clean-litter` bundle on a PC that never had it), and `doctor` reports a machine-local job whose bundle is not installed with `agents-cli install --bundle <key> --yes`; `doctor --fix` installs it. On Windows, `CleanLitter` cannot verify live use without `lsof`, so it keeps every worktree and scratch folder it cannot prove idle and only reports them. The retire list is every bundle task and container item (on any platform, so the PC sees the darwin-only LiteLLM, Postgres and portal too) plus the manifest `hostJobs` list (the PC-only spend task, old router tasks, CI runner pieces; an entry may list `platforms`). A job with `machineLocal: true` (memory sampler, CI runner pool and janitor, clean-litter) always runs on every machine: a retired host leaves it running and still registers it. `doctor --fix` stops and disables the live ones gracefully (`docker update --restart=no` then `docker stop`; `Disable-ScheduledTask` then `Stop-ScheduledTask`; `launchctl disable` then `bootout`; never a kill) and removes litter: `agents-cleanroom-*` containers with no running gate, and disabled tasks the manifest lists as `legacy`; `update` removes those disabled legacy tasks too (`launchctl bootout` and the plist of that one label, then `launchctl enable` of the label so launchd drops its disabled flag and doctor stops listing it; a running or armed task is never touched). An unreadable state file counts as retired. Without any marker, an explicit stop is also honoured: a Task Scheduler task with `Enabled=false`, a LaunchAgent under `launchctl disable`, and an exited container with a keep-up restart policy (`docker stop`) are left as they are (`left-disabled` / `left-stopped`) and only `jobs activate` starts them, because disabled or stopped is operator intent, while a missing job is still created.
567
638
 
568
639
  ## Updating
569
640
 
@@ -689,5 +760,4 @@ python -m pytest proxy/tests/test_agents_env.py -q
689
760
 
690
761
  ## Source
691
762
 
692
- [gitlab.com/yasaswy22/my-agents](https://gitlab.com/yasaswy22/my-agents)
693
- (private repo; package published publicly to npm).
763
+ The package metadata (`repository`, `bugs`) names the project that publishes it.
package/bin/cli.js CHANGED
@@ -9,6 +9,8 @@ const { fc } = require('../lib/founderCmd');
9
9
  const pkg = JSON.parse(
10
10
  readFileSync(path.join(__dirname, '..', 'package.json'), 'utf8')
11
11
  );
12
+ // Hint commands rendered inside this process (hook cores, pyrun) fall back to npx with this package's own name.
13
+ if (!process.env.AGENTS_CLI_PACKAGE) process.env.AGENTS_CLI_PACKAGE = pkg.name;
12
14
 
13
15
  const { installBundle, defaultTargetBase, InstallError } = require('../lib/install');
14
16
  const { uninstallBundle, UninstallError } = require('../lib/uninstall');
@@ -133,10 +135,12 @@ Usage:
133
135
  agents-cli migrate export --scope harness-state --out <folder> [--dry-run] | import --from <folder> [--dry-run] [--keep]
134
136
  Project memory, handoffs and publish-article gate records as one plain folder
135
137
  (no secrets); import keeps both files on a conflict and removes the folder
136
- agents-cli bootstrap [--check] [--json] [--skip <tool>] [--with powershell]
137
- New Mac: install or verify git, uv, Python 3.12, Docker Desktop, ffmpeg, OpenTofu, gitleaks, AWS CLI,
138
- Claude Code, Codex and Chrome through Homebrew, add brew to ~/.zprofile, create ~/dev and print the
139
- next commands (--check changes nothing; on Windows and Linux it only reports)
138
+ agents-cli bootstrap [--check] [--json] [--yes] [--bundle <key>]... [--with <tool>]... [--skip <tool>]... [--profile public|self]
139
+ Check the tools the harness needs and, after asking about each one (--yes: without asking), install
140
+ what is missing: macOS through Homebrew, Windows through winget (Linux only reports). Core tools: git,
141
+ Node.js, uv, Python, Claude Code; --bundle <key> adds what that bundle needs; --profile self adds the
142
+ maintainer tools (Docker, ffmpeg, OpenTofu, AWS CLI, Codex, Chrome) and the dev folder.
143
+ install runs the same check first (--no-bootstrap skips it); --check changes nothing
140
144
  agents-cli sampler <status|register|unregister> [--dry-run] [--takeover-tasks] [--target-dir <path>]
141
145
  The hidden ClaudeMemSampler task of the memory-safety stack (Windows task, macOS LaunchAgent).
142
146
  install/update register it on their own for the default ~/.claude install;
@@ -147,18 +151,17 @@ Usage:
147
151
  Remove clean git worktrees; park ones with unpushed or uncommitted work on origin as wip/<name>
148
152
  with one note on the PRD issue (secret scan first; live, locked and fresh worktrees are skipped)
149
153
  agents-cli prd <sub> [args] The home PRD issue of this chat: link <issue> | link none --reason <why> | show | unlink |
150
- find [keywords...] | add <text> [--start] | item <text> --start|--done | refresh. add puts a new
154
+ find [keywords...] | add <text> [--start] | item <text|#iid:id> --start|--done|--drop --reason <why> | refresh. add puts a new
151
155
  item in the live checklist (item only ticks items already there); --issue <ref> picks another
152
156
  issue. Until linked, hooks block edits, worker dispatch, git commit/push and ship.py;
153
157
  the status line shows PRD #n with live counts
154
158
  agents-cli chief report [--days N] [--json] [--no-total]
155
159
  Chief usage report: per UTC day runs, tokens, outcomes and share of all Claude spend
156
- agents-cli chief status | tick | off | on
157
- Kill switch, caps, today's usage and queue | run one tick now | off and on are the kill switch:
158
- the same as jobs retire / activate --bundle chief (the tick and a running job stop at once)
159
- agents-cli later add --prompt <text> [--when \"in 2m\"] [--repo <path>] [--prd owner/repo#n] [--check <cmd>] [--item <text>]
160
- agents-cli later list [--all] | show | cancel | retry | hold --reason <why> | release <id>
161
- Judgment jobs that run on time with no chat open (Claude Sonnet, read-only, result as a PRD comment)
160
+ agents-cli chief goal set|show|list|link|items | tick [--dry-run] | rules list|check | ack <key> | reminders
161
+ Goals a lead writes with the founder | Chief's 5-minute check: who it would remind of what (dry run), the rules, acknowledge a reminder, what was sent
162
+ agents-cli later add --prompt <text> [--when \"in 2m\"] [--title <short>] [--repo <path>] [--prd owner/repo#n] [--item <text>]
163
+ agents-cli later list [--all] [--json] | show <ref> | cancel <ref>
164
+ A later job is a promise: Chief reminds the chat that made it when it is due (a closed chat is resumed)
162
165
  agents-cli review-gate accept [--repo <path>] [--target-dir <path>]
163
166
  Founder only, in a plain terminal (refuses inside an agent session): accept the commits the git review
164
167
  gate refused because they were made outside an agent session (the repo's local branch tips and worktree HEADs)
@@ -174,8 +177,12 @@ Flags for install:
174
177
  --bundle <key> Bundle to install non-interactively — run "install" with no flags to list keys
175
178
  --yes Required with --bundle: confirms the non-interactive install
176
179
  --no-scheduled-tasks Skip registering the hidden ClaudeMemSampler task (also on update)
180
+ --no-bootstrap Skip the tool check install runs first (git, uv, Python, Claude Code and what the chosen bundles need);
181
+ by default it asks before each install (--yes: without asking). Same as AGENTS_CLI_NO_BOOTSTRAP=1
177
182
  --takeover-tasks Re-point a background task that already runs from another install still on disk
178
183
  (without it install and update report the conflict and leave the task alone)
184
+ --allow-downgrade Install even when the install record was written by newer code (a newer agents-cli, or a newer
185
+ commit of this checkout); default: refused, since older files would overwrite newer ones
179
186
  --advanced Interactive menu: show every bundle (incl. advanced) and pick items within one
180
187
  --profile <public|self> Which bundles the menu/listing offers (default: public). "self" adds this
181
188
  repo's maintainer-only bundles (self-infra, self-skills, ...) on top of the
@@ -189,6 +196,9 @@ Flags for install:
189
196
  next to --target-dir (use for testing)
190
197
  --no-secrets Skip secret and bundle-settings prompting for this install (--yes alone does not skip it)
191
198
  --no-containers Do not start a bundle's containers (docker compose up) after the install
199
+ --bypass-permissions Run Claude Code in bypass permissions mode: records the choice, then doctor, install and
200
+ update keep the bypass-only settings in place. Off by default on a public install (an
201
+ interactive install asks once); --no-bypass-permissions records a no. The self profile always keeps it.
192
202
  --no-scheduled-tasks Do not register a bundle's hidden Windows scheduled tasks
193
203
 
194
204
  Flags for uninstall:
@@ -220,8 +230,8 @@ Flags for update:
220
230
  --no-secrets Skip secret and settings prompting for a dependency bundle this update installs
221
231
  --allow-stale Update even when this checkout is behind origin's default branch (default: refused;
222
232
  doctor checks ledger hashes, not source drift, so it cannot catch a stale deploy)
223
- --allow-downgrade Update even when the install record was written by a newer agents-cli than this one
224
- (default: refused, since older files would overwrite newer ones)
233
+ --allow-downgrade Update even when the install record was written by newer code: a newer agents-cli, or a newer
234
+ commit of this checkout (default: refused, since older files would overwrite newer ones)
225
235
 
226
236
  Update compares each installed file's source hash, ledger hash, and on-disk
227
237
  hash: a file no one has touched since install is silently overwritten when
@@ -266,6 +276,9 @@ Flags for runner:
266
276
  runner concurrent <n> | pause | resume Change the job slots, or stop and start taking jobs (running jobs finish); works on a single-container install too, fitting per-job memory to Docker
267
277
  runner rotate-token [--name <n>] [--dry-run] Reset the runner authentication token in GitLab, save it and rewrite config.toml; never prints it
268
278
  runner janitor [--dry-run] [--watch] Remove finished job containers, per-job volumes and unused images; --watch cleans after every job
279
+ runner size [--apply] [--restart-docker] [--job-memory <size>] Size this machine for CI: Docker memory scaled to the host (half of it, at most 16 GB), up to 4 jobs fitted to it; plan without --apply
280
+ runner use mac|pc|linux|both|auto Choose which machine's runner takes CI jobs now (the others drain); auto = each host balances itself
281
+ runner balance [--enable | --disable] [--dry-run] One pass: publish this host's health and move CI to a healthy host (low disk or RAM, busy, offline) and back (an overloaded host gets the next one as an extra host); --enable lets the janitor task do it every 2 minutes
269
282
  runner init-project [--profile node|python|docker|macos|blank] [--write] [--attach --project-id <id>]
270
283
  Write a .gitlab-ci.yml that uses the shared templates (dry run unless --write)
271
284
  --profile <auto|linux|macos> Install profile (default auto); --name, --tags, --concurrent, --url, --image,
@@ -306,7 +319,7 @@ doctor also flags a project .claude/settings.json or settings.local.json whose p
306
319
  than bypassPermissions (for example "dontAsk" or "auto"), which silently downgrades every session in that repo.
307
320
  --fix removes the key from settings.local.json only; a committed settings.json is reported, never edited.
308
321
 
309
- doctor also checks <target>/settings.json for bypassPermissions only with no auto mode: permissions.defaultMode
322
+ doctor also checks <target>/settings.json, on the self profile or after install/update --bypass-permissions, for bypassPermissions only with no auto mode: permissions.defaultMode
310
323
  "bypassPermissions", skipDangerousModePermissionPrompt true, useAutoModeDuringPlan false, and neither
311
324
  permissions.disableBypassPermissionsMode nor permissions.disableAutoMode. --fix (and every update) sets the
312
325
  required keys, removes the forbidden ones, and leaves all other keys, including permissions.deny, untouched.
@@ -333,7 +346,7 @@ deletes or modifies anything; deciding what to do about a finding is a separate
333
346
  }
334
347
 
335
348
  function parseInstallArgs(argv) {
336
- const args = { bundle: null, yes: false, targetDir: null, targetConfig: null, advanced: false, noSecrets: false, noScheduledTasks: false, noContainers: false, profile: 'public' };
349
+ const args = { bundle: null, yes: false, targetDir: null, targetConfig: null, advanced: false, noSecrets: false, noScheduledTasks: false, noContainers: false, noBootstrap: false, profile: 'public' };
337
350
  for (let i = 0; i < argv.length; i += 1) {
338
351
  const arg = argv[i];
339
352
  if (arg === '--bundle') {
@@ -358,6 +371,10 @@ function parseInstallArgs(argv) {
358
371
  args.noScheduledTasks = true;
359
372
  } else if (arg === '--no-containers') {
360
373
  args.noContainers = true;
374
+ } else if (arg === '--no-bootstrap') {
375
+ args.noBootstrap = true;
376
+ } else if (arg === '--allow-downgrade') {
377
+ // consumed by the gate in main() before install runs
361
378
  } else {
362
379
  throw new InstallError(`Unknown install flag: ${arg}`);
363
380
  }
@@ -708,7 +725,7 @@ function fetchLatestVersion(pkgName, { timeoutMs = 1500 } = {}) {
708
725
  });
709
726
  }
710
727
 
711
- async function runInteractiveMenu({ advanced, targetDir, targetConfig, noSecrets, noScheduledTasks, noContainers, profile, captureSelection = false }) {
728
+ async function runInteractiveMenu({ advanced, targetDir, targetConfig, noSecrets, noScheduledTasks, noContainers, noBootstrap, profile, captureSelection = false }) {
712
729
  const { manifest, manifestPath } = loadManifest(PACKAGE_ROOT);
713
730
  const repoRoot = path.dirname(manifestPath);
714
731
  const candidateBundles = advanced ? advancedMenuBundles(manifest, profile) : basicMenuBundles(manifest, profile);
@@ -756,6 +773,8 @@ async function runInteractiveMenu({ advanced, targetDir, targetConfig, noSecrets
756
773
  }
757
774
  }
758
775
 
776
+ await runToolsStep({ installKeys: plan.toInstall.map((b) => b.key), profile, yes: false, noBootstrap });
777
+
759
778
  const installedBundles = [];
760
779
  const installedResults = [];
761
780
  const skipped = [];
@@ -845,6 +864,7 @@ async function runInstall(argv, { captureSelection = false } = {}) {
845
864
  noSecrets: args.noSecrets,
846
865
  noScheduledTasks: args.noScheduledTasks,
847
866
  noContainers: args.noContainers,
867
+ noBootstrap: args.noBootstrap,
848
868
  profile: args.profile,
849
869
  captureSelection,
850
870
  });
@@ -859,9 +879,14 @@ async function runInstall(argv, { captureSelection = false } = {}) {
859
879
  const { manifest, manifestPath } = loadManifest(PACKAGE_ROOT);
860
880
  const repoRoot = path.dirname(manifestPath);
861
881
  const bundle = findBundle(manifest, args.bundle);
882
+ if (path.basename(repoRoot) === 'content' && (args.profile === 'self' || !bundle)) {
883
+ console.error(args.profile === 'self' ? '--profile self needs a checkout of the repository: this npm package ships the public bundles only.' : `Unknown bundle "${args.bundle}". This npm package ships the public bundles only; run "install" with no flags to list them, or install a maintainer bundle from a checkout of the repository.`);
884
+ return 1;
885
+ }
862
886
  const installKeys = bundle ? withCoreFirst(manifest, [args.bundle], { profile: args.profile, installedKeys: ledgerBundleKeys(args.targetDir) }) : [args.bundle];
863
887
  const addedCore = installKeys.filter((k) => k !== args.bundle && !withBundleDeps(manifest, [args.bundle]).includes(k));
864
888
  if (addedCore.length > 0) console.log(`Adding the core setup first (${addedCore.join(', ')}): settings.json hooks and status bar, CLAUDE.md, keybindings.`);
889
+ await runToolsStep({ installKeys, profile: args.profile, yes: args.yes, noBootstrap: args.noBootstrap });
865
890
  const { results, result, activations, settingsSteps } = await installBundleChain({ manifest, repoRoot, installKeys, args });
866
891
  runSelfProfileStepsIfNeeded({ profile: args.profile, targetDir: args.targetDir });
867
892
  runMemSamplerStep({ targetDir: args.targetDir, noScheduledTasks: args.noScheduledTasks });
@@ -891,6 +916,16 @@ function prepareRepoSetups({ bundleKeys, targetDir }) {
891
916
  }
892
917
  }
893
918
 
919
+ /** The tool check before any file is copied: the core tools plus what the chosen bundles need; asks before each install (`yes`: without asking) and never fails the install. */
920
+ async function runToolsStep({ installKeys, profile, yes, noBootstrap }) {
921
+ if (noBootstrap || process.env.AGENTS_CLI_NO_BOOTSTRAP === '1') return;
922
+ try {
923
+ await require('../lib/bootstrap').ensureTools({ bundleKeys: installKeys, profile, yes });
924
+ } catch (err) {
925
+ console.error(`Tool check skipped: ${err.message}`);
926
+ }
927
+ }
928
+
894
929
  /** Install `installKeys` (prerequisites first) with every install step: files, settings, secrets, tasks, containers. */
895
930
  async function installBundleChain({ manifest, repoRoot, installKeys, args }) {
896
931
  const results = installKeys.map((key) => {
@@ -1427,6 +1462,7 @@ async function runUpdate(argv) {
1427
1462
 
1428
1463
  result.installedDeps = installedDeps;
1429
1464
  result.retiredRemoved = result.bundles.length > 0 ? removeRetiredLeftovers(args.targetDir) : [];
1465
+ result.retiredTasksRemoved = result.bundles.length > 0 ? removeRetiredTasksStep({ targetDir: args.targetDir, noScheduledTasks: args.noScheduledTasks }) : [];
1430
1466
  result.gateRestartWarning = gitHooks.gateRestartWarning(result.bundles);
1431
1467
  result.memSampler = runMemSamplerStep({ targetDir: args.targetDir, noScheduledTasks: args.noScheduledTasks, quiet: true });
1432
1468
  result.globalHooksPath = result.bundles.length > 0 ? runGlobalHooksStep({ targetDir: args.targetDir, quiet: true }) : { action: 'skipped' };
@@ -1443,6 +1479,7 @@ async function runUpdate(argv) {
1443
1479
  }
1444
1480
 
1445
1481
  for (const r of result.retiredRemoved) console.log(`${mark('ok')} removed retired leftover ${r}`);
1482
+ for (const a of result.retiredTasksRemoved) console.log(`${mark(a.action === 'failed' ? 'fail' : 'ok')} ${a.action === 'removed' ? `removed retired task ${a.name}` : a.message}`);
1446
1483
  for (const b of result.bundles) {
1447
1484
  console.log(summarizeBundleUpdate(b));
1448
1485
  if (b.unresolvedConflicts.length > 0) {
@@ -1652,6 +1689,19 @@ function removeRetiredLeftovers(targetBase) {
1652
1689
  return removeRetired(base, claimed);
1653
1690
  }
1654
1691
 
1692
+ /** update: removes the retired tasks the manifest records that this machine still has disabled (launchctl bootout and plist removal of that label only). */
1693
+ function removeRetiredTasksStep({ targetDir, noScheduledTasks }) {
1694
+ const base = targetDir || defaultTargetBase();
1695
+ if (noScheduledTasks || !isDefaultTarget(base)) return [];
1696
+ try {
1697
+ const { manifest } = loadManifest(PACKAGE_ROOT);
1698
+ const uid = typeof process.getuid === 'function' ? process.getuid() : undefined;
1699
+ return hostJobs.removeRetiredTasks({ manifest, state: jobsState.read(base), platform: process.platform, uid }).filter((a) => a.action !== 'blocked');
1700
+ } catch (err) {
1701
+ return [{ name: 'retired tasks', action: 'failed', message: `retired task cleanup skipped: ${err.message}` }];
1702
+ }
1703
+ }
1704
+
1655
1705
  function describeOrphan(o) {
1656
1706
  return o.type === 'dir' ? `${o.relTarget}/ (directory)` : o.relTarget;
1657
1707
  }
@@ -1782,10 +1832,12 @@ Permission rules Claude Code ignores (${rules.findings.length} file(s), ${rules.
1782
1832
 
1783
1833
  function splitProjectHookFlags(argv) {
1784
1834
  const rest = [];
1785
- const opts = { scanRoot: null, fix: false, targetDir: null };
1835
+ const opts = { scanRoot: null, fix: false, targetDir: null, bypass: null };
1786
1836
  for (let i = 0; i < argv.length; i += 1) {
1787
1837
  const arg = argv[i];
1788
1838
  if (arg === '--fix-project-hooks') opts.fix = true;
1839
+ else if (arg === '--bypass-permissions') opts.bypass = true;
1840
+ else if (arg === '--no-bypass-permissions') opts.bypass = false;
1789
1841
  else if (arg === '--scan-root' && argv[i + 1]) {
1790
1842
  opts.scanRoot = argv[i + 1];
1791
1843
  i += 1;
@@ -1797,11 +1849,11 @@ function splitProjectHookFlags(argv) {
1797
1849
  return { rest, opts };
1798
1850
  }
1799
1851
 
1800
- /** Refuse an update that would roll the install record back, before any step (project hooks, profile, bypass) writes to the target. */
1801
- function updateDowngradeGate(argv) {
1852
+ /** Refuse an install or update that would roll the install record back, before any step (project hooks, profile, bypass) writes to the target. */
1853
+ function updateDowngradeGate(argv, command = 'update') {
1802
1854
  const { opts } = splitProjectHookFlags(argv);
1803
1855
  try {
1804
- return downgradeGate({ targetBase: opts.targetDir || defaultTargetBase(), running: pkg.version, allowDowngrade: argv.includes('--allow-downgrade') });
1856
+ return downgradeGate({ targetBase: opts.targetDir || defaultTargetBase(), running: pkg.version, allowDowngrade: argv.includes('--allow-downgrade'), packageRoot: PACKAGE_ROOT, command });
1805
1857
  } catch (err) {
1806
1858
  if (err instanceof LedgerError) return null;
1807
1859
  throw err;
@@ -1814,7 +1866,25 @@ function withExitCode(code, floor) {
1814
1866
  return { ...code, exitCode: Math.max(code.exitCode || 0, floor) };
1815
1867
  }
1816
1868
 
1817
- async function withProjectHookStep(argv, run, { healBypass = false } = {}) {
1869
+ /** Records the bypass-permissions answer of this install or update: the flag, else (install, interactive, never answered) one question. */
1870
+ async function settleBypassChoice({ targetBase, opts, argv, ask }) {
1871
+ if (opts.bypass !== null) {
1872
+ bypassOnly.recordBypassChoice({ targetBase, enabled: opts.bypass });
1873
+ return;
1874
+ }
1875
+ const interactive = ask && !argv.includes('--yes') && process.stdin.isTTY && process.stdout.isTTY;
1876
+ if (!interactive || bypassOnly.bypassWanted({ targetBase }) || bypassOnly.bypassChoice({ targetBase }) !== undefined) return;
1877
+ const answer = await askChoice({
1878
+ input: process.stdin,
1879
+ output: process.stdout,
1880
+ promptText: '\nRun Claude Code in bypass permissions mode (no permission prompts; deny rules and guard hooks still apply)? [y/N] ',
1881
+ choices: ['no', 'yes'],
1882
+ defaultChoice: 'no',
1883
+ });
1884
+ bypassOnly.recordBypassChoice({ targetBase, enabled: answer === 'yes' });
1885
+ }
1886
+
1887
+ async function withProjectHookStep(argv, run, { healBypass = false, askBypass = false } = {}) {
1818
1888
  const { rest, opts } = splitProjectHookFlags(argv);
1819
1889
  let code = await run(rest);
1820
1890
  try {
@@ -1827,6 +1897,7 @@ async function withProjectHookStep(argv, run, { healBypass = false } = {}) {
1827
1897
  if (step.error) console.error(step.error);
1828
1898
  printProjectHookReport(step, { fixRequested: opts.fix });
1829
1899
  const targetBase = opts.targetDir || defaultTargetBase();
1900
+ if (code === 0 || (code && code.exitCode === 0)) await settleBypassChoice({ targetBase, opts, argv, ask: askBypass });
1830
1901
  printClaudeProfileReport(claudeProfileStep(targetBase, healBypass || opts.fix), { fixRequested: opts.fix });
1831
1902
  const shellStep = shellProfileStep(targetBase, healBypass || opts.fix);
1832
1903
  printShellProfileReport(shellStep, { fixRequested: opts.fix });
@@ -1841,7 +1912,7 @@ async function withProjectHookStep(argv, run, { healBypass = false } = {}) {
1841
1912
  cwd: process.cwd(),
1842
1913
  scanRoot: opts.scanRoot ? path.resolve(opts.scanRoot) : null,
1843
1914
  fix: opts.fix,
1844
- expectedMode: bypassOnly.BYPASS,
1915
+ expectedMode: bypassOnly.bypassWanted({ targetBase }) ? bypassOnly.BYPASS : null,
1845
1916
  })
1846
1917
  );
1847
1918
  printRuleMigrationReport(
@@ -1972,7 +2043,7 @@ function runDoctor(argv) {
1972
2043
  targetBase: args.targetDir || defaultTargetBase(),
1973
2044
  };
1974
2045
  const bypass = bypassOnly.checkBypassOnly({ targetBase: scope.targetBase, fix: args.fix, deleteHooks: deleteHooks(scope.targetBase) });
1975
- const modes = modeDrift.checkModeDrift({ ...scope, fix: args.fix, expectedMode: bypassOnly.BYPASS });
2046
+ const modes = modeDrift.checkModeDrift({ ...scope, fix: args.fix, expectedMode: bypassOnly.bypassWanted({ targetBase: scope.targetBase }) ? bypassOnly.BYPASS : null });
1976
2047
  const rules = permissionRules.checkRuleMigration({ ...scope, fix: args.fix });
1977
2048
  const hooks = projectHooks.projectHooksStep({ ...scope, fix: args.fix });
1978
2049
  if (hooks.error) {
@@ -2470,7 +2541,6 @@ async function main(argv, { captureSelection = false } = {}) {
2470
2541
  }
2471
2542
 
2472
2543
  if (command === 'chief') {
2473
- if (rest[0] === 'off' || rest[0] === 'on') return runJobs([rest[0] === 'off' ? 'retire' : 'activate', '--bundle', 'chief', ...rest.slice(1)]);
2474
2544
  return chiefCmd.runChiefCommand(rest);
2475
2545
  }
2476
2546
 
@@ -2489,7 +2559,9 @@ async function main(argv, { captureSelection = false } = {}) {
2489
2559
  }
2490
2560
 
2491
2561
  if (command === 'install') {
2492
- return withProjectHookStep(rest, args => runInstall(args, { captureSelection }), { healBypass: true });
2562
+ const downgraded = updateDowngradeGate(rest, 'install');
2563
+ if (downgraded !== null) return downgraded;
2564
+ return withProjectHookStep(rest, args => runInstall(args, { captureSelection }), { healBypass: true, askBypass: !captureSelection });
2493
2565
  }
2494
2566
 
2495
2567
  if (command === 'uninstall') {
@@ -152,7 +152,7 @@ def upload_file(path: str, project_path: str, token: str) -> str:
152
152
  # ── §0 Auto-discovery ─────────────────────────────────────────────────────────
153
153
 
154
154
  def discover_project() -> str:
155
- """Return URL-encoded project path, e.g. yasaswy22%2Ffarm-xonix"""
155
+ """Return URL-encoded project path, e.g. ns%2Fproject"""
156
156
  try:
157
157
  remote = subprocess.check_output(["git", "remote", "get-url", "origin"],
158
158
  text=True).strip()
@@ -570,8 +570,8 @@ def main():
570
570
 
571
571
  dispatch = parse_dispatch(dispatch_text)
572
572
 
573
- project_path = discover_project() # e.g. yasaswy22%2Ffarm-xonix (URL-encoded)
574
- project_slug = urllib.parse.unquote(project_path) # e.g. yasaswy22/farm-xonix
573
+ project_path = discover_project() # e.g. ns%2Fproject (URL-encoded)
574
+ project_slug = urllib.parse.unquote(project_path) # e.g. ns/project
575
575
 
576
576
  # items.json
577
577
  items_path = ".github/items/items.json" if os.path.exists(".github/items/items.json") else ""
@@ -285,7 +285,9 @@ gh_cmd() {
285
285
  if command -v agents-cli >/dev/null 2>&1; then printf 'agents-cli %s' "$*"
286
286
  elif [ -x "$GH_HOME/bin/agents-cli" ]; then printf "'%s/bin/agents-cli' %s" "$GH_HOME" "$*"
287
287
  elif [ -f "$GH_HOME/bin/agents-cli.cmd" ]; then printf "& '%s/bin/agents-cli.cmd' %s" "$GH_HOME" "$*"
288
- else printf "npx -y '@yasaswy.nagavolu/agents@latest' %s" "$*"
288
+ else
289
+ gh_pkg=$(sed -n 's#.*"packageName"[[:space:]]*:[[:space:]]*"\(@\{0,1\}[A-Za-z0-9._/-]*\)".*#\1#p' "$GH_HOME/agents-ledger.json" 2>/dev/null | head -n 1)
290
+ if [ -n "$gh_pkg" ]; then printf "npx -y '%s@latest' %s" "$gh_pkg" "$*"; else printf 'agents-cli %s' "$*"; fi
289
291
  fi
290
292
  }
291
293