@event4u/agent-config 8.4.0 → 8.5.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 -0
- package/README.md +17 -5
- package/dist/agent-src/README.md +1 -1
- package/dist/agent-src/commands/{analyze-reference-repo.md → analyze/reference-repo.md} +3 -1
- package/dist/agent-src/commands/analyze.md +9 -6
- package/dist/agent-src/commands/{bug-fix.md → bug/fix.md} +3 -1
- package/dist/agent-src/commands/{bug-investigate.md → bug/investigate.md} +4 -2
- package/dist/agent-src/commands/bug.md +59 -0
- package/dist/agent-src/commands/{set-cost-profile.md → cost/profile.md} +9 -6
- package/dist/agent-src/commands/{cost-report.md → cost/report.md} +18 -17
- package/dist/agent-src/commands/cost.md +57 -0
- package/dist/agent-src/commands/evals/{review-changes.json → review.json} +12 -8
- package/dist/agent-src/commands/{quality-fix.md → fix/quality.md} +5 -2
- package/dist/agent-src/commands/fix.md +7 -4
- package/dist/agent-src/commands/optimize/project.md +250 -0
- package/dist/agent-src/commands/{optimize-prompt.md → optimize/prompt.md} +3 -2
- package/dist/agent-src/commands/optimize.md +17 -12
- package/dist/agent-src/commands/{package-reset.md → package/reset.md} +2 -0
- package/dist/agent-src/commands/{package-test.md → package/test.md} +3 -1
- package/dist/agent-src/commands/package.md +56 -0
- package/dist/agent-src/commands/{project-analyze.md → project/analyze.md} +10 -8
- package/dist/agent-src/commands/{project-health.md → project/health.md} +2 -0
- package/dist/agent-src/commands/project.md +60 -0
- package/dist/agent-src/commands/{review-changes.md → review/changes.md} +26 -24
- package/dist/agent-src/commands/{review-routing.md → review/routing.md} +21 -17
- package/dist/agent-src/commands/review.md +61 -0
- package/dist/agent-src/commands/security-audit-config.md +24 -23
- package/dist/agent-src/commands/{sync-agent-settings.md → sync/agent-settings.md} +11 -7
- package/dist/agent-src/commands/{sync-gitignore → sync/gitignore}/fix.md +36 -27
- package/dist/agent-src/commands/{sync-gitignore.md → sync/gitignore.md} +22 -21
- package/dist/agent-src/commands/sync.md +58 -0
- package/dist/agent-src/commands/{e2e-heal.md → tests/e2e-heal.md} +5 -2
- package/dist/agent-src/commands/{e2e-plan.md → tests/e2e-plan.md} +5 -2
- package/dist/agent-src/commands/tests.md +11 -5
- package/dist/agent-src/contexts/augment-infrastructure.md +3 -3
- package/dist/agent-src/contexts/execution/toolchain-resolver.md +1 -1
- package/dist/agent-src/contexts/skills-and-commands.md +2 -2
- package/dist/agent-src/rules/external-reference-deep-dive.md +1 -1
- package/dist/agent-src/skills/finishing-a-development-branch/SKILL.md +2 -2
- package/dist/agent-src/skills/judge-artifact-completeness/SKILL.md +1 -1
- package/dist/agent-src/skills/judge-bug-hunter/SKILL.md +1 -1
- package/dist/agent-src/skills/judge-code-quality/SKILL.md +1 -1
- package/dist/agent-src/skills/judge-security-auditor/SKILL.md +1 -1
- package/dist/agent-src/skills/judge-synthesis/SKILL.md +1 -1
- package/dist/agent-src/skills/judge-test-coverage/SKILL.md +1 -1
- package/dist/agent-src/skills/markitdown/SKILL.md +1 -1
- package/dist/agent-src/skills/mobile-e2e-strategy/SKILL.md +5 -5
- package/dist/agent-src/skills/prompt-optimizer/SKILL.md +2 -2
- package/dist/agent-src/skills/quality-tools/SKILL.md +1 -1
- package/dist/agent-src/skills/repomix-packer/SKILL.md +1 -1
- package/dist/agent-src/skills/requesting-code-review/SKILL.md +2 -2
- package/dist/agent-src/skills/verify-repair-loop/SKILL.md +2 -2
- package/dist/agent-src/templates/agent-settings.md +1 -1
- package/dist/agent-src/templates/agents/agent-project-settings.example.yml +2 -2
- package/dist/agent-src/templates/scripts/work_engine/stack/runner.ts +1 -1
- package/dist/cli/commands/config.js +44 -0
- package/dist/cli/commands/config.js.map +1 -0
- package/dist/cli/commands/uiServe.js +1 -0
- package/dist/cli/commands/uiServe.js.map +1 -1
- package/dist/cli/help.js +38 -0
- package/dist/cli/help.js.map +1 -0
- package/dist/cli/initRouting.js +16 -1
- package/dist/cli/initRouting.js.map +1 -1
- package/dist/cli/main.js +43 -37
- package/dist/cli/main.js.map +1 -1
- package/dist/cli/registry.js +45 -44
- package/dist/cli/registry.js.map +1 -1
- package/dist/discovery/deprecation-report.md +1 -1
- package/dist/discovery/discovery-manifest.json +419 -210
- package/dist/discovery/discovery-manifest.json.sha256 +1 -1
- package/dist/discovery/discovery-manifest.summary.md +4 -4
- package/dist/discovery/orphan-report.md +1 -1
- package/dist/discovery/packs.json +31 -25
- package/dist/discovery/trust-report.md +2 -2
- package/dist/discovery/workspaces.json +30 -24
- package/dist/install/install.mjs +6064 -159
- package/dist/install/selectedTools.js +39 -10
- package/dist/install/selectedTools.js.map +1 -1
- package/dist/mcp/registry-manifest.json +3 -3
- package/dist/server/app.js +15 -3
- package/dist/server/app.js.map +1 -1
- package/dist/server/routes/ping.js +16 -0
- package/dist/server/routes/ping.js.map +1 -1
- package/dist/server/routes/settings.js +42 -6
- package/dist/server/routes/settings.js.map +1 -1
- package/dist/server/routes/settingsChanges.js +55 -0
- package/dist/server/routes/settingsChanges.js.map +1 -0
- package/dist/server/routes/userMd.js +7 -2
- package/dist/server/routes/userMd.js.map +1 -1
- package/dist/server/routes/wizard.js +76 -14
- package/dist/server/routes/wizard.js.map +1 -1
- package/dist/server/writeRoot.js +17 -0
- package/dist/server/writeRoot.js.map +1 -1
- package/dist/shared/settingsSurface.js +120 -0
- package/dist/shared/settingsSurface.js.map +1 -0
- package/dist/ui/assets/index-BPFMZWUs.css +1 -0
- package/dist/ui/assets/index-BiEZiZ31.js +40 -0
- package/dist/ui/assets/index-BiEZiZ31.js.map +1 -0
- package/dist/ui/index.html +15 -2
- package/docs/CLAIMS.md +20 -15
- package/docs/architecture.md +1 -1
- package/docs/catalog.md +37 -31
- package/docs/command-flows.md +22 -16
- package/docs/contracts/command-clusters.md +39 -9
- package/docs/contracts/file-ownership-matrix.json +21 -0
- package/docs/contracts/frontmatter-contract.md +1 -1
- package/docs/contracts/gui-wizard.md +16 -4
- package/docs/contracts/iron-law-overrides.txt +1 -0
- package/docs/contracts/rule-classification.md +2 -2
- package/docs/contracts/settings-api.md +58 -2
- package/docs/contracts/surface-matrix.md +5 -0
- package/docs/cookbook.md +7 -7
- package/docs/decisions/ADR-114-commit-policy-iron-law-override.md +74 -0
- package/docs/decisions/ADR-115-command-cluster-consolidation-phase-4.md +91 -0
- package/docs/decisions/INDEX.md +2 -0
- package/docs/featured-commands.md +1 -1
- package/docs/featured-skills.md +4 -4
- package/docs/flows.md +2 -2
- package/docs/getting-started-by-role.md +1 -1
- package/docs/getting-started-laravel.md +1 -1
- package/docs/getting-started.md +6 -3
- package/docs/governance-advantage.md +1 -1
- package/docs/guidelines/agent-infra/5w2h-analysis.md +1 -1
- package/docs/guidelines/agent-infra/ios-simulator-guide.md +1 -1
- package/docs/proof.md +11 -2
- package/package.json +6 -1
- package/src/agent-src/README.md +64 -0
- package/src/agent-src/scripts/archive_completed_roadmaps.ts +497 -0
- package/src/agent-src/scripts/scan-seeder-violations.php +145 -0
- package/src/agent-src/scripts/update_roadmap_progress.ts +1087 -0
- package/src/agent-src/templates/AGENTS.md +34 -0
- package/src/agent-src/templates/scripts/README.md +195 -0
- package/src/agent-src/templates/scripts/check_memory.ts +662 -0
- package/src/agent-src/templates/scripts/check_memory_proposal.ts +370 -0
- package/src/agent-src/templates/scripts/historical-bug-patterns.example.yml +84 -0
- package/src/agent-src/templates/scripts/implement_ticket/__main__.ts +27 -0
- package/src/agent-src/templates/scripts/memory_hash.ts +355 -0
- package/src/agent-src/templates/scripts/memory_lookup.ts +1089 -0
- package/src/agent-src/templates/scripts/memory_report.ts +868 -0
- package/src/agent-src/templates/scripts/memory_signal.ts +444 -0
- package/src/agent-src/templates/scripts/memory_status.ts +215 -0
- package/src/agent-src/templates/scripts/ownership-map.example.yml +87 -0
- package/src/agent-src/templates/scripts/pr-risk-config.example.yml +76 -0
- package/src/agent-src/templates/scripts/pr_review_routing.ts +544 -0
- package/src/agent-src/templates/scripts/pr_risk_review.ts +0 -0
- package/src/agent-src/templates/scripts/telemetry/aggregator.ts +0 -0
- package/src/agent-src/templates/scripts/telemetry/boundary.ts +164 -0
- package/src/agent-src/templates/scripts/telemetry/engagement.ts +479 -0
- package/src/agent-src/templates/scripts/telemetry/report_renderer.ts +394 -0
- package/src/agent-src/templates/scripts/telemetry/settings.ts +210 -0
- package/src/agent-src/templates/scripts/telemetry_record.ts +276 -0
- package/src/agent-src/templates/scripts/telemetry_report.ts +211 -0
- package/src/agent-src/templates/scripts/telemetry_status.ts +333 -0
- package/src/agent-src/templates/scripts/tier_usage_report.ts +619 -0
- package/src/agent-src/templates/scripts/work_engine/__main__.ts +14 -0
- package/src/agent-src/templates/scripts/work_engine/_lib/agent_settings.ts +1261 -0
- package/src/agent-src/templates/scripts/work_engine/_lib/user_global_paths.ts +329 -0
- package/src/agent-src/templates/scripts/work_engine/cli.ts +206 -0
- package/src/agent-src/templates/scripts/work_engine/cli_args.ts +249 -0
- package/src/agent-src/templates/scripts/work_engine/delivery_state.ts +225 -0
- package/src/agent-src/templates/scripts/work_engine/directives/backend/analyze.ts +125 -0
- package/src/agent-src/templates/scripts/work_engine/directives/backend/implement.ts +189 -0
- package/src/agent-src/templates/scripts/work_engine/directives/backend/index.ts +94 -0
- package/src/agent-src/templates/scripts/work_engine/directives/backend/memory.ts +193 -0
- package/src/agent-src/templates/scripts/work_engine/directives/backend/plan.ts +267 -0
- package/src/agent-src/templates/scripts/work_engine/directives/backend/refine.ts +518 -0
- package/src/agent-src/templates/scripts/work_engine/directives/backend/report.ts +379 -0
- package/src/agent-src/templates/scripts/work_engine/directives/backend/test.ts +268 -0
- package/src/agent-src/templates/scripts/work_engine/directives/backend/verify.ts +258 -0
- package/src/agent-src/templates/scripts/work_engine/directives/index.ts +32 -0
- package/src/agent-src/templates/scripts/work_engine/directives/mixed/contract.ts +243 -0
- package/src/agent-src/templates/scripts/work_engine/directives/mixed/index.ts +108 -0
- package/src/agent-src/templates/scripts/work_engine/directives/mixed/stitch.ts +259 -0
- package/src/agent-src/templates/scripts/work_engine/directives/mixed/ui.ts +216 -0
- package/src/agent-src/templates/scripts/work_engine/directives/ui/_passthrough.ts +40 -0
- package/src/agent-src/templates/scripts/work_engine/directives/ui/app_spec.ts +241 -0
- package/src/agent-src/templates/scripts/work_engine/directives/ui/apply.ts +216 -0
- package/src/agent-src/templates/scripts/work_engine/directives/ui/audit.ts +506 -0
- package/src/agent-src/templates/scripts/work_engine/directives/ui/design.ts +325 -0
- package/src/agent-src/templates/scripts/work_engine/directives/ui/index.ts +102 -0
- package/src/agent-src/templates/scripts/work_engine/directives/ui/polish.ts +462 -0
- package/src/agent-src/templates/scripts/work_engine/directives/ui/review.ts +474 -0
- package/src/agent-src/templates/scripts/work_engine/directives/ui/scaffold.ts +352 -0
- package/src/agent-src/templates/scripts/work_engine/directives/ui_trivial/_skipped.ts +33 -0
- package/src/agent-src/templates/scripts/work_engine/directives/ui_trivial/apply.ts +213 -0
- package/src/agent-src/templates/scripts/work_engine/directives/ui_trivial/index.ts +111 -0
- package/src/agent-src/templates/scripts/work_engine/directives/ui_trivial/refine.ts +126 -0
- package/src/agent-src/templates/scripts/work_engine/directives/ui_trivial/report.ts +112 -0
- package/src/agent-src/templates/scripts/work_engine/directives/ui_trivial/test.ts +164 -0
- package/src/agent-src/templates/scripts/work_engine/dispatcher.ts +515 -0
- package/src/agent-src/templates/scripts/work_engine/emitters.ts +119 -0
- package/src/agent-src/templates/scripts/work_engine/errors.ts +24 -0
- package/src/agent-src/templates/scripts/work_engine/hook_bootstrap.ts +104 -0
- package/src/agent-src/templates/scripts/work_engine/hooks/builtin/_chat_history_base.ts +189 -0
- package/src/agent-src/templates/scripts/work_engine/hooks/builtin/chat_history_append.ts +41 -0
- package/src/agent-src/templates/scripts/work_engine/hooks/builtin/chat_history_halt_append.ts +89 -0
- package/src/agent-src/templates/scripts/work_engine/hooks/builtin/decision_gate.ts +193 -0
- package/src/agent-src/templates/scripts/work_engine/hooks/builtin/decision_trace.ts +304 -0
- package/src/agent-src/templates/scripts/work_engine/hooks/builtin/directive_set_guard.ts +110 -0
- package/src/agent-src/templates/scripts/work_engine/hooks/builtin/halt_surface_audit.ts +118 -0
- package/src/agent-src/templates/scripts/work_engine/hooks/builtin/index.ts +17 -0
- package/src/agent-src/templates/scripts/work_engine/hooks/builtin/memory_visibility.ts +161 -0
- package/src/agent-src/templates/scripts/work_engine/hooks/builtin/state_shape_validation.ts +45 -0
- package/src/agent-src/templates/scripts/work_engine/hooks/builtin/trace.ts +134 -0
- package/src/agent-src/templates/scripts/work_engine/hooks/context.ts +94 -0
- package/src/agent-src/templates/scripts/work_engine/hooks/events.ts +58 -0
- package/src/agent-src/templates/scripts/work_engine/hooks/exceptions.ts +85 -0
- package/src/agent-src/templates/scripts/work_engine/hooks/index.ts +27 -0
- package/src/agent-src/templates/scripts/work_engine/hooks/registry.ts +66 -0
- package/src/agent-src/templates/scripts/work_engine/hooks/runner.ts +90 -0
- package/src/agent-src/templates/scripts/work_engine/hooks/settings.ts +260 -0
- package/src/agent-src/templates/scripts/work_engine/input_builders.ts +260 -0
- package/src/agent-src/templates/scripts/work_engine/intent/classify.ts +466 -0
- package/src/agent-src/templates/scripts/work_engine/migration/v0_to_v1.ts +531 -0
- package/src/agent-src/templates/scripts/work_engine/orchestration.ts +366 -0
- package/src/agent-src/templates/scripts/work_engine/persona_policy.ts +97 -0
- package/src/agent-src/templates/scripts/work_engine/resolvers/diff.ts +135 -0
- package/src/agent-src/templates/scripts/work_engine/resolvers/file.ts +175 -0
- package/src/agent-src/templates/scripts/work_engine/resolvers/prompt.ts +115 -0
- package/src/agent-src/templates/scripts/work_engine/scoring/confidence.ts +415 -0
- package/src/agent-src/templates/scripts/work_engine/scoring/decision_engine.ts +466 -0
- package/src/agent-src/templates/scripts/work_engine/scoring/decision_trace.ts +298 -0
- package/src/agent-src/templates/scripts/work_engine/scoring/memory_visibility.ts +444 -0
- package/src/agent-src/templates/scripts/work_engine/stack/detect.ts +252 -0
- package/src/agent-src/templates/scripts/work_engine/stack/runner.ts +745 -0
- package/src/agent-src/templates/scripts/work_engine/state.ts +1151 -0
- package/src/agent-src/templates/scripts/work_engine/state_io.ts +413 -0
- package/src/config/agent-settings.template.yml +1 -1
- package/src/install/atomic.ts +111 -0
- package/src/install/conflict.ts +226 -0
- package/src/install/detect.ts +280 -0
- package/src/install/paths.ts +90 -0
- package/src/install/plan.ts +205 -0
- package/src/install/preflight.ts +210 -0
- package/src/install/selectedTools.ts +80 -0
- package/src/install/toolDetection.ts +120 -0
- package/src/install/txlog.ts +161 -0
- package/src/install/types.ts +175 -0
- package/src/install/wizard-plan.ts +216 -0
- package/src/scripts/_cli/cmd_converge.ts +38 -0
- package/src/scripts/_cli/cmd_doctor.ts +113 -2
- package/src/scripts/_cli/cmd_explain.ts +2 -2
- package/src/scripts/_cli/cmd_export.ts +3 -3
- package/src/scripts/_cli/cmd_fleet.ts +13 -1
- package/src/scripts/_cli/cmd_migrate.ts +3 -3
- package/src/scripts/_cli/cmd_prune.ts +2 -2
- package/src/scripts/_cli/cmd_refresh.ts +4 -4
- package/src/scripts/_cli/cmd_settings_check.ts +2 -2
- package/src/scripts/_cli/cmd_settings_migrate.ts +2 -2
- package/src/scripts/_cli/cmd_sync.ts +2 -2
- package/src/scripts/_cli/cmd_uninstall.ts +2 -2
- package/src/scripts/_cli/cmd_update.ts +8 -8
- package/src/scripts/_cli/cmd_upgrade.ts +4 -3
- package/src/scripts/_cli/cmd_validate.ts +3 -3
- package/src/scripts/_cli/cmd_versions.ts +2 -2
- package/src/scripts/_cli/explain_last/assumptions.ts +2 -2
- package/src/scripts/_cli/explain_last/council.ts +2 -2
- package/src/scripts/_cli/explain_last/halt.ts +2 -2
- package/src/scripts/_cli/explain_last/index.ts +2 -2
- package/src/scripts/_cli/explain_last/inputs.ts +4 -4
- package/src/scripts/_cli/explain_last/memory.ts +2 -2
- package/src/scripts/_cli/explain_last/provider.ts +2 -2
- package/src/scripts/_cli/explain_last/render.ts +2 -2
- package/src/scripts/_cli/explain_last/route.ts +2 -2
- package/src/scripts/_cli/explain_last/scrubber.ts +2 -2
- package/src/scripts/_cli/explain_last/sections/assumptions.ts +2 -2
- package/src/scripts/_cli/explain_last/sections/council.ts +2 -2
- package/src/scripts/_cli/explain_last/sections/halt.ts +2 -2
- package/src/scripts/_cli/explain_last/sections/header.ts +2 -2
- package/src/scripts/_cli/explain_last/sections/index.ts +1 -1
- package/src/scripts/_cli/explain_last/sections/inputs.ts +2 -2
- package/src/scripts/_cli/explain_last/sections/memory.ts +2 -2
- package/src/scripts/_cli/explain_last/sections/pack.ts +2 -2
- package/src/scripts/_cli/explain_last/sections/provider.ts +2 -2
- package/src/scripts/_cli/explain_last/sections/route.ts +2 -2
- package/src/scripts/_cli/explain_last/state_loader.ts +2 -2
- package/src/scripts/_dispatch.bash +20 -1
- package/src/scripts/_lib/agent_settings.ts +1 -1
- package/src/scripts/_lib/agent_src.ts +7 -7
- package/src/scripts/_lib/agents_overlay.ts +1 -1
- package/src/scripts/_lib/bench_ab_cache.ts +1 -1
- package/src/scripts/_lib/bench_ab_scoring.ts +1 -1
- package/src/scripts/_lib/bench_ab_scoring_v2.ts +3 -3
- package/src/scripts/_lib/bench_cost.ts +1 -1
- package/src/scripts/_lib/bench_quality.ts +3 -3
- package/src/scripts/_lib/bench_report.ts +4 -4
- package/src/scripts/_lib/bench_telegraph.ts +1 -1
- package/src/scripts/_lib/bench_telegraph_report.ts +4 -4
- package/src/scripts/_lib/changelog_eras.ts +1 -1
- package/src/scripts/_lib/claude_desktop_bundler.ts +1 -1
- package/src/scripts/_lib/cli_wrapper.ts +1 -1
- package/src/scripts/_lib/fs_atomic.ts +1 -1
- package/src/scripts/_lib/global_deploy_inventory.ts +1 -1
- package/src/scripts/_lib/install_layout.ts +1 -1
- package/src/scripts/_lib/install_regenerator.ts +1 -1
- package/src/scripts/_lib/installed_lock.ts +1 -1
- package/src/scripts/_lib/installed_tools.ts +1 -1
- package/src/scripts/_lib/json_pointers.ts +1 -1
- package/src/scripts/_lib/knowledge_global.ts +1 -1
- package/src/scripts/_lib/knowledge_global_promote.ts +2 -2
- package/src/scripts/_lib/knowledge_global_redaction.ts +2 -2
- package/src/scripts/_lib/link_crypto.ts +4 -4
- package/src/scripts/_lib/linked_projects.ts +4 -4
- package/src/scripts/_lib/model_tier.ts +1 -1
- package/src/scripts/_lib/module_detection.ts +2 -2
- package/src/scripts/_lib/pin_resolver.ts +1 -1
- package/src/scripts/_lib/script_output.ts +1 -1
- package/src/scripts/_lib/security_lint.ts +1 -1
- package/src/scripts/_lib/surface_tiers.ts +1 -1
- package/src/scripts/_lib/text_similarity.ts +1 -1
- package/src/scripts/_lib/update_check.ts +2 -2
- package/src/scripts/_lib/user_global_paths.ts +1 -1
- package/src/scripts/_lib/value_ladder.ts +1 -1
- package/src/scripts/_lib/value_report.ts +1 -1
- package/src/scripts/_lib/zip_min.ts +2 -2
- package/src/scripts/adoption_report.ts +3 -3
- package/src/scripts/adoption_snapshot.ts +3 -3
- package/src/scripts/adoption_status.ts +2 -2
- package/src/scripts/adr/regenerate_index.ts +3 -3
- package/src/scripts/ai_council/_default_prices.ts +2 -3
- package/src/scripts/ai_council/advisors.ts +1 -1
- package/src/scripts/ai_council/airgap.ts +1 -1
- package/src/scripts/ai_council/budget_guard.ts +1 -1
- package/src/scripts/ai_council/bundler.ts +1 -1
- package/src/scripts/ai_council/cli_hints.ts +1 -1
- package/src/scripts/ai_council/clients.ts +5 -5
- package/src/scripts/ai_council/compile_corpus.ts +1 -1
- package/src/scripts/ai_council/confidence_gate.ts +1 -1
- package/src/scripts/ai_council/config.ts +1 -1
- package/src/scripts/ai_council/consensus.ts +1 -1
- package/src/scripts/ai_council/events_log.ts +1 -1
- package/src/scripts/ai_council/learn_low_impact_preview.ts +1 -1
- package/src/scripts/ai_council/low_impact_corpus.ts +1 -1
- package/src/scripts/ai_council/low_impact_intake.ts +1 -1
- package/src/scripts/ai_council/modes.ts +1 -1
- package/src/scripts/ai_council/orchestrator.ts +3 -3
- package/src/scripts/ai_council/pricing.ts +2 -2
- package/src/scripts/ai_council/probation_gate.ts +2 -2
- package/src/scripts/ai_council/project_context.ts +1 -1
- package/src/scripts/ai_council/prompts.ts +1 -1
- package/src/scripts/ai_council/redact_low_impact_entry.ts +2 -2
- package/src/scripts/ai_council/session.ts +1 -1
- package/src/scripts/ai_council/shadow_dispatch.ts +1 -1
- package/src/scripts/ai_council/solo_dispatch.ts +1 -1
- package/src/scripts/analysis_freshness.ts +2 -2
- package/src/scripts/annotate_discovery.ts +2 -2
- package/src/scripts/apply_modules_config.ts +2 -2
- package/src/scripts/audit_adr_coverage.ts +3 -3
- package/src/scripts/audit_auto_rules.ts +2 -2
- package/src/scripts/audit_cloud_compatibility.ts +3 -3
- package/src/scripts/audit_command_surface.ts +2 -2
- package/src/scripts/audit_initial_context.ts +7 -6
- package/src/scripts/audit_likelihood.ts +5 -5
- package/src/scripts/audit_mcp_tools.ts +3 -3
- package/src/scripts/audit_overlap.ts +2 -2
- package/src/scripts/audit_skill_descriptions.ts +2 -2
- package/src/scripts/audit_skill_overlap.ts +5 -5
- package/src/scripts/audit_user_type_axis.ts +4 -4
- package/src/scripts/backfill_model_tier.ts +1 -1
- package/src/scripts/bench_ab_cache_dispatch.ts +2 -2
- package/src/scripts/bench_ab_clone.ts +2 -2
- package/src/scripts/bench_ab_diff.ts +3 -3
- package/src/scripts/bench_ab_integrity.ts +2 -2
- package/src/scripts/bench_ab_run.ts +4 -4
- package/src/scripts/bench_ab_task_runner.ts +1 -1
- package/src/scripts/bench_ab_tracka_run.ts +2 -2
- package/src/scripts/bench_ab_v2_run.ts +1 -1
- package/src/scripts/bench_ab_v2_stats.ts +2 -2
- package/src/scripts/bench_baseline_ready.ts +1 -1
- package/src/scripts/bench_condense_memory.ts +4 -4
- package/src/scripts/bench_drift_check.ts +3 -3
- package/src/scripts/bench_per_tool.ts +1 -1
- package/src/scripts/bench_rtk_savings.ts +4 -4
- package/src/scripts/bench_run.ts +4 -4
- package/src/scripts/bench_runner.ts +1 -1
- package/src/scripts/build_cloud_bundle.ts +3 -3
- package/src/scripts/build_discovery_manifest.ts +13 -15
- package/src/scripts/build_linear_digest.ts +2 -2
- package/src/scripts/build_mcp_registry_manifest.ts +3 -3
- package/src/scripts/build_proof.ts +6 -0
- package/src/scripts/build_rule_trigger_matrix.ts +2 -2
- package/src/scripts/capture_showcase_session.ts +3 -3
- package/src/scripts/chat_history.ts +1 -1
- package/src/scripts/check_always_budget.ts +1 -1
- package/src/scripts/check_artefact_checksums.ts +4 -4
- package/src/scripts/check_artefact_count_messaging.ts +197 -0
- package/src/scripts/check_augment_description_cap.ts +3 -3
- package/src/scripts/check_augmentignore.ts +1 -1
- package/src/scripts/check_beta_review_markers.ts +3 -3
- package/src/scripts/check_bite_sized_granularity.ts +1 -1
- package/src/scripts/check_cluster_patterns.ts +47 -3
- package/src/scripts/check_command_count_messaging.ts +2 -2
- package/src/scripts/check_condensation.ts +2 -2
- package/src/scripts/check_condensed_paths.ts +6 -6
- package/src/scripts/check_context_paths.ts +1 -1
- package/src/scripts/check_council_config_location.ts +3 -3
- package/src/scripts/check_council_layout.ts +2 -2
- package/src/scripts/check_council_references.ts +2 -2
- package/src/scripts/check_discovery_determinism.ts +3 -3
- package/src/scripts/check_gate_paths.ts +4 -4
- package/src/scripts/check_iron_law_prominence.ts +2 -2
- package/src/scripts/check_kernel_rule_bundle.ts +3 -3
- package/src/scripts/check_knowledge_cards.ts +4 -4
- package/src/scripts/check_knowledge_pages.ts +1 -1
- package/src/scripts/check_md_language.ts +3 -3
- package/src/scripts/check_memory.ts +3 -3
- package/src/scripts/check_memory_proposal.ts +2 -2
- package/src/scripts/check_module_management_neutral.ts +1 -1
- package/src/scripts/check_no_conflict_markers.ts +1 -1
- package/src/scripts/check_no_external_sources.ts +1 -1
- package/src/scripts/check_no_local_settings_committed.ts +2 -2
- package/src/scripts/check_no_new_legacy_path.ts +3 -3
- package/src/scripts/check_no_roadmap_refs.ts +3 -3
- package/src/scripts/check_one_off_location.ts +3 -3
- package/src/scripts/check_overlay_cascade_subdirs.ts +3 -3
- package/src/scripts/check_portability.ts +3 -3
- package/src/scripts/check_proposal.ts +0 -0
- package/src/scripts/check_public_catalog_links.ts +1 -1
- package/src/scripts/check_public_links.ts +2 -2
- package/src/scripts/check_references.ts +3 -3
- package/src/scripts/check_release_includes_discovery.ts +2 -2
- package/src/scripts/check_release_pr_shape.ts +2 -2
- package/src/scripts/check_release_published.ts +1 -1
- package/src/scripts/check_release_trunk_sync.ts +3 -3
- package/src/scripts/check_reply_consistency.ts +1 -1
- package/src/scripts/check_roadmap_trackable.ts +2 -2
- package/src/scripts/check_role_doc_links.ts +2 -2
- package/src/scripts/check_safety_floor_untouched.ts +3 -3
- package/src/scripts/check_skill_requires.ts +2 -2
- package/src/scripts/check_structural_breaking.ts +2 -2
- package/src/scripts/check_surface_tiers.ts +2 -2
- package/src/scripts/check_template_pin_drift.ts +1 -1
- package/src/scripts/check_test_coverage_diff.ts +2 -2
- package/src/scripts/check_token_optimizer_freshness.ts +3 -3
- package/src/scripts/check_trigger_evals.ts +2 -2
- package/src/scripts/check_update_banner.ts +1 -1
- package/src/scripts/ci_status.ts +0 -0
- package/src/scripts/ci_summary.ts +3 -3
- package/src/scripts/ci_time_ratio.ts +1 -1
- package/src/scripts/command_suggester/cooldown.ts +1 -1
- package/src/scripts/command_suggester/index.ts +1 -1
- package/src/scripts/command_suggester/loader.ts +1 -1
- package/src/scripts/command_suggester/match.ts +1 -1
- package/src/scripts/command_suggester/rank.ts +1 -1
- package/src/scripts/command_suggester/render.ts +1 -1
- package/src/scripts/command_suggester/sanitize.ts +1 -1
- package/src/scripts/command_suggester/settings.ts +1 -1
- package/src/scripts/command_suggester/types.ts +0 -0
- package/src/scripts/compile_router.ts +4 -4
- package/src/scripts/condense.ts +3 -3
- package/src/scripts/condense_memory.ts +1 -1
- package/src/scripts/config/index.ts +1 -1
- package/src/scripts/config/packs.ts +1 -1
- package/src/scripts/config/presets.ts +1 -1
- package/src/scripts/config/profile_explain.ts +1 -1
- package/src/scripts/config/profiles.ts +1 -1
- package/src/scripts/config/session_profiles.ts +1 -1
- package/src/scripts/context_hygiene_hook.ts +2 -2
- package/src/scripts/cost_by_conversation.ts +1 -1
- package/src/scripts/cost_summary.ts +2 -2
- package/src/scripts/council_cli.ts +1 -1
- package/src/scripts/council_prune.ts +1 -1
- package/src/scripts/cross_repo_retrieve.ts +2 -2
- package/src/scripts/discovery_stats.ts +3 -3
- package/src/scripts/evidence_report.ts +4 -4
- package/src/scripts/extract_audit_patterns.ts +2 -2
- package/src/scripts/first_run_gate_hook.ts +1 -1
- package/src/scripts/gen_discovery_baseline.ts +2 -2
- package/src/scripts/generate_capabilities_index.ts +2 -2
- package/src/scripts/generate_capability_matrix.ts +2 -2
- package/src/scripts/generate_catalog.ts +2 -2
- package/src/scripts/generate_command_flows.ts +2 -2
- package/src/scripts/generate_cookbook.ts +1 -1
- package/src/scripts/generate_index.ts +3 -3
- package/src/scripts/generate_ownership_matrix.ts +2 -2
- package/src/scripts/generate_pack_manifests.ts +2 -2
- package/src/scripts/generate_role_experiences_catalog.ts +3 -3
- package/src/scripts/hooks/block_no_verify.ts +2 -2
- package/src/scripts/hooks/dispatch_hook.ts +2 -2
- package/src/scripts/hooks/dispatch_issues.ts +1 -1
- package/src/scripts/hooks/envelope.ts +1 -1
- package/src/scripts/hooks/replay_hook.ts +1 -1
- package/src/scripts/hooks/state_io.ts +1 -1
- package/src/scripts/hooks_doctor.ts +1 -1
- package/src/scripts/hooks_status.ts +1 -1
- package/src/scripts/injection_scan_hook.ts +1 -1
- package/src/scripts/install.ts +145 -3
- package/src/scripts/inventory_abstraction_budget.ts +5 -5
- package/src/scripts/inventory_frontmatter.ts +1 -1
- package/src/scripts/inventory_meta_layers.ts +1 -1
- package/src/scripts/iron_law_sha.ts +1 -1
- package/src/scripts/knowledge_global_cli.ts +3 -3
- package/src/scripts/linked_projects_list.ts +1 -1
- package/src/scripts/lint_agent_security.ts +4 -4
- package/src/scripts/lint_agent_skill_names.ts +1 -1
- package/src/scripts/lint_agents_layout.ts +2 -2
- package/src/scripts/lint_agents_md.ts +3 -3
- package/src/scripts/lint_archived_skills.ts +2 -2
- package/src/scripts/lint_artefact_frontmatter.ts +2 -2
- package/src/scripts/lint_bench_ab.ts +2 -2
- package/src/scripts/lint_bench_corpus.ts +1 -1
- package/src/scripts/lint_command_flow_coverage.ts +1 -1
- package/src/scripts/lint_command_routing.ts +2 -2
- package/src/scripts/lint_command_tiers.ts +1 -1
- package/src/scripts/lint_command_verbs.ts +4 -4
- package/src/scripts/lint_commit_subjects.ts +2 -2
- package/src/scripts/lint_context_spine_usage.ts +3 -3
- package/src/scripts/lint_discovery_manifest.ts +4 -4
- package/src/scripts/lint_discovery_vocabulary.ts +2 -2
- package/src/scripts/lint_empty_roadmaps.ts +3 -3
- package/src/scripts/lint_eval_freshness.ts +2 -2
- package/src/scripts/lint_examples.ts +2 -2
- package/src/scripts/lint_explain_trace.ts +2 -2
- package/src/scripts/lint_featured_skills.ts +0 -0
- package/src/scripts/lint_flows.ts +5 -5
- package/src/scripts/lint_framework_leakage.ts +1 -1
- package/src/scripts/lint_framework_leakage_allowlist.json +10 -2
- package/src/scripts/lint_frontmatter_boilerplate.ts +2 -2
- package/src/scripts/lint_ghostwriter_source.ts +3 -3
- package/src/scripts/lint_global_paths.ts +1 -1
- package/src/scripts/lint_handoffs.ts +1 -1
- package/src/scripts/lint_hidden_unicode.ts +1 -1
- package/src/scripts/lint_hook_concern_budget.ts +2 -2
- package/src/scripts/lint_hook_manifest.ts +2 -2
- package/src/scripts/lint_instruction_smuggling.ts +1 -1
- package/src/scripts/lint_load_context.ts +2 -2
- package/src/scripts/lint_marketplace.ts +1 -1
- package/src/scripts/lint_marketplace_install_completeness.ts +2 -2
- package/src/scripts/lint_mcp_config_security.ts +1 -1
- package/src/scripts/lint_mcp_registry_manifest.ts +1 -1
- package/src/scripts/lint_media_policy_linkage.ts +3 -3
- package/src/scripts/lint_missions.ts +3 -3
- package/src/scripts/lint_model_tier_coverage.ts +3 -3
- package/src/scripts/lint_namespace.ts +2 -2
- package/src/scripts/lint_namespace_collisions.ts +2 -2
- package/src/scripts/lint_new_skill_gate.ts +3 -3
- package/src/scripts/lint_no_new_atomic_commands.ts +9 -6
- package/src/scripts/lint_no_python_twin_rationale.ts +102 -0
- package/src/scripts/lint_one_off_age.ts +2 -2
- package/src/scripts/lint_orchestration_dsl.ts +3 -3
- package/src/scripts/lint_orchestrator_auto_detect.ts +1 -1
- package/src/scripts/lint_pack_boundaries.ts +2 -2
- package/src/scripts/lint_pack_dependencies.ts +2 -2
- package/src/scripts/lint_pack_first_win.ts +2 -2
- package/src/scripts/lint_persona_governance.ts +3 -3
- package/src/scripts/lint_positioning.ts +1 -1
- package/src/scripts/lint_profile_overlay_set_only.ts +2 -2
- package/src/scripts/lint_readme_jargon.ts +2 -2
- package/src/scripts/lint_readme_size.ts +2 -2
- package/src/scripts/lint_regression.ts +3 -3
- package/src/scripts/lint_roadmap_ci_steps.ts +3 -3
- package/src/scripts/lint_roadmap_complexity.ts +1 -1
- package/src/scripts/lint_roadmap_later_disposition.ts +2 -2
- package/src/scripts/lint_role_experiences.ts +2 -2
- package/src/scripts/lint_rule_interactions.ts +1 -1
- package/src/scripts/lint_rule_tiers.ts +1 -1
- package/src/scripts/lint_showcase_sessions.ts +2 -2
- package/src/scripts/lint_skill_frontmatter_safety.ts +1 -1
- package/src/scripts/lint_skill_originality.ts +1 -1
- package/src/scripts/lint_skill_tools.ts +3 -3
- package/src/scripts/lint_ticket_buildable.ts +2 -2
- package/src/scripts/lint_topics_yaml.ts +3 -3
- package/src/scripts/lint_trust_coherence.ts +3 -3
- package/src/scripts/lint_value_dashboard.ts +3 -3
- package/src/scripts/lint_workflow_security.ts +3 -3
- package/src/scripts/lint_workspace_boundary.ts +2 -2
- package/src/scripts/mcp_parity_smoke.ts +1 -1
- package/src/scripts/mcp_render.ts +1 -1
- package/src/scripts/mcp_server/catalog.ts +1 -1
- package/src/scripts/mcp_server/index.ts +1 -1
- package/src/scripts/mcp_server/metadata.ts +1 -1
- package/src/scripts/mcp_server/prompts.ts +1 -1
- package/src/scripts/mcp_server/resources.ts +1 -1
- package/src/scripts/mcp_server/server.ts +1 -1
- package/src/scripts/mcp_server/telemetry.ts +1 -1
- package/src/scripts/mcp_server/tools.ts +1 -1
- package/src/scripts/mcp_telemetry_health.ts +1 -1
- package/src/scripts/mcp_telemetry_query.ts +3 -3
- package/src/scripts/mcp_telemetry_store.ts +3 -3
- package/src/scripts/measure_augment_budget.ts +2 -2
- package/src/scripts/measure_density.ts +2 -2
- package/src/scripts/measure_frugality_savings.ts +3 -3
- package/src/scripts/measure_markitdown_lift.ts +1 -1
- package/src/scripts/measure_patterns.ts +1 -1
- package/src/scripts/measure_projection_bytes.ts +1 -1
- package/src/scripts/measure_rule_budget.ts +1 -1
- package/src/scripts/measure_skill_reduction.ts +1 -1
- package/src/scripts/memory_hash.ts +1 -1
- package/src/scripts/memory_lookup.ts +6 -6
- package/src/scripts/memory_report.ts +1 -1
- package/src/scripts/memory_signal.ts +1 -1
- package/src/scripts/memory_status.ts +2 -2
- package/src/scripts/migrate_command_suggestions.ts +1 -1
- package/src/scripts/migrate_frontmatter_defaults.ts +1 -1
- package/src/scripts/mine_session.ts +3 -3
- package/src/scripts/minimal_safe_diff_hook.ts +2 -2
- package/src/scripts/move_artefact.ts +3 -3
- package/src/scripts/new_skill.ts +3 -3
- package/src/scripts/onboarding_gate_hook.ts +2 -2
- package/src/scripts/pack_mcp_content.ts +1 -1
- package/src/scripts/parity/replay.ts +3 -2
- package/src/scripts/pattern_share.ts +2 -2
- package/src/scripts/plan_physical_move.ts +3 -3
- package/src/scripts/prediction-pool/poisson_sim.ts +2 -2
- package/src/scripts/prediction-pool/pool_winsim.ts +2 -2
- package/src/scripts/prediction-pool/score_ev.ts +2 -2
- package/src/scripts/prepack-check.mjs +108 -5
- package/src/scripts/print_required_checks.ts +2 -2
- package/src/scripts/probe_projection_fidelity.ts +2 -2
- package/src/scripts/probe_skill_registration.ts +2 -2
- package/src/scripts/profile_staleness_hook.ts +2 -2
- package/src/scripts/profile_use.ts +2 -2
- package/src/scripts/project_thin_rules.ts +3 -3
- package/src/scripts/propose_modules_config.ts +2 -2
- package/src/scripts/prototype_lint_contradictions.ts +2 -2
- package/src/scripts/prove_pack_extractable.ts +1 -1
- package/src/scripts/readme_linter.ts +4 -4
- package/src/scripts/redact_hook_capture.ts +2 -2
- package/src/scripts/refine_ticket_detect.ts +1 -1
- package/src/scripts/release.ts +30 -19
- package/src/scripts/render_benchmark_md.ts +2 -2
- package/src/scripts/render_value_md.ts +2 -2
- package/src/scripts/roadmap_progress_hook.ts +1 -1
- package/src/scripts/router_telemetry.ts +1 -1
- package/src/scripts/run_skill_evals.ts +2 -2
- package/src/scripts/runtime_dispatcher.ts +1 -1
- package/src/scripts/runtime_handler.ts +1 -1
- package/src/scripts/runtime_registry.ts +3 -3
- package/src/scripts/score_skill_selection.ts +1 -1
- package/src/scripts/security_audit_config.ts +2 -2
- package/src/scripts/skill_collision_clusters.ts +1 -1
- package/src/scripts/skill_discovery.ts +1 -1
- package/src/scripts/skill_linter.ts +8 -7
- package/src/scripts/skill_overlap.ts +2 -2
- package/src/scripts/skill_preview.ts +1 -1
- package/src/scripts/skill_tools/audit_persona_coverage.ts +3 -3
- package/src/scripts/skill_tools/audit_user_type_coverage.ts +3 -3
- package/src/scripts/skill_tools/index.ts +1 -1
- package/src/scripts/skill_tools/run_block_d_eval.ts +3 -3
- package/src/scripts/skill_tools/score_skill_relevance.ts +3 -3
- package/src/scripts/skill_tools/suggest_skill_for_task.ts +3 -3
- package/src/scripts/skill_trigger_eval.ts +2 -2
- package/src/scripts/skill_usage_collect.ts +2 -2
- package/src/scripts/skill_usage_report.ts +2 -2
- package/src/scripts/smoke_path_resolution.ts +2 -2
- package/src/scripts/smoke_quickstart.ts +4 -4
- package/src/scripts/snapshot_agent_outputs.ts +2 -2
- package/src/scripts/spotcheck_thin_root.ts +2 -2
- package/src/scripts/surface-tiers.yml +1 -0
- package/src/scripts/sync_agent_settings.ts +2 -2
- package/src/scripts/sync_github_metadata.ts +4 -4
- package/src/scripts/sync_gitignore.ts +3 -3
- package/src/scripts/sync_yaml_rt.ts +2 -2
- package/src/scripts/telegraph_stats.ts +1 -1
- package/src/scripts/tool_registry.ts +2 -2
- package/src/scripts/tools/adapter_errors.ts +1 -1
- package/src/scripts/tools/base_adapter.ts +1 -1
- package/src/scripts/tools/github_adapter.ts +1 -1
- package/src/scripts/tools/jira_adapter.ts +1 -1
- package/src/scripts/trigger_coverage.ts +2 -2
- package/src/scripts/update_counts.ts +68 -6
- package/src/scripts/update_prices.ts +3 -3
- package/src/scripts/validate_agent_settings.ts +3 -3
- package/src/scripts/validate_decision_engine.ts +2 -2
- package/src/scripts/validate_discovery_manifest.ts +3 -3
- package/src/scripts/validate_frontmatter.ts +5 -5
- package/src/scripts/validate_pack_yaml.ts +0 -0
- package/src/scripts/validate_safe_paths.ts +2 -2
- package/src/scripts/validate_telegraph_carveouts.ts +3 -3
- package/src/scripts/verify_before_complete_hook.ts +2 -2
- package/src/scripts/verify_physical_move.ts +2 -2
- package/src/scripts/wrapper_freshness_hook.ts +3 -3
- package/src/server/schemas/settings.ts +426 -0
- package/src/shared/settingsSurface.ts +184 -0
- package/src/shared/userMd/formAdapter.ts +86 -0
- package/src/shared/userMd/schema.ts +59 -0
- package/src/shared/userMd/utils.ts +91 -0
- package/dist/agent-src/commands/optimize-project.md +0 -243
- package/dist/ui/assets/index-BbWWuFrF.css +0 -1
- package/dist/ui/assets/index-UjcTG_9O.js +0 -40
- package/dist/ui/assets/index-UjcTG_9O.js.map +0 -1
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
},
|
|
7
7
|
"metadata": {
|
|
8
8
|
"description": "Bootstrap shim for the event4u agent-config suite. This plugin ships ONLY the dispatcher hooks plus one install-pointer skill — ALL content (skills, rules, commands) is installed via `npx -y @event4u/agent-config init`, which writes the file projection AND registers the same hooks in ~/.claude/settings.json. DEPRECATED as a content channel; kept so the marketplace listing stays discoverable and existing installs keep working hooks.",
|
|
9
|
-
"version": "8.
|
|
9
|
+
"version": "8.5.0",
|
|
10
10
|
"keywords": [
|
|
11
11
|
"agent-config",
|
|
12
12
|
"skills",
|
package/CHANGELOG.md
CHANGED
|
@@ -989,6 +989,79 @@ our recommendation order, not its support status.
|
|
|
989
989
|
> that forces a new era split (`# Era: 8.2.x`, etc.) — see
|
|
990
990
|
> [`docs/contracts/CHANGELOG-conventions.md § Era splits`](docs/contracts/CHANGELOG-conventions.md).
|
|
991
991
|
|
|
992
|
+
## [8.5.0](https://github.com/event4u-app/agent-config/compare/8.4.1...8.5.0) (2026-07-08)
|
|
993
|
+
|
|
994
|
+
### Features
|
|
995
|
+
|
|
996
|
+
* **counts:** single-source every public artefact count + drift gate ([34204ed](https://github.com/event4u-app/agent-config/commit/34204ed9b1048704cf3ebb917e2abc7f952ee62a))
|
|
997
|
+
* **doctor:** settings-review-pending check ([f2e5198](https://github.com/event4u-app/agent-config/commit/f2e51984cc32a44792660e1ef0ad5c66ed2b859f))
|
|
998
|
+
* **ui:** upgrade settings-review page + pending banner ([6272721](https://github.com/event4u-app/agent-config/commit/6272721f34f0a1f01d6ef3bccd08f468448ea8f0))
|
|
999
|
+
* **server:** pending settings-changes routes + API contract ([bddd2c5](https://github.com/event4u-app/agent-config/commit/bddd2c5a01c8ff04a69a786de8e3f076e9788217))
|
|
1000
|
+
* **install:** snapshot the settings surface + write the upgrade delta ([21b2ddd](https://github.com/event4u-app/agent-config/commit/21b2ddd2e05eecc9996d43ab0a380c7ec45ec105))
|
|
1001
|
+
* **settings:** shared settings-surface flatten/delta/classify engine ([c73adb8](https://github.com/event4u-app/agent-config/commit/c73adb859eb25562e382c735fea696d10f6657c3))
|
|
1002
|
+
* **lint:** validate routes_to + bare-invocation story; repoint atomic-command linter ([8f5a5eb](https://github.com/event4u-app/agent-config/commit/8f5a5eb56b71c2451e510948dbbdc5d1d5d2737f))
|
|
1003
|
+
* **server:** prefill local/dry-run tests from the real user-global config ([08c3a01](https://github.com/event4u-app/agent-config/commit/08c3a01a9c022709953cf4fb68e5e1a45792687e))
|
|
1004
|
+
* **ui:** prune nav to real surfaces; gate Project and Workspace tabs ([4b437b9](https://github.com/event4u-app/agent-config/commit/4b437b95afbaee3765c87d93defc1065d779dcfe))
|
|
1005
|
+
* **wizard:** remember roles and pack selection across runs ([befb5aa](https://github.com/event4u-app/agent-config/commit/befb5aaf14ea7b5b76db2600e9554375f5204340))
|
|
1006
|
+
* **settings:** standalone hub with simple/advanced tiers, search, modified badges ([6138089](https://github.com/event4u-app/agent-config/commit/613808968a63dd5ceeda26245e2d055fdd0fd86c))
|
|
1007
|
+
* **ui:** dark-first visual system v2 with theme toggle ([6204194](https://github.com/event4u-app/agent-config/commit/6204194b4c8777260fd68bc4087500af2be44b4a))
|
|
1008
|
+
* **wizard:** consolidate flow, add start screen, review summary, finish checklist ([d58d4a4](https://github.com/event4u-app/agent-config/commit/d58d4a4f0a063bc051573d7df95bd35344432b66))
|
|
1009
|
+
* **wizard:** prefill installed packs and flag removals ([8cad9d3](https://github.com/event4u-app/agent-config/commit/8cad9d367ce27c4393486349ed2d1428dd2834b9))
|
|
1010
|
+
* **cli:** add config command and init --project routing ([7a4f26a](https://github.com/event4u-app/agent-config/commit/7a4f26ad6deada4567a8fc7f04df0bc3d460760b))
|
|
1011
|
+
|
|
1012
|
+
### Bug Fixes
|
|
1013
|
+
|
|
1014
|
+
* **release:** guard the Tests: footer counter against vitest recursion ([6538636](https://github.com/event4u-app/agent-config/commit/653863666e7376280046a9570a2f9c65e6ee2f12))
|
|
1015
|
+
* **converge:** surface the live-session remedy after a plugin-cache reap ([0c84dbc](https://github.com/event4u-app/agent-config/commit/0c84dbc9923916a00f4fd4738c2089997614fe82))
|
|
1016
|
+
* **ci:** replaces arrays, legacy-path literal, cookbook test fixture ([a300ba0](https://github.com/event4u-app/agent-config/commit/a300ba03a4a17424ac5b24bf7713e7311c47a051))
|
|
1017
|
+
* **pack:** ship src/shared + src/server/schemas with the tarball ([39f6b66](https://github.com/event4u-app/agent-config/commit/39f6b668f14f26d8dc9e768bb8b400aa35e36039))
|
|
1018
|
+
* **cli:** list config in the Bash help output ([72f168e](https://github.com/event4u-app/agent-config/commit/72f168ec370671a0116ed7ff1ce76e4488b52390))
|
|
1019
|
+
* **install:** work around Claude Code flat user-command discovery regression ([af00db9](https://github.com/event4u-app/agent-config/commit/af00db98e7bf26a47a525f59a272647f5342a7e4))
|
|
1020
|
+
* **cli:** list every dispatched command in help output ([3e366d6](https://github.com/event4u-app/agent-config/commit/3e366d63dcced166ecfe54a184baf38def2c504c))
|
|
1021
|
+
* **wizard:** review chip overflow + dry-run apply hard floor; add browser E2E ([d5b0977](https://github.com/event4u-app/agent-config/commit/d5b09775cf1276d22624236cf49818f6d77afb04))
|
|
1022
|
+
|
|
1023
|
+
### Documentation
|
|
1024
|
+
|
|
1025
|
+
* update cross-references to nested command paths ([6ca8b56](https://github.com/event4u-app/agent-config/commit/6ca8b564f44c3631d5b4d29272679e4e65eb8c95))
|
|
1026
|
+
* **contracts:** register Phase-4 command clusters + bare-invocation rule (ADR-114) ([9e9f3c2](https://github.com/event4u-app/agent-config/commit/9e9f3c2fc437bce9066b0f4e3259c358ee80ada4))
|
|
1027
|
+
* document config command, init --project, wizard flow and settings hub ([d4a5df1](https://github.com/event4u-app/agent-config/commit/d4a5df1c050831f29d655775a2ad8a38b037f4bb))
|
|
1028
|
+
|
|
1029
|
+
### Refactoring
|
|
1030
|
+
|
|
1031
|
+
* **scripts:** retire py2ts parity rationale from all src/scripts comments ([4ec6f07](https://github.com/event4u-app/agent-config/commit/4ec6f07c5e36240c572426ff8e17ae857efc2ba4))
|
|
1032
|
+
* **commands:** nest 19 flat commands into Phase-4 clusters ([fa918c2](https://github.com/event4u-app/agent-config/commit/fa918c23d99f1b1100210be6757906bbcc68153f))
|
|
1033
|
+
|
|
1034
|
+
### Tests
|
|
1035
|
+
|
|
1036
|
+
* **budget:** align fixtures with the re-anchored mcp_schemas cap ([fa3c93f](https://github.com/event4u-app/agent-config/commit/fa3c93f637e751dc31bd6cc2b3b71a740fca33f1))
|
|
1037
|
+
|
|
1038
|
+
### Chores
|
|
1039
|
+
|
|
1040
|
+
* **counts:** re-sync prose counts after the main merge (172 commands) ([1042fad](https://github.com/event4u-app/agent-config/commit/1042fad691a0c2c3aa01079ef21654e816565863))
|
|
1041
|
+
* **hygiene:** fix stale references, triage claims debt, revive Tests: footer ([2379d4b](https://github.com/event4u-app/agent-config/commit/2379d4bf1821c0cbcb11d1ca919677a65bce86bf))
|
|
1042
|
+
* **roadmaps:** land the inbox-consolidation roadmap set (council 2026-07-08) ([f25b3bb](https://github.com/event4u-app/agent-config/commit/f25b3bb4a6fa68444e79e0cca80b2c3813bd3484))
|
|
1043
|
+
* regenerate dist, projections, catalogs, and pack manifests ([fa45778](https://github.com/event4u-app/agent-config/commit/fa45778ada09381701222a12be064932bb572c7d))
|
|
1044
|
+
* **bench:** re-anchor kernel-prefix snapshot after main's commit-policy edit ([98ee05a](https://github.com/event4u-app/agent-config/commit/98ee05a18736d016361d7dab88373b819ff1922e))
|
|
1045
|
+
* **bench:** refresh token baseline after run_tests exec pilot ([140697e](https://github.com/event4u-app/agent-config/commit/140697e177672805319fe2425c7e641d266c0843))
|
|
1046
|
+
* **budget:** re-anchor mcp_schemas.gpt cap after run_tests exec pilot ([0b49bd4](https://github.com/event4u-app/agent-config/commit/0b49bd4bd389ead796a59eb61c29b5fcc584d520))
|
|
1047
|
+
* **kernel:** ADR-114 — commit-policy Iron-Law override ([edabc87](https://github.com/event4u-app/agent-config/commit/edabc8753c218ed1661ccd664a7ce513b7f0b34b))
|
|
1048
|
+
* **matrix:** regenerate file-ownership matrix (new files from branch + main merge) ([8a88564](https://github.com/event4u-app/agent-config/commit/8a88564c7f01d2bfe5e35287e55ad0b1fca655f8))
|
|
1049
|
+
* **roadmap:** allow-pragma for historical council output path ([67076a4](https://github.com/event4u-app/agent-config/commit/67076a46c3228752bea11a050fb193e695e5b04c))
|
|
1050
|
+
* **docs:** add required stability frontmatter to surface-matrix contract ([e16a998](https://github.com/event4u-app/agent-config/commit/e16a998b499a8cdcdfc1a5f2f20d66c5031fe5b5))
|
|
1051
|
+
* **tiers:** register mcp_exec cluster (lab) in surface-tiers.yml ([55c3eda](https://github.com/event4u-app/agent-config/commit/55c3eda9c3fd148bae3b620c7214cfaa69ec9eb3))
|
|
1052
|
+
* **lint:** re-bump leakage allowlist lines after main's content sweep ([c2843ae](https://github.com/event4u-app/agent-config/commit/c2843ae9943305915ddf57ddad971f4e5aaf7799))
|
|
1053
|
+
* **index:** regenerate agents/index.md + docs/catalog.md after main merge ([2b85d9c](https://github.com/event4u-app/agent-config/commit/2b85d9c9aeb53b84f1be5473c835dd54ba73bb16))
|
|
1054
|
+
* **build:** regenerate install bundle (flat-command wrappers + packs lockfile) ([9952ae1](https://github.com/event4u-app/agent-config/commit/9952ae1512a1b4a0c76151b26fdf5a12632e1344))
|
|
1055
|
+
* **roadmap:** add + archive road-to-setup-experience (all phases shipped) ([54f01e5](https://github.com/event4u-app/agent-config/commit/54f01e5ad8ae37e277103973f93abd38c46e476e))
|
|
1056
|
+
|
|
1057
|
+
Tests: 6936
|
|
1058
|
+
|
|
1059
|
+
## [8.4.1](https://github.com/event4u-app/agent-config/compare/8.4.0...8.4.1) (2026-07-08)
|
|
1060
|
+
|
|
1061
|
+
### Bug Fixes
|
|
1062
|
+
|
|
1063
|
+
* **package:** ship src/install + agent-src script trees; gate imports at prepack ([77d53bc](https://github.com/event4u-app/agent-config/commit/77d53bcb2e14da1cff308cd0a8dd5d11d8783d5b))
|
|
1064
|
+
|
|
992
1065
|
## [8.4.0](https://github.com/event4u-app/agent-config/compare/8.3.0...8.4.0) (2026-07-08)
|
|
993
1066
|
|
|
994
1067
|
### Features
|
package/README.md
CHANGED
|
@@ -4,19 +4,19 @@
|
|
|
4
4
|
|
|
5
5
|
[](https://github.com/event4u-app/agent-config/actions/workflows/smoke.yml) [](https://github.com/event4u-app/agent-config/actions/workflows/smoke-public-install.yml) [](https://www.npmjs.com/package/@event4u/agent-config) [](https://glama.ai/mcp/servers/event4u-app/agent-config)
|
|
6
6
|
|
|
7
|
-
[](dist/agent-src/skills/) [](dist/agent-src/rules/) [](dist/agent-src/skills/) [](dist/agent-src/rules/) [](dist/agent-src/commands/) [](docs/guidelines/) [](dist/agent-src/personas/) [](dist/agent-src/personas/advisors/)
|
|
8
8
|
|
|
9
9
|
> **Choose your experience — developer · founder · content · agency · finance · ops. Add packs. Get a focused command set, not a 500-artefact dump.** Bring your own AI provider.
|
|
10
10
|
|
|
11
11
|
**Every public claim in this README is machine-checked — [verify it yourself](docs/proof.md).** In a market that runs on unbacked headline numbers, this one binds each claim to resolvable evidence or fails its own build.
|
|
12
12
|
|
|
13
|
-
**
|
|
13
|
+
**264 skills, 172 commands, 95 governed rules** — plus a capability router that loads the right skill on intent, and multi-agent orchestration with consensus review. The whole layer is compiled into 7+ host agents (Claude Code, Cursor, Augment, Cline, Windsurf, Copilot, Gemini) with **zero runtime daemon**.<!-- claim:no-runtime-daemon --> Six role-shaped entry paths sit on top, so any host becomes a reliable team member — without locking you to a single model or vendor.
|
|
14
14
|
|
|
15
15
|
### What's different
|
|
16
16
|
|
|
17
17
|
It is both deep **and** disciplined — and honest about what it deliberately is not:
|
|
18
18
|
|
|
19
|
-
- **Depth that routes itself** —
|
|
19
|
+
- **Depth that routes itself** — 264 skills + 172 commands, with a capability router that loads the right one on intent, not a 500-artefact context dump.
|
|
20
20
|
- **Governance on every host** — rules compiled into each tool's native format at projection time; deterministic runtime hooks added on hook-capable hosts. This config-space, host-agnostic governance is the moat ([the governance advantage](docs/governance-advantage.md) · [enforcement by host](docs/enforcement-by-host.md)).
|
|
21
21
|
- **Surgical uninstall** — removes only its own keys from a shared host config (matched by JSON-pointer + SHA-256), never a neighbour tool's entries.<!-- claim:surgical-uninstall -->
|
|
22
22
|
- **Pack-scoped install** — writes the active pack only, not a 500-artefact dump.
|
|
@@ -65,7 +65,7 @@ what is *not* loaded · examples):
|
|
|
65
65
|
|
|
66
66
|
### Workflows, not raw commands
|
|
67
67
|
|
|
68
|
-
You don't memorize
|
|
68
|
+
You don't memorize 172 commands — you run a **work journey**. Four flows span the
|
|
69
69
|
developer story end-to-end; each names the command you TYPE to start and the
|
|
70
70
|
skills it composes:
|
|
71
71
|
|
|
@@ -380,6 +380,18 @@ flags a missing-from-`PATH` binary or broken hook wiring. See
|
|
|
380
380
|
[getting-started § Keeping current](docs/getting-started.md#keeping-current) ·
|
|
381
381
|
[Troubleshooting](#troubleshooting).
|
|
382
382
|
|
|
383
|
+
### The command surface at a glance
|
|
384
|
+
|
|
385
|
+
| Command | What it does |
|
|
386
|
+
|---|---|
|
|
387
|
+
| `agent-config init` | One-shot install — opens the browser wizard (recommended path or step-by-step) |
|
|
388
|
+
| `agent-config init --project` | Initialize a project: minimal `agents/` bridge + managed `.gitignore` block |
|
|
389
|
+
| `agent-config config` | Open the configuration GUI — global settings hub (simple + advanced tiers, search, reset-to-default) |
|
|
390
|
+
| `agent-config config --project` | Open the project configuration surface |
|
|
391
|
+
| `agent-config setup` | Re-run the guided onboarding wizard (prefilled from your current state) |
|
|
392
|
+
| `agent-config upgrade` | Update the global install to the latest release + additively sync settings |
|
|
393
|
+
| `agent-config doctor` | Read-only health/drift report |
|
|
394
|
+
|
|
383
395
|
### Cloud / Hosted-agent surfaces
|
|
384
396
|
|
|
385
397
|
For platforms where the package's scripts cannot run, artefacts are built for paste-in or upload:
|
|
@@ -447,7 +459,7 @@ When a prompt matches a command's purpose ("setze ticket ABC-123 um" → `/imple
|
|
|
447
459
|
| [**Migration**](docs/MIGRATION.md) | Per-version upgrade steps |
|
|
448
460
|
| [**Showcase**](docs/showcase.md) | More examples & expected behavior |
|
|
449
461
|
|
|
450
|
-
Browse content: [all
|
|
462
|
+
Browse content: [all 172 commands](dist/agent-src/commands/) · [skills catalog](docs/skills-catalog.md) · [full catalog](docs/catalog.md) · [`llms.txt`](llms.txt).
|
|
451
463
|
|
|
452
464
|
---
|
|
453
465
|
|
package/dist/agent-src/README.md
CHANGED
|
@@ -42,7 +42,7 @@ For full details see [augment-infrastructure.md](contexts/augment-infrastructure
|
|
|
42
42
|
|---|---|
|
|
43
43
|
| `/agent-handoff` | Generate context summary for a fresh chat |
|
|
44
44
|
| `/fix-pr-comments` | Fix all open PR review comments |
|
|
45
|
-
| `/quality
|
|
45
|
+
| `/fix quality` | Run PHPStan + Rector and fix errors |
|
|
46
46
|
| `/create-pr` | Create a GitHub PR with description |
|
|
47
47
|
| `/bug-investigate` | Investigate a bug from Jira/Sentry |
|
|
48
48
|
| `/tests-create` | Write tests for current changes |
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
---
|
|
2
2
|
model_tier: high
|
|
3
3
|
name: analyze-reference-repo
|
|
4
|
-
pack:
|
|
4
|
+
pack: analysis-workbench
|
|
5
5
|
tier: 2
|
|
6
6
|
visibility: internal
|
|
7
|
+
sub: reference-repo
|
|
8
|
+
cluster: analyze
|
|
7
9
|
skills: [project-analyzer, learning-to-rule-or-skill]
|
|
8
10
|
description: Analyze an external reference repository (competitor, inspiration, peer) and produce a structured comparison + adoption plan for this project.
|
|
9
11
|
suggestion:
|
|
@@ -4,11 +4,11 @@ name: analyze
|
|
|
4
4
|
disable-model-invocation: true
|
|
5
5
|
pack: analysis-workbench
|
|
6
6
|
intent: "Analysis dispatcher — classify input by keywords, propose a weighted framework path, let the user pick"
|
|
7
|
-
routes_to: [analyze-postmortem, analyze-premortem, analyze-decision, analyze-near-miss, analyze-incident]
|
|
7
|
+
routes_to: [analyze-postmortem, analyze-premortem, analyze-decision, analyze-near-miss, analyze-incident, analyze-reference-repo]
|
|
8
8
|
replaces: []
|
|
9
9
|
tier: 1
|
|
10
10
|
visibility: advanced
|
|
11
|
-
description: Analysis orchestrator — confidence-weighted suggester that routes to postmortem, premortem, decision-review, near-miss, or
|
|
11
|
+
description: Analysis orchestrator — confidence-weighted suggester that routes to postmortem, premortem, decision-review, near-miss, incident, or reference-repo analysis.
|
|
12
12
|
cluster: analyze
|
|
13
13
|
type: orchestrator
|
|
14
14
|
suggestion:
|
|
@@ -37,6 +37,7 @@ to the chosen sub-command. Never auto-selects silently.
|
|
|
37
37
|
| `/analyze:decision` | `analyze/decision/command.md` | Audit a past architectural decision (did it hold?) |
|
|
38
38
|
| `/analyze:near-miss` | `analyze/near-miss/command.md` | Post-mortem for a near-miss (same flow, lighter severity framing) |
|
|
39
39
|
| `/analyze:incident` | `analyze/incident/command.md` | Full incident flow: commander → RCA → post-mortem → memory candidate |
|
|
40
|
+
| `/analyze:reference-repo` | `analyze/reference-repo/command.md` | Deep-dive an external reference repo (competitor, inspiration, peer) → structured comparison + adoption plan |
|
|
40
41
|
|
|
41
42
|
## Dispatch
|
|
42
43
|
|
|
@@ -60,6 +61,7 @@ match:
|
|
|
60
61
|
| "pre-mortem", "what could go wrong", "imagine failure", "vor dem Start" | `premortem` |
|
|
61
62
|
| "decision review", "ADR", "did this hold up", "rückblick Architektur" | `decision` |
|
|
62
63
|
| "production is down", "active incident", "Vorfall", "Prod ist down" | `incident` |
|
|
64
|
+
| external repo URL / `owner/repo`, "how does X do this", "compare with that repo", "competitor" | `reference-repo` |
|
|
63
65
|
|
|
64
66
|
Assign a confidence level (high / medium / low) per framework based on
|
|
65
67
|
signal count. A framework with zero signals gets `low`.
|
|
@@ -77,7 +79,8 @@ escape:
|
|
|
77
79
|
> 3. [low] Pre-mortem (`/analyze:premortem`) — imagined-failure analysis before committing
|
|
78
80
|
> 4. [low] Decision review (`/analyze:decision`) — did a past architectural decision hold up?
|
|
79
81
|
> 5. [low] Incident (`/analyze:incident`) — full live-incident coordination + RCA + post-mortem
|
|
80
|
-
> 6.
|
|
82
|
+
> 6. [low] Reference repo (`/analyze:reference-repo`) — deep-dive an external repo → comparison + adoption plan
|
|
83
|
+
> 7. Describe in your own words — I'll re-classify
|
|
81
84
|
|
|
82
85
|
**Empfehlung:** 1
|
|
83
86
|
|
|
@@ -91,7 +94,7 @@ Ask one question (per `ask-when-uncertain`):
|
|
|
91
94
|
> What happened or what are you trying to analyse?
|
|
92
95
|
|
|
93
96
|
Re-run Step 2 with the answer. Present the menu again. Do not loop
|
|
94
|
-
more than twice — on the third attempt, show all
|
|
97
|
+
more than twice — on the third attempt, show all six options unranked
|
|
95
98
|
and let the user pick.
|
|
96
99
|
|
|
97
100
|
### 5. Unknown sub-command
|
|
@@ -112,11 +115,11 @@ and ask which one was intended. One question, no guessing.
|
|
|
112
115
|
- **Memory loop applies** — every sub-command that produces an
|
|
113
116
|
analysis output MUST draft a memory candidate via
|
|
114
117
|
`/memory propose` per
|
|
115
|
-
[`docs/contracts/analysis-memory-loop.md`](
|
|
118
|
+
[`docs/contracts/analysis-memory-loop.md`](../../../docs/contracts/analysis-memory-loop.md).
|
|
116
119
|
|
|
117
120
|
## See also
|
|
118
121
|
|
|
119
|
-
- [`docs/contracts/analysis-memory-loop.md`](
|
|
122
|
+
- [`docs/contracts/analysis-memory-loop.md`](../../../docs/contracts/analysis-memory-loop.md) — produce → propose → promote → retrieve contract
|
|
120
123
|
- [`blameless-post-mortem`](../../../skills/blameless-post-mortem/SKILL.md) — post-mortem + near-miss skill
|
|
121
124
|
- [`root-cause-frameworks`](../../../skills/root-cause-frameworks/SKILL.md) — RCA engine
|
|
122
125
|
- [`premortem`](../../../skills/premortem/SKILL.md) — forward-looking imagined-failure skill
|
|
@@ -4,6 +4,8 @@ name: bug-fix
|
|
|
4
4
|
pack: engineering-base
|
|
5
5
|
tier: 2
|
|
6
6
|
visibility: internal
|
|
7
|
+
sub: fix
|
|
8
|
+
cluster: bug
|
|
7
9
|
skills: [bug-analyzer, pest-testing]
|
|
8
10
|
description: Plan and implement a bug fix — based on investigation, with quality checks and test verification
|
|
9
11
|
council_depth: deep
|
|
@@ -191,4 +193,4 @@ What next?
|
|
|
191
193
|
|
|
192
194
|
## See also
|
|
193
195
|
|
|
194
|
-
- [`role-contracts`](
|
|
196
|
+
- [`role-contracts`](../../../docs/guidelines/agent-infra/role-contracts.md#developer) — Developer mode output contract (Goal / Plan / Changes / Tests / Open questions)
|
|
@@ -4,6 +4,8 @@ name: bug-investigate
|
|
|
4
4
|
pack: engineering-base
|
|
5
5
|
tier: 2
|
|
6
6
|
visibility: internal
|
|
7
|
+
sub: investigate
|
|
8
|
+
cluster: bug
|
|
7
9
|
skills: [bug-analyzer, sentry-integration]
|
|
8
10
|
description: Investigate a bug — auto-detect ticket from branch, gather Jira/Sentry/description context, trace root cause
|
|
9
11
|
council_depth: deep
|
|
@@ -183,5 +185,5 @@ What's next?
|
|
|
183
185
|
|
|
184
186
|
## See also
|
|
185
187
|
|
|
186
|
-
- [`role-contracts`](
|
|
187
|
-
- [`role-contracts`](
|
|
188
|
+
- [`role-contracts`](../../../docs/guidelines/agent-infra/role-contracts.md#incident) — Incident mode output contract (Symptom / Reproduction / Minimal reversible change / Deferred verification / Follow-up commitment) — use when the bug is a live production issue with `break-glass: true`
|
|
189
|
+
- [`role-contracts`](../../../docs/guidelines/agent-infra/role-contracts.md#developer) — Developer mode output contract for non-incident bugs
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
---
|
|
2
|
+
model_tier: medium
|
|
3
|
+
name: bug
|
|
4
|
+
disable-model-invocation: true
|
|
5
|
+
pack: engineering-base
|
|
6
|
+
intent: "Bug dispatcher — investigate the root cause or implement the fix"
|
|
7
|
+
routes_to: [bug-investigate, bug-fix]
|
|
8
|
+
replaces: []
|
|
9
|
+
tier: 2
|
|
10
|
+
visibility: internal
|
|
11
|
+
description: Bug orchestrator — routes to investigate (root cause) and fix (plan + implement)
|
|
12
|
+
cluster: bug
|
|
13
|
+
type: orchestrator
|
|
14
|
+
suggestion:
|
|
15
|
+
eligible: true
|
|
16
|
+
trigger_description: "there is a bug, something is broken, investigate or fix this error"
|
|
17
|
+
trigger_context: "user reports a defect without saying whether they want root-cause analysis or the fix"
|
|
18
|
+
workspaces:
|
|
19
|
+
- agent-config-maintainer
|
|
20
|
+
packs:
|
|
21
|
+
- meta
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
# /bug
|
|
25
|
+
|
|
26
|
+
Top-level orchestrator for the `/bug` family — triage entry point when the
|
|
27
|
+
user knows they have a defect but has not picked a workflow yet.
|
|
28
|
+
|
|
29
|
+
## Sub-commands
|
|
30
|
+
|
|
31
|
+
| Sub-command | Routes to | Purpose |
|
|
32
|
+
|---|---|---|
|
|
33
|
+
| `/bug investigate` | `commands/bug/investigate.md` | Investigate a bug — auto-detect ticket from branch, gather Jira/Sentry context, trace root cause |
|
|
34
|
+
| `/bug fix` | `commands/bug/fix.md` | Plan and implement a bug fix — based on investigation, with quality checks and test verification |
|
|
35
|
+
|
|
36
|
+
Sub-command names match the locked contract in
|
|
37
|
+
[`docs/contracts/command-clusters.md`](../../docs/contracts/command-clusters.md).
|
|
38
|
+
|
|
39
|
+
## Dispatch
|
|
40
|
+
|
|
41
|
+
1. Parse the user's argument: `/bug <sub-command> [args]`.
|
|
42
|
+
2. Look up the sub-command in the table above.
|
|
43
|
+
3. Load the body of the corresponding `commands/bug/<sub>.md` file and follow
|
|
44
|
+
its `## Instructions` (or `## Steps`) section verbatim.
|
|
45
|
+
4. If the sub-command is unknown or missing, print the menu and ask — do not
|
|
46
|
+
guess:
|
|
47
|
+
|
|
48
|
+
> 1. investigate — trace the root cause (Jira/Sentry/stack-trace context)
|
|
49
|
+
> 2. fix — plan and implement the fix (quality checks + test verification)
|
|
50
|
+
|
|
51
|
+
## Rules
|
|
52
|
+
|
|
53
|
+
- **Investigate before fix when the cause is unknown.** `/bug fix` assumes an
|
|
54
|
+
investigation result or an obvious cause; if neither exists, recommend
|
|
55
|
+
`/bug investigate` first.
|
|
56
|
+
- **Do NOT chain sub-commands silently.** One `/bug <sub>` per turn; the
|
|
57
|
+
investigate output ends with a hand-back, not an auto-started fix.
|
|
58
|
+
- If the user invokes `/bug` with no argument, **show the menu** — do not
|
|
59
|
+
guess which workflow they meant.
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
---
|
|
2
2
|
model_tier: medium
|
|
3
|
-
name:
|
|
3
|
+
name: cost-profile
|
|
4
4
|
pack: meta
|
|
5
5
|
tier: 2
|
|
6
6
|
visibility: internal
|
|
7
|
+
replaces: [set-cost-profile]
|
|
8
|
+
sub: profile
|
|
9
|
+
cluster: cost
|
|
7
10
|
description: Change the rule_loading_tier in .agent-settings.yml — shows each profile's meaning and applies the selection
|
|
8
11
|
skills: [file-editor]
|
|
9
12
|
suggestion:
|
|
@@ -20,7 +23,7 @@ packs:
|
|
|
20
23
|
# /set-cost-profile
|
|
21
24
|
|
|
22
25
|
Changes `rule_loading_tier` in `.agent-settings.yml`. Four profiles are defined in
|
|
23
|
-
the [`agent-settings` template](
|
|
26
|
+
the [`agent-settings` template](../../templates/agent-settings.md#cost-profiles):
|
|
24
27
|
|
|
25
28
|
- `minimal` · `balanced` · `full` · `custom`
|
|
26
29
|
|
|
@@ -32,7 +35,7 @@ the [`agent-settings` template](../templates/agent-settings.md#cost-profiles):
|
|
|
32
35
|
- For first-run setup use [`/onboard`](onboard.md).
|
|
33
36
|
- For any other single-value change, edit `.agent-settings.yml`
|
|
34
37
|
directly or ask the agent — the merge rules live in
|
|
35
|
-
[`layered-settings`](
|
|
38
|
+
[`layered-settings`](../../../docs/guidelines/agent-infra/layered-settings.md#section-aware-merge-rules).
|
|
36
39
|
- For role modes use [`/mode`](mode.md) — different concept (sets
|
|
37
40
|
`roles.active_role`, not `rule_loading_tier`).
|
|
38
41
|
|
|
@@ -80,7 +83,7 @@ value directly — still echo the old → new line in step 6.
|
|
|
80
83
|
### 5. Write the value
|
|
81
84
|
|
|
82
85
|
Update `rule_loading_tier` in `.agent-settings.yml` using the
|
|
83
|
-
[section-aware merge rules](
|
|
86
|
+
[section-aware merge rules](../../../docs/guidelines/agent-infra/layered-settings.md#section-aware-merge-rules)
|
|
84
87
|
(preserve comments, preserve key order, touch only the changed field).
|
|
85
88
|
|
|
86
89
|
If the user picked "Keep current", do nothing and stop.
|
|
@@ -113,7 +116,7 @@ flip. Cost behaviour on those surfaces is governed by the platform itself.
|
|
|
113
116
|
|
|
114
117
|
## See also
|
|
115
118
|
|
|
116
|
-
- [`agent-settings`](
|
|
117
|
-
- [`layered-settings`](
|
|
119
|
+
- [`agent-settings`](../../templates/agent-settings.md) — profile matrix and settings reference
|
|
120
|
+
- [`layered-settings`](../../../docs/guidelines/agent-infra/layered-settings.md) — merge rules for settings edits
|
|
118
121
|
- [`onboard`](onboard.md) — first-run setup (includes profile confirmation)
|
|
119
122
|
- [`mode`](mode.md) — role-mode setter (different concept)
|
|
@@ -4,6 +4,8 @@ name: cost-report
|
|
|
4
4
|
pack: analytics
|
|
5
5
|
tier: 2
|
|
6
6
|
visibility: internal
|
|
7
|
+
sub: report
|
|
8
|
+
cluster: cost
|
|
7
9
|
description: Capture token cost from the active Claude Code session, append to the local sessions store, and surface the 50/75/90/100% budget alert ladder with cost-profile suggestions.
|
|
8
10
|
skills: [file-editor]
|
|
9
11
|
suggestion:
|
|
@@ -76,7 +78,7 @@ Recommend the model lever first:
|
|
|
76
78
|
### 4. First-run: prompt to set a budget
|
|
77
79
|
|
|
78
80
|
If `budget.mjs check` reports `no budget configured`, ask the user (one
|
|
79
|
-
question per turn — see [`ask-when-uncertain`](
|
|
81
|
+
question per turn — see [`ask-when-uncertain`](../../rules/ask-when-uncertain.md)):
|
|
80
82
|
|
|
81
83
|
> No budget set yet. What monthly USD cap do you want to track against?
|
|
82
84
|
> (e.g. 25, 50, 200)
|
|
@@ -103,9 +105,10 @@ Allowed values: `today`, `week`, `month`, `all` (default).
|
|
|
103
105
|
### 6. Orchestration telemetry summary (when telemetry exists)
|
|
104
106
|
|
|
105
107
|
Read the current-month JSONL from `agents/runtime/state/audit/YYYY-MM.jsonl`
|
|
106
|
-
(`YYYY-MM`
|
|
107
|
-
"orchestration"`, surface an orchestration summary
|
|
108
|
-
|
|
108
|
+
(where `YYYY-MM` is the current UTC month). If the file exists and contains
|
|
109
|
+
lines with `input_kind: "orchestration"`, surface an orchestration summary
|
|
110
|
+
using `readOrchestrationMetrics` from
|
|
111
|
+
`src/scripts/_lib/subagent_steering.ts`:
|
|
109
112
|
|
|
110
113
|
```
|
|
111
114
|
Orchestration telemetry (YYYY-MM, N dispatches):
|
|
@@ -115,15 +118,15 @@ Orchestration telemetry (YYYY-MM, N dispatches):
|
|
|
115
118
|
guardrail breaches: [token_blowup | spawn_failure | verify_skip | none]
|
|
116
119
|
```
|
|
117
120
|
|
|
118
|
-
|
|
119
|
-
month)
|
|
121
|
+
If no orchestration lines exist yet (telemetry capture not yet running or
|
|
122
|
+
no delegated dispatches this month), surface:
|
|
120
123
|
|
|
121
124
|
> No orchestration telemetry yet — subagent dispatches begin writing to
|
|
122
125
|
> `agents/runtime/state/audit/YYYY-MM.jsonl` once `subagents.enabled: true`
|
|
123
126
|
> and a dispatch runs.
|
|
124
127
|
|
|
125
|
-
Skip this step entirely if the user did not ask about orchestration telemetry
|
|
126
|
-
there is no `agents/runtime/state/audit/` directory.
|
|
128
|
+
Skip this step entirely if the user did not ask about orchestration telemetry
|
|
129
|
+
and there is no `agents/runtime/state/audit/` directory.
|
|
127
130
|
|
|
128
131
|
## Rules
|
|
129
132
|
|
|
@@ -133,8 +136,8 @@ there is no `agents/runtime/state/audit/` directory.
|
|
|
133
136
|
- **Don't auto-switch profiles.** This command surfaces a recommendation;
|
|
134
137
|
the user runs [`/set-cost-profile`](set-cost-profile.md) themselves.
|
|
135
138
|
Auto-mutation of `.agent-settings.yml` would breach
|
|
136
|
-
[`commit-policy`](
|
|
137
|
-
[`scope-control`](
|
|
139
|
+
[`commit-policy`](../../rules/commit-policy.md) and
|
|
140
|
+
[`scope-control`](../../rules/scope-control.md).
|
|
138
141
|
- **Honor HARD_STOP.** When `budget.mjs check` exits 1, surface the alert
|
|
139
142
|
prominently and stop the current task — do not keep working through the
|
|
140
143
|
cap silently.
|
|
@@ -145,13 +148,11 @@ there is no `agents/runtime/state/audit/` directory.
|
|
|
145
148
|
`.agent-settings.yml`.
|
|
146
149
|
- [`/agent-status`](agent-status.md) — per-conversation token estimate
|
|
147
150
|
(different scope: in-flight estimate, not historical actuals).
|
|
148
|
-
- [`scripts/cost/track.mjs`](
|
|
149
|
-
- [`scripts/cost/budget.mjs`](
|
|
151
|
+
- [`scripts/cost/track.mjs`](../../../scripts/cost/track.mjs) — tracker source.
|
|
152
|
+
- [`scripts/cost/budget.mjs`](../../../scripts/cost/budget.mjs) — budget source.
|
|
150
153
|
|
|
151
154
|
## Attribution
|
|
152
155
|
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
`memory_store` dependency was replaced with a local JSONL append; the
|
|
157
|
-
50/75/90/100% alert ladder and pricing tiers are preserved verbatim.
|
|
156
|
+
Adapted from an external reference. The MCP `memory_store` dependency
|
|
157
|
+
was replaced with a local JSONL append; the 50/75/90/100% alert ladder
|
|
158
|
+
and pricing tiers are preserved verbatim.
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
---
|
|
2
|
+
model_tier: medium
|
|
3
|
+
name: cost
|
|
4
|
+
disable-model-invocation: true
|
|
5
|
+
pack: meta
|
|
6
|
+
intent: "Cost dispatcher — session cost report or rule-loading cost profile"
|
|
7
|
+
routes_to: [cost-report, cost-profile]
|
|
8
|
+
replaces: []
|
|
9
|
+
tier: 2
|
|
10
|
+
visibility: internal
|
|
11
|
+
description: Cost orchestrator — routes to report (session token cost + budget ladder) and profile (change the rule_loading_tier)
|
|
12
|
+
cluster: cost
|
|
13
|
+
type: orchestrator
|
|
14
|
+
suggestion:
|
|
15
|
+
eligible: true
|
|
16
|
+
trigger_description: "how expensive is this session, check token budget, change the cost profile"
|
|
17
|
+
trigger_context: "user asks about token cost or budget tiers without picking report vs profile"
|
|
18
|
+
workspaces:
|
|
19
|
+
- agent-config-maintainer
|
|
20
|
+
packs:
|
|
21
|
+
- meta
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
# /cost
|
|
25
|
+
|
|
26
|
+
Top-level orchestrator for the `/cost` family — token-budget observability
|
|
27
|
+
and configuration.
|
|
28
|
+
|
|
29
|
+
## Sub-commands
|
|
30
|
+
|
|
31
|
+
| Sub-command | Routes to | Purpose |
|
|
32
|
+
|---|---|---|
|
|
33
|
+
| `/cost report` | `commands/cost/report.md` | Capture the active session's token cost, append to the local store, surface the 50/75/90/100% budget alert ladder |
|
|
34
|
+
| `/cost profile` | `commands/cost/profile.md` | Change the `rule_loading_tier` in `.agent-settings.yml` — shows each profile's meaning, applies the selection |
|
|
35
|
+
|
|
36
|
+
Sub-command names match the locked contract in
|
|
37
|
+
[`docs/contracts/command-clusters.md`](../../docs/contracts/command-clusters.md).
|
|
38
|
+
|
|
39
|
+
## Dispatch
|
|
40
|
+
|
|
41
|
+
1. Parse the user's argument: `/cost <sub-command> [args]`.
|
|
42
|
+
2. Look up the sub-command in the table above.
|
|
43
|
+
3. Load the body of the corresponding `commands/cost/<sub>.md` file and
|
|
44
|
+
follow its `## Instructions` (or `## Steps`) section verbatim.
|
|
45
|
+
4. If the sub-command is unknown or missing, print the menu and ask — do not
|
|
46
|
+
guess:
|
|
47
|
+
|
|
48
|
+
> 1. report — session token cost + budget alert ladder (read-only)
|
|
49
|
+
> 2. profile — change the rule_loading_tier (settings mutation)
|
|
50
|
+
|
|
51
|
+
## Rules
|
|
52
|
+
|
|
53
|
+
- **`report` is read-only; `profile` mutates settings.** The profile change
|
|
54
|
+
always shows the diff and asks before writing.
|
|
55
|
+
- **Do NOT chain sub-commands.** One `/cost <sub>` per turn.
|
|
56
|
+
- If the user invokes `/cost` with no argument, **show the menu** — do not
|
|
57
|
+
guess which sub-command they meant.
|
|
@@ -1,34 +1,38 @@
|
|
|
1
1
|
{
|
|
2
|
-
"command": "review
|
|
3
|
-
"intent": "
|
|
2
|
+
"command": "review",
|
|
3
|
+
"intent": "Review dispatcher — multi-judge self-review of the current diff, or reviewer routing",
|
|
4
4
|
"cases": [
|
|
5
5
|
{
|
|
6
6
|
"prompt": "self-review my changes before I open a PR",
|
|
7
|
-
"expected": "review
|
|
7
|
+
"expected": "review"
|
|
8
8
|
},
|
|
9
9
|
{
|
|
10
10
|
"prompt": "run all the judges on my current diff",
|
|
11
|
-
"expected": "review
|
|
11
|
+
"expected": "review"
|
|
12
12
|
},
|
|
13
13
|
{
|
|
14
14
|
"prompt": "check my changes for bugs, security, and test coverage",
|
|
15
|
-
"expected": "review
|
|
15
|
+
"expected": "review"
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
18
|
"prompt": "do a full pre-PR review of the working tree",
|
|
19
|
-
"expected": "review
|
|
19
|
+
"expected": "review"
|
|
20
20
|
},
|
|
21
21
|
{
|
|
22
22
|
"prompt": "review the diff across architecture and quality lenses",
|
|
23
|
-
"expected": "review
|
|
23
|
+
"expected": "review"
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
"prompt": "vet these changes before committing",
|
|
27
|
-
"expected": "review
|
|
27
|
+
"expected": "review"
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
30
|
"prompt": "get an external second opinion from another model",
|
|
31
31
|
"expected": "council"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"prompt": "who should review this PR, suggest reviewers for the diff",
|
|
35
|
+
"expected": "review"
|
|
32
36
|
}
|
|
33
37
|
]
|
|
34
38
|
}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
---
|
|
2
2
|
model_tier: medium
|
|
3
|
-
name: quality
|
|
3
|
+
name: fix-quality
|
|
4
4
|
pack: engineering-base
|
|
5
5
|
tier: 2
|
|
6
6
|
visibility: internal
|
|
7
|
+
replaces: [quality-fix]
|
|
8
|
+
sub: quality
|
|
9
|
+
cluster: fix
|
|
7
10
|
skills: [quality-tools]
|
|
8
11
|
description: Run quality pipeline (PHP and/or JS/TS) and fix all errors — auto-detects language from changed files
|
|
9
12
|
suggestion:
|
|
@@ -21,7 +24,7 @@ packs:
|
|
|
21
24
|
## Step 0: Detect language
|
|
22
25
|
|
|
23
26
|
Resolve the quality toolchain via the
|
|
24
|
-
[`toolchain-resolver`](
|
|
27
|
+
[`toolchain-resolver`](../../contexts/execution/toolchain-resolver.md) — it
|
|
25
28
|
returns the per-ecosystem `quality` commands (phpstan / pint / tsc /
|
|
26
29
|
eslint / ruff / mypy / …) alongside the test runner, from the same
|
|
27
30
|
manifest read. The wrapper-first preference and the language table below
|