@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.
Files changed (238) hide show
  1. package/.agent-src/commands/agents.md +1 -1
  2. package/.agent-src/commands/bug-fix.md +1 -1
  3. package/.agent-src/commands/bug-investigate.md +2 -2
  4. package/.agent-src/commands/chat-history/import.md +60 -64
  5. package/.agent-src/commands/compress.md +12 -0
  6. package/.agent-src/commands/context/create.md +2 -2
  7. package/.agent-src/commands/context.md +1 -1
  8. package/.agent-src/commands/copilot-agents.md +1 -1
  9. package/.agent-src/commands/council/default.md +17 -5
  10. package/.agent-src/commands/council.md +1 -1
  11. package/.agent-src/commands/e2e-heal.md +1 -1
  12. package/.agent-src/commands/e2e-plan.md +1 -1
  13. package/.agent-src/commands/feature/dev.md +3 -3
  14. package/.agent-src/commands/feature.md +1 -1
  15. package/.agent-src/commands/fix/seeder.md +2 -2
  16. package/.agent-src/commands/fix.md +1 -1
  17. package/.agent-src/commands/jira-ticket.md +1 -1
  18. package/.agent-src/commands/judge.md +2 -2
  19. package/.agent-src/commands/memory.md +1 -1
  20. package/.agent-src/commands/mode.md +5 -5
  21. package/.agent-src/commands/module.md +1 -1
  22. package/.agent-src/commands/onboard.md +4 -4
  23. package/.agent-src/commands/optimize/augmentignore.md +1 -1
  24. package/.agent-src/commands/optimize-prompt.md +61 -0
  25. package/.agent-src/commands/optimize.md +1 -1
  26. package/.agent-src/commands/override.md +1 -1
  27. package/.agent-src/commands/review-changes.md +1 -1
  28. package/.agent-src/commands/review-routing.md +1 -1
  29. package/.agent-src/commands/roadmap.md +1 -1
  30. package/.agent-src/commands/set-cost-profile.md +3 -3
  31. package/.agent-src/commands/sync-agent-settings.md +2 -2
  32. package/.agent-src/commands/tests/create.md +2 -2
  33. package/.agent-src/commands/tests.md +1 -1
  34. package/.agent-src/commands/threat-model.md +4 -4
  35. package/.agent-src/contexts/authority/commit-mechanics.md +14 -1
  36. package/.agent-src/contexts/authority/destructive-mechanics.md +14 -1
  37. package/.agent-src/contexts/authority/scope-mechanics.md +5 -0
  38. package/.agent-src/contexts/communication/rules-auto/guidelines-mechanics.md +76 -0
  39. package/.agent-src/contexts/communication/rules-auto/slash-command-routing-policy-mechanics.md +1 -1
  40. package/.agent-src/contexts/communication/rules-auto/think-before-action-mechanics.md +98 -0
  41. package/.agent-src/contexts/communication/rules-auto/token-efficiency-mechanics.md +93 -0
  42. package/.agent-src/contexts/communication/rules-auto/user-interaction-mechanics.md +128 -5
  43. package/.agent-src/contexts/execution/autonomy-mechanics.md +44 -0
  44. package/.agent-src/contexts/model-recommendations.md +2 -2
  45. package/.agent-src/contexts/override-system.md +1 -1
  46. package/.agent-src/personas/product-owner.md +2 -2
  47. package/.agent-src/personas/qa.md +1 -1
  48. package/.agent-src/rules/agent-authority.md +5 -6
  49. package/.agent-src/rules/agent-docs.md +11 -53
  50. package/.agent-src/rules/analysis-skill-routing.md +10 -40
  51. package/.agent-src/rules/architecture.md +6 -1
  52. package/.agent-src/rules/artifact-drafting-protocol.md +5 -0
  53. package/.agent-src/rules/artifact-engagement-recording.md +23 -59
  54. package/.agent-src/rules/ask-when-uncertain.md +24 -47
  55. package/.agent-src/rules/augment-portability.md +14 -62
  56. package/.agent-src/rules/augment-source-of-truth.md +10 -1
  57. package/.agent-src/rules/autonomous-execution.md +17 -98
  58. package/.agent-src/rules/capture-learnings.md +9 -80
  59. package/.agent-src/rules/cli-output-handling.md +12 -42
  60. package/.agent-src/rules/command-suggestion-policy.md +25 -73
  61. package/.agent-src/rules/commit-conventions.md +9 -58
  62. package/.agent-src/rules/commit-policy.md +16 -47
  63. package/.agent-src/rules/context-hygiene.md +5 -0
  64. package/.agent-src/rules/direct-answers.md +21 -50
  65. package/.agent-src/rules/docker-commands.md +11 -45
  66. package/.agent-src/rules/docs-sync.md +10 -56
  67. package/.agent-src/rules/downstream-changes.md +5 -0
  68. package/.agent-src/rules/e2e-testing.md +9 -44
  69. package/.agent-src/rules/guidelines.md +13 -75
  70. package/.agent-src/rules/improve-before-implement.md +10 -2
  71. package/.agent-src/rules/language-and-tone.md +41 -106
  72. package/.agent-src/rules/laravel-translations.md +11 -40
  73. package/.agent-src/rules/markdown-safe-codeblocks.md +4 -0
  74. package/.agent-src/rules/minimal-safe-diff.md +4 -0
  75. package/.agent-src/rules/missing-tool-handling.md +4 -0
  76. package/.agent-src/rules/model-recommendation.md +9 -61
  77. package/.agent-src/rules/no-attribution-footers.md +5 -0
  78. package/.agent-src/rules/no-cheap-questions.md +11 -27
  79. package/.agent-src/rules/no-council-references.md +76 -0
  80. package/.agent-src/rules/no-roadmap-references.md +7 -0
  81. package/.agent-src/rules/non-destructive-by-default.md +13 -43
  82. package/.agent-src/rules/onboarding-gate.md +9 -117
  83. package/.agent-src/rules/package-ci-checks.md +10 -37
  84. package/.agent-src/rules/php-coding.md +10 -55
  85. package/.agent-src/rules/preservation-guard.md +9 -0
  86. package/.agent-src/rules/review-routing-awareness.md +9 -97
  87. package/.agent-src/rules/reviewer-awareness.md +8 -83
  88. package/.agent-src/rules/roadmap-progress-sync.md +7 -170
  89. package/.agent-src/rules/role-mode-adherence.md +6 -2
  90. package/.agent-src/rules/rule-type-governance.md +8 -66
  91. package/.agent-src/rules/runtime-safety.md +5 -0
  92. package/.agent-src/rules/scope-control.md +17 -62
  93. package/.agent-src/rules/security-sensitive-stop.md +7 -1
  94. package/.agent-src/rules/size-enforcement.md +6 -1
  95. package/.agent-src/rules/skill-improvement-trigger.md +9 -49
  96. package/.agent-src/rules/skill-quality.md +7 -113
  97. package/.agent-src/rules/slash-command-routing-policy.md +11 -63
  98. package/.agent-src/rules/think-before-action.md +22 -87
  99. package/.agent-src/rules/token-efficiency.md +10 -74
  100. package/.agent-src/rules/token-optimizer-maintenance.md +68 -0
  101. package/.agent-src/rules/tool-safety.md +4 -0
  102. package/.agent-src/rules/ui-audit-gate.md +25 -61
  103. package/.agent-src/rules/upstream-proposal.md +9 -67
  104. package/.agent-src/rules/user-interaction.md +22 -108
  105. package/.agent-src/rules/verify-before-complete.md +1 -1
  106. package/.agent-src/skills/agent-docs-writing/SKILL.md +1 -1
  107. package/.agent-src/skills/ai-council/SKILL.md +65 -0
  108. package/.agent-src/skills/analysis-autonomous-mode/SKILL.md +1 -1
  109. package/.agent-src/skills/analysis-skill-router/SKILL.md +3 -3
  110. package/.agent-src/skills/artisan-commands/SKILL.md +2 -2
  111. package/.agent-src/skills/authz-review/SKILL.md +1 -1
  112. package/.agent-src/skills/aws-infrastructure/SKILL.md +5 -5
  113. package/.agent-src/skills/blast-radius-analyzer/SKILL.md +8 -8
  114. package/.agent-src/skills/bug-analyzer/SKILL.md +5 -5
  115. package/.agent-src/skills/code-refactoring/SKILL.md +4 -4
  116. package/.agent-src/skills/code-review/SKILL.md +2 -2
  117. package/.agent-src/skills/command-writing/SKILL.md +11 -0
  118. package/.agent-src/skills/composer-packages/SKILL.md +2 -2
  119. package/.agent-src/skills/context-authoring/SKILL.md +11 -0
  120. package/.agent-src/skills/context-document/SKILL.md +1 -1
  121. package/.agent-src/skills/copilot-agents-optimization/SKILL.md +23 -0
  122. package/.agent-src/skills/copilot-config/SKILL.md +1 -1
  123. package/.agent-src/skills/dependency-upgrade/SKILL.md +2 -2
  124. package/.agent-src/skills/devcontainer/SKILL.md +2 -2
  125. package/.agent-src/skills/developer-like-execution/SKILL.md +1 -1
  126. package/.agent-src/skills/docker/SKILL.md +1 -1
  127. package/.agent-src/skills/dto-creator/SKILL.md +1 -1
  128. package/.agent-src/skills/estimate-ticket/SKILL.md +2 -2
  129. package/.agent-src/skills/fe-design/SKILL.md +4 -4
  130. package/.agent-src/skills/feature-planning/SKILL.md +5 -5
  131. package/.agent-src/skills/funnel-analysis/SKILL.md +1 -1
  132. package/.agent-src/skills/laravel/SKILL.md +1 -1
  133. package/.agent-src/skills/laravel-notifications/SKILL.md +5 -5
  134. package/.agent-src/skills/laravel-pennant/SKILL.md +1 -1
  135. package/.agent-src/skills/laravel-pulse/SKILL.md +4 -4
  136. package/.agent-src/skills/laravel-reverb/SKILL.md +2 -2
  137. package/.agent-src/skills/laravel-scheduling/SKILL.md +1 -1
  138. package/.agent-src/skills/migration-creator/SKILL.md +7 -7
  139. package/.agent-src/skills/multi-tenancy/SKILL.md +8 -8
  140. package/.agent-src/skills/performance-analysis/SKILL.md +3 -3
  141. package/.agent-src/skills/pest-testing/SKILL.md +6 -6
  142. package/.agent-src/skills/php-service/SKILL.md +2 -2
  143. package/.agent-src/skills/project-analysis-hypothesis-driven/SKILL.md +3 -3
  144. package/.agent-src/skills/project-analysis-react/SKILL.md +1 -1
  145. package/.agent-src/skills/project-analysis-symfony/SKILL.md +1 -1
  146. package/.agent-src/skills/project-analysis-zend-laminas/SKILL.md +2 -2
  147. package/.agent-src/skills/project-analyzer/SKILL.md +4 -4
  148. package/.agent-src/skills/prompt-optimizer/SKILL.md +108 -0
  149. package/.agent-src/skills/readme-reviewer/SKILL.md +1 -1
  150. package/.agent-src/skills/rule-writing/SKILL.md +33 -0
  151. package/.agent-src/skills/sentry-integration/SKILL.md +1 -1
  152. package/.agent-src/skills/skill-writing/SKILL.md +14 -0
  153. package/.agent-src/skills/terraform/SKILL.md +2 -2
  154. package/.agent-src/skills/terragrunt/SKILL.md +8 -8
  155. package/.agent-src/skills/test-performance/SKILL.md +5 -5
  156. package/.agent-src/skills/threat-modeling/SKILL.md +2 -2
  157. package/.agent-src/skills/token-optimizer/SKILL.md +110 -0
  158. package/.agent-src/skills/universal-project-analysis/SKILL.md +1 -1
  159. package/.agent-src/templates/AGENTS.md +1 -1
  160. package/.agent-src/templates/agent-settings.md +21 -16
  161. package/.agent-src/templates/contexts/tenant-boundaries.md +2 -2
  162. package/.agent-src/templates/contexts.md +1 -1
  163. package/.agent-src/templates/copilot-instructions.md +21 -0
  164. package/.agent-src/templates/copilot-review-instructions.md +76 -0
  165. package/.agent-src/templates/features.md +1 -1
  166. package/.agent-src/templates/rule.md +127 -0
  167. package/.claude-plugin/marketplace.json +4 -1
  168. package/AGENTS.md +32 -5
  169. package/CHANGELOG.md +69 -3
  170. package/README.md +22 -21
  171. package/config/agent-settings.template.yml +44 -10
  172. package/config/gitignore-block.txt +7 -0
  173. package/docs/architecture.md +86 -5
  174. package/docs/catalog.md +16 -6
  175. package/docs/contracts/agent-memory-contract.md +1 -1
  176. package/docs/contracts/context-paths.md +2 -1
  177. package/docs/contracts/file-ownership-matrix.json +354 -500
  178. package/docs/contracts/iron-law-overrides.txt +25 -0
  179. package/docs/contracts/kernel-membership.md +273 -0
  180. package/docs/contracts/load-context-schema.md +26 -11
  181. package/docs/contracts/pilot/agent-authority.md +24 -0
  182. package/docs/contracts/pilot/direct-answers.md +70 -0
  183. package/docs/contracts/pilot/language-and-tone.md +63 -0
  184. package/docs/contracts/rule-classification.md +170 -0
  185. package/docs/contracts/rule-router.md +153 -0
  186. package/docs/customization.md +17 -6
  187. package/docs/decisions/ADR-001-kernel-swap-deferred.md +109 -0
  188. package/docs/decisions/ADR-002-kernel-bucket-overrides.md +124 -0
  189. package/docs/decisions/ADR-rule-kernel-and-router.md +122 -0
  190. package/docs/getting-started.md +2 -2
  191. package/docs/guidelines/agent-infra/roadmap-progress-mechanics.md +176 -0
  192. package/docs/guidelines/agent-infra/rule-type-governance.md +73 -0
  193. package/docs/guidelines/agent-infra/size-and-scope.md +13 -2
  194. package/docs/guidelines/agent-infra/skill-quality-checklist.md +119 -0
  195. package/docs/guidelines/augment-portability-patterns.md +68 -0
  196. package/docs/guidelines/php/php-coding-patterns.md +62 -0
  197. package/package.json +1 -1
  198. package/scripts/_p43_bodies.py +235 -0
  199. package/scripts/_p43_compress.py +118 -0
  200. package/scripts/_p4_migrate.py +199 -0
  201. package/scripts/_pilot_council_question.py +57 -0
  202. package/scripts/_pilot_measure.py +53 -0
  203. package/scripts/ai_council/session.py +107 -5
  204. package/scripts/build_linear_digest.py +3 -5
  205. package/scripts/check_always_budget.py +39 -6
  206. package/scripts/check_compressed_paths.py +213 -0
  207. package/scripts/check_compression.py +15 -0
  208. package/scripts/check_context_paths.py +1 -0
  209. package/scripts/check_council_layout.py +105 -0
  210. package/scripts/check_council_references.py +145 -0
  211. package/scripts/check_portability.py +2 -0
  212. package/scripts/check_references.py +2 -0
  213. package/scripts/check_token_optimizer_freshness.py +131 -0
  214. package/scripts/compile_router.py +148 -0
  215. package/scripts/compress.py +219 -11
  216. package/scripts/council_cli.py +9 -5
  217. package/scripts/council_prune.py +81 -0
  218. package/scripts/count_token_optimizer_usage.sh +54 -0
  219. package/scripts/install.sh +44 -2
  220. package/scripts/iron_law_sha.py +98 -0
  221. package/scripts/lint_load_context.py +35 -5
  222. package/scripts/measure_rule_budget.py +314 -0
  223. package/scripts/prototype_lint_contradictions.py +150 -0
  224. package/scripts/schemas/rule.schema.json +55 -6
  225. package/scripts/skill_linter.py +196 -6
  226. package/scripts/smoke_path_resolution.py +93 -0
  227. package/scripts/validate_frontmatter.py +41 -1
  228. package/.agent-src/contexts/communication/rules-auto/artifact-engagement-recording-mechanics.md +0 -72
  229. package/.agent-src/contexts/communication/rules-auto/augment-portability-mechanics.md +0 -79
  230. package/.agent-src/contexts/communication/rules-auto/cli-output-handling-mechanics.md +0 -87
  231. package/.agent-src/contexts/communication/rules-auto/command-suggestion-policy-mechanics.md +0 -62
  232. package/.agent-src/contexts/communication/rules-auto/docs-sync-mechanics.md +0 -78
  233. package/.agent-src/contexts/communication/rules-auto/package-ci-checks-mechanics.md +0 -85
  234. package/.agent-src/contexts/communication/rules-auto/review-routing-awareness-mechanics.md +0 -65
  235. package/.agent-src/contexts/communication/rules-auto/roadmap-progress-sync-mechanics.md +0 -78
  236. package/.agent-src/contexts/communication/rules-auto/ui-audit-gate-mechanics.md +0 -53
  237. /package/{docs → .agent-src/contexts}/contracts/artifact-engagement-flow.md +0 -0
  238. /package/{docs → .agent-src/contexts}/contracts/command-suggestion-flow.md +0 -0
