@event4u/agent-config 11.0.0 → 12.1.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 (312) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/CHANGELOG.md +173 -229
  3. package/agents/templates/.ai-council.yml.example +46 -3
  4. package/dist/agent-src/commands/agent-handoff.md +0 -1
  5. package/dist/agent-src/commands/agent-status.md +0 -1
  6. package/dist/agent-src/commands/agents/audit.md +0 -1
  7. package/dist/agent-src/commands/agents/init.md +0 -1
  8. package/dist/agent-src/commands/agents/optimize.md +0 -1
  9. package/dist/agent-src/commands/agents/user/accept.md +0 -1
  10. package/dist/agent-src/commands/agents/user/delete.md +0 -1
  11. package/dist/agent-src/commands/agents/user/init.md +0 -1
  12. package/dist/agent-src/commands/agents/user/review.md +0 -1
  13. package/dist/agent-src/commands/agents/user/show.md +0 -1
  14. package/dist/agent-src/commands/agents/user/update.md +0 -1
  15. package/dist/agent-src/commands/agents/user.md +0 -1
  16. package/dist/agent-src/commands/agents.md +0 -1
  17. package/dist/agent-src/commands/analytics/prune.md +0 -1
  18. package/dist/agent-src/commands/analytics/show.md +0 -1
  19. package/dist/agent-src/commands/analytics.md +0 -1
  20. package/dist/agent-src/commands/analyze/conformance.md +0 -1
  21. package/dist/agent-src/commands/analyze/decision.md +0 -1
  22. package/dist/agent-src/commands/analyze/inbox.md +0 -1
  23. package/dist/agent-src/commands/analyze/incident.md +0 -1
  24. package/dist/agent-src/commands/analyze/near-miss.md +0 -1
  25. package/dist/agent-src/commands/analyze/postmortem.md +0 -1
  26. package/dist/agent-src/commands/analyze/premortem.md +0 -1
  27. package/dist/agent-src/commands/analyze/reference-repo.md +0 -1
  28. package/dist/agent-src/commands/analyze.md +0 -1
  29. package/dist/agent-src/commands/brand/identity.md +0 -1
  30. package/dist/agent-src/commands/brand/review.md +0 -1
  31. package/dist/agent-src/commands/brand/strategy.md +0 -1
  32. package/dist/agent-src/commands/brand/tokens.md +0 -1
  33. package/dist/agent-src/commands/brand/voice.md +0 -1
  34. package/dist/agent-src/commands/brand.md +0 -1
  35. package/dist/agent-src/commands/bug/fix.md +0 -1
  36. package/dist/agent-src/commands/bug/investigate.md +0 -1
  37. package/dist/agent-src/commands/bug.md +0 -1
  38. package/dist/agent-src/commands/challenge-me/vision.md +0 -1
  39. package/dist/agent-src/commands/challenge-me/with-docs.md +0 -1
  40. package/dist/agent-src/commands/challenge-me.md +0 -1
  41. package/dist/agent-src/commands/chat-history/import.md +0 -1
  42. package/dist/agent-src/commands/chat-history.md +0 -1
  43. package/dist/agent-src/commands/check-current-md.md +0 -1
  44. package/dist/agent-src/commands/commit/in-chunks.md +0 -1
  45. package/dist/agent-src/commands/commit.md +0 -1
  46. package/dist/agent-src/commands/condense.md +0 -1
  47. package/dist/agent-src/commands/context/create.md +0 -1
  48. package/dist/agent-src/commands/context/refactor.md +0 -1
  49. package/dist/agent-src/commands/context.md +0 -1
  50. package/dist/agent-src/commands/contribution-precheck.md +0 -1
  51. package/dist/agent-src/commands/cost/profile.md +0 -1
  52. package/dist/agent-src/commands/cost/report.md +0 -1
  53. package/dist/agent-src/commands/cost.md +0 -1
  54. package/dist/agent-src/commands/council/analysis.md +0 -1
  55. package/dist/agent-src/commands/council/debate.md +0 -1
  56. package/dist/agent-src/commands/council/default.md +0 -1
  57. package/dist/agent-src/commands/council/design.md +0 -1
  58. package/dist/agent-src/commands/council/optimize.md +0 -1
  59. package/dist/agent-src/commands/council/pr.md +0 -1
  60. package/dist/agent-src/commands/council.md +0 -1
  61. package/dist/agent-src/commands/design-system/capture.md +0 -1
  62. package/dist/agent-src/commands/design-system/generate.md +0 -1
  63. package/dist/agent-src/commands/design-system/import.md +0 -1
  64. package/dist/agent-src/commands/design-system.md +0 -1
  65. package/dist/agent-src/commands/estimate-ticket.md +0 -1
  66. package/dist/agent-src/commands/explain-run.md +0 -1
  67. package/dist/agent-src/commands/feature/dev.md +0 -1
  68. package/dist/agent-src/commands/feature/explore.md +0 -1
  69. package/dist/agent-src/commands/feature/plan.md +0 -1
  70. package/dist/agent-src/commands/feature/refactor.md +0 -1
  71. package/dist/agent-src/commands/feature/roadmap.md +0 -1
  72. package/dist/agent-src/commands/feature.md +0 -1
  73. package/dist/agent-src/commands/fix/ci.md +0 -1
  74. package/dist/agent-src/commands/fix/comments.md +0 -1
  75. package/dist/agent-src/commands/fix/portability.md +0 -1
  76. package/dist/agent-src/commands/fix/pr-comments-loop.md +0 -1
  77. package/dist/agent-src/commands/fix/pr-comments.md +0 -1
  78. package/dist/agent-src/commands/fix/quality.md +0 -1
  79. package/dist/agent-src/commands/fix/refs.md +0 -1
  80. package/dist/agent-src/commands/fix/route.md +0 -1
  81. package/dist/agent-src/commands/fix/seeder.md +0 -1
  82. package/dist/agent-src/commands/fix.md +0 -1
  83. package/dist/agent-src/commands/ghostwriter/delete.md +0 -1
  84. package/dist/agent-src/commands/ghostwriter/fetch.md +0 -1
  85. package/dist/agent-src/commands/ghostwriter/list.md +0 -1
  86. package/dist/agent-src/commands/ghostwriter/show.md +0 -1
  87. package/dist/agent-src/commands/ghostwriter/write.md +0 -1
  88. package/dist/agent-src/commands/ghostwriter.md +0 -1
  89. package/dist/agent-src/commands/grill-me.md +0 -1
  90. package/dist/agent-src/commands/humanize.md +0 -1
  91. package/dist/agent-src/commands/image/analyse.md +0 -1
  92. package/dist/agent-src/commands/image/create.md +0 -1
  93. package/dist/agent-src/commands/image/verify.md +0 -1
  94. package/dist/agent-src/commands/image.md +0 -1
  95. package/dist/agent-src/commands/implement-ticket.md +0 -1
  96. package/dist/agent-src/commands/jira-ticket.md +0 -1
  97. package/dist/agent-src/commands/judge/on-diff.md +0 -1
  98. package/dist/agent-src/commands/judge/solo.md +0 -1
  99. package/dist/agent-src/commands/judge/steps.md +0 -1
  100. package/dist/agent-src/commands/judge.md +0 -1
  101. package/dist/agent-src/commands/knowledge/cross-repo.md +0 -1
  102. package/dist/agent-src/commands/knowledge/forget.md +0 -1
  103. package/dist/agent-src/commands/knowledge/ingest.md +0 -1
  104. package/dist/agent-src/commands/knowledge/list.md +0 -1
  105. package/dist/agent-src/commands/knowledge.md +0 -1
  106. package/dist/agent-src/commands/memory/add.md +0 -1
  107. package/dist/agent-src/commands/memory/learn-low-impact.md +0 -1
  108. package/dist/agent-src/commands/memory/load.md +0 -1
  109. package/dist/agent-src/commands/memory/mine-session.md +0 -1
  110. package/dist/agent-src/commands/memory/promote.md +0 -1
  111. package/dist/agent-src/commands/memory/propose.md +0 -1
  112. package/dist/agent-src/commands/memory.md +0 -1
  113. package/dist/agent-src/commands/mission/upgrade.md +0 -1
  114. package/dist/agent-src/commands/mode.md +0 -1
  115. package/dist/agent-src/commands/module/create.md +0 -1
  116. package/dist/agent-src/commands/module/explore.md +0 -1
  117. package/dist/agent-src/commands/module.md +0 -1
  118. package/dist/agent-src/commands/optimize/agents-dir.md +0 -1
  119. package/dist/agent-src/commands/optimize/augmentignore.md +0 -1
  120. package/dist/agent-src/commands/optimize/deep.md +0 -1
  121. package/dist/agent-src/commands/optimize/project.md +0 -1
  122. package/dist/agent-src/commands/optimize/prompt.md +0 -1
  123. package/dist/agent-src/commands/optimize/rtk.md +0 -1
  124. package/dist/agent-src/commands/optimize/skills.md +0 -1
  125. package/dist/agent-src/commands/optimize.md +0 -1
  126. package/dist/agent-src/commands/orchestrate.md +0 -1
  127. package/dist/agent-src/commands/override/create.md +0 -1
  128. package/dist/agent-src/commands/override/manage.md +0 -1
  129. package/dist/agent-src/commands/override.md +0 -1
  130. package/dist/agent-src/commands/package/reset.md +0 -1
  131. package/dist/agent-src/commands/package/test.md +0 -1
  132. package/dist/agent-src/commands/package.md +0 -1
  133. package/dist/agent-src/commands/post-as/ghostwriter.md +0 -1
  134. package/dist/agent-src/commands/post-as/me.md +0 -1
  135. package/dist/agent-src/commands/post-as.md +0 -1
  136. package/dist/agent-src/commands/pr/create/description-only.md +0 -1
  137. package/dist/agent-src/commands/pr/create.md +23 -9
  138. package/dist/agent-src/commands/prediction-pool.md +0 -1
  139. package/dist/agent-src/commands/prepare-for-review.md +0 -1
  140. package/dist/agent-src/commands/profile/activate.md +0 -1
  141. package/dist/agent-src/commands/profile/deactivate.md +0 -1
  142. package/dist/agent-src/commands/profile/show.md +0 -1
  143. package/dist/agent-src/commands/profile.md +0 -1
  144. package/dist/agent-src/commands/project/analyze.md +0 -1
  145. package/dist/agent-src/commands/project/health.md +0 -1
  146. package/dist/agent-src/commands/project.md +0 -1
  147. package/dist/agent-src/commands/refine-ticket.md +0 -1
  148. package/dist/agent-src/commands/research/deep.md +0 -1
  149. package/dist/agent-src/commands/research/report.md +0 -1
  150. package/dist/agent-src/commands/research.md +0 -1
  151. package/dist/agent-src/commands/review/changes.md +0 -1
  152. package/dist/agent-src/commands/review/routing.md +0 -1
  153. package/dist/agent-src/commands/review.md +0 -1
  154. package/dist/agent-src/commands/roadmap/ai-council.md +0 -1
  155. package/dist/agent-src/commands/roadmap/create.md +0 -1
  156. package/dist/agent-src/commands/roadmap/materialize.md +0 -1
  157. package/dist/agent-src/commands/roadmap/next.md +0 -1
  158. package/dist/agent-src/commands/roadmap/process-full.md +0 -1
  159. package/dist/agent-src/commands/roadmap/process-phase.md +0 -1
  160. package/dist/agent-src/commands/roadmap/process-step.md +0 -1
  161. package/dist/agent-src/commands/roadmap.md +0 -1
  162. package/dist/agent-src/commands/rule-compliance-audit.md +0 -1
  163. package/dist/agent-src/commands/security-audit-config.md +0 -1
  164. package/dist/agent-src/commands/skill/preview.md +0 -1
  165. package/dist/agent-src/commands/skill.md +0 -1
  166. package/dist/agent-src/commands/skills/discover.md +0 -1
  167. package/dist/agent-src/commands/skills.md +0 -1
  168. package/dist/agent-src/commands/sync/agent-settings.md +0 -1
  169. package/dist/agent-src/commands/sync/gitignore/fix.md +0 -1
  170. package/dist/agent-src/commands/sync/gitignore.md +0 -1
  171. package/dist/agent-src/commands/sync.md +0 -1
  172. package/dist/agent-src/commands/tdd/green.md +0 -1
  173. package/dist/agent-src/commands/tdd/red.md +0 -1
  174. package/dist/agent-src/commands/tdd/refactor.md +0 -1
  175. package/dist/agent-src/commands/tdd.md +0 -1
  176. package/dist/agent-src/commands/team/adversarial.md +0 -1
  177. package/dist/agent-src/commands/team/delegate.md +0 -1
  178. package/dist/agent-src/commands/team/review.md +0 -1
  179. package/dist/agent-src/commands/team/status.md +0 -1
  180. package/dist/agent-src/commands/team-knowledge/bootstrap.md +0 -1
  181. package/dist/agent-src/commands/team-knowledge/consolidate.md +0 -1
  182. package/dist/agent-src/commands/team-knowledge.md +0 -1
  183. package/dist/agent-src/commands/team.md +0 -1
  184. package/dist/agent-src/commands/tests/create.md +0 -1
  185. package/dist/agent-src/commands/tests/e2e-heal.md +0 -1
  186. package/dist/agent-src/commands/tests/e2e-plan.md +0 -1
  187. package/dist/agent-src/commands/tests/execute.md +0 -1
  188. package/dist/agent-src/commands/tests.md +0 -1
  189. package/dist/agent-src/commands/threat-model.md +0 -1
  190. package/dist/agent-src/commands/update-form-request-messages.md +0 -1
  191. package/dist/agent-src/commands/upstream-contribute.md +0 -1
  192. package/dist/agent-src/commands/video/from-script.md +0 -1
  193. package/dist/agent-src/commands/video/from-song.md +0 -1
  194. package/dist/agent-src/commands/video/scene.md +0 -1
  195. package/dist/agent-src/commands/video/stitch.md +0 -1
  196. package/dist/agent-src/commands/video/storyboard.md +0 -1
  197. package/dist/agent-src/commands/video.md +0 -1
  198. package/dist/agent-src/commands/work.md +0 -1
  199. package/dist/agent-src/commands/worktree/cleanup.md +0 -1
  200. package/dist/agent-src/commands/worktree/create.md +0 -1
  201. package/dist/agent-src/commands/worktree/status.md +0 -1
  202. package/dist/agent-src/commands/worktree/verify.md +0 -1
  203. package/dist/agent-src/commands/worktree.md +0 -1
  204. package/dist/agent-src/contexts/model-recommendations.md +6 -4
  205. package/dist/agent-src/rules/low-impact-corpus-privacy-floor.md +1 -0
  206. package/dist/agent-src/scripts/roadmap_gates.ts +30 -2
  207. package/dist/agent-src/scripts/update_roadmap_progress.ts +32 -1
  208. package/dist/agent-src/skills/docx-authoring/SKILL.md +1 -0
  209. package/dist/agent-src/skills/git-workflow/SKILL.md +9 -1
  210. package/dist/agent-src/skills/pdf-tools/SKILL.md +1 -0
  211. package/dist/agent-src/skills/roadmap-writing/SKILL.md +7 -7
  212. package/dist/agent-src/skills/skill-writing/SKILL.md +35 -0
  213. package/dist/agent-src/templates/agents/agent-project-settings.example.yml +1 -1
  214. package/dist/agent-src/templates/roadmaps.md +41 -3
  215. package/dist/cli/commands/commands.candidates.test.js +1 -1
  216. package/dist/cli/commands/commands.candidates.test.js.map +1 -1
  217. package/dist/cli/commands/commands.js +9 -15
  218. package/dist/cli/commands/commands.js.map +1 -1
  219. package/dist/cli/commands/profiles.test.js +7 -7
  220. package/dist/cli/commands/profiles.test.js.map +1 -1
  221. package/dist/cli/discovery/loadManifest.js.map +1 -1
  222. package/dist/cli/main.js +2 -2
  223. package/dist/cli/main.js.map +1 -1
  224. package/dist/cli/registry.js +1 -0
  225. package/dist/cli/registry.js.map +1 -1
  226. package/dist/cli-delegate/chunk-K34QTSD5.js +3895 -0
  227. package/dist/cli-delegate/{chunk-L565YFXH.js → chunk-LKZ5DOYW.js} +557 -297
  228. package/dist/cli-delegate/{chunk-NN4KW4HZ.js → chunk-O52B4F5S.js} +123 -2338
  229. package/dist/cli-delegate/cmd_conformance.js +18 -6
  230. package/dist/cli-delegate/cmd_doctor.js +2 -2
  231. package/dist/cli-delegate/cmd_export.js +1 -1
  232. package/dist/cli-delegate/cmd_handoff.js +1 -1
  233. package/dist/cli-delegate/cmd_prune.js +1 -1
  234. package/dist/cli-delegate/cmd_settings_migrate.js +1 -1
  235. package/dist/cli-delegate/cmd_sync.js +1 -1
  236. package/dist/cli-delegate/cmd_uninstall.js +1 -1
  237. package/dist/cli-delegate/cmd_validate.js +1 -1
  238. package/dist/discovery/deprecation-report.md +1 -1
  239. package/dist/discovery/discovery-manifest.json +213 -412
  240. package/dist/discovery/discovery-manifest.json.sha256 +1 -1
  241. package/dist/discovery/discovery-manifest.summary.md +2 -2
  242. package/dist/discovery/dormancy-report.md +1 -1
  243. package/dist/discovery/orphan-report.md +1 -1
  244. package/dist/discovery/packs.json +3 -3
  245. package/dist/discovery/trust-report.md +1 -1
  246. package/dist/discovery/workspaces.json +3 -3
  247. package/dist/hooks/dispatch.js +2588 -1082
  248. package/dist/install/install.mjs +744 -482
  249. package/dist/mcp/registry-manifest.json +3 -3
  250. package/dist/mcp/server.json +2 -2
  251. package/dist/mcp/server.mjs +159 -15
  252. package/dist/router.json +1 -1
  253. package/dist/scripts/_lib/model_tier.js +9 -0
  254. package/dist/scripts/_lib/model_tier.js.map +1 -1
  255. package/dist/scripts/condense.js +50 -0
  256. package/dist/scripts/condense.js.map +1 -1
  257. package/docs/MIGRATION.md +21 -1
  258. package/docs/contracts/settings-classes.md +41 -0
  259. package/package.json +1 -1
  260. package/src/agent-src/scripts/roadmap_gates.ts +30 -2
  261. package/src/agent-src/scripts/update_roadmap_progress.ts +32 -1
  262. package/src/config/agent-settings.template.yml +34 -0
  263. package/src/config/evaluator-budgets.json +4 -4
  264. package/src/config/gate-coverage.yml +39 -9
  265. package/src/config/gate-violation-baselines.json +9 -3
  266. package/src/config/hook-token-budget.json +7 -1
  267. package/src/config/preamble-payload-budget.json +28 -0
  268. package/src/scripts/_dispatch.bash +52 -5
  269. package/src/scripts/_lib/git_common_dir.ts +173 -0
  270. package/src/scripts/_lib/model_tier.ts +9 -0
  271. package/src/scripts/_lib/release_highlights.ts +108 -7
  272. package/src/scripts/_lib/skill_catalogue.ts +862 -0
  273. package/src/scripts/ai_council/clients.ts +182 -3
  274. package/src/scripts/ai_council/config.ts +16 -1
  275. package/src/scripts/ai_council/low_impact.ts +14 -1
  276. package/src/scripts/ai_council/orchestrator.ts +14 -1
  277. package/src/scripts/ai_council/transport_resolver.ts +32 -2
  278. package/src/scripts/audit_command_surface.ts +21 -15
  279. package/src/scripts/build_catalog_index.ts +1 -1
  280. package/src/scripts/build_discovery_manifest.ts +30 -34
  281. package/src/scripts/capture_skill_catalogue.ts +185 -328
  282. package/src/scripts/check_branch_freshness.ts +217 -62
  283. package/src/scripts/check_release_published.ts +6 -2
  284. package/src/scripts/check_release_trunk_sync.ts +18 -2
  285. package/src/scripts/condense.ts +50 -1
  286. package/src/scripts/dispatch_r2_reviewer.ts +15 -5
  287. package/src/scripts/evidence_report.ts +15 -4
  288. package/src/scripts/gen_discovery_baseline.ts +3 -3
  289. package/src/scripts/hook_manifest.yaml +67 -13
  290. package/src/scripts/hooks/concern_registry.ts +2 -0
  291. package/src/scripts/hooks/orchestration_record_hook.ts +21 -0
  292. package/src/scripts/hooks/subagent_ledger_hook.ts +17 -4
  293. package/src/scripts/hooks/tool_result_bytes_hook.ts +219 -0
  294. package/src/scripts/hot_context_hook.ts +13 -1
  295. package/src/scripts/install.ts +129 -0
  296. package/src/scripts/janitor.ts +77 -2
  297. package/src/scripts/lint_command_tiers.ts +29 -75
  298. package/src/scripts/lint_originality.ts +101 -14
  299. package/src/scripts/lint_plan_risk_register.ts +22 -9
  300. package/src/scripts/lint_roadmap_blockers.ts +109 -6
  301. package/src/scripts/lint_scheduled_deprecations.ts +738 -0
  302. package/src/scripts/migration_status.ts +17 -1
  303. package/src/scripts/probe_review_binding_drift.ts +731 -0
  304. package/src/scripts/release.ts +95 -1
  305. package/src/scripts/schemas/command.schema.json +6 -11
  306. package/src/scripts/schemas/skill.schema.json +12 -2
  307. package/src/scripts/schemas/subagent.schema.json +2 -2
  308. package/src/scripts/session_eol_report.ts +81 -0
  309. package/src/scripts/skill_linter.ts +82 -2
  310. package/src/scripts/workspace_doctor.ts +464 -0
  311. package/src/scripts/worktree_cleanup_check.ts +113 -8
  312. package/dist/cli-delegate/chunk-AYKQGIBG.js +0 -1594
