@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
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,279 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to `event4u/agent-config` are documented here.
|
|
4
|
+
Format loosely follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/);
|
|
5
|
+
versioning policy is documented in [CONTRIBUTING.md](CONTRIBUTING.md#versioning-policy).
|
|
6
|
+
|
|
7
|
+
> Entries before 1.3.3 were reconstructed from git history after the fact.
|
|
8
|
+
> Early releases did not maintain release notes.
|
|
9
|
+
|
|
10
|
+
## [Unreleased]
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
- `scripts/install` — a bash orchestrator that is now the **primary
|
|
14
|
+
installer entry point**. It chains the two real stages in order:
|
|
15
|
+
`scripts/install.sh` (payload sync) and `scripts/install.py` (bridge
|
|
16
|
+
files). The orchestrator exposes `--profile`, `--force`, `--dry-run`,
|
|
17
|
+
`--verbose`, `--quiet`, `--skip-sync`, and `--skip-bridges` and forwards
|
|
18
|
+
them correctly to each stage. Bridges are skipped gracefully when
|
|
19
|
+
Python 3 is unavailable; the payload sync still runs.
|
|
20
|
+
- `tests/test_install_orchestrator.sh` — integration tests for the new
|
|
21
|
+
orchestrator, the Composer wrapper, and the npm postinstall hook.
|
|
22
|
+
Wired into `task test`, `task test-install`, and GitHub Actions.
|
|
23
|
+
|
|
24
|
+
### Changed
|
|
25
|
+
- `scripts/install.sh` no longer invokes the Python bridge installer
|
|
26
|
+
internally. It now handles payload sync exclusively. Direct callers
|
|
27
|
+
that relied on the side effect must run `scripts/install` or invoke
|
|
28
|
+
`scripts/install.py` themselves.
|
|
29
|
+
- `scripts/postinstall.sh` (npm hook) routes through `scripts/install`
|
|
30
|
+
instead of `scripts/install.sh`. Exit-0-with-loud-error contract is
|
|
31
|
+
preserved.
|
|
32
|
+
- `docs/installation.md` and `README.md` document the two-stage
|
|
33
|
+
pipeline and use `scripts/install` as the canonical invocation.
|
|
34
|
+
|
|
35
|
+
### Fixed
|
|
36
|
+
- `bin/install.php` now delegates to `scripts/install`. Previous
|
|
37
|
+
versions shelled into `scripts/install.py` only, which meant Composer
|
|
38
|
+
users never got the payload sync — no `.augment/` tree, no tool
|
|
39
|
+
directories, no `.windsurfrules`. This latent bug is fixed with the
|
|
40
|
+
new routing.
|
|
41
|
+
|
|
42
|
+
### Removed
|
|
43
|
+
- **Observability, feedback, and lifecycle scaffolding.** Road-to-9
|
|
44
|
+
Phase 4 resolved the "fake depth" layers. Every module that had no
|
|
45
|
+
production consumer was removed; the dispatcher + shell handler
|
|
46
|
+
(Phase 1) stays as the only real runtime path. Deleted scripts:
|
|
47
|
+
`runtime_pipeline`, `runtime_session`, `runtime_execute`,
|
|
48
|
+
`runtime_errors`, `runtime_metrics`, `runtime_events`,
|
|
49
|
+
`runtime_logger`, `runtime_hooks`, `feedback_collector`,
|
|
50
|
+
`feedback_governance`, `skill_lifecycle`, `report_generator`,
|
|
51
|
+
`persistence`, `event_schema` (≈ 2 000 LoC) plus their tests and
|
|
52
|
+
Taskfile targets (`runtime-execute`, `lifecycle-report`,
|
|
53
|
+
`lifecycle-health`, `report`, `report-stdout`). The `lifecycle`
|
|
54
|
+
frontmatter field on individual skills is kept — it is still a lint
|
|
55
|
+
signal.
|
|
56
|
+
- Stale design docs describing the removed layers:
|
|
57
|
+
`docs/observability.md`, `agents/docs/observability-scoping.md`,
|
|
58
|
+
`agents/docs/feedback-consumption.md`,
|
|
59
|
+
`agents/docs/runtime-visibility.md`.
|
|
60
|
+
|
|
61
|
+
### Added (CI)
|
|
62
|
+
- `scripts/runtime_dispatcher.py run` learned `--output FILE`,
|
|
63
|
+
persisting the `ExecutionResult` as JSON. `scripts/ci_summary.py` was
|
|
64
|
+
rewritten to consume those files and render a GitHub Step Summary
|
|
65
|
+
(Markdown table + failure details with stderr tail). `tests.yml`
|
|
66
|
+
wires the two together, so failing pilot skills now show up in the
|
|
67
|
+
PR UI even when the job itself fails.
|
|
68
|
+
|
|
69
|
+
## [1.4.0] — 2026-04-18
|
|
70
|
+
|
|
71
|
+
### Added
|
|
72
|
+
- **`.agent-src/` replaces `.augment/` as the canonical compressed directory
|
|
73
|
+
shipped in the package.** The new name is tool-agnostic. The installer on
|
|
74
|
+
the consumer side still writes into `.augment/`, unchanged.
|
|
75
|
+
- `.augment/` is now a **local projection** of `.agent-src/` for Augment Code
|
|
76
|
+
(gitignored in this repo, rebuilt by `task sync`). Rules are copied (Augment
|
|
77
|
+
Code cannot load symlinked rules); everything else is symlinked to save
|
|
78
|
+
space.
|
|
79
|
+
- `scripts/install.sh` and `scripts/install.py` now read from vendor's
|
|
80
|
+
`.agent-src/` with automatic fallback to `.augment/` for pre-2.0 packages.
|
|
81
|
+
- `task project-augment` — rebuild the `.augment/` projection from `.agent-src/`.
|
|
82
|
+
- MIT License file in the repository root (previously `license: proprietary` in
|
|
83
|
+
`composer.json` with no `LICENSE` file).
|
|
84
|
+
- Root-level package docs (`AGENTS.md`, `.github/copilot-instructions.md`) are
|
|
85
|
+
now the package's own meta docs; consumer scaffolding comes from
|
|
86
|
+
`.augment/templates/` via the installer or `/copilot-agents-init`.
|
|
87
|
+
- `scripts/install.py` is the canonical installer; `scripts/install.sh` and
|
|
88
|
+
`bin/install.php` remain as thin compatibility wrappers.
|
|
89
|
+
- Portability checker (`scripts/check_portability.py`) now covers root-level
|
|
90
|
+
files and supports an optional `AGENT_CONFIG_BLOCKLIST` env var for
|
|
91
|
+
downstream forks that need to enforce legacy-identifier bans.
|
|
92
|
+
- `/copilot-agents-init` command to scaffold `AGENTS.md` +
|
|
93
|
+
`.github/copilot-instructions.md` from scratch in consumer projects.
|
|
94
|
+
- `/copilot-agents-optimize` now scans for legacy identifiers from prior
|
|
95
|
+
repo names, stack drift, and dead commands before deduplicating.
|
|
96
|
+
|
|
97
|
+
### Changed
|
|
98
|
+
- `composer.json` and `package.json` now declare `license: MIT` (previously
|
|
99
|
+
`proprietary` / `UNLICENSED`).
|
|
100
|
+
- Experimental layers (runtime, tool adapters, observability) are now clearly
|
|
101
|
+
labeled in `README.md` and the architecture docs.
|
|
102
|
+
- **Distribution slim-down.** Added `.gitattributes export-ignore` entries
|
|
103
|
+
and an explicit `files` whitelist in `package.json`. Composer archives
|
|
104
|
+
drop from 1221 to 433 files (4.45 MB → 1.79 MB); the npm tarball contains
|
|
105
|
+
313 files (483 kB packed). Dev-only directories (`tests/`, `agents/`,
|
|
106
|
+
`.agent-src.uncompressed/`, tool mirrors) no longer ship to consumers.
|
|
107
|
+
- **Architecture docs restructured.** Layer 4–6 (observability, feedback,
|
|
108
|
+
lifecycle) moved out of `docs/architecture.md` into a dedicated opt-in
|
|
109
|
+
`docs/observability.md`. The main architecture page now focuses on the
|
|
110
|
+
stable Rules/Skills/Runtime layers.
|
|
111
|
+
- **`ide` default neutralized** in `config/agent-settings.template.ini`:
|
|
112
|
+
was `ide=phpstorm`, now empty. Consumers fill it in if they want
|
|
113
|
+
auto-open behavior; empty means the file-editor skill stays inert.
|
|
114
|
+
|
|
115
|
+
### CI
|
|
116
|
+
- Test matrix expanded: Python 3.10 / 3.11 / 3.12 / 3.13 on `ubuntu-latest`
|
|
117
|
+
plus Python 3.12 on `macos-latest`. `install.sh` integration tests run on
|
|
118
|
+
both OS. Matrix enforces the "Python 3.10+, stdlib only" guarantee from
|
|
119
|
+
`CONTRIBUTING.md`. Documented under `docs/development.md#ci-test-matrix`.
|
|
120
|
+
|
|
121
|
+
### Community
|
|
122
|
+
- **Maintainer team documented.** `CONTRIBUTING.md` now lists the
|
|
123
|
+
event4u team (@matze4u lead, @h3xa2, @php-jesus, @phpjob) instead of
|
|
124
|
+
claiming "single author". Bus-factor is now 2 (Owner + Maintain role).
|
|
125
|
+
- **GitHub Discussions** referenced from `CONTRIBUTING.md` as the channel
|
|
126
|
+
for scope questions; Issues remain for bugs and feature requests.
|
|
127
|
+
|
|
128
|
+
### Removed
|
|
129
|
+
- Hardcoded `galawork` references removed from installer and portability
|
|
130
|
+
checker. No public release ever shipped the legacy `# galawork/agent-config`
|
|
131
|
+
gitignore marker, so the in-place migration path was also removed.
|
|
132
|
+
|
|
133
|
+
## [1.3.3] — 2026-04-17
|
|
134
|
+
|
|
135
|
+
### Changed
|
|
136
|
+
- Plugin name renamed from `governed-agent-system` to `agent-config`.
|
|
137
|
+
|
|
138
|
+
### Fixed
|
|
139
|
+
- Plugin install commands corrected in README.
|
|
140
|
+
|
|
141
|
+
## [1.3.2] — 2026-04-17
|
|
142
|
+
|
|
143
|
+
### Fixed
|
|
144
|
+
- Resolved 10 broken cross-references in roadmap documents.
|
|
145
|
+
|
|
146
|
+
## [1.3.1] — 2026-04-17
|
|
147
|
+
|
|
148
|
+
### Added
|
|
149
|
+
- PHP installer (`bin/install.php`) and versioned profile presets.
|
|
150
|
+
- First-run experience script and `docs/getting-started.md`.
|
|
151
|
+
- Marketplace manifests for Augment CLI, Claude Code, and Copilot CLI.
|
|
152
|
+
- Quickstart-first README structure.
|
|
153
|
+
- Standalone documentation pages under `docs/`:
|
|
154
|
+
`installation.md`, `architecture.md`, `development.md`, `customization.md`,
|
|
155
|
+
`quality.md`.
|
|
156
|
+
|
|
157
|
+
### Changed
|
|
158
|
+
- Tool matrix in README differentiates native vs. reference-based command
|
|
159
|
+
support (`☑️` for the latter).
|
|
160
|
+
- Installation default shifted to project-installed; plugin install is
|
|
161
|
+
optional for global use.
|
|
162
|
+
|
|
163
|
+
## [1.3.0] — 2026-04-17
|
|
164
|
+
|
|
165
|
+
### Added
|
|
166
|
+
- Experimental layers: runtime execution pipeline, tool adapters (GitHub,
|
|
167
|
+
Jira), observability (persistence, event schema, CLI reports), feedback
|
|
168
|
+
collector, and skill lifecycle management.
|
|
169
|
+
- `cost_profile` setting (`minimal`, `balanced`, `full`, `custom`) as the
|
|
170
|
+
primary knob for token/output control.
|
|
171
|
+
- Governance: `upstream-contribute` skill + command,
|
|
172
|
+
`improve-before-implement` rule, `validate-feature-fit` skill.
|
|
173
|
+
|
|
174
|
+
### Changed
|
|
175
|
+
- README rewritten to describe the governed agent system.
|
|
176
|
+
|
|
177
|
+
## [1.2.2] — 2026-04-17
|
|
178
|
+
|
|
179
|
+
### Fixed
|
|
180
|
+
- `test_install.sh` updated for the `php-coder` skill name.
|
|
181
|
+
|
|
182
|
+
## [1.2.1] — 2026-04-17
|
|
183
|
+
|
|
184
|
+
### Added
|
|
185
|
+
- `package-ci-checks` rule + optimized CI task order.
|
|
186
|
+
|
|
187
|
+
### Fixed
|
|
188
|
+
- `test_install.sh` skill name fix (initial attempt).
|
|
189
|
+
|
|
190
|
+
## [1.2.0] — 2026-04-17
|
|
191
|
+
|
|
192
|
+
### Added
|
|
193
|
+
- Linter: execution quality checks, verification maturity mapping, type
|
|
194
|
+
boundary enforcement, section-based detection, governance/packaging
|
|
195
|
+
consistency checks.
|
|
196
|
+
- `upstream-contribute` skill + command.
|
|
197
|
+
|
|
198
|
+
### Fixed
|
|
199
|
+
- CI pipeline failures across multiple checks.
|
|
200
|
+
- Commands no longer overwrite same-name skill symlinks.
|
|
201
|
+
- Missing settings added to the `.agent-settings` template.
|
|
202
|
+
|
|
203
|
+
## [1.1.1] — 2026-04-16
|
|
204
|
+
|
|
205
|
+
### Fixed
|
|
206
|
+
- Trailing newlines in 36 command files.
|
|
207
|
+
- Linter bug causing false positives.
|
|
208
|
+
|
|
209
|
+
## [1.1.0] — 2026-04-16
|
|
210
|
+
|
|
211
|
+
### Added
|
|
212
|
+
- `readme-reviewer`, `readme-writing`, and `readme-writing-package` skills.
|
|
213
|
+
- README quality linter integrated into CI.
|
|
214
|
+
- Skill improvement pipeline (all 5 phases).
|
|
215
|
+
- Compression quality checker, cross-reference checker, portability checker.
|
|
216
|
+
- `size-and-scope` guideline, `size-enforcement` and `rule-type-governance`
|
|
217
|
+
rules.
|
|
218
|
+
- `preservation-guard` rule for merges and compression.
|
|
219
|
+
- Phase 3 observability work + feedback category tags.
|
|
220
|
+
- `developer-like-execution` skill and `think-before-action` rule.
|
|
221
|
+
|
|
222
|
+
### Changed
|
|
223
|
+
- Major README rewrite: governed AI development layer positioning.
|
|
224
|
+
- Portability checker auto-detects project identifiers.
|
|
225
|
+
|
|
226
|
+
## [1.0.4] — 2026-04-15
|
|
227
|
+
|
|
228
|
+
### Fixed
|
|
229
|
+
- npm install (#1).
|
|
230
|
+
- Address PR bot feedback.
|
|
231
|
+
- Drop unnecessary `bash -c` wrapper for phpunit in `docker-commands`.
|
|
232
|
+
|
|
233
|
+
## [1.0.3] — 2026-04-14
|
|
234
|
+
|
|
235
|
+
### Fixed
|
|
236
|
+
- Address Copilot PR review feedback.
|
|
237
|
+
|
|
238
|
+
## [1.0.2] — 2026-04-14
|
|
239
|
+
|
|
240
|
+
### Fixed
|
|
241
|
+
- Handle `realpath` without `--relative-to` support (BusyBox/Alpine).
|
|
242
|
+
|
|
243
|
+
## [1.0.1] — 2026-04-14
|
|
244
|
+
|
|
245
|
+
### Added
|
|
246
|
+
- `setup.sh` for automatic post-install/update hook registration.
|
|
247
|
+
- `setup.sh` auto-detects JSON tool (`php → node → jq → python3`).
|
|
248
|
+
|
|
249
|
+
### Changed
|
|
250
|
+
- Install as dev dependency (documented).
|
|
251
|
+
|
|
252
|
+
## [1.0.0] — 2026-04-14
|
|
253
|
+
|
|
254
|
+
Initial public release.
|
|
255
|
+
|
|
256
|
+
### Added
|
|
257
|
+
- `.augment/` governance content: rules, skills, commands, guidelines,
|
|
258
|
+
templates.
|
|
259
|
+
- `scripts/install.sh` with symlink strategy, stale symlink cleanup, and
|
|
260
|
+
per-tool directory layout.
|
|
261
|
+
- `/package-test` and `/package-reset` commands.
|
|
262
|
+
- Initial README with installation instructions for all supported package
|
|
263
|
+
managers.
|
|
264
|
+
|
|
265
|
+
[Unreleased]: https://github.com/event4u-app/agent-config/compare/1.3.3...HEAD
|
|
266
|
+
[1.3.3]: https://github.com/event4u-app/agent-config/compare/1.3.2...1.3.3
|
|
267
|
+
[1.3.2]: https://github.com/event4u-app/agent-config/compare/1.3.1...1.3.2
|
|
268
|
+
[1.3.1]: https://github.com/event4u-app/agent-config/compare/1.3.0...1.3.1
|
|
269
|
+
[1.3.0]: https://github.com/event4u-app/agent-config/compare/1.2.2...1.3.0
|
|
270
|
+
[1.2.2]: https://github.com/event4u-app/agent-config/compare/1.2.1...1.2.2
|
|
271
|
+
[1.2.1]: https://github.com/event4u-app/agent-config/compare/1.2.0...1.2.1
|
|
272
|
+
[1.2.0]: https://github.com/event4u-app/agent-config/compare/1.1.1...1.2.0
|
|
273
|
+
[1.1.1]: https://github.com/event4u-app/agent-config/compare/1.1.0...1.1.1
|
|
274
|
+
[1.1.0]: https://github.com/event4u-app/agent-config/compare/1.0.4...1.1.0
|
|
275
|
+
[1.0.4]: https://github.com/event4u-app/agent-config/compare/1.0.3...1.0.4
|
|
276
|
+
[1.0.3]: https://github.com/event4u-app/agent-config/compare/1.0.2...1.0.3
|
|
277
|
+
[1.0.2]: https://github.com/event4u-app/agent-config/compare/1.0.1...1.0.2
|
|
278
|
+
[1.0.1]: https://github.com/event4u-app/agent-config/compare/1.0.0...1.0.1
|
|
279
|
+
[1.0.0]: https://github.com/event4u-app/agent-config/releases/tag/1.0.0
|
package/CONTRIBUTING.md
ADDED
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
# Contributing
|
|
2
|
+
|
|
3
|
+
Thanks for considering a contribution to `event4u/agent-config`. This file
|
|
4
|
+
describes how to propose changes and what the package's conventions are.
|
|
5
|
+
|
|
6
|
+
## Status and scope
|
|
7
|
+
|
|
8
|
+
The package is maintained by a small team at event4u:
|
|
9
|
+
[@matze4u](https://github.com/matze4u) (lead),
|
|
10
|
+
[@h3xa2](https://github.com/h3xa2),
|
|
11
|
+
[@php-jesus](https://github.com/php-jesus),
|
|
12
|
+
and [@phpjob](https://github.com/phpjob).
|
|
13
|
+
|
|
14
|
+
External contributions — bug reports, typo fixes, skill improvements,
|
|
15
|
+
documentation PRs, and new skills / rules — are welcome. Larger changes
|
|
16
|
+
(breaking changes, new architectural layers, new tool adapters) should
|
|
17
|
+
start with an [issue](https://github.com/event4u-app/agent-config/issues)
|
|
18
|
+
or a [discussion](https://github.com/event4u-app/agent-config/discussions)
|
|
19
|
+
so we can align on direction before code is written.
|
|
20
|
+
|
|
21
|
+
If you are unsure whether a change is in scope: open a discussion first.
|
|
22
|
+
|
|
23
|
+
## Dependency direction — no circular deps with `agent-memory`
|
|
24
|
+
|
|
25
|
+
`agent-config` is the upstream, standalone package. It must **never**
|
|
26
|
+
hard-depend on `@event4u/agent-memory`. The optional companion package
|
|
27
|
+
is declared in `suggest` (Composer) / `optionalDependencies` or
|
|
28
|
+
documentation only (npm) — never as a runtime or dev dependency that
|
|
29
|
+
`composer install` / `npm install` would pull automatically.
|
|
30
|
+
|
|
31
|
+
Reasoning: `agent-memory` depends on `agent-config` for its skills and
|
|
32
|
+
governance. Reversing that would create a circular dependency and break
|
|
33
|
+
installs in consumer projects that only want the rule/skill layer.
|
|
34
|
+
|
|
35
|
+
See [`agents/roadmaps/road-to-memory-self-consumption.md`](agents/roadmaps/road-to-memory-self-consumption.md)
|
|
36
|
+
for the full conflict-resolution contract between the two packages.
|
|
37
|
+
|
|
38
|
+
## Quick start for contributors
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
git clone https://github.com/event4u-app/agent-config.git
|
|
42
|
+
cd agent-config
|
|
43
|
+
task ci # full pipeline — must be green before PR
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
All checks must pass before a PR is merged:
|
|
47
|
+
`sync-check`, `consistency`, `check-compression`, `check-refs`,
|
|
48
|
+
`check-portability`, `lint-skills`, `test`, `lint-readme`.
|
|
49
|
+
|
|
50
|
+
## Source of truth
|
|
51
|
+
|
|
52
|
+
- **Edit** `.agent-src.uncompressed/` — the authoring layer with verbose content.
|
|
53
|
+
- **Do not edit** `.agent-src/` directly — it is the compressed output shipped
|
|
54
|
+
in the package, generated from the uncompressed layer by `task sync`.
|
|
55
|
+
- **Do not edit** `.augment/` directly either — it is a local projection of
|
|
56
|
+
`.agent-src/` for Augment Code (gitignored), rebuilt by `task sync`.
|
|
57
|
+
- **Do not edit** `.claude/`, `.cursor/`, `.clinerules/`, `.windsurfrules` —
|
|
58
|
+
they are generated projections for specific tools.
|
|
59
|
+
|
|
60
|
+
Helper commands:
|
|
61
|
+
|
|
62
|
+
```bash
|
|
63
|
+
task sync # .agent-src.uncompressed/ → .agent-src/, then project → .augment/
|
|
64
|
+
task generate-tools # Regenerate .claude/, .cursor/, .clinerules/, .windsurfrules
|
|
65
|
+
task test # pytest tests/ + installer integration tests
|
|
66
|
+
task lint-skills # python3 scripts/skill_linter.py --all
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
## Branches, commits, and PRs
|
|
70
|
+
|
|
71
|
+
- Branch off `main`: `feat/short-description`, `fix/short-description`,
|
|
72
|
+
`docs/short-description`, `chore/short-description`.
|
|
73
|
+
- Use [Conventional Commits](https://www.conventionalcommits.org/) for commit
|
|
74
|
+
messages. Scope is optional but helpful — common scopes are `skills`,
|
|
75
|
+
`rules`, `commands`, `installer`, `ci`, `docs`.
|
|
76
|
+
- Keep commits focused. Split mechanical renames from logic changes.
|
|
77
|
+
- Open the PR against `main` with a short description of the change,
|
|
78
|
+
motivation, and any notes for reviewers.
|
|
79
|
+
|
|
80
|
+
## Adding or editing skills, rules, and commands
|
|
81
|
+
|
|
82
|
+
- Skills, rules, and commands live in `.agent-src.uncompressed/`.
|
|
83
|
+
- Each skill must pass `task lint-skills` — frontmatter, structure, size
|
|
84
|
+
budgets, and self-containment are enforced by the linter.
|
|
85
|
+
- Size budgets are enforced by the `size-enforcement` rule and the linter.
|
|
86
|
+
See [`size-enforcement`](.agent-src/rules/size-enforcement.md)
|
|
87
|
+
for the current limits.
|
|
88
|
+
- After editing content under `.agent-src.uncompressed/`, run `task sync` so
|
|
89
|
+
`.agent-src/`, `.augment/`, and the tool-specific projections stay in sync.
|
|
90
|
+
- Skills must remain project-agnostic. Nothing in `.agent-src/` may reference a
|
|
91
|
+
specific consumer project, domain, or stack. The
|
|
92
|
+
[`augment-portability`](.agent-src/rules/augment-portability.md) rule and
|
|
93
|
+
`scripts/check_portability.py` enforce this in CI.
|
|
94
|
+
|
|
95
|
+
## Installer and Python tooling
|
|
96
|
+
|
|
97
|
+
- Primary installer entry point: `scripts/install` (bash orchestrator).
|
|
98
|
+
It chains `scripts/install.sh` (payload sync) and `scripts/install.py`
|
|
99
|
+
(bridge files). `bin/install.php` and `scripts/postinstall.sh` are
|
|
100
|
+
thin wrappers that route through the orchestrator.
|
|
101
|
+
- Each stage stays independently callable (`bash scripts/install.sh`,
|
|
102
|
+
`python3 scripts/install.py`) and has its own CLI.
|
|
103
|
+
- Python scripts must work on Python 3.10+ with only the standard library.
|
|
104
|
+
No third-party runtime dependencies.
|
|
105
|
+
- Add integration tests to `tests/test_install.sh` (payload sync) or
|
|
106
|
+
`tests/test_install_orchestrator.sh` (orchestrator + wrappers), and
|
|
107
|
+
Python unit tests under `tests/`.
|
|
108
|
+
|
|
109
|
+
## Versioning policy
|
|
110
|
+
|
|
111
|
+
The package follows [Semantic Versioning](https://semver.org). Because the
|
|
112
|
+
surface is mostly content (rules, skills, commands) rather than a classic API,
|
|
113
|
+
the policy is interpreted as follows:
|
|
114
|
+
|
|
115
|
+
| Bump | Triggers |
|
|
116
|
+
|---|---|
|
|
117
|
+
| **Major** (X.0.0) | Installer layout changes (files created/removed), breaking changes to `.agent-settings.yml` keys, removal of rules or skills that downstream projects relied on, breaking changes to the compressed content format. |
|
|
118
|
+
| **Minor** (x.X.0) | New skills, rules, commands, or guidelines. New tool support. New installer flags. New `.agent-settings.yml` keys with safe defaults. |
|
|
119
|
+
| **Patch** (x.x.X) | Wording fixes and improvements in existing skills, linter fixes, CI changes, documentation updates, internal refactors with no user-visible effect. |
|
|
120
|
+
|
|
121
|
+
Release notes live in [`CHANGELOG.md`](CHANGELOG.md) and are generated
|
|
122
|
+
automatically by [release-please](https://github.com/googleapis/release-please)
|
|
123
|
+
from [Conventional Commits](#commit-conventions). Contributors do **not** edit
|
|
124
|
+
the changelog by hand; writing clean commit subjects is how notes are authored.
|
|
125
|
+
|
|
126
|
+
### Release process
|
|
127
|
+
|
|
128
|
+
Releases are fully automated by the
|
|
129
|
+
[release-please workflow](.github/workflows/release-please.yml):
|
|
130
|
+
|
|
131
|
+
1. Every push to `main` triggers release-please. It scans Conventional Commits
|
|
132
|
+
since the last tag and opens (or updates) a **Release PR** — a single PR
|
|
133
|
+
that bumps `package.json`, `.claude-plugin/marketplace.json`, and
|
|
134
|
+
`CHANGELOG.md` in one atomic commit.
|
|
135
|
+
2. Review the Release PR when you're ready to ship. Merging it makes
|
|
136
|
+
release-please push the matching git tag and create the GitHub Release.
|
|
137
|
+
3. On the same workflow run, the `publish-npm` job takes over: it checks
|
|
138
|
+
out the tagged commit, verifies `package.json.version == tag`, and runs
|
|
139
|
+
`npm publish` against https://registry.npmjs.org with
|
|
140
|
+
[npm provenance](https://docs.npmjs.com/generating-provenance-statements)
|
|
141
|
+
so each tarball is cryptographically linked to the GitHub Actions run that
|
|
142
|
+
built it.
|
|
143
|
+
4. The [Release Guard workflow](.github/workflows/release-guard.yml) runs on
|
|
144
|
+
the pushed tag and fails loudly if `package.json.version` or
|
|
145
|
+
`.claude-plugin/marketplace.json` disagree with the tag — an independent
|
|
146
|
+
cross-check that stays in place even with release-please driving the flow.
|
|
147
|
+
|
|
148
|
+
Bump size is derived from commit types:
|
|
149
|
+
`feat:` → minor, `fix:` → patch, `feat!:` / `fix!:` / `BREAKING CHANGE:` → major.
|
|
150
|
+
Commits like `chore:`, `docs:`, `test:`, `ci:`, `refactor:` do not bump the
|
|
151
|
+
version on their own and ride along in the next Release PR.
|
|
152
|
+
|
|
153
|
+
#### Required repository secrets
|
|
154
|
+
|
|
155
|
+
| Secret | Purpose |
|
|
156
|
+
|---|---|
|
|
157
|
+
| `NPM_TOKEN` | Granular Access Token for `@event4u/agent-config` with read-write scope. Used by the `publish-npm` job. Create in [npm → Access Tokens](https://www.npmjs.com/settings/event4u/tokens) and store under `Settings → Secrets and variables → Actions`. |
|
|
158
|
+
|
|
159
|
+
#### Fallback: manual bump
|
|
160
|
+
|
|
161
|
+
`task release:bump -- X.Y.Z` is kept as an emergency fallback for the rare
|
|
162
|
+
case where release-please is unavailable (workflow disabled, GitHub outage,
|
|
163
|
+
hotfix on a branch other than `main`). In normal operation, do not use it —
|
|
164
|
+
let the Release PR drive every version change. A manual bump does **not**
|
|
165
|
+
publish to npm automatically; run `npm publish` locally after tagging.
|
|
166
|
+
|
|
167
|
+
## License of contributions
|
|
168
|
+
|
|
169
|
+
By contributing you agree that your contributions are licensed under the
|
|
170
|
+
[MIT License](LICENSE) that covers the rest of the project.
|
|
171
|
+
|
|
172
|
+
## Code of conduct
|
|
173
|
+
|
|
174
|
+
Be kind. Assume good intent. Criticize code, not people. Contributions that
|
|
175
|
+
carry personal attacks or harassment will not be merged, regardless of their
|
|
176
|
+
technical value.
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 event4u
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|