@event4u/agent-config 1.9.1
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/README.md +64 -0
- package/.agent-src/commands/agent-handoff.md +64 -0
- package/.agent-src/commands/agent-status.md +83 -0
- package/.agent-src/commands/agents-audit.md +243 -0
- package/.agent-src/commands/agents-cleanup.md +169 -0
- package/.agent-src/commands/agents-prepare.md +137 -0
- package/.agent-src/commands/analyze-reference-repo.md +191 -0
- package/.agent-src/commands/bug-fix.md +181 -0
- package/.agent-src/commands/bug-investigate.md +175 -0
- package/.agent-src/commands/commit.md +121 -0
- package/.agent-src/commands/compress.md +177 -0
- package/.agent-src/commands/config-agent-settings.md +126 -0
- package/.agent-src/commands/context-create.md +167 -0
- package/.agent-src/commands/context-refactor.md +170 -0
- package/.agent-src/commands/copilot-agents-init.md +150 -0
- package/.agent-src/commands/copilot-agents-optimize.md +251 -0
- package/.agent-src/commands/create-pr-description.md +112 -0
- package/.agent-src/commands/create-pr.md +76 -0
- package/.agent-src/commands/do-and-judge.md +114 -0
- package/.agent-src/commands/do-in-steps.md +84 -0
- package/.agent-src/commands/e2e-heal.md +98 -0
- package/.agent-src/commands/e2e-plan.md +85 -0
- package/.agent-src/commands/estimate-ticket.md +80 -0
- package/.agent-src/commands/feature-dev.md +111 -0
- package/.agent-src/commands/feature-explore.md +180 -0
- package/.agent-src/commands/feature-plan.md +288 -0
- package/.agent-src/commands/feature-refactor.md +181 -0
- package/.agent-src/commands/feature-roadmap.md +184 -0
- package/.agent-src/commands/fix-ci.md +48 -0
- package/.agent-src/commands/fix-portability.md +97 -0
- package/.agent-src/commands/fix-pr-bot-comments.md +146 -0
- package/.agent-src/commands/fix-pr-comments.md +58 -0
- package/.agent-src/commands/fix-pr-developer-comments.md +152 -0
- package/.agent-src/commands/fix-references.md +94 -0
- package/.agent-src/commands/fix-seeder.md +146 -0
- package/.agent-src/commands/implement-ticket.md +133 -0
- package/.agent-src/commands/jira-ticket.md +71 -0
- package/.agent-src/commands/judge.md +86 -0
- package/.agent-src/commands/memory-add.md +130 -0
- package/.agent-src/commands/memory-full.md +97 -0
- package/.agent-src/commands/memory-promote.md +144 -0
- package/.agent-src/commands/mode.md +121 -0
- package/.agent-src/commands/module-create.md +132 -0
- package/.agent-src/commands/module-explore.md +157 -0
- package/.agent-src/commands/optimize-agents.md +139 -0
- package/.agent-src/commands/optimize-augmentignore.md +262 -0
- package/.agent-src/commands/optimize-rtk-filters.md +120 -0
- package/.agent-src/commands/optimize-skills.md +121 -0
- package/.agent-src/commands/override-create.md +97 -0
- package/.agent-src/commands/override-manage.md +96 -0
- package/.agent-src/commands/package-reset.md +154 -0
- package/.agent-src/commands/package-test.md +154 -0
- package/.agent-src/commands/prepare-for-review.md +91 -0
- package/.agent-src/commands/project-analyze.md +300 -0
- package/.agent-src/commands/project-health.md +95 -0
- package/.agent-src/commands/propose-memory.md +108 -0
- package/.agent-src/commands/quality-fix.md +106 -0
- package/.agent-src/commands/refine-ticket.md +81 -0
- package/.agent-src/commands/review-changes.md +130 -0
- package/.agent-src/commands/review-routing.md +111 -0
- package/.agent-src/commands/roadmap-create.md +110 -0
- package/.agent-src/commands/roadmap-execute.md +68 -0
- package/.agent-src/commands/rule-compliance-audit.md +139 -0
- package/.agent-src/commands/tests-create.md +73 -0
- package/.agent-src/commands/tests-execute.md +58 -0
- package/.agent-src/commands/threat-model.md +115 -0
- package/.agent-src/commands/update-form-request-messages.md +189 -0
- package/.agent-src/commands/upstream-contribute.md +171 -0
- package/.agent-src/contexts/augment-infrastructure.md +181 -0
- package/.agent-src/contexts/documentation-hierarchy.md +142 -0
- package/.agent-src/contexts/model-recommendations.md +142 -0
- package/.agent-src/contexts/override-system.md +187 -0
- package/.agent-src/contexts/skills-and-commands.md +154 -0
- package/.agent-src/contexts/subagent-configuration.md +62 -0
- package/.agent-src/guidelines/agent-infra/agent-interaction-and-decision-quality.md +110 -0
- package/.agent-src/guidelines/agent-infra/break-glass-usage.md +113 -0
- package/.agent-src/guidelines/agent-infra/developer-judgment.md +82 -0
- package/.agent-src/guidelines/agent-infra/engineering-memory-data-format.md +117 -0
- package/.agent-src/guidelines/agent-infra/layered-settings.md +158 -0
- package/.agent-src/guidelines/agent-infra/memory-access.md +121 -0
- package/.agent-src/guidelines/agent-infra/naming.md +69 -0
- package/.agent-src/guidelines/agent-infra/output-patterns.md +117 -0
- package/.agent-src/guidelines/agent-infra/review-routing-data-format.md +144 -0
- package/.agent-src/guidelines/agent-infra/role-contracts.md +211 -0
- package/.agent-src/guidelines/agent-infra/role-mode-router.md +89 -0
- package/.agent-src/guidelines/agent-infra/runtime-layer.md +89 -0
- package/.agent-src/guidelines/agent-infra/self-improvement-pipeline.md +135 -0
- package/.agent-src/guidelines/agent-infra/size-and-scope.md +189 -0
- package/.agent-src/guidelines/agent-infra/tool-integration.md +73 -0
- package/.agent-src/guidelines/docs/readme-size-and-splitting.md +153 -0
- package/.agent-src/guidelines/e2e/playwright.md +363 -0
- package/.agent-src/guidelines/php/api-design.md +115 -0
- package/.agent-src/guidelines/php/artisan-commands.md +81 -0
- package/.agent-src/guidelines/php/blade-ui.md +78 -0
- package/.agent-src/guidelines/php/controllers.md +90 -0
- package/.agent-src/guidelines/php/database.md +111 -0
- package/.agent-src/guidelines/php/eloquent.md +208 -0
- package/.agent-src/guidelines/php/flux.md +80 -0
- package/.agent-src/guidelines/php/general.md +191 -0
- package/.agent-src/guidelines/php/git.md +96 -0
- package/.agent-src/guidelines/php/jobs.md +111 -0
- package/.agent-src/guidelines/php/livewire.md +71 -0
- package/.agent-src/guidelines/php/logging.md +79 -0
- package/.agent-src/guidelines/php/naming.md +89 -0
- package/.agent-src/guidelines/php/patterns/dependency-injection.md +57 -0
- package/.agent-src/guidelines/php/patterns/dtos.md +199 -0
- package/.agent-src/guidelines/php/patterns/events.md +67 -0
- package/.agent-src/guidelines/php/patterns/factory.md +53 -0
- package/.agent-src/guidelines/php/patterns/pipelines.md +66 -0
- package/.agent-src/guidelines/php/patterns/policies.md +66 -0
- package/.agent-src/guidelines/php/patterns/repositories.md +122 -0
- package/.agent-src/guidelines/php/patterns/service-layer.md +64 -0
- package/.agent-src/guidelines/php/patterns/strategy.md +69 -0
- package/.agent-src/guidelines/php/patterns.md +28 -0
- package/.agent-src/guidelines/php/performance.md +92 -0
- package/.agent-src/guidelines/php/resources.md +100 -0
- package/.agent-src/guidelines/php/security.md +110 -0
- package/.agent-src/guidelines/php/sql.md +97 -0
- package/.agent-src/guidelines/php/validations.md +119 -0
- package/.agent-src/guidelines/php/websocket.md +100 -0
- package/.agent-src/personas/README.md +104 -0
- package/.agent-src/personas/ai-agent.md +77 -0
- package/.agent-src/personas/critical-challenger.md +73 -0
- package/.agent-src/personas/developer.md +73 -0
- package/.agent-src/personas/product-owner.md +78 -0
- package/.agent-src/personas/qa.md +67 -0
- package/.agent-src/personas/senior-engineer.md +77 -0
- package/.agent-src/personas/stakeholder.md +78 -0
- package/.agent-src/rules/agent-docs.md +61 -0
- package/.agent-src/rules/analysis-skill-routing.md +48 -0
- package/.agent-src/rules/architecture.md +62 -0
- package/.agent-src/rules/artifact-drafting-protocol.md +73 -0
- package/.agent-src/rules/ask-when-uncertain.md +52 -0
- package/.agent-src/rules/augment-portability.md +38 -0
- package/.agent-src/rules/augment-source-of-truth.md +128 -0
- package/.agent-src/rules/capture-learnings.md +89 -0
- package/.agent-src/rules/cli-output-handling.md +94 -0
- package/.agent-src/rules/commit-conventions.md +64 -0
- package/.agent-src/rules/context-hygiene.md +90 -0
- package/.agent-src/rules/docker-commands.md +55 -0
- package/.agent-src/rules/docs-sync.md +79 -0
- package/.agent-src/rules/downstream-changes.md +70 -0
- package/.agent-src/rules/e2e-testing.md +53 -0
- package/.agent-src/rules/guidelines.md +90 -0
- package/.agent-src/rules/improve-before-implement.md +94 -0
- package/.agent-src/rules/language-and-tone.md +104 -0
- package/.agent-src/rules/laravel-translations.md +48 -0
- package/.agent-src/rules/markdown-safe-codeblocks.md +18 -0
- package/.agent-src/rules/minimal-safe-diff.md +87 -0
- package/.agent-src/rules/missing-tool-handling.md +62 -0
- package/.agent-src/rules/model-recommendation.md +70 -0
- package/.agent-src/rules/package-ci-checks.md +80 -0
- package/.agent-src/rules/php-coding.md +63 -0
- package/.agent-src/rules/preservation-guard.md +29 -0
- package/.agent-src/rules/review-routing-awareness.md +125 -0
- package/.agent-src/rules/reviewer-awareness.md +92 -0
- package/.agent-src/rules/roadmap-progress-sync.md +56 -0
- package/.agent-src/rules/role-mode-adherence.md +54 -0
- package/.agent-src/rules/rule-type-governance.md +46 -0
- package/.agent-src/rules/runtime-safety.md +42 -0
- package/.agent-src/rules/scope-control.md +40 -0
- package/.agent-src/rules/security-sensitive-stop.md +77 -0
- package/.agent-src/rules/size-enforcement.md +29 -0
- package/.agent-src/rules/skill-improvement-trigger.md +58 -0
- package/.agent-src/rules/skill-quality.md +110 -0
- package/.agent-src/rules/slash-commands.md +30 -0
- package/.agent-src/rules/think-before-action.md +91 -0
- package/.agent-src/rules/token-efficiency.md +99 -0
- package/.agent-src/rules/tool-safety.md +36 -0
- package/.agent-src/rules/upstream-proposal.md +76 -0
- package/.agent-src/rules/user-interaction.md +79 -0
- package/.agent-src/rules/verify-before-complete.md +120 -0
- package/.agent-src/scripts/scan-seeder-violations.php +145 -0
- package/.agent-src/scripts/update_roadmap_progress.py +244 -0
- package/.agent-src/skills/adversarial-review/SKILL.md +149 -0
- package/.agent-src/skills/agent-docs-writing/SKILL.md +234 -0
- package/.agent-src/skills/analysis-autonomous-mode/SKILL.md +197 -0
- package/.agent-src/skills/analysis-skill-router/SKILL.md +134 -0
- package/.agent-src/skills/api-design/SKILL.md +104 -0
- package/.agent-src/skills/api-endpoint/SKILL.md +185 -0
- package/.agent-src/skills/api-testing/SKILL.md +206 -0
- package/.agent-src/skills/artisan-commands/SKILL.md +78 -0
- package/.agent-src/skills/authz-review/SKILL.md +171 -0
- package/.agent-src/skills/aws-infrastructure/SKILL.md +152 -0
- package/.agent-src/skills/blade-ui/SKILL.md +75 -0
- package/.agent-src/skills/blast-radius-analyzer/SKILL.md +185 -0
- package/.agent-src/skills/bug-analyzer/SKILL.md +256 -0
- package/.agent-src/skills/check-refs/SKILL.md +72 -0
- package/.agent-src/skills/code-refactoring/SKILL.md +200 -0
- package/.agent-src/skills/code-review/SKILL.md +214 -0
- package/.agent-src/skills/command-routing/SKILL.md +96 -0
- package/.agent-src/skills/command-writing/SKILL.md +143 -0
- package/.agent-src/skills/composer-packages/SKILL.md +172 -0
- package/.agent-src/skills/context-authoring/SKILL.md +157 -0
- package/.agent-src/skills/context-document/SKILL.md +153 -0
- package/.agent-src/skills/conventional-commits-writing/SKILL.md +70 -0
- package/.agent-src/skills/copilot-agents-optimization/SKILL.md +220 -0
- package/.agent-src/skills/copilot-config/SKILL.md +203 -0
- package/.agent-src/skills/dashboard-design/SKILL.md +116 -0
- package/.agent-src/skills/data-flow-mapper/SKILL.md +160 -0
- package/.agent-src/skills/database/SKILL.md +91 -0
- package/.agent-src/skills/dependency-upgrade/SKILL.md +204 -0
- package/.agent-src/skills/description-assist/SKILL.md +169 -0
- package/.agent-src/skills/design-review/SKILL.md +228 -0
- package/.agent-src/skills/devcontainer/SKILL.md +121 -0
- package/.agent-src/skills/developer-like-execution/SKILL.md +276 -0
- package/.agent-src/skills/docker/SKILL.md +245 -0
- package/.agent-src/skills/dto-creator/SKILL.md +117 -0
- package/.agent-src/skills/eloquent/SKILL.md +92 -0
- package/.agent-src/skills/eloquent/evals/last-run.json +99 -0
- package/.agent-src/skills/eloquent/evals/triggers.json +16 -0
- package/.agent-src/skills/estimate-ticket/SKILL.md +186 -0
- package/.agent-src/skills/estimate-ticket/evals/output-schema.yml +20 -0
- package/.agent-src/skills/estimate-ticket/evals/triggers.json +18 -0
- package/.agent-src/skills/fe-design/SKILL.md +223 -0
- package/.agent-src/skills/feature-planning/SKILL.md +226 -0
- package/.agent-src/skills/file-editor/SKILL.md +129 -0
- package/.agent-src/skills/finishing-a-development-branch/SKILL.md +200 -0
- package/.agent-src/skills/flux/SKILL.md +64 -0
- package/.agent-src/skills/git-workflow/SKILL.md +102 -0
- package/.agent-src/skills/github-ci/SKILL.md +122 -0
- package/.agent-src/skills/grafana/SKILL.md +168 -0
- package/.agent-src/skills/guideline-writing/SKILL.md +147 -0
- package/.agent-src/skills/jira-integration/SKILL.md +182 -0
- package/.agent-src/skills/jobs-events/SKILL.md +87 -0
- package/.agent-src/skills/judge-bug-hunter/SKILL.md +157 -0
- package/.agent-src/skills/judge-code-quality/SKILL.md +158 -0
- package/.agent-src/skills/judge-security-auditor/SKILL.md +167 -0
- package/.agent-src/skills/judge-test-coverage/SKILL.md +154 -0
- package/.agent-src/skills/laravel/SKILL.md +195 -0
- package/.agent-src/skills/laravel-horizon/SKILL.md +169 -0
- package/.agent-src/skills/laravel-mail/SKILL.md +193 -0
- package/.agent-src/skills/laravel-middleware/SKILL.md +185 -0
- package/.agent-src/skills/laravel-notifications/SKILL.md +168 -0
- package/.agent-src/skills/laravel-pennant/SKILL.md +188 -0
- package/.agent-src/skills/laravel-pulse/SKILL.md +160 -0
- package/.agent-src/skills/laravel-reverb/SKILL.md +205 -0
- package/.agent-src/skills/laravel-scheduling/SKILL.md +167 -0
- package/.agent-src/skills/laravel-validation/SKILL.md +71 -0
- package/.agent-src/skills/learning-to-rule-or-skill/SKILL.md +249 -0
- package/.agent-src/skills/lint-skills/SKILL.md +72 -0
- package/.agent-src/skills/livewire/SKILL.md +79 -0
- package/.agent-src/skills/logging-monitoring/SKILL.md +100 -0
- package/.agent-src/skills/mcp/SKILL.md +193 -0
- package/.agent-src/skills/merge-conflicts/SKILL.md +158 -0
- package/.agent-src/skills/migration-creator/SKILL.md +160 -0
- package/.agent-src/skills/module-management/SKILL.md +154 -0
- package/.agent-src/skills/multi-tenancy/SKILL.md +129 -0
- package/.agent-src/skills/openapi/SKILL.md +154 -0
- package/.agent-src/skills/override-management/SKILL.md +186 -0
- package/.agent-src/skills/performance/SKILL.md +69 -0
- package/.agent-src/skills/performance-analysis/SKILL.md +118 -0
- package/.agent-src/skills/pest-testing/SKILL.md +321 -0
- package/.agent-src/skills/php-coder/SKILL.md +78 -0
- package/.agent-src/skills/php-coder/evals/triggers.json +16 -0
- package/.agent-src/skills/php-debugging/SKILL.md +184 -0
- package/.agent-src/skills/php-service/SKILL.md +96 -0
- package/.agent-src/skills/playwright-testing/SKILL.md +244 -0
- package/.agent-src/skills/project-analysis-core/SKILL.md +138 -0
- package/.agent-src/skills/project-analysis-hypothesis-driven/SKILL.md +130 -0
- package/.agent-src/skills/project-analysis-laravel/SKILL.md +119 -0
- package/.agent-src/skills/project-analysis-nextjs/SKILL.md +123 -0
- package/.agent-src/skills/project-analysis-node-express/SKILL.md +111 -0
- package/.agent-src/skills/project-analysis-react/SKILL.md +119 -0
- package/.agent-src/skills/project-analysis-symfony/SKILL.md +111 -0
- package/.agent-src/skills/project-analysis-zend-laminas/SKILL.md +108 -0
- package/.agent-src/skills/project-analyzer/SKILL.md +341 -0
- package/.agent-src/skills/project-docs/SKILL.md +137 -0
- package/.agent-src/skills/quality-tools/SKILL.md +411 -0
- package/.agent-src/skills/readme-reviewer/SKILL.md +187 -0
- package/.agent-src/skills/readme-writing/SKILL.md +142 -0
- package/.agent-src/skills/readme-writing-package/SKILL.md +185 -0
- package/.agent-src/skills/receiving-code-review/SKILL.md +190 -0
- package/.agent-src/skills/refine-ticket/SKILL.md +310 -0
- package/.agent-src/skills/refine-ticket/detection-map.yml +124 -0
- package/.agent-src/skills/refine-ticket/evals/output-schema.yml +16 -0
- package/.agent-src/skills/refine-ticket/evals/triggers.json +16 -0
- package/.agent-src/skills/requesting-code-review/SKILL.md +199 -0
- package/.agent-src/skills/review-routing/SKILL.md +195 -0
- package/.agent-src/skills/roadmap-management/SKILL.md +303 -0
- package/.agent-src/skills/rtk-output-filtering/SKILL.md +184 -0
- package/.agent-src/skills/rule-writing/SKILL.md +148 -0
- package/.agent-src/skills/security/SKILL.md +79 -0
- package/.agent-src/skills/security-audit/SKILL.md +123 -0
- package/.agent-src/skills/sentry-integration/SKILL.md +170 -0
- package/.agent-src/skills/sequential-thinking/SKILL.md +158 -0
- package/.agent-src/skills/skill-improvement-pipeline/SKILL.md +155 -0
- package/.agent-src/skills/skill-management/SKILL.md +121 -0
- package/.agent-src/skills/skill-reviewer/SKILL.md +218 -0
- package/.agent-src/skills/skill-writing/SKILL.md +291 -0
- package/.agent-src/skills/skill-writing/evals/triggers.json +16 -0
- package/.agent-src/skills/sql-writing/SKILL.md +74 -0
- package/.agent-src/skills/subagent-orchestration/SKILL.md +190 -0
- package/.agent-src/skills/systematic-debugging/SKILL.md +244 -0
- package/.agent-src/skills/technical-specification/SKILL.md +185 -0
- package/.agent-src/skills/terraform/SKILL.md +137 -0
- package/.agent-src/skills/terragrunt/SKILL.md +217 -0
- package/.agent-src/skills/test-driven-development/SKILL.md +252 -0
- package/.agent-src/skills/test-performance/SKILL.md +172 -0
- package/.agent-src/skills/threat-modeling/SKILL.md +189 -0
- package/.agent-src/skills/traefik/SKILL.md +319 -0
- package/.agent-src/skills/universal-project-analysis/SKILL.md +179 -0
- package/.agent-src/skills/upstream-contribute/SKILL.md +255 -0
- package/.agent-src/skills/using-git-worktrees/SKILL.md +148 -0
- package/.agent-src/skills/validate-feature-fit/SKILL.md +113 -0
- package/.agent-src/skills/verify-before-complete/SKILL.md +188 -0
- package/.agent-src/skills/websocket/SKILL.md +75 -0
- package/.agent-src/templates/AGENTS.md +146 -0
- package/.agent-src/templates/agent-settings.md +256 -0
- package/.agent-src/templates/agents/.gitattributes.fragment +16 -0
- package/.agent-src/templates/agents/agent-project-settings.example.yml +138 -0
- package/.agent-src/templates/agents/memory/architecture-decisions.example.yml +95 -0
- package/.agent-src/templates/agents/memory/domain-invariants.example.yml +80 -0
- package/.agent-src/templates/agents/memory/historical-patterns.example.yml +82 -0
- package/.agent-src/templates/agents/memory/incident-learnings.example.yml +113 -0
- package/.agent-src/templates/agents/memory/ownership.example.yml +75 -0
- package/.agent-src/templates/agents/memory/product-rules.example.yml +87 -0
- package/.agent-src/templates/agents/proposal.example.md +143 -0
- package/.agent-src/templates/command.md +84 -0
- package/.agent-src/templates/contexts/auth-model.md +59 -0
- package/.agent-src/templates/contexts/data-sensitivity.md +60 -0
- package/.agent-src/templates/contexts/deployment-order.md +72 -0
- package/.agent-src/templates/contexts/observability.md +64 -0
- package/.agent-src/templates/contexts/tenant-boundaries.md +68 -0
- package/.agent-src/templates/contexts.md +116 -0
- package/.agent-src/templates/copilot-instructions.md +115 -0
- package/.agent-src/templates/features.md +125 -0
- package/.agent-src/templates/github-workflows/memory-hygiene.yml +133 -0
- package/.agent-src/templates/github-workflows/pr-risk-review.yml +123 -0
- package/.agent-src/templates/github-workflows/proposal-drift.yml +118 -0
- package/.agent-src/templates/overrides/command.md +24 -0
- package/.agent-src/templates/overrides/guideline.md +21 -0
- package/.agent-src/templates/overrides/rule.md +19 -0
- package/.agent-src/templates/overrides/skill.md +24 -0
- package/.agent-src/templates/overrides/template.md +21 -0
- package/.agent-src/templates/persona.md +99 -0
- package/.agent-src/templates/roadmaps.md +109 -0
- package/.agent-src/templates/scripts/README.md +195 -0
- package/.agent-src/templates/scripts/check_memory.py +283 -0
- package/.agent-src/templates/scripts/check_memory_proposal.py +180 -0
- package/.agent-src/templates/scripts/historical-bug-patterns.example.yml +84 -0
- package/.agent-src/templates/scripts/implement_ticket/__init__.py +57 -0
- package/.agent-src/templates/scripts/implement_ticket/__main__.py +9 -0
- package/.agent-src/templates/scripts/implement_ticket/cli.py +171 -0
- package/.agent-src/templates/scripts/implement_ticket/delivery_state.py +130 -0
- package/.agent-src/templates/scripts/implement_ticket/dispatcher.py +134 -0
- package/.agent-src/templates/scripts/implement_ticket/persona_policy.py +85 -0
- package/.agent-src/templates/scripts/implement_ticket/steps/__init__.py +49 -0
- package/.agent-src/templates/scripts/implement_ticket/steps/analyze.py +98 -0
- package/.agent-src/templates/scripts/implement_ticket/steps/implement.py +145 -0
- package/.agent-src/templates/scripts/implement_ticket/steps/memory.py +136 -0
- package/.agent-src/templates/scripts/implement_ticket/steps/plan.py +175 -0
- package/.agent-src/templates/scripts/implement_ticket/steps/refine.py +140 -0
- package/.agent-src/templates/scripts/implement_ticket/steps/report.py +195 -0
- package/.agent-src/templates/scripts/implement_ticket/steps/test.py +180 -0
- package/.agent-src/templates/scripts/implement_ticket/steps/verify.py +170 -0
- package/.agent-src/templates/scripts/memory_hash.py +75 -0
- package/.agent-src/templates/scripts/memory_lookup.py +216 -0
- package/.agent-src/templates/scripts/memory_report.py +184 -0
- package/.agent-src/templates/scripts/memory_signal.py +167 -0
- package/.agent-src/templates/scripts/memory_status.py +156 -0
- package/.agent-src/templates/scripts/ownership-map.example.yml +87 -0
- package/.agent-src/templates/scripts/pr-risk-config.example.yml +76 -0
- package/.agent-src/templates/scripts/pr_review_routing.py +340 -0
- package/.agent-src/templates/scripts/pr_risk_review.py +211 -0
- package/.agent-src/templates/skill.md +136 -0
- package/.augment-plugin/marketplace.json +32 -0
- package/.augment-plugin/plugin.json +21 -0
- package/.claude-plugin/marketplace.json +119 -0
- package/AGENTS.md +121 -0
- package/CHANGELOG.md +279 -0
- package/CONTRIBUTING.md +176 -0
- package/LICENSE +21 -0
- package/README.md +357 -0
- package/bin/install.php +38 -0
- package/composer.json +29 -0
- package/config/agent-settings.template.yml +96 -0
- package/config/profiles/balanced.ini +10 -0
- package/config/profiles/full.ini +10 -0
- package/config/profiles/minimal.ini +10 -0
- package/docs/architecture.md +144 -0
- package/docs/customization.md +88 -0
- package/docs/development.md +171 -0
- package/docs/getting-started.md +130 -0
- package/docs/github-topics.md +84 -0
- package/docs/installation.md +376 -0
- package/docs/mcp.md +133 -0
- package/docs/quality.md +98 -0
- package/docs/skills-catalog.md +136 -0
- package/docs/troubleshooting.md +167 -0
- package/llms.txt +130 -0
- package/package.json +31 -0
- package/scripts/audit_skill_descriptions.py +168 -0
- package/scripts/check_compression.py +221 -0
- package/scripts/check_memory.py +341 -0
- package/scripts/check_memory_proposal.py +180 -0
- package/scripts/check_portability.py +320 -0
- package/scripts/check_proposal.py +269 -0
- package/scripts/check_references.py +400 -0
- package/scripts/ci_summary.py +131 -0
- package/scripts/compress.py +671 -0
- package/scripts/compress.sh +18 -0
- package/scripts/first-run.sh +109 -0
- package/scripts/generate_catalog.py +116 -0
- package/scripts/install +151 -0
- package/scripts/install-hooks.sh +29 -0
- package/scripts/install.py +487 -0
- package/scripts/install.sh +637 -0
- package/scripts/install_anthropic_key.sh +101 -0
- package/scripts/inventory_frontmatter.py +164 -0
- package/scripts/lint_marketplace.py +142 -0
- package/scripts/lint_regression.py +232 -0
- package/scripts/mcp_render.py +159 -0
- package/scripts/measure_patterns.py +376 -0
- package/scripts/memory_hash.py +75 -0
- package/scripts/memory_lookup.py +441 -0
- package/scripts/memory_report.py +336 -0
- package/scripts/memory_signal.py +210 -0
- package/scripts/memory_status.py +195 -0
- package/scripts/postinstall.sh +60 -0
- package/scripts/readme_linter.py +580 -0
- package/scripts/refine_ticket_detect.py +623 -0
- package/scripts/requirements-evals.txt +7 -0
- package/scripts/runtime_dispatcher.py +265 -0
- package/scripts/runtime_handler.py +148 -0
- package/scripts/runtime_registry.py +166 -0
- package/scripts/schemas/command.schema.json +32 -0
- package/scripts/schemas/persona.schema.json +42 -0
- package/scripts/schemas/rule.schema.json +28 -0
- package/scripts/schemas/skill.schema.json +73 -0
- package/scripts/setup.sh +230 -0
- package/scripts/setup_eval_venv.sh +58 -0
- package/scripts/skill_linter.py +2175 -0
- package/scripts/skill_trigger_eval.py +651 -0
- package/scripts/tool_registry.py +146 -0
- package/scripts/tools/__init__.py +1 -0
- package/scripts/tools/adapter_errors.py +63 -0
- package/scripts/tools/base_adapter.py +91 -0
- package/scripts/tools/github_adapter.py +128 -0
- package/scripts/tools/jira_adapter.py +115 -0
- package/scripts/update_counts.py +147 -0
- package/scripts/validate_frontmatter.py +424 -0
- package/templates/consumer-settings/README.md +46 -0
- package/templates/consumer-settings/augment-settings.json +12 -0
- package/templates/consumer-settings/claude-settings.json +9 -0
- package/templates/consumer-settings/copilot-settings.json +14 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Override: Skill — {skill-name}
|
|
2
|
+
|
|
3
|
+
> Override for `.augment/skills/{skill-name}/SKILL.md`
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
**Mode:** `extend` | `replace`
|
|
7
|
+
**Original:** `.augment/skills/{skill-name}/SKILL.md`
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
<!-- MODE EXPLANATION:
|
|
11
|
+
- extend: The original skill is loaded FIRST, then this file adds to or modifies specific sections.
|
|
12
|
+
Use this to add project-specific behavior, extra steps, or constraints.
|
|
13
|
+
- replace: The original skill is IGNORED entirely. This file is the sole source of truth.
|
|
14
|
+
Use this when the original skill does not fit the project at all.
|
|
15
|
+
-->
|
|
16
|
+
|
|
17
|
+
## Additional Behavior
|
|
18
|
+
|
|
19
|
+
<!-- For mode: extend — describe what to add or change. Reference original sections by heading. -->
|
|
20
|
+
|
|
21
|
+
## Replaced Sections
|
|
22
|
+
|
|
23
|
+
<!-- For mode: replace — write the complete skill definition from scratch. -->
|
|
24
|
+
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Override: Template — {template-name}
|
|
2
|
+
|
|
3
|
+
> Override for `.augment/templates/{template-name}.md`
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
**Mode:** `extend` | `replace`
|
|
7
|
+
**Original:** `.augment/templates/{template-name}.md`
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
<!-- MODE EXPLANATION:
|
|
11
|
+
- extend: The original template is loaded FIRST, then this file adds or modifies sections/fields.
|
|
12
|
+
Use this to add project-specific fields, change default values, or add extra rules.
|
|
13
|
+
- replace: The original template is IGNORED entirely. This file defines the full template.
|
|
14
|
+
Use this when the project needs a fundamentally different document structure.
|
|
15
|
+
-->
|
|
16
|
+
|
|
17
|
+
## Modified Sections
|
|
18
|
+
|
|
19
|
+
<!-- For mode: extend — only list what changes. Reference original sections by heading. -->
|
|
20
|
+
<!-- For mode: replace — write the complete template from scratch. -->
|
|
21
|
+
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
# Persona Template
|
|
2
|
+
|
|
3
|
+
> Template for creating a new persona in
|
|
4
|
+
> `.agent-src.uncompressed/personas/{persona-id}.md`. Personas declare
|
|
5
|
+
> a *voice* — focus, mindset, unique questions, output expectations.
|
|
6
|
+
> Skills cite personas in a `personas:` frontmatter key. Users invoke
|
|
7
|
+
> them via `--personas=<id>`.
|
|
8
|
+
|
|
9
|
+
## Instructions
|
|
10
|
+
|
|
11
|
+
1. Create the file: `.agent-src.uncompressed/personas/{persona-id}.md`.
|
|
12
|
+
2. Copy the template below.
|
|
13
|
+
3. Replace all `{placeholders}` with real content.
|
|
14
|
+
4. Pass the Unique-Questions heuristic — ≥ 3 questions that no other
|
|
15
|
+
persona asks verbatim. If you cannot write three unique questions,
|
|
16
|
+
the persona is redundant; drop it.
|
|
17
|
+
5. Stay within the size budget: **Core ≤ 120 lines, Specialist ≤ 80 lines**.
|
|
18
|
+
6. Run `task sync` and `task ci` before commit.
|
|
19
|
+
|
|
20
|
+
## Template
|
|
21
|
+
|
|
22
|
+
````markdown
|
|
23
|
+
---
|
|
24
|
+
id: {persona-id}
|
|
25
|
+
role: {Human-readable role name}
|
|
26
|
+
description: "One line — the voice this persona brings to a review."
|
|
27
|
+
tier: core | specialist
|
|
28
|
+
mode: developer | reviewer | tester | product-owner | incident | planner
|
|
29
|
+
version: "1.0"
|
|
30
|
+
source: package
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
<!-- FRONTMATTER NOTES (delete this comment when done):
|
|
34
|
+
- id required — lowercase, hyphenated, matches filename
|
|
35
|
+
- role required — short human-readable role name
|
|
36
|
+
- description required — one sentence, ≤ 160 chars
|
|
37
|
+
- tier required — "core" (always-loaded cast) or "specialist" (opt-in)
|
|
38
|
+
- mode optional — advisory link to a role-contracts workflow mode
|
|
39
|
+
- version required — semantic version; bump on breaking changes
|
|
40
|
+
- source required — "package" for personas shipped in .agent-src/
|
|
41
|
+
-->
|
|
42
|
+
|
|
43
|
+
# {Role name}
|
|
44
|
+
|
|
45
|
+
## Focus
|
|
46
|
+
|
|
47
|
+
{One short paragraph — what this persona cares about above all else.
|
|
48
|
+
Name the lens, not the job title. Keep it tight.}
|
|
49
|
+
|
|
50
|
+
## Mindset
|
|
51
|
+
|
|
52
|
+
- {Bullet — a default assumption this persona makes.}
|
|
53
|
+
- {Bullet — a skepticism it carries into every review.}
|
|
54
|
+
- {Bullet — the trade-off it will defend when others bend.}
|
|
55
|
+
|
|
56
|
+
## Unique Questions
|
|
57
|
+
|
|
58
|
+
<!-- ≥ 3 questions nobody else asks. These are the reason the persona
|
|
59
|
+
exists. If another persona asks one of these, rephrase or drop. -->
|
|
60
|
+
|
|
61
|
+
- {Question 1 — the one nobody else in the cast will ask.}
|
|
62
|
+
- {Question 2 — a concrete scenario, not a generality.}
|
|
63
|
+
- {Question 3 — rooted in this persona's unique lens.}
|
|
64
|
+
|
|
65
|
+
## Output Expectations
|
|
66
|
+
|
|
67
|
+
{How this persona phrases its findings. Blunt? Structured? With
|
|
68
|
+
numbered options? With a recommendation or a verdict? Keep it to
|
|
69
|
+
one short paragraph.}
|
|
70
|
+
|
|
71
|
+
## Anti-Patterns
|
|
72
|
+
|
|
73
|
+
- Do NOT {pattern this persona must avoid — e.g. "play code reviewer"}.
|
|
74
|
+
- Do NOT {pattern — e.g. "soften questions for politeness"}.
|
|
75
|
+
- Do NOT {pattern — e.g. "repeat what {other-persona} already said"}.
|
|
76
|
+
|
|
77
|
+
## Composes well with
|
|
78
|
+
|
|
79
|
+
<!-- Optional — advisory list of personas this one pairs well with.
|
|
80
|
+
Not enforcing; skills may still combine any personas they want. -->
|
|
81
|
+
|
|
82
|
+
- `{other-persona-id}` — {why they complement each other}
|
|
83
|
+
````
|
|
84
|
+
|
|
85
|
+
## Quality checklist
|
|
86
|
+
|
|
87
|
+
Before considering a persona complete:
|
|
88
|
+
|
|
89
|
+
- [ ] **Unique Questions heuristic** — ≥ 3 questions that no other
|
|
90
|
+
persona asks verbatim. The linter enforces this.
|
|
91
|
+
- [ ] **Size budget** — Core ≤ 120 lines, Specialist ≤ 80 lines.
|
|
92
|
+
- [ ] **Portability** — no project names, domains, stacks, teams.
|
|
93
|
+
- [ ] **English only** — all content in English.
|
|
94
|
+
- [ ] **One sentence description** — ≤ 160 chars, starts with a voice
|
|
95
|
+
noun ("The voice of ...", "A … lens").
|
|
96
|
+
- [ ] **Anti-Patterns present** — spells out what this persona must
|
|
97
|
+
refuse to do.
|
|
98
|
+
- [ ] **No "related skills" dump** — personas are referenced *by*
|
|
99
|
+
skills, not the other way around.
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
# Roadmap Template
|
|
2
|
+
|
|
3
|
+
Templates for roadmap files stored in `agents/roadmaps/` or `app/Modules/{Module}/agents/roadmaps/`.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Rules for Roadmaps
|
|
8
|
+
|
|
9
|
+
1. **Be precise and concise.** Aim for 500–1000 lines max. If larger, split into multiple files.
|
|
10
|
+
2. **Use checkboxes** (`- [ ]`) for every actionable step. Mark `[x]` when completed.
|
|
11
|
+
3. **State the goal first.** One sentence at the top — what is the outcome?
|
|
12
|
+
4. **List prerequisites** — what must exist or be running before starting.
|
|
13
|
+
5. **Reference existing code** — point to files, classes, or modules.
|
|
14
|
+
6. **Define acceptance criteria** — how do we know the task is done?
|
|
15
|
+
7. **Include quality gates** — which commands must pass.
|
|
16
|
+
8. **Language:** All roadmap files must be written in **English**.
|
|
17
|
+
9. **Improve on read:** When processing a roadmap, check if it follows this template and suggest
|
|
18
|
+
improvements if it doesn't.
|
|
19
|
+
10. **Keep docs up to date:** If changes affect documented behavior, update the relevant agent docs.
|
|
20
|
+
11. **One task per file.** Don't combine unrelated work.
|
|
21
|
+
12. **Lifecycle:** Every roadmap ends in exactly one folder:
|
|
22
|
+
- `agents/roadmaps/` — active (in progress or planned)
|
|
23
|
+
- `agents/roadmaps/archive/` — work happened (fully or partially); no further work planned
|
|
24
|
+
- `agents/roadmaps/skipped/` — decision against pursuit; typically 0 items `[x]` (superseded, scope rejected)
|
|
25
|
+
|
|
26
|
+
See the `roadmap-management` skill for the exact trigger matrix and user-confirmation flow.
|
|
27
|
+
|
|
28
|
+
13. **No tags, releases, or version numbers.** Roadmaps describe work, not shipping.
|
|
29
|
+
Never assign version suffixes to phases (`Phase 1 — v1.8.0`), never write
|
|
30
|
+
"Target release: X.Y.Z", never plan git tags. Release and tag decisions
|
|
31
|
+
belong to the user and are taken outside the roadmap.
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
## Quality Gates (always apply)
|
|
36
|
+
|
|
37
|
+
Every roadmap must pass these before it is considered done:
|
|
38
|
+
|
|
39
|
+
Run the project's quality pipeline and test suite. Common commands:
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
# PHP projects (inside Docker container if applicable)
|
|
43
|
+
vendor/bin/phpstan analyse # Static analysis
|
|
44
|
+
vendor/bin/rector process # Auto-fix refactoring
|
|
45
|
+
vendor/bin/ecs check --fix # Auto-fix code style
|
|
46
|
+
php artisan test # Tests (or: vendor/bin/phpunit)
|
|
47
|
+
|
|
48
|
+
# Non-Laravel projects — check Makefile/Taskfile for quality commands
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
Check `AGENTS.md` or `Makefile` / `Taskfile.yml` for the exact commands.
|
|
52
|
+
|
|
53
|
+
---
|
|
54
|
+
|
|
55
|
+
## Template
|
|
56
|
+
|
|
57
|
+
Copy the structure below into a new file:
|
|
58
|
+
|
|
59
|
+
```markdown
|
|
60
|
+
# Roadmap: {Short descriptive title}
|
|
61
|
+
|
|
62
|
+
> {One sentence: What is the expected outcome?}
|
|
63
|
+
|
|
64
|
+
## Prerequisites
|
|
65
|
+
|
|
66
|
+
- [ ] Read `AGENTS.md` and relevant module docs
|
|
67
|
+
- [ ] {specific prerequisites}
|
|
68
|
+
|
|
69
|
+
## Context
|
|
70
|
+
|
|
71
|
+
{Why this roadmap exists. Which module/domain. Links to Jira tickets and feature plans.}
|
|
72
|
+
|
|
73
|
+
- **Feature:** {path to feature plan or "none"}
|
|
74
|
+
- **Jira:** {ticket links or "none"}
|
|
75
|
+
|
|
76
|
+
## Phase 1: {Phase name}
|
|
77
|
+
|
|
78
|
+
- [ ] **Step 1:** {Clear, actionable instruction}
|
|
79
|
+
- [ ] **Step 2:** {Next step — reference files/classes}
|
|
80
|
+
- [ ] ...
|
|
81
|
+
|
|
82
|
+
## Phase 2: {Phase name}
|
|
83
|
+
|
|
84
|
+
- [ ] **Step 1:** {description}
|
|
85
|
+
- [ ] ...
|
|
86
|
+
|
|
87
|
+
## Acceptance Criteria
|
|
88
|
+
|
|
89
|
+
- [ ] {Observable, testable criterion}
|
|
90
|
+
- [ ] All quality gates pass (PHPStan, Rector, tests)
|
|
91
|
+
|
|
92
|
+
## Notes
|
|
93
|
+
|
|
94
|
+
{Optional: edge cases, decisions, links to related docs.}
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
---
|
|
98
|
+
|
|
99
|
+
## Tips
|
|
100
|
+
|
|
101
|
+
- **Don't describe architecture** the agent can read from `AGENTS.md` — just reference it.
|
|
102
|
+
- **Don't repeat coding standards** — they live in `.github/copilot-instructions.md`.
|
|
103
|
+
- **Do reference specific files:** "See `app/Modules/Import/App/Services/ImportService.php`"
|
|
104
|
+
is better than "look at the import service."
|
|
105
|
+
- **Do define boundaries:** State what the agent should NOT touch or change.
|
|
106
|
+
- **Do include example inputs/outputs** for non-obvious behavior.
|
|
107
|
+
- **Do split large tasks** — an agent works better with a focused 500-line file than a sprawling 2000-line one.
|
|
108
|
+
- **One task per file.** Don't combine unrelated work.
|
|
109
|
+
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
# PR Risk Review — installation
|
|
2
|
+
|
|
3
|
+
Heuristic PR risk classifier **and** review routing. Posts two sticky
|
|
4
|
+
comments on every non-draft PR:
|
|
5
|
+
|
|
6
|
+
- **PR Risk** — `low / medium / high` label plus matched hotspots;
|
|
7
|
+
applies a `risk:<level>` label.
|
|
8
|
+
- **Review Routing** — owner-mapped reviewer roles from
|
|
9
|
+
`ownership-map.yml` and any matched entries from
|
|
10
|
+
`historical-bug-patterns.yml`.
|
|
11
|
+
|
|
12
|
+
Both are **informational** — conversation starters for reviewers, not
|
|
13
|
+
merge gates. Add a separate required check if you want a hard stop on
|
|
14
|
+
high-risk PRs.
|
|
15
|
+
|
|
16
|
+
## What gets installed
|
|
17
|
+
|
|
18
|
+
| File in package | Copy to | Purpose |
|
|
19
|
+
|---|---|---|
|
|
20
|
+
| `templates/github-workflows/pr-risk-review.yml` | `.github/workflows/pr-risk-review.yml` | GitHub Actions workflow |
|
|
21
|
+
| `templates/scripts/pr_risk_review.py` | `scripts/pr_risk_review.py` | Risk classifier (Python 3.10+, PyYAML) |
|
|
22
|
+
| `templates/scripts/pr_review_routing.py` | `scripts/pr_review_routing.py` | Routing classifier |
|
|
23
|
+
| `templates/scripts/pr-risk-config.example.yml` | `.github/pr-risk-config.yml` | Risk patterns (optional) |
|
|
24
|
+
| `templates/scripts/ownership-map.example.yml` | `.github/ownership-map.yml` | Ownership entries (optional) |
|
|
25
|
+
| `templates/scripts/historical-bug-patterns.example.yml` | `.github/historical-bug-patterns.yml` | Registered failure modes (optional) |
|
|
26
|
+
|
|
27
|
+
## Install
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
# from the consumer repo root
|
|
31
|
+
cp .augment/templates/github-workflows/pr-risk-review.yml .github/workflows/
|
|
32
|
+
cp .augment/templates/scripts/pr_risk_review.py scripts/
|
|
33
|
+
cp .augment/templates/scripts/pr_review_routing.py scripts/
|
|
34
|
+
cp .augment/templates/scripts/pr-risk-config.example.yml .github/pr-risk-config.yml
|
|
35
|
+
cp .augment/templates/scripts/ownership-map.example.yml .github/ownership-map.yml
|
|
36
|
+
cp .augment/templates/scripts/historical-bug-patterns.example.yml .github/historical-bug-patterns.yml
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
The routing step in the workflow is **conditional** — it only runs if
|
|
40
|
+
`scripts/pr_review_routing.py` exists, so risk classification alone works
|
|
41
|
+
without routing being installed.
|
|
42
|
+
|
|
43
|
+
Create the three labels once (or let them be auto-created on first run):
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
for level in low medium high; do
|
|
47
|
+
gh label create "risk:$level" --color "$(case $level in
|
|
48
|
+
high) echo b60205 ;; medium) echo fbca04 ;; low) echo 0e8a16 ;;
|
|
49
|
+
esac)" --description "PR risk: $level" --force
|
|
50
|
+
done
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
Commit the workflow and config. The first PR you open afterwards triggers
|
|
54
|
+
the action.
|
|
55
|
+
|
|
56
|
+
## Customize
|
|
57
|
+
|
|
58
|
+
Edit `.github/pr-risk-config.yml`:
|
|
59
|
+
|
|
60
|
+
- **Add** patterns to `high` for paths where review must be careful
|
|
61
|
+
(payment code, tenant boundaries, feature flags you care about).
|
|
62
|
+
- **Add** patterns to `medium` for shared services, public endpoints,
|
|
63
|
+
non-critical jobs.
|
|
64
|
+
- **Add** patterns to `ignore` for paths that should never influence the
|
|
65
|
+
level (docs, generated files, snapshot tests).
|
|
66
|
+
|
|
67
|
+
Matching uses `fnmatch` glob syntax (`**/auth/**`, `composer.lock`, …).
|
|
68
|
+
|
|
69
|
+
If you do not want a config file, delete it — the script falls back to
|
|
70
|
+
defaults that cover migrations, lockfiles, auth, workflows, and infra
|
|
71
|
+
across Laravel, Symfony, Django, Rails, Node, and Next.js.
|
|
72
|
+
|
|
73
|
+
## What the PR comment looks like
|
|
74
|
+
|
|
75
|
+
```
|
|
76
|
+
## 🟡 PR Risk: medium
|
|
77
|
+
|
|
78
|
+
_14 changed file(s), 2 risk signal(s)._
|
|
79
|
+
|
|
80
|
+
### 🟡 Medium
|
|
81
|
+
- `**/app/Http/Controllers/**` — 2 file(s)
|
|
82
|
+
- `app/Http/Controllers/Api/OrderController.php`
|
|
83
|
+
- `app/Http/Controllers/Api/PaymentController.php`
|
|
84
|
+
- `composer.json` — 1 file(s)
|
|
85
|
+
- `composer.json`
|
|
86
|
+
|
|
87
|
+
---
|
|
88
|
+
_Classifier is heuristic. Merge is not blocked by this check._
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
The same comment is **updated** (not re-posted) on every new push thanks
|
|
92
|
+
to `marocchino/sticky-pull-request-comment`.
|
|
93
|
+
|
|
94
|
+
## Routing comment format
|
|
95
|
+
|
|
96
|
+
```
|
|
97
|
+
## 🔴 Review Routing: high
|
|
98
|
+
|
|
99
|
+
_3 changed file(s), 2 historical pattern(s) matched._
|
|
100
|
+
|
|
101
|
+
### Suggested reviewers (role-based)
|
|
102
|
+
- primary: finance-engineering — focus: tax calculation + idempotency
|
|
103
|
+
- secondary: security — focus: tax calculation + idempotency
|
|
104
|
+
|
|
105
|
+
### Historical patterns matched
|
|
106
|
+
- 🔴 queue-job-not-idempotent — Queue job without idempotency key
|
|
107
|
+
required test: assert a retried job does not double-write
|
|
108
|
+
- 🔴 blade-unsafe-html — Blade component renders user input with {!! !!}
|
|
109
|
+
|
|
110
|
+
_Data source: ownership-map.yml + historical-bug-patterns.yml. …_
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
Curate `ownership-map.yml` and `historical-bug-patterns.yml` over time —
|
|
114
|
+
see `.augment/guidelines/agent-infra/review-routing-data-format.md` for
|
|
115
|
+
the full schema.
|
|
116
|
+
|
|
117
|
+
## Uninstall
|
|
118
|
+
|
|
119
|
+
```bash
|
|
120
|
+
rm .github/workflows/pr-risk-review.yml
|
|
121
|
+
rm scripts/pr_risk_review.py
|
|
122
|
+
rm scripts/pr_review_routing.py
|
|
123
|
+
rm .github/pr-risk-config.yml .github/ownership-map.yml .github/historical-bug-patterns.yml
|
|
124
|
+
gh label delete risk:low risk:medium risk:high
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
## Verifying locally
|
|
128
|
+
|
|
129
|
+
```bash
|
|
130
|
+
python3 scripts/pr_risk_review.py \
|
|
131
|
+
--base origin/main --head HEAD \
|
|
132
|
+
--config .github/pr-risk-config.yml \
|
|
133
|
+
--output /tmp/risk-report.md \
|
|
134
|
+
--level-file /tmp/risk-level.txt
|
|
135
|
+
|
|
136
|
+
python3 scripts/pr_review_routing.py \
|
|
137
|
+
--base origin/main --head HEAD \
|
|
138
|
+
--ownership-map .github/ownership-map.yml \
|
|
139
|
+
--patterns .github/historical-bug-patterns.yml \
|
|
140
|
+
--output /tmp/routing-report.md \
|
|
141
|
+
--level-file /tmp/routing-level.txt
|
|
142
|
+
|
|
143
|
+
cat /tmp/risk-report.md /tmp/routing-report.md
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
## Limitations
|
|
147
|
+
|
|
148
|
+
- **Heuristic only.** A PR with no matched patterns is labeled `low` even
|
|
149
|
+
if it changes business-critical logic. Reviewers still need to read.
|
|
150
|
+
- **No semantic analysis.** The classifier looks at paths, not diff
|
|
151
|
+
content. A whitespace-only edit to `composer.lock` is still `high`.
|
|
152
|
+
- **Not a policy engine.** Use CODEOWNERS + required reviews for
|
|
153
|
+
enforcement; use this workflow for triage and discussion.
|
|
154
|
+
|
|
155
|
+
---
|
|
156
|
+
|
|
157
|
+
# Memory Hygiene — installation
|
|
158
|
+
|
|
159
|
+
Weekly staleness report for the four engineering-memory files under
|
|
160
|
+
`agents/memory/`. Opens (or updates) a single tracking issue with the
|
|
161
|
+
`memory-hygiene` label when entries are past their
|
|
162
|
+
`review_after_days` window. Closes the issue automatically once all
|
|
163
|
+
entries are fresh again. Purely informational — it does **not** block
|
|
164
|
+
PRs.
|
|
165
|
+
|
|
166
|
+
## What gets installed
|
|
167
|
+
|
|
168
|
+
| File in package | Copy to | Purpose |
|
|
169
|
+
|---|---|---|
|
|
170
|
+
| `templates/github-workflows/memory-hygiene.yml` | `.github/workflows/memory-hygiene.yml` | Weekly staleness workflow |
|
|
171
|
+
| `templates/scripts/check_memory.py` | `scripts/check_memory.py` | YAML schema + staleness validator |
|
|
172
|
+
|
|
173
|
+
## Install
|
|
174
|
+
|
|
175
|
+
```bash
|
|
176
|
+
# from the consumer repo root
|
|
177
|
+
cp .augment/templates/github-workflows/memory-hygiene.yml .github/workflows/
|
|
178
|
+
cp .augment/templates/scripts/check_memory.py scripts/
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
Commit both. The first scheduled run (Mondays 06:00 UTC) reports on
|
|
182
|
+
whatever is under `agents/memory/`. Trigger manually with
|
|
183
|
+
`gh workflow run memory-hygiene.yml`.
|
|
184
|
+
|
|
185
|
+
## Verifying locally
|
|
186
|
+
|
|
187
|
+
```bash
|
|
188
|
+
python3 scripts/check_memory.py --path agents/memory
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
Exit `0` = clean, `1` = violations (missing required fields, duplicate
|
|
192
|
+
ids, or obvious secrets — staleness alone is informational).
|
|
193
|
+
|
|
194
|
+
Schema reference: `.augment/guidelines/agent-infra/engineering-memory-data-format.md`.
|
|
195
|
+
Schema examples: `.augment/templates/agents/memory/*.example.yml`.
|