@@ -7,7 +7,6 @@ pack: git
7
7
  intent: "Open a pull request with a generated description and stripped attribution footers"
8
8
  routes_to: [git-workflow]
9
9
  replaces: [create-pr]
10
- tier: 1
11
10
  visibility: advanced
12
11
  cluster: git-pr-create
13
12
  skills: [git-workflow]
@@ -71,16 +70,28 @@ Run, in order:
71
70
  1. **Ask the gate, never hand-roll the comparison:**
72
71
 
73
72
  ```bash
74
- ./scripts-run src/scripts/check_branch_freshness
73
+ npx tsx node_modules/@event4u/agent-config/src/scripts/check_branch_freshness.ts
75
74
  ```
76
75
 
77
76
  It resolves the base itself — explicit `--base`, else the base of the **open
78
- PR for this branch** as the forge reports it, else the repo default from
79
- `origin/HEAD`. Do **not** substitute `git rev-list --count HEAD..origin/main`:
80
- that hardcodes a base this branch may not target, and it reads the local
81
- tracking ref, which is a fetch from earlier in the session — a memory, not a
82
- check (`direct-answers` Iron Law 2). Exit `0` = current, `1` = behind, and the
83
- refusal names the base **and where that base came from**.
77
+ PR for this branch** as the forge reports it, else the repo default the server
78
+ reports for `HEAD`. Do **not** substitute
79
+ `git rev-list --count HEAD..origin/main`: that hardcodes a base this branch may
80
+ not target, and it reads the local tracking ref, which is a fetch from earlier
81
+ in the session — a memory, not a check (`direct-answers` Iron Law 2).
82
+
83
+ **Exit `0` is not a verdict — it means only "did not refuse".** `1` = behind.
84
+ `0` covers "current", "could not verify", and every path with nothing to
85
+ check: a no-op in CI, a detached HEAD, and standing on the base branch
86
+ itself. Read the line, not just the status. A run that could not reach the
87
+ base prints `NOT VERIFIED` and still exits `0`, deliberately, so an offline
88
+ push is never blocked by a network failure; treating that as a clean pass is
89
+ the one misread this gate cannot protect you from.
90
+
91
+ **And under `--quiet` a genuine pass prints nothing at all** — that is how
92
+ `taskfiles/ci-fast.yml` invokes it, so silence there is the success case, not
93
+ a missing verdict. Every path that has NOT verified stays loud even under
94
+ `--quiet`. Run it without the flag when you need to read a verdict.
84
95
 
