@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
|
@@ -7,13 +7,15 @@ source: package
|
|
|
7
7
|
|
|
8
8
|
# Commit Conventions
|
|
9
9
|
|
|
10
|
-
All commit messages and squash/merge titles follow [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/).
|
|
10
|
+
All commit messages and squash/merge titles must follow [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/).
|
|
11
11
|
|
|
12
12
|
## Format
|
|
13
13
|
|
|
14
14
|
- With scope: `<type>(<scope>): <description>`
|
|
15
|
-
- Without scope: `<type>: <description>`
|
|
16
|
-
- Always English
|
|
15
|
+
- Without scope: `<type>: <description>` (omit parentheses when no scope)
|
|
16
|
+
- **Always English** — regardless of user's language.
|
|
17
|
+
- **Imperative mood** ("add feature", not "added feature").
|
|
18
|
+
- **First line max 72 characters.**
|
|
17
19
|
|
|
18
20
|
## Types
|
|
19
21
|
|
|
@@ -21,24 +23,24 @@ All commit messages and squash/merge titles follow [Conventional Commits](https:
|
|
|
21
23
|
|---|---|
|
|
22
24
|
| `feat` | New user-facing functionality |
|
|
23
25
|
| `fix` | Bug fix |
|
|
24
|
-
| `refactor` |
|
|
26
|
+
| `refactor` | Code/structure change, no behavior change |
|
|
25
27
|
| `docs` | Documentation only |
|
|
26
28
|
| `test` | Tests only |
|
|
27
|
-
| `chore` | Maintenance
|
|
28
|
-
| `ci` | CI/CD
|
|
29
|
-
| `style` |
|
|
29
|
+
| `chore` | Maintenance (deps, configs, tooling, cleanup) |
|
|
30
|
+
| `ci` | CI/CD and workflow changes |
|
|
31
|
+
| `style` | Code style (formatting, no logic change) |
|
|
30
32
|
| `perf` | Performance improvement |
|
|
31
|
-
| `build` | Build tooling
|
|
33
|
+
| `build` | Build tooling / packaging changes |
|
|
32
34
|
|
|
33
35
|
## Scope
|
|
34
36
|
|
|
35
|
-
- Jira ticket ID when branch
|
|
36
|
-
- Otherwise short area name
|
|
37
|
-
-
|
|
37
|
+
- Use the **Jira ticket ID** as scope when the branch contains one (e.g. `DEV-1234`).
|
|
38
|
+
- Otherwise use a short module or area name (e.g. `api`, `auth`, `skills`).
|
|
39
|
+
- Scope is optional — only add when it improves clarity.
|
|
38
40
|
|
|
39
41
|
## Breaking changes
|
|
40
42
|
|
|
41
|
-
Mark with `!` or `BREAKING CHANGE:` footer:
|
|
43
|
+
Mark explicitly with `!` after type/scope or `BREAKING CHANGE:` in footer:
|
|
42
44
|
|
|
43
45
|
```
|
|
44
46
|
feat(api)!: rename invoice status values
|
|
@@ -47,7 +49,8 @@ refactor(auth)!: remove legacy session flow
|
|
|
47
49
|
|
|
48
50
|
## Commit splitting
|
|
49
51
|
|
|
50
|
-
|
|
52
|
+
If a change mixes unrelated concerns, split into multiple commits.
|
|
53
|
+
Do NOT hide bug fixes, CI work, docs, and refactors in one commit.
|
|
51
54
|
|
|
52
55
|
## Examples
|
|
53
56
|
|
|
@@ -61,4 +64,4 @@ ci(lint): add skill-lint workflow
|
|
|
61
64
|
docs(roadmap): add phase 3 implementation plan
|
|
62
65
|
```
|
|
63
66
|
|
|
64
|
-
→
|
|
67
|
+
→ Full type selection rules and anti-patterns: see guideline `docs/guidelines/php/git.md`.
|
|
@@ -3,6 +3,8 @@ type: "always"
|
|
|
3
3
|
description: "Commit policy — never commit and never ask about committing unless the user said so this turn, the roadmap authorizes it, or a commit command is invoked"
|
|
4
4
|
alwaysApply: true
|
|
5
5
|
source: package
|
|
6
|
+
load_context:
|
|
7
|
+
- .agent-src.uncompressed/contexts/authority/commit-mechanics.md
|
|
6
8
|
---
|
|
7
9
|
|
|
8
10
|
# Commit Policy
|
|
@@ -36,26 +38,12 @@ Exactly four ways the agent may commit:
|
|
|
36
38
|
3. **Commit command invoked** — `/commit` (with confirmation) or
|
|
37
39
|
`/commit-in-chunks` (auto-split, no confirmation).
|
|
38
40
|
4. **Roadmap authorization** — the roadmap file lists explicit commit
|
|
39
|
-
steps and the user invoked roadmap execution.
|
|
40
|
-
[Roadmap-authorized commits](#roadmap-authorized-commits) below.
|
|
41
|
+
steps and the user invoked roadmap execution.
|
|
41
42
|
|
|
42
|
-
Anything else → no commit.
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
Even when one of the four exceptions above authorizes a commit, the
|
|
47
|
-
[`non-destructive-by-default`](non-destructive-by-default.md) Hard
|
|
48
|
-
Floor still fires when the diff:
|
|
49
|
-
|
|
50
|
-
- Removes a directory
|
|
51
|
-
- Deletes ≥5 unrelated files
|
|
52
|
-
- Touches Terraform / Pulumi / k8s manifests / Ansible / cloud-config
|
|
53
|
-
|
|
54
|
-
In those cases, **surface the diff** (paths + counts) and confirm
|
|
55
|
-
this turn before committing — even under `/commit-in-chunks`,
|
|
56
|
-
roadmap pre-scan authorization, or an explicit "commit this now". The
|
|
57
|
-
four exceptions cover *whether* commits happen; the Hard Floor covers
|
|
58
|
-
*which diffs* still need a separate confirmation.
|
|
43
|
+
Anything else → no commit. Hard Floor (bulk deletions, infra changes)
|
|
44
|
+
still fires on top of any exception — see
|
|
45
|
+
[`commit-mechanics`](../contexts/authority/commit-mechanics.md) for
|
|
46
|
+
the diff triggers and the roadmap-authorized commit flow.
|
|
59
47
|
|
|
60
48
|
## NEVER ask about committing
|
|
61
49
|
|
|
@@ -64,10 +52,10 @@ variant is **forbidden**. The user invokes a command or says so
|
|
|
64
52
|
explicitly. Don't surface a commit option in numbered-options blocks
|
|
65
53
|
unless the rest of the message would be incomplete without it.
|
|
66
54
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
55
|
+
Quoted commit phrases (chat-log paste, log excerpt, roadmap snippet)
|
|
56
|
+
are **not** permission — see
|
|
57
|
+
[`commit-mechanics`](../contexts/authority/commit-mechanics.md)
|
|
58
|
+
§ Speech-act check.
|
|
71
59
|
|
|
72
60
|
## NEVER write commit steps into roadmaps unsolicited
|
|
73
61
|
|
|
@@ -79,29 +67,13 @@ delivery decision; roadmaps plan **work**.
|
|
|
79
67
|
If the user explicitly wants commit steps in the roadmap, write them
|
|
80
68
|
clearly and unambiguously (e.g. "Commit phase X: chore: …").
|
|
81
69
|
|
|
82
|
-
## Roadmap-authorized commits
|
|
83
|
-
|
|
84
|
-
When **executing** a roadmap that contains commit steps:
|
|
85
|
-
|
|
86
|
-
- **Non-autonomous mode** (`personal.autonomy: off`, or `auto`
|
|
87
|
-
before opt-in) — agent may ask before each commit step. The user
|
|
88
|
-
authorized commits by writing them into the roadmap, but retains
|
|
89
|
-
step-level control.
|
|
90
|
-
- **Autonomous mode** (`personal.autonomy: on`, or `auto` after
|
|
91
|
-
opt-in) — agent does a quick pre-scan of the roadmap **before
|
|
92
|
-
starting execution**. If commit steps are found, ask **once** at
|
|
93
|
-
the very start: "Roadmap contains N commit steps — should they be
|
|
94
|
-
executed?". After that, honor or skip per the answer.
|
|
95
|
-
No re-asking per step.
|
|
96
|
-
|
|
97
|
-
The pre-scan ask is the **only** permitted commit-related question
|
|
98
|
-
in autonomous mode. Once answered, the decision is cached for the
|
|
99
|
-
rest of the roadmap execution.
|
|
100
|
-
|
|
101
70
|
## See also
|
|
102
71
|
|
|
103
72
|
- [`autonomous-execution`](autonomous-execution.md) — when to suppress
|
|
104
73
|
trivial questions; this rule survives the suppression.
|
|
74
|
+
- [`no-cheap-questions`](no-cheap-questions.md) — commit asks are
|
|
75
|
+
cheap by construction; this rule is the canonical Iron Law, the
|
|
76
|
+
cheap-questions rule cites it and refuses to surface the option.
|
|
105
77
|
- [`scope-control`](scope-control.md) — git-ops permission gate
|
|
106
78
|
(push, merge, branch, PR, tag stay separately permission-gated).
|
|
107
79
|
- [`/commit`](../commands/commit.md) — split and commit with confirmation.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
type: "
|
|
3
|
-
alwaysApply:
|
|
4
|
-
description: "
|
|
2
|
+
type: "auto"
|
|
3
|
+
alwaysApply: false
|
|
4
|
+
description: "When debugging, fixing errors, or running long conversations — 3-failure stop rule, tool-loop detection, fresh-chat triggers"
|
|
5
5
|
source: package
|
|
6
6
|
---
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
type: "always"
|
|
3
|
-
description: "Always — direct, unembellished answers. No flattery, no invented facts (verify
|
|
3
|
+
description: "Always — direct, unembellished answers. No flattery, no invented facts (verify load-bearing claims, otherwise ask). Emojis only as functional markers. Brevity is the default."
|
|
4
4
|
alwaysApply: true
|
|
5
5
|
source: package
|
|
6
6
|
---
|
|
@@ -18,18 +18,12 @@ NEVER PRAISE THE USER'S IDEA TO MAKE THEM HAPPY.
|
|
|
18
18
|
ANSWER THE SUBSTANCE. SHIP THE TRUTH.
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
- No positive adjectives about
|
|
22
|
-
|
|
23
|
-
-
|
|
24
|
-
|
|
25
|
-
user asked for an evaluation.
|
|
26
|
-
- "Good catch" / "you're right" only when literally true and
|
|
27
|
-
load-bearing for the answer.
|
|
28
|
-
- Acknowledge mistakes without performative apologies. One sentence,
|
|
29
|
-
switch behavior.
|
|
21
|
+
- No positive adjectives about user, question, idea, or work product as opener.
|
|
22
|
+
- No subjective judgments on user's code/decisions ("nice approach", "boring") unless evaluation was asked.
|
|
23
|
+
- "Good catch" / "you're right" only when literally true and load-bearing.
|
|
24
|
+
- Acknowledge mistakes without performative apologies — one sentence, switch behavior.
|
|
30
25
|
|
|
31
|
-
Failure mode: praise as a hedge before
|
|
32
|
-
cushion, deliver the news.
|
|
26
|
+
Failure mode: praise as a hedge before bad news. Drop the cushion, deliver the news.
|
|
33
27
|
|
|
34
28
|
## Iron Law 2 — No Invented Facts (severity-tiered)
|
|
35
29
|
|
|
@@ -39,19 +33,18 @@ THE MORE LOAD-BEARING THE CLAIM, THE HARDER YOU VERIFY.
|
|
|
39
33
|
WHEN VERIFICATION IS NOT WORTH THE COST → ASK.
|
|
40
34
|
```
|
|
41
35
|
|
|
42
|
-
| Severity |
|
|
43
|
-
|
|
44
|
-
| **High — load-bearing**
|
|
45
|
-
| **Medium — project-shape**
|
|
46
|
-
| **Low — well-known idioms**
|
|
36
|
+
| Severity | Required action |
|
|
37
|
+
|---|---|
|
|
38
|
+
| **High — load-bearing** (file paths, signatures, version numbers, security claims, "this test passes") | MUST verify with `view`, `grep`, `codebase-retrieval`, or fresh command output. Too expensive → ask. |
|
|
39
|
+
| **Medium — project-shape** ("uses X for Y", conventions, file location) | Verify if one tool call reaches it; otherwise hedge: *"I'd guess X — not checked"*. |
|
|
40
|
+
| **Low — well-known idioms** (generic language/framework idioms, public APIs) | Inference acceptable. Mark as inference if not 100% sure. |
|
|
41
|
+
|
|
42
|
+
Concrete examples and hedge-language patterns:
|
|
43
|
+
[`asking-and-brevity-examples`](../../docs/guidelines/agent-infra/asking-and-brevity-examples.md#direct-answers--severity-tiered-claim-examples).
|
|
47
44
|
|
|
48
45
|
User override: "just guess", "rough estimate is fine", "skip the
|
|
49
46
|
verify" → drop to Low for that turn.
|
|
50
47
|
|
|
51
|
-
Hedging language is explicit and short: "haven't verified X",
|
|
52
|
-
"guess, not checked". Never bare "probably" / "vermutlich" without
|
|
53
|
-
naming what's unverified.
|
|
54
|
-
|
|
55
48
|
## Iron Law 3 — Brevity by Default
|
|
56
49
|
|
|
57
50
|
```
|
|
@@ -60,45 +53,37 @@ LONG ANSWERS ARE A FAILURE MODE, NOT A SIGN OF EFFORT.
|
|
|
60
53
|
```
|
|
61
54
|
|
|
62
55
|
- Skip restating the user's question.
|
|
63
|
-
- Skip announcing intent ("Let me…", "I will now…")
|
|
64
|
-
- Skip explaining
|
|
65
|
-
- Skip post-hoc summary unless
|
|
66
|
-
- Multi-step
|
|
67
|
-
-
|
|
68
|
-
|
|
69
|
-
`token-efficiency` covers the loop side (no repeated tool calls);
|
|
70
|
-
this rule covers the per-reply-length side. **Never overrides**
|
|
71
|
-
`user-interaction` (numbered options stay) or command-mandated
|
|
72
|
-
steps — brevity ≠ skipping required questions.
|
|
56
|
+
- Skip announcing intent ("Let me…", "I will now…") — just do.
|
|
57
|
+
- Skip explaining tool use — the call result speaks.
|
|
58
|
+
- Skip post-hoc summary unless rechecking a decision.
|
|
59
|
+
- Multi-step → bullets, not paragraphs.
|
|
60
|
+
- One-true-answer question → one sentence + the answer.
|
|
73
61
|
|
|
74
|
-
|
|
62
|
+
`token-efficiency` covers the loop side; this rule covers per-reply
|
|
63
|
+
length. **Never overrides** `user-interaction` (numbered options
|
|
64
|
+
stay) or command-mandated steps.
|
|
75
65
|
|
|
76
|
-
|
|
66
|
+
## Emoji Scope — functional markers only
|
|
77
67
|
|
|
78
|
-
**Whitelist
|
|
68
|
+
**Whitelist (allowed):**
|
|
79
69
|
|
|
80
|
-
- Mandated markers
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
-
|
|
84
|
-
`language-and-tone` § other-language-rules still applies.
|
|
85
|
-
- Roadmap status checkboxes: `[x]`, `[~]`, `[-]`.
|
|
70
|
+
- Mandated markers: `📒` (chat-history heartbeat, verbatim per
|
|
71
|
+
`chat-history-visibility`), mode markers from `role-mode-adherence`.
|
|
72
|
+
- CLI status: `❌`, `✅`, `⚠️` (two-space rule from `language-and-tone`).
|
|
73
|
+
- Roadmap checkboxes: `[x]`, `[~]`, `[-]`.
|
|
86
74
|
|
|
87
|
-
**Blacklist
|
|
75
|
+
**Blacklist (never in prose):**
|
|
88
76
|
|
|
89
77
|
- Opening flair: ✨, 🚀, 🎉, 💡, 🔥, 👍.
|
|
90
|
-
- Empathy
|
|
91
|
-
- Section dividers
|
|
92
|
-
- Reaction reactions to the user's message.
|
|
78
|
+
- Empathy: ❤️, 🤗, 😊.
|
|
79
|
+
- Section dividers, headline ornaments, reaction emojis.
|
|
93
80
|
|
|
94
|
-
|
|
81
|
+
Unsure → assume blacklist.
|
|
95
82
|
|
|
96
83
|
## Failure modes the user will call out
|
|
97
84
|
|
|
98
|
-
|
|
99
|
-
-
|
|
100
|
-
- Three paragraphs for a one-line answer — Iron Law 3.
|
|
101
|
-
- ✨/🎉/💡 to mark "this is interesting" — emoji blacklist.
|
|
85
|
+
Trigger phrases per Iron Law and the in-language correction pattern:
|
|
86
|
+
[`asking-and-brevity-examples`](../../docs/guidelines/agent-infra/asking-and-brevity-examples.md#direct-answers--failure-modes-the-user-will-call-out).
|
|
102
87
|
|
|
103
88
|
When called out: acknowledge once in the user's language, switch,
|
|
104
89
|
no excuses (mirrors `language-and-tone` § slip handling).
|
|
@@ -44,10 +44,10 @@ docker compose exec -T <php-service> vendor/bin/phpunit
|
|
|
44
44
|
|
|
45
45
|
## Build / Task Runner
|
|
46
46
|
|
|
47
|
-
Before using raw `docker compose exec
|
|
48
|
-
ships a `Makefile`
|
|
49
|
-
`make test`, `make phpstan`). Read the Makefile first
|
|
50
|
-
|
|
51
|
-
raw `docker compose exec`.
|
|
47
|
+
Before using raw `docker compose exec` commands, check if the consumer
|
|
48
|
+
project ships a `Makefile` for common targets (e.g. `make console`,
|
|
49
|
+
`make test`, `make phpstan`). Read the Makefile first to discover
|
|
50
|
+
available shortcuts. If the project uses a different task runner,
|
|
51
|
+
inspect its config file before defaulting to raw `docker compose exec`.
|
|
52
52
|
|
|
53
53
|
Frontend commands (npm, webpack) run on the host or in the node container.
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
type: "auto"
|
|
3
3
|
description: "Keeping .augment/ contexts, counts, and cross-references in sync when creating, renaming, or deleting skills, commands, rules, guidelines, templates, or any agent infrastructure files"
|
|
4
4
|
source: package
|
|
5
|
+
load_context:
|
|
6
|
+
- .agent-src.uncompressed/contexts/communication/rules-auto/docs-sync-mechanics.md
|
|
5
7
|
---
|
|
6
8
|
|
|
7
9
|
# Docs Sync
|
|
@@ -18,33 +20,16 @@ A new rule/skill/command without its index entry, count update, and context upda
|
|
|
18
20
|
1. Create/delete the file
|
|
19
21
|
2. **Immediately** update `contexts/augment-infrastructure.md` (counts + category tables)
|
|
20
22
|
3. Check cross-references in contexts and routing hints (inline "see X skill" references)
|
|
23
|
+
4. If a **skill** was added/renamed/deleted: update distribution manifests
|
|
24
|
+
5. If a **hook** was added/renamed/deleted: update hook registries
|
|
25
|
+
6. If **content** changed: run the consistency grep across other artefacts
|
|
21
26
|
|
|
22
|
-
Steps 2–
|
|
27
|
+
Steps 2–6 are NOT optional. Do NOT present the result to the user until all steps are done.
|
|
23
28
|
|
|
24
29
|
**Two modes:**
|
|
25
|
-
- **Reactive** (automatic): Triggered by add/remove/rename or scope/description/count changes → sync counts, contexts, cross-references.
|
|
30
|
+
- **Reactive** (automatic): Triggered by add/remove/rename or scope/description/count changes → sync counts, contexts, cross-references, manifests, registries.
|
|
26
31
|
- **Proactive** (on demand): Full audit → find duplicates, thin skills, redundancy, stale content → fix or merge. Ask before destructive actions.
|
|
27
32
|
|
|
28
|
-
## What to update
|
|
29
|
-
|
|
30
|
-
When a file is **added, removed, or renamed**:
|
|
31
|
-
|
|
32
|
-
| Change | Files to update |
|
|
33
|
-
|---|---|
|
|
34
|
-
| Skill/command/rule count changes | `contexts/augment-infrastructure.md` (count + category table) |
|
|
35
|
-
| New skill category | `contexts/augment-infrastructure.md` + `contexts/skills-and-commands.md` |
|
|
36
|
-
| New workflow chain | `contexts/skills-and-commands.md` (workflow chains section) |
|
|
37
|
-
|
|
38
|
-
## Cross-reference updates
|
|
39
|
-
|
|
40
|
-
When a skill is **added or its scope changes**, check and update:
|
|
41
|
-
|
|
42
|
-
| What | Where to check |
|
|
43
|
-
|---|---|
|
|
44
|
-
| Inline routing hints | "see X skill" or "use X instead" references in other skills |
|
|
45
|
-
| Guideline cross-references | Guidelines that reference the changed skill |
|
|
46
|
-
| Command skill references | Commands that use the changed skill |
|
|
47
|
-
|
|
48
33
|
## Settings template sync
|
|
49
34
|
|
|
50
35
|
When a skill, rule, or command **reads a new setting** from `.agent-settings.yml` that does not yet
|
|
@@ -55,60 +40,21 @@ exist in `.augment/templates/agent-settings.md`:
|
|
|
55
40
|
3. **Add a comment** above the key explaining what it does.
|
|
56
41
|
4. **Update the local `.agent-settings.yml`** — add the new key with its default value.
|
|
57
42
|
Preserve all existing values, apply template order and comments. Follow the
|
|
58
|
-
[section-aware merge rules](
|
|
43
|
+
[section-aware merge rules](../../docs/guidelines/agent-infra/layered-settings.md#section-aware-merge-rules)
|
|
59
44
|
so the user benefits immediately without running a separate command.
|
|
60
45
|
|
|
61
46
|
**This step is mandatory.** If the template gains a new key but the local `.agent-settings.yml`
|
|
62
47
|
is not updated, the user cannot discover the new setting exists.
|
|
63
48
|
|
|
64
|
-
##
|
|
65
|
-
|
|
66
|
-
`.augment/`-internal sync (counts, contexts, cross-refs) is one half. The
|
|
67
|
-
other half is **distribution manifests** that ship the package to consumers
|
|
68
|
-
and **hook registries** that wire engine code into platform lifecycles.
|
|
69
|
-
These are not auto-derived — they drift silently until CI catches them, and
|
|
70
|
-
on cooperative platforms (no pre-commit) they can sit broken in a branch
|
|
71
|
-
for hours.
|
|
72
|
-
|
|
73
|
-
When a **skill** is added, renamed, or deleted under
|
|
74
|
-
`.agent-src.uncompressed/skills/`:
|
|
75
|
-
|
|
76
|
-
| Manifest | Required update |
|
|
77
|
-
|---|---|
|
|
78
|
-
| `.claude-plugin/marketplace.json` | Add/remove the `./.claude/skills/<name>` entry in `plugins[0].skills[]`, alphabetical position. Caught by `scripts/lint_marketplace.py` in CI. |
|
|
79
|
-
| `.augment-plugin/marketplace.json` | Skill-name-agnostic — no update needed. Touch only when plugin metadata (description, tags) changes. |
|
|
80
|
-
| `.github/plugin/marketplace.json` | Same as above — metadata-only manifest. |
|
|
81
|
-
|
|
82
|
-
When a **hook** is added, renamed, or deleted under
|
|
83
|
-
`.agent-src.uncompressed/templates/scripts/work_engine/hooks/builtin/`:
|
|
84
|
-
|
|
85
|
-
| Registry | Required update |
|
|
86
|
-
|---|---|
|
|
87
|
-
| `templates/scripts/work_engine/hooks/builtin/__init__.py` | New hook class → add the import + `__all__` entry. Single source of truth for engine-side registration. |
|
|
88
|
-
| `templates/consumer-settings/claude-settings.json` | Only when a **new platform event** is wired (e.g. first time a hook listens on `SessionEnd`). Existing hooks reuse the `./agent-config chat-history:hook --platform claude` dispatcher — no per-hook entry needed. |
|
|
89
|
-
| `templates/consumer-settings/augment-cli-hooks.json` | Same logic — new platform event → new `command` block; new hook on existing event → no update. |
|
|
90
|
-
|
|
91
|
-
Failure mode that motivated this section: a skill on disk without its
|
|
92
|
-
`marketplace.json` entry passes local edits, builds, and tests — only
|
|
93
|
-
CI catches it via `lint_marketplace`. The cooperative path is
|
|
94
|
-
"agent updates the manifest in the same response as the skill"; the
|
|
95
|
-
structural backstop is a pre-commit hook installed by
|
|
96
|
-
`scripts/install-hooks.sh` that runs `lint_marketplace` on every
|
|
97
|
-
commit. Run the installer once per clone; bypass for an unrelated WIP
|
|
98
|
-
commit is `git commit --no-verify`.
|
|
99
|
-
|
|
100
|
-
## Content consistency
|
|
101
|
-
|
|
102
|
-
**CRITICAL — MANDATORY CHECK:** When a rule, skill, or guideline's **content** is changed
|
|
103
|
-
(not just metadata), you MUST search for **all other rules, skills, and guidelines that cover
|
|
104
|
-
the same topic** and verify they are consistent.
|
|
105
|
-
|
|
106
|
-
```bash
|
|
107
|
-
grep -rl "TOPIC" .augment/rules/ .augment/skills/ .augment/guidelines/ --include="*.md"
|
|
108
|
-
```
|
|
49
|
+
## Lookup tables and details — see mechanics
|
|
109
50
|
|
|
110
|
-
|
|
111
|
-
|
|
51
|
+
The exact "what to update" tables, cross-reference targets,
|
|
52
|
+
distribution-manifest update tables (`marketplace.json` etc.), hook
|
|
53
|
+
registry update tables (`__init__.py`, consumer-settings JSON), the
|
|
54
|
+
failure mode that motivated the manifest section, and the content
|
|
55
|
+
consistency `grep` snippet all live in
|
|
56
|
+
[`contexts/communication/rules-auto/docs-sync-mechanics.md`](../contexts/communication/rules-auto/docs-sync-mechanics.md).
|
|
57
|
+
Pull it whenever a sync trigger fires.
|
|
112
58
|
|
|
113
59
|
## Do NOT
|
|
114
60
|
|
|
@@ -9,7 +9,7 @@ source: package
|
|
|
9
9
|
|
|
10
10
|
## Before writing E2E tests
|
|
11
11
|
|
|
12
|
-
1. **Read the guideline** —
|
|
12
|
+
1. **Read the guideline** — `../../docs/guidelines/e2e/playwright.md` for all conventions and patterns.
|
|
13
13
|
2. **Check existing tests** — match the project's structure, fixtures, and Page Object patterns.
|
|
14
14
|
3. **Check `playwright.config.ts`** — base URL, browsers, timeouts, projects.
|
|
15
15
|
|
|
@@ -12,7 +12,7 @@ Coding guidelines live in `.augment/guidelines/` organized by language.
|
|
|
12
12
|
|
|
13
13
|
## Available Guidelines
|
|
14
14
|
|
|
15
|
-
### PHP (
|
|
15
|
+
### PHP (`../../docs/guidelines/php/`)
|
|
16
16
|
|
|
17
17
|
| File | Topic |
|
|
18
18
|
|---|---|
|
|
@@ -37,7 +37,7 @@ Coding guidelines live in `.augment/guidelines/` organized by language.
|
|
|
37
37
|
| `websocket.md` | WebSocket conventions — Broadcasting, channel types, connection management |
|
|
38
38
|
| `patterns.md` | Design patterns index (links to `patterns/` subdirectory) |
|
|
39
39
|
|
|
40
|
-
### PHP Patterns (
|
|
40
|
+
### PHP Patterns (`../../docs/guidelines/php/patterns/`)
|
|
41
41
|
|
|
42
42
|
| File | Pattern |
|
|
43
43
|
|---|---|
|
|
@@ -51,11 +51,11 @@ Coding guidelines live in `.augment/guidelines/` organized by language.
|
|
|
51
51
|
| `pipelines.md` | Laravel Pipeline pattern |
|
|
52
52
|
| `strategy.md` | Strategy pattern implementation |
|
|
53
53
|
|
|
54
|
-
### E2E (
|
|
54
|
+
### E2E (`../../docs/guidelines/e2e/`)
|
|
55
55
|
|
|
56
56
|
Playwright best practices, Page Objects, fixtures, CI.
|
|
57
57
|
|
|
58
|
-
### Agent Infrastructure (
|
|
58
|
+
### Agent Infrastructure (`../../docs/guidelines/agent-infra/`)
|
|
59
59
|
|
|
60
60
|
| File | Topic |
|
|
61
61
|
|---|---|
|
|
@@ -41,10 +41,10 @@ Before coding, quickly verify:
|
|
|
41
41
|
- Does it follow established patterns in the codebase?
|
|
42
42
|
- Does it contradict existing conventions?
|
|
43
43
|
- Do **multiple valid patterns/frameworks** already exist (e.g. Tailwind + Flux, multiple form libraries, competing state stores)? If yes, do NOT pick one arbitrarily — ask which to use.
|
|
44
|
-
- Is the change a **second branch on the same discriminator** — second `match`/`switch` arm, second `if/elseif`, or second class hardcoded to one enum value (e.g. `Provider::FOO`, `'stripe'`)? If yes, run the Strategy sniff test before adding the branch — see [`guidelines/php/patterns/strategy.md`](
|
|
44
|
+
- Is the change a **second branch on the same discriminator** — second `match`/`switch` arm, second `if/elseif`, or second class hardcoded to one enum value (e.g. `Provider::FOO`, `'stripe'`)? If yes, run the Strategy sniff test before adding the branch — see [`docs/guidelines/php/patterns/strategy.md`](../../docs/guidelines/php/patterns/strategy.md#sniff-test--when-an-enumstring-discriminator-wants-to-become-a-strategy).
|
|
45
45
|
|
|
46
46
|
**If misfit** → show evidence (file references), propose alternative.
|
|
47
|
-
**If multiple valid options** → list them, ask which to use. See [`no blind implementation`](
|
|
47
|
+
**If multiple valid options** → list them, ask which to use. See [`no blind implementation`](../../docs/guidelines/agent-infra/agent-interaction-and-decision-quality.md#2-no-blind-implementation).
|
|
48
48
|
|
|
49
49
|
### 3. Is the approach sound?
|
|
50
50
|
|