@event4u/agent-config 10.4.0 → 12.0.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.
- package/.claude-plugin/marketplace.json +1 -1
- package/CHANGELOG.md +73 -182
- package/dist/agent-src/commands/agent-handoff.md +0 -1
- package/dist/agent-src/commands/agent-status.md +0 -1
- package/dist/agent-src/commands/agents/audit.md +0 -1
- package/dist/agent-src/commands/agents/init.md +0 -1
- package/dist/agent-src/commands/agents/optimize.md +0 -1
- package/dist/agent-src/commands/agents/user/accept.md +0 -1
- package/dist/agent-src/commands/agents/user/delete.md +0 -1
- package/dist/agent-src/commands/agents/user/init.md +0 -1
- package/dist/agent-src/commands/agents/user/review.md +0 -1
- package/dist/agent-src/commands/agents/user/show.md +0 -1
- package/dist/agent-src/commands/agents/user/update.md +0 -1
- package/dist/agent-src/commands/agents/user.md +0 -1
- package/dist/agent-src/commands/agents.md +0 -1
- package/dist/agent-src/commands/analytics/prune.md +0 -1
- package/dist/agent-src/commands/analytics/show.md +0 -1
- package/dist/agent-src/commands/analytics.md +0 -1
- package/dist/agent-src/commands/analyze/conformance.md +0 -1
- package/dist/agent-src/commands/analyze/decision.md +0 -1
- package/dist/agent-src/commands/analyze/inbox.md +0 -1
- package/dist/agent-src/commands/analyze/incident.md +0 -1
- package/dist/agent-src/commands/analyze/near-miss.md +0 -1
- package/dist/agent-src/commands/analyze/postmortem.md +0 -1
- package/dist/agent-src/commands/analyze/premortem.md +0 -1
- package/dist/agent-src/commands/analyze/reference-repo.md +0 -1
- package/dist/agent-src/commands/analyze.md +0 -1
- package/dist/agent-src/commands/brand/identity.md +0 -1
- package/dist/agent-src/commands/brand/review.md +0 -1
- package/dist/agent-src/commands/brand/strategy.md +0 -1
- package/dist/agent-src/commands/brand/tokens.md +0 -1
- package/dist/agent-src/commands/brand/voice.md +0 -1
- package/dist/agent-src/commands/brand.md +0 -1
- package/dist/agent-src/commands/bug/fix.md +0 -1
- package/dist/agent-src/commands/bug/investigate.md +0 -1
- package/dist/agent-src/commands/bug.md +0 -1
- package/dist/agent-src/commands/challenge-me/vision.md +0 -1
- package/dist/agent-src/commands/challenge-me/with-docs.md +0 -1
- package/dist/agent-src/commands/challenge-me.md +0 -1
- package/dist/agent-src/commands/chat-history/import.md +0 -1
- package/dist/agent-src/commands/chat-history.md +0 -1
- package/dist/agent-src/commands/check-current-md.md +0 -1
- package/dist/agent-src/commands/commit/in-chunks.md +0 -1
- package/dist/agent-src/commands/commit.md +0 -1
- package/dist/agent-src/commands/condense.md +0 -1
- package/dist/agent-src/commands/context/create.md +0 -1
- package/dist/agent-src/commands/context/refactor.md +0 -1
- package/dist/agent-src/commands/context.md +0 -1
- package/dist/agent-src/commands/contribution-precheck.md +0 -1
- package/dist/agent-src/commands/cost/profile.md +0 -1
- package/dist/agent-src/commands/cost/report.md +0 -1
- package/dist/agent-src/commands/cost.md +0 -1
- package/dist/agent-src/commands/council/analysis.md +0 -1
- package/dist/agent-src/commands/council/debate.md +13 -5
- package/dist/agent-src/commands/council/default.md +26 -12
- package/dist/agent-src/commands/council/design.md +0 -1
- package/dist/agent-src/commands/council/optimize.md +0 -1
- package/dist/agent-src/commands/council/pr.md +0 -1
- package/dist/agent-src/commands/council.md +1 -2
- package/dist/agent-src/commands/design-system/capture.md +0 -1
- package/dist/agent-src/commands/design-system/generate.md +23 -2
- package/dist/agent-src/commands/design-system/import.md +0 -1
- package/dist/agent-src/commands/design-system.md +0 -1
- package/dist/agent-src/commands/estimate-ticket.md +0 -1
- package/dist/agent-src/commands/explain-run.md +0 -1
- package/dist/agent-src/commands/feature/dev.md +0 -1
- package/dist/agent-src/commands/feature/explore.md +0 -1
- package/dist/agent-src/commands/feature/plan.md +0 -1
- package/dist/agent-src/commands/feature/refactor.md +0 -1
- package/dist/agent-src/commands/feature/roadmap.md +0 -1
- package/dist/agent-src/commands/feature.md +0 -1
- package/dist/agent-src/commands/fix/ci.md +0 -1
- package/dist/agent-src/commands/fix/comments.md +0 -1
- package/dist/agent-src/commands/fix/portability.md +0 -1
- package/dist/agent-src/commands/fix/pr-comments-loop.md +0 -1
- package/dist/agent-src/commands/fix/pr-comments.md +0 -1
- package/dist/agent-src/commands/fix/quality.md +0 -1
- package/dist/agent-src/commands/fix/refs.md +0 -1
- package/dist/agent-src/commands/fix/route.md +0 -1
- package/dist/agent-src/commands/fix/seeder.md +0 -1
- package/dist/agent-src/commands/fix.md +0 -1
- package/dist/agent-src/commands/ghostwriter/delete.md +0 -1
- package/dist/agent-src/commands/ghostwriter/fetch.md +0 -1
- package/dist/agent-src/commands/ghostwriter/list.md +0 -1
- package/dist/agent-src/commands/ghostwriter/show.md +0 -1
- package/dist/agent-src/commands/ghostwriter/write.md +0 -1
- package/dist/agent-src/commands/ghostwriter.md +0 -1
- package/dist/agent-src/commands/grill-me.md +0 -1
- package/dist/agent-src/commands/humanize.md +0 -1
- package/dist/agent-src/commands/image/analyse.md +0 -1
- package/dist/agent-src/commands/image/create.md +0 -1
- package/dist/agent-src/commands/image/verify.md +0 -1
- package/dist/agent-src/commands/image.md +0 -1
- package/dist/agent-src/commands/implement-ticket.md +0 -1
- package/dist/agent-src/commands/jira-ticket.md +0 -1
- package/dist/agent-src/commands/judge/on-diff.md +0 -1
- package/dist/agent-src/commands/judge/solo.md +0 -1
- package/dist/agent-src/commands/judge/steps.md +0 -1
- package/dist/agent-src/commands/judge.md +0 -1
- package/dist/agent-src/commands/knowledge/cross-repo.md +0 -1
- package/dist/agent-src/commands/knowledge/forget.md +0 -1
- package/dist/agent-src/commands/knowledge/ingest.md +0 -1
- package/dist/agent-src/commands/knowledge/list.md +0 -1
- package/dist/agent-src/commands/knowledge.md +0 -1
- package/dist/agent-src/commands/memory/add.md +0 -1
- package/dist/agent-src/commands/memory/learn-low-impact.md +0 -1
- package/dist/agent-src/commands/memory/load.md +0 -1
- package/dist/agent-src/commands/memory/mine-session.md +0 -1
- package/dist/agent-src/commands/memory/promote.md +0 -1
- package/dist/agent-src/commands/memory/propose.md +0 -1
- package/dist/agent-src/commands/memory.md +0 -1
- package/dist/agent-src/commands/mission/upgrade.md +0 -1
- package/dist/agent-src/commands/mode.md +0 -1
- package/dist/agent-src/commands/module/create.md +0 -1
- package/dist/agent-src/commands/module/explore.md +0 -1
- package/dist/agent-src/commands/module.md +0 -1
- package/dist/agent-src/commands/optimize/agents-dir.md +0 -1
- package/dist/agent-src/commands/optimize/augmentignore.md +0 -1
- package/dist/agent-src/commands/optimize/deep.md +0 -1
- package/dist/agent-src/commands/optimize/project.md +0 -1
- package/dist/agent-src/commands/optimize/prompt.md +0 -1
- package/dist/agent-src/commands/optimize/rtk.md +0 -1
- package/dist/agent-src/commands/optimize/skills.md +0 -1
- package/dist/agent-src/commands/optimize.md +0 -1
- package/dist/agent-src/commands/orchestrate.md +0 -1
- package/dist/agent-src/commands/override/create.md +0 -1
- package/dist/agent-src/commands/override/manage.md +0 -1
- package/dist/agent-src/commands/override.md +0 -1
- package/dist/agent-src/commands/package/reset.md +0 -1
- package/dist/agent-src/commands/package/test.md +0 -1
- package/dist/agent-src/commands/package.md +0 -1
- package/dist/agent-src/commands/post-as/ghostwriter.md +0 -1
- package/dist/agent-src/commands/post-as/me.md +0 -1
- package/dist/agent-src/commands/post-as.md +0 -1
- package/dist/agent-src/commands/pr/create/description-only.md +0 -1
- package/dist/agent-src/commands/pr/create.md +67 -28
- package/dist/agent-src/commands/prediction-pool.md +0 -1
- package/dist/agent-src/commands/prepare-for-review.md +0 -1
- package/dist/agent-src/commands/profile/activate.md +0 -1
- package/dist/agent-src/commands/profile/deactivate.md +0 -1
- package/dist/agent-src/commands/profile/show.md +0 -1
- package/dist/agent-src/commands/profile.md +0 -1
- package/dist/agent-src/commands/project/analyze.md +0 -1
- package/dist/agent-src/commands/project/health.md +0 -1
- package/dist/agent-src/commands/project.md +0 -1
- package/dist/agent-src/commands/refine-ticket.md +0 -1
- package/dist/agent-src/commands/research/deep.md +0 -1
- package/dist/agent-src/commands/research/report.md +0 -1
- package/dist/agent-src/commands/research.md +0 -1
- package/dist/agent-src/commands/review/changes.md +0 -1
- package/dist/agent-src/commands/review/routing.md +0 -1
- package/dist/agent-src/commands/review.md +0 -1
- package/dist/agent-src/commands/roadmap/ai-council.md +0 -1
- package/dist/agent-src/commands/roadmap/create.md +0 -1
- package/dist/agent-src/commands/roadmap/materialize.md +0 -1
- package/dist/agent-src/commands/roadmap/next.md +0 -1
- package/dist/agent-src/commands/roadmap/process-full.md +0 -1
- package/dist/agent-src/commands/roadmap/process-phase.md +0 -1
- package/dist/agent-src/commands/roadmap/process-step.md +0 -1
- package/dist/agent-src/commands/roadmap.md +0 -1
- package/dist/agent-src/commands/rule-compliance-audit.md +0 -1
- package/dist/agent-src/commands/security-audit-config.md +0 -1
- package/dist/agent-src/commands/skill/preview.md +0 -1
- package/dist/agent-src/commands/skill.md +0 -1
- package/dist/agent-src/commands/skills/discover.md +0 -1
- package/dist/agent-src/commands/skills.md +0 -1
- package/dist/agent-src/commands/sync/agent-settings.md +0 -1
- package/dist/agent-src/commands/sync/gitignore/fix.md +0 -1
- package/dist/agent-src/commands/sync/gitignore.md +0 -1
- package/dist/agent-src/commands/sync.md +0 -1
- package/dist/agent-src/commands/tdd/green.md +0 -1
- package/dist/agent-src/commands/tdd/red.md +0 -1
- package/dist/agent-src/commands/tdd/refactor.md +0 -1
- package/dist/agent-src/commands/tdd.md +0 -1
- package/dist/agent-src/commands/team/adversarial.md +0 -1
- package/dist/agent-src/commands/team/delegate.md +0 -1
- package/dist/agent-src/commands/team/review.md +0 -1
- package/dist/agent-src/commands/team/status.md +0 -1
- package/dist/agent-src/commands/team-knowledge/bootstrap.md +0 -1
- package/dist/agent-src/commands/team-knowledge/consolidate.md +0 -1
- package/dist/agent-src/commands/team-knowledge.md +0 -1
- package/dist/agent-src/commands/team.md +0 -1
- package/dist/agent-src/commands/tests/create.md +0 -1
- package/dist/agent-src/commands/tests/e2e-heal.md +0 -1
- package/dist/agent-src/commands/tests/e2e-plan.md +0 -1
- package/dist/agent-src/commands/tests/execute.md +0 -1
- package/dist/agent-src/commands/tests.md +0 -1
- package/dist/agent-src/commands/threat-model.md +0 -1
- package/dist/agent-src/commands/update-form-request-messages.md +0 -1
- package/dist/agent-src/commands/upstream-contribute.md +0 -1
- package/dist/agent-src/commands/video/from-script.md +0 -1
- package/dist/agent-src/commands/video/from-song.md +0 -1
- package/dist/agent-src/commands/video/scene.md +0 -1
- package/dist/agent-src/commands/video/stitch.md +0 -1
- package/dist/agent-src/commands/video/storyboard.md +0 -1
- package/dist/agent-src/commands/video.md +0 -1
- package/dist/agent-src/commands/work.md +0 -1
- package/dist/agent-src/commands/worktree/cleanup.md +0 -1
- package/dist/agent-src/commands/worktree/create.md +5 -4
- package/dist/agent-src/commands/worktree/status.md +0 -1
- package/dist/agent-src/commands/worktree/verify.md +0 -1
- package/dist/agent-src/commands/worktree.md +0 -1
- package/dist/agent-src/rules/settings-ask-protocol.md +14 -9
- package/dist/agent-src/skills/ai-council/SKILL.md +24 -6
- package/dist/agent-src/skills/corpus-grounding/SKILL.md +12 -1
- package/dist/agent-src/skills/corpus-grounding/scripts/decision_engine.ts +215 -7
- package/dist/agent-src/skills/corpus-grounding/scripts/ground.ts +39 -1
- package/dist/agent-src/skills/design-intelligence/ATTRIBUTION.md +19 -2
- package/dist/agent-src/skills/design-intelligence/data/manifest.json +36 -1
- package/dist/agent-src/skills/design-intelligence/data/motion.csv +17 -0
- package/dist/agent-src/skills/docx-authoring/SKILL.md +1 -0
- package/dist/agent-src/skills/git-workflow/SKILL.md +17 -3
- package/dist/agent-src/skills/pdf-tools/SKILL.md +1 -0
- package/dist/agent-src/skills/skill-writing/SKILL.md +35 -0
- package/dist/agent-src/skills/subagent-orchestration/SKILL.md +9 -6
- package/dist/agent-src/skills/using-git-worktrees/SKILL.md +25 -21
- package/dist/agent-src/templates/agent-settings.md +0 -1
- package/dist/agent-src/templates/agents/agent-project-settings.example.yml +1 -1
- package/dist/cli/commands/commands.candidates.test.js +1 -1
- package/dist/cli/commands/commands.candidates.test.js.map +1 -1
- package/dist/cli/commands/commands.js +9 -15
- package/dist/cli/commands/commands.js.map +1 -1
- package/dist/cli/commands/profiles.test.js +7 -7
- package/dist/cli/commands/profiles.test.js.map +1 -1
- package/dist/cli/discovery/loadManifest.js.map +1 -1
- package/dist/cli/main.js +2 -2
- package/dist/cli/main.js.map +1 -1
- package/dist/cli-delegate/{chunk-BV3WR67D.js → chunk-55WZN5VF.js} +3 -6
- package/dist/cli-delegate/{chunk-X3VOARZD.js → chunk-L565YFXH.js} +3 -3
- package/dist/cli-delegate/{chunk-JMQZ7MM5.js → chunk-MNWRDMR5.js} +1 -1
- package/dist/cli-delegate/{chunk-IR3IVRVC.js → chunk-NLP54U3J.js} +2 -1
- package/dist/cli-delegate/{chunk-FV34EGEX.js → chunk-NN4KW4HZ.js} +1 -1
- package/dist/cli-delegate/{chunk-6ENSXSBW.js → chunk-PPQO4NGR.js} +1 -1
- package/dist/cli-delegate/{chunk-6LOPHJLD.js → chunk-RYNADUFG.js} +1 -1
- package/dist/cli-delegate/cmd_analyze_session.js +1 -1
- package/dist/cli-delegate/cmd_brand_status.js +1 -1
- package/dist/cli-delegate/cmd_conformance.js +16 -4
- package/dist/cli-delegate/cmd_doctor.js +2 -2
- package/dist/cli-delegate/cmd_explain.js +2 -2
- package/dist/cli-delegate/cmd_export.js +4 -4
- package/dist/cli-delegate/cmd_handoff.js +2 -2
- package/dist/cli-delegate/cmd_mcp_available.js +1 -1
- package/dist/cli-delegate/cmd_migrate.js +2 -2
- package/dist/cli-delegate/cmd_packs_active.js +2 -2
- package/dist/cli-delegate/cmd_prune.js +4 -4
- package/dist/cli-delegate/cmd_route_audit.js +2 -2
- package/dist/cli-delegate/cmd_route_explain.js +1 -1
- package/dist/cli-delegate/cmd_session_recycle.js +1 -1
- package/dist/cli-delegate/cmd_settings_get.js +1 -1
- package/dist/cli-delegate/cmd_settings_migrate.js +4 -4
- package/dist/cli-delegate/cmd_settings_set.js +1 -1
- package/dist/cli-delegate/cmd_sync.js +4 -4
- package/dist/cli-delegate/cmd_uninstall.js +4 -4
- package/dist/cli-delegate/cmd_update.js +1 -1
- package/dist/cli-delegate/cmd_upgrade.js +1 -1
- package/dist/cli-delegate/cmd_validate.js +4 -4
- package/dist/cli-delegate/cmd_versions.js +1 -1
- package/dist/discovery/deprecation-report.md +1 -1
- package/dist/discovery/discovery-manifest.json +216 -415
- package/dist/discovery/discovery-manifest.json.sha256 +1 -1
- package/dist/discovery/discovery-manifest.summary.md +2 -2
- package/dist/discovery/dormancy-report.md +1 -1
- package/dist/discovery/orphan-report.md +1 -1
- package/dist/discovery/packs.json +3 -3
- package/dist/discovery/trust-report.md +1 -1
- package/dist/discovery/workspaces.json +3 -3
- package/dist/hooks/dispatch.js +68 -14
- package/dist/install/install.mjs +5 -7
- package/dist/mcp/registry-manifest.json +3 -3
- package/dist/mcp/server.json +2 -2
- package/dist/mcp/server.mjs +48 -6
- package/dist/scripts/_lib/agent_settings.js +8 -0
- package/dist/scripts/_lib/agent_settings.js.map +1 -1
- package/dist/server/schemas/settings.js +3 -4
- package/dist/server/schemas/settings.js.map +1 -1
- package/dist/ui/assets/{index-5fXOHoVh.js → index-B0aMJnuz.js} +2 -2
- package/dist/ui/assets/{index-5fXOHoVh.js.map → index-B0aMJnuz.js.map} +1 -1
- package/dist/ui/index.html +1 -1
- package/docs/MIGRATION.md +1 -0
- package/docs/contracts/settings-classes.md +53 -9
- package/package.json +1 -1
- package/src/config/agent-settings.template.yml +49 -18
- package/src/config/gate-coverage.yml +13 -3
- package/src/config/gate-violation-baselines.json +4 -4
- package/src/config/pack-size-budget.json +3 -2
- package/src/scripts/_dispatch.bash +42 -5
- package/src/scripts/_lib/agent_settings.ts +8 -0
- package/src/scripts/audit_command_surface.ts +21 -15
- package/src/scripts/build_catalog_index.ts +1 -1
- package/src/scripts/build_discovery_manifest.ts +30 -34
- package/src/scripts/check_branch_freshness.ts +393 -12
- package/src/scripts/external_sources_denylist.json +7 -2
- package/src/scripts/gen_discovery_baseline.ts +3 -3
- package/src/scripts/hook_manifest.yaml +20 -0
- package/src/scripts/hooks/subagent_ledger_hook.ts +17 -4
- package/src/scripts/lint_command_tiers.ts +29 -75
- package/src/scripts/lint_originality.ts +101 -14
- package/src/scripts/schemas/command.schema.json +4 -9
- package/src/scripts/schemas/skill.schema.json +10 -1
- package/src/scripts/session_register_hook.ts +120 -10
- package/src/scripts/skill_linter.ts +82 -2
- package/src/scripts/worktree_cleanup_check.ts +111 -7
- package/src/server/schemas/settings.ts +3 -6
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
model_tier: inherit
|
|
3
3
|
name: ghostwriter
|
|
4
4
|
pack: gtm-marketing
|
|
5
|
-
tier: 2
|
|
6
5
|
visibility: internal
|
|
7
6
|
description: Ghostwriter cluster — fetch, write, list, show, and delete public-figure voice profiles (the third voice primitive alongside personas/ and .agent-user.md).
|
|
8
7
|
argument-hint: "[fetch|write|list|show|delete] [args]"
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
model_tier: inherit
|
|
3
3
|
name: grill-me
|
|
4
4
|
pack: product-reasoning
|
|
5
|
-
tier: 2
|
|
6
5
|
visibility: internal
|
|
7
6
|
description: Alias for /challenge-me — interactive grill-style interview that sharpens a fuzzy plan/idea into a copyable Markdown pitch
|
|
8
7
|
argument-hint: "[vision|with-docs] [flags] [seed]"
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
model_tier: inherit
|
|
3
3
|
name: humanize
|
|
4
4
|
pack: gtm-marketing
|
|
5
|
-
tier: 2
|
|
6
5
|
visibility: internal
|
|
7
6
|
description: Remove AI-writing tells from pasted text or a file — runs the humanizer skill's draft→audit→final loop and prints the rewrite plus a detector summary.
|
|
8
7
|
argument-hint: "[path] [--voice=<slug|me>] [--language=en|de|auto]"
|
|
@@ -5,7 +5,6 @@ pack: engineering-base
|
|
|
5
5
|
intent: "Implement a tracker ticket end-to-end from its id"
|
|
6
6
|
routes_to: [refine-ticket, feature-planning]
|
|
7
7
|
replaces: []
|
|
8
|
-
tier: 0
|
|
9
8
|
visibility: visible
|
|
10
9
|
skills: [refine-ticket, feature-planning]
|
|
11
10
|
description: Drive a ticket end-to-end through refine → memory → analyze → plan → implement → test → verify → report — Option-A loop over the `work_engine` engine, block-on-ambiguity, no auto-git.
|
|
@@ -5,7 +5,6 @@ pack: product-basic
|
|
|
5
5
|
intent: "Read a Jira ticket from the branch and implement the feature or fix the bug"
|
|
6
6
|
routes_to: [jira-integration, feature-planning]
|
|
7
7
|
replaces: []
|
|
8
|
-
tier: 1
|
|
9
8
|
visibility: advanced
|
|
10
9
|
skills: [laravel]
|
|
11
10
|
description: Read Jira ticket from branch name, analyze linked Sentry issues, implement feature or fix bug
|
|
@@ -7,7 +7,6 @@ pack: engineering-base
|
|
|
7
7
|
intent: "Adversarial-judging dispatcher — solo, on-diff, steps"
|
|
8
8
|
routes_to: [judge-solo, judge-on-diff, judge-steps]
|
|
9
9
|
replaces: []
|
|
10
|
-
tier: 1
|
|
11
10
|
visibility: advanced
|
|
12
11
|
description: Judge orchestrator — routes to solo, steps, on-diff
|
|
13
12
|
cluster: judge
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
model_tier: medium
|
|
3
3
|
name: knowledge
|
|
4
4
|
pack: product-discovery
|
|
5
|
-
tier: 2
|
|
6
5
|
visibility: internal
|
|
7
6
|
description: Knowledge orchestrator — routes to ingest, list, forget. Local-only file ingestion into the agent memory namespace.
|
|
8
7
|
argument-hint: "[ingest|list|forget|cross-repo] [args]"
|
|
@@ -7,7 +7,6 @@ pack: memory
|
|
|
7
7
|
intent: "Manage the agent memory layer — add, load, promote, propose"
|
|
8
8
|
routes_to: [memory-add, memory-load, memory-mine-session, memory-promote, memory-propose, memory-learn-low-impact]
|
|
9
9
|
replaces: []
|
|
10
|
-
tier: 1
|
|
11
10
|
visibility: advanced
|
|
12
11
|
description: Memory orchestrator — routes to add, load, mine-session, promote, propose
|
|
13
12
|
cluster: memory
|
|
@@ -5,7 +5,6 @@ pack: engineering-base
|
|
|
5
5
|
intent: "Upgrade a Laravel application one major version (10→11, 11→12) via the gated /work engine with a structured breaking-change catalog"
|
|
6
6
|
routes_to: [dependency-upgrade]
|
|
7
7
|
replaces: []
|
|
8
|
-
tier: 1
|
|
9
8
|
visibility: advanced
|
|
10
9
|
skills: [dependency-upgrade]
|
|
11
10
|
framework: laravel
|
|
@@ -5,7 +5,6 @@ pack: meta
|
|
|
5
5
|
intent: "Switch the active role-mode (developer/reviewer/tester/po/incident/planner)"
|
|
6
6
|
routes_to: [role-mode-adherence]
|
|
7
7
|
replaces: []
|
|
8
|
-
tier: 1
|
|
9
8
|
visibility: advanced
|
|
10
9
|
description: Set the active role mode — prints the contract, lists default skills, and refuses work outside the contract (see role-contracts)
|
|
11
10
|
argument-hint: "[developer|reviewer|tester|po|incident|planner|none]"
|
|
@@ -7,7 +7,6 @@ pack: meta
|
|
|
7
7
|
intent: "Optimization dispatcher — skills, rtk, augmentignore, agents-dir, project sweep, prompt, deep autonomous loop"
|
|
8
8
|
routes_to: [optimize-skills, optimize-rtk, optimize-augmentignore, optimize-agents-dir, optimize-project, optimize-prompt, optimize-deep]
|
|
9
9
|
replaces: []
|
|
10
|
-
tier: 1
|
|
11
10
|
visibility: advanced
|
|
12
11
|
description: Optimize orchestrator — routes to skills, agents-dir, augmentignore, rtk-filters, project (project-wide sweep), prompt (AI-prompt polish), deep (autonomous deep-refactoring loop)
|
|
13
12
|
cluster: optimize
|
|
@@ -7,7 +7,6 @@ pack: meta
|
|
|
7
7
|
intent: "Package dispatcher — test the package install or reset the installed state"
|
|
8
8
|
routes_to: [package-test, package-reset]
|
|
9
9
|
replaces: []
|
|
10
|
-
tier: 2
|
|
11
10
|
visibility: internal
|
|
12
11
|
description: Package orchestrator — routes to test (verify the package install) and reset (restore installed state)
|
|
13
12
|
cluster: package
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
model_tier: inherit
|
|
3
3
|
name: post-as
|
|
4
4
|
pack: gtm-marketing
|
|
5
|
-
tier: 2
|
|
6
5
|
visibility: internal
|
|
7
6
|
description: Consumer-facing write entry points — :me drafts in the maintainer's own voice from .agent-user.md (no disclosure); :ghostwriter is a thin alias for /ghostwriter:write (mandatory disclosure footer).
|
|
8
7
|
argument-hint: "[me|ghostwriter] [args]"
|
|
@@ -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]
|
|
@@ -68,52 +67,92 @@ gate.
|
|
|
68
67
|
|
|
69
68
|
Run, in order:
|
|
70
69
|
|
|
71
|
-
1.
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
70
|
+
1. **Ask the gate, never hand-roll the comparison:**
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
npx tsx node_modules/@event4u/agent-config/src/scripts/check_branch_freshness.ts
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
It resolves the base itself — explicit `--base`, else the base of the **open
|
|
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.
|
|
95
|
+
|
|
96
|
+
2. `gh pr list --state open --base {resolved-base} --limit 20 --json number,headRefName,files`
|
|
97
|
+
— open PRs targeting the same base, for the overlap question below.
|
|
76
98
|
|
|
77
99
|
**Decision matrix:**
|
|
78
100
|
|
|
79
|
-
|
|
|
101
|
+
| Gate | Overlapping open PR touches same files? | Action |
|
|
80
102
|
|---|---|---|
|
|
81
|
-
| `0` | — | Proceed to Step 2 |
|
|
82
|
-
| `1
|
|
83
|
-
| `1
|
|
84
|
-
|
|
85
|
-
|
|
103
|
+
| exit `0`, prints `branch is current` | — | Proceed to Step 2 |
|
|
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. |
|
|
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. |
|
|
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. |
|
|
110
|
+
|
|
111
|
+
A branch behind its base is **not** current — bring the base in **before** the PR
|
|
86
112
|
exists, never after. Auto-merge when there is no file overlap (the common case);
|
|
87
113
|
only ask when an overlapping open PR makes the base genuinely ambiguous. Never
|
|
88
114
|
improvise the base or silently proceed when behind **and** overlapping. The
|
|
89
115
|
10-second fetch beats hours of rebase reconciliation after the parent PR lands.
|
|
90
116
|
|
|
91
|
-
**
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
117
|
+
**After EVERY merge — not only on conflict — regenerate the derived files.**
|
|
118
|
+
This is the half that gets skipped, because a merge that lands cleanly *looks*
|
|
119
|
+
finished. It is not: these files are **generated**, so a clean auto-merge of
|
|
120
|
+
them produces a file that describes neither side's sources. The dashboard is the
|
|
121
|
+
usual casualty — it merges without a conflict marker and then reports a roadmap
|
|
122
|
+
set that no longer exists.
|
|
123
|
+
|
|
124
|
+
1. `./agent-config roadmap:progress` → the roadmap dashboard.
|
|
125
|
+
2. `./scripts-run src/scripts/build_proof` → `docs/proof.md`.
|
|
126
|
+
3. `bash src/scripts/condense.sh --sync`, then `--check` → re-projects
|
|
127
|
+
`dist/agent-src/` from the merged source.
|
|
101
128
|
4. Stage the regenerated files, complete the merge, and re-run the touched
|
|
102
129
|
verification before pushing.
|
|
103
130
|
|
|
104
|
-
|
|
105
|
-
|
|
131
|
+
On a **conflict**, the same four steps are the resolution — regenerate from the
|
|
132
|
+
merged sources, never hand-pick hunks. Only a conflict in **hand-authored**
|
|
133
|
+
content (source code, prose you or the other PR wrote) is surfaced to the user;
|
|
134
|
+
a generated-file conflict never is.
|
|
106
135
|
|
|
107
136
|
### 1b-ii. Update freshness — MANDATORY on EVERY later push to an open PR
|
|
108
137
|
|
|
109
138
|
The gate above is not creation-only. **Every subsequent push** to a branch with
|
|
110
139
|
an open PR (a CI fix, a review response, a follow-up commit) re-runs the same
|
|
111
|
-
sequence first: `
|
|
112
|
-
`origin/{
|
|
140
|
+
sequence first: `check_branch_freshness` → on exit `1`, merge
|
|
141
|
+
`origin/{resolved-base}` in → regenerate the derived files → verify → push.
|
|
113
142
|
A PR that sits open while its base advances goes stale silently; keeping the
|
|
114
143
|
base merged **at every touch** means it stays `mergeStateStatus: CLEAN` instead
|
|
115
|
-
of accumulating conflicts for the moment the user wants to merge. If the
|
|
116
|
-
|
|
144
|
+
of accumulating conflicts for the moment the user wants to merge. If the gate
|
|
145
|
+
exits `0`, the step costs one `ls-remote` and nothing else.
|
|
146
|
+
|
|
147
|
+
Once the PR exists, this is also when the resolution gets *more* precise rather
|
|
148
|
+
than less: the gate can now read the PR's real `baseRefName` from the forge, so
|
|
149
|
+
a stacked or release-line PR is measured against the branch it will actually
|
|
150
|
+
merge into instead of against the repo default.
|
|
151
|
+
|
|
152
|
+
Where the project wires this gate into its pre-push chain, a push that goes out
|
|
153
|
+
through the hook is covered without a separate step. Run it by hand when you push
|
|
154
|
+
with the hook bypassed, or when you are about to open the PR some time after the
|
|
155
|
+
last push — that gap is exactly where a base moves unseen.
|
|
117
156
|
|
|
118
157
|
### 1c. PR-gate — archive completed roadmaps (MANDATORY)
|
|
119
158
|
|
|
@@ -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
|
|
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]"
|