85
96
  2. `gh pr list --state open --base {resolved-base} --limit 20 --json number,headRefName,files`
86
97
  — open PRs targeting the same base, for the overlap question below.
@@ -89,10 +100,13 @@ Run, in order:
89
100
 
90
101
  | Gate | Overlapping open PR touches same files? | Action |
91
102
  |---|---|---|
92
- | exit `0` | — | Proceed to Step 2 |
103
+ | exit `0`, prints `branch is current` | — | Proceed to Step 2 |
93
104
  | exit `1` | No | **Merge the base in** — `git fetch origin && git merge origin/{resolved-base} --no-edit` — then run the regeneration set below, then proceed. No need to ask; state that you did it. |
94
105
  | exit `1` | **Yes** | STOP — surface the overlapping PR number, ask: stack on top of it / wait for it to land / proceed-anyway-and-accept-conflicts / cancel |
106
+ | exit `0`, prints `NOT VERIFIED` | — | The base could not be reached, so freshness is **unknown** — not confirmed. Re-run once; if it persists, say the check did not run rather than reporting a pass. A base that `ls-remote` cannot resolve (deleted or renamed after the PR opened, or a fork base) lands here too. |
95
107
  | warns `could not ask the forge` | — | The **default** base was checked and an open PR against a different base was **not** ruled out. Say so; do not report it as a clean freshness pass. |
