@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
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: agents
|
|
2
|
+
name: agents:audit
|
|
3
|
+
cluster: agents
|
|
4
|
+
sub: audit
|
|
3
5
|
description: Audits agents/ and module agents/ directories — finds outdated docs, structural issues, duplicates, orphaned overrides, and creates an improvement roadmap.
|
|
4
6
|
skills: [agents-audit, agent-docs-writing, override-management, module-management]
|
|
5
7
|
disable-model-invocation: true
|
|
@@ -9,8 +11,7 @@ suggestion:
|
|
|
9
11
|
trigger_context: "stale files under agents/ or recent edits to .augment/ without doc updates"
|
|
10
12
|
---
|
|
11
13
|
|
|
12
|
-
# /agents
|
|
13
|
-
|
|
14
|
+
# /agents audit
|
|
14
15
|
Audits all agent documentation across the project — root `agents/`, module `app/Modules/*/agents/`,
|
|
15
16
|
and `agents/overrides/`.
|
|
16
17
|
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: agents
|
|
2
|
+
name: agents:cleanup
|
|
3
|
+
cluster: agents
|
|
4
|
+
sub: cleanup
|
|
3
5
|
skills: [agent-docs-writing]
|
|
4
6
|
description: Execute cleanup actions from an agents-audit — move, merge, delete, and update agent docs
|
|
5
7
|
disable-model-invocation: true
|
|
@@ -8,15 +10,19 @@ suggestion:
|
|
|
8
10
|
rationale: "Consumes prior audit output; only meaningful right after /agents-audit."
|
|
9
11
|
---
|
|
10
12
|
|
|
11
|
-
# agents
|
|
12
|
-
|
|
13
|
+
# /agents cleanup
|
|
13
14
|
## Instructions
|
|
14
15
|
|
|
15
16
|
### 1. Check for audit roadmap
|
|
16
17
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
Check the audit-roadmap path created by `/agents audit`:
|
|
19
|
+
|
|
20
|
+
```
|
|
21
|
+
agents/roadmaps/agents-cleanup.md
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
- If it exists → load it and show the phases.
|
|
25
|
+
- If not → ask:
|
|
20
26
|
|
|
21
27
|
```
|
|
22
28
|
⚠️ No audit roadmap found.
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: agents
|
|
2
|
+
name: agents:prepare
|
|
3
|
+
cluster: agents
|
|
4
|
+
sub: prepare
|
|
3
5
|
skills: [agent-docs-writing]
|
|
4
6
|
description: Scaffold the agents/ directory structure with all required subdirectories and .gitkeep files
|
|
5
7
|
disable-model-invocation: true
|
|
@@ -8,8 +10,7 @@ suggestion:
|
|
|
8
10
|
rationale: "One-shot project scaffolding; only run during initial setup."
|
|
9
11
|
---
|
|
10
12
|
|
|
11
|
-
# agents
|
|
12
|
-
|
|
13
|
+
# /agents prepare
|
|
13
14
|
## Instructions
|
|
14
15
|
|
|
15
16
|
### 1. Check project root
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: agents
|
|
3
|
+
description: Agents-folder orchestrator — routes to audit, cleanup, prepare
|
|
4
|
+
cluster: agents
|
|
5
|
+
disable-model-invocation: true
|
|
6
|
+
suggestion:
|
|
7
|
+
eligible: true
|
|
8
|
+
trigger_description: "audit agents folder, prepare agents structure, clean up agent docs"
|
|
9
|
+
trigger_context: "user wants to inspect, scaffold, or curate the agents/ tree"
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# /agents
|
|
13
|
+
|
|
14
|
+
Top-level orchestrator for the `/agents` family. Replaces 3 standalone
|
|
15
|
+
commands with a single entry point + sub-command dispatch.
|
|
16
|
+
|
|
17
|
+
## Sub-commands
|
|
18
|
+
|
|
19
|
+
| Sub-command | Routes to | Purpose |
|
|
20
|
+
|---|---|---|
|
|
21
|
+
| `/agents audit` | `commands/agents/audit.md` | Audit `agents/` for outdated docs, duplicates, orphaned overrides |
|
|
22
|
+
| `/agents cleanup` | `commands/agents/cleanup.md` | Execute cleanup actions from a prior audit |
|
|
23
|
+
| `/agents prepare` | `commands/agents/prepare.md` | Scaffold the `agents/` directory structure |
|
|
24
|
+
|
|
25
|
+
Sub-command names match the locked contract in
|
|
26
|
+
[`docs/contracts/command-clusters.md`](../../docs/contracts/command-clusters.md).
|
|
27
|
+
|
|
28
|
+
## Dispatch
|
|
29
|
+
|
|
30
|
+
1. Parse the user's argument: `/agents <sub-command> [args]`.
|
|
31
|
+
2. Look up the sub-command in the table above.
|
|
32
|
+
3. Load the body of the routed file and follow its `## Instructions` section
|
|
33
|
+
verbatim with the remaining args.
|
|
34
|
+
4. If the sub-command is unknown or missing, print the table above and ask:
|
|
35
|
+
|
|
36
|
+
> 1. audit — find outdated docs, duplicates, orphaned overrides
|
|
37
|
+
> 2. cleanup — execute actions from a prior audit
|
|
38
|
+
> 3. prepare — scaffold the agents/ tree
|
|
39
|
+
|
|
40
|
+
## Rules
|
|
41
|
+
|
|
42
|
+
- **Do NOT commit, push, or open a PR** unless the sub-command explicitly
|
|
43
|
+
authorizes it.
|
|
44
|
+
- **Do NOT chain sub-commands.** One `/agents <sub>` per turn.
|
|
45
|
+
- If the user invokes `/agents` with no argument, **show the menu** — do
|
|
46
|
+
not guess which sub-command they meant.
|
|
@@ -182,4 +182,4 @@ What next?
|
|
|
182
182
|
|
|
183
183
|
## See also
|
|
184
184
|
|
|
185
|
-
- [`role-contracts`](
|
|
185
|
+
- [`role-contracts`](../../docs/guidelines/agent-infra/role-contracts.md#developer) — Developer mode output contract (Goal / Plan / Changes / Tests / Open questions)
|
|
@@ -175,5 +175,5 @@ What's next?
|
|
|
175
175
|
|
|
176
176
|
## See also
|
|
177
177
|
|
|
178
|
-
- [`role-contracts`](
|
|
179
|
-
- [`role-contracts`](
|
|
178
|
+
- [`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`
|
|
179
|
+
- [`role-contracts`](../../docs/guidelines/agent-infra/role-contracts.md#developer) — Developer mode output contract for non-incident bugs
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: chat-history
|
|
3
|
-
|
|
2
|
+
name: chat-history:checkpoint
|
|
3
|
+
cluster: chat-history
|
|
4
|
+
sub: checkpoint
|
|
5
|
+
description: Append a phase-boundary entry to .agent-chat-history — CHECKPOINT fallback for platforms without a native hook (Augment IDE, Cursor pre-1.7, Cline non-Mac/Linux). ~1s.
|
|
4
6
|
disable-model-invocation: true
|
|
5
7
|
suggestion:
|
|
6
8
|
eligible: true
|
|
7
9
|
trigger_description: "User wants to flush a chat-history phase boundary on a CHECKPOINT-class platform (Augment IDE, Cursor < 1.7, Cline on Windows) — phrases like 'checkpoint chat history', 'log a phase boundary', 'manual chat-history append'."
|
|
8
10
|
trigger_context: "chat_history.path == checkpoint AND a phase-shaped boundary just completed (decision recorded, multi-tool sequence finished, task-list item closed)."
|
|
9
11
|
---
|
|
10
|
-
|
|
11
12
|
<!-- cloud_safe: noop -->
|
|
12
13
|
|
|
13
|
-
# /chat-history
|
|
14
|
-
|
|
14
|
+
# /chat-history checkpoint
|
|
15
15
|
Force-append a `phase`-typed entry to `.agent-chat-history`. CHECKPOINT
|
|
16
16
|
fallback for platforms without native hooks — see
|
|
17
17
|
[`agents/contexts/chat-history-platform-hooks.md`](../../../agents/contexts/chat-history-platform-hooks.md)
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: chat-history
|
|
2
|
+
name: chat-history:clear
|
|
3
|
+
cluster: chat-history
|
|
4
|
+
sub: clear
|
|
3
5
|
description: Manually delete the persistent chat-history log — asks for confirmation, optionally archives to a timestamped backup before wiping
|
|
4
6
|
disable-model-invocation: true
|
|
5
7
|
suggestion:
|
|
6
8
|
eligible: false
|
|
7
9
|
rationale: "Destructive log wipe — must be deliberate."
|
|
8
10
|
---
|
|
9
|
-
|
|
10
11
|
<!-- cloud_safe: noop -->
|
|
11
12
|
|
|
12
|
-
# /chat-history
|
|
13
|
-
|
|
13
|
+
# /chat-history clear
|
|
14
14
|
Wipes `.agent-chat-history`. Use when the log is stale (wrong session),
|
|
15
15
|
bloated beyond usefulness, or contains information you do not want
|
|
16
16
|
persisted on disk.
|
|
@@ -24,7 +24,7 @@ touching the file, unless the file does not exist in the first place.
|
|
|
24
24
|
- Keep the entries but re-point the header → [`/chat-history-resume`](chat-history-resume.md).
|
|
25
25
|
- Disable logging entirely → set `chat_history.enabled: false` in
|
|
26
26
|
`.agent-settings.yml`; see
|
|
27
|
-
[`layered-settings`](
|
|
27
|
+
[`layered-settings`](../../docs/guidelines/agent-infra/layered-settings.md#section-aware-merge-rules).
|
|
28
28
|
Disabling does not delete the existing file; run this command
|
|
29
29
|
afterwards if you also want it gone.
|
|
30
30
|
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: chat-history
|
|
2
|
+
name: chat-history:resume
|
|
3
|
+
cluster: chat-history
|
|
4
|
+
sub: resume
|
|
3
5
|
description: Load the persistent chat-history log into the current conversation — picks match/returning/foreign flow and supports resume, merge, replace, or continue
|
|
4
6
|
disable-model-invocation: true
|
|
5
7
|
suggestion:
|
|
6
8
|
eligible: false
|
|
7
9
|
rationale: "Explicit resume mechanic with foreign/returning state machine."
|
|
8
10
|
---
|
|
9
|
-
|
|
10
11
|
<!-- cloud_safe: noop -->
|
|
11
12
|
|
|
12
|
-
# /chat-history
|
|
13
|
-
|
|
13
|
+
# /chat-history resume
|
|
14
14
|
Reconnects the current conversation with an existing `.agent-chat-history`
|
|
15
15
|
file. Depending on the 4-state ownership check, it routes to the right
|
|
16
16
|
flow: silent summarize, adopt, merge, or replace.
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: chat-history:show
|
|
3
|
+
cluster: chat-history
|
|
4
|
+
sub: show
|
|
5
|
+
description: Show the status of the persistent chat-history log — file size, entry count, header fingerprint, age, and the last few entries
|
|
6
|
+
disable-model-invocation: true
|
|
7
|
+
suggestion:
|
|
8
|
+
eligible: false
|
|
9
|
+
rationale: "Status display only; no NL trigger distinct from 'show status'."
|
|
10
|
+
---
|
|
11
|
+
<!-- cloud_safe: noop -->
|
|
12
|
+
|
|
13
|
+
# /chat-history show
|
|
14
|
+
Inspect `.agent-chat-history` — the JSONL log maintained by the
|
|
15
|
+
[`chat-history`](../rules/chat-history-ownership.md) rule for crash recovery.
|
|
16
|
+
|
|
17
|
+
Shows:
|
|
18
|
+
|
|
19
|
+
- Whether the file exists and whether logging is currently enabled
|
|
20
|
+
- File size vs `max_size_kb`
|
|
21
|
+
- Header metadata: fingerprint preview, created-at, `frequency`
|
|
22
|
+
- Entry count and age of the oldest/newest entry
|
|
23
|
+
- A peek at the last 3–5 entries so the user can see what was captured
|
|
24
|
+
|
|
25
|
+
Read-only — this command never writes to the file.
|
|
26
|
+
|
|
27
|
+
## When NOT to use
|
|
28
|
+
|
|
29
|
+
- Load the log back into the conversation for context →
|
|
30
|
+
[`/chat-history resume`](chat-history-resume.md).
|
|
31
|
+
- Wipe the file → [`/chat-history clear`](chat-history-clear.md).
|
|
32
|
+
- Configure logging behavior → edit `.agent-settings.yml` directly
|
|
33
|
+
(`chat_history.*`); see
|
|
34
|
+
[`layered-settings`](../../docs/guidelines/agent-infra/layered-settings.md#section-aware-merge-rules).
|
|
35
|
+
|
|
36
|
+
## Steps
|
|
37
|
+
|
|
38
|
+
### 1. Check if enabled
|
|
39
|
+
|
|
40
|
+
Read `chat_history.enabled` from `.agent-settings.yml`. If `false` or
|
|
41
|
+
the section is missing, say so and stop:
|
|
42
|
+
|
|
43
|
+
```
|
|
44
|
+
> 📒 chat-history is disabled (chat_history.enabled = false).
|
|
45
|
+
> Set it to true in .agent-settings.yml to start logging.
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
### 2. Read status via helper
|
|
49
|
+
|
|
50
|
+
Run `scripts/chat_history.py status`. The helper returns a JSON object
|
|
51
|
+
with `exists`, `size_bytes`, `size_kb`, `entries`, `header`, and `path`.
|
|
52
|
+
|
|
53
|
+
If `exists: false`, tell the user the file has not been created yet —
|
|
54
|
+
it will be created on the next agent turn that writes an entry.
|
|
55
|
+
|
|
56
|
+
### 3. Read last N entries
|
|
57
|
+
|
|
58
|
+
Run `scripts/chat_history.py read --last 5` (or equivalent — see the
|
|
59
|
+
helper's CLI). Capture timestamps and entry types without loading the
|
|
60
|
+
full file.
|
|
61
|
+
|
|
62
|
+
### 4. Present the summary
|
|
63
|
+
|
|
64
|
+
Render a concise report:
|
|
65
|
+
|
|
66
|
+
```
|
|
67
|
+
> 📒 chat-history status
|
|
68
|
+
>
|
|
69
|
+
> File: .agent-chat-history ({size_kb} KB / {max_size_kb} KB)
|
|
70
|
+
> Entries: {entries}
|
|
71
|
+
> Fingerprint:{short_fp} (session started {created_at_relative})
|
|
72
|
+
> Frequency: {frequency}
|
|
73
|
+
> Overflow: {on_overflow}
|
|
74
|
+
>
|
|
75
|
+
> Last entries:
|
|
76
|
+
> {ts_1} {type_1} {preview_1}
|
|
77
|
+
> {ts_2} {type_2} {preview_2}
|
|
78
|
+
> ...
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
Keep previews short (≤ 60 chars). Do not render the full entry text
|
|
82
|
+
unless the user asks (avoids flooding the conversation with old log
|
|
83
|
+
data, see [`token-efficiency`](../rules/token-efficiency.md)).
|
|
84
|
+
|
|
85
|
+
### 5. Offer follow-ups (optional)
|
|
86
|
+
|
|
87
|
+
If the file exists and the fingerprint does **not** match the current
|
|
88
|
+
session, suggest `/chat-history resume` to adopt it.
|
|
89
|
+
|
|
90
|
+
If the file is close to `max_size_kb` (> 80 %), mention it — the next
|
|
91
|
+
append may trigger overflow handling.
|
|
92
|
+
|
|
93
|
+
## Gotchas
|
|
94
|
+
|
|
95
|
+
- `.agent-chat-history` is git-ignored. This command never commits.
|
|
96
|
+
- The helper is the only way to read the file — do not cat or parse
|
|
97
|
+
the JSONL directly; entry shape is owned by `scripts/chat_history.py`.
|
|
98
|
+
- If `exists: false` but the rule says logging is enabled, the file is
|
|
99
|
+
created lazily on the first append. That is expected — not an error.
|
|
100
|
+
|
|
101
|
+
## See also
|
|
102
|
+
|
|
103
|
+
- [`chat-history`](../rules/chat-history-ownership.md) — the rule that writes the file
|
|
104
|
+
- [`/chat-history resume`](chat-history-resume.md) — adopt + load
|
|
105
|
+
- [`/chat-history clear`](chat-history-clear.md) — wipe
|
|
106
|
+
- [`agent-settings` template](../templates/agent-settings.md) — `chat_history.*` reference
|
|
107
|
+
- [`scripts/chat_history.py`](../../../scripts/chat_history.py) — helper API
|
|
@@ -1,107 +1,51 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: chat-history
|
|
3
|
-
description:
|
|
3
|
+
description: Chat-history orchestrator — routes to show, resume, clear, checkpoint
|
|
4
|
+
cluster: chat-history
|
|
4
5
|
disable-model-invocation: true
|
|
5
6
|
suggestion:
|
|
6
|
-
eligible:
|
|
7
|
-
|
|
7
|
+
eligible: true
|
|
8
|
+
trigger_description: "show chat-history status, resume from log, clear the chat-history file, append a checkpoint entry"
|
|
9
|
+
trigger_context: "user wants to inspect, restore, wipe, or manually flush .agent-chat-history"
|
|
8
10
|
---
|
|
9
11
|
|
|
10
12
|
<!-- cloud_safe: noop -->
|
|
11
13
|
|
|
12
14
|
# /chat-history
|
|
13
15
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
+
Top-level orchestrator for the `/chat-history` family. Replaces 4
|
|
17
|
+
standalone commands with a single entry point + sub-command dispatch.
|
|
16
18
|
|
|
17
|
-
|
|
19
|
+
## Sub-commands
|
|
18
20
|
|
|
19
|
-
-
|
|
20
|
-
|
|
21
|
-
-
|
|
22
|
-
-
|
|
23
|
-
-
|
|
21
|
+
| Sub-command | Routes to | Purpose |
|
|
22
|
+
|---|---|---|
|
|
23
|
+
| `/chat-history show` | `commands/chat-history/show.md` | Inspect the log — size, entries, fingerprint, last entries |
|
|
24
|
+
| `/chat-history resume` | `commands/chat-history/resume.md` | Adopt and load the persistent log into the current conversation |
|
|
25
|
+
| `/chat-history clear` | `commands/chat-history/clear.md` | Wipe the log (with optional archival backup) |
|
|
26
|
+
| `/chat-history checkpoint` | `commands/chat-history/checkpoint.md` | Append a phase-boundary entry on CHECKPOINT-class platforms |
|
|
24
27
|
|
|
25
|
-
|
|
28
|
+
Sub-command names match the locked contract in
|
|
29
|
+
[`docs/contracts/command-clusters.md`](../../docs/contracts/command-clusters.md).
|
|
26
30
|
|
|
27
|
-
##
|
|
31
|
+
## Dispatch
|
|
28
32
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
1. Parse the user's argument: `/chat-history <sub-command> [args]`.
|
|
34
|
+
2. Look up the sub-command in the table above.
|
|
35
|
+
3. Load the body of the routed file and follow its `## Instructions`
|
|
36
|
+
(or `## Steps`) section verbatim with the remaining args.
|
|
37
|
+
4. If the sub-command is unknown or missing, print the table above and
|
|
38
|
+
ask:
|
|
35
39
|
|
|
36
|
-
|
|
40
|
+
> 1. show — inspect status, size, last entries
|
|
41
|
+
> 2. resume — adopt the log into the conversation
|
|
42
|
+
> 3. clear — wipe the file
|
|
43
|
+
> 4. checkpoint — append a phase-boundary entry
|
|
37
44
|
|
|
38
|
-
|
|
45
|
+
## Rules
|
|
39
46
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
> Set it to true in .agent-settings.yml to start logging.
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
### 2. Read status via helper
|
|
49
|
-
|
|
50
|
-
Run `scripts/chat_history.py status`. The helper returns a JSON object
|
|
51
|
-
with `exists`, `size_bytes`, `size_kb`, `entries`, `header`, and `path`.
|
|
52
|
-
|
|
53
|
-
If `exists: false`, tell the user the file has not been created yet —
|
|
54
|
-
it will be created on the next agent turn that writes an entry.
|
|
55
|
-
|
|
56
|
-
### 3. Read last N entries
|
|
57
|
-
|
|
58
|
-
Run `scripts/chat_history.py read --last 5` (or equivalent — see the
|
|
59
|
-
helper's CLI). Capture timestamps and entry types without loading the
|
|
60
|
-
full file.
|
|
61
|
-
|
|
62
|
-
### 4. Present the summary
|
|
63
|
-
|
|
64
|
-
Render a concise report:
|
|
65
|
-
|
|
66
|
-
```
|
|
67
|
-
> 📒 chat-history status
|
|
68
|
-
>
|
|
69
|
-
> File: .agent-chat-history ({size_kb} KB / {max_size_kb} KB)
|
|
70
|
-
> Entries: {entries}
|
|
71
|
-
> Fingerprint:{short_fp} (session started {created_at_relative})
|
|
72
|
-
> Frequency: {frequency}
|
|
73
|
-
> Overflow: {on_overflow}
|
|
74
|
-
>
|
|
75
|
-
> Last entries:
|
|
76
|
-
> {ts_1} {type_1} {preview_1}
|
|
77
|
-
> {ts_2} {type_2} {preview_2}
|
|
78
|
-
> ...
|
|
79
|
-
```
|
|
80
|
-
|
|
81
|
-
Keep previews short (≤ 60 chars). Do not render the full entry text
|
|
82
|
-
unless the user asks (avoids flooding the conversation with old log
|
|
83
|
-
data, see [`token-efficiency`](../rules/token-efficiency.md)).
|
|
84
|
-
|
|
85
|
-
### 5. Offer follow-ups (optional)
|
|
86
|
-
|
|
87
|
-
If the file exists and the fingerprint does **not** match the current
|
|
88
|
-
session, suggest `/chat-history-resume` to adopt it.
|
|
89
|
-
|
|
90
|
-
If the file is close to `max_size_kb` (> 80 %), mention it — the next
|
|
91
|
-
append may trigger overflow handling.
|
|
92
|
-
|
|
93
|
-
## Gotchas
|
|
94
|
-
|
|
95
|
-
- `.agent-chat-history` is git-ignored. This command never commits.
|
|
96
|
-
- The helper is the only way to read the file — do not cat or parse
|
|
97
|
-
the JSONL directly; entry shape is owned by `scripts/chat_history.py`.
|
|
98
|
-
- If `exists: false` but the rule says logging is enabled, the file is
|
|
99
|
-
created lazily on the first append. That is expected — not an error.
|
|
100
|
-
|
|
101
|
-
## See also
|
|
102
|
-
|
|
103
|
-
- [`chat-history`](../rules/chat-history-ownership.md) — the rule that writes the file
|
|
104
|
-
- [`/chat-history-resume`](chat-history-resume.md) — adopt + load
|
|
105
|
-
- [`/chat-history-clear`](chat-history-clear.md) — wipe
|
|
106
|
-
- [`agent-settings` template](../templates/agent-settings.md) — `chat_history.*` reference
|
|
107
|
-
- [`scripts/chat_history.py`](../../../scripts/chat_history.py) — helper API
|
|
47
|
+
- **Do NOT commit, push, or open a PR** unless the sub-command
|
|
48
|
+
explicitly authorizes it.
|
|
49
|
+
- **Do NOT chain sub-commands.** One `/chat-history <sub>` per turn.
|
|
50
|
+
- If the user invokes `/chat-history` with no argument, **show the
|
|
51
|
+
menu** — do not guess which sub-command they meant.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: check-current-md
|
|
3
|
-
description: Check the
|
|
3
|
+
description: Check the open .md file (or a passed path) for German outside DE:/EN: anchor blocks — umlauts, function words, untranslated quotes. Reports and offers fixes.
|
|
4
4
|
disable-model-invocation: true
|
|
5
5
|
suggestion:
|
|
6
6
|
eligible: false
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: commit
|
|
2
|
+
name: commit:in-chunks
|
|
3
|
+
cluster: commit
|
|
4
|
+
sub: in-chunks
|
|
3
5
|
skills: [git-workflow]
|
|
4
6
|
description: Stage and commit all uncommitted changes in logical chunks WITHOUT confirmation — sibling of /commit for autonomous flows
|
|
5
7
|
disable-model-invocation: true
|
|
@@ -9,14 +11,14 @@ suggestion:
|
|
|
9
11
|
trigger_context: "autonomous mode active and uncommitted changes present"
|
|
10
12
|
---
|
|
11
13
|
|
|
12
|
-
# commit
|
|
14
|
+
# /commit:in-chunks
|
|
13
15
|
|
|
14
16
|
Auto-split and commit all local changes in one go. Use this when you
|
|
15
17
|
want commits made without being asked to confirm each batch. Sibling
|
|
16
|
-
of [`/commit`](commit.md), which presents the plan and waits for
|
|
18
|
+
of [`/commit`](../commit.md), which presents the plan and waits for
|
|
17
19
|
approval. This command skips the approval step.
|
|
18
20
|
|
|
19
|
-
Per [`autonomous-execution`](
|
|
21
|
+
Per [`autonomous-execution`](../../rules/autonomous-execution.md), the
|
|
20
22
|
agent does **not** commit on its own initiative — invoking this
|
|
21
23
|
command is the user's explicit consent to commit.
|
|
22
24
|
|
|
@@ -42,7 +44,7 @@ If there are no uncommitted changes (staged or unstaged), report
|
|
|
42
44
|
|
|
43
45
|
### 3. Analyze and split
|
|
44
46
|
|
|
45
|
-
Group changed files into logical units following [`/commit`](commit.md)
|
|
47
|
+
Group changed files into logical units following [`/commit`](../commit.md)
|
|
46
48
|
step 3 grouping rules:
|
|
47
49
|
|
|
48
50
|
- Same feature / fix → one commit.
|
|
@@ -59,7 +61,7 @@ Splitting rules:
|
|
|
59
61
|
- **Tests go with the code they test** unless test-only changes are
|
|
60
62
|
large and noisy.
|
|
61
63
|
|
|
62
|
-
Generate commit messages per [`commit-conventions`](
|
|
64
|
+
Generate commit messages per [`commit-conventions`](../../rules/commit-conventions.md).
|
|
63
65
|
|
|
64
66
|
### 4. Commit immediately
|
|
65
67
|
|
|
@@ -88,11 +90,11 @@ Include `git log --oneline -N` output for verification.
|
|
|
88
90
|
|
|
89
91
|
## Rules
|
|
90
92
|
|
|
91
|
-
- **Never push** — pushing remains explicit per [`scope-control`](
|
|
93
|
+
- **Never push** — pushing remains explicit per [`scope-control`](../../rules/scope-control.md#git-operations--permission-gated).
|
|
92
94
|
- **Never modify files** — only stage and commit existing changes.
|
|
93
95
|
- **Do NOT add untracked files** unless they are clearly part of the
|
|
94
96
|
change (check with `git status` first).
|
|
95
|
-
- **Follow commit conventions** as defined in [`commit-conventions`](
|
|
97
|
+
- **Follow commit conventions** as defined in [`commit-conventions`](../../rules/commit-conventions.md).
|
|
96
98
|
- **Stop on first failure** — if `git commit` fails (hook rejection,
|
|
97
99
|
pre-commit lint error), stop, report the error, and do not continue
|
|
98
100
|
with the remaining planned commits. Leave staged files for the user
|
|
@@ -103,16 +105,16 @@ Include `git log --oneline -N` output for verification.
|
|
|
103
105
|
## When NOT to use
|
|
104
106
|
|
|
105
107
|
- The user has not seen the diff yet and would benefit from review →
|
|
106
|
-
use [`/commit`](commit.md) instead.
|
|
108
|
+
use [`/commit`](../commit.md) instead.
|
|
107
109
|
- The diff includes large unrelated changes the user might want to
|
|
108
|
-
reorganise → use [`/commit`](commit.md).
|
|
110
|
+
reorganise → use [`/commit`](../commit.md).
|
|
109
111
|
- The repo has a pre-commit hook that requires manual response → fix
|
|
110
112
|
the hook or use `/commit`.
|
|
111
113
|
|
|
112
114
|
## See also
|
|
113
115
|
|
|
114
|
-
- [`/commit`](commit.md) — split + present plan + wait for approval
|
|
115
|
-
- [`autonomous-execution`](
|
|
116
|
+
- [`/commit`](../commit.md) — split + present plan + wait for approval
|
|
117
|
+
- [`autonomous-execution`](../../rules/autonomous-execution.md) — the
|
|
116
118
|
rule that defines the no-ask commit default this command opts out of
|
|
117
|
-
- [`commit-conventions`](
|
|
119
|
+
- [`commit-conventions`](../../rules/commit-conventions.md) — message
|
|
118
120
|
format
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: commit
|
|
3
|
+
cluster: commit
|
|
3
4
|
skills: [git-workflow]
|
|
4
5
|
description: Stage and commit all uncommitted changes — splits into logical commits following Conventional Commits
|
|
5
6
|
disable-model-invocation: true
|
|
@@ -9,9 +10,28 @@ suggestion:
|
|
|
9
10
|
trigger_context: "git status shows uncommitted changes"
|
|
10
11
|
---
|
|
11
12
|
|
|
12
|
-
# commit
|
|
13
|
+
# /commit
|
|
13
14
|
|
|
14
|
-
|
|
15
|
+
Top-level entry point for the `/commit` family. Bare `/commit` runs the
|
|
16
|
+
interactive split-and-confirm flow described below. The `:in-chunks`
|
|
17
|
+
sub-command runs the same split logic without the confirmation prompt.
|
|
18
|
+
|
|
19
|
+
## Sub-commands
|
|
20
|
+
|
|
21
|
+
| Sub-command | Routes to | Purpose |
|
|
22
|
+
|---|---|---|
|
|
23
|
+
| `/commit` (bare) | this file (`## Default flow`) | Interactive — split, present plan, wait for approval, commit |
|
|
24
|
+
| `/commit:in-chunks` | `commands/commit/in-chunks.md` | Autonomous — split and commit without confirmation |
|
|
25
|
+
|
|
26
|
+
## Dispatch
|
|
27
|
+
|
|
28
|
+
1. Parse the user's argument: `/commit[:<sub>] [args]`.
|
|
29
|
+
2. Bare `/commit` → run the `## Default flow` below verbatim.
|
|
30
|
+
3. `/commit:in-chunks` → load `commands/commit/in-chunks.md` and follow
|
|
31
|
+
its `## Instructions` section verbatim.
|
|
32
|
+
4. Unknown sub-command → print the table above and ask which one.
|
|
33
|
+
|
|
34
|
+
## Default flow
|
|
15
35
|
|
|
16
36
|
### 1. Detect uncommitted changes
|
|
17
37
|
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: context
|
|
2
|
+
name: context:create
|
|
3
|
+
cluster: context
|
|
4
|
+
sub: create
|
|
3
5
|
skills: [agent-docs-writing]
|
|
4
6
|
description: Analyze a codebase area and create a structured context document
|
|
5
7
|
disable-model-invocation: true
|
|
@@ -9,8 +11,7 @@ suggestion:
|
|
|
9
11
|
trigger_context: "working in a module without an agents/contexts/ doc"
|
|
10
12
|
---
|
|
11
13
|
|
|
12
|
-
# context
|
|
13
|
-
|
|
14
|
+
# /context create
|
|
14
15
|
## Instructions
|
|
15
16
|
|
|
16
17
|
### 1. Ask what to document
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: context
|
|
2
|
+
name: context:refactor
|
|
3
|
+
cluster: context
|
|
4
|
+
sub: refactor
|
|
3
5
|
skills: [agent-docs-writing]
|
|
4
6
|
description: Analyze, update, and extend an existing context document
|
|
5
7
|
disable-model-invocation: true
|
|
@@ -9,8 +11,7 @@ suggestion:
|
|
|
9
11
|
trigger_context: "existing agents/contexts/*.md referenced in the prompt"
|
|
10
12
|
---
|
|
11
13
|
|
|
12
|
-
# context
|
|
13
|
-
|
|
14
|
+
# /context refactor
|
|
14
15
|
## Instructions
|
|
15
16
|
|
|
16
17
|
### 1. Find the context
|