claude-dev-env 2.15.1 → 2.17.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 (841) hide show
  1. package/.agents/agents/.claude/CLAUDE.md +1 -0
  2. package/{agents → .agents/agents}/AGENTS.md +8 -2
  3. package/{agents → .agents/agents}/test_agent_frontmatter.py +1 -1
  4. package/.agents/skills/.claude/CLAUDE.md +1 -0
  5. package/.agents/skills/AGENTS.md +71 -0
  6. package/.agents/skills/_shared/.claude/CLAUDE.md +1 -0
  7. package/{skills → .agents/skills}/_shared/AGENTS.md +2 -2
  8. package/.agents/skills/_shared/advisor/.claude/CLAUDE.md +1 -0
  9. package/.agents/skills/_shared/pr-loop/.claude/CLAUDE.md +1 -0
  10. package/{skills → .agents/skills}/_shared/pr-loop/AGENTS.md +22 -15
  11. package/{skills → .agents/skills}/_shared/pr-loop/portable-driver.md +6 -7
  12. package/.agents/skills/_shared/pr-loop/prompts/.claude/CLAUDE.md +1 -0
  13. package/.agents/skills/_shared/pr-loop/prompts/AGENTS.md +9 -0
  14. package/.agents/skills/_shared/pr-loop/scripts/.claude/CLAUDE.md +1 -0
  15. package/{skills → .agents/skills}/_shared/pr-loop/scripts/AGENTS.md +1 -1
  16. package/{skills → .agents/skills}/_shared/pr-loop/scripts/portable_converge_driver.py +25 -16
  17. package/.agents/skills/_shared/pr-loop/scripts/skills_pr_loop_constants/.claude/CLAUDE.md +1 -0
  18. package/{skills → .agents/skills}/_shared/pr-loop/scripts/skills_pr_loop_constants/audit_category_schema_constants.py +6 -1
  19. package/{skills → .agents/skills}/_shared/pr-loop/scripts/skills_pr_loop_constants/portable_driver_constants.py +1 -5
  20. package/{skills → .agents/skills}/_shared/pr-loop/scripts/test_build_audit_prompt.py +9 -3
  21. package/{skills → .agents/skills}/_shared/pr-loop/scripts/write_audit_outcomes.py +1 -1
  22. package/{skills → .agents/skills}/_shared/pr-loop/scripts/write_fix_outcomes.py +1 -1
  23. package/.agents/skills/autoconverge/.claude/CLAUDE.md +1 -0
  24. package/.agents/skills/autoconverge/reference/.claude/CLAUDE.md +1 -0
  25. package/.agents/skills/autoconverge/reference/convergence-gates.md +31 -0
  26. package/{skills → .agents/skills}/autoconverge/reference/convergence.md +8 -10
  27. package/{skills → .agents/skills}/autoconverge/reference/gotchas.md +1 -1
  28. package/{skills → .agents/skills}/autoconverge/reference/stop-conditions.md +1 -1
  29. package/.agents/skills/autoconverge/workflow/.claude/CLAUDE.md +1 -0
  30. package/.agents/skills/autoconverge/workflow/autoconverge_report_constants/.claude/CLAUDE.md +1 -0
  31. package/{skills → .agents/skills}/autoconverge/workflow/converge.codex-gate.test.mjs +1 -1
  32. package/{skills → .agents/skills}/autoconverge/workflow/converge.contract.test.mjs +1 -1
  33. package/{skills → .agents/skills}/autoconverge/workflow/converge.mjs +3 -3
  34. package/.agents/skills/cert-classification-rule/SKILL.md +224 -0
  35. package/.agents/skills/cert-classification-rule/scripts/resort_cert_folders.py +158 -0
  36. package/{skills → .agents/skills}/e-code-review/reference/effort-evaluation.md +1 -1
  37. package/.agents/skills/eli5/SKILL.md +128 -0
  38. package/.agents/skills/eli5/reference/task-seeds.md +11 -0
  39. package/.agents/skills/everything-search/.claude/CLAUDE.md +1 -0
  40. package/.agents/skills/fresh-branch/.claude/CLAUDE.md +1 -0
  41. package/{skills → .agents/skills}/fresh-branch/scripts/test_create_fresh_branch.py +2 -3
  42. package/.agents/skills/grok-spawn/.claude/CLAUDE.md +1 -0
  43. package/.agents/skills/name-by-capability-audit/SKILL.md +67 -0
  44. package/.agents/skills/name-by-capability-audit/reference/fetch-commands.md +29 -0
  45. package/.agents/skills/name-by-capability-audit/reference/offense-examples.md +32 -0
  46. package/.agents/skills/name-by-capability-audit/reference/report-template.md +29 -0
  47. package/.agents/skills/name-by-capability-audit/reference/rule-checklist.md +38 -0
  48. package/.agents/skills/name-by-capability-audit/reference/task-seeds.md +9 -0
  49. package/.agents/skills/pr-cleanup/SKILL.md +99 -0
  50. package/{skills → .agents/skills}/prototype/reference/honest-limitations.md +1 -1
  51. package/{skills → .agents/skills}/prototype/reference/promotion-tasks.md +1 -1
  52. package/{skills → .agents/skills}/prototype/scripts/test_build_sandbox_settings.py +2 -2
  53. package/{skills → .agents/skills}/prototype/scripts/test_probe_sandbox_safety.py +1 -1
  54. package/{skills → .agents/skills}/prototype/workflows/promotion.md +2 -2
  55. package/.agents/skills/rebase/.claude/CLAUDE.md +1 -0
  56. package/.agents/skills/review-router/SKILL.md +51 -0
  57. package/.agents/skills/review-router/reference/route-policy.json +7 -0
  58. package/.agents/skills/review-router/reference/task-seeds.md +1 -0
  59. package/.agents/skills/review-router/scripts/conftest.py +4 -0
  60. package/.agents/skills/review-router/scripts/review_router.py +50 -0
  61. package/.agents/skills/review-router/scripts/review_router_cli.py +211 -0
  62. package/.agents/skills/review-router/scripts/review_router_constants/__init__.py +1 -0
  63. package/.agents/skills/review-router/scripts/review_router_constants/config/__init__.py +0 -0
  64. package/.agents/skills/review-router/scripts/review_router_constants/config/constants.py +13 -0
  65. package/.agents/skills/review-router/scripts/test_review_router.py +23 -0
  66. package/.agents/skills/review-router/scripts/test_review_router_cli.py +47 -0
  67. package/.agents/skills/review-tier/SKILL.md +56 -0
  68. package/.agents/skills/review-tier/reference/task-seeds.md +1 -0
  69. package/.agents/skills/review-tier/reference/tier-policy.json +9 -0
  70. package/.agents/skills/review-tier/scripts/conftest.py +4 -0
  71. package/.agents/skills/review-tier/scripts/review_tier.py +332 -0
  72. package/.agents/skills/review-tier/scripts/review_tier_constants/__init__.py +1 -0
  73. package/.agents/skills/review-tier/scripts/review_tier_constants/config/__init__.py +0 -0
  74. package/.agents/skills/review-tier/scripts/review_tier_constants/config/constants.py +29 -0
  75. package/.agents/skills/review-tier/scripts/test_generation.py +171 -0
  76. package/.agents/skills/review-tier/scripts/test_review_tier.py +33 -0
  77. package/.agents/skills/run-claude-dev-env/SKILL.md +84 -0
  78. package/.agents/skills/run-claude-dev-env/driver.mjs +239 -0
  79. package/.agents/skills/session-log/.claude/CLAUDE.md +1 -0
  80. package/{skills → .agents/skills}/session-log/SKILL.md +1 -1
  81. package/.agents/skills/session-tidy/.claude/CLAUDE.md +1 -0
  82. package/.agents/skills/shared-extraction-audit/SKILL.md +160 -0
  83. package/.agents/skills/shared-extraction-audit/reference/examples.md +46 -0
  84. package/.agents/skills/shared-extraction-audit/reference/offense-taxonomy.md +100 -0
  85. package/.agents/skills/skill-builder/.claude/CLAUDE.md +1 -0
  86. package/.agents/skills/skill-builder/references/.claude/CLAUDE.md +1 -0
  87. package/{skills → .agents/skills}/skill-builder/references/deterministic-elements.md +1 -1
  88. package/.agents/skills/skill-builder/templates/.claude/CLAUDE.md +1 -0
  89. package/.agents/skills/skill-builder/workflows/.claude/CLAUDE.md +1 -0
  90. package/.agents/skills/source-command-logifix/SKILL.md +29 -0
  91. package/.agents/skills/source-command-sr-loop/SKILL.md +58 -0
  92. package/.agents/skills/task-build/.claude/CLAUDE.md +1 -0
  93. package/.agents/skills/update/.claude/CLAUDE.md +1 -0
  94. package/.agents/skills-archived/AGENTS.md +45 -0
  95. package/.agents/skills-archived/anthropic-plan/.claude/CLAUDE.md +1 -0
  96. package/{skills → .agents/skills-archived}/anthropic-plan/AGENTS.md +1 -1
  97. package/.agents/skills-archived/anthropic-plan/scripts/.claude/CLAUDE.md +1 -0
  98. package/.agents/skills-archived/anthropic-plan/scripts/anthropic_plan_scripts_constants/.claude/CLAUDE.md +1 -0
  99. package/.agents/skills-archived/anthropic-plan/templates/.claude/CLAUDE.md +1 -0
  100. package/{skills → .agents/skills-archived}/anthropic-plan/test_skill_contract.py +4 -4
  101. package/.agents/skills-archived/anthropic-plan/workflow/.claude/CLAUDE.md +1 -0
  102. package/.agents/skills-archived/auditing-claude-config/.claude/CLAUDE.md +1 -0
  103. package/.agents/skills-archived/bugteam/.claude/CLAUDE.md +1 -0
  104. package/.agents/skills-archived/bugteam/reference/.claude/CLAUDE.md +1 -0
  105. package/.agents/skills-archived/bugteam/reference/obstacles/.claude/CLAUDE.md +1 -0
  106. package/.agents/skills-archived/bugteam/scripts/.claude/CLAUDE.md +1 -0
  107. package/{skills → .agents/skills-archived}/bugteam/scripts/bugteam_code_rules_gate.py +11 -1
  108. package/{skills → .agents/skills-archived}/bugteam/scripts/bugteam_fix_hookspath.py +11 -1
  109. package/{skills → .agents/skills-archived}/bugteam/scripts/bugteam_preflight.py +11 -1
  110. package/.agents/skills-archived/bugteam/scripts/bugteam_scripts_constants/.claude/CLAUDE.md +1 -0
  111. package/{skills → .agents/skills-archived}/bugteam/scripts/reflow_skill_md.py +3 -3
  112. package/.agents/skills-archived/codex-review/.claude/CLAUDE.md +1 -0
  113. package/.agents/skills-archived/codex-review/reference/.claude/CLAUDE.md +1 -0
  114. package/.agents/skills-archived/codex-review/scripts/codex_review_scripts_constants/.claude/CLAUDE.md +1 -0
  115. package/{skills → .agents/skills-archived}/codex-review/scripts/codex_usage_probe.py +11 -1
  116. package/{skills → .agents/skills-archived}/codex-review/scripts/run_codex_review.py +11 -1
  117. package/{skills → .agents/skills-archived}/codex-review/test_skill_scaffold.py +4 -4
  118. package/{skills → .agents/skills-archived}/copilot-finding-triage/SKILL.md +1 -1
  119. package/.agents/skills-archived/copilot-review/.claude/CLAUDE.md +1 -0
  120. package/.agents/skills-archived/pr-converge/.claude/CLAUDE.md +1 -0
  121. package/{skills → .agents/skills-archived}/pr-converge/SKILL.md +6 -6
  122. package/.agents/skills-archived/pr-converge/pr_converge_skill_constants/.claude/CLAUDE.md +1 -0
  123. package/{skills → .agents/skills-archived}/pr-converge/pr_converge_skill_constants/AGENTS.md +1 -1
  124. package/{skills → .agents/skills-archived}/pr-converge/pr_converge_skill_constants/constants.py +1 -1
  125. package/.agents/skills-archived/pr-converge/reference/.claude/CLAUDE.md +1 -0
  126. package/{skills → .agents/skills-archived}/pr-converge/reference/multi-pr-orchestration.md +1 -1
  127. package/.agents/skills-archived/pr-converge/reference/obstacles/.claude/CLAUDE.md +1 -0
  128. package/{skills → .agents/skills-archived}/pr-converge/reference/per-tick.md +3 -3
  129. package/.agents/skills-archived/pr-converge/scripts/.claude/CLAUDE.md +1 -0
  130. package/{skills → .agents/skills-archived}/pr-converge/scripts/_pr_converge_path_setup.py +17 -2
  131. package/.agents/skills-archived/pr-converge/scripts/pr_converge_scripts_constants/.claude/CLAUDE.md +1 -0
  132. package/{skills → .agents/skills-archived}/pr-converge/scripts/reflow_skill_md.py +2 -2
  133. package/{skills → .agents/skills-archived}/pr-converge/scripts/test__pr_converge_path_setup.py +7 -4
  134. package/{skills → .agents/skills-archived}/pr-converge/test_portable_pacer_gate.py +6 -2
  135. package/.agents/skills-archived/pr-converge/workflows/.claude/CLAUDE.md +1 -0
  136. package/{skills → .agents/skills-archived}/pr-converge/workflows/schedule-wakeup-loop.md +1 -1
  137. package/.agents/skills-archived/recall/.claude/CLAUDE.md +1 -0
  138. package/.agents/skills-archived/remember/.claude/CLAUDE.md +1 -0
  139. package/{skills → .agents/skills-archived}/split-pr/reference/proposal-format.md +1 -1
  140. package/.claude/CLAUDE.md +1 -0
  141. package/AGENTS.md +34 -58
  142. package/_shared/AGENTS.md +2 -0
  143. package/_shared/advisor/reference/sol-rung.md +2 -2
  144. package/_shared/advisor/reference/third-party-bind.md +1 -1
  145. package/_shared/advisor/scripts/tests/test_codex_sol_advisor.py +1 -1
  146. package/_shared/pr-loop/audit-reply-template.md +4 -0
  147. package/_shared/pr-loop/code-rules-gate.md +1 -1
  148. package/_shared/pr-loop/fix-protocol.md +7 -6
  149. package/_shared/pr-loop/gh-payloads.md +8 -6
  150. package/_shared/pr-loop/precatch-rubric.md +6 -5
  151. package/_shared/pr-loop/scripts/AGENTS.md +15 -0
  152. package/_shared/pr-loop/scripts/_pr_converge_path_setup.py +38 -0
  153. package/_shared/pr-loop/scripts/check_bugbot_ci.py +279 -0
  154. package/_shared/pr-loop/scripts/check_convergence.py +923 -0
  155. package/_shared/pr-loop/scripts/check_convergence_availability.py +275 -0
  156. package/_shared/pr-loop/scripts/check_convergence_gates.py +279 -0
  157. package/_shared/pr-loop/scripts/check_convergence_thread_gates.py +219 -0
  158. package/_shared/pr-loop/scripts/check_pending_reviews.py +154 -0
  159. package/_shared/pr-loop/scripts/codex_down_classifier.py +98 -0
  160. package/_shared/pr-loop/scripts/codex_review_scripts_constants/.claude/CLAUDE.md +1 -0
  161. package/_shared/pr-loop/scripts/codex_review_scripts_constants/AGENTS.md +18 -0
  162. package/_shared/pr-loop/scripts/codex_review_scripts_constants/__init__.py +1 -0
  163. package/_shared/pr-loop/scripts/codex_review_scripts_constants/classifier_constants.py +35 -0
  164. package/_shared/pr-loop/scripts/codex_review_scripts_constants/codex_usage_probe_constants.py +82 -0
  165. package/_shared/pr-loop/scripts/codex_review_scripts_constants/findings_constants.py +18 -0
  166. package/_shared/pr-loop/scripts/codex_review_scripts_constants/run_constants.py +53 -0
  167. package/_shared/pr-loop/scripts/codex_usage_probe.py +570 -0
  168. package/_shared/pr-loop/scripts/conftest.py +43 -0
  169. package/_shared/pr-loop/scripts/fetch_copilot_reviews.py +134 -0
  170. package/_shared/pr-loop/scripts/fixtures/auth_failure_synthetic.txt +1 -0
  171. package/_shared/pr-loop/scripts/fixtures/config_load_failure_v0.125.0.txt +1 -0
  172. package/_shared/pr-loop/scripts/fixtures/freeform_findings_v0.144.3.txt +6 -0
  173. package/_shared/pr-loop/scripts/fixtures/model_rejection_v0.125.0.jsonl +5 -0
  174. package/_shared/pr-loop/scripts/fixtures/structured_findings.txt +13 -0
  175. package/_shared/pr-loop/scripts/fixtures/success_stream_v0.144.3.jsonl +6 -0
  176. package/_shared/pr-loop/scripts/fixtures/unknown_failure_synthetic.txt +1 -0
  177. package/_shared/pr-loop/scripts/fixtures/usage_limit_synthetic.txt +1 -0
  178. package/_shared/pr-loop/scripts/parse_codex_findings.py +207 -0
  179. package/_shared/pr-loop/scripts/post_fix_reply.py +168 -0
  180. package/_shared/pr-loop/scripts/pr_converge_scripts_constants/.claude/CLAUDE.md +1 -0
  181. package/_shared/pr-loop/scripts/pr_converge_scripts_constants/AGENTS.md +18 -0
  182. package/_shared/pr-loop/scripts/pr_converge_scripts_constants/__init__.py +0 -0
  183. package/_shared/pr-loop/scripts/pr_converge_scripts_constants/convergence_gate_constants.py +70 -0
  184. package/_shared/pr-loop/scripts/pr_converge_scripts_constants/pr_converge_constants.py +118 -0
  185. package/_shared/pr-loop/scripts/pr_converge_scripts_constants/reflow_skill_md_constants.py +13 -0
  186. package/_shared/pr-loop/scripts/pr_converge_skill_constants/.claude/CLAUDE.md +1 -0
  187. package/_shared/pr-loop/scripts/pr_converge_skill_constants/AGENTS.md +26 -0
  188. package/_shared/pr-loop/scripts/pr_converge_skill_constants/__init__.py +0 -0
  189. package/_shared/pr-loop/scripts/pr_converge_skill_constants/constants.py +69 -0
  190. package/_shared/pr-loop/scripts/run_codex_review.py +609 -0
  191. package/_shared/pr-loop/scripts/test__pr_converge_path_setup.py +30 -0
  192. package/_shared/pr-loop/scripts/test_check_bugbot_ci.py +312 -0
  193. package/_shared/pr-loop/scripts/test_check_convergence.py +438 -0
  194. package/_shared/pr-loop/scripts/test_check_convergence_availability.py +391 -0
  195. package/_shared/pr-loop/scripts/test_check_convergence_codex.py +517 -0
  196. package/_shared/pr-loop/scripts/test_check_convergence_contract.py +400 -0
  197. package/_shared/pr-loop/scripts/test_check_convergence_fixture.py +179 -0
  198. package/_shared/pr-loop/scripts/test_check_convergence_gates.py +84 -0
  199. package/_shared/pr-loop/scripts/test_check_convergence_thread_gates.py +99 -0
  200. package/_shared/pr-loop/scripts/test_codex_down_classifier.py +143 -0
  201. package/_shared/pr-loop/scripts/test_codex_usage_probe.py +683 -0
  202. package/_shared/pr-loop/scripts/test_parse_codex_findings.py +130 -0
  203. package/_shared/pr-loop/scripts/test_run_codex_review.py +969 -0
  204. package/_shared/pr-loop/scripts/tests/test_claude_permissions_common.py +1 -1
  205. package/_shared/pr-loop/scripts/tests/test_code_rules_gate.py +1 -1
  206. package/_shared/pr-loop/scripts/tests/test_fix_hookspath.py +1 -1
  207. package/_shared/pr-loop/state-schema.md +20 -28
  208. package/_shared/process-tree/AGENTS.md +3 -3
  209. package/bin/AGENTS.md +17 -12
  210. package/bin/ever-shipped-skills.mjs +34 -3
  211. package/bin/install-constants.mjs +46 -12
  212. package/bin/install-plan.mjs +6 -1
  213. package/bin/install.agents-home.test.mjs +199 -0
  214. package/bin/install.cursor-rules.test.mjs +3 -3
  215. package/bin/install.mjs +153 -23
  216. package/bin/install.plan.test.mjs +1 -0
  217. package/bin/install.profile-root.test.mjs +54 -1
  218. package/bin/install.prune.test.mjs +23 -204
  219. package/bin/install.test.mjs +17 -5
  220. package/bin/publish-directory-pointer.mjs +175 -0
  221. package/bin/publish-directory-pointer.test.mjs +129 -0
  222. package/bin/resolve-install-root.mjs +80 -4
  223. package/bin/resolve-package-managed-directory.mjs +29 -0
  224. package/bin/resolve-package-managed-directory.test.mjs +97 -0
  225. package/commands/AGENTS.md +2 -0
  226. package/commands/sr-loop.md +3 -0
  227. package/docs/references/prose-style-enforcement.md +3 -7
  228. package/hooks/AGENTS.md +0 -3
  229. package/hooks/blocking/AGENTS.md +0 -2
  230. package/hooks/blocking/ask_user_question_shape_blocker.py +83 -0
  231. package/hooks/blocking/hedging_language_blocker.py +1 -0
  232. package/hooks/blocking/orchestrator_refresh_reschedule_gate.py +10 -6
  233. package/hooks/blocking/pre_tool_use_dispatcher.py +2 -19
  234. package/hooks/blocking/state_description_blocker.py +1 -1
  235. package/hooks/blocking/test_ask_user_question_shape.py +69 -0
  236. package/hooks/blocking/test_code_rules_command_dispatch.py +1 -1
  237. package/hooks/blocking/test_code_rules_enforcer_magic_slice_bounds.py +1 -1
  238. package/hooks/blocking/test_code_rules_enforcer_split_annotations_length.py +1 -1
  239. package/hooks/blocking/test_code_rules_js_conventions.py +1 -1
  240. package/hooks/blocking/test_code_rules_js_resume_task_enumeration.py +1 -1
  241. package/hooks/blocking/test_code_rules_js_returns_object_schemaless.py +1 -1
  242. package/hooks/blocking/test_code_rules_js_sibling_return_object_key_drift.py +1 -1
  243. package/hooks/blocking/test_duplicate_rmtree_helper_blocker.py +1 -1
  244. package/hooks/blocking/test_fable_spawn_gate.py +1 -1
  245. package/hooks/blocking/test_orchestrator_refresh_reschedule_gate.py +1 -1
  246. package/hooks/blocking/test_pre_tool_use_dispatcher.py +17 -58
  247. package/hooks/blocking/test_pre_tool_use_dispatcher_native.py +9 -104
  248. package/hooks/blocking/test_state_description_blocker.py +1 -0
  249. package/hooks/blocking/test_stop_dispatcher.py +1 -26
  250. package/hooks/hooks.json +1 -1
  251. package/hooks/hooks_constants/AGENTS.md +0 -3
  252. package/hooks/hooks_constants/ask_user_question_shape.py +1 -1
  253. package/hooks/hooks_constants/ask_user_question_shape_constants.py +73 -0
  254. package/hooks/hooks_constants/bot_mention_comment_blocker_constants.py +1 -2
  255. package/hooks/hooks_constants/code_rules_path_utils_constants.py +0 -1
  256. package/hooks/hooks_constants/orchestrator_refresh_reschedule_gate_constants.py +9 -0
  257. package/hooks/hooks_constants/pre_tool_use_dispatcher_constants.py +0 -7
  258. package/hooks/hooks_constants/stop_dispatcher_constants.py +0 -1
  259. package/hooks/hooks_constants/test_ask_user_question_shape.py +1 -1
  260. package/hooks/hooks_constants/test_prose_metrics_parity.py +29 -107
  261. package/hooks/hooks_constants/test_stop_dispatcher_constants.py +0 -1
  262. package/hooks/hooks_constants/working_style_prompt_constants.py +9 -10
  263. package/hooks/session/AGENTS.md +4 -1
  264. package/hooks/session/test_working_style_prompt.py +8 -4
  265. package/hooks/session/working_style_prompt.py +4 -2
  266. package/installable-surfaces.manifest.json +2 -3
  267. package/package.json +4 -8
  268. package/rules/AGENTS.md +2 -5
  269. package/rules/asd-ste100-language.md +39 -0
  270. package/rules/ask-user-question-required.md +1 -1
  271. package/rules/long-horizon-autonomy.md +1 -1
  272. package/scripts/AGENTS.md +1 -0
  273. package/scripts/Show-Asset.ps1 +106 -0
  274. package/scripts/active_capability_references.py +38 -8
  275. package/scripts/claude_chain_usage.py +2 -0
  276. package/scripts/codex_compat_watcher.py +1 -1
  277. package/scripts/dev_env_scripts_constants/active_capability_constants.py +5 -2
  278. package/scripts/dev_env_scripts_constants/claude_chain_usage_constants.py +4 -1
  279. package/scripts/test_validate_instruction_pairs.py +30 -3
  280. package/scripts/test_verify_installable_package.py +2 -1
  281. package/scripts/tests/test_codex_compat_watcher.py +5 -5
  282. package/scripts/tests/test_engine.py +4 -4
  283. package/scripts/tests/test_rules.py +5 -5
  284. package/system-prompts/AGENTS.md +8 -0
  285. package/system-prompts/software-engineer.xml +8 -3
  286. package/CLAUDE.md +0 -1
  287. package/_shared/pr-loop/scripts/README.md +0 -21
  288. package/agents/CLAUDE.md +0 -1
  289. package/docs/imagegen.md +0 -22
  290. package/hooks/blocking/eli11_reply_enforcer.py +0 -436
  291. package/hooks/blocking/plain_language_blocker.py +0 -758
  292. package/hooks/blocking/test_eli11_reply_enforcer.py +0 -390
  293. package/hooks/blocking/test_plain_language_blocker.py +0 -683
  294. package/hooks/blocking/test_plain_language_blocker_allowlist.py +0 -228
  295. package/hooks/diagnostic/AGENTS.md +0 -75
  296. package/hooks/diagnostic/CLAUDE.md +0 -1
  297. package/hooks/diagnostic/hook_log_extractor.py +0 -875
  298. package/hooks/diagnostic/hook_log_init.py +0 -202
  299. package/hooks/diagnostic/hook_log_stop_wrapper.py +0 -26
  300. package/hooks/diagnostic/migrations/2026-04-25-drop-themes-hook-events.sql +0 -3
  301. package/hooks/diagnostic/migrations/AGENTS.md +0 -16
  302. package/hooks/diagnostic/migrations/CLAUDE.md +0 -1
  303. package/hooks/diagnostic/migrations/README.md +0 -76
  304. package/hooks/diagnostic/queries/AGENTS.md +0 -19
  305. package/hooks/diagnostic/queries/CLAUDE.md +0 -1
  306. package/hooks/diagnostic/queries/block_details_for_hook.sql +0 -26
  307. package/hooks/diagnostic/queries/blocks_by_category.sql +0 -10
  308. package/hooks/diagnostic/queries/blocks_by_tool.sql +0 -9
  309. package/hooks/diagnostic/queries/blocks_last_7_days.sql +0 -11
  310. package/hooks/diagnostic/queries/top_blockers_last_24_hours.sql +0 -12
  311. package/hooks/diagnostic/queries/top_blockers_overall.sql +0 -12
  312. package/hooks/diagnostic/requirements-hook-logs-dev.txt +0 -2
  313. package/hooks/diagnostic/requirements-hook-logs.txt +0 -1
  314. package/hooks/diagnostic/schema.sql +0 -51
  315. package/hooks/diagnostic/test_hook_log_extractor.py +0 -1518
  316. package/hooks/diagnostic/test_hook_log_init.py +0 -227
  317. package/hooks/diagnostic/test_hook_log_stop_wrapper.py +0 -17
  318. package/hooks/hooks_constants/eli11_reply_enforcer_constants.py +0 -94
  319. package/hooks/hooks_constants/hook_log_extractor_constants.py +0 -233
  320. package/hooks/hooks_constants/plain_language_blocker_constants.py +0 -366
  321. package/hooks/hooks_constants/test_hook_log_extractor_constants.py +0 -123
  322. package/rules/doc-prose-cuts.md +0 -58
  323. package/rules/eli11-replies.md +0 -36
  324. package/rules/opus5-communication-contract.md +0 -45
  325. package/rules/plain-language.md +0 -9
  326. package/skills/AGENTS.md +0 -72
  327. package/skills/CLAUDE.md +0 -1
  328. package/skills/_shared/CLAUDE.md +0 -1
  329. package/skills/_shared/advisor/CLAUDE.md +0 -1
  330. package/skills/_shared/pr-loop/CLAUDE.md +0 -1
  331. package/skills/_shared/pr-loop/prompts/AGENTS.md +0 -9
  332. package/skills/_shared/pr-loop/prompts/CLAUDE.md +0 -1
  333. package/skills/_shared/pr-loop/scripts/CLAUDE.md +0 -1
  334. package/skills/_shared/pr-loop/scripts/skills_pr_loop_constants/CLAUDE.md +0 -1
  335. package/skills/anthropic-plan/CLAUDE.md +0 -1
  336. package/skills/anthropic-plan/scripts/CLAUDE.md +0 -1
  337. package/skills/anthropic-plan/scripts/anthropic_plan_scripts_constants/CLAUDE.md +0 -1
  338. package/skills/anthropic-plan/templates/CLAUDE.md +0 -1
  339. package/skills/anthropic-plan/workflow/CLAUDE.md +0 -1
  340. package/skills/auditing-claude-config/CLAUDE.md +0 -1
  341. package/skills/autoconverge/CLAUDE.md +0 -1
  342. package/skills/autoconverge/reference/CLAUDE.md +0 -1
  343. package/skills/autoconverge/workflow/CLAUDE.md +0 -1
  344. package/skills/autoconverge/workflow/autoconverge_report_constants/CLAUDE.md +0 -1
  345. package/skills/bugteam/CLAUDE.md +0 -1
  346. package/skills/bugteam/reference/CLAUDE.md +0 -1
  347. package/skills/bugteam/reference/obstacles/CLAUDE.md +0 -1
  348. package/skills/bugteam/scripts/CLAUDE.md +0 -1
  349. package/skills/bugteam/scripts/bugteam_scripts_constants/CLAUDE.md +0 -1
  350. package/skills/codex-review/CLAUDE.md +0 -1
  351. package/skills/codex-review/reference/CLAUDE.md +0 -1
  352. package/skills/codex-review/scripts/codex_review_scripts_constants/CLAUDE.md +0 -1
  353. package/skills/copilot-review/CLAUDE.md +0 -1
  354. package/skills/everything-search/CLAUDE.md +0 -1
  355. package/skills/fresh-branch/CLAUDE.md +0 -1
  356. package/skills/grok-spawn/CLAUDE.md +0 -1
  357. package/skills/grokify/evals/README.md +0 -72
  358. package/skills/grokify/evals/parse-payload.test.mjs +0 -171
  359. package/skills/grokify/evals/run-capability-evals.mjs +0 -545
  360. package/skills/pr-converge/CLAUDE.md +0 -1
  361. package/skills/pr-converge/pr_converge_skill_constants/CLAUDE.md +0 -1
  362. package/skills/pr-converge/reference/CLAUDE.md +0 -1
  363. package/skills/pr-converge/reference/obstacles/CLAUDE.md +0 -1
  364. package/skills/pr-converge/scripts/CLAUDE.md +0 -1
  365. package/skills/pr-converge/scripts/pr_converge_scripts_constants/CLAUDE.md +0 -1
  366. package/skills/pr-converge/workflows/CLAUDE.md +0 -1
  367. package/skills/rebase/CLAUDE.md +0 -1
  368. package/skills/recall/CLAUDE.md +0 -1
  369. package/skills/remember/CLAUDE.md +0 -1
  370. package/skills/session-log/CLAUDE.md +0 -1
  371. package/skills/session-tidy/CLAUDE.md +0 -1
  372. package/skills/skill-builder/CLAUDE.md +0 -1
  373. package/skills/skill-builder/references/CLAUDE.md +0 -1
  374. package/skills/skill-builder/templates/CLAUDE.md +0 -1
  375. package/skills/skill-builder/workflows/CLAUDE.md +0 -1
  376. package/skills/task-build/CLAUDE.md +0 -1
  377. package/skills/update/CLAUDE.md +0 -1
  378. /package/{agents → .agents/agents}/clean-coder.md +0 -0
  379. /package/{agents → .agents/agents}/code-quality-agent.md +0 -0
  380. /package/{agents → .agents/agents}/git-commit-crafter.md +0 -0
  381. /package/{agents → .agents/agents}/issue-tracker.md +0 -0
  382. /package/{agents → .agents/agents}/plan-packet-validator.md +0 -0
  383. /package/{agents → .agents/agents}/pr-description-writer.md +0 -0
  384. /package/{agents → .agents/agents}/session-advisor.md +0 -0
  385. /package/{agents → .agents/agents}/skill-writer-agent.md +0 -0
  386. /package/{skills → .agents/skills}/_shared/advisor/AGENTS.md +0 -0
  387. /package/{skills → .agents/skills}/_shared/advisor/advisor-protocol.md +0 -0
  388. /package/{skills → .agents/skills}/_shared/advisor/scripts/README.md +0 -0
  389. /package/{skills → .agents/skills}/_shared/end-of-run-gotcha-recommendations.md +0 -0
  390. /package/{skills → .agents/skills}/_shared/pr-loop/audit-contract.md +0 -0
  391. /package/{skills → .agents/skills}/_shared/pr-loop/audit-reply-template.md +0 -0
  392. /package/{skills → .agents/skills}/_shared/pr-loop/code-rules-gate.md +0 -0
  393. /package/{skills → .agents/skills}/_shared/pr-loop/fix-protocol.md +0 -0
  394. /package/{skills → .agents/skills}/_shared/pr-loop/gh-payloads.md +0 -0
  395. /package/{skills → .agents/skills}/_shared/pr-loop/post-audit-thread-contract.md +0 -0
  396. /package/{skills → .agents/skills}/_shared/pr-loop/precatch-rubric.md +0 -0
  397. /package/{skills → .agents/skills}/_shared/pr-loop/prompts/pr-consistency-audit.xml +0 -0
  398. /package/{skills → .agents/skills}/_shared/pr-loop/scripts/RUNTIME_SCRIPTS.md +0 -0
  399. /package/{skills → .agents/skills}/_shared/pr-loop/scripts/_cli_utils.py +0 -0
  400. /package/{skills → .agents/skills}/_shared/pr-loop/scripts/_path_resolver.py +0 -0
  401. /package/{skills → .agents/skills}/_shared/pr-loop/scripts/_xml_utils.py +0 -0
  402. /package/{skills → .agents/skills}/_shared/pr-loop/scripts/audit_category_schema.py +0 -0
  403. /package/{skills → .agents/skills}/_shared/pr-loop/scripts/build_audit_prompt.py +0 -0
  404. /package/{skills → .agents/skills}/_shared/pr-loop/scripts/build_converge_task_list.py +0 -0
  405. /package/{skills → .agents/skills}/_shared/pr-loop/scripts/build_fix_prompt.py +0 -0
  406. /package/{skills → .agents/skills}/_shared/pr-loop/scripts/init_loop_state.py +0 -0
  407. /package/{skills → .agents/skills}/_shared/pr-loop/scripts/preflight_worktree.py +0 -0
  408. /package/{skills → .agents/skills}/_shared/pr-loop/scripts/select_converge_pacer.py +0 -0
  409. /package/{skills → .agents/skills}/_shared/pr-loop/scripts/skills_pr_loop_constants/AGENTS.md +0 -0
  410. /package/{skills/pr-converge/pr_converge_skill_constants → .agents/skills/_shared/pr-loop/scripts/skills_pr_loop_constants}/__init__.py +0 -0
  411. /package/{skills → .agents/skills}/_shared/pr-loop/scripts/skills_pr_loop_constants/converge_task_list_constants.py +0 -0
  412. /package/{skills → .agents/skills}/_shared/pr-loop/scripts/skills_pr_loop_constants/handoff_constants.py +0 -0
  413. /package/{skills → .agents/skills}/_shared/pr-loop/scripts/skills_pr_loop_constants/pacer_constants.py +0 -0
  414. /package/{skills → .agents/skills}/_shared/pr-loop/scripts/skills_pr_loop_constants/path_resolver_constants.py +0 -0
  415. /package/{skills → .agents/skills}/_shared/pr-loop/scripts/skills_pr_loop_constants/preflight_constants.py +0 -0
  416. /package/{skills → .agents/skills}/_shared/pr-loop/scripts/teardown_worktrees.py +0 -0
  417. /package/{skills → .agents/skills}/_shared/pr-loop/scripts/test__path_resolver.py +0 -0
  418. /package/{skills → .agents/skills}/_shared/pr-loop/scripts/test_audit_category_schema.py +0 -0
  419. /package/{skills → .agents/skills}/_shared/pr-loop/scripts/test_build_converge_task_list.py +0 -0
  420. /package/{skills → .agents/skills}/_shared/pr-loop/scripts/test_build_fix_prompt.py +0 -0
  421. /package/{skills → .agents/skills}/_shared/pr-loop/scripts/test_init_loop_state.py +0 -0
  422. /package/{skills → .agents/skills}/_shared/pr-loop/scripts/test_portable_converge_driver.py +0 -0
  423. /package/{skills → .agents/skills}/_shared/pr-loop/scripts/test_preflight_worktree.py +0 -0
  424. /package/{skills → .agents/skills}/_shared/pr-loop/scripts/test_select_converge_pacer.py +0 -0
  425. /package/{skills → .agents/skills}/_shared/pr-loop/scripts/test_teardown_worktrees.py +0 -0
  426. /package/{skills → .agents/skills}/_shared/pr-loop/scripts/test_write_handoff.py +0 -0
  427. /package/{skills → .agents/skills}/_shared/pr-loop/scripts/write_handoff.py +0 -0
  428. /package/{skills → .agents/skills}/_shared/pr-loop/state-schema.md +0 -0
  429. /package/{skills → .agents/skills}/_shared/pr-loop/worker-spawn.md +0 -0
  430. /package/{skills → .agents/skills}/autoconverge/AGENTS.md +0 -0
  431. /package/{skills → .agents/skills}/autoconverge/SKILL.md +0 -0
  432. /package/{skills → .agents/skills}/autoconverge/reference/AGENTS.md +0 -0
  433. /package/{skills → .agents/skills}/autoconverge/reference/closing-report.md +0 -0
  434. /package/{skills → .agents/skills}/autoconverge/reference/copilot-findings.md +0 -0
  435. /package/{skills → .agents/skills}/autoconverge/reference/headless-safety.md +0 -0
  436. /package/{skills → .agents/skills}/autoconverge/reference/multi-pr.md +0 -0
  437. /package/{skills → .agents/skills}/autoconverge/reference/self-closing-loop.md +0 -0
  438. /package/{skills → .agents/skills}/autoconverge/test_portable_pacer_gate.py +0 -0
  439. /package/{skills → .agents/skills}/autoconverge/workflow/AGENTS.md +0 -0
  440. /package/{skills → .agents/skills}/autoconverge/workflow/aggregate_runs.py +0 -0
  441. /package/{skills → .agents/skills}/autoconverge/workflow/autoconverge_report_constants/AGENTS.md +0 -0
  442. /package/{skills/pr-converge/scripts/pr_converge_scripts_constants → .agents/skills/autoconverge/workflow/autoconverge_report_constants}/__init__.py +0 -0
  443. /package/{skills → .agents/skills}/autoconverge/workflow/autoconverge_report_constants/render_report_constants.py +0 -0
  444. /package/{skills → .agents/skills}/autoconverge/workflow/converge.clean-audit.test.mjs +0 -0
  445. /package/{skills → .agents/skills}/autoconverge/workflow/converge.copilot-gate.test.mjs +0 -0
  446. /package/{skills → .agents/skills}/autoconverge/workflow/converge.fix-progress.test.mjs +0 -0
  447. /package/{skills → .agents/skills}/autoconverge/workflow/converge.fix-recovery.test.mjs +0 -0
  448. /package/{skills → .agents/skills}/autoconverge/workflow/converge.merge-conflict.test.mjs +0 -0
  449. /package/{skills → .agents/skills}/autoconverge/workflow/converge.p2-advance.test.mjs +0 -0
  450. /package/{skills → .agents/skills}/autoconverge/workflow/converge.path-aware.test.mjs +0 -0
  451. /package/{skills → .agents/skills}/autoconverge/workflow/converge.precatch.test.mjs +0 -0
  452. /package/{skills → .agents/skills}/autoconverge/workflow/converge.run-input.test.mjs +0 -0
  453. /package/{skills → .agents/skills}/autoconverge/workflow/converge_multi.mjs +0 -0
  454. /package/{skills → .agents/skills}/autoconverge/workflow/converge_multi.run-input.test.mjs +0 -0
  455. /package/{skills → .agents/skills}/autoconverge/workflow/convergence_summary.py +0 -0
  456. /package/{skills → .agents/skills}/autoconverge/workflow/fixtures/wf_run/subagents/workflows/wf_881252e6-700/agent-a11d903476b803493.jsonl +0 -0
  457. /package/{skills → .agents/skills}/autoconverge/workflow/fixtures/wf_run/subagents/workflows/wf_881252e6-700/agent-a26213978adeef6fb.jsonl +0 -0
  458. /package/{skills → .agents/skills}/autoconverge/workflow/fixtures/wf_run/subagents/workflows/wf_881252e6-700/agent-a3def0d15ed9d9110.jsonl +0 -0
  459. /package/{skills → .agents/skills}/autoconverge/workflow/fixtures/wf_run/subagents/workflows/wf_881252e6-700/agent-a41f41b1b708ee3b7.jsonl +0 -0
  460. /package/{skills → .agents/skills}/autoconverge/workflow/fixtures/wf_run/subagents/workflows/wf_881252e6-700/agent-a758b880abecc3ff7.jsonl +0 -0
  461. /package/{skills → .agents/skills}/autoconverge/workflow/fixtures/wf_run/subagents/workflows/wf_881252e6-700/agent-a8897b89656b1bd16.jsonl +0 -0
  462. /package/{skills → .agents/skills}/autoconverge/workflow/fixtures/wf_run/subagents/workflows/wf_881252e6-700/agent-ab1c2d3e4f5a6b7c8.jsonl +0 -0
  463. /package/{skills → .agents/skills}/autoconverge/workflow/fixtures/wf_run/subagents/workflows/wf_881252e6-700/agent-abd463d744a1437bc.jsonl +0 -0
  464. /package/{skills → .agents/skills}/autoconverge/workflow/fixtures/wf_run/subagents/workflows/wf_881252e6-700/agent-ad19d027ae8ee1816.jsonl +0 -0
  465. /package/{skills → .agents/skills}/autoconverge/workflow/fixtures/wf_run/workflows/wf_881252e6-700.json +0 -0
  466. /package/{skills → .agents/skills}/autoconverge/workflow/render_report.py +0 -0
  467. /package/{skills → .agents/skills}/autoconverge/workflow/test_aggregate_runs.py +0 -0
  468. /package/{skills → .agents/skills}/autoconverge/workflow/test_convergence_summary.py +0 -0
  469. /package/{skills → .agents/skills}/autoconverge/workflow/test_render_report.py +0 -0
  470. /package/{skills → .agents/skills}/e-code-review/SKILL.md +0 -0
  471. /package/{skills → .agents/skills}/e-code-review/reference/fix.md +0 -0
  472. /package/{skills → .agents/skills}/e-code-review/reference/loop.md +0 -0
  473. /package/{skills → .agents/skills}/e-code-review/reference/low.md +0 -0
  474. /package/{skills → .agents/skills}/e-code-review/reference/medium.md +0 -0
  475. /package/{skills → .agents/skills}/e-code-review/reference/runner-selection.md +0 -0
  476. /package/{skills → .agents/skills}/e-code-review/reference/xhigh.md +0 -0
  477. /package/{skills → .agents/skills}/e-code-review/scripts/config/e_code_review_effort_constants/__init__.py +0 -0
  478. /package/{skills → .agents/skills}/e-code-review/scripts/config/e_code_review_effort_constants/effort_constants.py +0 -0
  479. /package/{skills → .agents/skills}/e-code-review/scripts/e_code_review_scripts_constants/__init__.py +0 -0
  480. /package/{skills → .agents/skills}/e-code-review/scripts/e_code_review_scripts_constants/finding_pipeline_constants.py +0 -0
  481. /package/{skills → .agents/skills}/e-code-review/scripts/e_code_review_scripts_constants/grok_code_review_constants.py +0 -0
  482. /package/{skills → .agents/skills}/e-code-review/scripts/effort_defaults_evidence.json +0 -0
  483. /package/{skills → .agents/skills}/e-code-review/scripts/effort_evaluation.py +0 -0
  484. /package/{skills → .agents/skills}/e-code-review/scripts/finding_pipeline.py +0 -0
  485. /package/{skills → .agents/skills}/e-code-review/scripts/fixtures/demanding.json +0 -0
  486. /package/{skills → .agents/skills}/e-code-review/scripts/fixtures/easy.json +0 -0
  487. /package/{skills → .agents/skills}/e-code-review/scripts/fixtures/medium.json +0 -0
  488. /package/{skills → .agents/skills}/e-code-review/scripts/grok_code_review.py +0 -0
  489. /package/{skills → .agents/skills}/e-code-review/scripts/test_effort_evaluation.py +0 -0
  490. /package/{skills → .agents/skills}/e-code-review/scripts/test_finding_pipeline.py +0 -0
  491. /package/{skills → .agents/skills}/e-code-review/scripts/test_grok_code_review.py +0 -0
  492. /package/{skills → .agents/skills}/e-simplify/SKILL.md +0 -0
  493. /package/{skills → .agents/skills}/everything-search/AGENTS.md +0 -0
  494. /package/{skills → .agents/skills}/everything-search/SKILL.md +0 -0
  495. /package/{skills → .agents/skills}/fresh-branch/AGENTS.md +0 -0
  496. /package/{skills → .agents/skills}/fresh-branch/SKILL.md +0 -0
  497. /package/{skills → .agents/skills}/fresh-branch/scripts/create_fresh_branch.py +0 -0
  498. /package/{skills → .agents/skills}/fresh-branch/scripts/fresh_branch_git_commands.py +0 -0
  499. /package/{skills → .agents/skills}/fresh-branch/scripts/fresh_branch_scripts_constants/__init__.py +0 -0
  500. /package/{skills → .agents/skills}/fresh-branch/scripts/fresh_branch_scripts_constants/fresh_branch_cli_constants.py +0 -0
  501. /package/{skills → .agents/skills}/fresh-branch/scripts/pytest.ini +0 -0
  502. /package/{skills → .agents/skills}/fresh-branch/scripts/test_fresh_branch_git_commands.py +0 -0
  503. /package/{skills → .agents/skills}/grok-spawn/AGENTS.md +0 -0
  504. /package/{skills → .agents/skills}/grok-spawn/SKILL.md +0 -0
  505. /package/{skills → .agents/skills}/grok-spawn/reference/flag-profiles.md +0 -0
  506. /package/{skills → .agents/skills}/grok-spawn/reference/worker-briefs.md +0 -0
  507. /package/{skills → .agents/skills}/issue-tracker/SKILL.md +0 -0
  508. /package/{skills → .agents/skills}/issue-tracker/reference/epic-and-sub-issue-model.md +0 -0
  509. /package/{skills → .agents/skills}/issue-tracker/reference/handoff-schema.md +0 -0
  510. /package/{skills → .agents/skills}/issue-tracker/reference/operation-matrix.md +0 -0
  511. /package/{skills → .agents/skills}/orchestrator/SKILL.md +0 -0
  512. /package/{skills → .agents/skills}/orchestrator/scripts/status_gate.py +0 -0
  513. /package/{skills → .agents/skills}/orchestrator/scripts/status_gate_constants/__init__.py +0 -0
  514. /package/{skills → .agents/skills}/orchestrator/scripts/status_gate_constants/config/__init__.py +0 -0
  515. /package/{skills → .agents/skills}/orchestrator/scripts/status_gate_constants/config/constants.py +0 -0
  516. /package/{skills → .agents/skills}/orchestrator/scripts/test_status_gate.py +0 -0
  517. /package/{skills → .agents/skills}/orchestrator-refresh/SKILL.md +0 -0
  518. /package/{skills → .agents/skills}/privacy-hygiene/SKILL.md +0 -0
  519. /package/{skills → .agents/skills}/privacy-hygiene/reference/sweep-procedure.md +0 -0
  520. /package/{skills → .agents/skills}/prototype/SKILL.md +0 -0
  521. /package/{skills → .agents/skills}/prototype/scripts/build_sandbox_settings.py +0 -0
  522. /package/{skills → .agents/skills}/prototype/scripts/conftest.py +0 -0
  523. /package/{skills → .agents/skills}/prototype/scripts/launch_sandbox.py +0 -0
  524. /package/{skills → .agents/skills}/prototype/scripts/probe_sandbox_safety.py +0 -0
  525. /package/{skills → .agents/skills}/prototype/scripts/prototype_scripts_constants/__init__.py +0 -0
  526. /package/{skills → .agents/skills}/prototype/scripts/prototype_scripts_constants/config/__init__.py +0 -0
  527. /package/{skills → .agents/skills}/prototype/scripts/prototype_scripts_constants/config/build_sandbox_settings_constants.py +0 -0
  528. /package/{skills → .agents/skills}/prototype/scripts/prototype_scripts_constants/config/launch_sandbox_constants.py +0 -0
  529. /package/{skills → .agents/skills}/prototype/scripts/prototype_scripts_constants/config/probe_sandbox_safety_constants.py +0 -0
  530. /package/{skills → .agents/skills}/prototype/scripts/prototype_scripts_constants/config/prototype_common_constants.py +0 -0
  531. /package/{skills → .agents/skills}/prototype/scripts/test_launch_sandbox.py +0 -0
  532. /package/{skills → .agents/skills}/prototype/workflows/sandbox.md +0 -0
  533. /package/{skills → .agents/skills}/rebase/AGENTS.md +0 -0
  534. /package/{skills → .agents/skills}/rebase/SKILL.md +0 -0
  535. /package/{skills → .agents/skills}/session-log/AGENTS.md +0 -0
  536. /package/{skills → .agents/skills}/session-log/templates/frontmatter.md +0 -0
  537. /package/{skills → .agents/skills}/session-tidy/AGENTS.md +0 -0
  538. /package/{skills → .agents/skills}/session-tidy/SKILL.md +0 -0
  539. /package/{skills → .agents/skills}/skill-builder/AGENTS.md +0 -0
  540. /package/{skills → .agents/skills}/skill-builder/SKILL.md +0 -0
  541. /package/{skills → .agents/skills}/skill-builder/references/AGENTS.md +0 -0
  542. /package/{skills → .agents/skills}/skill-builder/references/delegation-map.md +0 -0
  543. /package/{skills → .agents/skills}/skill-builder/references/description-field.md +0 -0
  544. /package/{skills → .agents/skills}/skill-builder/references/progressive-disclosure.md +0 -0
  545. /package/{skills → .agents/skills}/skill-builder/references/self-audit-checklist.md +0 -0
  546. /package/{skills → .agents/skills}/skill-builder/references/skill-modularity.md +0 -0
  547. /package/{skills → .agents/skills}/skill-builder/references/skill-types.md +0 -0
  548. /package/{skills → .agents/skills}/skill-builder/references/thariq-x-post-skills.json +0 -0
  549. /package/{skills → .agents/skills}/skill-builder/templates/AGENTS.md +0 -0
  550. /package/{skills → .agents/skills}/skill-builder/templates/gap-analysis.md +0 -0
  551. /package/{skills → .agents/skills}/skill-builder/workflows/AGENTS.md +0 -0
  552. /package/{skills → .agents/skills}/skill-builder/workflows/improve-skill.md +0 -0
  553. /package/{skills → .agents/skills}/skill-builder/workflows/new-skill.md +0 -0
  554. /package/{skills → .agents/skills}/skill-builder/workflows/polish-skill.md +0 -0
  555. /package/{skills → .agents/skills}/small-cl/SKILL.md +0 -0
  556. /package/{skills → .agents/skills}/task-build/AGENTS.md +0 -0
  557. /package/{skills → .agents/skills}/task-build/SKILL.md +0 -0
  558. /package/{skills → .agents/skills}/task-build/reference/tool-routing.md +0 -0
  559. /package/{skills → .agents/skills}/team-advisor/SKILL.md +0 -0
  560. /package/{skills → .agents/skills}/team-advisor/reference/advisor-docs-review.md +0 -0
  561. /package/{skills → .agents/skills}/update/AGENTS.md +0 -0
  562. /package/{skills → .agents/skills}/update/SKILL.md +0 -0
  563. /package/{skills → .agents/skills}/usage-pause/SKILL.md +0 -0
  564. /package/{skills → .agents/skills}/usage-pause/scripts/resolve_usage_window.py +0 -0
  565. /package/{skills → .agents/skills}/usage-pause/scripts/test_resolve_usage_window.py +0 -0
  566. /package/{skills → .agents/skills}/usage-pause/scripts/usage_pause_constants/__init__.py +0 -0
  567. /package/{skills → .agents/skills}/usage-pause/scripts/usage_pause_constants/resolve_usage_window_constants.py +0 -0
  568. /package/{skills → .agents/skills-archived}/anthropic-plan/SKILL.md +0 -0
  569. /package/{skills → .agents/skills-archived}/anthropic-plan/scripts/AGENTS.md +0 -0
  570. /package/{skills → .agents/skills-archived}/anthropic-plan/scripts/anthropic_plan_scripts_constants/AGENTS.md +0 -0
  571. /package/{skills/_shared/pr-loop/scripts/skills_pr_loop_constants → .agents/skills-archived/anthropic-plan/scripts/anthropic_plan_scripts_constants}/__init__.py +0 -0
  572. /package/{skills → .agents/skills-archived}/anthropic-plan/scripts/anthropic_plan_scripts_constants/validate_packet_constants.py +0 -0
  573. /package/{skills → .agents/skills-archived}/anthropic-plan/scripts/test_validate_packet.py +0 -0
  574. /package/{skills → .agents/skills-archived}/anthropic-plan/scripts/validate_packet.py +0 -0
  575. /package/{skills → .agents/skills-archived}/anthropic-plan/templates/AGENTS.md +0 -0
  576. /package/{skills → .agents/skills-archived}/anthropic-plan/templates/README.md +0 -0
  577. /package/{skills → .agents/skills-archived}/anthropic-plan/templates/build-prompt.md +0 -0
  578. /package/{skills → .agents/skills-archived}/anthropic-plan/templates/reuse-audit.md +0 -0
  579. /package/{skills → .agents/skills-archived}/anthropic-plan/templates/source-map.md +0 -0
  580. /package/{skills → .agents/skills-archived}/anthropic-plan/templates/visual-plan.template.html +0 -0
  581. /package/{skills → .agents/skills-archived}/anthropic-plan/workflow/AGENTS.md +0 -0
  582. /package/{skills → .agents/skills-archived}/anthropic-plan/workflow/plan-packet.contract.test.mjs +0 -0
  583. /package/{skills → .agents/skills-archived}/anthropic-plan/workflow/plan-packet.mjs +0 -0
  584. /package/{skills → .agents/skills-archived}/auditing-claude-config/AGENTS.md +0 -0
  585. /package/{skills → .agents/skills-archived}/auditing-claude-config/SKILL.md +0 -0
  586. /package/{skills → .agents/skills-archived}/auditing-claude-config/reference/probe-hook.md +0 -0
  587. /package/{skills → .agents/skills-archived}/beat-sheet/SKILL.md +0 -0
  588. /package/{skills → .agents/skills-archived}/beat-sheet/reference/visual-beats.md +0 -0
  589. /package/{skills → .agents/skills-archived}/bugteam/AGENTS.md +0 -0
  590. /package/{skills → .agents/skills-archived}/bugteam/CONSTRAINTS.md +0 -0
  591. /package/{skills → .agents/skills-archived}/bugteam/EXAMPLES.md +0 -0
  592. /package/{skills → .agents/skills-archived}/bugteam/PROMPTS.md +0 -0
  593. /package/{skills → .agents/skills-archived}/bugteam/SKILL.md +0 -0
  594. /package/{skills → .agents/skills-archived}/bugteam/reference/AGENTS.md +0 -0
  595. /package/{skills → .agents/skills-archived}/bugteam/reference/README.md +0 -0
  596. /package/{skills → .agents/skills-archived}/bugteam/reference/audit-and-teammates.md +0 -0
  597. /package/{skills → .agents/skills-archived}/bugteam/reference/copilot-gap-analysis.md +0 -0
  598. /package/{skills → .agents/skills-archived}/bugteam/reference/design-rationale.md +0 -0
  599. /package/{skills → .agents/skills-archived}/bugteam/reference/github-pr-reviews.md +0 -0
  600. /package/{skills → .agents/skills-archived}/bugteam/reference/obstacles/AGENTS.md +0 -0
  601. /package/{skills → .agents/skills-archived}/bugteam/reference/obstacles/audit-assign-ids.md +0 -0
  602. /package/{skills → .agents/skills-archived}/bugteam/reference/obstacles/audit-capture-excerpts.md +0 -0
  603. /package/{skills → .agents/skills-archived}/bugteam/reference/obstacles/audit-walk-categories.md +0 -0
  604. /package/{skills → .agents/skills-archived}/bugteam/reference/obstacles/audit-write-xml.md +0 -0
  605. /package/{skills → .agents/skills-archived}/bugteam/reference/obstacles/fix-append-summary.md +0 -0
  606. /package/{skills → .agents/skills-archived}/bugteam/reference/obstacles/fix-apply-fixes.md +0 -0
  607. /package/{skills → .agents/skills-archived}/bugteam/reference/obstacles/fix-git-add-commit.md +0 -0
  608. /package/{skills → .agents/skills-archived}/bugteam/reference/obstacles/fix-git-push.md +0 -0
  609. /package/{skills → .agents/skills-archived}/bugteam/reference/obstacles/fix-post-reply.md +0 -0
  610. /package/{skills → .agents/skills-archived}/bugteam/reference/obstacles/fix-publish-summary.md +0 -0
  611. /package/{skills → .agents/skills-archived}/bugteam/reference/obstacles/fix-py-compile.md +0 -0
  612. /package/{skills → .agents/skills-archived}/bugteam/reference/obstacles/fix-read-files.md +0 -0
  613. /package/{skills → .agents/skills-archived}/bugteam/reference/obstacles/fix-resolve-thread.md +0 -0
  614. /package/{skills → .agents/skills-archived}/bugteam/reference/obstacles/fix-test-suite.md +0 -0
  615. /package/{skills → .agents/skills-archived}/bugteam/reference/obstacles/fix-violation-count.md +0 -0
  616. /package/{skills → .agents/skills-archived}/bugteam/reference/obstacles/fix-write-xml.md +0 -0
  617. /package/{skills → .agents/skills-archived}/bugteam/reference/team-setup.md +0 -0
  618. /package/{skills → .agents/skills-archived}/bugteam/scripts/AGENTS.md +0 -0
  619. /package/{skills → .agents/skills-archived}/bugteam/scripts/README.md +0 -0
  620. /package/{skills → .agents/skills-archived}/bugteam/scripts/bugteam_scripts_constants/AGENTS.md +0 -0
  621. /package/{skills/anthropic-plan/scripts/anthropic_plan_scripts_constants → .agents/skills-archived/bugteam/scripts/bugteam_scripts_constants}/__init__.py +0 -0
  622. /package/{skills → .agents/skills-archived}/bugteam/scripts/bugteam_scripts_constants/probe_code_rules_enforcer_check_constants.py +0 -0
  623. /package/{skills → .agents/skills-archived}/bugteam/scripts/bugteam_scripts_constants/reflow_skill_md_constants.py +0 -0
  624. /package/{skills → .agents/skills-archived}/bugteam/scripts/bugteam_scripts_constants/windows_safe_rmtree_constants.py +0 -0
  625. /package/{skills → .agents/skills-archived}/bugteam/scripts/probe_code_rules_enforcer_check.py +0 -0
  626. /package/{skills → .agents/skills-archived}/bugteam/scripts/test_bugteam_code_rules_gate.py +0 -0
  627. /package/{skills → .agents/skills-archived}/bugteam/scripts/test_bugteam_fix_hookspath.py +0 -0
  628. /package/{skills → .agents/skills-archived}/bugteam/scripts/test_bugteam_preflight.py +0 -0
  629. /package/{skills → .agents/skills-archived}/bugteam/scripts/test_probe_code_rules_enforcer_check.py +0 -0
  630. /package/{skills → .agents/skills-archived}/bugteam/scripts/test_windows_safe_rmtree.py +0 -0
  631. /package/{skills → .agents/skills-archived}/bugteam/scripts/windows_safe_rmtree.py +0 -0
  632. /package/{skills → .agents/skills-archived}/bugteam/sources.md +0 -0
  633. /package/{skills → .agents/skills-archived}/bugteam/test_skill_additions.py +0 -0
  634. /package/{skills → .agents/skills-archived}/closeout/SKILL.md +0 -0
  635. /package/{skills → .agents/skills-archived}/closeout/reference/handoff-prompt-template.md +0 -0
  636. /package/{skills → .agents/skills-archived}/closeout/reference/pii-redaction-checklist.md +0 -0
  637. /package/{skills → .agents/skills-archived}/codex-review/AGENTS.md +0 -0
  638. /package/{skills → .agents/skills-archived}/codex-review/SKILL.md +0 -0
  639. /package/{skills → .agents/skills-archived}/codex-review/reference/AGENTS.md +0 -0
  640. /package/{skills → .agents/skills-archived}/codex-review/reference/cli-contract.md +0 -0
  641. /package/{skills → .agents/skills-archived}/codex-review/reference/loop-integration.md +0 -0
  642. /package/{skills → .agents/skills-archived}/codex-review/scripts/codex_down_classifier.py +0 -0
  643. /package/{skills → .agents/skills-archived}/codex-review/scripts/codex_review_scripts_constants/AGENTS.md +0 -0
  644. /package/{skills → .agents/skills-archived}/codex-review/scripts/codex_review_scripts_constants/__init__.py +0 -0
  645. /package/{skills → .agents/skills-archived}/codex-review/scripts/codex_review_scripts_constants/classifier_constants.py +0 -0
  646. /package/{skills → .agents/skills-archived}/codex-review/scripts/codex_review_scripts_constants/codex_usage_probe_constants.py +0 -0
  647. /package/{skills → .agents/skills-archived}/codex-review/scripts/codex_review_scripts_constants/findings_constants.py +0 -0
  648. /package/{skills → .agents/skills-archived}/codex-review/scripts/codex_review_scripts_constants/run_constants.py +0 -0
  649. /package/{skills → .agents/skills-archived}/codex-review/scripts/fixtures/auth_failure_synthetic.txt +0 -0
  650. /package/{skills → .agents/skills-archived}/codex-review/scripts/fixtures/config_load_failure_v0.125.0.txt +0 -0
  651. /package/{skills → .agents/skills-archived}/codex-review/scripts/fixtures/freeform_findings_v0.144.3.txt +0 -0
  652. /package/{skills → .agents/skills-archived}/codex-review/scripts/fixtures/model_rejection_v0.125.0.jsonl +0 -0
  653. /package/{skills → .agents/skills-archived}/codex-review/scripts/fixtures/structured_findings.txt +0 -0
  654. /package/{skills → .agents/skills-archived}/codex-review/scripts/fixtures/success_stream_v0.144.3.jsonl +0 -0
  655. /package/{skills → .agents/skills-archived}/codex-review/scripts/fixtures/unknown_failure_synthetic.txt +0 -0
  656. /package/{skills → .agents/skills-archived}/codex-review/scripts/fixtures/usage_limit_synthetic.txt +0 -0
  657. /package/{skills → .agents/skills-archived}/codex-review/scripts/parse_codex_findings.py +0 -0
  658. /package/{skills → .agents/skills-archived}/codex-review/scripts/test_codex_down_classifier.py +0 -0
  659. /package/{skills → .agents/skills-archived}/codex-review/scripts/test_codex_usage_probe.py +0 -0
  660. /package/{skills → .agents/skills-archived}/codex-review/scripts/test_parse_codex_findings.py +0 -0
  661. /package/{skills → .agents/skills-archived}/codex-review/scripts/test_run_codex_review.py +0 -0
  662. /package/{skills → .agents/skills-archived}/comments/SKILL.md +0 -0
  663. /package/{skills → .agents/skills-archived}/condensing-instructions/SKILL.md +0 -0
  664. /package/{skills → .agents/skills-archived}/copilot-finding-triage/reference/tier-rubric.md +0 -0
  665. /package/{skills → .agents/skills-archived}/copilot-finding-triage/scripts/conftest.py +0 -0
  666. /package/{skills/autoconverge/workflow/autoconverge_report_constants → .agents/skills-archived/copilot-finding-triage/scripts/copilot_finding_triage_constants}/__init__.py +0 -0
  667. /package/{skills/bugteam/scripts/bugteam_scripts_constants → .agents/skills-archived/copilot-finding-triage/scripts/copilot_finding_triage_constants/config}/__init__.py +0 -0
  668. /package/{skills → .agents/skills-archived}/copilot-finding-triage/scripts/copilot_finding_triage_constants/config/notify_ntfy_constants.py +0 -0
  669. /package/{skills → .agents/skills-archived}/copilot-finding-triage/scripts/notify_ntfy.py +0 -0
  670. /package/{skills → .agents/skills-archived}/copilot-finding-triage/scripts/test_notify_ntfy.py +0 -0
  671. /package/{skills → .agents/skills-archived}/copilot-finding-triage/templates/notification.md +0 -0
  672. /package/{skills → .agents/skills-archived}/copilot-review/AGENTS.md +0 -0
  673. /package/{skills → .agents/skills-archived}/copilot-review/SKILL.md +0 -0
  674. /package/{skills → .agents/skills-archived}/copilot-review/templates/subagent-prompt.md +0 -0
  675. /package/{skills → .agents/skills-archived}/descriptions/SKILL.md +0 -0
  676. /package/{skills → .agents/skills-archived}/emergencies/SKILL.md +0 -0
  677. /package/{skills → .agents/skills-archived}/grokify/SKILL.md +0 -0
  678. /package/{skills → .agents/skills-archived}/grokify/capability-claims.test.mjs +0 -0
  679. /package/{skills → .agents/skills-archived}/grokify/templates/handoff-template.md +0 -0
  680. /package/{skills → .agents/skills-archived}/plan-to-pr/SKILL.md +0 -0
  681. /package/{skills → .agents/skills-archived}/plan-to-pr/reference/final-validation-tasks.md +0 -0
  682. /package/{skills → .agents/skills-archived}/plan-to-pr/reference/model-routing.md +0 -0
  683. /package/{skills → .agents/skills-archived}/plan-to-pr/reference/packet-contract.md +0 -0
  684. /package/{skills → .agents/skills-archived}/plan-to-pr/reference/packet-schema.json +0 -0
  685. /package/{skills → .agents/skills-archived}/plan-to-pr/reference/process-inventory.md +0 -0
  686. /package/{skills → .agents/skills-archived}/plan-to-pr/reference/review-loop.md +0 -0
  687. /package/{skills → .agents/skills-archived}/plan-to-pr/reference/run-record.schema.json +0 -0
  688. /package/{skills → .agents/skills-archived}/plan-to-pr/reference/self-audit-tasks.md +0 -0
  689. /package/{skills → .agents/skills-archived}/plan-to-pr/reference/task-seeds.md +0 -0
  690. /package/{skills → .agents/skills-archived}/plan-to-pr/reference/task-ticket.md +0 -0
  691. /package/{skills → .agents/skills-archived}/plan-to-pr/scripts/config/__init__.py +0 -0
  692. /package/{skills → .agents/skills-archived}/plan-to-pr/scripts/config/constants.py +0 -0
  693. /package/{skills → .agents/skills-archived}/plan-to-pr/scripts/create_packet.py +0 -0
  694. /package/{skills → .agents/skills-archived}/plan-to-pr/scripts/load_skill_constants.py +0 -0
  695. /package/{skills → .agents/skills-archived}/plan-to-pr/scripts/test_create_packet.py +0 -0
  696. /package/{skills → .agents/skills-archived}/plan-to-pr/scripts/test_validate_packet.py +0 -0
  697. /package/{skills → .agents/skills-archived}/plan-to-pr/scripts/test_validate_protocol.py +0 -0
  698. /package/{skills → .agents/skills-archived}/plan-to-pr/scripts/test_validate_run.py +0 -0
  699. /package/{skills → .agents/skills-archived}/plan-to-pr/scripts/validate_packet.py +0 -0
  700. /package/{skills → .agents/skills-archived}/plan-to-pr/scripts/validate_protocol.py +0 -0
  701. /package/{skills → .agents/skills-archived}/plan-to-pr/scripts/validate_run.py +0 -0
  702. /package/{skills → .agents/skills-archived}/plan-to-pr/test_skill_contract.py +0 -0
  703. /package/{skills → .agents/skills-archived}/plan-to-pr/test_task_ticket_contract.py +0 -0
  704. /package/{skills → .agents/skills-archived}/pr-converge/AGENTS.md +0 -0
  705. /package/{skills/copilot-finding-triage/scripts/copilot_finding_triage_constants → .agents/skills-archived/pr-converge/pr_converge_skill_constants}/__init__.py +0 -0
  706. /package/{skills → .agents/skills-archived}/pr-converge/reference/AGENTS.md +0 -0
  707. /package/{skills → .agents/skills-archived}/pr-converge/reference/convergence-gates.md +0 -0
  708. /package/{skills → .agents/skills-archived}/pr-converge/reference/examples.md +0 -0
  709. /package/{skills → .agents/skills-archived}/pr-converge/reference/fix-protocol.md +0 -0
  710. /package/{skills → .agents/skills-archived}/pr-converge/reference/ground-rules.md +0 -0
  711. /package/{skills → .agents/skills-archived}/pr-converge/reference/obstacles/AGENTS.md +0 -0
  712. /package/{skills → .agents/skills-archived}/pr-converge/reference/obstacles/fix-post-replies.md +0 -0
  713. /package/{skills → .agents/skills-archived}/pr-converge/reference/obstacles/fix-publish-summary.md +0 -0
  714. /package/{skills → .agents/skills-archived}/pr-converge/reference/obstacles/fix-push.md +0 -0
  715. /package/{skills → .agents/skills-archived}/pr-converge/reference/obstacles/fix-read-filelines.md +0 -0
  716. /package/{skills → .agents/skills-archived}/pr-converge/reference/obstacles/fix-reset-state.md +0 -0
  717. /package/{skills → .agents/skills-archived}/pr-converge/reference/obstacles/fix-resolve-threads.md +0 -0
  718. /package/{skills → .agents/skills-archived}/pr-converge/reference/obstacles/fix-spawn-clean-coder.md +0 -0
  719. /package/{skills → .agents/skills-archived}/pr-converge/reference/obstacles/fix-stage-commit.md +0 -0
  720. /package/{skills → .agents/skills-archived}/pr-converge/reference/obstacles/fix-trigger-bugbot.md +0 -0
  721. /package/{skills → .agents/skills-archived}/pr-converge/reference/obstacles/fix-write-test.md +0 -0
  722. /package/{skills → .agents/skills-archived}/pr-converge/reference/progress-checklist.md +0 -0
  723. /package/{skills → .agents/skills-archived}/pr-converge/reference/state-schema.md +0 -0
  724. /package/{skills → .agents/skills-archived}/pr-converge/reference/stop-conditions.md +0 -0
  725. /package/{skills → .agents/skills-archived}/pr-converge/scripts/AGENTS.md +0 -0
  726. /package/{skills → .agents/skills-archived}/pr-converge/scripts/README.md +0 -0
  727. /package/{skills → .agents/skills-archived}/pr-converge/scripts/caller-window-pid.ps1 +0 -0
  728. /package/{skills → .agents/skills-archived}/pr-converge/scripts/check_bugbot_ci.py +0 -0
  729. /package/{skills → .agents/skills-archived}/pr-converge/scripts/check_convergence.py +0 -0
  730. /package/{skills → .agents/skills-archived}/pr-converge/scripts/check_convergence_availability.py +0 -0
  731. /package/{skills → .agents/skills-archived}/pr-converge/scripts/check_convergence_gates.py +0 -0
  732. /package/{skills → .agents/skills-archived}/pr-converge/scripts/check_convergence_thread_gates.py +0 -0
  733. /package/{skills → .agents/skills-archived}/pr-converge/scripts/check_pending_reviews.py +0 -0
  734. /package/{skills → .agents/skills-archived}/pr-converge/scripts/conftest.py +0 -0
  735. /package/{skills → .agents/skills-archived}/pr-converge/scripts/cursor-agents-continue-caller.cmd +0 -0
  736. /package/{skills → .agents/skills-archived}/pr-converge/scripts/cursor-agents-continue-stop-others.ps1 +0 -0
  737. /package/{skills → .agents/skills-archived}/pr-converge/scripts/cursor-agents-continue.ahk +0 -0
  738. /package/{skills → .agents/skills-archived}/pr-converge/scripts/cursor-agents-continue.cmd +0 -0
  739. /package/{skills → .agents/skills-archived}/pr-converge/scripts/fetch_copilot_reviews.py +0 -0
  740. /package/{skills → .agents/skills-archived}/pr-converge/scripts/post_fix_reply.py +0 -0
  741. /package/{skills → .agents/skills-archived}/pr-converge/scripts/pr_converge_scripts_constants/AGENTS.md +0 -0
  742. /package/{skills/copilot-finding-triage/scripts/copilot_finding_triage_constants/config → .agents/skills-archived/pr-converge/scripts/pr_converge_scripts_constants}/__init__.py +0 -0
  743. /package/{skills → .agents/skills-archived}/pr-converge/scripts/pr_converge_scripts_constants/convergence_gate_constants.py +0 -0
  744. /package/{skills → .agents/skills-archived}/pr-converge/scripts/pr_converge_scripts_constants/pr_converge_constants.py +0 -0
  745. /package/{skills → .agents/skills-archived}/pr-converge/scripts/pr_converge_scripts_constants/reflow_skill_md_constants.py +0 -0
  746. /package/{skills → .agents/skills-archived}/pr-converge/scripts/test_check_bugbot_ci.py +0 -0
  747. /package/{skills → .agents/skills-archived}/pr-converge/scripts/test_check_convergence.py +0 -0
  748. /package/{skills → .agents/skills-archived}/pr-converge/scripts/test_check_convergence_availability.py +0 -0
  749. /package/{skills → .agents/skills-archived}/pr-converge/scripts/test_check_convergence_codex.py +0 -0
  750. /package/{skills → .agents/skills-archived}/pr-converge/scripts/test_check_convergence_contract.py +0 -0
  751. /package/{skills → .agents/skills-archived}/pr-converge/scripts/test_check_convergence_fixture.py +0 -0
  752. /package/{skills → .agents/skills-archived}/pr-converge/scripts/test_check_convergence_gates.py +0 -0
  753. /package/{skills → .agents/skills-archived}/pr-converge/scripts/test_check_convergence_thread_gates.py +0 -0
  754. /package/{skills → .agents/skills-archived}/pr-converge/scripts/test_cursor_agents_continue.py +0 -0
  755. /package/{skills → .agents/skills-archived}/pr-converge/scripts/test_reflow_skill_md.py +0 -0
  756. /package/{skills → .agents/skills-archived}/pr-converge/test_step5_host_branch.py +0 -0
  757. /package/{skills → .agents/skills-archived}/pr-converge/workflows/AGENTS.md +0 -0
  758. /package/{skills → .agents/skills-archived}/pr-fix-protocol/SKILL.md +0 -0
  759. /package/{skills → .agents/skills-archived}/pr-loop-cloud-transport/SKILL.md +0 -0
  760. /package/{skills → .agents/skills-archived}/pr-loop-cloud-transport/reference/identity-and-hooks.md +0 -0
  761. /package/{skills → .agents/skills-archived}/pr-loop-cloud-transport/reference/substitution-matrix.md +0 -0
  762. /package/{skills → .agents/skills-archived}/pr-loop-lifecycle/SKILL.md +0 -0
  763. /package/{skills → .agents/skills-archived}/pr-loop-lifecycle/reference/teardown-publish-permissions.md +0 -0
  764. /package/{skills → .agents/skills-archived}/recall/AGENTS.md +0 -0
  765. /package/{skills → .agents/skills-archived}/recall/SKILL.md +0 -0
  766. /package/{skills → .agents/skills-archived}/release-notes-html/SKILL.md +0 -0
  767. /package/{skills → .agents/skills-archived}/remember/AGENTS.md +0 -0
  768. /package/{skills → .agents/skills-archived}/remember/SKILL.md +0 -0
  769. /package/{skills → .agents/skills-archived}/reviewer-gates/SKILL.md +0 -0
  770. /package/{skills → .agents/skills-archived}/reviews/SKILL.md +0 -0
  771. /package/{skills → .agents/skills-archived}/show/SKILL.md +0 -0
  772. /package/{skills → .agents/skills-archived}/show/references/accessibility.md +0 -0
  773. /package/{skills → .agents/skills-archived}/show/references/art.md +0 -0
  774. /package/{skills → .agents/skills-archived}/show/references/charts.md +0 -0
  775. /package/{skills → .agents/skills-archived}/show/references/core-design.md +0 -0
  776. /package/{skills → .agents/skills-archived}/show/references/erds.md +0 -0
  777. /package/{skills → .agents/skills-archived}/show/references/flowcharts.md +0 -0
  778. /package/{skills → .agents/skills-archived}/show/references/host-and-html.md +0 -0
  779. /package/{skills → .agents/skills-archived}/show/references/illustrative-diagrams.md +0 -0
  780. /package/{skills → .agents/skills-archived}/show/references/interaction.md +0 -0
  781. /package/{skills → .agents/skills-archived}/show/references/mockups.md +0 -0
  782. /package/{skills → .agents/skills-archived}/show/references/quality-gates.md +0 -0
  783. /package/{skills → .agents/skills-archived}/show/references/structural-diagrams.md +0 -0
  784. /package/{skills → .agents/skills-archived}/show/references/subject-inventory.md +0 -0
  785. /package/{skills → .agents/skills-archived}/show/references/svg-contract.md +0 -0
  786. /package/{skills → .agents/skills-archived}/show/routing.yaml +0 -0
  787. /package/{skills → .agents/skills-archived}/show/samples/pr1262-v2.svg +0 -0
  788. /package/{skills → .agents/skills-archived}/show/scripts/README.md +0 -0
  789. /package/{skills → .agents/skills-archived}/show/scripts/validate-artifact.py +0 -0
  790. /package/{skills → .agents/skills-archived}/show/scripts/validate-package.py +0 -0
  791. /package/{skills → .agents/skills-archived}/show/templates/html-widget.html +0 -0
  792. /package/{skills → .agents/skills-archived}/show/templates/svg-base.svg +0 -0
  793. /package/{skills → .agents/skills-archived}/show/tests/fixtures/css-var.svg +0 -0
  794. /package/{skills → .agents/skills-archived}/show/tests/fixtures/dead-ref.svg +0 -0
  795. /package/{skills → .agents/skills-archived}/show/tests/fixtures/filled-glyph.svg +0 -0
  796. /package/{skills → .agents/skills-archived}/show/tests/fixtures/inherited-fill.svg +0 -0
  797. /package/{skills → .agents/skills-archived}/show/tests/fixtures/invalid.svg +0 -0
  798. /package/{skills → .agents/skills-archived}/show/tests/fixtures/large-canvas.svg +0 -0
  799. /package/{skills → .agents/skills-archived}/show/tests/fixtures/unfilled-connector.svg +0 -0
  800. /package/{skills → .agents/skills-archived}/show/tests/fixtures/valid.html +0 -0
  801. /package/{skills → .agents/skills-archived}/show/tests/test_validate-artifact.py +0 -0
  802. /package/{skills → .agents/skills-archived}/show/tests/test_validators.py +0 -0
  803. /package/{skills → .agents/skills-archived}/show/workflows/create-visual.md +0 -0
  804. /package/{skills → .agents/skills-archived}/show/workflows/review-visual.md +0 -0
  805. /package/{skills → .agents/skills-archived}/split-pr/SKILL.md +0 -0
  806. /package/{skills → .agents/skills-archived}/split-pr/reference/path-layers.md +0 -0
  807. /package/{skills → .agents/skills-archived}/split-pr/reference/split-further-loop.md +0 -0
  808. /package/{skills → .agents/skills-archived}/split-pr/reference/splitting-principles.md +0 -0
  809. /package/{skills → .agents/skills-archived}/split-pr/scripts/analyze_pr.py +0 -0
  810. /package/{skills → .agents/skills-archived}/split-pr/scripts/categorize_files.py +0 -0
  811. /package/{skills → .agents/skills-archived}/split-pr/scripts/config/__init__.py +0 -0
  812. /package/{skills → .agents/skills-archived}/split-pr/scripts/config/dependency_constants.py +0 -0
  813. /package/{skills → .agents/skills-archived}/split-pr/scripts/config/git_operations_constants.py +0 -0
  814. /package/{skills → .agents/skills-archived}/split-pr/scripts/config/packing_constants.py +0 -0
  815. /package/{skills → .agents/skills-archived}/split-pr/scripts/config/plan_constants.py +0 -0
  816. /package/{skills → .agents/skills-archived}/split-pr/scripts/config/split_pr_constants.py +0 -0
  817. /package/{skills → .agents/skills-archived}/split-pr/scripts/execute_split_slices.py +0 -0
  818. /package/{skills → .agents/skills-archived}/split-pr/scripts/pack_files_into_slices.py +0 -0
  819. /package/{skills → .agents/skills-archived}/split-pr/scripts/split_pr_dependency_graph.py +0 -0
  820. /package/{skills → .agents/skills-archived}/split-pr/scripts/split_pr_git_operations.py +0 -0
  821. /package/{skills → .agents/skills-archived}/split-pr/scripts/split_pr_layer_order.py +0 -0
  822. /package/{skills → .agents/skills-archived}/split-pr/scripts/split_pr_paginate.py +0 -0
  823. /package/{skills → .agents/skills-archived}/split-pr/scripts/split_pr_process_runner.py +0 -0
  824. /package/{skills → .agents/skills-archived}/split-pr/scripts/split_pr_script_types.py +0 -0
  825. /package/{skills → .agents/skills-archived}/split-pr/scripts/split_pr_title.py +0 -0
  826. /package/{skills → .agents/skills-archived}/split-pr/scripts/test_analyze_pr.py +0 -0
  827. /package/{skills → .agents/skills-archived}/split-pr/scripts/test_categorize_files.py +0 -0
  828. /package/{skills → .agents/skills-archived}/split-pr/scripts/test_categorize_files_packing.py +0 -0
  829. /package/{skills → .agents/skills-archived}/split-pr/scripts/test_execute_split_slices.py +0 -0
  830. /package/{skills → .agents/skills-archived}/split-pr/scripts/test_split_pr_dependency_graph.py +0 -0
  831. /package/{skills → .agents/skills-archived}/split-pr/scripts/test_split_pr_git_operations.py +0 -0
  832. /package/{skills → .agents/skills-archived}/split-pr/scripts/test_split_pr_layer_order.py +0 -0
  833. /package/{skills → .agents/skills-archived}/split-pr/scripts/test_split_pr_paginate.py +0 -0
  834. /package/{skills → .agents/skills-archived}/split-pr/scripts/test_split_pr_script_types.py +0 -0
  835. /package/{skills → .agents/skills-archived}/split-pr/scripts/test_split_pr_title.py +0 -0
  836. /package/{skills → .agents/skills-archived}/split-pr/scripts/test_verify_dependency_graph.py +0 -0
  837. /package/{skills → .agents/skills-archived}/split-pr/scripts/test_verify_plan.py +0 -0
  838. /package/{skills → .agents/skills-archived}/split-pr/scripts/test_verify_plan_contract.py +0 -0
  839. /package/{skills → .agents/skills-archived}/split-pr/scripts/test_verify_plan_path_normalization.py +0 -0
  840. /package/{skills → .agents/skills-archived}/split-pr/scripts/verify_dependency_graph.py +0 -0
  841. /package/{skills → .agents/skills-archived}/split-pr/scripts/verify_plan.py +0 -0