108
+ | exit `0`, prints nothing, `--quiet` given | — | The success case for the preflight invocation. Any non-verifying path would have printed even under `--quiet`. |
109
+ | exit `0`, says `standing on <base> itself` / `detached HEAD` / `no-op in CI` | — | Nothing to check — a branch cannot be behind itself, a detached HEAD has no branch, and in CI the forge owns mergeability. Not a freshness pass; do not cite it as one. |
96
110
 
97
111
  A branch behind its base is **not** current — bring the base in **before** the PR
98
112
  exists, never after. Auto-merge when there is no file overlap (the common case);
@@ -2,7 +2,6 @@
2
2
  model_tier: inherit
3
3
  name: prediction-pool
4
4
  pack: fun
5
- tier: 2
6
5
  visibility: internal
7
6
  description: "Fill a prediction pool (kicktipp, football/basketball WM): optimize expected points under the rules, enter tips via Playwright. Triggers 'Tippspiel', 'kicktipp', 'predict the pool'."
8
7
  argument-hint: "[event] [--pool-url <url>] [--council off|event|match] [--submit] [--fresh|--continue]"
@@ -2,7 +2,6 @@
2
2
  model_tier: high
3
3
  name: prepare-for-review
4
4
  pack: engineering-base
5
- tier: 2
6
5
  visibility: internal
