@event4u/agent-config 1.15.0 → 1.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agent-src/commands/{agents-audit.md → agents/audit.md} +4 -3
- package/.agent-src/commands/{agents-cleanup.md → agents/cleanup.md} +12 -6
- package/.agent-src/commands/{agents-prepare.md → agents/prepare.md} +4 -3
- package/.agent-src/commands/agents.md +46 -0
- package/.agent-src/commands/bug-fix.md +1 -1
- package/.agent-src/commands/bug-investigate.md +2 -2
- package/.agent-src/commands/{chat-history-checkpoint.md → chat-history/checkpoint.md} +5 -5
- package/.agent-src/commands/{chat-history-clear.md → chat-history/clear.md} +5 -5
- package/.agent-src/commands/{chat-history-resume.md → chat-history/resume.md} +4 -4
- package/.agent-src/commands/chat-history/show.md +107 -0
- package/.agent-src/commands/chat-history.md +33 -89
- package/.agent-src/commands/check-current-md.md +1 -1
- package/.agent-src/commands/{commit-in-chunks.md → commit/in-chunks.md} +15 -13
- package/.agent-src/commands/commit.md +22 -2
- package/.agent-src/commands/{context-create.md → context/create.md} +4 -3
- package/.agent-src/commands/{context-refactor.md → context/refactor.md} +4 -3
- package/.agent-src/commands/context.md +44 -0
- package/.agent-src/commands/{copilot-agents-init.md → copilot-agents/init.md} +4 -3
- package/.agent-src/commands/{copilot-agents-optimize.md → copilot-agents/optimize.md} +4 -3
- package/.agent-src/commands/copilot-agents.md +44 -0
- package/.agent-src/commands/council/default.md +221 -0
- package/.agent-src/commands/council/design.md +97 -0
- package/.agent-src/commands/council/optimize.md +116 -0
- package/.agent-src/commands/council/pr.md +124 -0
- package/.agent-src/commands/council.md +54 -0
- package/.agent-src/commands/{create-pr-description.md → create-pr/description-only.md} +4 -2
- package/.agent-src/commands/create-pr.md +49 -5
- package/.agent-src/commands/e2e-heal.md +1 -1
- package/.agent-src/commands/e2e-plan.md +1 -1
- package/.agent-src/commands/{feature-dev.md → feature/dev.md} +6 -3
- package/.agent-src/commands/{feature-explore.md → feature/explore.md} +5 -4
- package/.agent-src/commands/{feature-plan.md → feature/plan.md} +32 -5
- package/.agent-src/commands/{feature-refactor.md → feature/refactor.md} +4 -3
- package/.agent-src/commands/{feature-roadmap.md → feature/roadmap.md} +7 -6
- package/.agent-src/commands/feature.md +52 -0
- package/.agent-src/commands/{fix-ci.md → fix/ci.md} +4 -3
- package/.agent-src/commands/{fix-portability.md → fix/portability.md} +4 -3
- package/.agent-src/commands/{fix-pr-bot-comments.md → fix/pr-bots.md} +4 -3
- package/.agent-src/commands/{fix-pr-developer-comments.md → fix/pr-developers.md} +4 -3
- package/.agent-src/commands/{fix-pr-comments.md → fix/pr.md} +7 -6
- package/.agent-src/commands/{fix-references.md → fix/refs.md} +4 -3
- package/.agent-src/commands/{fix-seeder.md → fix/seeder.md} +4 -3
- package/.agent-src/commands/fix.md +54 -0
- package/.agent-src/commands/jira-ticket.md +1 -1
- package/.agent-src/commands/{do-and-judge.md → judge/on-diff.md} +7 -6
- package/.agent-src/commands/judge/solo.md +90 -0
- package/.agent-src/commands/{do-in-steps.md → judge/steps.md} +8 -7
- package/.agent-src/commands/judge.md +35 -70
- package/.agent-src/commands/{memory-add.md → memory/add.md} +7 -6
- package/.agent-src/commands/{memory-full.md → memory/load.md} +6 -5
- package/.agent-src/commands/{memory-promote.md → memory/promote.md} +6 -5
- package/.agent-src/commands/{propose-memory.md → memory/propose.md} +6 -5
- package/.agent-src/commands/memory.md +48 -0
- package/.agent-src/commands/mode.md +5 -5
- package/.agent-src/commands/{module-create.md → module/create.md} +4 -3
- package/.agent-src/commands/{module-explore.md → module/explore.md} +4 -3
- package/.agent-src/commands/module.md +44 -0
- package/.agent-src/commands/onboard.md +3 -3
- package/.agent-src/commands/{optimize-agents.md → optimize/agents.md} +5 -4
- package/.agent-src/commands/{optimize-augmentignore.md → optimize/augmentignore.md} +4 -4
- package/.agent-src/commands/{optimize-rtk-filters.md → optimize/rtk.md} +4 -3
- package/.agent-src/commands/{optimize-skills.md → optimize/skills.md} +5 -4
- package/.agent-src/commands/optimize.md +48 -0
- package/.agent-src/commands/{override-create.md → override/create.md} +4 -3
- package/.agent-src/commands/{override-manage.md → override/manage.md} +4 -3
- package/.agent-src/commands/override.md +44 -0
- package/.agent-src/commands/review-changes.md +26 -1
- package/.agent-src/commands/review-routing.md +1 -1
- package/.agent-src/commands/{roadmap-create.md → roadmap/create.md} +33 -5
- package/.agent-src/commands/{roadmap-execute.md → roadmap/execute.md} +4 -3
- package/.agent-src/commands/roadmap.md +44 -0
- package/.agent-src/commands/set-cost-profile.md +3 -3
- package/.agent-src/commands/sync-agent-settings.md +2 -2
- package/.agent-src/commands/{tests-create.md → tests/create.md} +5 -4
- package/.agent-src/commands/{tests-execute.md → tests/execute.md} +4 -3
- package/.agent-src/commands/tests.md +44 -0
- package/.agent-src/commands/upstream-contribute.md +1 -1
- package/.agent-src/contexts/authority/commit-mechanics.md +57 -0
- package/.agent-src/contexts/authority/destructive-mechanics.md +66 -0
- package/.agent-src/contexts/authority/scope-mechanics.md +87 -0
- package/.agent-src/contexts/communication/rules-auto/artifact-engagement-recording-mechanics.md +72 -0
- package/.agent-src/contexts/communication/rules-auto/augment-portability-mechanics.md +79 -0
- package/.agent-src/contexts/communication/rules-auto/augment-source-of-truth-mechanics.md +98 -0
- package/.agent-src/contexts/communication/rules-auto/cli-output-handling-mechanics.md +87 -0
- package/.agent-src/contexts/communication/rules-auto/command-suggestion-policy-mechanics.md +62 -0
- package/.agent-src/contexts/communication/rules-auto/docs-sync-mechanics.md +78 -0
- package/.agent-src/contexts/communication/rules-auto/package-ci-checks-mechanics.md +85 -0
- package/.agent-src/contexts/communication/rules-auto/review-routing-awareness-mechanics.md +65 -0
- package/.agent-src/contexts/communication/rules-auto/roadmap-progress-sync-mechanics.md +78 -0
- package/.agent-src/contexts/communication/rules-auto/skill-quality-mechanics.md +62 -0
- package/.agent-src/contexts/communication/rules-auto/slash-command-routing-policy-mechanics.md +55 -0
- package/.agent-src/contexts/communication/rules-auto/ui-audit-gate-mechanics.md +53 -0
- package/.agent-src/contexts/communication/rules-auto/user-interaction-mechanics.md +77 -0
- package/.agent-src/contexts/execution/autonomy-detection.md +54 -0
- package/.agent-src/contexts/execution/autonomy-examples.md +90 -0
- package/.agent-src/contexts/execution/autonomy-mechanics.md +29 -0
- package/.agent-src/contexts/execution/verification-mechanics.md +80 -0
- package/.agent-src/contexts/judges/no-consolidate-rationale.md +102 -0
- package/.agent-src/contexts/judges/persona-voice-rubric.md +140 -0
- package/.agent-src/personas/README.md +1 -1
- package/.agent-src/rules/agent-authority.md +24 -0
- package/.agent-src/rules/architecture.md +1 -1
- package/.agent-src/rules/artifact-drafting-protocol.md +1 -1
- package/.agent-src/rules/artifact-engagement-recording.md +14 -70
- package/.agent-src/rules/ask-when-uncertain.md +28 -43
- package/.agent-src/rules/augment-portability.md +15 -61
- package/.agent-src/rules/augment-source-of-truth.md +27 -93
- package/.agent-src/rules/autonomous-execution.md +78 -114
- package/.agent-src/rules/capture-learnings.md +1 -1
- package/.agent-src/rules/chat-history-cadence.md +3 -3
- package/.agent-src/rules/chat-history-ownership.md +3 -3
- package/.agent-src/rules/chat-history-visibility.md +3 -3
- package/.agent-src/rules/cli-output-handling.md +10 -76
- package/.agent-src/rules/command-suggestion-policy.md +93 -0
- package/.agent-src/rules/commit-conventions.md +17 -14
- package/.agent-src/rules/commit-policy.md +14 -42
- package/.agent-src/rules/context-hygiene.md +3 -3
- package/.agent-src/rules/direct-answers.md +34 -49
- package/.agent-src/rules/docker-commands.md +5 -5
- package/.agent-src/rules/docs-sync.md +16 -70
- package/.agent-src/rules/e2e-testing.md +1 -1
- package/.agent-src/rules/guidelines.md +4 -4
- package/.agent-src/rules/improve-before-implement.md +2 -2
- package/.agent-src/rules/language-and-tone.md +50 -133
- package/.agent-src/rules/minimal-safe-diff.md +3 -3
- package/.agent-src/rules/missing-tool-handling.md +28 -22
- package/.agent-src/rules/model-recommendation.md +4 -4
- package/.agent-src/rules/no-cheap-questions.md +82 -0
- package/.agent-src/rules/no-roadmap-references.md +73 -0
- package/.agent-src/rules/non-destructive-by-default.md +15 -49
- package/.agent-src/rules/onboarding-gate.md +5 -5
- package/.agent-src/rules/package-ci-checks.md +21 -61
- package/.agent-src/rules/preservation-guard.md +64 -29
- package/.agent-src/rules/review-routing-awareness.md +26 -45
- package/.agent-src/rules/roadmap-progress-sync.md +28 -96
- package/.agent-src/rules/role-mode-adherence.md +2 -2
- package/.agent-src/rules/scope-control.md +65 -46
- package/.agent-src/rules/security-sensitive-stop.md +9 -9
- package/.agent-src/rules/size-enforcement.md +1 -1
- package/.agent-src/rules/skill-quality.md +16 -48
- package/.agent-src/rules/{slash-commands.md → slash-command-routing-policy.md} +7 -4
- package/.agent-src/rules/think-before-action.md +55 -45
- package/.agent-src/rules/token-efficiency.md +4 -4
- package/.agent-src/rules/tool-safety.md +19 -16
- package/.agent-src/rules/{ui-audit-before-build.md → ui-audit-gate.md} +27 -41
- package/.agent-src/rules/user-interaction.md +16 -71
- package/.agent-src/rules/verify-before-complete.md +12 -67
- package/.agent-src/scripts/update_roadmap_progress.py +9 -4
- package/.agent-src/skills/ai-council/SKILL.md +335 -0
- package/.agent-src/skills/api-endpoint/SKILL.md +2 -2
- package/.agent-src/skills/api-testing/SKILL.md +1 -1
- package/.agent-src/skills/blade-ui/SKILL.md +1 -1
- package/.agent-src/skills/blast-radius-analyzer/SKILL.md +1 -1
- package/.agent-src/skills/bug-analyzer/SKILL.md +1 -1
- package/.agent-src/skills/check-refs/SKILL.md +59 -40
- package/.agent-src/skills/command-routing/SKILL.md +1 -1
- package/.agent-src/skills/command-writing/SKILL.md +1 -1
- package/.agent-src/skills/conventional-commits-writing/SKILL.md +86 -28
- package/.agent-src/skills/copilot-agents-optimization/SKILL.md +7 -7
- package/.agent-src/skills/developer-like-execution/SKILL.md +6 -6
- package/.agent-src/skills/finishing-a-development-branch/SKILL.md +101 -65
- package/.agent-src/skills/flux/SKILL.md +31 -11
- package/.agent-src/skills/git-workflow/SKILL.md +1 -1
- package/.agent-src/skills/github-ci/SKILL.md +2 -2
- package/.agent-src/skills/guideline-writing/SKILL.md +11 -11
- package/.agent-src/skills/judge-code-quality/SKILL.md +7 -8
- package/.agent-src/skills/judge-security-auditor/SKILL.md +4 -5
- package/.agent-src/skills/judge-test-coverage/SKILL.md +3 -4
- package/.agent-src/skills/learning-to-rule-or-skill/SKILL.md +4 -4
- package/.agent-src/skills/lint-skills/SKILL.md +57 -39
- package/.agent-src/skills/livewire/SKILL.md +1 -1
- package/.agent-src/skills/md-language-check/SKILL.md +61 -39
- package/.agent-src/skills/override-management/SKILL.md +7 -7
- package/.agent-src/skills/php-coder/SKILL.md +1 -1
- package/.agent-src/skills/playwright-testing/SKILL.md +2 -2
- package/.agent-src/skills/quality-tools/SKILL.md +2 -2
- package/.agent-src/skills/react-shadcn-ui/SKILL.md +116 -43
- package/.agent-src/skills/readme-reviewer/SKILL.md +31 -30
- package/.agent-src/skills/readme-writing/SKILL.md +79 -54
- package/.agent-src/skills/readme-writing-package/SKILL.md +51 -48
- package/.agent-src/skills/receiving-code-review/SKILL.md +53 -48
- package/.agent-src/skills/refine-prompt/SKILL.md +0 -1
- package/.agent-src/skills/requesting-code-review/SKILL.md +35 -30
- package/.agent-src/skills/review-routing/SKILL.md +2 -2
- package/.agent-src/skills/rule-writing/SKILL.md +1 -1
- package/.agent-src/skills/security/SKILL.md +7 -2
- package/.agent-src/skills/security-audit/SKILL.md +7 -3
- package/.agent-src/skills/skill-reviewer/SKILL.md +1 -1
- package/.agent-src/skills/skill-writing/SKILL.md +3 -3
- package/.agent-src/skills/subagent-orchestration/SKILL.md +1 -0
- package/.agent-src/skills/systematic-debugging/SKILL.md +69 -61
- package/.agent-src/skills/test-driven-development/SKILL.md +59 -57
- package/.agent-src/skills/test-performance/SKILL.md +0 -1
- package/.agent-src/skills/traefik/SKILL.md +4 -4
- package/.agent-src/skills/upstream-contribute/SKILL.md +1 -1
- package/.agent-src/skills/validate-feature-fit/SKILL.md +2 -2
- package/.agent-src/skills/{verify-before-complete → verify-completion-evidence}/SKILL.md +30 -28
- package/.agent-src/templates/agent-settings.md +8 -8
- package/.agent-src/templates/contexts/auth-model.md +1 -1
- package/.agent-src/templates/scripts/README.md +2 -2
- package/.agent-src/templates/scripts/telemetry/aggregator.py +16 -1
- package/.agent-src/templates/scripts/telemetry/engagement.py +59 -0
- package/.agent-src/templates/scripts/telemetry/report_renderer.py +28 -1
- package/.agent-src/templates/scripts/telemetry_record.py +14 -1
- package/.claude-plugin/marketplace.json +31 -12
- package/AGENTS.md +11 -9
- package/CHANGELOG.md +213 -2
- package/README.md +43 -44
- package/config/agent-settings.template.yml +58 -1
- package/config/gitignore-block.txt +3 -0
- package/docs/architecture.md +5 -7
- package/docs/catalog.md +359 -0
- package/docs/contracts/STABILITY.md +46 -1
- package/docs/contracts/adr-chat-history-split.md +1 -3
- package/docs/contracts/adr-command-suggestion.md +3 -5
- package/docs/contracts/adr-implement-ticket-runtime.md +1 -2
- package/docs/contracts/adr-product-ui-track.md +5 -8
- package/docs/contracts/adr-prompt-driven-execution.md +3 -4
- package/docs/contracts/agent-memory-contract.md +8 -13
- package/docs/contracts/artifact-engagement-flow.md +7 -10
- package/docs/contracts/command-clusters.md +56 -46
- package/docs/contracts/command-suggestion-flow.md +4 -6
- package/docs/contracts/context-paths.md +99 -0
- package/docs/contracts/file-ownership-matrix.json +6722 -0
- package/docs/contracts/file-ownership-matrix.md +134 -0
- package/docs/contracts/implement-ticket-flow.md +8 -11
- package/docs/contracts/linear-ai-rules-inclusion.md +1 -2
- package/docs/contracts/linear-ai-three-layers.md +0 -2
- package/docs/contracts/load-context-budget-model.md +178 -0
- package/docs/contracts/load-context-schema.md +184 -0
- package/docs/contracts/rule-interactions.md +0 -1
- package/docs/contracts/rule-interactions.yml +96 -0
- package/docs/contracts/rule-priority-hierarchy.md +87 -0
- package/docs/contracts/ui-track-flow.md +8 -18
- package/docs/customization.md +16 -0
- package/docs/end-to-end-walkthroughs.md +165 -0
- package/docs/getting-started.md +29 -10
- package/docs/github-topics.md +12 -3
- package/docs/guidelines/agent-infra/asking-and-brevity-examples.md +100 -0
- package/docs/guidelines/agent-infra/language-and-tone-examples.md +79 -0
- package/{.agent-src → docs}/guidelines/docs/readme-size-and-splitting.md +26 -25
- package/docs/guidelines/php/git.md +164 -0
- package/docs/migrations/commands-1.15.0.md +1 -1
- package/docs/showcase.md +9 -4
- package/docs/skills-catalog.md +14 -8
- package/docs/ui-track-mental-model.md +2 -2
- package/llms.txt +13 -7
- package/package.json +1 -1
- package/scripts/_one_off_phase4_dispatch_latency.py +108 -0
- package/scripts/_one_off_phase6_trigger_jaccard.py +92 -0
- package/scripts/_phase2_shim_helper.py +109 -0
- package/scripts/agent-config +33 -0
- package/scripts/ai_council/__init__.py +39 -0
- package/scripts/ai_council/_default_prices.py +41 -0
- package/scripts/ai_council/_one_off_2a4_acceptance.py +208 -0
- package/scripts/ai_council/_one_off_context_layer_v1_estimate.py +67 -0
- package/scripts/ai_council/_one_off_context_layer_v1_review.py +292 -0
- package/scripts/ai_council/_one_off_followups_review.py +259 -0
- package/scripts/ai_council/_one_off_nondestructive_inline_audit.py +209 -0
- package/scripts/ai_council/_one_off_phase_2a_budget_rebalance.py +257 -0
- package/scripts/ai_council/_one_off_phase_2a_post_revert.py +197 -0
- package/scripts/ai_council/_one_off_rebalancing_audit.py +149 -0
- package/scripts/ai_council/_one_off_roundtrip.py +106 -0
- package/scripts/ai_council/_one_off_rule_hardening_v1.py +251 -0
- package/scripts/ai_council/_one_off_structural_open_questions.py +232 -0
- package/scripts/ai_council/_one_off_structural_optimization.py +144 -0
- package/scripts/ai_council/_one_off_structural_v3_gaps.py +252 -0
- package/scripts/ai_council/_one_off_structural_v3_review.py +240 -0
- package/scripts/ai_council/budget_guard.py +172 -0
- package/scripts/ai_council/bundler.py +261 -0
- package/scripts/ai_council/clients.py +381 -0
- package/scripts/ai_council/modes.py +127 -0
- package/scripts/ai_council/orchestrator.py +350 -0
- package/scripts/ai_council/pricing.py +213 -0
- package/scripts/ai_council/project_context.py +159 -0
- package/scripts/ai_council/prompts.py +232 -0
- package/scripts/ai_council/session.py +144 -0
- package/scripts/check_always_budget.py +444 -0
- package/scripts/check_augmentignore.py +69 -0
- package/scripts/check_cluster_patterns.py +159 -0
- package/scripts/check_command_count_messaging.py +127 -0
- package/scripts/check_context_paths.py +201 -0
- package/scripts/check_no_roadmap_refs.py +155 -0
- package/scripts/check_phase_coupling.py +148 -0
- package/scripts/check_portability.py +57 -0
- package/scripts/check_public_catalog_links.py +122 -0
- package/scripts/check_references.py +33 -3
- package/scripts/check_roadmap_trackable.py +111 -0
- package/scripts/check_safety_floor_untouched.py +125 -0
- package/scripts/command_suggester/cooldown.py +1 -1
- package/scripts/command_suggester/loader.py +4 -1
- package/scripts/compress.py +59 -13
- package/scripts/generate_index.py +270 -0
- package/scripts/generate_ownership_matrix.py +323 -0
- package/scripts/hooks/augment-roadmap-progress.sh +57 -0
- package/scripts/install.py +49 -28
- package/scripts/install_anthropic_key.sh +5 -0
- package/scripts/install_openai_key.sh +106 -0
- package/scripts/lint_load_context.py +163 -0
- package/scripts/lint_no_new_atomic_commands.py +12 -11
- package/scripts/requirements-evals.txt +1 -0
- package/scripts/roadmap_progress_hook.py +159 -0
- package/scripts/schemas/command.schema.json +22 -1
- package/scripts/schemas/rule.schema.json +10 -0
- package/scripts/skill_linter.py +13 -4
- package/scripts/sync_agent_settings.py +26 -3
- package/scripts/update_counts.py +16 -4
- package/scripts/update_prices.py +124 -0
- package/.agent-src/guidelines/php/git.md +0 -96
- package/.agent-src/rules/command-suggestion.md +0 -134
- /package/{.agent-src → docs}/guidelines/agent-infra/agent-interaction-and-decision-quality.md +0 -0
- /package/{.agent-src → docs}/guidelines/agent-infra/break-glass-usage.md +0 -0
- /package/{.agent-src → docs}/guidelines/agent-infra/developer-judgment.md +0 -0
- /package/{.agent-src → docs}/guidelines/agent-infra/engineering-memory-data-format.md +0 -0
- /package/{.agent-src → docs}/guidelines/agent-infra/layered-settings.md +0 -0
- /package/{.agent-src → docs}/guidelines/agent-infra/memory-access.md +0 -0
- /package/{.agent-src → docs}/guidelines/agent-infra/naming.md +0 -0
- /package/{.agent-src → docs}/guidelines/agent-infra/output-patterns.md +0 -0
- /package/{.agent-src → docs}/guidelines/agent-infra/review-routing-data-format.md +0 -0
- /package/{.agent-src → docs}/guidelines/agent-infra/role-contracts.md +0 -0
- /package/{.agent-src → docs}/guidelines/agent-infra/role-mode-router.md +0 -0
- /package/{.agent-src → docs}/guidelines/agent-infra/runtime-layer.md +0 -0
- /package/{.agent-src → docs}/guidelines/agent-infra/self-improvement-pipeline.md +0 -0
- /package/{.agent-src → docs}/guidelines/agent-infra/size-and-scope.md +0 -0
- /package/{.agent-src → docs}/guidelines/agent-infra/tool-integration.md +0 -0
- /package/{.agent-src → docs}/guidelines/e2e/playwright.md +0 -0
- /package/{.agent-src → docs}/guidelines/php/api-design.md +0 -0
- /package/{.agent-src → docs}/guidelines/php/artisan-commands.md +0 -0
- /package/{.agent-src → docs}/guidelines/php/blade-ui.md +0 -0
- /package/{.agent-src → docs}/guidelines/php/controllers.md +0 -0
- /package/{.agent-src → docs}/guidelines/php/database.md +0 -0
- /package/{.agent-src → docs}/guidelines/php/eloquent.md +0 -0
- /package/{.agent-src → docs}/guidelines/php/flux.md +0 -0
- /package/{.agent-src → docs}/guidelines/php/general.md +0 -0
- /package/{.agent-src → docs}/guidelines/php/jobs.md +0 -0
- /package/{.agent-src → docs}/guidelines/php/livewire.md +0 -0
- /package/{.agent-src → docs}/guidelines/php/logging.md +0 -0
- /package/{.agent-src → docs}/guidelines/php/naming.md +0 -0
- /package/{.agent-src → docs}/guidelines/php/patterns/dependency-injection.md +0 -0
- /package/{.agent-src → docs}/guidelines/php/patterns/dtos.md +0 -0
- /package/{.agent-src → docs}/guidelines/php/patterns/events.md +0 -0
- /package/{.agent-src → docs}/guidelines/php/patterns/factory.md +0 -0
- /package/{.agent-src → docs}/guidelines/php/patterns/pipelines.md +0 -0
- /package/{.agent-src → docs}/guidelines/php/patterns/policies.md +0 -0
- /package/{.agent-src → docs}/guidelines/php/patterns/repositories.md +0 -0
- /package/{.agent-src → docs}/guidelines/php/patterns/service-layer.md +0 -0
- /package/{.agent-src → docs}/guidelines/php/patterns/strategy.md +0 -0
- /package/{.agent-src → docs}/guidelines/php/patterns.md +0 -0
- /package/{.agent-src → docs}/guidelines/php/performance.md +0 -0
- /package/{.agent-src → docs}/guidelines/php/resources.md +0 -0
- /package/{.agent-src → docs}/guidelines/php/security.md +0 -0
- /package/{.agent-src → docs}/guidelines/php/sql.md +0 -0
- /package/{.agent-src → docs}/guidelines/php/validations.md +0 -0
- /package/{.agent-src → docs}/guidelines/php/websocket.md +0 -0
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: judge:solo
|
|
3
|
+
cluster: judge
|
|
4
|
+
sub: solo
|
|
5
|
+
skills: [subagent-orchestration]
|
|
6
|
+
description: Run a standalone judge on an existing diff or code change — no implementer, no revision loop, verdict only
|
|
7
|
+
disable-model-invocation: true
|
|
8
|
+
suggestion:
|
|
9
|
+
eligible: false
|
|
10
|
+
rationale: "Sibling of /review-changes — eligibility routed there; keep this explicit."
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# /judge solo
|
|
14
|
+
## Instructions
|
|
15
|
+
|
|
16
|
+
### 1. Identify the target
|
|
17
|
+
|
|
18
|
+
The user invoked `/judge solo` on one of:
|
|
19
|
+
|
|
20
|
+
- The current working-tree diff (`git diff`)
|
|
21
|
+
- A specific commit range (`git diff A..B`)
|
|
22
|
+
- A PR by number or URL
|
|
23
|
+
- A single file or set of files
|
|
24
|
+
|
|
25
|
+
Confirm the target in one sentence before proceeding. Do not silently
|
|
26
|
+
assume the working tree.
|
|
27
|
+
|
|
28
|
+
### 2. Gather the context
|
|
29
|
+
|
|
30
|
+
Collect what the judge needs:
|
|
31
|
+
|
|
32
|
+
- The diff in full
|
|
33
|
+
- The original task, ticket, or PR description
|
|
34
|
+
- Relevant acceptance criteria (tests, linter config, design doc)
|
|
35
|
+
|
|
36
|
+
If any of these is missing and the judgment would be shallow without
|
|
37
|
+
it, **stop** and ask.
|
|
38
|
+
|
|
39
|
+
### 3. Resolve the judge model
|
|
40
|
+
|
|
41
|
+
Read `.agent-settings.yml`:
|
|
42
|
+
|
|
43
|
+
- `subagents.judge_model` → empty = one tier above session model
|
|
44
|
+
|
|
45
|
+
Unknown alias → stop. Silence is not a fallback.
|
|
46
|
+
|
|
47
|
+
### 4. Invoke the judge
|
|
48
|
+
|
|
49
|
+
The judge reviews the diff against the task. Return one of:
|
|
50
|
+
|
|
51
|
+
| Verdict | Meaning |
|
|
52
|
+
|----------|----------------------------------------------|
|
|
53
|
+
| `apply` | Correct, complete, ready to land |
|
|
54
|
+
| `revise` | Specific issues listed — user decides next |
|
|
55
|
+
| `reject` | Fundamentally wrong approach |
|
|
56
|
+
|
|
57
|
+
Unlike `/judge on-diff`, this command does **not** loop — no revision
|
|
58
|
+
cycles. The verdict is the deliverable.
|
|
59
|
+
|
|
60
|
+
### 5. Report
|
|
61
|
+
|
|
62
|
+
```
|
|
63
|
+
Mode: judge (standalone)
|
|
64
|
+
Target: <diff | commit range | PR #N | files>
|
|
65
|
+
Judge: <resolved model>
|
|
66
|
+
Verdict: apply | revise | reject
|
|
67
|
+
Issues: <numbered list if revise/reject>
|
|
68
|
+
Next step: <what the user should do based on the verdict>
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
## Use this command when
|
|
72
|
+
|
|
73
|
+
- A diff already exists and the user wants a second opinion
|
|
74
|
+
- Reviewing someone else's PR before approving it
|
|
75
|
+
- Double-checking a change before opening a PR
|
|
76
|
+
- Stress-testing a refactor without committing to revisions
|
|
77
|
+
|
|
78
|
+
## Do NOT
|
|
79
|
+
|
|
80
|
+
- NEVER apply the diff — this command judges only
|
|
81
|
+
- NEVER loop into a revision cycle — use `/judge on-diff` for that
|
|
82
|
+
- NEVER run the judge on an empty diff — fail fast
|
|
83
|
+
- NEVER silently fall back to the session model for the judge
|
|
84
|
+
|
|
85
|
+
## See also
|
|
86
|
+
|
|
87
|
+
- [`subagent-orchestration`](../skills/subagent-orchestration/SKILL.md)
|
|
88
|
+
- [`/judge on-diff`](do-and-judge.md) — if a revision loop is wanted
|
|
89
|
+
- [`/review-changes`](review-changes.md) — human-oriented self-review
|
|
90
|
+
- [`role-contracts`](../../docs/guidelines/agent-infra/role-contracts.md#reviewer) — Reviewer mode output contract (Summary / Risks / Findings / Required actions / Verdict)
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
---
|
|
2
|
-
name:
|
|
3
|
-
|
|
2
|
+
name: judge:steps
|
|
3
|
+
cluster: judge
|
|
4
|
+
sub: steps
|
|
5
|
+
skills: [subagent-orchestration, verify-completion-evidence]
|
|
4
6
|
description: Execute an ordered plan step by step with a judge gate between steps — stops on first failed verdict
|
|
5
7
|
disable-model-invocation: true
|
|
6
8
|
suggestion:
|
|
@@ -8,8 +10,7 @@ suggestion:
|
|
|
8
10
|
rationale: "Subagent orchestration — overlaps /work and /roadmap-execute; keep explicit."
|
|
9
11
|
---
|
|
10
12
|
|
|
11
|
-
#
|
|
12
|
-
|
|
13
|
+
# /judge steps
|
|
13
14
|
## Instructions
|
|
14
15
|
|
|
15
16
|
### 1. Confirm the plan
|
|
@@ -57,7 +58,7 @@ On stop, report the last verified state so the user can resume.
|
|
|
57
58
|
|
|
58
59
|
### 5. Final verification
|
|
59
60
|
|
|
60
|
-
After step N passes judgment, run `verify-
|
|
61
|
+
After step N passes judgment, run `verify-completion-evidence` across the
|
|
61
62
|
whole changeset — targeted tests + full suite + quality pipeline.
|
|
62
63
|
Never declare the plan "done" without this gate.
|
|
63
64
|
|
|
@@ -77,11 +78,11 @@ Next step: <commit / open PR / resume from step K>
|
|
|
77
78
|
|
|
78
79
|
- Never skip a step because the next one looks easier
|
|
79
80
|
- Never apply a revised step without the judge re-verdicting
|
|
80
|
-
- Never declare complete without final `verify-
|
|
81
|
+
- Never declare complete without final `verify-completion-evidence`
|
|
81
82
|
- A failing step never cascades silently — stop, report, hand back
|
|
82
83
|
|
|
83
84
|
## See also
|
|
84
85
|
|
|
85
86
|
- [`subagent-orchestration`](../skills/subagent-orchestration/SKILL.md)
|
|
86
|
-
- [`verify-
|
|
87
|
+
- [`verify-completion-evidence`](../skills/verify-completion-evidence/SKILL.md)
|
|
87
88
|
- [`/do-and-judge`](do-and-judge.md) — single-change variant
|
|
@@ -1,89 +1,54 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: judge
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
description: Judge orchestrator — routes to solo, steps, on-diff
|
|
4
|
+
cluster: judge
|
|
5
5
|
disable-model-invocation: true
|
|
6
6
|
suggestion:
|
|
7
|
-
eligible:
|
|
8
|
-
|
|
7
|
+
eligible: true
|
|
8
|
+
trigger_description: "judge this diff, review with verdict, run an implementer→judge loop, step-by-step judged execution"
|
|
9
|
+
trigger_context: "user wants a verdict on a diff, a do-and-judge loop, or a step-gated execution"
|
|
9
10
|
---
|
|
10
11
|
|
|
11
|
-
# judge
|
|
12
|
+
# /judge
|
|
12
13
|
|
|
13
|
-
|
|
14
|
+
Top-level orchestrator for the `/judge` family. Replaces 3 standalone
|
|
15
|
+
commands with a single entry point + sub-command dispatch.
|
|
14
16
|
|
|
15
|
-
|
|
17
|
+
## Sub-commands
|
|
16
18
|
|
|
17
|
-
|
|
19
|
+
| Sub-command | Routes to | Purpose |
|
|
20
|
+
|---|---|---|
|
|
21
|
+
| `/judge solo` | `commands/judge/solo.md` | Standalone verdict on an existing diff — no implementer, no revision loop |
|
|
22
|
+
| `/judge on-diff` | `commands/judge/on-diff.md` | Implementer→judge loop on a single change with a two-revision ceiling |
|
|
23
|
+
| `/judge steps` | `commands/judge/steps.md` | Execute an ordered plan step by step, judge gate between steps |
|
|
18
24
|
|
|
19
|
-
-
|
|
20
|
-
-
|
|
21
|
-
|
|
22
|
-
- A single file or set of files
|
|
25
|
+
Sub-command names match the locked contract in
|
|
26
|
+
[`docs/contracts/command-clusters.md`](../../docs/contracts/command-clusters.md).
|
|
27
|
+
The standalone reviewer surface lives at [`/review`](review-changes.md).
|
|
23
28
|
|
|
24
|
-
|
|
25
|
-
assume the working tree.
|
|
29
|
+
## Dispatch
|
|
26
30
|
|
|
27
|
-
|
|
31
|
+
1. Parse the user's argument: `/judge <sub-command> [args]`.
|
|
32
|
+
2. Look up the sub-command in the table above.
|
|
33
|
+
3. Load the body of the routed file and follow its `## Instructions`
|
|
34
|
+
section verbatim with the remaining args.
|
|
35
|
+
4. If the sub-command is unknown or missing, print the table above and
|
|
36
|
+
ask:
|
|
28
37
|
|
|
29
|
-
|
|
38
|
+
> 1. solo — verdict only, no loop
|
|
39
|
+
> 2. on-diff — implementer→judge revision loop
|
|
40
|
+
> 3. steps — judge gate between ordered steps
|
|
30
41
|
|
|
31
|
-
|
|
32
|
-
- The original task, ticket, or PR description
|
|
33
|
-
- Relevant acceptance criteria (tests, linter config, design doc)
|
|
42
|
+
## Rules
|
|
34
43
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
Read `.agent-settings.yml`:
|
|
41
|
-
|
|
42
|
-
- `subagents.judge_model` → empty = one tier above session model
|
|
43
|
-
|
|
44
|
-
Unknown alias → stop. Silence is not a fallback.
|
|
45
|
-
|
|
46
|
-
### 4. Invoke the judge
|
|
47
|
-
|
|
48
|
-
The judge reviews the diff against the task. Return one of:
|
|
49
|
-
|
|
50
|
-
| Verdict | Meaning |
|
|
51
|
-
|----------|----------------------------------------------|
|
|
52
|
-
| `apply` | Correct, complete, ready to land |
|
|
53
|
-
| `revise` | Specific issues listed — user decides next |
|
|
54
|
-
| `reject` | Fundamentally wrong approach |
|
|
55
|
-
|
|
56
|
-
Unlike `/do-and-judge`, this command does **not** loop — no revision
|
|
57
|
-
cycles. The verdict is the deliverable.
|
|
58
|
-
|
|
59
|
-
### 5. Report
|
|
60
|
-
|
|
61
|
-
```
|
|
62
|
-
Mode: judge (standalone)
|
|
63
|
-
Target: <diff | commit range | PR #N | files>
|
|
64
|
-
Judge: <resolved model>
|
|
65
|
-
Verdict: apply | revise | reject
|
|
66
|
-
Issues: <numbered list if revise/reject>
|
|
67
|
-
Next step: <what the user should do based on the verdict>
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
## Use this command when
|
|
71
|
-
|
|
72
|
-
- A diff already exists and the user wants a second opinion
|
|
73
|
-
- Reviewing someone else's PR before approving it
|
|
74
|
-
- Double-checking a change before opening a PR
|
|
75
|
-
- Stress-testing a refactor without committing to revisions
|
|
76
|
-
|
|
77
|
-
## Do NOT
|
|
78
|
-
|
|
79
|
-
- NEVER apply the diff — this command judges only
|
|
80
|
-
- NEVER loop into a revision cycle — use `/do-and-judge` for that
|
|
81
|
-
- NEVER run the judge on an empty diff — fail fast
|
|
82
|
-
- NEVER silently fall back to the session model for the judge
|
|
44
|
+
- **Do NOT commit, push, or open a PR** unless the sub-command
|
|
45
|
+
explicitly authorizes it.
|
|
46
|
+
- **Do NOT chain sub-commands.** One `/judge <sub>` per turn.
|
|
47
|
+
- If the user invokes `/judge` with no argument, **show the menu** —
|
|
48
|
+
do not guess which sub-command they meant.
|
|
83
49
|
|
|
84
50
|
## See also
|
|
85
51
|
|
|
86
52
|
- [`subagent-orchestration`](../skills/subagent-orchestration/SKILL.md)
|
|
87
|
-
- [`/
|
|
88
|
-
- [
|
|
89
|
-
- [`role-contracts`](../guidelines/agent-infra/role-contracts.md#reviewer) — Reviewer mode output contract (Summary / Risks / Findings / Required actions / Verdict)
|
|
53
|
+
- [`/review`](review-changes.md) — human-oriented self-review (Reviewer-mode contract)
|
|
54
|
+
- [`role-contracts`](../../docs/guidelines/agent-infra/role-contracts.md#reviewer)
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: memory
|
|
2
|
+
name: memory:add
|
|
3
|
+
cluster: memory
|
|
4
|
+
sub: add
|
|
3
5
|
description: Interactively add a validated entry to an engineering-memory file (domain-invariants, architecture-decisions, incident-learnings, product-rules)
|
|
4
6
|
skills: [file-editor]
|
|
5
7
|
disable-model-invocation: true
|
|
@@ -9,12 +11,11 @@ suggestion:
|
|
|
9
11
|
trigger_context: "post-incident or post-decision conversation"
|
|
10
12
|
---
|
|
11
13
|
|
|
12
|
-
# /memory
|
|
13
|
-
|
|
14
|
+
# /memory add
|
|
14
15
|
Creates or updates a single entry in one of the four engineering-memory
|
|
15
16
|
YAML files under `agents/memory/` in the consumer project. The entry
|
|
16
17
|
is validated against the schema in
|
|
17
|
-
[`engineering-memory-data-format`](
|
|
18
|
+
[`engineering-memory-data-format`](../../docs/guidelines/agent-infra/engineering-memory-data-format.md)
|
|
18
19
|
before the file is written.
|
|
19
20
|
|
|
20
21
|
Absence of these files is legal — this command is the entry point for
|
|
@@ -58,7 +59,7 @@ sharded layout: `agents/memory/<type>/*.yml`). For each existing
|
|
|
58
59
|
### 3. Collect the required fields
|
|
59
60
|
|
|
60
61
|
All four types share the frontmatter in
|
|
61
|
-
[`engineering-memory-data-format`](
|
|
62
|
+
[`engineering-memory-data-format`](../../docs/guidelines/agent-infra/engineering-memory-data-format.md#shared-frontmatter-fields).
|
|
62
63
|
Collect in this order, one numbered question at a time:
|
|
63
64
|
|
|
64
65
|
1. `id` — kebab-case slug, unique within the type.
|
|
@@ -125,7 +126,7 @@ link resolves. Broken link → block and ask the user to fix.
|
|
|
125
126
|
|
|
126
127
|
## See also
|
|
127
128
|
|
|
128
|
-
- [`engineering-memory-data-format`](
|
|
129
|
+
- [`engineering-memory-data-format`](../../docs/guidelines/agent-infra/engineering-memory-data-format.md)
|
|
129
130
|
— full schema
|
|
130
131
|
- [`capture-learnings`](../rules/capture-learnings.md) — when a
|
|
131
132
|
learning is better captured as an `incident-learnings` entry vs a
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: memory
|
|
2
|
+
name: memory:load
|
|
3
|
+
cluster: memory
|
|
4
|
+
sub: load
|
|
3
5
|
description: Load ALL curated entries of a given memory type into the current context — opt-in full load for deep analysis, never auto-triggered
|
|
4
6
|
skills: []
|
|
5
7
|
disable-model-invocation: true
|
|
@@ -8,8 +10,7 @@ suggestion:
|
|
|
8
10
|
rationale: "Description states 'never auto-triggered' — opt-in deep-load only."
|
|
9
11
|
---
|
|
10
12
|
|
|
11
|
-
# /memory
|
|
12
|
-
|
|
13
|
+
# /memory load
|
|
13
14
|
Loads every entry of a single memory type into the current conversation
|
|
14
15
|
as a formatted block. Use when the normal `memory_lookup` filter is too
|
|
15
16
|
narrow and you need the full type for an architecture decision, audit,
|
|
@@ -80,7 +81,7 @@ opts in.
|
|
|
80
81
|
|
|
81
82
|
The agent should now treat every loaded entry as an authority signal
|
|
82
83
|
with its declared `confidence` — see
|
|
83
|
-
[`memory-access`](
|
|
84
|
+
[`memory-access`](../../docs/guidelines/agent-infra/memory-access.md) for
|
|
84
85
|
how entries modulate edits.
|
|
85
86
|
|
|
86
87
|
## When to reject
|
|
@@ -96,5 +97,5 @@ how entries modulate edits.
|
|
|
96
97
|
- [`memory-add`](memory-add.md) — add a single entry
|
|
97
98
|
- [`memory-promote`](memory-promote.md) — promote an intake signal to
|
|
98
99
|
a curated entry
|
|
99
|
-
- [`memory-access`](
|
|
100
|
+
- [`memory-access`](../../docs/guidelines/agent-infra/memory-access.md) —
|
|
100
101
|
how entries flow into agent decisions
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: memory
|
|
2
|
+
name: memory:promote
|
|
3
|
+
cluster: memory
|
|
4
|
+
sub: promote
|
|
3
5
|
description: Promote an intake signal (or provisional proposal) into a curated memory entry — opens a PR and runs the admission gate.
|
|
4
6
|
skills: [file-editor]
|
|
5
7
|
disable-model-invocation: true
|
|
@@ -8,8 +10,7 @@ suggestion:
|
|
|
8
10
|
rationale: "Curation pipeline — overlaps /memory-add; keep explicit."
|
|
9
11
|
---
|
|
10
12
|
|
|
11
|
-
# /memory
|
|
12
|
-
|
|
13
|
+
# /memory promote
|
|
13
14
|
Moves an entry from the provisional layer (intake JSONL) into the
|
|
14
15
|
curated layer (`agents/memory/<type>.yml` or sharded). Promotion is
|
|
15
16
|
gated by
|
|
@@ -61,7 +62,7 @@ gate script to lower the bar.
|
|
|
61
62
|
### 3. Draft the curated entry
|
|
62
63
|
|
|
63
64
|
Using the schema in
|
|
64
|
-
[`engineering-memory-data-format`](
|
|
65
|
+
[`engineering-memory-data-format`](../../docs/guidelines/agent-infra/engineering-memory-data-format.md),
|
|
65
66
|
hydrate the full frontmatter:
|
|
66
67
|
|
|
67
68
|
- `id` — kebab-case slug (not the `sig-*` id — that is an intake marker).
|
|
@@ -142,4 +143,4 @@ git push -u origin memory/promote-<curated-id>
|
|
|
142
143
|
|
|
143
144
|
- [`/propose-memory`](propose-memory.md) — write-side entry point.
|
|
144
145
|
- [`/memory-add`](memory-add.md) — direct curated write (skips intake).
|
|
145
|
-
- [`engineering-memory-data-format`](
|
|
146
|
+
- [`engineering-memory-data-format`](../../docs/guidelines/agent-infra/engineering-memory-data-format.md)
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: propose
|
|
2
|
+
name: memory:propose
|
|
3
|
+
cluster: memory
|
|
4
|
+
sub: propose
|
|
3
5
|
description: Append a provisional memory signal to the intake stream — the universal fallback for any producer (human or agent) to record a finding without committing to a curated entry.
|
|
4
6
|
skills: [file-editor]
|
|
5
7
|
disable-model-invocation: true
|
|
@@ -8,8 +10,7 @@ suggestion:
|
|
|
8
10
|
rationale: "Programmatic intake fallback — overlaps /memory-add; keep explicit."
|
|
9
11
|
---
|
|
10
12
|
|
|
11
|
-
# /propose
|
|
12
|
-
|
|
13
|
+
# /memory propose
|
|
13
14
|
Drops a **signal** into `agents/memory/intake/signals-YYYY-MM.jsonl` via
|
|
14
15
|
`scripts/memory_signal.py`. Signals are append-only JSONL and merge-safe.
|
|
15
16
|
|
|
@@ -101,6 +102,6 @@ is intended (rarely).
|
|
|
101
102
|
## See also
|
|
102
103
|
|
|
103
104
|
- [`/memory-add`](memory-add.md) — curated (reviewer-validated) entries.
|
|
104
|
-
- [`engineering-memory-data-format`](
|
|
105
|
-
- [`memory-access`](
|
|
105
|
+
- [`engineering-memory-data-format`](../../docs/guidelines/agent-infra/engineering-memory-data-format.md)
|
|
106
|
+
- [`memory-access`](../../docs/guidelines/agent-infra/memory-access.md) — the
|
|
106
107
|
read-side contract that consumes what this command writes.
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: memory
|
|
3
|
+
description: Memory orchestrator — routes to add, load, promote, propose
|
|
4
|
+
cluster: memory
|
|
5
|
+
disable-model-invocation: true
|
|
6
|
+
suggestion:
|
|
7
|
+
eligible: true
|
|
8
|
+
trigger_description: "add a memory entry, load all memories, promote a signal, propose a finding"
|
|
9
|
+
trigger_context: "user wants to write to or curate engineering memory"
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# /memory
|
|
13
|
+
|
|
14
|
+
Top-level orchestrator for the `/memory` family. Replaces 4 standalone
|
|
15
|
+
commands with a single entry point + sub-command dispatch.
|
|
16
|
+
|
|
17
|
+
## Sub-commands
|
|
18
|
+
|
|
19
|
+
| Sub-command | Routes to | Purpose |
|
|
20
|
+
|---|---|---|
|
|
21
|
+
| `/memory add` | `commands/memory/add.md` | Interactively add a validated entry to a memory file |
|
|
22
|
+
| `/memory load` | `commands/memory/load.md` | Load ALL curated entries of a given memory type into context |
|
|
23
|
+
| `/memory promote` | `commands/memory/promote.md` | Promote an intake signal to a curated memory entry |
|
|
24
|
+
| `/memory propose` | `commands/memory/propose.md` | Append a provisional signal to the intake stream |
|
|
25
|
+
|
|
26
|
+
Sub-command names match the locked contract in
|
|
27
|
+
[`docs/contracts/command-clusters.md`](../../docs/contracts/command-clusters.md).
|
|
28
|
+
|
|
29
|
+
## Dispatch
|
|
30
|
+
|
|
31
|
+
1. Parse the user's argument: `/memory <sub-command> [args]`.
|
|
32
|
+
2. Look up the sub-command in the table above.
|
|
33
|
+
3. Load the body of the routed file and follow its `## Instructions` section
|
|
34
|
+
verbatim with the remaining args.
|
|
35
|
+
4. If the sub-command is unknown or missing, print the table above and ask:
|
|
36
|
+
|
|
37
|
+
> 1. add — write a curated entry interactively
|
|
38
|
+
> 2. load — load ALL entries of a type for deep analysis
|
|
39
|
+
> 3. promote — promote an intake signal to a curated entry
|
|
40
|
+
> 4. propose — drop a provisional signal into the intake stream
|
|
41
|
+
|
|
42
|
+
## Rules
|
|
43
|
+
|
|
44
|
+
- **Do NOT commit, push, or open a PR** unless the sub-command explicitly
|
|
45
|
+
authorizes it.
|
|
46
|
+
- **Do NOT chain sub-commands.** One `/memory <sub>` per turn.
|
|
47
|
+
- If the user invokes `/memory` with no argument, **show the menu** — do
|
|
48
|
+
not guess which sub-command they meant.
|
|
@@ -11,7 +11,7 @@ suggestion:
|
|
|
11
11
|
|
|
12
12
|
Sets `roles.active_role` in `.agent-settings.yml` and surfaces the active
|
|
13
13
|
contract before any work. Six modes are defined in
|
|
14
|
-
[`role-contracts`](
|
|
14
|
+
[`role-contracts`](../../docs/guidelines/agent-infra/role-contracts.md):
|
|
15
15
|
|
|
16
16
|
- `developer` · `reviewer` · `tester` · `po` · `incident` · `planner`
|
|
17
17
|
|
|
@@ -37,7 +37,7 @@ Anything else: refuse. List the valid values and stop.
|
|
|
37
37
|
|
|
38
38
|
### 2. Validate the mode name
|
|
39
39
|
|
|
40
|
-
Read [`role-contracts.md`](
|
|
40
|
+
Read [`role-contracts.md`](../../docs/guidelines/agent-infra/role-contracts.md).
|
|
41
41
|
Extract H3 headings under `## Contract skeletons` and lowercase them.
|
|
42
42
|
If `<name>` is not in that set, refuse and print the valid list.
|
|
43
43
|
|
|
@@ -62,7 +62,7 @@ exactly what the contract demands.
|
|
|
62
62
|
### 5. Write the active role
|
|
63
63
|
|
|
64
64
|
Update `roles.active_role` in `.agent-settings.yml` using the
|
|
65
|
-
[section-aware merge rules](
|
|
65
|
+
[section-aware merge rules](../../docs/guidelines/agent-infra/layered-settings.md#section-aware-merge-rules)
|
|
66
66
|
(preserve comments, preserve key order, touch only the changed field).
|
|
67
67
|
|
|
68
68
|
For `/mode none`: set `active_role: ""`.
|
|
@@ -118,7 +118,7 @@ For `/mode` (status only):
|
|
|
118
118
|
|
|
119
119
|
## See also
|
|
120
120
|
|
|
121
|
-
- [`role-contracts`](
|
|
121
|
+
- [`role-contracts`](../../docs/guidelines/agent-infra/role-contracts.md) — the six modes
|
|
122
122
|
- [`role-mode-adherence`](../rules/role-mode-adherence.md) — closing-output gate
|
|
123
|
-
- [`layered-settings`](
|
|
123
|
+
- [`layered-settings`](../../docs/guidelines/agent-infra/layered-settings.md) — merge rules for settings edits
|
|
124
124
|
- [`ask-when-uncertain`](../rules/ask-when-uncertain.md) — never invent modes
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: module
|
|
2
|
+
name: module:create
|
|
3
|
+
cluster: module
|
|
4
|
+
sub: create
|
|
3
5
|
skills: [laravel]
|
|
4
6
|
description: Create a new module from .module-template with interactive setup
|
|
5
7
|
disable-model-invocation: true
|
|
@@ -9,8 +11,7 @@ suggestion:
|
|
|
9
11
|
trigger_context: "prompt mentions a new domain area without an existing module"
|
|
10
12
|
---
|
|
11
13
|
|
|
12
|
-
# module
|
|
13
|
-
|
|
14
|
+
# /module create
|
|
14
15
|
## Instructions
|
|
15
16
|
|
|
16
17
|
### 1. Check for module support
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: module
|
|
2
|
+
name: module:explore
|
|
3
|
+
cluster: module
|
|
4
|
+
sub: explore
|
|
3
5
|
skills: [laravel]
|
|
4
6
|
description: Explore a module — load its structure, docs, and context into the current conversation
|
|
5
7
|
disable-model-invocation: true
|
|
@@ -9,8 +11,7 @@ suggestion:
|
|
|
9
11
|
trigger_context: "existing Modules/<Name>/ referenced in the prompt"
|
|
10
12
|
---
|
|
11
13
|
|
|
12
|
-
# module
|
|
13
|
-
|
|
14
|
+
# /module explore
|
|
14
15
|
## Instructions
|
|
15
16
|
|
|
16
17
|
### 1. Check for modules
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: module
|
|
3
|
+
description: Module orchestrator — routes to create, explore
|
|
4
|
+
cluster: module
|
|
5
|
+
disable-model-invocation: true
|
|
6
|
+
suggestion:
|
|
7
|
+
eligible: true
|
|
8
|
+
trigger_description: "create a new module, explore an existing module"
|
|
9
|
+
trigger_context: "user wants to scaffold or load a module's docs and structure"
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# /module
|
|
13
|
+
|
|
14
|
+
Top-level orchestrator for the `/module` family. Replaces 2 standalone
|
|
15
|
+
commands with a single entry point + sub-command dispatch.
|
|
16
|
+
|
|
17
|
+
## Sub-commands
|
|
18
|
+
|
|
19
|
+
| Sub-command | Routes to | Purpose |
|
|
20
|
+
|---|---|---|
|
|
21
|
+
| `/module create` | `commands/module/create.md` | Create a new module from `.module-template` |
|
|
22
|
+
| `/module explore` | `commands/module/explore.md` | Load a module's structure, docs, and context into the conversation |
|
|
23
|
+
|
|
24
|
+
Sub-command names match the locked contract in
|
|
25
|
+
[`docs/contracts/command-clusters.md`](../../docs/contracts/command-clusters.md).
|
|
26
|
+
|
|
27
|
+
## Dispatch
|
|
28
|
+
|
|
29
|
+
1. Parse the user's argument: `/module <sub-command> [args]`.
|
|
30
|
+
2. Look up the sub-command in the table above.
|
|
31
|
+
3. Load the body of the routed file and follow its `## Instructions` section
|
|
32
|
+
verbatim with the remaining args.
|
|
33
|
+
4. If the sub-command is unknown or missing, print the table above and ask:
|
|
34
|
+
|
|
35
|
+
> 1. create — scaffold a new module from the template
|
|
36
|
+
> 2. explore — load a module's docs and structure
|
|
37
|
+
|
|
38
|
+
## Rules
|
|
39
|
+
|
|
40
|
+
- **Do NOT commit, push, or open a PR** unless the sub-command explicitly
|
|
41
|
+
authorizes it.
|
|
42
|
+
- **Do NOT chain sub-commands.** One `/module <sub>` per turn.
|
|
43
|
+
- If the user invokes `/module` with no argument, **show the menu** — do
|
|
44
|
+
not guess which sub-command they meant.
|
|
@@ -25,7 +25,7 @@ Triggered by the [`onboarding-gate`](../rules/onboarding-gate.md) rule when
|
|
|
25
25
|
- Change cost profile only → [`/set-cost-profile`](set-cost-profile.md).
|
|
26
26
|
- Single-value edit → ask the agent to change it, or edit
|
|
27
27
|
`.agent-settings.yml` directly. The agent follows the merge rules in
|
|
28
|
-
[`layered-settings`](
|
|
28
|
+
[`layered-settings`](../../docs/guidelines/agent-infra/layered-settings.md).
|
|
29
29
|
|
|
30
30
|
## Preconditions
|
|
31
31
|
|
|
@@ -134,7 +134,7 @@ template — `minimal` + `skill_improvement: true`):
|
|
|
134
134
|
|
|
135
135
|
Write `onboarding.onboarded: true` to `.agent-settings.yml` using the
|
|
136
136
|
section-aware merge rules from
|
|
137
|
-
[`layered-settings`](
|
|
137
|
+
[`layered-settings`](../../docs/guidelines/agent-infra/layered-settings.md#section-aware-merge-rules)
|
|
138
138
|
(preserve comments, key order, touch only the changed fields).
|
|
139
139
|
|
|
140
140
|
### 8. Summary
|
|
@@ -200,5 +200,5 @@ local-agent concern; the cloud agent should proceed without invoking it.
|
|
|
200
200
|
|
|
201
201
|
- [`onboarding-gate`](../rules/onboarding-gate.md) — rule that triggers this command
|
|
202
202
|
- [`set-cost-profile`](set-cost-profile.md) — isolated profile change
|
|
203
|
-
- [`layered-settings`](
|
|
203
|
+
- [`layered-settings`](../../docs/guidelines/agent-infra/layered-settings.md) — merge rules for mid-life edits
|
|
204
204
|
- [`agent-settings` template](../templates/agent-settings.md) — settings reference
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: optimize
|
|
2
|
+
name: optimize:agents
|
|
3
|
+
cluster: optimize
|
|
4
|
+
sub: agents
|
|
3
5
|
description: Audits agent infrastructure — measures token overhead, checks rule triggers, verifies AGENTS.md. Suggest only, never auto-apply.
|
|
4
6
|
skills: [copilot-agents-optimization, agents-audit, agent-docs-writing, quality-tools]
|
|
5
7
|
disable-model-invocation: true
|
|
@@ -9,8 +11,7 @@ suggestion:
|
|
|
9
11
|
trigger_context: "maintainer working on .augment/ files"
|
|
10
12
|
---
|
|
11
13
|
|
|
12
|
-
# /optimize
|
|
13
|
-
|
|
14
|
+
# /optimize agents
|
|
14
15
|
Agent infrastructure audit: measure token overhead, check rule triggers, verify AGENTS.md, find stale references. **Suggest only — never auto-apply.**
|
|
15
16
|
|
|
16
17
|
**Source of truth:** `.agent-src.uncompressed/` — never read or edit `.agent-src/` or `.augment/` directly.
|
|
@@ -89,7 +90,7 @@ Present candidates with explicit justification. **Never auto-apply.**
|
|
|
89
90
|
### 4. Check AGENTS.md + copilot-instructions.md
|
|
90
91
|
|
|
91
92
|
- **Budget**: AGENTS.md target ≤800 words (max ~1200). copilot-instructions.md < 60 lines (max ~150).
|
|
92
|
-
See `guidelines/agent-infra/size-and-scope.md` for all limits.
|
|
93
|
+
See `docs/guidelines/agent-infra/size-and-scope.md` for all limits.
|
|
93
94
|
- **Quality**: Dev Setup, Testing, Quality Tools need full detail — don't compress to one-liners
|
|
94
95
|
- **Duplication**: only word-for-word identical. Summary + detail = layered context, NOT duplication
|
|
95
96
|
- **Freshness**: paths, commands, references match reality?
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
---
|
|
2
2
|
skills: [agent-docs-writing]
|
|
3
|
-
name: optimize
|
|
3
|
+
name: optimize:augmentignore
|
|
4
|
+
cluster: optimize
|
|
5
|
+
sub: augmentignore
|
|
4
6
|
description: Creates or updates .augmentignore based on the project's actual tech stack, large files, generated artifacts, and irrelevant agent skills/rules.
|
|
5
7
|
disable-model-invocation: true
|
|
6
8
|
suggestion:
|
|
7
9
|
eligible: false
|
|
8
10
|
rationale: "Niche maintenance tool with no recurring NL trigger."
|
|
9
11
|
---
|
|
10
|
-
|
|
11
12
|
<!-- cloud_safe: noop -->
|
|
12
13
|
|
|
13
|
-
# /optimize
|
|
14
|
-
|
|
14
|
+
# /optimize augmentignore
|
|
15
15
|
Scans the project to find files that waste tokens in Augment's retrieval index
|
|
16
16
|
and creates/updates `.augmentignore` accordingly. Also identifies irrelevant
|
|
17
17
|
`.augment/skills/` and `.augment/rules/` to exclude them from the system prompt.
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: optimize
|
|
2
|
+
name: optimize:rtk
|
|
3
|
+
cluster: optimize
|
|
4
|
+
sub: rtk
|
|
3
5
|
skills: [agent-docs-writing]
|
|
4
6
|
description: Create or optimize project-local rtk filters based on the actual toolchain
|
|
5
7
|
disable-model-invocation: true
|
|
@@ -8,8 +10,7 @@ suggestion:
|
|
|
8
10
|
rationale: "Niche maintenance tool with no recurring NL trigger."
|
|
9
11
|
---
|
|
10
12
|
|
|
11
|
-
# optimize
|
|
12
|
-
|
|
13
|
+
# /optimize rtk
|
|
13
14
|
## Instructions
|
|
14
15
|
|
|
15
16
|
### 1. Check rtk is installed
|