@event4u/agent-config 1.20.0 → 1.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agent-src/commands/agents.md +1 -1
- package/.agent-src/commands/bug-fix.md +1 -1
- package/.agent-src/commands/bug-investigate.md +2 -2
- package/.agent-src/commands/chat-history/import.md +60 -64
- package/.agent-src/commands/compress.md +12 -0
- package/.agent-src/commands/context/create.md +2 -2
- package/.agent-src/commands/context.md +1 -1
- package/.agent-src/commands/copilot-agents.md +1 -1
- package/.agent-src/commands/council/default.md +17 -5
- package/.agent-src/commands/council.md +1 -1
- package/.agent-src/commands/e2e-heal.md +1 -1
- package/.agent-src/commands/e2e-plan.md +1 -1
- package/.agent-src/commands/feature/dev.md +3 -3
- package/.agent-src/commands/feature.md +1 -1
- package/.agent-src/commands/fix/seeder.md +2 -2
- package/.agent-src/commands/fix.md +1 -1
- package/.agent-src/commands/jira-ticket.md +1 -1
- package/.agent-src/commands/judge.md +2 -2
- package/.agent-src/commands/memory.md +1 -1
- package/.agent-src/commands/mode.md +5 -5
- package/.agent-src/commands/module.md +1 -1
- package/.agent-src/commands/onboard.md +4 -4
- package/.agent-src/commands/optimize/augmentignore.md +1 -1
- package/.agent-src/commands/optimize-prompt.md +61 -0
- package/.agent-src/commands/optimize.md +1 -1
- package/.agent-src/commands/override.md +1 -1
- package/.agent-src/commands/review-changes.md +1 -1
- package/.agent-src/commands/review-routing.md +1 -1
- package/.agent-src/commands/roadmap.md +1 -1
- package/.agent-src/commands/set-cost-profile.md +3 -3
- package/.agent-src/commands/sync-agent-settings.md +2 -2
- package/.agent-src/commands/tests/create.md +2 -2
- package/.agent-src/commands/tests.md +1 -1
- package/.agent-src/commands/threat-model.md +4 -4
- package/.agent-src/contexts/authority/commit-mechanics.md +14 -1
- package/.agent-src/contexts/authority/destructive-mechanics.md +14 -1
- package/.agent-src/contexts/authority/scope-mechanics.md +5 -0
- package/.agent-src/contexts/communication/rules-auto/guidelines-mechanics.md +76 -0
- package/.agent-src/contexts/communication/rules-auto/slash-command-routing-policy-mechanics.md +1 -1
- package/.agent-src/contexts/communication/rules-auto/think-before-action-mechanics.md +98 -0
- package/.agent-src/contexts/communication/rules-auto/token-efficiency-mechanics.md +93 -0
- package/.agent-src/contexts/communication/rules-auto/user-interaction-mechanics.md +128 -5
- package/.agent-src/contexts/execution/autonomy-mechanics.md +44 -0
- package/.agent-src/contexts/model-recommendations.md +2 -2
- package/.agent-src/contexts/override-system.md +1 -1
- package/.agent-src/personas/product-owner.md +2 -2
- package/.agent-src/personas/qa.md +1 -1
- package/.agent-src/rules/agent-authority.md +5 -6
- package/.agent-src/rules/agent-docs.md +11 -53
- package/.agent-src/rules/analysis-skill-routing.md +10 -40
- package/.agent-src/rules/architecture.md +6 -1
- package/.agent-src/rules/artifact-drafting-protocol.md +5 -0
- package/.agent-src/rules/artifact-engagement-recording.md +23 -59
- package/.agent-src/rules/ask-when-uncertain.md +24 -47
- package/.agent-src/rules/augment-portability.md +14 -62
- package/.agent-src/rules/augment-source-of-truth.md +10 -1
- package/.agent-src/rules/autonomous-execution.md +17 -98
- package/.agent-src/rules/capture-learnings.md +9 -80
- package/.agent-src/rules/cli-output-handling.md +12 -42
- package/.agent-src/rules/command-suggestion-policy.md +25 -73
- package/.agent-src/rules/commit-conventions.md +9 -58
- package/.agent-src/rules/commit-policy.md +16 -47
- package/.agent-src/rules/context-hygiene.md +5 -0
- package/.agent-src/rules/direct-answers.md +21 -50
- package/.agent-src/rules/docker-commands.md +11 -45
- package/.agent-src/rules/docs-sync.md +10 -56
- package/.agent-src/rules/downstream-changes.md +5 -0
- package/.agent-src/rules/e2e-testing.md +9 -44
- package/.agent-src/rules/guidelines.md +13 -75
- package/.agent-src/rules/improve-before-implement.md +10 -2
- package/.agent-src/rules/language-and-tone.md +41 -106
- package/.agent-src/rules/laravel-translations.md +11 -40
- package/.agent-src/rules/markdown-safe-codeblocks.md +4 -0
- package/.agent-src/rules/minimal-safe-diff.md +4 -0
- package/.agent-src/rules/missing-tool-handling.md +4 -0
- package/.agent-src/rules/model-recommendation.md +9 -61
- package/.agent-src/rules/no-attribution-footers.md +5 -0
- package/.agent-src/rules/no-cheap-questions.md +11 -27
- package/.agent-src/rules/no-council-references.md +76 -0
- package/.agent-src/rules/no-roadmap-references.md +7 -0
- package/.agent-src/rules/non-destructive-by-default.md +13 -43
- package/.agent-src/rules/onboarding-gate.md +9 -117
- package/.agent-src/rules/package-ci-checks.md +10 -37
- package/.agent-src/rules/php-coding.md +10 -55
- package/.agent-src/rules/preservation-guard.md +9 -0
- package/.agent-src/rules/review-routing-awareness.md +9 -97
- package/.agent-src/rules/reviewer-awareness.md +8 -83
- package/.agent-src/rules/roadmap-progress-sync.md +7 -170
- package/.agent-src/rules/role-mode-adherence.md +6 -2
- package/.agent-src/rules/rule-type-governance.md +8 -66
- package/.agent-src/rules/runtime-safety.md +5 -0
- package/.agent-src/rules/scope-control.md +17 -62
- package/.agent-src/rules/security-sensitive-stop.md +7 -1
- package/.agent-src/rules/size-enforcement.md +6 -1
- package/.agent-src/rules/skill-improvement-trigger.md +9 -49
- package/.agent-src/rules/skill-quality.md +7 -113
- package/.agent-src/rules/slash-command-routing-policy.md +11 -63
- package/.agent-src/rules/think-before-action.md +22 -87
- package/.agent-src/rules/token-efficiency.md +10 -74
- package/.agent-src/rules/token-optimizer-maintenance.md +68 -0
- package/.agent-src/rules/tool-safety.md +4 -0
- package/.agent-src/rules/ui-audit-gate.md +25 -61
- package/.agent-src/rules/upstream-proposal.md +9 -67
- package/.agent-src/rules/user-interaction.md +22 -108
- package/.agent-src/rules/verify-before-complete.md +1 -1
- package/.agent-src/skills/agent-docs-writing/SKILL.md +1 -1
- package/.agent-src/skills/ai-council/SKILL.md +65 -0
- package/.agent-src/skills/analysis-autonomous-mode/SKILL.md +1 -1
- package/.agent-src/skills/analysis-skill-router/SKILL.md +3 -3
- package/.agent-src/skills/artisan-commands/SKILL.md +2 -2
- package/.agent-src/skills/authz-review/SKILL.md +1 -1
- package/.agent-src/skills/aws-infrastructure/SKILL.md +5 -5
- package/.agent-src/skills/blast-radius-analyzer/SKILL.md +8 -8
- package/.agent-src/skills/bug-analyzer/SKILL.md +5 -5
- package/.agent-src/skills/code-refactoring/SKILL.md +4 -4
- package/.agent-src/skills/code-review/SKILL.md +2 -2
- package/.agent-src/skills/command-writing/SKILL.md +11 -0
- package/.agent-src/skills/composer-packages/SKILL.md +2 -2
- package/.agent-src/skills/context-authoring/SKILL.md +11 -0
- package/.agent-src/skills/context-document/SKILL.md +1 -1
- package/.agent-src/skills/copilot-agents-optimization/SKILL.md +23 -0
- package/.agent-src/skills/copilot-config/SKILL.md +1 -1
- package/.agent-src/skills/dependency-upgrade/SKILL.md +2 -2
- package/.agent-src/skills/devcontainer/SKILL.md +2 -2
- package/.agent-src/skills/developer-like-execution/SKILL.md +1 -1
- package/.agent-src/skills/docker/SKILL.md +1 -1
- package/.agent-src/skills/dto-creator/SKILL.md +1 -1
- package/.agent-src/skills/estimate-ticket/SKILL.md +2 -2
- package/.agent-src/skills/fe-design/SKILL.md +4 -4
- package/.agent-src/skills/feature-planning/SKILL.md +5 -5
- package/.agent-src/skills/funnel-analysis/SKILL.md +1 -1
- package/.agent-src/skills/laravel/SKILL.md +1 -1
- package/.agent-src/skills/laravel-notifications/SKILL.md +5 -5
- package/.agent-src/skills/laravel-pennant/SKILL.md +1 -1
- package/.agent-src/skills/laravel-pulse/SKILL.md +4 -4
- package/.agent-src/skills/laravel-reverb/SKILL.md +2 -2
- package/.agent-src/skills/laravel-scheduling/SKILL.md +1 -1
- package/.agent-src/skills/migration-creator/SKILL.md +7 -7
- package/.agent-src/skills/multi-tenancy/SKILL.md +8 -8
- package/.agent-src/skills/performance-analysis/SKILL.md +3 -3
- package/.agent-src/skills/pest-testing/SKILL.md +6 -6
- package/.agent-src/skills/php-service/SKILL.md +2 -2
- package/.agent-src/skills/project-analysis-hypothesis-driven/SKILL.md +3 -3
- package/.agent-src/skills/project-analysis-react/SKILL.md +1 -1
- package/.agent-src/skills/project-analysis-symfony/SKILL.md +1 -1
- package/.agent-src/skills/project-analysis-zend-laminas/SKILL.md +2 -2
- package/.agent-src/skills/project-analyzer/SKILL.md +4 -4
- package/.agent-src/skills/prompt-optimizer/SKILL.md +108 -0
- package/.agent-src/skills/readme-reviewer/SKILL.md +1 -1
- package/.agent-src/skills/rule-writing/SKILL.md +33 -0
- package/.agent-src/skills/sentry-integration/SKILL.md +1 -1
- package/.agent-src/skills/skill-writing/SKILL.md +14 -0
- package/.agent-src/skills/terraform/SKILL.md +2 -2
- package/.agent-src/skills/terragrunt/SKILL.md +8 -8
- package/.agent-src/skills/test-performance/SKILL.md +5 -5
- package/.agent-src/skills/threat-modeling/SKILL.md +2 -2
- package/.agent-src/skills/token-optimizer/SKILL.md +110 -0
- package/.agent-src/skills/universal-project-analysis/SKILL.md +1 -1
- package/.agent-src/templates/AGENTS.md +1 -1
- package/.agent-src/templates/agent-settings.md +21 -16
- package/.agent-src/templates/contexts/tenant-boundaries.md +2 -2
- package/.agent-src/templates/contexts.md +1 -1
- package/.agent-src/templates/copilot-instructions.md +21 -0
- package/.agent-src/templates/copilot-review-instructions.md +76 -0
- package/.agent-src/templates/features.md +1 -1
- package/.agent-src/templates/rule.md +127 -0
- package/.claude-plugin/marketplace.json +4 -1
- package/AGENTS.md +32 -5
- package/CHANGELOG.md +69 -3
- package/README.md +22 -21
- package/config/agent-settings.template.yml +44 -10
- package/config/gitignore-block.txt +7 -0
- package/docs/architecture.md +86 -5
- package/docs/catalog.md +16 -6
- package/docs/contracts/agent-memory-contract.md +1 -1
- package/docs/contracts/context-paths.md +2 -1
- package/docs/contracts/file-ownership-matrix.json +354 -500
- package/docs/contracts/iron-law-overrides.txt +25 -0
- package/docs/contracts/kernel-membership.md +273 -0
- package/docs/contracts/load-context-schema.md +26 -11
- package/docs/contracts/pilot/agent-authority.md +24 -0
- package/docs/contracts/pilot/direct-answers.md +70 -0
- package/docs/contracts/pilot/language-and-tone.md +63 -0
- package/docs/contracts/rule-classification.md +170 -0
- package/docs/contracts/rule-router.md +153 -0
- package/docs/customization.md +17 -6
- package/docs/decisions/ADR-001-kernel-swap-deferred.md +109 -0
- package/docs/decisions/ADR-002-kernel-bucket-overrides.md +124 -0
- package/docs/decisions/ADR-rule-kernel-and-router.md +122 -0
- package/docs/getting-started.md +2 -2
- package/docs/guidelines/agent-infra/roadmap-progress-mechanics.md +176 -0
- package/docs/guidelines/agent-infra/rule-type-governance.md +73 -0
- package/docs/guidelines/agent-infra/size-and-scope.md +13 -2
- package/docs/guidelines/agent-infra/skill-quality-checklist.md +119 -0
- package/docs/guidelines/augment-portability-patterns.md +68 -0
- package/docs/guidelines/php/php-coding-patterns.md +62 -0
- package/package.json +1 -1
- package/scripts/_p43_bodies.py +235 -0
- package/scripts/_p43_compress.py +118 -0
- package/scripts/_p4_migrate.py +199 -0
- package/scripts/_pilot_council_question.py +57 -0
- package/scripts/_pilot_measure.py +53 -0
- package/scripts/ai_council/session.py +107 -5
- package/scripts/build_linear_digest.py +3 -5
- package/scripts/check_always_budget.py +39 -6
- package/scripts/check_compressed_paths.py +213 -0
- package/scripts/check_compression.py +15 -0
- package/scripts/check_context_paths.py +1 -0
- package/scripts/check_council_layout.py +105 -0
- package/scripts/check_council_references.py +145 -0
- package/scripts/check_portability.py +2 -0
- package/scripts/check_references.py +2 -0
- package/scripts/check_token_optimizer_freshness.py +131 -0
- package/scripts/compile_router.py +148 -0
- package/scripts/compress.py +219 -11
- package/scripts/council_cli.py +9 -5
- package/scripts/council_prune.py +81 -0
- package/scripts/count_token_optimizer_usage.sh +54 -0
- package/scripts/install.sh +44 -2
- package/scripts/iron_law_sha.py +98 -0
- package/scripts/lint_load_context.py +35 -5
- package/scripts/measure_rule_budget.py +314 -0
- package/scripts/prototype_lint_contradictions.py +150 -0
- package/scripts/schemas/rule.schema.json +55 -6
- package/scripts/skill_linter.py +196 -6
- package/scripts/smoke_path_resolution.py +93 -0
- package/scripts/validate_frontmatter.py +41 -1
- package/.agent-src/contexts/communication/rules-auto/artifact-engagement-recording-mechanics.md +0 -72
- package/.agent-src/contexts/communication/rules-auto/augment-portability-mechanics.md +0 -79
- package/.agent-src/contexts/communication/rules-auto/cli-output-handling-mechanics.md +0 -87
- package/.agent-src/contexts/communication/rules-auto/command-suggestion-policy-mechanics.md +0 -62
- package/.agent-src/contexts/communication/rules-auto/docs-sync-mechanics.md +0 -78
- package/.agent-src/contexts/communication/rules-auto/package-ci-checks-mechanics.md +0 -85
- package/.agent-src/contexts/communication/rules-auto/review-routing-awareness-mechanics.md +0 -65
- package/.agent-src/contexts/communication/rules-auto/roadmap-progress-sync-mechanics.md +0 -78
- package/.agent-src/contexts/communication/rules-auto/ui-audit-gate-mechanics.md +0 -53
- /package/{docs → .agent-src/contexts}/contracts/artifact-engagement-flow.md +0 -0
- /package/{docs → .agent-src/contexts}/contracts/command-suggestion-flow.md +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -318,6 +318,72 @@ our recommendation order, not its support status.
|
|
|
318
318
|
users" tension without removing any path that an existing user
|
|
319
319
|
might rely on.
|
|
320
320
|
|
|
321
|
+
## [1.21.0](https://github.com/event4u-app/agent-config/compare/1.20.0...1.21.0) (2026-05-06)
|
|
322
|
+
|
|
323
|
+
### Features
|
|
324
|
+
|
|
325
|
+
* **linter:** add council-reference guard with pragma suppressions ([734b7ae](https://github.com/event4u-app/agent-config/commit/734b7ae61d53c17fadb78f6f68bb54e3fe7cdde8))
|
|
326
|
+
* **linter:** density-gated size warnings (council Option 2) ([281b9aa](https://github.com/event4u-app/agent-config/commit/281b9aa6f52640a93cf55c7b13678fbd2ea85077))
|
|
327
|
+
* **skills:** add prompt-optimizer skill and /optimize-prompt command ([4f99e50](https://github.com/event4u-app/agent-config/commit/4f99e50ae46b19eab3eed2629bb94ac5d017151e))
|
|
328
|
+
* **path-fixes:** finalize Phase 5-7 — checker, smoke, copilot review, contracts move ([3c5fc5d](https://github.com/event4u-app/agent-config/commit/3c5fc5d100ea7c542a48778e4e0669f551fad946))
|
|
329
|
+
* **install:** rules_use_symlinks toggle for both compress.py and install.sh ([927adc3](https://github.com/event4u-app/agent-config/commit/927adc35002588eef4d24825c313e6a9511d6ca1))
|
|
330
|
+
* **ai-council:** default rounds via ai_council.min_rounds (default 2) ([26da301](https://github.com/event4u-app/agent-config/commit/26da30125a0b5a2c74c9c48cf6a2f8e2e5d021dd))
|
|
331
|
+
* **ai-council:** isolate council artefacts as gitignored, auto-pruned scratch ([ab0e245](https://github.com/event4u-app/agent-config/commit/ab0e245734c8560f6d93df927b8af6d105c1d8dc))
|
|
332
|
+
* **rules:** enforce logical-name path conventions for load_context ([fd12ff6](https://github.com/event4u-app/agent-config/commit/fd12ff6b37cec7d2be8ea88d3ec055333fea13e2))
|
|
333
|
+
* **rules:** land kernel + router architecture ([d4fe80e](https://github.com/event4u-app/agent-config/commit/d4fe80e1ce2a956eb86df328de32e3252515553f))
|
|
334
|
+
* **linter:** validate router frontmatter schema (P3.3) ([124e4d7](https://github.com/event4u-app/agent-config/commit/124e4d7387c4f6b90dba5a60179580af5ba5ed45))
|
|
335
|
+
* **router:** compile router.json + wire into CI (P3.2) ([a050a5c](https://github.com/event4u-app/agent-config/commit/a050a5c7b1ba4900be8d7439eadf5cd2953f15d1))
|
|
336
|
+
* **router:** add rule-router schema contract (P3.1) ([e7b1088](https://github.com/event4u-app/agent-config/commit/e7b108809d2fc1f26b4f8f4254044c6019b75a90))
|
|
337
|
+
* **kernel:** add Iron-Law SHA tooling + raise bucket cap to 26k (ADR-002) ([2f8b867](https://github.com/event4u-app/agent-config/commit/2f8b867bb1c306d8c03a754f68f8c82a53013689))
|
|
338
|
+
* **kernel:** land P2.1 — kernel-budget enforcement + ADR-001 ([dd7d50a](https://github.com/event4u-app/agent-config/commit/dd7d50aeb81ca53c430d84d1c0ba36a93008c7f8))
|
|
339
|
+
* **scripts:** add rule-budget measurement + Phase-1 pilot tooling ([396a85f](https://github.com/event4u-app/agent-config/commit/396a85fef25578871566c6c463f57e23b7f95ef2))
|
|
340
|
+
|
|
341
|
+
### Bug Fixes
|
|
342
|
+
|
|
343
|
+
* **commands:** add cluster: optimize to optimize-prompt frontmatter ([bdc3907](https://github.com/event4u-app/agent-config/commit/bdc390772086fa4c13dba1142eb2b82ab133f5a7))
|
|
344
|
+
* **compress:** protect rule examples with inline-code backticks ([c5ea62b](https://github.com/event4u-app/agent-config/commit/c5ea62ba8937d52651544b8509b955498e109579))
|
|
345
|
+
* **schema:** accept rewritten ../contexts/ paths in load_context ([8101320](https://github.com/event4u-app/agent-config/commit/8101320c9a014e02bddfa60fb433b09bd3646b0a))
|
|
346
|
+
* **linter:** support validator_ignore frontmatter + dual-location contracts ([031bd7d](https://github.com/event4u-app/agent-config/commit/031bd7df79deb35a53b8f1d49384056cfcea7711))
|
|
347
|
+
* **templates:** compressed mirror of templates/rule.md + placeholder fix for check-refs ([c182723](https://github.com/event4u-app/agent-config/commit/c18272386d1c5f31efdd14f6d2cca8b8d8b876c8))
|
|
348
|
+
* **skills:** portability — script paths in rule-writing, lower-case agent-config in copilot-agents-optimization ([7e5a86f](https://github.com/event4u-app/agent-config/commit/7e5a86f5dda9a095e3d887c19df718555f7f347c))
|
|
349
|
+
* **tests:** align load_context tests with logical-name path format ([924e52e](https://github.com/event4u-app/agent-config/commit/924e52ed4005d2fb8d22167899058ed9eeb61449))
|
|
350
|
+
* **commit-mechanics:** trim four-exceptions block to fit 6k extended-size cap ([0b6391f](https://github.com/event4u-app/agent-config/commit/0b6391f08d23af71f8945a7e685c7a979e229d61))
|
|
351
|
+
* **contexts:** restore obligation-keyword baseline after P2.2 rule compression ([8996bcd](https://github.com/event4u-app/agent-config/commit/8996bcd83621670f175f93d73ee1c577695d3b34))
|
|
352
|
+
* **linear-digest:** update language-and-tone strip-section title after P2.2 rename ([9643a82](https://github.com/event4u-app/agent-config/commit/9643a82c15a9904ceefcc6a9f1b90a4ef2225b47))
|
|
353
|
+
|
|
354
|
+
### Documentation
|
|
355
|
+
|
|
356
|
+
* **roadmap:** add road-to-structural-linter-reform (council Option 3) ([ac62e56](https://github.com/event4u-app/agent-config/commit/ac62e563f17f697401c8d9045847b3c12ec1c927))
|
|
357
|
+
* update package docs for kernel + router model ([8fef804](https://github.com/event4u-app/agent-config/commit/8fef804aa00ce578ee2b1a96c7002081f07bc538))
|
|
358
|
+
* **kernel:** land Phase 1 classification + kernel set + Council R2 amendments ([a179487](https://github.com/event4u-app/agent-config/commit/a179487dd6fef2b548cd1b886a1e7d54a4c00a39))
|
|
359
|
+
|
|
360
|
+
### Refactoring
|
|
361
|
+
|
|
362
|
+
* compression logic ([6701f9f](https://github.com/event4u-app/agent-config/commit/6701f9f12568ddc409ccad62a7690d64ba885122))
|
|
363
|
+
* **chat-history:** import emits summary + resume offer instead of verbatim entries ([dfafd9c](https://github.com/event4u-app/agent-config/commit/dfafd9cd62d740a7137f6a6e648acfb377f46b1b))
|
|
364
|
+
* **kernel:** compress 8 kernel rules per P2.2 playbook + lock kernel (P2.3) ([4e771da](https://github.com/event4u-app/agent-config/commit/4e771da5c4ceea2e6d2e8935098f1cd231c80c30))
|
|
365
|
+
|
|
366
|
+
### Chores
|
|
367
|
+
|
|
368
|
+
* **router:** add routes_to to no-council-references rule ([fb50540](https://github.com/event4u-app/agent-config/commit/fb505404c9b03cb9fa597ac36793eb3f552585f7))
|
|
369
|
+
* **roadmaps:** archive completed agent-memory roadmaps ([a35b680](https://github.com/event4u-app/agent-config/commit/a35b6803ff545ce2e9098a55cfa8ecb1fbcf624d))
|
|
370
|
+
* **ownership:** regenerate matrix after road-to-structural-linter-reform ([174dd24](https://github.com/event4u-app/agent-config/commit/174dd24989f112eab89c628807acbbb0e10b6aae))
|
|
371
|
+
* **ci:** regenerate index, catalog, roadmap complexity fix ([d61dc9c](https://github.com/event4u-app/agent-config/commit/d61dc9ce96f2ccdab8efd11281bf00d80ed755ef))
|
|
372
|
+
* **docs:** bump getting-started command count from 94 to 95 ([6751897](https://github.com/event4u-app/agent-config/commit/6751897cdf2744683731fc9230183a38834e9b9c))
|
|
373
|
+
* **sync:** regenerate agents/index.md + docs/catalog.md after prompt-optimizer ([cfe2367](https://github.com/event4u-app/agent-config/commit/cfe236759671792a9b49ff10f664fbed10edc4c4))
|
|
374
|
+
* **readme:** bump command count from 94 to 95 after prompt-optimizer addition ([62a59a4](https://github.com/event4u-app/agent-config/commit/62a59a427986ff428d1c1e729d311914ce3be0e5))
|
|
375
|
+
* **sync:** regenerate .windsurfrules after caveman arrow update ([509ba00](https://github.com/event4u-app/agent-config/commit/509ba0061500a47129c77da5bae1f8384636a09c))
|
|
376
|
+
* **compression:** apply caveman abbreviation and arrow rules to mirror ([34e5b1f](https://github.com/event4u-app/agent-config/commit/34e5b1f85da99de94ea8b5f932011583c844a0c8))
|
|
377
|
+
* **sync:** regenerate compressed mirror + ownership matrix after Phase 5-7 ([b421e8e](https://github.com/event4u-app/agent-config/commit/b421e8e3aae6c1ee739bbdd35ed4f44cd78eed85))
|
|
378
|
+
* **roadmap:** archive road-to-path-fixes after Phase 7 closure ([651fd3e](https://github.com/event4u-app/agent-config/commit/651fd3e6586e552dab6368be1853141b2b2fb0ff))
|
|
379
|
+
* **portability:** replace 'Galawork'/'galawork' with 'Consumer'/'consumer' ([bac0433](https://github.com/event4u-app/agent-config/commit/bac0433c13e007910564e6b21b82ca6e6dcccdf9))
|
|
380
|
+
* regenerate router, index, catalog, windsurf rules, tool symlinks ([93685bb](https://github.com/event4u-app/agent-config/commit/93685bb0fbe7c9f671f3a49672e693a8e4a44b85))
|
|
381
|
+
* **commands:** sync compressed mirror of chat-history/import.md to summary+resume ([0063941](https://github.com/event4u-app/agent-config/commit/0063941c69d011a8935ddbcc7ea1266cd4d2c692))
|
|
382
|
+
* **roadmaps:** add road-to-path-fixes and refresh progress ([34f9c23](https://github.com/event4u-app/agent-config/commit/34f9c23ccf67f79758e7dd293c66bc4c443ccc29))
|
|
383
|
+
* **roadmaps:** close kernel-router, package-opt, token-opt plates ([445ef25](https://github.com/event4u-app/agent-config/commit/445ef2574772358ca278ce2d334a08431e82ed68))
|
|
384
|
+
* **roadmap:** close Phase 3 (Router contract) in kernel-and-router ([30b834f](https://github.com/event4u-app/agent-config/commit/30b834fceb9c1198ffae5f0d35d1c84e5bd44c24))
|
|
385
|
+
* **ownership:** regenerate file-ownership matrix after P2.2 kernel compression ([0e82da1](https://github.com/event4u-app/agent-config/commit/0e82da18399cd1e9ecff57769116d7a3317c2949))
|
|
386
|
+
|
|
321
387
|
## [1.20.0](https://github.com/event4u-app/agent-config/compare/1.19.0...1.20.0) (2026-05-06)
|
|
322
388
|
|
|
323
389
|
### Features
|
|
@@ -1298,7 +1364,7 @@ our recommendation order, not its support status.
|
|
|
1298
1364
|
|
|
1299
1365
|
* add iron rule for skill independence ([b060730](https://github.com/event4u-app/agent-config/commit/b060730e98b15b6bc498ad68a111035fab72907f))
|
|
1300
1366
|
* address Copilot PR review feedback ([11b4d20](https://github.com/event4u-app/agent-config/commit/11b4d2060084d1739bfc9e6550fc78c4a4a0bcb7))
|
|
1301
|
-
* address
|
|
1367
|
+
* address consumer-api PR [#1466](https://github.com/event4u-app/agent-config/issues/1466) bot feedback ([c5f8e18](https://github.com/event4u-app/agent-config/commit/c5f8e18a6c429e2f8f0224e1d9130233107ce65e))
|
|
1302
1368
|
* **check-refs:** resolve .augment/X as alias for .agent-src/X ([ff3b094](https://github.com/event4u-app/agent-config/commit/ff3b09479a7fa266606467d862f8de9277ef1fc4))
|
|
1303
1369
|
* **check-refs:** skip forward refs in unchecked TODO items ([1458a18](https://github.com/event4u-app/agent-config/commit/1458a181eb5bbe3189777b87bd9ad210b8cc00c5))
|
|
1304
1370
|
* **check-refs:** validate paths inside memory YAML + exempt consumer dirs ([ec4e8aa](https://github.com/event4u-app/agent-config/commit/ec4e8aae2a0f8e7c489442441b8cfa7f9242be2f))
|
|
@@ -1474,8 +1540,8 @@ our recommendation order, not its support status.
|
|
|
1474
1540
|
for scope questions; Issues remain for bugs and feature requests.
|
|
1475
1541
|
|
|
1476
1542
|
### Removed
|
|
1477
|
-
- Hardcoded `
|
|
1478
|
-
checker. No public release ever shipped the legacy `#
|
|
1543
|
+
- Hardcoded `consumer` references removed from installer and portability
|
|
1544
|
+
checker. No public release ever shipped the legacy `# consumer/agent-config`
|
|
1479
1545
|
gitignore marker, so the in-place migration path was also removed.
|
|
1480
1546
|
|
|
1481
1547
|
## [1.3.3] — 2026-04-17
|
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@ Give your AI agents an audit-disciplined orchestration contract — testing, Git
|
|
|
7
7
|
> Your agent picks up the project's stack, runs tests, prepares PRs, fixes CI — and follows your team's coding standards while doing it. Stack-aware skill sets ship for PHP (Laravel · Symfony · Zend/Laminas), JavaScript (Next.js · React · Node), and cross-stack concerns (API · testing · security · observability).
|
|
8
8
|
|
|
9
9
|
<p align="center">
|
|
10
|
-
<strong>
|
|
10
|
+
<strong>136 Skills</strong> · <strong>58 Rules</strong> · <strong>95 Commands</strong> · <strong>56 Guidelines</strong> · <strong>8 AI Tools</strong>
|
|
11
11
|
</p>
|
|
12
12
|
|
|
13
13
|
---
|
|
@@ -55,15 +55,11 @@ bash vendor/event4u/agent-config/scripts/install
|
|
|
55
55
|
bash node_modules/@event4u/agent-config/scripts/install --profile=balanced
|
|
56
56
|
```
|
|
57
57
|
|
|
58
|
-
**To install
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
continues. The package makes rules, skills, and commands available
|
|
64
|
-
project-locally for all supported AI tools. Task is required for
|
|
65
|
-
*contributors* who want to rebuild the compressed content locally — see
|
|
66
|
-
[CONTRIBUTING.md](CONTRIBUTING.md).
|
|
58
|
+
**To install:** no Task / Make / build tools — `scripts/install` runs a
|
|
59
|
+
bash payload sync plus a Python 3 bridge generator (stdlib only, default
|
|
60
|
+
on macOS 12.3+ / major Linux distros). Python missing → orchestrator
|
|
61
|
+
warns and continues payload-only. Task is needed only for *contributors*
|
|
62
|
+
rebuilding compressed content — see [CONTRIBUTING.md](CONTRIBUTING.md).
|
|
67
63
|
|
|
68
64
|
**Verify hook coverage** after installing — every supported platform
|
|
69
65
|
(Augment, Claude Code, Cowork, Cursor, Cline, Windsurf, Gemini CLI,
|
|
@@ -270,15 +266,20 @@ session is explicitly not.
|
|
|
270
266
|
|
|
271
267
|
## You don't need everything
|
|
272
268
|
|
|
273
|
-
|
|
269
|
+
`cost_profile` is the master switch for **rule-tier loading**. The kernel
|
|
270
|
+
(always-loaded Iron-Law floor, ≤ 26k chars across 9 rules) ships in every
|
|
271
|
+
profile; tier-1 and tier-2 rules are gated by profile and resolved at
|
|
272
|
+
session start from `router.json`.
|
|
274
273
|
|
|
275
|
-
|
|
|
276
|
-
|
|
277
|
-
|
|
|
278
|
-
|
|
|
279
|
-
|
|
|
274
|
+
| Profile | Rule tiers loaded | Token footprint | Best for |
|
|
275
|
+
|---|---|---|---|
|
|
276
|
+
| **`minimal`** | kernel only (no router, no auto-rules) | lowest | Cost-sensitive sessions; trivial Q&A; CI runs |
|
|
277
|
+
| **`balanced`** (default) | kernel + tier-1 auto-rules | medium | Day-to-day work — current behaviour superset |
|
|
278
|
+
| **`full`** | kernel + tier-1 + tier-2 (everything) | highest | Agent-config development; full rule fidelity |
|
|
280
279
|
|
|
281
|
-
|
|
280
|
+
Architecture: [`docs/contracts/rule-router.md`](docs/contracts/rule-router.md) (beta) ·
|
|
281
|
+
kernel set: [`docs/contracts/kernel-membership.md`](docs/contracts/kernel-membership.md) (beta) ·
|
|
282
|
+
[Configure profiles →](docs/customization.md)
|
|
282
283
|
|
|
283
284
|
> **Stability tiers** — [`STABILITY.md`](docs/contracts/STABILITY.md) for
|
|
284
285
|
> the full matrix. Runtime Dispatcher: **stable** (`php` / `node` handlers
|
|
@@ -342,7 +343,7 @@ Nothing runs automatically without your control. [Configure modes →](docs/cust
|
|
|
342
343
|
| [`/jira-ticket`](.agent-src/commands/jira-ticket.md) | Read ticket from branch, implement feature |
|
|
343
344
|
| [`/compress`](.agent-src/commands/compress.md) | Compress skills for token efficiency |
|
|
344
345
|
|
|
345
|
-
→ [Browse all
|
|
346
|
+
→ [Browse all 95 active commands](.agent-src/commands/)
|
|
346
347
|
|
|
347
348
|
---
|
|
348
349
|
|
|
@@ -367,7 +368,7 @@ Every developer gets the same behavior. No per-user setup needed.
|
|
|
367
368
|
native slash-commands)
|
|
368
369
|
|
|
369
370
|
> **What this means in practice:** Augment Code and Claude Code get the full
|
|
370
|
-
> package (rules +
|
|
371
|
+
> package (rules + 136 skills + 95 native commands). Cursor, Cline, Windsurf,
|
|
371
372
|
> Gemini CLI, and GitHub Copilot only get the **rules** natively; skills and
|
|
372
373
|
> commands are available to them as documentation the agent can read, not as
|
|
373
374
|
> first-class features.
|
|
@@ -449,7 +450,7 @@ telemetry:
|
|
|
449
450
|
|
|
450
451
|
Reports: `./agent-config telemetry:report`. Full contract,
|
|
451
452
|
privacy/redaction floor, and quartile semantics:
|
|
452
|
-
[`
|
|
453
|
+
[`contexts/contracts/artifact-engagement-flow.md`](.agent-src.uncompressed/contexts/contracts/artifact-engagement-flow.md) (beta).
|
|
453
454
|
|
|
454
455
|
### Context-aware command suggestion
|
|
455
456
|
|
|
@@ -470,7 +471,7 @@ commands:
|
|
|
470
471
|
Per-conversation: `/command-suggestion-off` disables the layer until
|
|
471
472
|
re-enabled or the chat ends. Full scoring contract and hardening:
|
|
472
473
|
[`adr-command-suggestion`](docs/contracts/adr-command-suggestion.md),
|
|
473
|
-
[`command-suggestion-flow`](
|
|
474
|
+
[`command-suggestion-flow`](.agent-src.uncompressed/contexts/contracts/command-suggestion-flow.md) (beta).
|
|
474
475
|
|
|
475
476
|
---
|
|
476
477
|
|
|
@@ -7,13 +7,15 @@
|
|
|
7
7
|
|
|
8
8
|
# --- Cost profile ---
|
|
9
9
|
#
|
|
10
|
-
#
|
|
11
|
-
# the authoritative description
|
|
10
|
+
# Master switch that controls which rule tiers load each session.
|
|
11
|
+
# See docs/customization.md for the authoritative description and
|
|
12
|
+
# docs/contracts/rule-router.md for the kernel + router architecture.
|
|
12
13
|
#
|
|
13
|
-
# minimal =
|
|
14
|
-
#
|
|
15
|
-
#
|
|
16
|
-
#
|
|
14
|
+
# minimal = kernel only (always-loaded Iron-Law floor, ≤ 26k chars).
|
|
15
|
+
# No router, no auto-rules. Lowest token footprint.
|
|
16
|
+
# balanced = kernel + tier-1 auto-rules (default — current behaviour superset).
|
|
17
|
+
# full = kernel + tier-1 + tier-2 (everything, highest token cost).
|
|
18
|
+
# custom = ignore profile — every matrix value must be set explicitly.
|
|
17
19
|
cost_profile: __COST_PROFILE__
|
|
18
20
|
|
|
19
21
|
# --- Personal preferences ---
|
|
@@ -74,6 +76,22 @@ github:
|
|
|
74
76
|
# auto = detect on first use and update this setting
|
|
75
77
|
pr_reply_method: create_review_comment
|
|
76
78
|
|
|
79
|
+
# --- Augment Code projection (.augment/) ---
|
|
80
|
+
#
|
|
81
|
+
# Controls how rule files are written into .augment/rules/ during
|
|
82
|
+
# install (scripts/install.sh) and the package's own projection
|
|
83
|
+
# (scripts/compress.py --project-augment).
|
|
84
|
+
#
|
|
85
|
+
# Augment Code historically does not load symlinked rule files, so the
|
|
86
|
+
# default is to write each rule as a real copy. Flip the toggle to true
|
|
87
|
+
# once Augment Code supports symlinked rules — symlinks keep the files
|
|
88
|
+
# in sync without re-running install/sync, and remove a class of stale-
|
|
89
|
+
# copy path bugs.
|
|
90
|
+
augment:
|
|
91
|
+
# When true, .augment/rules/*.md are symlinked into .agent-src/rules/.
|
|
92
|
+
# When false (default) or missing, they are copied as real files.
|
|
93
|
+
rules_use_symlinks: false
|
|
94
|
+
|
|
77
95
|
# --- Eloquent (Laravel) ---
|
|
78
96
|
eloquent:
|
|
79
97
|
# Model property access style
|
|
@@ -205,10 +223,25 @@ ai_council:
|
|
|
205
223
|
model: "gpt-4o"
|
|
206
224
|
# mode: "manual" # uncomment to override ai_council.mode
|
|
207
225
|
|
|
226
|
+
# Default number of debate rounds per /council invocation.
|
|
227
|
+
#
|
|
228
|
+
# Round 1 sees the artefact alone. Round 2+ sees the artefact plus
|
|
229
|
+
# anonymised critiques from the previous round (provider/model
|
|
230
|
+
# identity stripped per the neutrality Iron Law). Applies identically
|
|
231
|
+
# to api and manual transports — manual mode runs round 1 across all
|
|
232
|
+
# members, the host agent consolidates, then round 2 starts with the
|
|
233
|
+
# anonymised round-1 critiques folded in.
|
|
234
|
+
#
|
|
235
|
+
# Default is 2 so council members critique each other at least once
|
|
236
|
+
# before convergence. The agent does NOT ask "how many rounds?" when
|
|
237
|
+
# the requested rounds <= min_rounds; pass `rounds:N` on the
|
|
238
|
+
# invocation (or `--rounds N` to the CLI) to override.
|
|
239
|
+
min_rounds: 2
|
|
240
|
+
|
|
208
241
|
# Hard cost ceiling per /council invocation. The orchestrator pauses
|
|
209
242
|
# before any member whose projected spend would breach a cap and asks
|
|
210
243
|
# the user to continue. `max_total_usd: 0` disables the USD ceiling
|
|
211
|
-
# (token caps still apply).
|
|
244
|
+
# (token caps still apply). Total spend = rounds * single-round cost.
|
|
212
245
|
#
|
|
213
246
|
# Prices come from `agents/.agent-prices.md` (gitignored, refreshed weekly
|
|
214
247
|
# by `python3 scripts/update_prices.py`; bootstrapped from
|
|
@@ -219,10 +252,11 @@ ai_council:
|
|
|
219
252
|
max_calls: 10
|
|
220
253
|
max_total_usd: 0.50
|
|
221
254
|
|
|
222
|
-
# Retention for
|
|
223
|
-
#
|
|
255
|
+
# Retention for council artefacts. Files older than this in
|
|
256
|
+
# `agents/council-{questions,responses,sessions}/` are pruned
|
|
257
|
+
# automatically on the next `save()` and on `task council-prune`.
|
|
224
258
|
# `0` disables pruning (keep forever — disk grows unbounded).
|
|
225
|
-
session_retention_days:
|
|
259
|
+
session_retention_days: 7
|
|
226
260
|
|
|
227
261
|
# --- Onboarding ---
|
|
228
262
|
#
|
|
@@ -29,3 +29,10 @@
|
|
|
29
29
|
|
|
30
30
|
# Agent config — AI Council price table (refreshed weekly, never commit)
|
|
31
31
|
/agents/.agent-prices.md
|
|
32
|
+
|
|
33
|
+
# Agent config — AI Council artefacts (questions, responses, sessions).
|
|
34
|
+
# Dev-time scratch — informs decisions, never the durable contract.
|
|
35
|
+
# See ai-council § Output path convention.
|
|
36
|
+
/agents/council-questions/
|
|
37
|
+
/agents/council-responses/
|
|
38
|
+
/agents/council-sessions/
|
package/docs/architecture.md
CHANGED
|
@@ -27,7 +27,8 @@ Stability tiers follow [`docs/contracts/STABILITY.md`](contracts/STABILITY.md):
|
|
|
27
27
|
.agent-src.uncompressed/ ← Source of truth (verbose, human-readable)
|
|
28
28
|
↓ /compress command
|
|
29
29
|
.agent-src/ ← Compressed output (token-efficient, shipped in the package)
|
|
30
|
-
↓ project_to_augment() — copies rules, symlinks rest
|
|
30
|
+
↓ project_to_augment() — copies rules by default, symlinks rest
|
|
31
|
+
(toggle: augment.rules_use_symlinks)
|
|
31
32
|
.augment/ ← Local projection for Augment Code (gitignored)
|
|
32
33
|
↓ install.sh (Cursor, Cline, Windsurf, Augment VSCode) / plugin system
|
|
33
34
|
.claude/ .cursor/ .clinerules/ ← Tool-specific symlinks/copies (auto-generated)
|
|
@@ -36,6 +37,39 @@ Stability tiers follow [`docs/contracts/STABILITY.md`](contracts/STABILITY.md):
|
|
|
36
37
|
dist/cloud/<skill>.zip ← Anthropic Skills bundles (Claude.ai Web / Skills API)
|
|
37
38
|
```
|
|
38
39
|
|
|
40
|
+
### Installer layout
|
|
41
|
+
|
|
42
|
+
In a consumer project, the installer (`scripts/install.sh`) and the
|
|
43
|
+
package's own `project_to_augment()` projection produce a `.augment/`
|
|
44
|
+
tree where:
|
|
45
|
+
|
|
46
|
+
- `.augment/rules/` — **copies** of compressed rule files by default.
|
|
47
|
+
Augment Code historically does not load symlinked rules, so each
|
|
48
|
+
rule is a real file. Set `augment.rules_use_symlinks: true` in
|
|
49
|
+
`.agent-settings.yml` to switch them to symlinks once Augment Code
|
|
50
|
+
supports it (the toggle is honored by both `scripts/install.sh` on
|
|
51
|
+
the consumer side and `project_to_augment()` in the package).
|
|
52
|
+
- `.augment/skills/`, `.augment/commands/`, `.augment/personas/`,
|
|
53
|
+
`.augment/contexts/`, `.augment/templates/` — **symlinks** into
|
|
54
|
+
`.agent-src/<subdir>/`. Reading a context follows the symlink to
|
|
55
|
+
the package payload.
|
|
56
|
+
- `.augment/docs/guidelines/` — **symlink** into the package's
|
|
57
|
+
`docs/guidelines/` (consumer side: `vendor/event4u/agent-config/docs/guidelines/`;
|
|
58
|
+
package self-projection: `../docs/guidelines/`). This is the only
|
|
59
|
+
`docs/` subdirectory exposed in `.augment/`; `docs/contracts/` and
|
|
60
|
+
`docs/decisions/` are package-internal — rules that reference
|
|
61
|
+
contracts inline a 2–3 line excerpt instead of linking out.
|
|
62
|
+
|
|
63
|
+
Cross-references inside `.agent-src/rules/*.md` are written
|
|
64
|
+
**relative to `.agent-src/rules/`** (e.g. `../contexts/execution/foo.md`,
|
|
65
|
+
`../docs/guidelines/agent-infra/foo.md`). Source files under
|
|
66
|
+
`.agent-src.uncompressed/rules/` use **logical names** without a
|
|
67
|
+
directory prefix (e.g. `contexts/execution/foo.md`); the
|
|
68
|
+
compress-time path rewriter in `scripts/compress.py` translates
|
|
69
|
+
them to the relative form when writing into `.agent-src/`. Hardcoding
|
|
70
|
+
`.agent-src.uncompressed/` in source frontmatter or body links is
|
|
71
|
+
forbidden and caught by `scripts/check_compressed_paths.py`.
|
|
72
|
+
|
|
39
73
|
### Cloud-bundle pipeline
|
|
40
74
|
|
|
41
75
|
`task build-cloud-bundles-all` produces one ZIP per skill at
|
|
@@ -62,10 +96,10 @@ fails on any source-side violation, without producing artifacts.
|
|
|
62
96
|
|
|
63
97
|
| Layer | Count | Purpose |
|
|
64
98
|
|---|---|---|
|
|
65
|
-
| **Skills** |
|
|
66
|
-
| **Rules** |
|
|
67
|
-
| **Commands** |
|
|
68
|
-
| **Guidelines** |
|
|
99
|
+
| **Skills** | 136 | On-demand expertise — stack analysis (Laravel · Symfony · Zend / Laminas · Next.js · React · Node), testing, Docker, API design, security, observability, … |
|
|
100
|
+
| **Rules** | 58 | Always-active constraints — coding standards, scope control, verification, language-and-tone, agent-authority |
|
|
101
|
+
| **Commands** | 95 | Slash-command workflows — `/commit`, `/create-pr`, `/fix ci`, `/optimize skills`, `/feature plan`, `/work`, `/implement-ticket`, `/compress`, … |
|
|
102
|
+
| **Guidelines** | 56 | Reference material cited by skills — PHP patterns, Eloquent, Playwright, agent-infra, … |
|
|
69
103
|
| **Templates** | 7 | Scaffolds for features, roadmaps, contexts, skills, overrides |
|
|
70
104
|
| **Contexts** | 5 | Shared knowledge about the system itself |
|
|
71
105
|
|
|
@@ -215,4 +249,51 @@ adjustments (description budget, sandbox note, package-internal path-swap).
|
|
|
215
249
|
|
|
216
250
|
---
|
|
217
251
|
|
|
252
|
+
## Path resolution and Copilot integration
|
|
253
|
+
|
|
254
|
+
Cross-references inside `.augment/rules/`, `.augment/skills/`, and the
|
|
255
|
+
mirrored `.claude/`, `.cursor/`, `.clinerules/` trees use **relative
|
|
256
|
+
paths from the delivered location**. They resolve through the symlinks
|
|
257
|
+
created by `scripts/install.sh`, not via raw git checkout. This means
|
|
258
|
+
GitHub Copilot's static checker — which walks the git tree — will see
|
|
259
|
+
broken paths where there are none. **The gap is intentional, not a bug.**
|
|
260
|
+
|
|
261
|
+
The package ships two complementary suppression artefacts:
|
|
262
|
+
|
|
263
|
+
| File | Read by | Purpose |
|
|
264
|
+
|---|---|---|
|
|
265
|
+
| `.github/copilot-instructions.md` | Copilot Chat + PR review | Repo-wide coding standards, self-contained behavior |
|
|
266
|
+
| `.github/copilot-review-instructions.md` | Copilot PR review | Path-resolution suppression floor (this section's mate) |
|
|
267
|
+
|
|
268
|
+
Both are installed (copy-if-missing) by `scripts/install.sh` from
|
|
269
|
+
`.agent-src.uncompressed/templates/`. Consumers can edit them freely;
|
|
270
|
+
the installer never overwrites.
|
|
271
|
+
|
|
272
|
+
The mechanical floor is `scripts/check_compressed_paths.py`, wired into
|
|
273
|
+
`task ci` as `check-compressed-paths`. It validates `.agent-src/rules/*.md`:
|
|
274
|
+
|
|
275
|
+
- `load_context:` entries must resolve to existing files.
|
|
276
|
+
- Forbidden substrings (`.agent-src.uncompressed/`, `../../docs/`,
|
|
277
|
+
`../../agents/`) must not survive compression — unless declared
|
|
278
|
+
per-rule via the `validator_ignore:` frontmatter primitive (audited).
|
|
279
|
+
- Body links to `../docs/guidelines/...` are intentionally **not**
|
|
280
|
+
checked (they are package-internal reference material, silenced by
|
|
281
|
+
the Copilot suppression floor above).
|
|
282
|
+
|
|
283
|
+
### Verifying path fixes in a consumer
|
|
284
|
+
|
|
285
|
+
If a regression is suspected, replay the smoke test against the
|
|
286
|
+
package's own `.augment/` projection:
|
|
287
|
+
|
|
288
|
+
```bash
|
|
289
|
+
task sync # regenerate .agent-src/ → .augment/
|
|
290
|
+
python3 scripts/smoke_path_resolution.py
|
|
291
|
+
```
|
|
292
|
+
|
|
293
|
+
The script walks `.augment/rules/*.md` and resolves every
|
|
294
|
+
`load_context:` entry to a file under `.augment/`. A non-zero exit
|
|
295
|
+
means a consumer would also see the same broken reference.
|
|
296
|
+
|
|
297
|
+
---
|
|
298
|
+
|
|
218
299
|
← [Back to README](../README.md)
|
package/docs/catalog.md
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
# agent-config — Public Catalog
|
|
2
2
|
|
|
3
|
-
Consumer-facing catalog of all **
|
|
3
|
+
Consumer-facing catalog of all **342 public artefacts** shipped by
|
|
4
4
|
this package. Internal package-maintenance rules and deprecation shims
|
|
5
5
|
are excluded.
|
|
6
6
|
|
|
7
7
|
> **Regenerate:** `python3 scripts/generate_index.py`
|
|
8
8
|
> Auto-generated — do not edit manually.
|
|
9
9
|
|
|
10
|
-
## Skills (
|
|
10
|
+
## Skills (136)
|
|
11
11
|
|
|
12
12
|
| kind | name | extra | description |
|
|
13
13
|
|---|---|---|---|
|
|
@@ -106,6 +106,7 @@ are excluded.
|
|
|
106
106
|
| skill | [`project-analysis-zend-laminas`](../.agent-src/skills/project-analysis-zend-laminas/SKILL.md) | | Use for deep Zend Framework or Laminas project analysis: bootstrap, config merge order, service manager, MVC flow, data layer, and migration-specific risks. |
|
|
107
107
|
| skill | [`project-analyzer`](../.agent-src/skills/project-analyzer/SKILL.md) | | ONLY when user explicitly requests: full project analysis, tech stack detection, or structured analysis documents for agents/analysis/. NOT for regular feature work. |
|
|
108
108
|
| skill | [`project-docs`](../.agent-src/skills/project-docs/SKILL.md) | | Use when looking for project-specific documentation. Knows which docs exist in agents/docs/ and agents/contexts/ and maps work areas to relevant docs. |
|
|
109
|
+
| skill | [`prompt-optimizer`](../.agent-src/skills/prompt-optimizer/SKILL.md) | | Use when the user wants a prompt optimized for ChatGPT, Claude, Gemini, or another AI — 'make this prompt better', 'optimize for ChatGPT', 'rewrite my prompt' — even without saying 'optimize'. |
|
|
109
110
|
| skill | [`quality-tools`](../.agent-src/skills/quality-tools/SKILL.md) | | Use when PHPStan, Rector, or ECS output appears — \"phpstan says mixed\", type errors, \"fix code style\", \"run rector\" — even when Eloquent/Laravel/model code is also mentioned. |
|
|
110
111
|
| skill | [`react-shadcn-ui`](../.agent-src/skills/react-shadcn-ui/SKILL.md) | | Use when building React UI on shadcn/ui primitives + Tailwind — the apply/review/polish skill dispatched by `directives/ui/*` for the `react-shadcn` stack. |
|
|
111
112
|
| skill | [`readme-reviewer`](../.agent-src/skills/readme-reviewer/SKILL.md) | | Use when reviewing a README for accuracy, usability, and alignment with the actual repository. Detects invented content, broken setup steps, and structural issues. |
|
|
@@ -137,6 +138,7 @@ are excluded.
|
|
|
137
138
|
| skill | [`test-driven-development`](../.agent-src/skills/test-driven-development/SKILL.md) | | Use when implementing a feature, fixing a bug, or refactoring — write a failing test first, then the code — even if the user just says 'add this function' or 'fix this bug'. |
|
|
138
139
|
| skill | [`test-performance`](../.agent-src/skills/test-performance/SKILL.md) | | Use when optimizing test suite performance — database setup, seeder optimization, parallel testing, CI pipeline efficiency, or RefreshDatabase alternatives. |
|
|
139
140
|
| skill | [`threat-modeling`](../.agent-src/skills/threat-modeling/SKILL.md) | | Use when adding auth, webhooks, uploads, queues, secrets, tenant boundaries, or public endpoints — produces trust boundaries + abuse cases mapped to files, BEFORE implementation. |
|
|
141
|
+
| skill | [`token-optimizer`](../.agent-src/skills/token-optimizer/SKILL.md) | | Use BEFORE any verbose CLI run, large file read, doc conversion, or near-context handoff — single decision tree keyed by intent that cites the canonical token-saving asset. Consult before the action. |
|
|
140
142
|
| skill | [`traefik`](../.agent-src/skills/traefik/SKILL.md) | | Use when setting up Traefik as a local reverse proxy — real domains on 127.0.0.1, trusted HTTPS via mkcert, automatic service discovery, and multi-project routing. |
|
|
141
143
|
| skill | [`unit-economics-modeling`](../.agent-src/skills/unit-economics-modeling/SKILL.md) | | Use when modeling CAC, LTV, gross-margin payback, or contribution margin per customer — for SaaS, marketplace, or transactional businesses. |
|
|
142
144
|
| skill | [`universal-project-analysis`](../.agent-src/skills/universal-project-analysis/SKILL.md) | | ONLY when user explicitly requests: full project analysis, deep codebase audit, or comprehensive architecture review. Routes to core and framework-specific analysis skills. |
|
|
@@ -146,7 +148,7 @@ are excluded.
|
|
|
146
148
|
| skill | [`verify-completion-evidence`](../.agent-src/skills/verify-completion-evidence/SKILL.md) | | Use when claiming 'done', suggesting a commit, push, or PR — runs the evidence gate so completion claims come from fresh output in this message, not memory or earlier runs. |
|
|
147
149
|
| skill | [`websocket`](../.agent-src/skills/websocket/SKILL.md) | | Use when building real-time features — WebSocket broadcasting, live updates, presence channels, connection state — even when the user just says 'push this to the client live'. |
|
|
148
150
|
|
|
149
|
-
## Rules (
|
|
151
|
+
## Rules (55)
|
|
150
152
|
|
|
151
153
|
| kind | name | type | description |
|
|
152
154
|
|---|---|---|---|
|
|
@@ -178,6 +180,7 @@ are excluded.
|
|
|
178
180
|
| rule | [`model-recommendation`](../.agent-src/rules/model-recommendation.md) | auto | Starting a new task, switching task type, or invoking a command — detect task complexity and recommend the optimal model (Opus/Sonnet/GPT) before any work |
|
|
179
181
|
| rule | [`no-attribution-footers`](../.agent-src/rules/no-attribution-footers.md) | auto | Generating PR/issue/comment/commit-message bodies — forbids unsolicited 'Generated with', 'Co-authored by', or 'Pull Request opened by' attribution footers in any user-owned artifact |
|
|
180
182
|
| rule | [`no-cheap-questions`](../.agent-src/rules/no-cheap-questions.md) | always | No cheap questions — never ask what context answers, never offer Iron-Law-violating options, never stage no-trade-off choices; mode-independent (off / auto / on) |
|
|
183
|
+
| rule | [`no-council-references`](../.agent-src/rules/no-council-references.md) | auto | Linking a specific file in agents/council-{questions,responses,sessions}/ from any artifact — council files are gitignored, local-only, auto-pruned; inline the convergence instead |
|
|
181
184
|
| rule | [`no-roadmap-references`](../.agent-src/rules/no-roadmap-references.md) | auto | Adding a link to a specific file in agents/roadmaps/ from any stable artifact (rule, skill, command, context, guideline) — roadmaps are transient; promote durable findings to agents/contexts/ instead |
|
|
182
185
|
| rule | [`non-destructive-by-default`](../.agent-src/rules/non-destructive-by-default.md) | always | Agent is never destructive — Hard Floor always asks for prod-trunk merges, deploys, pushes, prod data/infra, bulk deletions, and bulk-deletion/infra commits; no autonomy or roadmap bypass |
|
|
183
186
|
| rule | [`onboarding-gate`](../.agent-src/rules/onboarding-gate.md) | auto | First turn of a conversation on a project — check onboarding.onboarded in .agent-settings.yml; when false, prompt the user to run /onboard before executing any other request |
|
|
@@ -198,13 +201,14 @@ are excluded.
|
|
|
198
201
|
| rule | [`slash-command-routing-policy`](../.agent-src/rules/slash-command-routing-policy.md) | auto | When user types a slash command like /create-pr, /commit, or pastes command file content |
|
|
199
202
|
| rule | [`think-before-action`](../.agent-src/rules/think-before-action.md) | auto | Before coding, modifying, or debugging — analyze first, verify with real tools, never guess or trial-and-error |
|
|
200
203
|
| rule | [`token-efficiency`](../.agent-src/rules/token-efficiency.md) | auto | When running CLI tools, fetching logs, or producing replies — redirect verbose output, minimize tool calls, keep replies concise |
|
|
204
|
+
| rule | [`token-optimizer-maintenance`](../.agent-src/rules/token-optimizer-maintenance.md) | auto | Editing a token-optimizer-cited asset (cli-output-handling, rtk-output-filtering, token-efficiency, agent-handoff, direct-answers, markitdown) — keep the catalog row in sync in the same commit. |
|
|
201
205
|
| rule | [`tool-safety`](../.agent-src/rules/tool-safety.md) | auto | When a skill uses external tools — enforce allowlist, deny-by-default, and no hidden credential patterns |
|
|
202
206
|
| rule | [`ui-audit-gate`](../.agent-src/rules/ui-audit-gate.md) | auto | Writing or editing UI — components, screens, partials, layouts, design tokens — require existing-ui-audit findings in state.ui_audit before non-trivial UI change; gate, not suggestion |
|
|
203
207
|
| rule | [`upstream-proposal`](../.agent-src/rules/upstream-proposal.md) | auto | After creating or significantly improving a skill, rule, guideline, or command — ask if it should be contributed upstream to the shared package |
|
|
204
208
|
| rule | [`user-interaction`](../.agent-src/rules/user-interaction.md) | auto | Asking the user a question, presenting options, or summarizing progress — numbered-options Iron Law, single-recommendation rule, progress indicators |
|
|
205
209
|
| rule | [`verify-before-complete`](../.agent-src/rules/verify-before-complete.md) | always | Verify before completion — run tests and quality tools before claiming done |
|
|
206
210
|
|
|
207
|
-
## Commands (
|
|
211
|
+
## Commands (95)
|
|
208
212
|
|
|
209
213
|
| kind | name | cluster | description |
|
|
210
214
|
|---|---|---|---|
|
|
@@ -217,7 +221,7 @@ are excluded.
|
|
|
217
221
|
| command | [`analyze-reference-repo`](../.agent-src/commands/analyze-reference-repo.md) | | Analyze an external reference repository (competitor, inspiration, peer) and produce a structured comparison + adoption plan for this project. |
|
|
218
222
|
| command | [`bug-fix`](../.agent-src/commands/bug-fix.md) | | Plan and implement a bug fix — based on investigation, with quality checks and test verification |
|
|
219
223
|
| command | [`bug-investigate`](../.agent-src/commands/bug-investigate.md) | | Investigate a bug — auto-detect ticket from branch, gather Jira/Sentry/description context, trace root cause |
|
|
220
|
-
| command | [`chat-history:import`](../.agent-src/commands/chat-history/import.md) | cluster: chat-history | Surface prior chat-history sessions as numbered
|
|
224
|
+
| command | [`chat-history:import`](../.agent-src/commands/chat-history/import.md) | cluster: chat-history | Surface prior chat-history sessions as a numbered table, let the user pick one, read it silently, and emit a short summary plus a resume offer — selective, user-driven cross-session import |
|
|
221
225
|
| command | [`chat-history:learn`](../.agent-src/commands/chat-history/learn.md) | cluster: chat-history | Pick a prior chat-history session and mine it for project-improving learnings — runs learning-to-rule-or-skill on the picked session, drafts proposal(s) under agents/proposals/ |
|
|
222
226
|
| command | [`chat-history:show`](../.agent-src/commands/chat-history/show.md) | cluster: chat-history | Show the status of the persistent chat-history log — file size, entry count, header fingerprint, age, and the last few entries |
|
|
223
227
|
| command | [`chat-history`](../.agent-src/commands/chat-history.md) | cluster: chat-history | Chat-history orchestrator — routes to show, import, learn |
|
|
@@ -275,6 +279,7 @@ are excluded.
|
|
|
275
279
|
| command | [`optimize:augmentignore`](../.agent-src/commands/optimize/augmentignore.md) | cluster: optimize | Creates or updates .augmentignore based on the project's actual tech stack, large files, generated artifacts, and irrelevant agent skills/rules. |
|
|
276
280
|
| command | [`optimize:rtk`](../.agent-src/commands/optimize/rtk.md) | cluster: optimize | Create or optimize project-local rtk filters based on the actual toolchain |
|
|
277
281
|
| command | [`optimize:skills`](../.agent-src/commands/optimize/skills.md) | cluster: optimize | Audits skills — measures baseline, finds duplicates/merge candidates, runs linter. Suggest only, never auto-apply. |
|
|
282
|
+
| command | [`optimize-prompt`](../.agent-src/commands/optimize-prompt.md) | cluster: optimize | Optimize a raw prompt for ChatGPT, Claude, Gemini, or another AI via the 4-D methodology — BASIC vs DETAIL auto-detect, one clarifying question per turn, returns the polished prompt. |
|
|
278
283
|
| command | [`optimize`](../.agent-src/commands/optimize.md) | cluster: optimize | Optimize orchestrator — routes to skills, agents, augmentignore, rtk-filters |
|
|
279
284
|
| command | [`override:create`](../.agent-src/commands/override/create.md) | cluster: override | Creates a project-level override for a shared skill, rule, or command. |
|
|
280
285
|
| command | [`override:manage`](../.agent-src/commands/override/manage.md) | cluster: override | Reviews, updates, and refactors existing project-level overrides. |
|
|
@@ -303,7 +308,7 @@ are excluded.
|
|
|
303
308
|
| command | [`upstream-contribute`](../.agent-src/commands/upstream-contribute.md) | | Contribute a learning, skill, rule, or fix from a consumer project back to the shared agent-config package |
|
|
304
309
|
| command | [`work`](../.agent-src/commands/work.md) | | Drive a free-form prompt end-to-end through refine → score → plan → implement → test → verify → report — Option-A loop over the `work_engine` Python engine, confidence-band gated, no auto-git. |
|
|
305
310
|
|
|
306
|
-
## Guidelines (
|
|
311
|
+
## Guidelines (56)
|
|
307
312
|
|
|
308
313
|
| kind | name | category | description |
|
|
309
314
|
|---|---|---|---|
|
|
@@ -320,13 +325,17 @@ are excluded.
|
|
|
320
325
|
| guideline | [`naming`](../docs/guidelines/agent-infra/naming.md) | agent-infra | |
|
|
321
326
|
| guideline | [`output-patterns`](../docs/guidelines/agent-infra/output-patterns.md) | agent-infra | |
|
|
322
327
|
| guideline | [`review-routing-data-format`](../docs/guidelines/agent-infra/review-routing-data-format.md) | agent-infra | |
|
|
328
|
+
| guideline | [`roadmap-progress-mechanics`](../docs/guidelines/agent-infra/roadmap-progress-mechanics.md) | agent-infra | |
|
|
323
329
|
| guideline | [`role-contracts`](../docs/guidelines/agent-infra/role-contracts.md) | agent-infra | |
|
|
324
330
|
| guideline | [`role-mode-router`](../docs/guidelines/agent-infra/role-mode-router.md) | agent-infra | |
|
|
331
|
+
| guideline | [`rule-type-governance`](../docs/guidelines/agent-infra/rule-type-governance.md) | agent-infra | |
|
|
325
332
|
| guideline | [`runtime-layer`](../docs/guidelines/agent-infra/runtime-layer.md) | agent-infra | |
|
|
326
333
|
| guideline | [`self-improvement-pipeline`](../docs/guidelines/agent-infra/self-improvement-pipeline.md) | agent-infra | |
|
|
327
334
|
| guideline | [`size-and-scope`](../docs/guidelines/agent-infra/size-and-scope.md) | agent-infra | |
|
|
335
|
+
| guideline | [`skill-quality-checklist`](../docs/guidelines/agent-infra/skill-quality-checklist.md) | agent-infra | |
|
|
328
336
|
| guideline | [`tool-integration`](../docs/guidelines/agent-infra/tool-integration.md) | agent-infra | |
|
|
329
337
|
| guideline | [`verify-before-complete-demos`](../docs/guidelines/agent-infra/verify-before-complete-demos.md) | agent-infra | |
|
|
338
|
+
| guideline | [`augment-portability-patterns`](../docs/guidelines/augment-portability-patterns.md) | (root) | |
|
|
330
339
|
| guideline | [`readme-size-and-splitting`](../docs/guidelines/docs/readme-size-and-splitting.md) | docs | |
|
|
331
340
|
| guideline | [`playwright`](../docs/guidelines/e2e/playwright.md) | e2e | |
|
|
332
341
|
| guideline | [`api-design`](../docs/guidelines/php/api-design.md) | php | |
|
|
@@ -353,6 +362,7 @@ are excluded.
|
|
|
353
362
|
| guideline | [`strategy`](../docs/guidelines/php/patterns/strategy.md) | patterns | |
|
|
354
363
|
| guideline | [`patterns`](../docs/guidelines/php/patterns.md) | php | |
|
|
355
364
|
| guideline | [`performance`](../docs/guidelines/php/performance.md) | php | |
|
|
365
|
+
| guideline | [`php-coding-patterns`](../docs/guidelines/php/php-coding-patterns.md) | php | |
|
|
356
366
|
| guideline | [`resources`](../docs/guidelines/php/resources.md) | php | |
|
|
357
367
|
| guideline | [`security`](../docs/guidelines/php/security.md) | php | |
|
|
358
368
|
| guideline | [`sql`](../docs/guidelines/php/sql.md) | php | |
|
|
@@ -13,7 +13,7 @@ helpers.
|
|
|
13
13
|
**Ownership.** `agent-memory` is ours; we decide release timing. This
|
|
14
14
|
doc is internal, not a spec handed to an external team. The
|
|
15
15
|
authoritative spec-side documents live under
|
|
16
|
-
[`agents/roadmaps/agent-memory/`](../../agents/roadmaps/agent-memory/); this context
|
|
16
|
+
[`agents/roadmaps/agent-memory/`](../../agents/roadmaps/archive/agent-memory/); this context
|
|
17
17
|
is the **consumer-side snapshot** — what our wired code assumes today.
|
|
18
18
|
|
|
19
19
|
Last refreshed: 2026-04-22.
|
|
@@ -34,6 +34,7 @@ a roadmap revision (per `road-to-structural-optimization.md` § Definitions).
|
|
|
34
34
|
| `contexts/chat-history/` | Phase 6 | `cadence.md`, `ownership.md`, `visibility.md` |
|
|
35
35
|
| `contexts/execution/` | PR #34 (existing) | `<topic>-mechanics.md`, `<topic>-detection.md`, `<topic>-examples.md` |
|
|
36
36
|
| `contexts/authority/` | PR #34 (existing) | `<topic>-mechanics.md` |
|
|
37
|
+
| `contexts/contracts/` | road-to-path-fixes Phase 4 | `<topic>-flow.md` (load-bearing flow contracts cited via `load_context:`) |
|
|
37
38
|
|
|
38
39
|
## Grandfathered files
|
|
39
40
|
|
|
@@ -54,7 +55,7 @@ contexts/subagent-configuration.md
|
|
|
54
55
|
|
|
55
56
|
1. **Sub-tree allow-list.** Every `*.md` under
|
|
56
57
|
`.agent-src.uncompressed/contexts/` must be either (a) in one of the
|
|
57
|
-
|
|
58
|
+
nine locked sub-trees above, or (b) one of the six grandfathered
|
|
58
59
|
root-level files. Anything else fails CI.
|
|
59
60
|
2. **No collisions.** No two context files may share the same basename
|
|
60
61
|
across sub-trees. `judges/persona-voice-rubric.md` and
|