7
6
  skills: [git-workflow, quality-tools]
8
7
  description: Prepare a PR branch for local review — updates main and merges the full branch chain so the branch is up to date
@@ -2,7 +2,6 @@
2
2
  model_tier: medium
3
3
  name: profile-activate
4
4
  pack: meta
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: profile
8
7
  sub: activate
@@ -2,7 +2,6 @@
2
2
  model_tier: medium
3
3
  name: profile-deactivate
4
4
  pack: meta
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: profile
8
7
  sub: deactivate
@@ -2,7 +2,6 @@
2
2
  model_tier: medium
3
3
  name: profile-show
4
4
  pack: meta
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: profile
8
7
  sub: show
@@ -2,7 +2,6 @@
2
2
  model_tier: medium
3
3
  name: profile
4
4
  pack: meta
5
- tier: 2
6
5
  visibility: internal
7
6
  description: Session-profile orchestrator — activate / deactivate / show the active packs for this session (recommendation-bias surface filter, no persistence)
8
7
  argument-hint: "[activate|deactivate|show] [args]"
@@ -2,7 +2,6 @@
2
2
  model_tier: high
3
3
  name: project-analyze
4
4
  pack: engineering-base
5
- tier: 2
6
5
  visibility: internal
7
6
  sub: analyze