@@ -0,0 +1,171 @@
1
+ import subprocess
2
+ from pathlib import Path
3
+
4
+ import pytest
5
+
6
+ from review_tier import build_generation, inventory_generation, router_state_directory, router_state_root, router_state_root_id
7
+
8
+
9
+ def test_generation_uses_live_git_surface(tmp_path: Path) -> None:
10
+ subprocess.run(["git", "init", "-q", "-b", "main"], cwd=tmp_path, check=True)
11
+ (tmp_path / "tracked.py").write_text("x = 1\n", encoding="utf-8")
12
+ subprocess.run(["git", "add", "tracked.py"], cwd=tmp_path, check=True)
13
+ subprocess.run(["git", "-c", "user.name=Test", "-c", "user.email=test@example.com", "commit", "-qm", "init"], cwd=tmp_path, check=True)
14
+ (tmp_path / "untracked.py").write_text("y = 2\n", encoding="utf-8")
15
+ inventory = inventory_generation(tmp_path)
16
+ assert "untracked.py" in inventory["untracked"]
17
+ card = build_generation(tmp_path, card_path=tmp_path / "card.json")
18
+ assert card["inventory_hash"] == inventory["inventory_hash"]
19
+
20
+
21
+ def test_router_state_root_id_is_stable_for_normalized_roots(tmp_path: Path) -> None:
22
+ (tmp_path / "data").mkdir()
23
+ (tmp_path / "data-link").symlink_to(tmp_path / "data", target_is_directory=True)
24
+ state_root = router_state_root(tmp_path, {"CLAUDE_PLUGIN_DATA": str(tmp_path / "data" / ".." / "data")})
25
+ symlink_root = router_state_root(tmp_path, {"CLAUDE_PLUGIN_DATA": str(tmp_path / "data-link")})
26
+ assert state_root == symlink_root
27
+ assert router_state_root_id(state_root) == router_state_root_id(symlink_root)
28
+
29
+
30
+ def test_router_state_directory_is_scoped_under_the_router_root(tmp_path: Path) -> None:
31
+ state_directory = router_state_directory(tmp_path)
32
+ custom_environment = {"CLAUDE_PLUGIN_DATA": str(tmp_path / "custom-data")}
33
+ custom_state_directory = router_state_directory(tmp_path, custom_environment)
34
+
35
+ assert state_directory.parent == router_state_root(tmp_path)
36
+ assert custom_state_directory == router_state_root(tmp_path, custom_environment) / state_directory.name
37
+ assert custom_state_directory != state_directory
38
+ assert len(state_directory.name) == 64
39
+
40
+
41
+ def test_generation_records_committed_and_working_domains_once(tmp_path: Path) -> None:
42
+ repository = tmp_path / "repository"
43
+ repository.mkdir()
44
+ subprocess.run(["git", "init", "-q", "-b", "main"], cwd=repository, check=True)
45
+ subprocess.run(["git", "config", "user.name", "Test"], cwd=repository, check=True)
46
+ subprocess.run(["git", "config", "user.email", "test@example.com"], cwd=repository, check=True)
47
+ tracked = repository / "packages" / "feature.py"
48
+ tracked.parent.mkdir()
49
+ tracked.write_text("one\n", encoding="utf-8")
50
+ subprocess.run(["git", "add", "."], cwd=repository, check=True)
51
+ subprocess.run(["git", "commit", "-qm", "initial"], cwd=repository, check=True)
52
+ initial_commit = subprocess.run(["git", "rev-parse", "HEAD"], cwd=repository, check=True, capture_output=True, text=True).stdout.strip()
53
+ tracked.write_text("one\nbase\n", encoding="utf-8")
54
+ subprocess.run(["git", "add", str(tracked)], cwd=repository, check=True)
55
+ subprocess.run(["git", "commit", "-qm", "feature"], cwd=repository, check=True)
56
+ tracked.write_text("one\ntwo\n", encoding="utf-8")
57
+ subprocess.run(["git", "add", str(tracked)], cwd=repository, check=True)
58
+ tracked.write_text("one\ntwo\nthree\n", encoding="utf-8")
59
+ (repository / "new.py").write_text("new\n", encoding="utf-8")
60
+ inventory = inventory_generation(repository, initial_commit)
61
+ records = {record["path"]: record["domains"] for record in inventory["files_by_domain"]}
62
+ assert records["packages/feature.py"] == ["committed", "staged", "unstaged"]
63
+ assert records["new.py"] == ["untracked"]
64
+ assert inventory["base_ref"] and inventory["merge_base"] and inventory["HEAD"]
65
+
66
+
67
+ @pytest.mark.parametrize("base_ref", ["missing", "HEAD~99"])
68
+ def test_invalid_base_writes_no_card(tmp_path: Path, base_ref: str) -> None:
69
+ repository = tmp_path / "repository"
70
+ repository.mkdir()
71
+ subprocess.run(["git", "init", "-q", "-b", "main"], cwd=repository, check=True)
72
+ (repository / "seed.txt").write_text("seed\n", encoding="utf-8")
73
+ subprocess.run(["git", "add", "seed.txt"], cwd=repository, check=True)
74
+ subprocess.run(["git", "-c", "user.name=Test", "-c", "user.email=test@example.com", "commit", "-qm", "initial"], cwd=repository, check=True)
75
+ with pytest.raises(ValueError, match="INVALID_BASE_REF"):
76
+ build_generation(repository, base_ref=base_ref, card_path=tmp_path / "card.json")
77
+ assert not (tmp_path / "card.json").exists()
78
+
79
+
80
+ def _git_repository(root: Path) -> None:
81
+ subprocess.run(["git", "init", "-q", "-b", "main"], cwd=root, check=True)
82
+ subprocess.run(["git", "config", "user.name", "Test"], cwd=root, check=True)
83
+ subprocess.run(["git", "config", "user.email", "test@example.com"], cwd=root, check=True)
84
+ (root / "seed.txt").write_text("seed\n", encoding="utf-8")
85
+ subprocess.run(["git", "add", "."], cwd=root, check=True)
86
+ subprocess.run(["git", "commit", "-qm", "initial"], cwd=root, check=True)
87
+
88
+
89
+ def test_diff_hash_changes_when_same_path_content_changes(tmp_path: Path) -> None:
90
+ _git_repository(tmp_path)
91
+ tracked_path = tmp_path / "seed.txt"
92
+ first_hash = inventory_generation(tmp_path)["diff_hash"]
93
+ tracked_path.write_text("changed\n", encoding="utf-8")
94
+ assert inventory_generation(tmp_path)["diff_hash"] != first_hash
95
+
96
+
97
+ def test_effective_lines_include_committed_staged_unstaged_and_untracked(tmp_path: Path) -> None:
98
+ _git_repository(tmp_path)
99
+ committed_path = tmp_path / "committed.txt"
100
+ committed_path.write_text("one\ntwo\n", encoding="utf-8")
101
+ subprocess.run(["git", "add", "."], cwd=tmp_path, check=True)
102
+ subprocess.run(["git", "commit", "-qm", "committed"], cwd=tmp_path, check=True)
103
+ staged_path = tmp_path / "staged.txt"
104
+ staged_path.write_text("one\ntwo\n", encoding="utf-8")
105
+ subprocess.run(["git", "add", str(staged_path)], cwd=tmp_path, check=True)
106
+ staged_path.write_text("one\ntwo\nthree\n", encoding="utf-8")
107
+ unstaged_path = tmp_path / "seed.txt"
108
+ unstaged_path.write_text("seed\nchanged\n", encoding="utf-8")
109
+ (tmp_path / "untracked.txt").write_text("one\ntwo\n", encoding="utf-8")
110
+ inventory = inventory_generation(tmp_path)
111
+ assert inventory["lines"] >= 6
112
+
113
+
114
+ def test_inventory_preserves_rename_prior_path_and_operations(tmp_path: Path) -> None:
115
+ _git_repository(tmp_path)
116
+ old_path = tmp_path / "old name.txt"
117
+ old_path.write_text("content\n", encoding="utf-8")
118
+ subprocess.run(["git", "add", "."], cwd=tmp_path, check=True)
119
+ subprocess.run(["git", "commit", "-qm", "rename source"], cwd=tmp_path, check=True)
120
+ new_path = tmp_path / "new name.txt"
121
+ old_path.rename(new_path)
122
+ subprocess.run(["git", "add", "-A"], cwd=tmp_path, check=True)
123
+ records = {record["path"]: record for record in inventory_generation(tmp_path)["files_by_domain"]}
124
+ assert records["new name.txt"]["prior_path"] == "old name.txt"
125
+ assert records["new name.txt"]["operation_by_domain"]["staged"] == "R"
126
+
127
+
128
+ def test_inventory_preserves_delete_binary_space_unicode_and_symlink_identity(tmp_path: Path) -> None:
129
+ _git_repository(tmp_path)
130
+ deleted = tmp_path / "deleted file.txt"
131
+ deleted.write_text("delete me\n", encoding="utf-8")
132
+ binary = tmp_path / "binary.bin"
133
+ binary.write_bytes(b"\0\xff")
134
+ unicode_path = tmp_path / "café.txt"
135
+ unicode_path.write_text("unicode\n", encoding="utf-8")
136
+ link = tmp_path / "link.txt"
137
+ link.symlink_to("seed.txt")
138
+ subprocess.run(["git", "add", "."], cwd=tmp_path, check=True)
139
+ subprocess.run(["git", "commit", "-qm", "surface"], cwd=tmp_path, check=True)
140
+ surface_commit = subprocess.run(["git", "rev-parse", "HEAD"], cwd=tmp_path, check=True, capture_output=True, text=True).stdout.strip()
141
+ deleted.unlink()
142
+ binary.write_bytes(b"\0\x00changed")
143
+ unicode_path.write_text("unicode changed\n", encoding="utf-8")
144
+ link.unlink()
145
+ link.symlink_to("café.txt")
146
+ subprocess.run(["git", "add", "-u"], cwd=tmp_path, check=True)
147
+ subprocess.run(["git", "add", "-A"], cwd=tmp_path, check=True)
148
+ records = {record["path"]: record for record in inventory_generation(tmp_path, surface_commit)["files_by_domain"]}
149
+ assert records["deleted file.txt"]["content_sha256"] != "0" * 64
150
+ assert records["binary.bin"]["binary"] is True
151
+ assert records["café.txt"]["path"] == "café.txt"
152
+ assert records["link.txt"]["content_sha256"]
153
+
154
+
155
+ def test_package_count_uses_distinct_monorepo_package_keys(tmp_path: Path) -> None:
156
+ _git_repository(tmp_path)
157
+ for path in ("packages/one/a.py", "packages/one/b.py", "apps/two/c.py", "root.py"):
158
+ target = tmp_path / path
159
+ target.parent.mkdir(parents=True, exist_ok=True)
160
+ target.write_text("x\n", encoding="utf-8")
161
+ assert inventory_generation(tmp_path)["packages"] == 3
162
+
163
+
164
+ def test_explicit_and_default_base_provenance_fields_are_exact(tmp_path: Path) -> None:
165
+ _git_repository(tmp_path)
166
+ default_inventory = inventory_generation(tmp_path)
167
+ explicit_inventory = inventory_generation(tmp_path, "HEAD")
168
+ assert default_inventory["base_source"] == "configured_fallback"
169
+ assert explicit_inventory["base_source"] == "explicit"
170
+ for field in ("base_ref", "base_source", "base_sha", "merge_base_sha", "head_sha"):
171
+ assert default_inventory[field]
@@ -0,0 +1,33 @@
1
+ from review_tier import build_decision, calculate_tier, canonical_json_hash, effective_tier, load_policy, policy_hash
2
+
3
+
4
+ def test_public_policy_functions_return_behavior() -> None:
5
+ tier_policy = load_policy()
6
+ assert policy_hash(tier_policy)
7
+ assert canonical_json_hash(tier_policy) == policy_hash(tier_policy)
8
+ decision = build_decision({}, "base", "head", ".", "digest", requested_override="T1")
9
+ assert decision["effective_tier"] == "T1"
10
+
11
+
12
+ def test_tier_boundaries_and_hard_trigger() -> None:
13
+ assert calculate_tier({"files": 0, "lines": 0, "packages": 0, "risk": 0}) == "T1"
14
+ assert calculate_tier({"files": 2}) == "T2"
15
+ assert calculate_tier({"files": 5}) == "T2"
16
+ assert calculate_tier({"hard_triggers": ["security"]}) == "T3"
17
+
18
+
19
+ def test_all_six_axes_accept_zero_one_two_boundaries() -> None:
20
+ axes = ("files", "lines", "packages", "risk", "public_api", "dependencies")
21
+ assert calculate_tier({axis: 0 for axis in axes}) == "T1"
22
+ assert calculate_tier({axis: 1 for axis in axes}) == "T3"
23
+ assert calculate_tier({axis: 2 for axis in axes}) == "T3"
24
+
25
+
26
+ def test_score_boundaries_keep_small_changes_below_t3() -> None:
27
+ assert calculate_tier({"files": 1, "lines": 1}) == "T2"
28
+ assert calculate_tier({"files": 2, "packages": 1, "risk": 1}) == "T3"
29
+
30
+
31
+ def test_upward_and_approved_downward_override() -> None:
32
+ assert effective_tier("T1", "T3") == "T3"
33
+ assert effective_tier("T3", "T1") == "T1"
@@ -0,0 +1,84 @@
1
+ ---
2
+ name: run-claude-dev-env
3
+ description: Build, install, run, and test the claude-dev-env installer. Use when asked to run claude-dev-env, install the Claude Code config into ~/.claude, drive the installer, smoke-test it against a sandbox, or run its test suite.
4
+ ---
5
+
6
+ `claude-dev-env` is the npm-distributed installer that copies this repo's rules, hooks, commands, and docs into `~/.claude/`, copies skills and agents into `~/.agents/`, publishes directory pointers at `~/.claude/skills` and `~/.claude/agents`, and merges its hook entries into `~/.claude/settings.json`. Its entry point is `bin/install.mjs`. Drive it with the smoke driver at `.claude/skills/run-claude-dev-env/driver.mjs`, which runs the installer against a throwaway sandbox home directory so a run never touches the real `~/.claude/` or `~/.agents/`.
7
+
8
+ All paths below are written from the `packages/claude-dev-env/` directory.
9
+
10
+ ## Prerequisites
11
+
12
+ The installer needs three tools on `PATH`:
13
+
14
+ - **Node.js 18+** — the installer is an ES module (verified on Node 22.17).
15
+ - **Python 3.8+** — the installer bakes a Python interpreter into every hook command and aborts if it finds none. On Windows it skips the Microsoft Store stub (verified `py -3` → Python 3.13.5).
16
+ - **git** — the installer reads `git status` to guard against installing from a conflicted source, and sets a global git hooks path.
17
+
18
+ ```bash
19
+ node --version
20
+ git --version
21
+ py -3 --version # POSIX: python3 --version
22
+ ```
23
+
24
+ On a fresh Ubuntu container the three come from `sudo apt-get install -y nodejs python3 git`.
25
+
26
+ ## Run (agent path) — the smoke driver
27
+
28
+ The driver is the handle to reach for first. It spawns the installer against a fresh temp home directory with `HOME`, `USERPROFILE`, and `GIT_CONFIG_GLOBAL` all redirected, runs the `--help` → install → `--uninstall` lifecycle, asserts the result of each step against the sandbox tree, then deletes the sandbox. It works the same on Windows and POSIX.
29
+
30
+ ```bash
31
+ node .claude/skills/run-claude-dev-env/driver.mjs
32
+ ```
33
+
34
+ Expected tail:
35
+
36
+ ```
37
+ 21/21 checks passed.
38
+ ALL CHECKS PASSED
39
+ ```
40
+
41
+ The driver proves a full install lands skills under `<sandbox>/.agents/skills` with a directory pointer at `<sandbox>/.claude/skills`, lands agents the same way, lands hook scripts, rules, the `CLAUDE.md` hub, a populated `settings.json`, and a tracking manifest, and that `--uninstall` removes every manifest-tracked file. The real `~/.claude/`, `~/.agents/`, and the real global git config stay untouched. Exit code is 0 only when all checks hold.
42
+
43
+ ## Run (human path) — install for real
44
+
45
+ These write into your real `~/.claude/` and set a global git hooks path. Run them only when you mean to install on this machine.
46
+
47
+ ```bash
48
+ node bin/install.mjs --help # usage only, no side effects
49
+ node bin/install.mjs # install every group
50
+ node bin/install.mjs --only core # install one or more named groups
51
+ node bin/install.mjs --update # remove manifest-tracked files, then reinstall
52
+ node bin/install.mjs --uninstall # remove every installed file
53
+ ```
54
+
55
+ Groups: `core`, `journal`, and the discovered `prompt-generator` dependency group. Run `node bin/install.mjs --help` for the live list. The published package runs the same entry point as `npx claude-dev-env`.
56
+
57
+ ## Test
58
+
59
+ ```bash
60
+ npm test
61
+ ```
62
+
63
+ Runs `node --test` over `bin/*.test.mjs` and `.agents/skills/**/*.test.mjs` with Node's built-in test runner — no extra dependency, no network. Expected: `# fail 0`, with the pass count growing as tests are added.
64
+
65
+ ## Gotchas
66
+
67
+ - **The install target is `os.homedir()/.claude` with no override flag** (the `CLAUDE_HOME` constant in `bin/install.mjs`). To drive the installer without overwriting your real config, redirect the home directory: set `USERPROFILE` (Windows) and `HOME` (POSIX) to a temp dir. The driver does this for you.
68
+ - **The installer reaches outside `~/.claude/`.** It writes skills and agents under `~/.agents/`, runs `git config --global core.hooksPath ...`, which applies to every git repo on the machine, and it writes `~/.mypy.ini`. The driver isolates those writes by pointing `GIT_CONFIG_GLOBAL` at a sandbox file and redirecting the home directory.
69
+ - **git "dubious ownership" aborts the install.** The source-conflict guard runs `git status`; when the checkout sits on a path git distrusts (a UNC network share owned by another account), git exits 128 with a dubious-ownership message that the installer rethrows. The driver seeds its sandbox git config with `safe.directory = *` so the guard runs. For a real install on such a checkout, add the exception: `git config --global --add safe.directory '<repo-path>'`.
70
+ - **`npm install` at the repo root fails on a Windows network-share checkout.** npm symlinks the workspace package into root `node_modules` and the share rejects the symlink (`UNKNOWN ... symlink`, errno -4094). The package's own `node_modules` already carries its single dependency, so the driver and tests run without it. The installer also keeps working when `@jl-cmd/prompt-generator` cannot resolve — it skips that group with a warning (`discoverDependencyGroups` in `bin/install.mjs`).
71
+ - **Microsoft Store Python is rejected on Windows.** The installer skips any interpreter under a `WindowsApps` directory because that stub cannot run as a hook subprocess (`isWindowsStorePythonStub` in `bin/install.mjs`). Install Python from python.org if detection fails.
72
+
73
+ ## Troubleshooting
74
+
75
+ - **`ERROR: No usable Python 3 found`**: no `py -3` / `python3` / `python` resolves to a non-Store Python 3. Install Python 3.8+ from python.org and reopen the shell.
76
+ - **`fatal: detected dubious ownership in repository`**: add the `safe.directory` exception shown above, then rerun.
77
+ - **`ERROR: settings.json is malformed JSON`**: `~/.claude/settings.json` has a syntax error; fix the JSON and rerun.
78
+
79
+ ## Files
80
+
81
+ - `SKILL.md` — this page: the agent path (the driver), the human install path, the test command, gotchas, and troubleshooting.
82
+ - `driver.mjs` — the smoke harness that drives `bin/install.mjs` against a sandbox home directory. Run it; you do not need to read it. It sits beside this file at `.claude/skills/run-claude-dev-env/driver.mjs`.
83
+
84
+ The `/run` skill auto-discovers this skill when asked to run, install, or test `claude-dev-env`.
@@ -0,0 +1,239 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * Smoke driver for the claude-dev-env installer.
4
+ *
5
+ * The installer (bin/install.mjs) writes into os.homedir()/.claude and
6
+ * os.homedir()/.agents and has
7
+ * three global side effects: it copies files under ~/.claude/ and ~/.agents/, sets
8
+ * `git config --global core.hooksPath`, and writes ~/.mypy.ini. There is no
9
+ * flag to redirect the target, so this driver isolates every side effect by
10
+ * spawning the installer with HOME, USERPROFILE, and GIT_CONFIG_GLOBAL all
11
+ * pointed at a throwaway sandbox directory. Node's os.homedir() follows
12
+ * USERPROFILE on Windows and HOME on POSIX, so setting both redirects the
13
+ * install target on either platform without touching the real ~/.claude/.
14
+ *
15
+ * The isolated GIT_CONFIG_GLOBAL is seeded with `safe.directory = *` so the
16
+ * installer's `git status` source-conflict guard runs even when the checkout
17
+ * lives somewhere git flags as dubious ownership (for example a UNC network
18
+ * share), while the installer's `git config --global core.hooksPath` write
19
+ * still lands only in the sandbox config.
20
+ *
21
+ * It runs the three lifecycle commands an agent cares about — `--help`, a full
22
+ * install, and `--uninstall` — and asserts the observable result of each
23
+ * against the sandbox tree. Exit code 0 means every assertion held.
24
+ *
25
+ * Usage: node .claude/skills/run-claude-dev-env/driver.mjs
26
+ */
27
+
28
+ import { spawnSync } from 'node:child_process';
29
+ import {
30
+ mkdtempSync,
31
+ existsSync,
32
+ lstatSync,
33
+ readFileSync,
34
+ realpathSync,
35
+ writeFileSync,
36
+ readdirSync,
37
+ rmSync,
38
+ } from 'node:fs';
39
+ import { join, resolve, dirname } from 'node:path';
40
+ import { tmpdir } from 'node:os';
41
+ import { fileURLToPath } from 'node:url';
42
+
43
+ const DRIVER_DIRECTORY = dirname(fileURLToPath(import.meta.url));
44
+ const PACKAGE_ROOT = resolve(DRIVER_DIRECTORY, '..', '..', '..');
45
+ const INSTALL_ENTRY = join(PACKAGE_ROOT, 'bin', 'install.mjs');
46
+
47
+ const checks = [];
48
+
49
+ function record(label, passed, detail) {
50
+ checks.push({ label, passed, detail });
51
+ const mark = passed ? 'PASS' : 'FAIL';
52
+ console.log(` [${mark}] ${label}${detail ? ` — ${detail}` : ''}`);
53
+ }
54
+
55
+ function collectFilesRecursive(directory) {
56
+ const collected = [];
57
+ if (!existsSync(directory)) return collected;
58
+ for (const entry of readdirSync(directory, { withFileTypes: true })) {
59
+ const entryPath = join(directory, entry.name);
60
+ if (entry.isDirectory()) {
61
+ collected.push(...collectFilesRecursive(entryPath));
62
+ } else {
63
+ collected.push(entryPath);
64
+ }
65
+ }
66
+ return collected;
67
+ }
68
+
69
+ function runInstaller(sandboxHome, installerArguments) {
70
+ const gitConfigGlobal = join(sandboxHome, '.gitconfig-sandbox');
71
+ const result = spawnSync(process.execPath, [INSTALL_ENTRY, ...installerArguments], {
72
+ cwd: PACKAGE_ROOT,
73
+ encoding: 'utf8',
74
+ env: {
75
+ ...process.env,
76
+ HOME: sandboxHome,
77
+ USERPROFILE: sandboxHome,
78
+ GIT_CONFIG_GLOBAL: gitConfigGlobal,
79
+ },
80
+ });
81
+ return result;
82
+ }
83
+
84
+ function main() {
85
+ const sandboxHome = mkdtempSync(join(tmpdir(), 'cde-driver-'));
86
+ const claudeHome = join(sandboxHome, '.claude');
87
+ writeFileSync(join(sandboxHome, '.gitconfig-sandbox'), '[safe]\n\tdirectory = *\n');
88
+ console.log(`Sandbox HOME: ${sandboxHome}`);
89
+ console.log(`Install entry: ${INSTALL_ENTRY}\n`);
90
+
91
+ try {
92
+ console.log('Step 1: node bin/install.mjs --help');
93
+ const help = runInstaller(sandboxHome, ['--help']);
94
+ record('--help exits 0', help.status === 0, `exit=${help.status}`);
95
+ record('--help prints usage', /Usage:/.test(help.stdout), '');
96
+ record('--help wrote nothing to ~/.claude', !existsSync(claudeHome), '');
97
+
98
+ console.log('\nStep 2: node bin/install.mjs (full install)');
99
+ const install = runInstaller(sandboxHome, []);
100
+ if (install.status !== 0) {
101
+ console.log(install.stdout);
102
+ console.log(install.stderr);
103
+ }
104
+ record('install exits 0', install.status === 0, `exit=${install.status}`);
105
+
106
+ const manifestPath = join(claudeHome, '.claude-dev-env-manifest.json');
107
+ let manifest = null;
108
+ if (existsSync(manifestPath)) {
109
+ manifest = JSON.parse(readFileSync(manifestPath, 'utf8'));
110
+ }
111
+ record('manifest written', manifest !== null, manifestPath);
112
+ record(
113
+ 'manifest names this package',
114
+ manifest?.package === 'claude-dev-env',
115
+ manifest ? `package=${manifest.package} version=${manifest.version}` : 'missing',
116
+ );
117
+ record(
118
+ 'manifest tracks installed files',
119
+ Array.isArray(manifest?.files) && manifest.files.length > 0,
120
+ manifest?.files ? `${manifest.files.length} files` : 'none',
121
+ );
122
+
123
+ const skillsDirectory = join(claudeHome, 'skills');
124
+ const agentsHomeSkillsDirectory = join(sandboxHome, '.agents', 'skills');
125
+ const installedSkills = existsSync(skillsDirectory)
126
+ ? readdirSync(skillsDirectory, { withFileTypes: true }).filter((entry) => entry.isDirectory())
127
+ : [];
128
+ record('skills installed', installedSkills.length > 0, `${installedSkills.length} skill dirs`);
129
+ record(
130
+ 'skills live under ~/.agents/skills',
131
+ existsSync(agentsHomeSkillsDirectory)
132
+ && installedSkills.some((entry) => existsSync(join(agentsHomeSkillsDirectory, entry.name))),
133
+ agentsHomeSkillsDirectory,
134
+ );
135
+ record(
136
+ '~/.claude/skills is a directory pointer',
137
+ existsSync(skillsDirectory) && lstatSync(skillsDirectory).isSymbolicLink(),
138
+ skillsDirectory,
139
+ );
140
+ const sampleSkillName = installedSkills.find((entry) => existsSync(join(skillsDirectory, entry.name, 'SKILL.md')))?.name;
141
+ if (sampleSkillName) {
142
+ const lookupSkillPath = join(skillsDirectory, sampleSkillName, 'SKILL.md');
143
+ const canonicalSkillPath = join(agentsHomeSkillsDirectory, sampleSkillName, 'SKILL.md');
144
+ record(
145
+ 'skill files match through the lookup pointer',
146
+ existsSync(lookupSkillPath)
147
+ && existsSync(canonicalSkillPath)
148
+ && realpathSync(lookupSkillPath) === realpathSync(canonicalSkillPath),
149
+ sampleSkillName,
150
+ );
151
+ } else {
152
+ record('skill files match through the lookup pointer', false, 'no skill dirs');
153
+ }
154
+
155
+ const agentsLookupDirectory = join(claudeHome, 'agents');
156
+ const agentsHomeAgentsDirectory = join(sandboxHome, '.agents', 'agents');
157
+ record(
158
+ 'agents live under ~/.agents/agents',
159
+ existsSync(agentsHomeAgentsDirectory)
160
+ && readdirSync(agentsHomeAgentsDirectory).some((name) => name.endsWith('.md')),
161
+ agentsHomeAgentsDirectory,
162
+ );
163
+ record(
164
+ '~/.claude/agents is a directory pointer',
165
+ existsSync(agentsLookupDirectory) && lstatSync(agentsLookupDirectory).isSymbolicLink(),
166
+ agentsLookupDirectory,
167
+ );
168
+
169
+ const hookFiles = collectFilesRecursive(join(claudeHome, 'hooks')).filter((file) =>
170
+ file.endsWith('.py'),
171
+ );
172
+ record('hook scripts installed', hookFiles.length > 0, `${hookFiles.length} .py files`);
173
+
174
+ const ruleFiles = existsSync(join(claudeHome, 'rules'))
175
+ ? readdirSync(join(claudeHome, 'rules')).filter((name) => name.endsWith('.md'))
176
+ : [];
177
+ record('rules installed', ruleFiles.length > 0, `${ruleFiles.length} .md files`);
178
+
179
+ record('CLAUDE.md hub installed', existsSync(join(claudeHome, 'CLAUDE.md')), '');
180
+
181
+ const settingsPath = join(claudeHome, 'settings.json');
182
+ let managedHookCount = 0;
183
+ if (existsSync(settingsPath)) {
184
+ const settings = JSON.parse(readFileSync(settingsPath, 'utf8'));
185
+ for (const matcherGroups of Object.values(settings.hooks ?? {})) {
186
+ for (const group of matcherGroups) {
187
+ for (const hook of group.hooks ?? []) {
188
+ if (hook.command.replace(/\\/g, '/').includes('/.claude/hooks')) {
189
+ managedHookCount += 1;
190
+ }
191
+ }
192
+ }
193
+ }
194
+ }
195
+ record('settings.json carries managed hooks', managedHookCount > 0, `${managedHookCount} hook commands`);
196
+
197
+ const gitConfigGlobalPath = join(sandboxHome, '.gitconfig-sandbox');
198
+ const gitHooksPathRedirectedIntoSandbox =
199
+ existsSync(gitConfigGlobalPath) &&
200
+ readFileSync(gitConfigGlobalPath, 'utf8').replace(/\\/g, '/').includes('/.claude/hooks/git-hooks');
201
+ record(
202
+ 'global git hooksPath isolated to sandbox',
203
+ gitHooksPathRedirectedIntoSandbox,
204
+ 'GIT_CONFIG_GLOBAL kept the real ~/.gitconfig untouched',
205
+ );
206
+
207
+ const sampleInstalledFile = manifest?.files?.find((file) => existsSync(file));
208
+
209
+ console.log('\nStep 3: node bin/install.mjs --uninstall');
210
+ const uninstall = runInstaller(sandboxHome, ['--uninstall']);
211
+ if (uninstall.status !== 0) {
212
+ console.log(uninstall.stdout);
213
+ console.log(uninstall.stderr);
214
+ }
215
+ record('uninstall exits 0', uninstall.status === 0, `exit=${uninstall.status}`);
216
+ record('manifest removed', !existsSync(manifestPath), '');
217
+ record(
218
+ 'tracked file removed',
219
+ sampleInstalledFile ? !existsSync(sampleInstalledFile) : false,
220
+ sampleInstalledFile ? sampleInstalledFile : 'no sample file captured',
221
+ );
222
+ } finally {
223
+ rmSync(sandboxHome, { recursive: true, force: true });
224
+ console.log(`\nSandbox removed: ${sandboxHome}`);
225
+ }
226
+
227
+ const failures = checks.filter((check) => !check.passed);
228
+ console.log(`\n${checks.length - failures.length}/${checks.length} checks passed.`);
229
+ if (failures.length > 0) {
230
+ console.log('FAILED:');
231
+ for (const failure of failures) {
232
+ console.log(` - ${failure.label}`);
233
+ }
234
+ process.exit(1);
235
+ }
236
+ console.log('ALL CHECKS PASSED');
237
+ }
238
+
239
+ main();
@@ -0,0 +1 @@
1
+ @../AGENTS.md
@@ -25,7 +25,7 @@ Sessions come in many shapes — convergence loops, feature builds, research div
25
25
  - **The `Artifact` tool wraps the file in a document skeleton at publish time.** It adds `<!doctype html>…<head>…</head><body>` around whatever the file holds — write page content only (a `<title>`, a `<style>` block, and the body markup). Do not include `<!DOCTYPE>`, `<html>`, `<head>`, or `<body>` tags in the file itself.