@@ -381,6 +381,12 @@
381
381
  "load_context": [],
382
382
  "load_context_eager": []
383
383
  },
384
+ ".agent-src.uncompressed/commands/optimize-prompt.md": {
385
+ "kind": "command",
386
+ "rule_type": null,
387
+ "load_context": [],
388
+ "load_context_eager": []
389
+ },
384
390
  ".agent-src.uncompressed/commands/optimize.md": {
385
391
  "kind": "command",
386
392
  "rule_type": null,
@@ -591,79 +597,55 @@
591
597
  "load_context": [],
592
598
  "load_context_eager": []
593
599
  },
594
- ".agent-src.uncompressed/contexts/communication/rules-auto/artifact-engagement-recording-mechanics.md": {
595
- "kind": "context",
596
- "rule_type": null,
597
- "load_context": [],
598
- "load_context_eager": []
599
- },
600
- ".agent-src.uncompressed/contexts/communication/rules-auto/augment-portability-mechanics.md": {
601
- "kind": "context",
602
- "rule_type": null,
603
- "load_context": [],
604
- "load_context_eager": []
605
- },
606
600
  ".agent-src.uncompressed/contexts/communication/rules-auto/augment-source-of-truth-mechanics.md": {
607
601
  "kind": "context",
608
602
  "rule_type": null,
609
603
  "load_context": [],
610
604
  "load_context_eager": []
611
605
  },