8
7
  cluster: project
@@ -2,7 +2,6 @@
2
2
  model_tier: medium
3
3
  name: project-health
4
4
  pack: engineering-base
5
- tier: 2
6
5
  visibility: internal
7
6
  sub: health
8
7
  cluster: project
@@ -7,7 +7,6 @@ pack: engineering-base
7
7
  intent: "Project dispatcher — full analysis or quick health check"
8
8
  routes_to: [project-analyze, project-health]
9
9
  replaces: []
10
- tier: 2
11
10
  visibility: internal
12
11
  description: Project orchestrator — routes to analyze (full audit) and health (read-only status check)
13
12
  cluster: project
@@ -5,7 +5,6 @@ pack: product-basic
5
5
  intent: "Refine a vague ticket into a clear, implementable spec"
6
6
  routes_to: [refine-ticket]
7
7
  replaces: []
8
- tier: 1
9
8
  visibility: advanced
10
9
  skills: [refine-ticket]
11
10
  description: Refine a Jira/Linear ticket before planning — rewritten ticket + Top-5 risks + persona voices, orchestrates validate-feature-fit and threat-modeling, ends with a close-prompt
@@ -2,7 +2,6 @@
2
2
  model_tier: high
3
3
  name: research-deep
4
4
  pack: product-discovery
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: research
8
7
  sub: deep
@@ -2,7 +2,6 @@
2
2
  model_tier: high
3
3
  name: research-report
4
4
  pack: product-discovery
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: research
8
7
  sub: report
@@ -4,7 +4,6 @@ name: research
4
4
  disable-model-invocation: true
5
5
  argument-hint: "[<topic>|deep|report] [args]"
6
6
  pack: product-discovery
7
- tier: 2
8
7
  visibility: internal
9
8
  cluster: research
10
9
  description: "Preliminary research scaffolder — pick objects, define fields, emit `outline.yaml` + `fields.yaml` for downstream deep research. Use for surveys, benchmarks, tech selection, competitive scans."
@@ -5,7 +5,6 @@ pack: engineering-base
5
5
  intent: "Multi-judge review of the current diff — bugs, security, tests, quality, architecture"
6
6
  routes_to: [code-review, judge-bug-hunter, judge-security-auditor, judge-test-coverage, judge-code-quality, architecture-review-lens]
7
7
  replaces: []
8
- tier: 2
9
8
  visibility: internal
10
9
  sub: changes
11
10
  cluster: review
@@ -2,7 +2,6 @@
2
2
  model_tier: high
3
3
  name: review-routing
4
4
  pack: engineering-base
5
- tier: 2
6
5
  visibility: internal
7
6
  sub: routing
8
7
  cluster: review
@@ -7,7 +7,6 @@ pack: engineering-base
7
7
  intent: "Review dispatcher — multi-judge self-review of the current diff, or reviewer routing"
8
8
  routes_to: [review-changes, review-routing]
9
9
  replaces: []
10
- tier: 1
11
10
  visibility: advanced
12
11
  description: Review orchestrator — routes to changes (five-judge self-review of the local diff) and routing (compute reviewer roles + historical bug patterns)
13
12
  cluster: review
@@ -2,7 +2,6 @@
2
2
  model_tier: inherit
3
3
  name: roadmap-ai-council
4
4
  pack: product-basic
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: roadmap
8
7
  sub: ai-council
@@ -2,7 +2,6 @@
2
2
  model_tier: inherit
3
3
  name: roadmap-create
4
4
  pack: product-basic
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: roadmap
8
7
  sub: create
@@ -2,7 +2,6 @@
2
2
  model_tier: high
3
3
  name: roadmap-materialize
4
4
  pack: product-basic
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: roadmap
8
7
  sub: materialize
@@ -2,7 +2,6 @@
2
2
  model_tier: medium
3
3
  name: roadmap-next
4
4
  pack: product-basic
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: roadmap
8
7
  sub: next
@@ -2,7 +2,6 @@
2
2
  model_tier: medium
3
3
  name: roadmap-process-full
4
4
  pack: product-basic
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: roadmap
8
7
  sub: process-full
@@ -2,7 +2,6 @@
2
2
  model_tier: medium
3
3
  name: roadmap-process-phase
4
4
  pack: product-basic
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: roadmap
8
7
  sub: process-phase
@@ -2,7 +2,6 @@
2
2
  model_tier: medium
3
3
  name: roadmap-process-step
4
4
  pack: product-basic
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: roadmap
8
7
  sub: process-step
@@ -7,7 +7,6 @@ pack: product-basic
7
7
  intent: "Roadmap dispatcher — create, process-step, process-phase, process-full, next, ai-council"
8
8
  routes_to: [roadmap-create, roadmap-ai-council, roadmap-materialize, roadmap-process-step, roadmap-process-phase, roadmap-process-full, roadmap-next]
9
9
  replaces: []
10
- tier: 1
11
10
  visibility: advanced
12
11
  description: Roadmap orchestrator — routes to create (authoring), process-step / process-phase / process-full (autonomous execution), and next (pick a roadmap and ship it).
13
12
  cluster: roadmap
@@ -2,7 +2,6 @@
2
2
  model_tier: inherit
3
3
  name: rule-compliance-audit
4
4
  pack: meta
5
- tier: 2
6
5
  visibility: internal
7
6
  skills: [rule-compliance-audit]
8
7
  description: Audit rule trigger quality, simulate activation, detect overlaps, find never-activating rules, and replay the router matcher over recent prompts (route:audit)
