@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
|
@@ -7,7 +7,6 @@ pack: engineering-base
|
|
|
7
7
|
intent: "Bug dispatcher — investigate the root cause or implement the fix"
|
|
8
8
|
routes_to: [bug-investigate, bug-fix]
|
|
9
9
|
replaces: []
|
|
10
|
-
tier: 2
|
|
11
10
|
visibility: internal
|
|
12
11
|
description: Bug orchestrator — routes to investigate (root cause) and fix (plan + implement)
|
|
13
12
|
cluster: bug
|
|
@@ -4,7 +4,6 @@ name: chat-history
|
|
|
4
4
|
disable-model-invocation: true
|
|
5
5
|
argument-hint: "[import]"
|
|
6
6
|
pack: memory
|
|
7
|
-
tier: 2
|
|
8
7
|
visibility: internal
|
|
9
8
|
description: Chat-history orchestrator — routes to import (selective cross-session resume). Mining moved to /memory mine-session; raw-log inspection uses the host's native transcript view.
|
|
10
9
|
cluster: chat-history
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
model_tier: medium
|
|
3
3
|
name: check-current-md
|
|
4
4
|
pack: meta
|
|
5
|
-
tier: 2
|
|
6
5
|
visibility: internal
|
|
7
6
|
description: "Check the open .md file (or a passed path) for German outside DE:/EN: anchor blocks — umlauts, function words, untranslated quotes. Reports and offers fixes."
|
|
8
7
|
argument-hint: "[path...]"
|
|
@@ -5,7 +5,6 @@ pack: meta
|
|
|
5
5
|
intent: "Condense src/ sources into the shipped dist/agent-src trees"
|
|
6
6
|
routes_to: [skill-management]
|
|
7
7
|
replaces: []
|
|
8
|
-
tier: 1
|
|
9
8
|
visibility: advanced
|
|
10
9
|
skills: []
|
|
11
10
|
description: Condense .md files from src/ into telegraph format and write to dist/agent-src/
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
model_tier: medium
|
|
3
3
|
name: contribution-precheck
|
|
4
4
|
pack: meta
|
|
5
|
-
tier: 2
|
|
6
5
|
visibility: internal
|
|
7
6
|
skills: [lint-skills, check-refs]
|
|
8
7
|
description: "Contributor self-service precheck: run the PR-relevant lint subset (skill linter, originality gate, frontmatter schema) on changed files locally — a verdict with fix hints before opening a PR."
|
|
@@ -7,7 +7,6 @@ pack: meta
|
|
|
7
7
|
intent: "Cost dispatcher — session cost report or rule-loading cost profile"
|
|
8
8
|
routes_to: [cost-report, cost-profile]
|
|
9
9
|
replaces: []
|
|
10
|
-
tier: 2
|
|
11
10
|
visibility: internal
|
|
12
11
|
description: Cost orchestrator — routes to report (session token cost + budget ladder) and profile (change the rule_loading_tier)
|
|
13
12
|
cluster: cost
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
model_tier: inherit
|
|
3
3
|
name: council-debate
|
|
4
4
|
pack: product-reasoning
|
|
5
|
-
tier: 2
|
|
6
5
|
visibility: internal
|
|
7
6
|
cluster: council
|
|
8
7
|
sub: debate
|
|
@@ -68,11 +67,20 @@ this automatically when invoked via `debate`). The estimate covers
|
|
|
68
67
|
projection. Surface the projection to the user with a clear note that
|
|
69
68
|
progressive disclosure may stop the debate early.
|
|
70
69
|
|
|
71
|
-
### 4.
|
|
70
|
+
### 4. Spend bound (ask when a billable member has no ceiling)
|
|
72
71
|
|
|
73
|
-
Per [`ai-council` skill §
|
|
74
|
-
|
|
75
|
-
|
|
72
|
+
Per [`ai-council` skill § Procedure 3](../../skills/ai-council/SKILL.md)
|
|
73
|
+
and ADR-230, surface the projected total spend in every case, and ask
|
|
74
|
+
only when a billable member is in the fan-out AND both
|
|
75
|
+
`cost_budget.max_total_usd` and `daily_limit_usd` are `0`.
|
|
76
|
+
|
|
77
|
+
A debate multiplies the per-round cost by `N`, so quote the worst case,
|
|
78
|
+
not one round — that is what a ceiling has to cover. The between-rounds
|
|
79
|
+
confirmation gate is unaffected: it is a separate, per-round control and
|
|
80
|
+
it still fires, which is where a debate that turns out expensive gets
|
|
81
|
+
stopped.
|
|
82
|
+
|
|
83
|
+
Numbered options, when the ask applies:
|
|
76
84
|
|
|
77
85
|
> The debate is projected to cost **$X.XXXX** ($Y.YYYY × N rounds, worst case).
|
|
78
86
|
>
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
model_tier: inherit
|
|
3
3
|
name: council-default
|
|
4
4
|
pack: product-reasoning
|
|
5
|
-
tier: 2
|
|
6
5
|
visibility: internal
|
|
7
6
|
cluster: council
|
|
8
7
|
sub: default
|
|
@@ -152,11 +151,22 @@ Construct each member from the resolved mode:
|
|
|
152
151
|
- `manual` → `ManualClient` from `scripts.ai_council.clients`
|
|
153
152
|
(`billable=False`, no API key, no SDK call).
|
|
154
153
|
|
|
155
|
-
### 3.
|
|
154
|
+
### 3. Spend bound — ASK when a billable member has no ceiling
|
|
156
155
|
|
|
157
|
-
Council calls to billable members spend money
|
|
158
|
-
|
|
159
|
-
|
|
156
|
+
Council calls to billable members spend money, so a bound is mandatory.
|
|
157
|
+
Per ADR-230 the bound is a **ceiling**, not a per-invocation approval —
|
|
158
|
+
the same three cases the `ai-council` skill resolves in its Procedure § 3:
|
|
159
|
+
|
|
160
|
+
| Situation | Behaviour |
|
|
161
|
+
|---|---|
|
|
162
|
+
| No billable member (all `mode: cli`, subscription auth) | No gate. Estimate is information; go to Step 4. Spend is $0. |
|
|
163
|
+
| Billable member **with** `cost_budget.max_total_usd` or `daily_limit_usd` non-zero | No per-run ask. The ceiling is the authorization the user already gave; `on_overrun` still pauses per member on breach. |
|
|
164
|
+
| Billable member with **both** caps `0` | **Ask.** Nothing bounds the spend, so the user must. |
|
|
165
|
+
|
|
166
|
+
`personal.autonomy` neither creates nor lifts that bound — autonomy is
|
|
167
|
+
not a ceiling. Consumers who want a per-invocation gate set a small
|
|
168
|
+
`cost_budget.max_total_usd`; every call then breaches and `on_overrun`
|
|
169
|
+
asks per member.
|
|
160
170
|
|
|
161
171
|
Run the CLI in **estimate** mode first — it bundles the artefact, runs
|
|
162
172
|
redaction, and prints the per-member preview without spending:
|
|
@@ -182,17 +192,21 @@ roadmap file with `--input-mode roadmap`. `diff` and `files` modes
|
|
|
182
192
|
remain Phase 4 — for now ask the user to convert into a `prompt`.
|
|
183
193
|
|
|
184
194
|
The CLI prints a `council:estimate · members=N (billable=M)` line
|
|
185
|
-
followed by per-member projected USD and a TOTAL. Render that
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
195
|
+
followed by per-member projected USD and a TOTAL. Render that table per
|
|
196
|
+
the `ai-council` skill (§ Pre-call estimate format) in every case — it is
|
|
197
|
+
what makes the spend legible whether or not it is being asked about.
|
|
198
|
+
|
|
199
|
+
Then read `billable=M` together with the two caps:
|
|
190
200
|
|
|
191
|
-
|
|
201
|
+
- `M == 0` → no gate. Proceed to Step 4.
|
|
202
|
+
- `M > 0` and a cap is set → no gate. Proceed to Step 4; `on_overrun`
|
|
203
|
+
handles a breach per member.
|
|
204
|
+
- `M > 0` and both caps are `0` → render the table inside a numbered-options
|
|
205
|
+
block (`1. Run / 2. Cancel`) and wait. `1` proceeds; anything else aborts.
|
|
192
206
|
|
|
193
207
|
### 4. Run the CLI
|
|
194
208
|
|
|
195
|
-
|
|
209
|
+
Invoke the same arguments with `run` plus
|
|
196
210
|
`--confirm` and an output path under `agents/runtime/council/sessions/`:
|
|
197
211
|
|
|
198
212
|
```bash
|
|
@@ -7,7 +7,6 @@ pack: product-reasoning
|
|
|
7
7
|
intent: "Poll external AIs for a neutral second opinion (pr/design/optimize/analysis lenses)"
|
|
8
8
|
routes_to: [council-default, council-pr, council-design, council-analysis, council-debate, council-optimize]
|
|
9
9
|
replaces: []
|
|
10
|
-
tier: 1
|
|
11
10
|
visibility: advanced
|
|
12
11
|
description: Council orchestrator — routes to default, pr, design, optimize, analysis, debate
|
|
13
12
|
cluster: council
|
|
@@ -35,7 +34,7 @@ sub-command swaps the mode-specific addendum.
|
|
|
35
34
|
|
|
36
35
|
1. Resolve the target + capture the original ask.
|
|
37
36
|
2. Check the council is configured + price table fresh.
|
|
38
|
-
3.
|
|
37
|
+
3. Spend bound (ask only when a billable member has no ceiling — ADR-230).
|
|
39
38
|
4. Run the CLI.
|
|
40
39
|
5. Render the report (5 / 5a / 5b — render → critical lens → user options).
|
|
41
40
|
6. Hard floor — text only.
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
model_tier: high
|
|
3
3
|
name: design-system-generate
|
|
4
4
|
pack: engineering-base
|
|
5
|
-
tier: 2
|
|
6
5
|
visibility: internal
|
|
7
6
|
cluster: design-system
|
|
8
7
|
sub: generate
|
|
@@ -26,13 +25,35 @@ recommendation. Args: `"<product / industry / keywords>"`.
|
|
|
26
25
|
```bash
|
|
27
26
|
npx tsx node_modules/@event4u/agent-config/src/skills/corpus-grounding/scripts/ground.ts \
|
|
28
27
|
ground "<query>" \
|
|
29
|
-
--manifest node_modules/@event4u/agent-config/src/skills/design-intelligence/data/manifest.json
|
|
28
|
+
--manifest node_modules/@event4u/agent-config/src/skills/design-intelligence/data/manifest.json \
|
|
29
|
+
[--variance 1-10] [--motion 1-10] [--density 1-10]
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
Add `--persist <dir> --project-name <name>` to write
|
|
33
33
|
`design-system/<slug>/MASTER.md`, and `--page <name>` for a page-override stub
|
|
34
34
|
alongside it. The engine is read-only without `--persist`.
|
|
35
35
|
|
|
36
|
+
## The three dials — optional, and unset means unset
|
|
37
|
+
|
|
38
|
+
Each takes an integer 1-10. A dial you do not pass changes nothing at all, so
|
|
39
|
+
the no-flag result is exactly what it was before dials existed.
|
|
40
|
+
|
|
41
|
+
| Dial | 1-3 | 4-7 | 8-10 | What it touches |
|
|
42
|
+
|---|---|---|---|---|
|
|
43
|
+
| `--variance` | Centered / Minimal | Balanced / Modern | Bold / Asymmetric | Biases which style is **selected** from the rows the corpus returned |
|
|
44
|
+
| `--motion` | Subtle | Standard | Complex | Pulls a motion recipe at that intensity tier |
|
|
45
|
+
| `--density` | Spacious | Standard | Dense / Dashboard | Overrides the spacing scale |
|
|
46
|
+
|
|
47
|
+
**`--variance` biases selection, never retrieval.** The rows that come back from
|
|
48
|
+
the corpus are the same with or without it; the dial only changes which of those
|
|
49
|
+
rows is picked. And when it changes the pick away from what the grounding rule's
|
|
50
|
+
own keywords would have chosen, the run **says so in its evidence gaps** — a
|
|
51
|
+
preference is allowed to win, but never quietly.
|
|
52
|
+
|
|
53
|
+
`--motion` needs the `gsap` domain (`motion.csv`) in the manifest. Without it,
|
|
54
|
+
or when no row matches the requested tier, the run reports that rather than
|
|
55
|
+
returning an empty block.
|
|
56
|
+
|
|
36
57
|
## After the recommendation
|
|
37
58
|
|
|
38
59
|
Offer both destinations, and let the human pick — they are different artifacts,
|
|
@@ -5,7 +5,6 @@ pack: product-basic
|
|
|
5
5
|
intent: "Estimate a tracker ticket's size, risk, and whether to split it"
|
|
6
6
|
routes_to: [estimate-ticket]
|
|
7
7
|
replaces: []
|
|
8
|
-
tier: 1
|
|
9
8
|
visibility: advanced
|
|
10
9
|
skills: [estimate-ticket]
|
|
11
10
|
description: Estimate a Jira/Linear ticket before sprint planning — size + risk + split recommendation + uncertainty, sibling to /refine-ticket, ends with a close-prompt
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
model_tier: inherit
|
|
3
3
|
name: explain-run
|
|
4
4
|
pack: meta
|
|
5
|
-
tier: 2
|
|
6
5
|
visibility: internal
|
|
7
6
|
description: "Read-only 'why did that happen' run report — resolved rule set, rules fired, artefact engagement, subagent dispatches, hook/loop/freshness state — even when the user just says 'explain the last run'."
|
|
8
7
|
argument-hint: "[--task <id>] [--since <ref>]"
|
|
@@ -7,7 +7,6 @@ pack: engineering-base
|
|
|
7
7
|
intent: "Feature-workflow dispatcher — explore, plan, refactor, roadmap, dev"
|
|
8
8
|
routes_to: [feature-explore, feature-plan, feature-refactor, feature-roadmap, feature-dev]
|
|
9
9
|
replaces: []
|
|
10
|
-
tier: 1
|
|
11
10
|
visibility: advanced
|
|
12
11
|
description: Feature orchestrator — routes to explore, plan, refactor, roadmap, dev
|
|
13
12
|
cluster: feature
|
|
@@ -7,7 +7,6 @@ pack: engineering-base
|
|
|
7
7
|
intent: "Fix-workflow dispatcher — ci, pr-comments, pr-comments-loop, refs, seeder, portability, comments, quality"
|
|
8
8
|
routes_to: [fix-ci, fix-pr-comments, fix-pr-comments-loop, fix-refs, fix-seeder, fix-portability, fix-comments, fix-quality, fix-route]
|
|
9
9
|
replaces: []
|
|
10
|
-
tier: 1
|
|
11
10
|
visibility: advanced
|
|
12
11
|
description: Fix orchestrator — routes to ci, references, portability, seeder, pr-comments, comments, quality
|
|
13
12
|
cluster: fix
|