26
26
  - **The `Artifact` tool redeploys to the same URL only within the current run.** Editing the session's HTML file in a later step of this same skill run and calling `Artifact` again does not mint a new URL — it updates the same published page in place. A fresh session has no memory of an artifact's URL from an earlier run, so republishing a session report written in a prior session always mints a new URL (there is no other way to target the old one without the user supplying it).
27
27
  - **Vault paths sit outside `.claude/`.** Headless vault paths (e.g., `$OBSIDIAN_VAULT_PATH`) resolve outside the project tree. Session reports use HTML regardless of vault location — the Artifact tool needs a written file to publish.
28
- - **Sessions describe current state by convention.** The state_description_blocker hook does not scan .html, but the rule at `~/.claude/rules/doc-prose-cuts.md` applies as a writing standard skip historical and comparative language when composing the report; the rule file lists the full trigger set.
28
+ - **Sessions describe current state by convention.** The state_description_blocker hook does not scan .html. Apply `~/.claude/rules/asd-ste100-language.md` for user-facing word choice and sentence style, and keep the session report current and self-contained.
29
29
  - **`write_existing_file_blocker` rejects Write on existing paths.** Use Write only when creating a fresh session report; use Edit for the vault-context append in step 3.
30
30
  - **Obsidian frontmatter index is HTML-blind.** Obsidian's native YAML-frontmatter parser reads only `.md` files. HTML files do not appear in Obsidian's frontmatter index. Search by content still works; search by `type: session-report` does not.
31
31
 
@@ -0,0 +1 @@
1
+ @../AGENTS.md