@@ -2,7 +2,6 @@
2
2
  model_tier: high
3
3
  name: security-audit-config
4
4
  pack: engineering-base
5
- tier: 2
6
5
  visibility: internal
7
6
  skills: [judge-security-auditor, threat-modeling, security-audit]
8
7
  description: Audit an assembled agent config (CLAUDE.md, .cursor/rules, settings, MCP, hooks, skills) for prompt-injection / supply-chain risk — A–F score per category, mapped to OWASP Agentic Top 10
@@ -2,7 +2,6 @@
2
2
  model_tier: medium
3
3
  name: skill-preview
4
4
  pack: meta
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: skill
8
7
  sub: preview
@@ -2,7 +2,6 @@
2
2
  model_tier: medium
3
3
  name: skill
4
4
  pack: meta
5
- tier: 2
6
5
  visibility: internal
7
6
  description: Single-skill orchestrator — routes to preview. Non-destructive "what will this skill do?" before you run it.
8
7
  argument-hint: "[preview] <skill-name>"
@@ -2,7 +2,6 @@
2
2
  model_tier: medium
3
3
  name: skills-discover
4
4
  pack: meta
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: skills
8
7
  sub: discover
@@ -2,7 +2,6 @@
2
2
  model_tier: medium
3
3
  name: skills
4
4
  pack: meta
5
- tier: 2
6
5
  visibility: internal
7
6
  description: Skill discovery orchestrator — routes to discover. Local, explained skill recommendations over the catalog + role shortlists + optional local analytics.
8
7
  argument-hint: "[discover] [role]"
@@ -2,7 +2,6 @@
2
2
  model_tier: medium
3
3
  name: sync-agent-settings
4
4
  pack: meta
5
- tier: 2
6
5
  visibility: internal
7
6
  sub: agent-settings
8
7
  cluster: sync
@@ -2,7 +2,6 @@
2
2
  model_tier: medium
3
3
  name: sync-gitignore-fix
4
4
  pack: meta
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: sync
8
7
  sub: gitignore
@@ -2,7 +2,6 @@
2
2
  model_tier: medium
3
3
  name: sync-gitignore
4
4
  pack: meta
5
- tier: 2
6
5
  visibility: internal
7
6
  sub: gitignore
8
7
  cluster: sync
@@ -7,7 +7,6 @@ pack: meta
7
7
  intent: "Sync dispatcher — agent settings or the managed .gitignore block"
8
8
  routes_to: [sync-agent-settings, sync-gitignore, sync-gitignore-fix]
9
9
  replaces: []
10
- tier: 2
11
10
  visibility: internal
12
11
  description: Sync orchestrator — routes to agent-settings (template sync) and gitignore (managed block sync, plus legacy-cleanup fix)
13
12
  cluster: sync
@@ -2,7 +2,6 @@
2
2
  model_tier: medium
3
3
  name: tdd-green
4
4
  pack: engineering-base
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: tdd
8
7
  sub: green
@@ -2,7 +2,6 @@
2
2
  model_tier: medium
3
3
  name: tdd-red
4
4
  pack: engineering-base
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: tdd
8
7
  sub: red
@@ -2,7 +2,6 @@
2
2
  model_tier: medium
3
3
  name: tdd-refactor
4
4
  pack: engineering-base
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: tdd
8
7
  sub: refactor
@@ -4,7 +4,6 @@ name: tdd
4
4
  disable-model-invocation: true
5
5
  argument-hint: "[red|green|refactor] [behavior | args]"
6
6
  pack: engineering-base
7
- tier: 2
8
7
  visibility: internal
9
8
  description: TDD orchestrator — routes to red (failing test), green (minimum code), refactor (clean while green)
10
9
  cluster: tdd
@@ -4,7 +4,6 @@ name: team-adversarial
4
4
  disable-model-invocation: true
5
5
  argument-hint: "<focus>"
6
6
  pack: meta
7
- tier: 2
8
7
  visibility: internal
9
8
  skills: [adversarial-review]
10
9
  description: Thin wrapper — adversarial cross-model review on a named focus via the official plugin (/codex:adversarial-review). Escalation rung above the single-model adversarial-review skill.
@@ -5,7 +5,6 @@ type: orchestrator
5
5
  disable-model-invocation: true
6
6
  argument-hint: "<task>"
7
7
  pack: meta
8
- tier: 2
9
8
  visibility: internal
10
9
  description: Thin wrapper — hand a task to the second model as a native worker via the official plugin (/codex:rescue). The only write-access wrapper; double-gated behind ai_team.allow_delegate.
11
10
  cluster: team
@@ -4,7 +4,6 @@ name: team-review
4
4
  disable-model-invocation: true
5
5
  argument-hint: "[--background]"
6
6
  pack: meta
7
- tier: 2
8
7
  visibility: internal
9
8
  description: Thin wrapper — cross-model review of the current diff via the official plugin (/codex:review). Gated on /team availability (codex CLI + auth); fails closed when the plugin is absent.
10
9
  cluster: team
@@ -3,7 +3,6 @@ model_tier: inherit
3
3
  name: team-status
4
4
  disable-model-invocation: true
5
5
  pack: meta
6
- tier: 2
7
6
  visibility: internal
8
7
  description: Thin wrapper — plugin job status via /codex:status plus a quota block (shared openai counter vs team + council ceilings). Gated on codex CLI/auth availability; fails closed without the plugin.
9
8
  cluster: team
@@ -2,7 +2,6 @@
2
2
  model_tier: medium
3
3
  name: team-knowledge-bootstrap
4
4
  pack: meta
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: team-knowledge
8
7
  sub: bootstrap
@@ -2,7 +2,6 @@
2
2
  model_tier: medium
3
3
  name: team-knowledge-consolidate