612
- ".agent-src.uncompressed/contexts/communication/rules-auto/cli-output-handling-mechanics.md": {
613
- "kind": "context",
614
- "rule_type": null,
615
- "load_context": [],
616
- "load_context_eager": []
617
- },
618
- ".agent-src.uncompressed/contexts/communication/rules-auto/command-suggestion-policy-mechanics.md": {
619
- "kind": "context",
620
- "rule_type": null,
621
- "load_context": [],
622
- "load_context_eager": []
623
- },
624
- ".agent-src.uncompressed/contexts/communication/rules-auto/docs-sync-mechanics.md": {
606
+ ".agent-src.uncompressed/contexts/communication/rules-auto/guidelines-mechanics.md": {
625
607
  "kind": "context",
626
608
  "rule_type": null,
627
609
  "load_context": [],
628
610
  "load_context_eager": []
629
611
  },
630
- ".agent-src.uncompressed/contexts/communication/rules-auto/package-ci-checks-mechanics.md": {
612
+ ".agent-src.uncompressed/contexts/communication/rules-auto/skill-quality-mechanics.md": {
631
613
  "kind": "context",
632
614
  "rule_type": null,
633
615
  "load_context": [],
634
616
  "load_context_eager": []
635
617
  },
636
- ".agent-src.uncompressed/contexts/communication/rules-auto/review-routing-awareness-mechanics.md": {
618
+ ".agent-src.uncompressed/contexts/communication/rules-auto/slash-command-routing-policy-mechanics.md": {
637
619
  "kind": "context",
638
620
  "rule_type": null,
639
621
  "load_context": [],
640
622
  "load_context_eager": []
641
623
  },
642
- ".agent-src.uncompressed/contexts/communication/rules-auto/roadmap-progress-sync-mechanics.md": {
624
+ ".agent-src.uncompressed/contexts/communication/rules-auto/think-before-action-mechanics.md": {
643
625
  "kind": "context",
644
626
  "rule_type": null,
645
627
  "load_context": [],
646
628
  "load_context_eager": []
647
629
  },
648
- ".agent-src.uncompressed/contexts/communication/rules-auto/skill-quality-mechanics.md": {
630
+ ".agent-src.uncompressed/contexts/communication/rules-auto/token-efficiency-mechanics.md": {
649
631
  "kind": "context",
650
632
  "rule_type": null,
651
633
  "load_context": [],
652
634
  "load_context_eager": []
653
635
  },
654
- ".agent-src.uncompressed/contexts/communication/rules-auto/slash-command-routing-policy-mechanics.md": {
636
+ ".agent-src.uncompressed/contexts/communication/rules-auto/user-interaction-mechanics.md": {
655
637
  "kind": "context",
656
638
  "rule_type": null,
657
639
  "load_context": [],
658
640
  "load_context_eager": []
659
641
  },
660
- ".agent-src.uncompressed/contexts/communication/rules-auto/ui-audit-gate-mechanics.md": {
642
+ ".agent-src.uncompressed/contexts/contracts/artifact-engagement-flow.md": {
661
643
  "kind": "context",
662
644
  "rule_type": null,
663
645
  "load_context": [],
664
646
  "load_context_eager": []
665
647
  },
666
- ".agent-src.uncompressed/contexts/communication/rules-auto/user-interaction-mechanics.md": {
648
+ ".agent-src.uncompressed/contexts/contracts/command-suggestion-flow.md": {
667
649
  "kind": "context",
668
650
  "rule_type": null,
669
651
  "load_context": [],
@@ -817,7 +799,7 @@
817
799
  "kind": "rule",
818
800
  "rule_type": "auto",
819
801
  "load_context": [
820
- ".agent-src.uncompressed/contexts/communication/rules-auto/artifact-engagement-recording-mechanics.md"
802
+ "contexts/contracts/artifact-engagement-flow.md"
821
803
  ],
822
804
  "load_context_eager": []
823
805
  },
@@ -830,16 +812,14 @@
830
812
  ".agent-src.uncompressed/rules/augment-portability.md": {
831
813
  "kind": "rule",
832
814
  "rule_type": "auto",
833
- "load_context": [
834
- ".agent-src.uncompressed/contexts/communication/rules-auto/augment-portability-mechanics.md"
835
- ],
815
+ "load_context": [],
836
816
  "load_context_eager": []
837
817
  },
838
818
  ".agent-src.uncompressed/rules/augment-source-of-truth.md": {
839
819
  "kind": "rule",
840
820
  "rule_type": "auto",
841
821
  "load_context": [
842
- ".agent-src.uncompressed/contexts/communication/rules-auto/augment-source-of-truth-mechanics.md"
822
+ "contexts/communication/rules-auto/augment-source-of-truth-mechanics.md"
843
823
  ],
844
824
  "load_context_eager": []
845
825
  },
@@ -847,9 +827,9 @@
847
827
  "kind": "rule",
848
828
  "rule_type": "auto",
849
829
  "load_context": [
850
- ".agent-src.uncompressed/contexts/execution/autonomy-detection.md",
851
- ".agent-src.uncompressed/contexts/execution/autonomy-mechanics.md",
852
- ".agent-src.uncompressed/contexts/execution/autonomy-examples.md"
830
+ "contexts/execution/autonomy-detection.md",
831
+ "contexts/execution/autonomy-mechanics.md",
832
+ "contexts/execution/autonomy-examples.md"
853
833
  ],
854
834
  "load_context_eager": []
855
835
  },
@@ -862,16 +842,14 @@
862
842
  ".agent-src.uncompressed/rules/cli-output-handling.md": {
863
843
  "kind": "rule",
864
844
  "rule_type": "auto",
865
- "load_context": [
866
- ".agent-src.uncompressed/contexts/communication/rules-auto/cli-output-handling-mechanics.md"
867
- ],
845
+ "load_context": [],
868
846
  "load_context_eager": []
869
847
  },
870
848
  ".agent-src.uncompressed/rules/command-suggestion-policy.md": {
871
849
  "kind": "rule",
872
850
  "rule_type": "auto",
873
851
  "load_context": [
874
- ".agent-src.uncompressed/contexts/communication/rules-auto/command-suggestion-policy-mechanics.md"
852
+ "contexts/contracts/command-suggestion-flow.md"
875
853
  ],
876
854
  "load_context_eager": []
877
855
  },
@@ -885,7 +863,7 @@
885
863
  "kind": "rule",
886
864
  "rule_type": "always",
887
865
  "load_context": [
888
- ".agent-src.uncompressed/contexts/authority/commit-mechanics.md"
866
+ "contexts/authority/commit-mechanics.md"
889
867
  ],
890
868
  "load_context_eager": []
891
869
  },
@@ -910,9 +888,7 @@
910
888
  ".agent-src.uncompressed/rules/docs-sync.md": {
911
889
  "kind": "rule",
912
890
  "rule_type": "auto",
913
- "load_context": [
914
- ".agent-src.uncompressed/contexts/communication/rules-auto/docs-sync-mechanics.md"
915
- ],
891
+ "load_context": [],
916
892
  "load_context_eager": []
917
893
  },
918
894
  ".agent-src.uncompressed/rules/downstream-changes.md": {
@@ -930,7 +906,9 @@
930
906
  ".agent-src.uncompressed/rules/guidelines.md": {
931
907
  "kind": "rule",
932
908
  "rule_type": "auto",
933
- "load_context": [],
909
+ "load_context": [
910
+ "contexts/communication/rules-auto/guidelines-mechanics.md"
911
+ ],
934
912
  "load_context_eager": []
935
913
  },
936
914
  ".agent-src.uncompressed/rules/improve-before-implement.md": {
@@ -987,6 +965,12 @@
987
965
  "load_context": [],
988
966
  "load_context_eager": []
989
967
  },
968
+ ".agent-src.uncompressed/rules/no-council-references.md": {
969
+ "kind": "rule",
970
+ "rule_type": "auto",
971
+ "load_context": [],
972
+ "load_context_eager": []
973
+ },
990
974
  ".agent-src.uncompressed/rules/no-roadmap-references.md": {
991
975
  "kind": "rule",
992
976
  "rule_type": "auto",
@@ -997,7 +981,7 @@
997
981
  "kind": "rule",
998
982
  "rule_type": "always",
999
983
  "load_context": [
1000
- ".agent-src.uncompressed/contexts/authority/destructive-mechanics.md"
984
+ "contexts/authority/destructive-mechanics.md"
1001
985
  ],
1002
986
  "load_context_eager": []
1003
987
  },
@@ -1010,9 +994,7 @@
1010
994
  ".agent-src.uncompressed/rules/package-ci-checks.md": {
1011
995
  "kind": "rule",
1012
996
  "rule_type": "auto",
1013
- "load_context": [
1014
- ".agent-src.uncompressed/contexts/communication/rules-auto/package-ci-checks-mechanics.md"
1015
- ],
997
+ "load_context": [],
1016
998
  "load_context_eager": []
1017
999
  },
1018
1000
  ".agent-src.uncompressed/rules/php-coding.md": {
@@ -1030,9 +1012,7 @@
1030
1012
  ".agent-src.uncompressed/rules/review-routing-awareness.md": {
1031
1013
  "kind": "rule",
1032
1014
  "rule_type": "auto",
1033
- "load_context": [
1034
- ".agent-src.uncompressed/contexts/communication/rules-auto/review-routing-awareness-mechanics.md"
1035
- ],
1015
+ "load_context": [],
1036
1016
  "load_context_eager": []
1037
1017
  },
1038
1018
  ".agent-src.uncompressed/rules/reviewer-awareness.md": {
@@ -1044,9 +1024,7 @@
1044
1024
  ".agent-src.uncompressed/rules/roadmap-progress-sync.md": {
1045
1025
  "kind": "rule",
1046
1026
  "rule_type": "auto",
1047
- "load_context": [
1048
- ".agent-src.uncompressed/contexts/communication/rules-auto/roadmap-progress-sync-mechanics.md"
1049
- ],
1027
+ "load_context": [],
1050
1028
  "load_context_eager": []
1051
1029
  },
1052
1030
  ".agent-src.uncompressed/rules/role-mode-adherence.md": {
@@ -1071,7 +1049,7 @@
1071
1049
  "kind": "rule",
1072
1050
  "rule_type": "always",
1073
1051
  "load_context": [
1074
- ".agent-src.uncompressed/contexts/authority/scope-mechanics.md"
1052
+ "contexts/authority/scope-mechanics.md"
1075
1053
  ],
1076
1054
  "load_context_eager": []
1077
1055
  },
@@ -1096,26 +1074,32 @@
1096
1074
  ".agent-src.uncompressed/rules/skill-quality.md": {
1097
1075
  "kind": "rule",
1098
1076
  "rule_type": "auto",
1099
- "load_context": [
1100
- ".agent-src.uncompressed/contexts/communication/rules-auto/skill-quality-mechanics.md"
1101
- ],
1077
+ "load_context": [],
1102
1078
  "load_context_eager": []
1103
1079
  },
1104
1080
  ".agent-src.uncompressed/rules/slash-command-routing-policy.md": {
1105
1081
  "kind": "rule",
1106
1082
  "rule_type": "auto",
1107
- "load_context": [
1108
- ".agent-src.uncompressed/contexts/communication/rules-auto/slash-command-routing-policy-mechanics.md"
1109
- ],
1083
+ "load_context": [],
1110
1084
  "load_context_eager": []
1111
1085
  },
1112
1086
  ".agent-src.uncompressed/rules/think-before-action.md": {
1113
1087
  "kind": "rule",
1114
1088
  "rule_type": "auto",
1115
- "load_context": [],
1089
+ "load_context": [
1090
+ "contexts/communication/rules-auto/think-before-action-mechanics.md"
1091
+ ],
1116
1092
  "load_context_eager": []
1117
1093
  },
1118
1094
  ".agent-src.uncompressed/rules/token-efficiency.md": {
1095
+ "kind": "rule",
1096
+ "rule_type": "auto",
1097
+ "load_context": [
1098
+ "contexts/communication/rules-auto/token-efficiency-mechanics.md"
1099
+ ],
1100
+ "load_context_eager": []
1101
+ },
1102
+ ".agent-src.uncompressed/rules/token-optimizer-maintenance.md": {
1119
1103
  "kind": "rule",
1120
1104
  "rule_type": "auto",
1121
1105
  "load_context": [],
@@ -1130,9 +1114,7 @@
1130
1114
  ".agent-src.uncompressed/rules/ui-audit-gate.md": {
1131
1115
  "kind": "rule",
1132
1116
  "rule_type": "auto",
1133
- "load_context": [
1134
- ".agent-src.uncompressed/contexts/communication/rules-auto/ui-audit-gate-mechanics.md"
1135
- ],
1117
+ "load_context": [],
1136
1118
  "load_context_eager": []
1137
1119
  },
1138
1120
  ".agent-src.uncompressed/rules/upstream-proposal.md": {
@@ -1145,7 +1127,7 @@
1145
1127
  "kind": "rule",
1146
1128
  "rule_type": "auto",
1147
1129
  "load_context": [
1148
- ".agent-src.uncompressed/contexts/communication/rules-auto/user-interaction-mechanics.md"
1130
+ "contexts/communication/rules-auto/user-interaction-mechanics.md"
1149
1131
  ],
1150
1132
  "load_context_eager": []
1151
1133
  },
@@ -1153,7 +1135,7 @@
1153
1135
  "kind": "rule",
1154
1136
  "rule_type": "always",
1155
1137
  "load_context": [
1156
- ".agent-src.uncompressed/contexts/execution/verification-mechanics.md"
1138
+ "contexts/execution/verification-mechanics.md"
1157
1139
  ],
1158
1140
  "load_context_eager": []
1159
1141
  },
@@ -1727,6 +1709,12 @@
1727
1709
  "load_context": [],
1728
1710
  "load_context_eager": []
1729
1711
  },
1712
+ ".agent-src.uncompressed/skills/prompt-optimizer/SKILL.md": {
1713
+ "kind": "skill",
1714
+ "rule_type": null,
1715
+ "load_context": [],
1716
+ "load_context_eager": []
1717
+ },
1730
1718
  ".agent-src.uncompressed/skills/quality-tools/SKILL.md": {
1731
1719
  "kind": "skill",
1732
1720
  "rule_type": null,
@@ -1913,6 +1901,12 @@
1913
1901
  "load_context": [],
1914
1902
  "load_context_eager": []
1915
1903
  },
1904
+ ".agent-src.uncompressed/skills/token-optimizer/SKILL.md": {
1905
+ "kind": "skill",
1906
+ "rule_type": null,
1907
+ "load_context": [],
1908
+ "load_context_eager": []
1909
+ },
1916
1910
  ".agent-src.uncompressed/skills/traefik/SKILL.md": {
1917
1911
  "kind": "skill",
1918
1912
  "rule_type": null,
@@ -2663,6 +2657,20 @@
2663
2657
  "via": "body_link",
2664
2658
  "depth": 1
2665
2659
  },
2660
+ {
2661
+ "source": ".agent-src.uncompressed/commands/optimize-prompt.md",
2662
+ "target": ".agent-src.uncompressed/commands/optimize-prompt.md",
2663
+ "type": "WRITE",
2664
+ "via": "self",
2665
+ "depth": 0
2666
+ },
2667
+ {
2668
+ "source": ".agent-src.uncompressed/commands/optimize-prompt.md",
2669
+ "target": ".agent-src.uncompressed/skills/prompt-optimizer/SKILL.md",
2670
+ "type": "READ_ONLY",
2671
+ "via": "body_link",
2672
+ "depth": 1
2673
+ },
2666
2674
  {
2667
2675
  "source": ".agent-src.uncompressed/commands/optimize.md",
2668
2676
  "target": ".agent-src.uncompressed/commands/optimize.md",
@@ -3202,34 +3210,6 @@
3202
3210
  "via": "body_link",
3203
3211
  "depth": 1
3204
3212
  },
3205
- {
3206
- "source": ".agent-src.uncompressed/contexts/communication/rules-auto/artifact-engagement-recording-mechanics.md",
3207
- "target": ".agent-src.uncompressed/contexts/communication/rules-auto/artifact-engagement-recording-mechanics.md",
3208
- "type": "WRITE",
3209
- "via": "self",
3210
- "depth": 0
3211
- },
3212
- {
3213
- "source": ".agent-src.uncompressed/contexts/communication/rules-auto/artifact-engagement-recording-mechanics.md",
3214
- "target": ".agent-src.uncompressed/rules/artifact-engagement-recording.md",
3215
- "type": "READ_ONLY",
3216
- "via": "body_link",
3217
- "depth": 1
3218
- },
3219
- {
3220
- "source": ".agent-src.uncompressed/contexts/communication/rules-auto/augment-portability-mechanics.md",
3221
- "target": ".agent-src.uncompressed/contexts/communication/rules-auto/augment-portability-mechanics.md",
3222
- "type": "WRITE",
3223
- "via": "self",
3224
- "depth": 0
3225
- },
3226
- {
3227
- "source": ".agent-src.uncompressed/contexts/communication/rules-auto/augment-portability-mechanics.md",
3228
- "target": ".agent-src.uncompressed/rules/augment-portability.md",
3229
- "type": "READ_ONLY",
3230
- "via": "body_link",
3231
- "depth": 1
3232
- },
3233
3213
  {
3234
3214
  "source": ".agent-src.uncompressed/contexts/communication/rules-auto/augment-source-of-truth-mechanics.md",
3235
3215
  "target": ".agent-src.uncompressed/contexts/communication/rules-auto/augment-source-of-truth-mechanics.md",
@@ -3245,166 +3225,103 @@
3245
3225
  "depth": 1
3246
3226
  },
3247
3227
  {
3248
- "source": ".agent-src.uncompressed/contexts/communication/rules-auto/cli-output-handling-mechanics.md",
3249
- "target": ".agent-src.uncompressed/contexts/communication/rules-auto/cli-output-handling-mechanics.md",
3228
+ "source": ".agent-src.uncompressed/contexts/communication/rules-auto/guidelines-mechanics.md",
3229
+ "target": ".agent-src.uncompressed/contexts/communication/rules-auto/guidelines-mechanics.md",
3250
3230
  "type": "WRITE",
3251
3231
  "via": "self",
3252
3232
  "depth": 0
3253
3233
  },
3254
3234
  {
3255
- "source": ".agent-src.uncompressed/contexts/communication/rules-auto/cli-output-handling-mechanics.md",
3256
- "target": ".agent-src.uncompressed/rules/cli-output-handling.md",
3235
+ "source": ".agent-src.uncompressed/contexts/communication/rules-auto/guidelines-mechanics.md",
3236
+ "target": ".agent-src.uncompressed/rules/guidelines.md",
3257
3237
  "type": "READ_ONLY",
3258
3238
  "via": "body_link",
3259
3239
  "depth": 1
3260
3240
  },
3261
3241
  {
3262
- "source": ".agent-src.uncompressed/contexts/communication/rules-auto/command-suggestion-policy-mechanics.md",
3263
- "target": ".agent-src.uncompressed/contexts/communication/rules-auto/command-suggestion-policy-mechanics.md",
3242
+ "source": ".agent-src.uncompressed/contexts/communication/rules-auto/skill-quality-mechanics.md",
3243
+ "target": ".agent-src.uncompressed/contexts/communication/rules-auto/skill-quality-mechanics.md",
3264
3244
  "type": "WRITE",
3265
3245
  "via": "self",
3266
3246
  "depth": 0
3267
3247
  },
3268
3248
  {
3269
- "source": ".agent-src.uncompressed/contexts/communication/rules-auto/command-suggestion-policy-mechanics.md",
3270
- "target": ".agent-src.uncompressed/rules/command-suggestion-policy.md",
3249
+ "source": ".agent-src.uncompressed/contexts/communication/rules-auto/skill-quality-mechanics.md",
3250
+ "target": ".agent-src.uncompressed/rules/skill-quality.md",
3271
3251
  "type": "READ_ONLY",
3272
3252
  "via": "body_link",
3273
3253
  "depth": 1
3274
3254
  },
3275
3255
  {
3276
- "source": ".agent-src.uncompressed/contexts/communication/rules-auto/docs-sync-mechanics.md",
3277
- "target": ".agent-src.uncompressed/contexts/communication/rules-auto/docs-sync-mechanics.md",
3256
+ "source": ".agent-src.uncompressed/contexts/communication/rules-auto/slash-command-routing-policy-mechanics.md",
3257
+ "target": ".agent-src.uncompressed/contexts/communication/rules-auto/slash-command-routing-policy-mechanics.md",
3278
3258
  "type": "WRITE",
3279
3259
  "via": "self",
3280
3260
  "depth": 0
3281
3261
  },
3282
3262
  {
3283
- "source": ".agent-src.uncompressed/contexts/communication/rules-auto/docs-sync-mechanics.md",
3284
- "target": ".agent-src.uncompressed/rules/docs-sync.md",
3285
- "type": "READ_ONLY",
3286
- "via": "body_link",
3287
- "depth": 1
3288
- },
3289
- {
3290
- "source": ".agent-src.uncompressed/contexts/communication/rules-auto/package-ci-checks-mechanics.md",
3291
- "target": ".agent-src.uncompressed/contexts/communication/rules-auto/package-ci-checks-mechanics.md",
3263
+ "source": ".agent-src.uncompressed/contexts/communication/rules-auto/think-before-action-mechanics.md",
3264
+ "target": ".agent-src.uncompressed/contexts/communication/rules-auto/think-before-action-mechanics.md",
3292
3265
  "type": "WRITE",
3293
3266
  "via": "self",
3294
3267
  "depth": 0
3295
3268
  },
3296
3269
  {
3297
- "source": ".agent-src.uncompressed/contexts/communication/rules-auto/package-ci-checks-mechanics.md",
3298
- "target": ".agent-src.uncompressed/rules/package-ci-checks.md",
3270
+ "source": ".agent-src.uncompressed/contexts/communication/rules-auto/think-before-action-mechanics.md",
3271
+ "target": ".agent-src.uncompressed/rules/think-before-action.md",
3299
3272
  "type": "READ_ONLY",
3300
3273
  "via": "body_link",
3301
3274
  "depth": 1
3302
3275
  },
3303
3276
  {
3304
- "source": ".agent-src.uncompressed/contexts/communication/rules-auto/review-routing-awareness-mechanics.md",
3305
- "target": ".agent-src.uncompressed/contexts/communication/rules-auto/review-routing-awareness-mechanics.md",
3277
+ "source": ".agent-src.uncompressed/contexts/communication/rules-auto/token-efficiency-mechanics.md",
3278
+ "target": ".agent-src.uncompressed/contexts/communication/rules-auto/token-efficiency-mechanics.md",
3306
3279
  "type": "WRITE",
3307
3280
  "via": "self",
3308
3281
  "depth": 0
3309
3282
  },
3310
3283
  {
3311
- "source": ".agent-src.uncompressed/contexts/communication/rules-auto/review-routing-awareness-mechanics.md",
3312
- "target": ".agent-src.uncompressed/rules/review-routing-awareness.md",
3313
- "type": "READ_ONLY",
3314
- "via": "body_link",
3315
- "depth": 1
3316
- },
3317
- {
3318
- "source": ".agent-src.uncompressed/contexts/communication/rules-auto/review-routing-awareness-mechanics.md",
3319
- "target": ".agent-src.uncompressed/rules/reviewer-awareness.md",
3284
+ "source": ".agent-src.uncompressed/contexts/communication/rules-auto/token-efficiency-mechanics.md",
3285
+ "target": ".agent-src.uncompressed/rules/token-efficiency.md",
3320
3286
  "type": "READ_ONLY",
3321
3287
  "via": "body_link",
3322
3288
  "depth": 1
3323
3289
  },
3324
3290
  {
3325
- "source": ".agent-src.uncompressed/contexts/communication/rules-auto/roadmap-progress-sync-mechanics.md",
3326
- "target": ".agent-src.uncompressed/contexts/communication/rules-auto/roadmap-progress-sync-mechanics.md",
3291
+ "source": ".agent-src.uncompressed/contexts/communication/rules-auto/user-interaction-mechanics.md",
3292
+ "target": ".agent-src.uncompressed/contexts/communication/rules-auto/user-interaction-mechanics.md",
3327
3293
  "type": "WRITE",
3328
3294
  "via": "self",
3329
3295
  "depth": 0
3330
3296
  },
3331
3297
  {
3332
- "source": ".agent-src.uncompressed/contexts/communication/rules-auto/roadmap-progress-sync-mechanics.md",
3333
- "target": ".agent-src.uncompressed/rules/roadmap-progress-sync.md",
3298
+ "source": ".agent-src.uncompressed/contexts/communication/rules-auto/user-interaction-mechanics.md",
3299
+ "target": ".agent-src.uncompressed/rules/language-and-tone.md",
3334
3300
  "type": "READ_ONLY",
3335
3301
  "via": "body_link",
3336
3302
  "depth": 1
3337
3303
  },
3338
3304
  {
3339
- "source": ".agent-src.uncompressed/contexts/communication/rules-auto/skill-quality-mechanics.md",
3340
- "target": ".agent-src.uncompressed/contexts/communication/rules-auto/skill-quality-mechanics.md",
3341
- "type": "WRITE",
3342
- "via": "self",
3343
- "depth": 0
3344
- },
3345
- {
3346
- "source": ".agent-src.uncompressed/contexts/communication/rules-auto/skill-quality-mechanics.md",
3347
- "target": ".agent-src.uncompressed/rules/skill-quality.md",
3305
+ "source": ".agent-src.uncompressed/contexts/communication/rules-auto/user-interaction-mechanics.md",
3306
+ "target": ".agent-src.uncompressed/rules/user-interaction.md",
3348
3307
  "type": "READ_ONLY",
3349
3308
  "via": "body_link",
3350
3309
  "depth": 1
3351
3310
  },
3352
3311
  {
3353
- "source": ".agent-src.uncompressed/contexts/communication/rules-auto/slash-command-routing-policy-mechanics.md",
3354
- "target": ".agent-src.uncompressed/contexts/communication/rules-auto/slash-command-routing-policy-mechanics.md",
3355
- "type": "WRITE",
3356
- "via": "self",
3357
- "depth": 0
3358
- },
3359
- {
3360
- "source": ".agent-src.uncompressed/contexts/communication/rules-auto/ui-audit-gate-mechanics.md",
3361
- "target": ".agent-src.uncompressed/contexts/communication/rules-auto/ui-audit-gate-mechanics.md",
3312
+ "source": ".agent-src.uncompressed/contexts/contracts/artifact-engagement-flow.md",
3313
+ "target": ".agent-src.uncompressed/contexts/contracts/artifact-engagement-flow.md",
3362
3314
  "type": "WRITE",
3363
3315
  "via": "self",
3364
3316
  "depth": 0
3365
3317
  },
3366
3318
  {
3367
- "source": ".agent-src.uncompressed/contexts/communication/rules-auto/ui-audit-gate-mechanics.md",
3368
- "target": ".agent-src.uncompressed/rules/ask-when-uncertain.md",
3369
- "type": "READ_ONLY",
3370
- "via": "body_link",
3371
- "depth": 1
3372
- },
3373
- {
3374
- "source": ".agent-src.uncompressed/contexts/communication/rules-auto/ui-audit-gate-mechanics.md",
3375
- "target": ".agent-src.uncompressed/rules/improve-before-implement.md",
3376
- "type": "READ_ONLY",
3377
- "via": "body_link",
3378
- "depth": 1
3379
- },
3380
- {
3381
- "source": ".agent-src.uncompressed/contexts/communication/rules-auto/ui-audit-gate-mechanics.md",
3382
- "target": ".agent-src.uncompressed/rules/ui-audit-gate.md",
3383
- "type": "READ_ONLY",
3384
- "via": "body_link",
3385
- "depth": 1
3386
- },
3387
- {
3388
- "source": ".agent-src.uncompressed/contexts/communication/rules-auto/ui-audit-gate-mechanics.md",
3389
- "target": ".agent-src.uncompressed/skills/existing-ui-audit/SKILL.md",
3390
- "type": "READ_ONLY",
3391
- "via": "body_link",
3392
- "depth": 1
3393
- },
3394
- {
3395
- "source": ".agent-src.uncompressed/contexts/communication/rules-auto/user-interaction-mechanics.md",
3396
- "target": ".agent-src.uncompressed/contexts/communication/rules-auto/user-interaction-mechanics.md",
3319
+ "source": ".agent-src.uncompressed/contexts/contracts/command-suggestion-flow.md",
3320
+ "target": ".agent-src.uncompressed/contexts/contracts/command-suggestion-flow.md",
3397
3321
  "type": "WRITE",
3398
3322
  "via": "self",
3399
3323
  "depth": 0
3400
3324
  },
3401
- {
3402
- "source": ".agent-src.uncompressed/contexts/communication/rules-auto/user-interaction-mechanics.md",
3403
- "target": ".agent-src.uncompressed/rules/user-interaction.md",
3404
- "type": "READ_ONLY",
3405
- "via": "body_link",
3406
- "depth": 1
3407
- },
3408
3325
  {
3409
3326
  "source": ".agent-src.uncompressed/contexts/documentation-hierarchy.md",
3410
3327
  "target": ".agent-src.uncompressed/contexts/documentation-hierarchy.md",
@@ -3496,6 +3413,13 @@
3496
3413
  "via": "self",
3497
3414
  "depth": 0
3498
3415
  },
3416
+ {
3417
+ "source": ".agent-src.uncompressed/contexts/execution/autonomy-mechanics.md",
3418
+ "target": ".agent-src.uncompressed/rules/ask-when-uncertain.md",
3419
+ "type": "READ_ONLY",
3420
+ "via": "body_link",
3421
+ "depth": 1
3422
+ },
3499
3423
  {
3500
3424
  "source": ".agent-src.uncompressed/contexts/execution/autonomy-mechanics.md",
3501
3425
  "target": ".agent-src.uncompressed/rules/autonomous-execution.md",
@@ -3503,6 +3427,13 @@
3503
3427
  "via": "body_link",
3504
3428
  "depth": 1
3505
3429
  },
3430
+ {
3431
+ "source": ".agent-src.uncompressed/contexts/execution/autonomy-mechanics.md",
3432
+ "target": ".agent-src.uncompressed/rules/commit-policy.md",
3433
+ "type": "READ_ONLY",
3434
+ "via": "body_link",
3435
+ "depth": 1
3436
+ },
3506
3437
  {
3507
3438
  "source": ".agent-src.uncompressed/contexts/execution/autonomy-mechanics.md",
3508
3439
  "target": ".agent-src.uncompressed/rules/non-destructive-by-default.md",
@@ -3510,6 +3441,20 @@
3510
3441
  "via": "body_link",
3511
3442
  "depth": 1
3512
3443
  },
3444
+ {
3445
+ "source": ".agent-src.uncompressed/contexts/execution/autonomy-mechanics.md",
3446
+ "target": ".agent-src.uncompressed/rules/scope-control.md",
3447
+ "type": "READ_ONLY",
3448
+ "via": "body_link",
3449
+ "depth": 1
3450
+ },
3451
+ {
3452
+ "source": ".agent-src.uncompressed/contexts/execution/autonomy-mechanics.md",
3453
+ "target": ".agent-src.uncompressed/rules/security-sensitive-stop.md",
3454
+ "type": "READ_ONLY",
3455
+ "via": "body_link",
3456
+ "depth": 1
3457
+ },
3513
3458
  {
3514
3459
  "source": ".agent-src.uncompressed/contexts/execution/verification-mechanics.md",
3515
3460
  "target": ".agent-src.uncompressed/contexts/execution/verification-mechanics.md",
@@ -3764,39 +3709,25 @@
3764
3709
  },
3765
3710
  {
3766
3711
  "source": ".agent-src.uncompressed/rules/artifact-engagement-recording.md",
3767
- "target": ".agent-src.uncompressed/commands/implement-ticket.md",
3768
- "type": "READ_ONLY",
3769
- "via": "body_link",
3770
- "depth": 1
3771
- },
3772
- {
3773
- "source": ".agent-src.uncompressed/rules/artifact-engagement-recording.md",
3774
- "target": ".agent-src.uncompressed/commands/work.md",
3712
+ "target": ".agent-src.uncompressed/contexts/contracts/artifact-engagement-flow.md",
3775
3713
  "type": "READ_ONLY",
3776
3714
  "via": "body_link",
3777
3715
  "depth": 1
3778
3716
  },
3779
3717
  {
3780
3718
  "source": ".agent-src.uncompressed/rules/artifact-engagement-recording.md",
3781
- "target": ".agent-src.uncompressed/contexts/communication/rules-auto/artifact-engagement-recording-mechanics.md",
3782
- "type": "READ_ONLY",
3783
- "via": "body_link",
3784
- "depth": 1
3719
+ "target": ".agent-src.uncompressed/rules/artifact-engagement-recording.md",
3720
+ "type": "WRITE",
3721
+ "via": "self",
3722
+ "depth": 0
3785
3723
  },
3786
3724
  {
3787
3725
  "source": ".agent-src.uncompressed/rules/artifact-engagement-recording.md",
3788
- "target": ".agent-src.uncompressed/contexts/communication/rules-auto/artifact-engagement-recording-mechanics.md",
3726
+ "target": "contexts/contracts/artifact-engagement-flow.md",
3789
3727
  "type": "READ_ONLY",
3790
3728
  "via": "load_context",
3791
3729
  "depth": 1
3792
3730
  },
3793
- {
3794
- "source": ".agent-src.uncompressed/rules/artifact-engagement-recording.md",
3795
- "target": ".agent-src.uncompressed/rules/artifact-engagement-recording.md",
3796
- "type": "WRITE",
3797
- "via": "self",
3798
- "depth": 0
3799
- },
3800
3731
  {
3801
3732
  "source": ".agent-src.uncompressed/rules/ask-when-uncertain.md",
3802
3733
  "target": ".agent-src.uncompressed/rules/artifact-drafting-protocol.md",
@@ -3819,19 +3750,12 @@
3819
3750
  "depth": 1
3820
3751
  },
3821
3752
  {
3822
- "source": ".agent-src.uncompressed/rules/augment-portability.md",
3823
- "target": ".agent-src.uncompressed/contexts/communication/rules-auto/augment-portability-mechanics.md",
3753
+ "source": ".agent-src.uncompressed/rules/ask-when-uncertain.md",
3754
+ "target": ".agent-src.uncompressed/rules/user-interaction.md",
3824
3755
  "type": "READ_ONLY",
3825
3756
  "via": "body_link",
3826
3757
  "depth": 1
3827
3758
  },
3828
- {
3829
- "source": ".agent-src.uncompressed/rules/augment-portability.md",
3830
- "target": ".agent-src.uncompressed/contexts/communication/rules-auto/augment-portability-mechanics.md",
3831
- "type": "READ_ONLY",
3832
- "via": "load_context",
3833
- "depth": 1
3834
- },
3835
3759
  {
3836
3760
  "source": ".agent-src.uncompressed/rules/augment-portability.md",
3837
3761
  "target": ".agent-src.uncompressed/rules/augment-portability.md",
@@ -3846,13 +3770,6 @@
3846
3770
  "via": "body_link",
3847
3771
  "depth": 1
3848
3772
  },
3849
- {
3850
- "source": ".agent-src.uncompressed/rules/augment-source-of-truth.md",
3851
- "target": ".agent-src.uncompressed/contexts/communication/rules-auto/augment-source-of-truth-mechanics.md",
3852
- "type": "READ_ONLY",
3853
- "via": "load_context",
3854
- "depth": 1
3855
- },
3856
3773
  {
3857
3774
  "source": ".agent-src.uncompressed/rules/augment-source-of-truth.md",
3858
3775
  "target": ".agent-src.uncompressed/rules/augment-source-of-truth.md",
@@ -3861,22 +3778,22 @@
3861
3778
  "depth": 0
3862
3779
  },
3863
3780
  {
3864
- "source": ".agent-src.uncompressed/rules/autonomous-execution.md",
3865
- "target": ".agent-src.uncompressed/commands/commit.md",
3781
+ "source": ".agent-src.uncompressed/rules/augment-source-of-truth.md",
3782
+ "target": "contexts/communication/rules-auto/augment-source-of-truth-mechanics.md",
3866
3783
  "type": "READ_ONLY",
3867
- "via": "body_link",
3784
+ "via": "load_context",
3868
3785
  "depth": 1
3869
3786
  },
3870
3787
  {
3871
3788
  "source": ".agent-src.uncompressed/rules/autonomous-execution.md",
3872
- "target": ".agent-src.uncompressed/commands/commit/in-chunks.md",
3789
+ "target": ".agent-src.uncompressed/commands/commit.md",
3873
3790
  "type": "READ_ONLY",
3874
3791
  "via": "body_link",
3875
3792
  "depth": 1
3876
3793
  },
3877
3794
  {
3878
3795
  "source": ".agent-src.uncompressed/rules/autonomous-execution.md",
3879
- "target": ".agent-src.uncompressed/contexts/execution/autonomy-detection.md",
3796
+ "target": ".agent-src.uncompressed/commands/commit/in-chunks.md",
3880
3797
  "type": "READ_ONLY",
3881
3798
  "via": "body_link",
3882
3799
  "depth": 1
@@ -3885,13 +3802,6 @@
3885
3802
  "source": ".agent-src.uncompressed/rules/autonomous-execution.md",
3886
3803
  "target": ".agent-src.uncompressed/contexts/execution/autonomy-detection.md",
3887
3804
  "type": "READ_ONLY",
3888
- "via": "load_context",
3889
- "depth": 1
3890
- },
3891
- {
3892
- "source": ".agent-src.uncompressed/rules/autonomous-execution.md",
3893
- "target": ".agent-src.uncompressed/contexts/execution/autonomy-examples.md",
3894
- "type": "READ_ONLY",
3895
3805
  "via": "body_link",
3896
3806
  "depth": 1
3897
3807
  },
@@ -3899,13 +3809,6 @@
3899
3809
  "source": ".agent-src.uncompressed/rules/autonomous-execution.md",
3900
3810
  "target": ".agent-src.uncompressed/contexts/execution/autonomy-examples.md",
3901
3811
  "type": "READ_ONLY",
3902
- "via": "load_context",
3903
- "depth": 1
3904
- },
3905
- {
3906
- "source": ".agent-src.uncompressed/rules/autonomous-execution.md",
3907
- "target": ".agent-src.uncompressed/contexts/execution/autonomy-mechanics.md",
3908
- "type": "READ_ONLY",
3909
3812
  "via": "body_link",
3910
3813
  "depth": 1
3911
3814
  },
@@ -3913,7 +3816,7 @@
3913
3816
  "source": ".agent-src.uncompressed/rules/autonomous-execution.md",
3914
3817
  "target": ".agent-src.uncompressed/contexts/execution/autonomy-mechanics.md",
3915
3818
  "type": "READ_ONLY",
3916
- "via": "load_context",
3819
+ "via": "body_link",
3917
3820
  "depth": 1
3918
3821
  },
3919
3822
  {
@@ -3937,13 +3840,6 @@
3937
3840
  "via": "body_link",
3938
3841
  "depth": 1
3939
3842
  },
3940
- {
3941
- "source": ".agent-src.uncompressed/rules/autonomous-execution.md",
3942
- "target": ".agent-src.uncompressed/rules/direct-answers.md",
3943
- "type": "READ_ONLY",
3944
- "via": "body_link",
3945
- "depth": 1
3946
- },
3947
3843
  {
3948
3844
  "source": ".agent-src.uncompressed/rules/autonomous-execution.md",
3949
3845
  "target": ".agent-src.uncompressed/rules/no-cheap-questions.md",
@@ -3967,32 +3863,32 @@
3967
3863
  },
3968
3864
  {
3969
3865
  "source": ".agent-src.uncompressed/rules/autonomous-execution.md",
3970
- "target": ".agent-src.uncompressed/rules/security-sensitive-stop.md",
3866
+ "target": "contexts/execution/autonomy-detection.md",
3971
3867
  "type": "READ_ONLY",
3972
- "via": "body_link",
3868
+ "via": "load_context",
3973
3869
  "depth": 1
3974
3870
  },
3975
3871
  {
3976
- "source": ".agent-src.uncompressed/rules/capture-learnings.md",
3977
- "target": ".agent-src.uncompressed/rules/capture-learnings.md",
3978
- "type": "WRITE",
3979
- "via": "self",
3980
- "depth": 0
3981
- },
3982
- {
3983
- "source": ".agent-src.uncompressed/rules/cli-output-handling.md",
3984
- "target": ".agent-src.uncompressed/contexts/communication/rules-auto/cli-output-handling-mechanics.md",
3872
+ "source": ".agent-src.uncompressed/rules/autonomous-execution.md",
3873
+ "target": "contexts/execution/autonomy-examples.md",
3985
3874
  "type": "READ_ONLY",
3986
- "via": "body_link",
3875
+ "via": "load_context",
3987
3876
  "depth": 1
3988
3877
  },
3989
3878
  {
3990
- "source": ".agent-src.uncompressed/rules/cli-output-handling.md",
3991
- "target": ".agent-src.uncompressed/contexts/communication/rules-auto/cli-output-handling-mechanics.md",
3879
+ "source": ".agent-src.uncompressed/rules/autonomous-execution.md",
3880
+ "target": "contexts/execution/autonomy-mechanics.md",
3992
3881
  "type": "READ_ONLY",
3993
3882
  "via": "load_context",
3994
3883
  "depth": 1
3995
3884
  },
3885
+ {
3886
+ "source": ".agent-src.uncompressed/rules/capture-learnings.md",
3887
+ "target": ".agent-src.uncompressed/rules/capture-learnings.md",
3888
+ "type": "WRITE",
3889
+ "via": "self",
3890
+ "depth": 0
3891
+ },
3996
3892
  {
3997
3893
  "source": ".agent-src.uncompressed/rules/cli-output-handling.md",
3998
3894
  "target": ".agent-src.uncompressed/rules/cli-output-handling.md",
@@ -4002,18 +3898,11 @@
4002
3898
  },
4003
3899
  {
4004
3900
  "source": ".agent-src.uncompressed/rules/command-suggestion-policy.md",
4005
- "target": ".agent-src.uncompressed/contexts/communication/rules-auto/command-suggestion-policy-mechanics.md",
3901
+ "target": ".agent-src.uncompressed/contexts/contracts/command-suggestion-flow.md",
4006
3902
  "type": "READ_ONLY",
4007
3903
  "via": "body_link",
4008
3904
  "depth": 1
4009
3905
  },
4010
- {
4011
- "source": ".agent-src.uncompressed/rules/command-suggestion-policy.md",
4012
- "target": ".agent-src.uncompressed/contexts/communication/rules-auto/command-suggestion-policy-mechanics.md",
4013
- "type": "READ_ONLY",
4014
- "via": "load_context",
4015
- "depth": 1
4016
- },
4017
3906
  {
4018
3907
  "source": ".agent-src.uncompressed/rules/command-suggestion-policy.md",
4019
3908
  "target": ".agent-src.uncompressed/rules/ask-when-uncertain.md",
@@ -4044,16 +3933,16 @@
4044
3933
  },
4045
3934
  {
4046
3935
  "source": ".agent-src.uncompressed/rules/command-suggestion-policy.md",
4047
- "target": ".agent-src.uncompressed/rules/slash-command-routing-policy.md",
3936
+ "target": ".agent-src.uncompressed/rules/verify-before-complete.md",
4048
3937
  "type": "READ_ONLY",
4049
3938
  "via": "body_link",
4050
3939
  "depth": 1
4051
3940
  },
4052
3941
  {
4053
3942
  "source": ".agent-src.uncompressed/rules/command-suggestion-policy.md",
4054
- "target": ".agent-src.uncompressed/rules/user-interaction.md",
3943
+ "target": "contexts/contracts/command-suggestion-flow.md",
4055
3944
  "type": "READ_ONLY",
4056
- "via": "body_link",
3945
+ "via": "load_context",
4057
3946
  "depth": 1
4058
3947
  },
4059
3948
  {
@@ -4084,13 +3973,6 @@
4084
3973
  "via": "body_link",
4085
3974
  "depth": 1
4086
3975
  },
4087
- {
4088
- "source": ".agent-src.uncompressed/rules/commit-policy.md",
4089
- "target": ".agent-src.uncompressed/contexts/authority/commit-mechanics.md",
4090
- "type": "READ_ONLY",
4091
- "via": "load_context",
4092
- "depth": 1
4093
- },
4094
3976
  {
4095
3977
  "source": ".agent-src.uncompressed/rules/commit-policy.md",
4096
3978
  "target": ".agent-src.uncompressed/rules/autonomous-execution.md",
@@ -4119,6 +4001,13 @@
4119
4001
  "via": "body_link",
4120
4002
  "depth": 1
4121
4003
  },
4004
+ {
4005
+ "source": ".agent-src.uncompressed/rules/commit-policy.md",
4006
+ "target": "contexts/authority/commit-mechanics.md",
4007
+ "type": "READ_ONLY",
4008
+ "via": "load_context",
4009
+ "depth": 1
4010
+ },
4122
4011
  {
4123
4012
  "source": ".agent-src.uncompressed/rules/context-hygiene.md",
4124
4013
  "target": ".agent-src.uncompressed/rules/context-hygiene.md",
@@ -4140,20 +4029,6 @@
4140
4029
  "via": "self",
4141
4030
  "depth": 0
4142
4031
  },
4143
- {
4144
- "source": ".agent-src.uncompressed/rules/docs-sync.md",
4145
- "target": ".agent-src.uncompressed/contexts/communication/rules-auto/docs-sync-mechanics.md",
4146
- "type": "READ_ONLY",
4147
- "via": "body_link",
4148
- "depth": 1
4149
- },
4150
- {
4151
- "source": ".agent-src.uncompressed/rules/docs-sync.md",
4152
- "target": ".agent-src.uncompressed/contexts/communication/rules-auto/docs-sync-mechanics.md",
4153
- "type": "READ_ONLY",
4154
- "via": "load_context",
4155
- "depth": 1
4156
- },
4157
4032
  {
4158
4033
  "source": ".agent-src.uncompressed/rules/docs-sync.md",
4159
4034
  "target": ".agent-src.uncompressed/rules/docs-sync.md",
@@ -4175,6 +4050,13 @@
4175
4050
  "via": "self",
4176
4051
  "depth": 0
4177
4052
  },
4053
+ {
4054
+ "source": ".agent-src.uncompressed/rules/guidelines.md",
4055
+ "target": ".agent-src.uncompressed/contexts/communication/rules-auto/guidelines-mechanics.md",
4056
+ "type": "READ_ONLY",
4057
+ "via": "body_link",
4058
+ "depth": 1
4059
+ },
4178
4060
  {
4179
4061
  "source": ".agent-src.uncompressed/rules/guidelines.md",
4180
4062
  "target": ".agent-src.uncompressed/rules/guidelines.md",
@@ -4182,6 +4064,13 @@
4182
4064
  "via": "self",
4183
4065
  "depth": 0
4184
4066
  },
4067
+ {
4068
+ "source": ".agent-src.uncompressed/rules/guidelines.md",
4069
+ "target": "contexts/communication/rules-auto/guidelines-mechanics.md",
4070
+ "type": "READ_ONLY",
4071
+ "via": "load_context",
4072
+ "depth": 1
4073
+ },
4185
4074
  {
4186
4075
  "source": ".agent-src.uncompressed/rules/improve-before-implement.md",
4187
4076
  "target": ".agent-src.uncompressed/rules/artifact-drafting-protocol.md",
@@ -4343,6 +4232,34 @@
4343
4232
  "via": "body_link",
4344
4233
  "depth": 1
4345
4234
  },
4235
+ {
4236
+ "source": ".agent-src.uncompressed/rules/no-council-references.md",
4237
+ "target": ".agent-src.uncompressed/rules/augment-source-of-truth.md",
4238
+ "type": "READ_ONLY",
4239
+ "via": "body_link",
4240
+ "depth": 1
4241
+ },
4242
+ {
4243
+ "source": ".agent-src.uncompressed/rules/no-council-references.md",
4244
+ "target": ".agent-src.uncompressed/rules/no-council-references.md",
4245
+ "type": "WRITE",
4246
+ "via": "self",
4247
+ "depth": 0
4248
+ },
4249
+ {
4250
+ "source": ".agent-src.uncompressed/rules/no-council-references.md",
4251
+ "target": ".agent-src.uncompressed/rules/no-roadmap-references.md",
4252
+ "type": "READ_ONLY",
4253
+ "via": "body_link",
4254
+ "depth": 1
4255
+ },
4256
+ {
4257
+ "source": ".agent-src.uncompressed/rules/no-council-references.md",
4258
+ "target": ".agent-src.uncompressed/skills/ai-council/SKILL.md",
4259
+ "type": "READ_ONLY",
4260
+ "via": "body_link",
4261
+ "depth": 1
4262
+ },
4346
4263
  {
4347
4264
  "source": ".agent-src.uncompressed/rules/no-roadmap-references.md",
4348
4265
  "target": ".agent-src.uncompressed/rules/agent-docs.md",
@@ -4385,13 +4302,6 @@
4385
4302
  "via": "body_link",
4386
4303
  "depth": 1
4387
4304
  },
4388
- {
4389
- "source": ".agent-src.uncompressed/rules/non-destructive-by-default.md",
4390
- "target": ".agent-src.uncompressed/contexts/authority/destructive-mechanics.md",
4391
- "type": "READ_ONLY",
4392
- "via": "load_context",
4393
- "depth": 1
4394
- },
4395
4305
  {
4396
4306
  "source": ".agent-src.uncompressed/rules/non-destructive-by-default.md",
4397
4307
  "target": ".agent-src.uncompressed/rules/autonomous-execution.md",
@@ -4428,10 +4338,10 @@
4428
4338
  "depth": 1
4429
4339
  },
4430
4340
  {
4431
- "source": ".agent-src.uncompressed/rules/onboarding-gate.md",
4432
- "target": ".agent-src.uncompressed/commands/onboard.md",
4341
+ "source": ".agent-src.uncompressed/rules/non-destructive-by-default.md",
4342
+ "target": "contexts/authority/destructive-mechanics.md",
4433
4343
  "type": "READ_ONLY",
4434
- "via": "body_link",
4344
+ "via": "load_context",
4435
4345
  "depth": 1
4436
4346
  },
4437
4347
  {
@@ -4441,27 +4351,6 @@
4441
4351
  "via": "self",
4442
4352
  "depth": 0
4443
4353
  },
4444
- {
4445
- "source": ".agent-src.uncompressed/rules/onboarding-gate.md",
4446
- "target": ".agent-src.uncompressed/rules/rule-type-governance.md",
4447
- "type": "READ_ONLY",
4448
- "via": "body_link",
4449
- "depth": 1
4450
- },
4451
- {
4452
- "source": ".agent-src.uncompressed/rules/package-ci-checks.md",
4453
- "target": ".agent-src.uncompressed/contexts/communication/rules-auto/package-ci-checks-mechanics.md",
4454
- "type": "READ_ONLY",
4455
- "via": "body_link",
4456
- "depth": 1
4457
- },
4458
- {
4459
- "source": ".agent-src.uncompressed/rules/package-ci-checks.md",
4460
- "target": ".agent-src.uncompressed/contexts/communication/rules-auto/package-ci-checks-mechanics.md",
4461
- "type": "READ_ONLY",
4462
- "via": "load_context",
4463
- "depth": 1
4464
- },
4465
4354
  {
4466
4355
  "source": ".agent-src.uncompressed/rules/package-ci-checks.md",
4467
4356
  "target": ".agent-src.uncompressed/rules/package-ci-checks.md",
@@ -4483,27 +4372,6 @@
4483
4372
  "via": "self",
4484
4373
  "depth": 0
4485
4374
  },
4486
- {
4487
- "source": ".agent-src.uncompressed/rules/review-routing-awareness.md",
4488
- "target": ".agent-src.uncompressed/contexts/communication/rules-auto/review-routing-awareness-mechanics.md",
4489
- "type": "READ_ONLY",
4490
- "via": "body_link",
4491
- "depth": 1
4492
- },
4493
- {
4494
- "source": ".agent-src.uncompressed/rules/review-routing-awareness.md",
4495
- "target": ".agent-src.uncompressed/contexts/communication/rules-auto/review-routing-awareness-mechanics.md",
4496
- "type": "READ_ONLY",
4497
- "via": "load_context",
4498
- "depth": 1
4499
- },
4500
- {
4501
- "source": ".agent-src.uncompressed/rules/review-routing-awareness.md",
4502
- "target": ".agent-src.uncompressed/rules/minimal-safe-diff.md",
4503
- "type": "READ_ONLY",
4504
- "via": "body_link",
4505
- "depth": 1
4506
- },
4507
4375
  {
4508
4376
  "source": ".agent-src.uncompressed/rules/review-routing-awareness.md",
4509
4377
  "target": ".agent-src.uncompressed/rules/review-routing-awareness.md",
@@ -4511,41 +4379,6 @@
4511
4379
  "via": "self",
4512
4380
  "depth": 0
4513
4381
  },
4514
- {
4515
- "source": ".agent-src.uncompressed/rules/review-routing-awareness.md",
4516
- "target": ".agent-src.uncompressed/rules/reviewer-awareness.md",
4517
- "type": "READ_ONLY",
4518
- "via": "body_link",
4519
- "depth": 1
4520
- },
4521
- {
4522
- "source": ".agent-src.uncompressed/rules/review-routing-awareness.md",
4523
- "target": ".agent-src.uncompressed/rules/verify-before-complete.md",
4524
- "type": "READ_ONLY",
4525
- "via": "body_link",
4526
- "depth": 1
4527
- },
4528
- {
4529
- "source": ".agent-src.uncompressed/rules/review-routing-awareness.md",
4530
- "target": ".agent-src.uncompressed/skills/judge-test-coverage/SKILL.md",
4531
- "type": "READ_ONLY",
4532
- "via": "body_link",
4533
- "depth": 1
4534
- },
4535
- {
4536
- "source": ".agent-src.uncompressed/rules/review-routing-awareness.md",
4537
- "target": ".agent-src.uncompressed/skills/review-routing/SKILL.md",
4538
- "type": "READ_ONLY",
4539
- "via": "body_link",
4540
- "depth": 1
4541
- },
4542
- {
4543
- "source": ".agent-src.uncompressed/rules/reviewer-awareness.md",
4544
- "target": ".agent-src.uncompressed/rules/review-routing-awareness.md",
4545
- "type": "READ_ONLY",
4546
- "via": "body_link",
4547
- "depth": 1
4548
- },
4549
4382
  {
4550
4383
  "source": ".agent-src.uncompressed/rules/reviewer-awareness.md",
4551
4384
  "target": ".agent-src.uncompressed/rules/reviewer-awareness.md",
@@ -4553,34 +4386,6 @@
4553
4386
  "via": "self",
4554
4387
  "depth": 0
4555
4388
  },
4556
- {
4557
- "source": ".agent-src.uncompressed/rules/reviewer-awareness.md",
4558
- "target": ".agent-src.uncompressed/skills/requesting-code-review/SKILL.md",
4559
- "type": "READ_ONLY",
4560
- "via": "body_link",
4561
- "depth": 1
4562
- },
4563
- {
4564
- "source": ".agent-src.uncompressed/rules/reviewer-awareness.md",
4565
- "target": ".agent-src.uncompressed/skills/review-routing/SKILL.md",
4566
- "type": "READ_ONLY",
4567
- "via": "body_link",
4568
- "depth": 1
4569
- },
4570
- {
4571
- "source": ".agent-src.uncompressed/rules/roadmap-progress-sync.md",
4572
- "target": ".agent-src.uncompressed/contexts/communication/rules-auto/roadmap-progress-sync-mechanics.md",
4573
- "type": "READ_ONLY",
4574
- "via": "body_link",
4575
- "depth": 1
4576
- },
4577
- {
4578
- "source": ".agent-src.uncompressed/rules/roadmap-progress-sync.md",
4579
- "target": ".agent-src.uncompressed/contexts/communication/rules-auto/roadmap-progress-sync-mechanics.md",
4580
- "type": "READ_ONLY",
4581
- "via": "load_context",
4582
- "depth": 1
4583
- },
4584
4389
  {
4585
4390
  "source": ".agent-src.uncompressed/rules/roadmap-progress-sync.md",
4586
4391
  "target": ".agent-src.uncompressed/rules/roadmap-progress-sync.md",
@@ -4644,13 +4449,6 @@
4644
4449
  "via": "body_link",
4645
4450
  "depth": 1
4646
4451
  },
4647
- {
4648
- "source": ".agent-src.uncompressed/rules/scope-control.md",
4649
- "target": ".agent-src.uncompressed/contexts/authority/scope-mechanics.md",
4650
- "type": "READ_ONLY",
4651
- "via": "load_context",
4652
- "depth": 1
4653
- },
4654
4452
  {
4655
4453
  "source": ".agent-src.uncompressed/rules/scope-control.md",
4656
4454
  "target": ".agent-src.uncompressed/rules/commit-policy.md",
@@ -4672,6 +4470,13 @@
4672
4470
  "via": "self",
4673
4471
  "depth": 0
4674
4472
  },
4473
+ {
4474
+ "source": ".agent-src.uncompressed/rules/scope-control.md",
4475
+ "target": "contexts/authority/scope-mechanics.md",
4476
+ "type": "READ_ONLY",
4477
+ "via": "load_context",
4478
+ "depth": 1
4479
+ },
4675
4480
  {
4676
4481
  "source": ".agent-src.uncompressed/rules/security-sensitive-stop.md",
4677
4482
  "target": ".agent-src.uncompressed/rules/security-sensitive-stop.md",
@@ -4695,67 +4500,46 @@
4695
4500
  },
4696
4501
  {
4697
4502
  "source": ".agent-src.uncompressed/rules/skill-quality.md",
4698
- "target": ".agent-src.uncompressed/contexts/communication/rules-auto/skill-quality-mechanics.md",
4699
- "type": "READ_ONLY",
4700
- "via": "body_link",
4701
- "depth": 1
4503
+ "target": ".agent-src.uncompressed/rules/skill-quality.md",
4504
+ "type": "WRITE",
4505
+ "via": "self",
4506
+ "depth": 0
4702
4507
  },
4703
4508
  {
4704
- "source": ".agent-src.uncompressed/rules/skill-quality.md",
4705
- "target": ".agent-src.uncompressed/contexts/communication/rules-auto/skill-quality-mechanics.md",
4706
- "type": "READ_ONLY",
4707
- "via": "load_context",
4708
- "depth": 1
4509
+ "source": ".agent-src.uncompressed/rules/slash-command-routing-policy.md",
4510
+ "target": ".agent-src.uncompressed/rules/slash-command-routing-policy.md",
4511
+ "type": "WRITE",
4512
+ "via": "self",
4513
+ "depth": 0
4709
4514
  },
4710
4515
  {
4711
- "source": ".agent-src.uncompressed/rules/skill-quality.md",
4712
- "target": ".agent-src.uncompressed/rules/direct-answers.md",
4516
+ "source": ".agent-src.uncompressed/rules/think-before-action.md",
4517
+ "target": ".agent-src.uncompressed/contexts/communication/rules-auto/think-before-action-mechanics.md",
4713
4518
  "type": "READ_ONLY",
4714
4519
  "via": "body_link",
4715
4520
  "depth": 1
4716
4521
  },
4717
4522
  {
4718
- "source": ".agent-src.uncompressed/rules/skill-quality.md",
4719
- "target": ".agent-src.uncompressed/rules/skill-quality.md",
4523
+ "source": ".agent-src.uncompressed/rules/think-before-action.md",
4524
+ "target": ".agent-src.uncompressed/rules/think-before-action.md",
4720
4525
  "type": "WRITE",
4721
4526
  "via": "self",
4722
4527
  "depth": 0
4723
4528
  },
4724
4529
  {
4725
- "source": ".agent-src.uncompressed/rules/skill-quality.md",
4726
- "target": ".agent-src.uncompressed/rules/tool-safety.md",
4727
- "type": "READ_ONLY",
4728
- "via": "body_link",
4729
- "depth": 1
4730
- },
4731
- {
4732
- "source": ".agent-src.uncompressed/rules/slash-command-routing-policy.md",
4733
- "target": ".agent-src.uncompressed/contexts/communication/rules-auto/slash-command-routing-policy-mechanics.md",
4530
+ "source": ".agent-src.uncompressed/rules/think-before-action.md",
4531
+ "target": "contexts/communication/rules-auto/think-before-action-mechanics.md",
4734
4532
  "type": "READ_ONLY",
4735
4533
  "via": "load_context",
4736
4534
  "depth": 1
4737
4535
  },
4738
4536
  {
4739
- "source": ".agent-src.uncompressed/rules/slash-command-routing-policy.md",
4740
- "target": ".agent-src.uncompressed/rules/ask-when-uncertain.md",
4537
+ "source": ".agent-src.uncompressed/rules/token-efficiency.md",
4538
+ "target": ".agent-src.uncompressed/contexts/communication/rules-auto/token-efficiency-mechanics.md",
4741
4539
  "type": "READ_ONLY",
4742
4540
  "via": "body_link",
4743
4541
  "depth": 1
4744
4542
  },
4745
- {
4746
- "source": ".agent-src.uncompressed/rules/slash-command-routing-policy.md",
4747
- "target": ".agent-src.uncompressed/rules/slash-command-routing-policy.md",
4748
- "type": "WRITE",
4749
- "via": "self",
4750
- "depth": 0
4751
- },
4752
- {
4753
- "source": ".agent-src.uncompressed/rules/think-before-action.md",
4754
- "target": ".agent-src.uncompressed/rules/think-before-action.md",
4755
- "type": "WRITE",
4756
- "via": "self",
4757
- "depth": 0
4758
- },
4759
4543
  {
4760
4544
  "source": ".agent-src.uncompressed/rules/token-efficiency.md",
4761
4545
  "target": ".agent-src.uncompressed/rules/token-efficiency.md",
@@ -4764,39 +4548,32 @@
4764
4548
  "depth": 0
4765
4549
  },
4766
4550
  {
4767
- "source": ".agent-src.uncompressed/rules/tool-safety.md",
4768
- "target": ".agent-src.uncompressed/rules/tool-safety.md",
4769
- "type": "WRITE",
4770
- "via": "self",
4771
- "depth": 0
4772
- },
4773
- {
4774
- "source": ".agent-src.uncompressed/rules/ui-audit-gate.md",
4775
- "target": ".agent-src.uncompressed/commands/implement-ticket.md",
4551
+ "source": ".agent-src.uncompressed/rules/token-efficiency.md",
4552
+ "target": "contexts/communication/rules-auto/token-efficiency-mechanics.md",
4776
4553
  "type": "READ_ONLY",
4777
- "via": "body_link",
4554
+ "via": "load_context",
4778
4555
  "depth": 1
4779
4556
  },
4780
4557
  {
4781
- "source": ".agent-src.uncompressed/rules/ui-audit-gate.md",
4782
- "target": ".agent-src.uncompressed/commands/work.md",
4783
- "type": "READ_ONLY",
4784
- "via": "body_link",
4785
- "depth": 1
4558
+ "source": ".agent-src.uncompressed/rules/token-optimizer-maintenance.md",
4559
+ "target": ".agent-src.uncompressed/rules/token-optimizer-maintenance.md",
4560
+ "type": "WRITE",
4561
+ "via": "self",
4562
+ "depth": 0
4786
4563
  },
4787
4564
  {
4788
- "source": ".agent-src.uncompressed/rules/ui-audit-gate.md",
4789
- "target": ".agent-src.uncompressed/contexts/communication/rules-auto/ui-audit-gate-mechanics.md",
4565
+ "source": ".agent-src.uncompressed/rules/token-optimizer-maintenance.md",
4566
+ "target": ".agent-src.uncompressed/skills/token-optimizer/SKILL.md",
4790
4567
  "type": "READ_ONLY",
4791
4568
  "via": "body_link",
4792
4569
  "depth": 1
4793
4570
  },
4794
4571
  {
4795
- "source": ".agent-src.uncompressed/rules/ui-audit-gate.md",
4796
- "target": ".agent-src.uncompressed/contexts/communication/rules-auto/ui-audit-gate-mechanics.md",
4797
- "type": "READ_ONLY",
4798
- "via": "load_context",
4799
- "depth": 1
4572
+ "source": ".agent-src.uncompressed/rules/tool-safety.md",
4573
+ "target": ".agent-src.uncompressed/rules/tool-safety.md",
4574
+ "type": "WRITE",
4575
+ "via": "self",
4576
+ "depth": 0
4800
4577
  },
4801
4578
  {
4802
4579
  "source": ".agent-src.uncompressed/rules/ui-audit-gate.md",
@@ -4826,20 +4603,6 @@
4826
4603
  "via": "body_link",
4827
4604
  "depth": 1
4828
4605
  },
4829
- {
4830
- "source": ".agent-src.uncompressed/rules/user-interaction.md",
4831
- "target": ".agent-src.uncompressed/contexts/communication/rules-auto/user-interaction-mechanics.md",
4832
- "type": "READ_ONLY",
4833
- "via": "load_context",
4834
- "depth": 1
4835
- },
4836
- {
4837
- "source": ".agent-src.uncompressed/rules/user-interaction.md",
4838
- "target": ".agent-src.uncompressed/rules/language-and-tone.md",
4839
- "type": "READ_ONLY",
4840
- "via": "body_link",
4841
- "depth": 1
4842
- },
4843
4606
  {
4844
4607
  "source": ".agent-src.uncompressed/rules/user-interaction.md",
4845
4608
  "target": ".agent-src.uncompressed/rules/user-interaction.md",
@@ -4848,17 +4611,17 @@
4848
4611
  "depth": 0
4849
4612
  },
4850
4613
  {
4851
- "source": ".agent-src.uncompressed/rules/verify-before-complete.md",
4852
- "target": ".agent-src.uncompressed/contexts/execution/verification-mechanics.md",
4614
+ "source": ".agent-src.uncompressed/rules/user-interaction.md",
4615
+ "target": "contexts/communication/rules-auto/user-interaction-mechanics.md",
4853
4616
  "type": "READ_ONLY",
4854
- "via": "body_link",
4617
+ "via": "load_context",
4855
4618
  "depth": 1
4856
4619
  },
4857
4620
  {
4858
4621
  "source": ".agent-src.uncompressed/rules/verify-before-complete.md",
4859
4622
  "target": ".agent-src.uncompressed/contexts/execution/verification-mechanics.md",
4860
4623
  "type": "READ_ONLY",
4861
- "via": "load_context",
4624
+ "via": "body_link",
4862
4625
  "depth": 1
4863
4626
  },
4864
4627
  {
@@ -4868,6 +4631,13 @@
4868
4631
  "via": "self",
4869
4632
  "depth": 0
4870
4633
  },
4634
+ {
4635
+ "source": ".agent-src.uncompressed/rules/verify-before-complete.md",
4636
+ "target": "contexts/execution/verification-mechanics.md",
4637
+ "type": "READ_ONLY",
4638
+ "via": "load_context",
4639
+ "depth": 1
4640
+ },
4871
4641
  {
4872
4642
  "source": ".agent-src.uncompressed/skills/adversarial-review/SKILL.md",
4873
4643
  "target": ".agent-src.uncompressed/skills/adversarial-review/SKILL.md",
@@ -4882,6 +4652,13 @@
4882
4652
  "via": "self",
4883
4653
  "depth": 0
4884
4654
  },
4655
+ {
4656
+ "source": ".agent-src.uncompressed/skills/ai-council/SKILL.md",
4657
+ "target": ".agent-src.uncompressed/rules/no-council-references.md",
4658
+ "type": "READ_ONLY",
4659
+ "via": "body_link",
4660
+ "depth": 1
4661
+ },
4885
4662
  {
4886
4663
  "source": ".agent-src.uncompressed/skills/ai-council/SKILL.md",
4887
4664
  "target": ".agent-src.uncompressed/skills/ai-council/SKILL.md",
@@ -6163,6 +5940,41 @@
6163
5940
  "via": "self",
6164
5941
  "depth": 0
6165
5942
  },
5943
+ {
5944
+ "source": ".agent-src.uncompressed/skills/prompt-optimizer/SKILL.md",
5945
+ "target": ".agent-src.uncompressed/commands/optimize-prompt.md",
5946
+ "type": "READ_ONLY",
5947
+ "via": "body_link",
5948
+ "depth": 1
5949
+ },
5950
+ {
5951
+ "source": ".agent-src.uncompressed/skills/prompt-optimizer/SKILL.md",
5952
+ "target": ".agent-src.uncompressed/commands/review-changes.md",
5953
+ "type": "READ_ONLY",
5954
+ "via": "body_link",
5955
+ "depth": 1
5956
+ },
5957
+ {
5958
+ "source": ".agent-src.uncompressed/skills/prompt-optimizer/SKILL.md",
5959
+ "target": ".agent-src.uncompressed/skills/description-assist/SKILL.md",
5960
+ "type": "READ_ONLY",
5961
+ "via": "body_link",
5962
+ "depth": 1
5963
+ },
5964
+ {
5965
+ "source": ".agent-src.uncompressed/skills/prompt-optimizer/SKILL.md",
5966
+ "target": ".agent-src.uncompressed/skills/prompt-optimizer/SKILL.md",
5967
+ "type": "WRITE",
5968
+ "via": "self",
5969
+ "depth": 0
5970
+ },
5971
+ {
5972
+ "source": ".agent-src.uncompressed/skills/prompt-optimizer/SKILL.md",
5973
+ "target": ".agent-src.uncompressed/skills/refine-prompt/SKILL.md",
5974
+ "type": "READ_ONLY",
5975
+ "via": "body_link",
5976
+ "depth": 1
5977
+ },
6166
5978
  {
6167
5979
  "source": ".agent-src.uncompressed/skills/quality-tools/SKILL.md",
6168
5980
  "target": ".agent-src.uncompressed/skills/quality-tools/SKILL.md",
@@ -6821,6 +6633,48 @@
6821
6633
  "via": "self",
6822
6634
  "depth": 0
6823
6635
  },
6636
+ {
6637
+ "source": ".agent-src.uncompressed/skills/token-optimizer/SKILL.md",
6638
+ "target": ".agent-src.uncompressed/rules/cli-output-handling.md",
6639
+ "type": "READ_ONLY",
6640
+ "via": "body_link",
6641
+ "depth": 1
6642
+ },
6643
+ {
6644
+ "source": ".agent-src.uncompressed/skills/token-optimizer/SKILL.md",
6645
+ "target": ".agent-src.uncompressed/rules/direct-answers.md",
6646
+ "type": "READ_ONLY",
6647
+ "via": "body_link",
6648
+ "depth": 1
6649
+ },
6650
+ {
6651
+ "source": ".agent-src.uncompressed/skills/token-optimizer/SKILL.md",
6652
+ "target": ".agent-src.uncompressed/rules/token-efficiency.md",
6653
+ "type": "READ_ONLY",
6654
+ "via": "body_link",
6655
+ "depth": 1
6656
+ },
6657
+ {
6658
+ "source": ".agent-src.uncompressed/skills/token-optimizer/SKILL.md",
6659
+ "target": ".agent-src.uncompressed/rules/token-optimizer-maintenance.md",
6660
+ "type": "READ_ONLY",
6661
+ "via": "body_link",
6662
+ "depth": 1
6663
+ },
6664
+ {
6665
+ "source": ".agent-src.uncompressed/skills/token-optimizer/SKILL.md",
6666
+ "target": ".agent-src.uncompressed/skills/rtk-output-filtering/SKILL.md",
6667
+ "type": "READ_ONLY",
6668
+ "via": "body_link",
6669
+ "depth": 1
6670
+ },
6671
+ {
6672
+ "source": ".agent-src.uncompressed/skills/token-optimizer/SKILL.md",
6673
+ "target": ".agent-src.uncompressed/skills/token-optimizer/SKILL.md",
6674
+ "type": "WRITE",
6675
+ "via": "self",
6676
+ "depth": 0
6677
+ },
6824
6678
  {
6825
6679
  "source": ".agent-src.uncompressed/skills/traefik/SKILL.md",
6826
6680
  "target": ".agent-src.uncompressed/skills/traefik/SKILL.md",