4
4
  pack: meta
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: team-knowledge
8
7
  sub: consolidate
@@ -7,7 +7,6 @@ pack: meta
7
7
  intent: "Manage the repo-tracked team-knowledge layer — consolidate typed observation events into agents/knowledge/ pages, bootstrap a project baseline"
8
8
  routes_to: [team-knowledge-consolidate, team-knowledge-bootstrap]
9
9
  replaces: []
10
- tier: 2
11
10
  visibility: internal
12
11
  description: Team-knowledge orchestrator — routes to consolidate and bootstrap
13
12
  cluster: team-knowledge
@@ -7,7 +7,6 @@ pack: meta
7
7
  intent: "Route a cross-model team-mode request (review, adversarial, delegate, status) to the official plugin under ai_team governance"
8
8
  routes_to: [team-review, team-adversarial, team-delegate, team-status]
9
9
  replaces: []
10
- tier: 2
11
10
  visibility: internal
12
11
  description: Team orchestrator — governed cross-model access layer (a second strong model reviews the real diff; read-only multi-host fallback); routes to review, adversarial, delegate, status
13
12
  cluster: team
@@ -2,7 +2,6 @@
2
2
  model_tier: medium
3
3
  name: tests-create
4
4
  pack: engineering-base
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: tests
8
7
  sub: create
@@ -2,7 +2,6 @@
2
2
  model_tier: medium
3
3
  name: tests-e2e-heal
4
4
  pack: engineering-base
5
- tier: 2
6
5
  visibility: internal
7
6
  replaces: [e2e-heal]
8
7
  sub: e2e-heal
@@ -2,7 +2,6 @@
2
2
  model_tier: medium
3
3
  name: tests-e2e-plan
4
4
  pack: engineering-base
5
- tier: 2
6
5
  visibility: internal
7
6
  replaces: [e2e-plan]
8
7
  sub: e2e-plan
@@ -2,7 +2,6 @@
2
2
  model_tier: medium
3
3
  name: tests-execute
4
4
  pack: engineering-base
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: tests
8
7
  sub: execute
@@ -4,7 +4,6 @@ name: tests
4
4
  disable-model-invocation: true
5
5
  argument-hint: "[create|execute|e2e-plan|e2e-heal] [args]"
6
6
  pack: engineering-base
7
- tier: 2
8
7
  visibility: internal
9
8
  description: Tests orchestrator — routes to create, execute, e2e-plan, e2e-heal
10
9
  cluster: tests
@@ -2,7 +2,6 @@
2
2
  model_tier: high
3
3
  name: threat-model
4
4
  pack: engineering-base
5
- tier: 2
6
5
  visibility: internal
7
6
  skills: [threat-modeling, authz-review, security-sensitive-stop]
8
7
  description: Run a pre-implementation threat model on a proposed change — enumerates abuse cases, trust boundaries, and authorization gaps before the first line of code is written
@@ -2,7 +2,6 @@
2
2
  model_tier: medium
3
3
  name: update-form-request-messages
4
4
  pack: engineering-base
5
- tier: 2
6
5
  visibility: internal
7
6
  framework: laravel
8
7
  skills: [laravel-validation]
@@ -2,7 +2,6 @@
2
2
  model_tier: inherit
3
3
  name: upstream-contribute
4
4
  pack: meta
5
- tier: 2
6
5
  visibility: internal
7
6
  skills: [upstream-contribute, skill-writing, learning-to-rule-or-skill]
8
7
  description: Contribute a learning, skill, rule, or fix from a consumer project back to the shared agent-config package
@@ -2,7 +2,6 @@
2
2
  model_tier: inherit
3
3
  name: video-from-script
4
4
  pack: ai-video
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: video
8
7
  sub: from-script
@@ -2,7 +2,6 @@
2
2
  model_tier: inherit
3
3
  name: video-from-song
4
4
  pack: ai-video
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: video
8
7
  sub: from-song
@@ -2,7 +2,6 @@
2
2
  model_tier: inherit
3
3
  name: video-scene
4
4
  pack: ai-video
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: video
8
7
  sub: scene
@@ -2,7 +2,6 @@
2
2
  model_tier: inherit
3
3
  name: video-stitch
4
4
  pack: ai-video
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: video
8
7
  sub: stitch
@@ -2,7 +2,6 @@
2
2
  model_tier: inherit
3
3
  name: video-storyboard
4
4
  pack: ai-video
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: video
8
7
  sub: storyboard
@@ -2,7 +2,6 @@
2
2
  model_tier: inherit
3
3
  name: video
4
4
  pack: ai-video
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: video
8
7
  description: Video-creation orchestrator — Hollywood-level AI video pipeline. Routes to from-script, from-song, scene, storyboard, stitch.
@@ -5,7 +5,6 @@ pack: engineering-base
5
5
  intent: "Pick up the next sensible task and execute it autonomously"
6
6
  routes_to: [refine-prompt, command-routing]
7
7
  replaces: []
8
- tier: 0
9
8
  visibility: visible
10
9
  skills: [refine-prompt, command-routing]
11
10
  description: Drive a free-form prompt end-to-end through refine → score → plan → implement → test → verify → report — Option-A loop over the `work_engine` engine, confidence-band gated, no auto-git.
@@ -2,7 +2,6 @@
2
2
  model_tier: medium
3
3
  name: worktree-cleanup
4
4
  pack: engineering-base
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: worktree
8
7
  sub: cleanup
@@ -2,7 +2,6 @@
2
2
  model_tier: medium
3
3
  name: worktree-create
4
4
  pack: engineering-base
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: worktree
8
7
  sub: create
@@ -2,7 +2,6 @@
2
2
  model_tier: medium
3
3
  name: worktree-status
4
4
  pack: engineering-base
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: worktree
8
7
  sub: status