@event4u/agent-config 2.15.0 → 2.16.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/templates/agents/agent-project-settings.example.yml +1 -1
- package/.agent-src/templates/scripts/work_engine/_lib/agent_settings.py +299 -20
- package/.claude-plugin/marketplace.json +1 -1
- package/CHANGELOG.md +145 -225
- package/README.md +11 -0
- package/docs/archive/CHANGELOG-pre-2.15.0.md +244 -0
- package/docs/installation.md +221 -2
- package/package.json +1 -1
- package/scripts/_cli/cmd_doctor.py +238 -8
- package/scripts/_cli/cmd_migrate.py +6 -1
- package/scripts/_cli/cmd_prune.py +8 -3
- package/scripts/_cli/cmd_sync.py +7 -3
- package/scripts/_cli/cmd_uninstall.py +4 -3
- package/scripts/_cli/cmd_update.py +5 -1
- package/scripts/_cli/cmd_validate.py +6 -3
- package/scripts/_cli/cmd_versions.py +15 -2
- package/scripts/_lib/agent_settings.py +299 -20
- package/scripts/agent-config +64 -0
- package/scripts/install +39 -2
- package/scripts/install.py +171 -0
- package/scripts/install.sh +20 -0
- package/templates/agent-config-wrapper.sh +7 -0
- package/templates/minimal/.agent-settings.yml +23 -0
- package/templates/minimal/agents-gitkeep +2 -0
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
# Changelog Archive — pre-2.15.0
|
|
2
|
+
|
|
3
|
+
> Frozen snapshot of `event4u/agent-config` changelog entries from
|
|
4
|
+
> `2.14.0` and earlier (back to `2.11.0`), split out of the main
|
|
5
|
+
> [`CHANGELOG.md`](../../CHANGELOG.md) on 2026-05-15 once the active
|
|
6
|
+
> era's body crossed the 200-line drift cap enforced by
|
|
7
|
+
> `tests/test_changelog_eras.py`.
|
|
8
|
+
>
|
|
9
|
+
> **Read-only.** New entries land in `CHANGELOG.md` § "Era: 2.15.x".
|
|
10
|
+
> Entries here are not amended — git tags `2.14.0` and prior remain the
|
|
11
|
+
> canonical source for what shipped.
|
|
12
|
+
>
|
|
13
|
+
> Entry shape follows the conventions documented in
|
|
14
|
+
> [`docs/contracts/CHANGELOG-conventions.md`](../contracts/CHANGELOG-conventions.md).
|
|
15
|
+
> Earlier eras live in
|
|
16
|
+
> [`CHANGELOG-pre-2.11.0.md`](CHANGELOG-pre-2.11.0.md),
|
|
17
|
+
> [`CHANGELOG-pre-2.7.0.md`](CHANGELOG-pre-2.7.0.md), and
|
|
18
|
+
> [`CHANGELOG-pre-2.2.0.md`](CHANGELOG-pre-2.2.0.md).
|
|
19
|
+
|
|
20
|
+
## [2.14.0](https://github.com/event4u-app/agent-config/compare/2.13.0...2.14.0) (2026-05-15)
|
|
21
|
+
|
|
22
|
+
### Features
|
|
23
|
+
|
|
24
|
+
* **ai-council:** switch low-impact corpus runtime to YAML lockfile ([c8a4b9c](https://github.com/event4u-app/agent-config/commit/c8a4b9c318f3b0c04b6fcd974790ba2bc2623554))
|
|
25
|
+
* **ai-council:** add corpus YAML compiler and lockfile ([50ffcb8](https://github.com/event4u-app/agent-config/commit/50ffcb809d633aeb760ea0865a90208be431de43))
|
|
26
|
+
* **council:** wire confidence gate into solo dispatch + shadow log ([fcd19d7](https://github.com/event4u-app/agent-config/commit/fcd19d7bd6e12b2c198ec2f3771da5c8c562cd17))
|
|
27
|
+
* **council:** add confidence_gate heuristics module ([acee171](https://github.com/event4u-app/agent-config/commit/acee17182770a7aa31574669b1f74b269ae34c27))
|
|
28
|
+
* **council:** add solo_confidence_floor config knob + Iron Law lock ([2afef0b](https://github.com/event4u-app/agent-config/commit/2afef0b8d853298be6b73da57bb53415acac798d))
|
|
29
|
+
* **audit:** --iron-law flag scans for validator bypasses (step-9 phase 11) ([2e0ef55](https://github.com/event4u-app/agent-config/commit/2e0ef55d625b60ef073b74e9a91a40478e6ff1e3))
|
|
30
|
+
* **ai-council:** airgap detection + installer first-run hook (step-9 phase 11) ([d528d88](https://github.com/event4u-app/agent-config/commit/d528d8832fba6893f52bad587365019016f060aa))
|
|
31
|
+
* **ai-council:** shadow-mode logger + shadow-report CLI (step-9 phase 10) ([052ed1f](https://github.com/event4u-app/agent-config/commit/052ed1f0355fb35277f80d1193cf912d3943753a))
|
|
32
|
+
* **ai-council:** solo-member dispatch via routing fallback chain ([4cf5738](https://github.com/event4u-app/agent-config/commit/4cf5738c209e5fc6ce3c7681112d4f3b4bb89ce9))
|
|
33
|
+
* **ai-council:** config schema for solo dispatch + Iron Law (step-9 phase 8) ([779f302](https://github.com/event4u-app/agent-config/commit/779f3025f3f78b1b275ce1ffb9364ae970d18424))
|
|
34
|
+
* **low-impact:** preview builder for learn-low-impact (step-9 phase 7) ([234647c](https://github.com/event4u-app/agent-config/commit/234647c81336aa30aac648774e0d2fa0416e8dcf))
|
|
35
|
+
* **low_impact:** emit normative fast-path markers per Iron-Law rule ([95b528b](https://github.com/event4u-app/agent-config/commit/95b528ba7dc1ec445c52cbe1844846612afd3d79))
|
|
36
|
+
* **rules:** add fast-path-marker-visibility Iron-Law rule ([82d97c2](https://github.com/event4u-app/agent-config/commit/82d97c206a5b439d535f1cac7777be82ff51269d))
|
|
37
|
+
* **council:** opt-in fuzzy corpus matching with safety vetoes (step-9 P5) ([903b9f1](https://github.com/event4u-app/agent-config/commit/903b9f1f244ee72f6e01ebdc4e8f3be51c76ef23))
|
|
38
|
+
* **council:** harden low-impact corpus parser with typed errors (step-9 P4) ([6e56737](https://github.com/event4u-app/agent-config/commit/6e567375ef8c379ec1696d5f35c41804276f6bbf))
|
|
39
|
+
* **doctor:** add council-cli health check (step-9 P3) ([fcb36f5](https://github.com/event4u-app/agent-config/commit/fcb36f584df423613d353c2119a13e842b52117d))
|
|
40
|
+
* **council:** surface CLI install hints when binary missing (step-9 phase 2) ([2507eea](https://github.com/event4u-app/agent-config/commit/2507eea06d8739bfffe1a036b284f6459ee329e4))
|
|
41
|
+
* **council:** persistent events log with privacy floor (step-8 phase 3) ([e2b30de](https://github.com/event4u-app/agent-config/commit/e2b30de6811b8affedf87c938f32d27d527222d0))
|
|
42
|
+
* **council:** necessity tier split with warn-only default (step-8 phase 2) ([3837299](https://github.com/event4u-app/agent-config/commit/3837299194ae20e09ab076e55f824d596815f1d7))
|
|
43
|
+
* **council:** add CLI quota observability (step-8 phase 1) ([c17d29b](https://github.com/event4u-app/agent-config/commit/c17d29b1ef4113f032ab492a6862aca624c45f48))
|
|
44
|
+
* **council:** enforce canonical output paths at runtime ([9fa50c4](https://github.com/event4u-app/agent-config/commit/9fa50c4d6ea759dd38ff32dbb114163037979b75))
|
|
45
|
+
* **ai-council:** Phase 12 — low-impact decisions corpus ([d82509b](https://github.com/event4u-app/agent-config/commit/d82509bcc91dc4de519a080e44f5aa296de34d5e))
|
|
46
|
+
* **ai-council:** Phase 11 — replay engine + Lightweight-QA fast-path ([8fa5da8](https://github.com/event4u-app/agent-config/commit/8fa5da8b5de982b93c4608c38d95f64ad60c048b))
|
|
47
|
+
* **ai-council:** Phase 10 — impact-based decision routing + cost disclosure ([5dbe837](https://github.com/event4u-app/agent-config/commit/5dbe83743e782351f5eea54a86071b4414208976))
|
|
48
|
+
* **ai-council:** Phase 8-9 — necessity classifier with corpus consultation ([5adfe71](https://github.com/event4u-app/agent-config/commit/5adfe7190f0c379a07c1e51ebe634a7f439ec79b))
|
|
49
|
+
* **ai-council:** Phase 5 — session-trail + negative-test backfill ([dd64874](https://github.com/event4u-app/agent-config/commit/dd648744a5cd3fc3b516851704d943d9625602de))
|
|
50
|
+
* **ai-council:** wire XAI + Perplexity community CLI transports ([4df827c](https://github.com/event4u-app/agent-config/commit/4df827c80c9b6bf51ff41e4e56844c9263dab281))
|
|
51
|
+
* **ai-council:** phase 3 — Codex + Gemini CLI clients wired ([16dd7fe](https://github.com/event4u-app/agent-config/commit/16dd7fe987b685c290d2be2f7594f514979db1fd))
|
|
52
|
+
* **ai-council:** phase 2 — wire AnthropicCliClient end-to-end ([e965ab1](https://github.com/event4u-app/agent-config/commit/e965ab1cf67d5f18b64bafd7370d4ee7d70124af))
|
|
53
|
+
* **ai-council:** phase 1 — CliClient + AnthropicCliClient + daily quota ([df0d88c](https://github.com/event4u-app/agent-config/commit/df0d88c686c02f1e45707787ae196ac7e8371ef6))
|
|
54
|
+
* **ai-council:** phase 0 — extend schema for CLI transport ([cb45344](https://github.com/event4u-app/agent-config/commit/cb45344e6e686af430677a61c2026e972f1bfe45))
|
|
55
|
+
* **readme:** add Personas and Advisors to hero badge ([f11b85e](https://github.com/event4u-app/agent-config/commit/f11b85ea82fd0f0a04b68d18444d4a8c73d86de1))
|
|
56
|
+
|
|
57
|
+
### Bug Fixes
|
|
58
|
+
|
|
59
|
+
* **council:** allowlist audit-* dirs in layout linter ([09d6900](https://github.com/event4u-app/agent-config/commit/09d69003204c2a86a2cc9f1193b8c33145d856b4))
|
|
60
|
+
* **rules:** align validator_ignore reason between source and projection ([89b7fac](https://github.com/event4u-app/agent-config/commit/89b7facf48d2a4fe39558028bdf15ff40d98c59a))
|
|
61
|
+
* **rules:** allowlist .agent-src.uncompressed/ back-pointer in fast-path-marker ([e74383b](https://github.com/event4u-app/agent-config/commit/e74383b62253ab990e938d1dfdc631d20db94181))
|
|
62
|
+
* **ask-when-uncertain:** trim AI Council prose to clear 12% concentration cap ([59abb4a](https://github.com/event4u-app/agent-config/commit/59abb4a3f827b4f8ecb24b63568b057462ae7649))
|
|
63
|
+
* **ai-council:** mark skill cloud-safe with degrade tier ([3c568e6](https://github.com/event4u-app/agent-config/commit/3c568e6eed6c50f8fee2c1685d25dc7aef9d82ec))
|
|
64
|
+
* **low-impact-floor:** drop forbidden authoring-tree path from rule ([8962291](https://github.com/event4u-app/agent-config/commit/89622914c375d01629ed3795d37fd7adf7a07c60))
|
|
65
|
+
* **ai-council:** restore Phase 11 sections in compressed SKILL.md ([52e4f14](https://github.com/event4u-app/agent-config/commit/52e4f14177acd90fd63b4c1c283b3dbda41a6437))
|
|
66
|
+
|
|
67
|
+
### Documentation
|
|
68
|
+
|
|
69
|
+
* add (beta) markers next to beta-stability contract links ([0eb55dc](https://github.com/event4u-app/agent-config/commit/0eb55dc1303eb06b52b7f1a88cb2a137a6cde8f9))
|
|
70
|
+
* **reports:** command-surface inventory + AI Council synthesis ([38c3cc3](https://github.com/event4u-app/agent-config/commit/38c3cc39176cefb1c92431c0485659fa442002cf))
|
|
71
|
+
* **council:** document confidence-gate auto-escalation ([4202dac](https://github.com/event4u-app/agent-config/commit/4202dace49401598bb8b7e3033768c99333d1659))
|
|
72
|
+
* **roadmap:** mark step-9 complete and archive ([1c0ca06](https://github.com/event4u-app/agent-config/commit/1c0ca06495f718cda5d1f7065b2d7b07dd4e63f8))
|
|
73
|
+
* **contracts:** declare stability=beta for low-impact-corpus-format ([2114086](https://github.com/event4u-app/agent-config/commit/21140864621b8c1eb9bdb38a0d6b5146e562915a))
|
|
74
|
+
* CHANGELOG + roadmap step-9 phases 10-12 complete ([9f1a220](https://github.com/event4u-app/agent-config/commit/9f1a220f7b44bb96788898f2662782e0d6b4ec99))
|
|
75
|
+
* **roadmap:** mark step-9 Phase 9 complete + regen dashboard ([ae29fbf](https://github.com/event4u-app/agent-config/commit/ae29fbfe32eaf77d847bc00fcee76210e5f17848))
|
|
76
|
+
* **ai-council:** document solo dispatch + Iron Law contract (step-9 phase 8) ([ed12ca9](https://github.com/event4u-app/agent-config/commit/ed12ca9dabc585b0962f82d740a682206caeb2df))
|
|
77
|
+
* **low-impact:** switch /memory learn-low-impact default to --preview (step-9 phase 7) ([493ef5d](https://github.com/event4u-app/agent-config/commit/493ef5d91024761ee2b7a845b992257b76e71671))
|
|
78
|
+
* **roadmap:** mark step-9 phases 0/1/5 complete + regen dashboard ([5f55bad](https://github.com/event4u-app/agent-config/commit/5f55bad0495532431b2451130a2397c144374b58))
|
|
79
|
+
* **roadmap:** mark step-9 phase 4 complete (corpus parser hardening) ([5b35aaa](https://github.com/event4u-app/agent-config/commit/5b35aaa3ab27dd348ef161c4a78321f886775b6a))
|
|
80
|
+
* **roadmap:** mark step-9 phase 2 complete (CLI install hints) ([11ae2ee](https://github.com/event4u-app/agent-config/commit/11ae2ee97753abf6f1e2a18583b5efd84924f208))
|
|
81
|
+
* **council:** document low-impact council opt-in (step-9 phase 1) ([c0fd395](https://github.com/event4u-app/agent-config/commit/c0fd395423693f525fe628a744e6b324a87cf589))
|
|
82
|
+
* **roadmap:** mark step-8 complete and archive ([e7d328d](https://github.com/event4u-app/agent-config/commit/e7d328d7f85acb1df5ce01c559e2809640ee2096))
|
|
83
|
+
* **council:** document quota/necessity transparency surface (step-8 phase 4) ([ba72154](https://github.com/event4u-app/agent-config/commit/ba72154f02bcb791e2864f8ee7818a946710d630))
|
|
84
|
+
* **roadmap:** add step-9 pr-150 feedback hardening + regen progress dashboard ([bf89e80](https://github.com/event4u-app/agent-config/commit/bf89e80e3e238a449daab1399942b6866de920a6))
|
|
85
|
+
* **roadmap:** add step-8 quota necessity transparency ([8aa2385](https://github.com/event4u-app/agent-config/commit/8aa23857583a7e434e9bca1372ef18436f9933e5))
|
|
86
|
+
* **roadmap:** add step-7 agent-folder discovery + minimal init ([a13c963](https://github.com/event4u-app/agent-config/commit/a13c96335bc8244eeeee9bb3dfb1e30aa292e179))
|
|
87
|
+
* **roadmap:** add step-2 feedback follow-up roadmap ([b9f34d3](https://github.com/event4u-app/agent-config/commit/b9f34d39d94d28d6e2d9eba2748995d579b36373))
|
|
88
|
+
* **roadmap:** expand step-1 with safety net, impact routing, and low-impact corpus ([3925a74](https://github.com/event4u-app/agent-config/commit/3925a74b5cdba6d9c6b92fbaf1c0cf6e05fb1cd3))
|
|
89
|
+
|
|
90
|
+
### Refactoring
|
|
91
|
+
|
|
92
|
+
* **commands:** nest learn-low-impact under memory cluster ([473dc97](https://github.com/event4u-app/agent-config/commit/473dc9776cd3dfb55f66e06977c1abaf02afcc01))
|
|
93
|
+
|
|
94
|
+
### Tests
|
|
95
|
+
|
|
96
|
+
* **install:** sandbox HOME for --global guard test ([189baef](https://github.com/event4u-app/agent-config/commit/189baefe91d72392753ca144ae290a23e253a266))
|
|
97
|
+
* **ai-council:** Iron-Law sentinel for locked dispatch (step-9 phase 11) ([c5b617a](https://github.com/event4u-app/agent-config/commit/c5b617aeae79431ba4071a436f12a7ca35dd144b))
|
|
98
|
+
* **council:** cover step-8 quota + necessity-tier surface (phase 5) ([be4eba3](https://github.com/event4u-app/agent-config/commit/be4eba3dba54c5f6926924e80dd56ff312a4124a))
|
|
99
|
+
|
|
100
|
+
### Build
|
|
101
|
+
|
|
102
|
+
* **ai-council:** wire compile-corpus into consistency + sync ([5a35b90](https://github.com/event4u-app/agent-config/commit/5a35b9037ee161f24224b71b2431e1c6bdbe6f86))
|
|
103
|
+
|
|
104
|
+
### Chores
|
|
105
|
+
|
|
106
|
+
* **roadmap:** close out + archive step-2-feedback-followup ([fc347d2](https://github.com/event4u-app/agent-config/commit/fc347d28d93b1237300bbc3b31b1877a147857ca))
|
|
107
|
+
* **roadmap:** mark step-2-feedback-followup phases 1-3 complete ([6f8c456](https://github.com/event4u-app/agent-config/commit/6f8c4567993067b039ca9aebf680aaf76bd5e69c))
|
|
108
|
+
* **scripts:** add command-surface audit tool ([e118870](https://github.com/event4u-app/agent-config/commit/e11887001cf0e5bd68ee46164bb8d27a7f9a7a32))
|
|
109
|
+
* **roadmaps:** archive step-10 (corpus YAML lockfile complete) ([1d5ecfa](https://github.com/event4u-app/agent-config/commit/1d5ecfa07f63103456d4647a121a83e662a2d686))
|
|
110
|
+
* **index:** regenerate after auto-rule description trims ([fb39853](https://github.com/event4u-app/agent-config/commit/fb398539a22b82c530ec9cc39adb4343475edf6b))
|
|
111
|
+
* **rules:** trim auto-rule descriptions to fit 150-char Augment cap ([7755665](https://github.com/event4u-app/agent-config/commit/77556655e9db859a3c8bb3ca90931724bb144b9f))
|
|
112
|
+
* **ownership:** regenerate ownership matrix ([3661223](https://github.com/event4u-app/agent-config/commit/3661223dea90d842239a947c8d605ac22257cfc1))
|
|
113
|
+
* **lint:** suppress pre-existing council references with allowed pragma ([3770fb7](https://github.com/event4u-app/agent-config/commit/3770fb76f661a7042fd014ce18537babf6d6a127))
|
|
114
|
+
* **roadmaps:** tag step-7 and step-9 as structural ([99e8801](https://github.com/event4u-app/agent-config/commit/99e88019d2f8352e3c61932433a159c3e9b1136c))
|
|
115
|
+
* **index:** regenerate agents/index.md + docs/catalog.md ([e3adea4](https://github.com/event4u-app/agent-config/commit/e3adea43c1a8a4bf184f4476ef0a158e48a4c7ce))
|
|
116
|
+
* **lint:** clear pre-existing check-no-roadmap-refs violations (step-9 phase 0) ([41284d4](https://github.com/event4u-app/agent-config/commit/41284d4f990d3beb0efbe31dc8b9782a57a528b5))
|
|
117
|
+
* **changelog:** split off pre-2.11.0 era into archive ([913da95](https://github.com/event4u-app/agent-config/commit/913da950c07ab8221e8fc7b96b28fde3ae6aa83f))
|
|
118
|
+
* **roadmap:** archive step-1-ai-council-cli-transport (100% complete) ([2a9eaa5](https://github.com/event4u-app/agent-config/commit/2a9eaa558178349819609cf73f33300dcc3b846f))
|
|
119
|
+
* **index:** regenerate after learn-low-impact cluster move ([6d38afb](https://github.com/event4u-app/agent-config/commit/6d38afbca4ff8b2f75ea6d3669f9a15a1a49b2f4))
|
|
120
|
+
* **counts:** bump documented command count 108 to 109 ([6ada77d](https://github.com/event4u-app/agent-config/commit/6ada77d42b367909c68381f5c1bd9480960dd85f))
|
|
121
|
+
* **index:** regenerate after low-impact-corpus + learn-low-impact ([e256dd0](https://github.com/event4u-app/agent-config/commit/e256dd0d56492fbe390ab60b7902a99d1b509d50))
|
|
122
|
+
* **roadmap:** mark Phase 8-12 complete + regenerate dashboards ([8f14a9c](https://github.com/event4u-app/agent-config/commit/8f14a9c8e5ba16348c45f8ac9cfbeb1f053b26bd))
|
|
123
|
+
* **contracts:** pull keep-beta-until back inside 90-day window ([8b4c8c9](https://github.com/event4u-app/agent-config/commit/8b4c8c9de4fab092e8bc4c7580b2b435de85e973))
|
|
124
|
+
* **docs:** clear pre-existing check-public-links failures ([822c40e](https://github.com/event4u-app/agent-config/commit/822c40e9f90d81ffdcdb1a3fa590dc0d0e89c9f5))
|
|
125
|
+
* **roadmap:** stub agents/low-impact-decisions.md for Phase 12 forward-ref ([3af26f6](https://github.com/event4u-app/agent-config/commit/3af26f67f3ad86afc5a964a75ac3173526772b95))
|
|
126
|
+
* **templates:** bump agent_config_version to 2.13.0 ([1e5ddcd](https://github.com/event4u-app/agent-config/commit/1e5ddcd6d6aeed485253e8476c002262a3e95962))
|
|
127
|
+
* **roadmap:** regenerate roadmaps progress dashboard ([3a33c7e](https://github.com/event4u-app/agent-config/commit/3a33c7eda801c25aacb13ec2e58680f9f856cc91))
|
|
128
|
+
|
|
129
|
+
Tests: 4340 (+472 since 2.13.0)
|
|
130
|
+
|
|
131
|
+
## [2.13.0](https://github.com/event4u-app/agent-config/compare/2.12.0...2.13.0) (2026-05-14)
|
|
132
|
+
|
|
133
|
+
### Features
|
|
134
|
+
|
|
135
|
+
* **council:** Phase 7 — debate orchestration + CLI wiring ([647a3f0](https://github.com/event4u-app/agent-config/commit/647a3f07698792f41beb7413600d54b2321f4a96))
|
|
136
|
+
* **council:** Phase 7 — /council debate sub-command files ([abbd436](https://github.com/event4u-app/agent-config/commit/abbd43666b7e2c704ab3c46f2901f01eae446139))
|
|
137
|
+
* **council:** Phase 6 — thinking-style advisor personas ([21c8b88](https://github.com/event4u-app/agent-config/commit/21c8b88310a2a65d7ea9082da085d023f813d114))
|
|
138
|
+
* **council:** Phase 5 — Karpathy peer-review opt-in flag ([bce381a](https://github.com/event4u-app/agent-config/commit/bce381ae9c412abf501473fa4154f91d9c0befbf))
|
|
139
|
+
* **council:** analysis lens + lens-adaptive synthesis + consensus scoring ([6d7136a](https://github.com/event4u-app/agent-config/commit/6d7136ad6be31b7627a332600a7623f2cd929e76))
|
|
140
|
+
* **council:** add config loader, overlay, and 3 new provider clients ([0cb5591](https://github.com/event4u-app/agent-config/commit/0cb55914457a62b6f57744d8c8dac16bf777921d))
|
|
141
|
+
* **council:** introduce agents/.ai-council.yml as single source of truth ([043c2d2](https://github.com/event4u-app/agent-config/commit/043c2d23445f2ef7ad8aee880dc83d97c347635f))
|
|
142
|
+
* **governance:** Phase 5 — roadmap trajectory metric + architectural-consensus ADR ([926a632](https://github.com/event4u-app/agent-config/commit/926a63237c3dbe1fcfd7df05c9230809382d8790))
|
|
143
|
+
* **projection:** Phase 4 + 1.4 — multi-tool projection fidelity contract + ci-strict gate ([e18e4ad](https://github.com/event4u-app/agent-config/commit/e18e4ad73595e17889009b0123ebd000254c165b))
|
|
144
|
+
* **routing:** Phase 3 — tighten skill descriptions + 4 tier-3 routing rules for failing clusters ([2a11c70](https://github.com/event4u-app/agent-config/commit/2a11c70b274741e7d98fd814ac39c1d05a1a38c9))
|
|
145
|
+
* **governance:** Phase 1 — credibility (CONTRIBUTING preface, source-projection rename, archive 7 migration scripts) ([2e5cfe0](https://github.com/event4u-app/agent-config/commit/2e5cfe02e1b5f4218d1283108796b0ce43fd9165))
|
|
146
|
+
|
|
147
|
+
### Bug Fixes
|
|
148
|
+
|
|
149
|
+
* **docs:** drop transient council-sessions citation from multi-tool-projection ([55dbbb1](https://github.com/event4u-app/agent-config/commit/55dbbb1e599aae2d913dc56a05c9dab0014e2739))
|
|
150
|
+
* **linter:** treat ../docs/contracts/ links as out-of-scope like guidelines ([a2249b0](https://github.com/event4u-app/agent-config/commit/a2249b02b70233e2b13ccf3efeda4188686b6181))
|
|
151
|
+
* **routing:** strip transient roadmap citation from tier-3 routing rules ([2cf745c](https://github.com/event4u-app/agent-config/commit/2cf745cad9beb40c4e6e9eb7f97abbc58a94d9de))
|
|
152
|
+
|
|
153
|
+
### Documentation
|
|
154
|
+
|
|
155
|
+
* **roadmap:** rename "rule" to "invariant" for deep_min_rounds reference ([758ea46](https://github.com/event4u-app/agent-config/commit/758ea46568c23ef5518ff61d80700f7559bc54a1))
|
|
156
|
+
* **ai-council:** sync compressed SKILL.md with Phase 6 advisors section ([6d57034](https://github.com/event4u-app/agent-config/commit/6d57034c7b342abdd5d38ff300fa67c51deb3471))
|
|
157
|
+
* **council:** document master/wrapper contract for the council cluster ([7346f34](https://github.com/event4u-app/agent-config/commit/7346f34376b48c02ced3ae939dfff6ea215025ba))
|
|
158
|
+
|
|
159
|
+
### Tests
|
|
160
|
+
|
|
161
|
+
* **ai-council:** Phase 8 — negative-test backfill for config loader ([cc3a08c](https://github.com/event4u-app/agent-config/commit/cc3a08c360c94685f9a1efaaa57f84001f78788c))
|
|
162
|
+
|
|
163
|
+
### Chores
|
|
164
|
+
|
|
165
|
+
* **roadmaps:** archive step-2-ai-council-consolidation — all phases + ACs done ([c7f0c9c](https://github.com/event4u-app/agent-config/commit/c7f0c9ca7ac300023c5da0b939e0c63554dbcfed))
|
|
166
|
+
* **docs:** bump getting-started command count 106 -> 108 after council debate sub-command ([5e256d7](https://github.com/event4u-app/agent-config/commit/5e256d79d3eea3046900e8afa5be64526b4fc61d))
|
|
167
|
+
* **roadmaps:** retag complexity from "medium" to lint-valid values ([4c5457e](https://github.com/event4u-app/agent-config/commit/4c5457e271f8dcdc03943bac7adff84455388615))
|
|
168
|
+
* regenerate index + catalog for council-debate skill ([3c365a3](https://github.com/event4u-app/agent-config/commit/3c365a375da22f16f97829677c875500e40d436a))
|
|
169
|
+
* **roadmap:** mark Phases 6-7 of step-2-ai-council-consolidation complete ([7e8e557](https://github.com/event4u-app/agent-config/commit/7e8e557505bbf88b486605980a7f5ee2f97bcbb4))
|
|
170
|
+
* **roadmap:** mark Phases 1-4 of step-2-ai-council-consolidation complete ([101a5cf](https://github.com/event4u-app/agent-config/commit/101a5cf70d4fc694f85a270b2bebfb8fe545833a))
|
|
171
|
+
* **roadmap:** mark Phase 0 of step-2-ai-council-consolidation complete ([4fa2734](https://github.com/event4u-app/agent-config/commit/4fa27346c8faad54de582757ce5cfe7216041bda))
|
|
172
|
+
* **template:** bump agent_config_version pin to 2.12.0 ([e5c41fd](https://github.com/event4u-app/agent-config/commit/e5c41fd433105359d6e36b03b0de62415be212f0))
|
|
173
|
+
* regenerate agents/index.md + docs/catalog.md after rule additions ([b7fa4b6](https://github.com/event4u-app/agent-config/commit/b7fa4b6e25cbc55d8b3197f815c00530bd1eee79))
|
|
174
|
+
* **roadmap:** archive completed step-1-v2-feedback-followup (20/20 done) ([88a07ea](https://github.com/event4u-app/agent-config/commit/88a07ea9a983f0b63710e5461c8fddee36b2d378))
|
|
175
|
+
|
|
176
|
+
Tests: 3868 (+150 since 2.12.0)
|
|
177
|
+
|
|
178
|
+
## [2.12.0](https://github.com/event4u-app/agent-config/compare/2.11.0...2.12.0) (2026-05-14)
|
|
179
|
+
|
|
180
|
+
### Features
|
|
181
|
+
|
|
182
|
+
* **linter:** evals.json schema validator + meta_skill exemption ([9568510](https://github.com/event4u-app/agent-config/commit/95685109540c7f2dc2643ec24ba9d996467e0645))
|
|
183
|
+
* **skill-writing:** § 7 quantitative eval loop + run_skill_evals.py ([9eda402](https://github.com/event4u-app/agent-config/commit/9eda402dc43b8e14682787fb1cbbc9872eb16fcc))
|
|
184
|
+
* **skills:** add doc-coauthoring from Anthropic ([161b904](https://github.com/event4u-app/agent-config/commit/161b9044743753f2e54bcae45c36a29daaa8058d))
|
|
185
|
+
* **skills:** add canvas-design from Anthropic ([95c247c](https://github.com/event4u-app/agent-config/commit/95c247c08d3c6710c53bfcd7ba7a00f270e0d8d4))
|
|
186
|
+
* **check-refs:** add file/line opt-out markers ([f381bcb](https://github.com/event4u-app/agent-config/commit/f381bcb5a08818e042af35836dd2c4d8965aa98e))
|
|
187
|
+
* make ai-council max_output_tokens configurable ([5976b46](https://github.com/event4u-app/agent-config/commit/5976b4623b94277f6ba49b0e82bb36ab7d5adb50))
|
|
188
|
+
|
|
189
|
+
### Bug Fixes
|
|
190
|
+
|
|
191
|
+
* **marketplace:** register canvas-design + doc-coauthoring ([9fbfe6a](https://github.com/event4u-app/agent-config/commit/9fbfe6af83589bf45b27b72c1b818be9772ae60c))
|
|
192
|
+
|
|
193
|
+
### Documentation
|
|
194
|
+
|
|
195
|
+
* **audit:** mark forward-refs in north-star bundle as opt-out ([a1d7c21](https://github.com/event4u-app/agent-config/commit/a1d7c21df3d05c27bacf81344893c4e43ae72a06))
|
|
196
|
+
* **roadmap:** expand step-99 with Total Dominance mandate ([c46cffd](https://github.com/event4u-app/agent-config/commit/c46cffd54214a61230be27ddaae3367053be39a5))
|
|
197
|
+
* **roadmap:** add step-99 north-star restructure (meta · out-of-band) ([8dd18f9](https://github.com/event4u-app/agent-config/commit/8dd18f963742d14dd9d006237ddd93881b198a60))
|
|
198
|
+
* **audit:** correct step-3 filename reference ([ee6bd7f](https://github.com/event4u-app/agent-config/commit/ee6bd7ffc6c6cd363b6207b6ff32aa72f2bc317e))
|
|
199
|
+
* **audit:** add 2026-05-14 north-star audit + council synthesis ([589c2fb](https://github.com/event4u-app/agent-config/commit/589c2fbd3e35b57529ab0f934665d71d611012d4))
|
|
200
|
+
* add roadmaps for council, persona, ghostwriter, user-types axis ([471fae3](https://github.com/event4u-app/agent-config/commit/471fae3a46182d930fea21adb4037a41ec99dcb3))
|
|
201
|
+
* add v2 feedback follow-up roadmap ([23d17cb](https://github.com/event4u-app/agent-config/commit/23d17cb24b33e794f7c1e31e76055cc5c8f1ab6c))
|
|
202
|
+
|
|
203
|
+
### Chores
|
|
204
|
+
|
|
205
|
+
* prefix roadmaps with step-N execution sequence ([de87232](https://github.com/event4u-app/agent-config/commit/de87232213404ad104e07c5ca831d64f4a607f8e))
|
|
206
|
+
|
|
207
|
+
Tests: 3718 (+0 since 2.11.0)
|
|
208
|
+
|
|
209
|
+
## [2.11.0](https://github.com/event4u-app/agent-config/compare/2.10.0...2.11.0) (2026-05-14)
|
|
210
|
+
|
|
211
|
+
### Features
|
|
212
|
+
|
|
213
|
+
* **stability:** add beta-review marker protocol and CI gate (P5.4) ([9b6cdfe](https://github.com/event4u-app/agent-config/commit/9b6cdfe9f9167e3e80551dfa2a88f80fff85646a))
|
|
214
|
+
* **lint:** add 'type: orchestrator' frontmatter tag for cluster routers (P5.3) ([e6385bb](https://github.com/event4u-app/agent-config/commit/e6385bbaf022dc3763f55c2dd54fe85046c59fd4))
|
|
215
|
+
* **skills:** add nextjs-patterns and symfony-workflow workflow skills (P4) ([038522b](https://github.com/event4u-app/agent-config/commit/038522b7ad2bd2ba1d8d8c4f9a61692694b7ebc8))
|
|
216
|
+
* **onboard:** add Quickstart pointer step and surface balanced default (P3.3) ([5879b4c](https://github.com/event4u-app/agent-config/commit/5879b4cc66fc9f49fa42c99e72794e4c60f43739))
|
|
217
|
+
* **install:** default cost_profile to balanced (P3.2) ([75caac2](https://github.com/event4u-app/agent-config/commit/75caac20fa2986222b5bd45a7cb63f07f9c4179f))
|
|
218
|
+
* **work-engine:** wire decision_gate hook into runner ([c41a89d](https://github.com/event4u-app/agent-config/commit/c41a89d38c7eb4892358b5c931abbe9a5889038c))
|
|
219
|
+
* **work-engine:** add decision_engine schema and gate evaluator ([fd1e8e2](https://github.com/event4u-app/agent-config/commit/fd1e8e2bb2e45e2288727ccd4a3bda4f809c6151))
|
|
220
|
+
* **release:** release-trunk-sync contract and CI gate (P1.2, P1.3) ([a3e0d12](https://github.com/event4u-app/agent-config/commit/a3e0d12c156c367c995e84c7c0bb5d6a21ff6325))
|
|
221
|
+
|
|
222
|
+
### Bug Fixes
|
|
223
|
+
|
|
224
|
+
* **readme:** rename 'For contributors' to 'Development' for linter ([7957274](https://github.com/event4u-app/agent-config/commit/7957274c65895d80fa4801f95df876979362ee86))
|
|
225
|
+
|
|
226
|
+
### Documentation
|
|
227
|
+
|
|
228
|
+
* **roadmap:** close + archive road-to-productization (Level-6) ([7ee50e8](https://github.com/event4u-app/agent-config/commit/7ee50e8b16f1ce7d4461f1466d9a6e46f4138101))
|
|
229
|
+
* **roadmap:** mark P3.1-P3.3 + P3.1a done in road-to-productization ([b0ff24f](https://github.com/event4u-app/agent-config/commit/b0ff24f23cb38d4ac556106c9ed060f104f83c8c))
|
|
230
|
+
* **readme:** add 3-step Quickstart and move contributor detail below the fold (P3.1) ([b98152e](https://github.com/event4u-app/agent-config/commit/b98152eb86607d6b34f63ea9ad4c152951de58a6))
|
|
231
|
+
* **roadmap:** mark P2.1-P2.3 done in road-to-productization ([189c780](https://github.com/event4u-app/agent-config/commit/189c780faef19cfbd9bceb3ad51ec42cb8cb05b7))
|
|
232
|
+
|
|
233
|
+
### CI
|
|
234
|
+
|
|
235
|
+
* **install:** add structural Quickstart smoke test (P3.1a) ([228445b](https://github.com/event4u-app/agent-config/commit/228445b97eefb20118bbea2872640c54225a1355))
|
|
236
|
+
* **work-engine:** validate decision_engine block in agent-settings ([1a1f428](https://github.com/event4u-app/agent-config/commit/1a1f428bec4832f8ffb222a8b450719ba6409605))
|
|
237
|
+
|
|
238
|
+
### Chores
|
|
239
|
+
|
|
240
|
+
* **generate-tools:** expose nextjs-patterns + symfony-workflow skills ([3422ac7](https://github.com/event4u-app/agent-config/commit/3422ac7e3f273497a0cbb176b2580a0cf1256522))
|
|
241
|
+
* **sync:** align orchestrator frontmatter + hash registry ([0e9ba2d](https://github.com/event4u-app/agent-config/commit/0e9ba2d50463ca99baf86651ea67ed82ca63d7f6))
|
|
242
|
+
* **gitignore:** ignore python coverage artifacts ([e1a3289](https://github.com/event4u-app/agent-config/commit/e1a328921f08fad03325adc256b63a544582efb7))
|
|
243
|
+
|
|
244
|
+
Tests: 3718 (+55 since 2.10.0)
|
package/docs/installation.md
CHANGED
|
@@ -235,6 +235,57 @@ The global install puts `agent-config` on `$PATH` so the project
|
|
|
235
235
|
wrapper (`./agent-config`) can fall through to it when no
|
|
236
236
|
`node_modules/@event4u/agent-config/` exists.
|
|
237
237
|
|
|
238
|
+
### Global CLI + per-project settings (minimal flow)
|
|
239
|
+
|
|
240
|
+
For teams that want to keep the runtime global (one install per
|
|
241
|
+
machine) but still version a per-project `.agent-settings.yml` and a
|
|
242
|
+
project-local `agents/` folder, use the `--minimal` init:
|
|
243
|
+
|
|
244
|
+
```bash
|
|
245
|
+
# 1. Install the runtime once per machine
|
|
246
|
+
npm install -g @event4u/agent-config
|
|
247
|
+
|
|
248
|
+
# 2. Inside the project, write only the per-project shell
|
|
249
|
+
agent-config init --minimal
|
|
250
|
+
# or, without a global install:
|
|
251
|
+
npx @event4u/agent-config init --minimal
|
|
252
|
+
```
|
|
253
|
+
|
|
254
|
+
`--minimal` writes exactly three files into the project root:
|
|
255
|
+
|
|
256
|
+
- `.agent-settings.yml` — per-project cost profile, member config,
|
|
257
|
+
feature flags. Committed.
|
|
258
|
+
- `agents/.gitkeep` — placeholder so the directory is committed
|
|
259
|
+
before the first roadmap, decision, or council session lands.
|
|
260
|
+
- `./agent-config` — bash wrapper that pins
|
|
261
|
+
`AGENT_CONFIG_PROJECT_ROOT` to the project root and forwards every
|
|
262
|
+
subcommand to the globally installed CLI. Committed.
|
|
263
|
+
|
|
264
|
+
Nothing else — no `.augment/`, no `.claude/`, no `.cursor/`, no
|
|
265
|
+
`AGENTS.md`. The shipped tool payload stays in the user's home (or
|
|
266
|
+
the npx cache) and is shared across every project on the machine.
|
|
267
|
+
|
|
268
|
+
#### Decision table — `--minimal` vs full `init`
|
|
269
|
+
|
|
270
|
+
| Pick `--minimal` when | Pick full `init` when |
|
|
271
|
+
|---|---|
|
|
272
|
+
| Runtime is already installed globally (`npm i -g`). | First-time setup on a fresh machine. |
|
|
273
|
+
| Team wants one source of truth for skills / rules / commands across every repo (shared via the global install). | Team wants per-repo skills / rules / commands committed alongside the code. |
|
|
274
|
+
| `agents/` content (roadmaps, decisions) is the only per-project state worth committing. | `AGENTS.md`, `GEMINI.md`, or `.github/copilot-instructions.md` need project-specific overrides. |
|
|
275
|
+
| The repo runs in CI and you do not want to vendor the full payload. | The repo cannot rely on a global install (air-gapped, sandboxed CI without npm). |
|
|
276
|
+
| Migrating an existing project from the legacy `.git`-anchored install. | Starting a new project that has never seen `agent-config`. |
|
|
277
|
+
|
|
278
|
+
Nested-install guard: `init --minimal` refuses to run when an
|
|
279
|
+
ancestor already contains an anchor (`.git`, an `agents/` directory
|
|
280
|
+
with a marker, or another `.agent-settings.yml`). This prevents
|
|
281
|
+
shadow installs inside an existing project. Override with explicit
|
|
282
|
+
`--target <dir>` if the nesting is intentional.
|
|
283
|
+
|
|
284
|
+
`--minimal` does **not** pin `agent_config_version` — the project
|
|
285
|
+
follows whichever version the global CLI was installed at. Pin
|
|
286
|
+
explicitly by adding `agent_config_version: <semver>` to
|
|
287
|
+
`.agent-settings.yml` when you want a reproducible runtime.
|
|
288
|
+
|
|
238
289
|
### Installer orchestrator (`scripts/install`)
|
|
239
290
|
|
|
240
291
|
The orchestrator chains payload sync and bridge generation:
|
|
@@ -673,8 +724,176 @@ or sandbox testing:
|
|
|
673
724
|
- `AGENT_CONFIG_NO_EVENTS_LOG=1` — disables every write to
|
|
674
725
|
`agents/council-events.log` in-process. Quota counter and council
|
|
675
726
|
output stay untouched.
|
|
676
|
-
- `AGENT_CONFIG_LEGACY_ANCHOR=1` —
|
|
677
|
-
|
|
727
|
+
- `AGENT_CONFIG_LEGACY_ANCHOR=1` — reverts project-root discovery to
|
|
728
|
+
the pre-step-7 `.git`-only walk. See [Migration — Step 7 anchor
|
|
729
|
+
discovery](#migration--step-7-anchor-discovery) below for the
|
|
730
|
+
precedence rules and when to use this.
|
|
731
|
+
- `AGENT_CONFIG_PROJECT_ROOT=<abs-path>` — pins the resolved project
|
|
732
|
+
root, skipping the anchor walk entirely. Set automatically by the
|
|
733
|
+
`./agent-config` wrapper; set manually in CI when the working
|
|
734
|
+
directory is not a descendant of the project root.
|
|
735
|
+
|
|
736
|
+
---
|
|
737
|
+
|
|
738
|
+
## Migration — Step 7 anchor discovery
|
|
739
|
+
|
|
740
|
+
Before Step 7, the CLI located the project root by walking up for a
|
|
741
|
+
`.git` directory only. Step 7 widens the anchor set so non-git
|
|
742
|
+
projects (sparse checkouts, monorepo sub-trees, `agent-config`-only
|
|
743
|
+
worktrees) resolve correctly and so subdirectory invocations stop
|
|
744
|
+
falling back to `cwd`.
|
|
745
|
+
|
|
746
|
+
### Anchor precedence (D3 — cascade-conflict decision)
|
|
747
|
+
|
|
748
|
+
Walk up from CWD. The first ancestor containing a **boundary
|
|
749
|
+
anchor** wins:
|
|
750
|
+
|
|
751
|
+
1. `.git` (file or directory).
|
|
752
|
+
2. `agents/` directory containing **any** of `roadmaps/`,
|
|
753
|
+
`.ai-council.yml`, or `roadmaps-progress.md` — bare `agents/`
|
|
754
|
+
does **not** anchor (D1).
|
|
755
|
+
|
|
756
|
+
If no boundary anchor exists in any ancestor, the **outermost**
|
|
757
|
+
(closest-to-fs-root) `.agent-settings.yml` becomes the root. This
|
|
758
|
+
preserves the layered-settings cascade — see
|
|
759
|
+
[`agents/council-sessions/step-7-d3-cascade-conflict-decision.md`](../agents/council-sessions/step-7-d3-cascade-conflict-decision.md)
|
|
760
|
+
for the rationale.
|
|
761
|
+
|
|
762
|
+
When a single ancestor carries multiple anchors, the **diagnostic
|
|
763
|
+
anchor name** reported by `agent-config doctor` follows the D3
|
|
764
|
+
tie-break order (`.agent-settings.yml` > `agents/` > `.git`). The
|
|
765
|
+
resolved path is identical either way.
|
|
766
|
+
|
|
767
|
+
### Resolution precedence (which root wins)
|
|
768
|
+
|
|
769
|
+
In order, first match wins (Step 8 adds the `--root` flag at the top):
|
|
770
|
+
|
|
771
|
+
1. Global `--root <dir>` flag (Step 8) — escape hatch for monorepos.
|
|
772
|
+
2. Explicit `--project <dir>` / `--target <dir>` on the CLI.
|
|
773
|
+
3. `AGENT_CONFIG_PROJECT_ROOT=<abs-path>` env var.
|
|
774
|
+
4. Anchor walk from CWD (rules above).
|
|
775
|
+
5. Fallback to CWD.
|
|
776
|
+
|
|
777
|
+
The `./agent-config` wrapper sets step 3 to its own directory, so
|
|
778
|
+
subcommands invoked from a subdirectory still target the right root
|
|
779
|
+
even after `os.chdir`.
|
|
780
|
+
|
|
781
|
+
### Project-root override — `--root` (Step 8)
|
|
782
|
+
|
|
783
|
+
The global `--root <dir>` flag pins discovery to a specific directory.
|
|
784
|
+
It is parsed by the bash dispatcher **before** any subcommand and beats
|
|
785
|
+
every other channel, including the wrapper-pinned env var:
|
|
786
|
+
|
|
787
|
+
```bash
|
|
788
|
+
# Run doctor against a sibling project from anywhere
|
|
789
|
+
agent-config --root /work/projects/site-a doctor --context
|
|
790
|
+
|
|
791
|
+
# Equivalent — long-form `=` syntax
|
|
792
|
+
agent-config --root=/work/projects/site-a doctor --context
|
|
793
|
+
```
|
|
794
|
+
|
|
795
|
+
**Fail-loud validation.** Invalid paths exit with code `2` instead of
|
|
796
|
+
silently falling back to CWD:
|
|
797
|
+
|
|
798
|
+
```text
|
|
799
|
+
❌ agent-config: --root points to a path that does not exist: /nope
|
|
800
|
+
```
|
|
801
|
+
|
|
802
|
+
The same validation applies to `--project` and
|
|
803
|
+
`AGENT_CONFIG_PROJECT_ROOT` — every explicit override is checked.
|
|
804
|
+
|
|
805
|
+
**Wrapper coupling.** When the project-local `./agent-config` wrapper
|
|
806
|
+
runs, it pins `AGENT_CONFIG_PROJECT_ROOT` to its own directory. The
|
|
807
|
+
`--root` flag explicitly overrides that pin (the wrapper logs a stderr
|
|
808
|
+
hint when this happens), so monorepo sub-trees can target one another
|
|
809
|
+
without unpinning the wrapper.
|
|
810
|
+
|
|
811
|
+
### Monorepo semantics
|
|
812
|
+
|
|
813
|
+
Monorepos with multiple `agent-config` consumers (e.g. one package per
|
|
814
|
+
sub-tree) work out of the box because the anchor walk stops at the
|
|
815
|
+
**nearest** boundary anchor (`agents/<markers>` or `.git`). From inside
|
|
816
|
+
`packages/site-a/`, discovery resolves to `packages/site-a/`, not the
|
|
817
|
+
monorepo root.
|
|
818
|
+
|
|
819
|
+
When you need to invoke a sibling package's CLI from anywhere, use
|
|
820
|
+
`--root`:
|
|
821
|
+
|
|
822
|
+
```bash
|
|
823
|
+
# From the monorepo root, target site-b
|
|
824
|
+
agent-config --root packages/site-b validate
|
|
825
|
+
|
|
826
|
+
# From inside site-a, run a sync against site-b
|
|
827
|
+
agent-config --root ../site-b sync
|
|
828
|
+
```
|
|
829
|
+
|
|
830
|
+
`--root` is the recommended channel — explicit, fail-loud, and visible
|
|
831
|
+
in `doctor --context` output. Setting `AGENT_CONFIG_PROJECT_ROOT`
|
|
832
|
+
manually still works but is less discoverable.
|
|
833
|
+
|
|
834
|
+
### Diagnostics — `doctor --trace-root` and `--context`
|
|
835
|
+
|
|
836
|
+
Two read-only diagnostic flags surface how discovery resolved the
|
|
837
|
+
project root:
|
|
838
|
+
|
|
839
|
+
```bash
|
|
840
|
+
# Show every ancestor probed + winning anchor
|
|
841
|
+
agent-config doctor --trace-root
|
|
842
|
+
|
|
843
|
+
# Show effective root, origin, install mode, settings layers, wrapper
|
|
844
|
+
agent-config doctor --context
|
|
845
|
+
```
|
|
846
|
+
|
|
847
|
+
Sample `--trace-root` output:
|
|
848
|
+
|
|
849
|
+
```text
|
|
850
|
+
📍 start: /work/projects/site-a/src
|
|
851
|
+
📍 origin: agents-dir
|
|
852
|
+
trace:
|
|
853
|
+
· [boundary] /work/projects/site-a/src (no .git, no agents/)
|
|
854
|
+
✅ [boundary] /work/projects/site-a → agents-dir (agents/ has roadmaps/)
|
|
855
|
+
📍 resolved root: /work/projects/site-a (anchor: agents-dir)
|
|
856
|
+
```
|
|
857
|
+
|
|
858
|
+
Sample `--context` output:
|
|
859
|
+
|
|
860
|
+
```text
|
|
861
|
+
📍 project_root: /work/projects/site-a (origin: agents-dir)
|
|
862
|
+
📦 install_mode: full (source: marker-file)
|
|
863
|
+
…
|
|
864
|
+
```
|
|
865
|
+
|
|
866
|
+
Both flags accept `--json` for machine-readable output. The
|
|
867
|
+
`install_mode_source` is `marker-file` when
|
|
868
|
+
`agents/.agent-state/install-mode.txt` exists (written by the
|
|
869
|
+
installer since Step 8) and `heuristic` for back-compat installs.
|
|
870
|
+
|
|
871
|
+
### When to set `AGENT_CONFIG_LEGACY_ANCHOR=1`
|
|
872
|
+
|
|
873
|
+
Set this only as a temporary escape hatch — for example, when the
|
|
874
|
+
new anchor set surfaces an unexpected ancestor in a CI pipeline that
|
|
875
|
+
already passes the legacy walk. Behaviour:
|
|
876
|
+
|
|
877
|
+
- Walk up for `.git` only (Step-6 behaviour).
|
|
878
|
+
- `agents/` and `.agent-settings.yml` are ignored as anchors.
|
|
879
|
+
- Cascade order is unchanged — layered `.agent-settings.yml` files
|
|
880
|
+
still merge.
|
|
881
|
+
|
|
882
|
+
The kill-switch is scheduled for removal after one minor-version
|
|
883
|
+
soak (D5). File an issue if you need it longer-term so the precedence
|
|
884
|
+
table can absorb the missing case.
|
|
885
|
+
|
|
886
|
+
### Verifying the resolved root
|
|
887
|
+
|
|
888
|
+
```bash
|
|
889
|
+
agent-config doctor --context
|
|
890
|
+
```
|
|
891
|
+
|
|
892
|
+
prints the resolved project root, origin (`root-flag` / `explicit` /
|
|
893
|
+
`env` / anchor name / `cwd-fallback`), install mode, settings-layer
|
|
894
|
+
chain, and wrapper state. Use this when a command appears to read the
|
|
895
|
+
wrong `.agent-settings.yml`. Pair with `--trace-root` (above) when the
|
|
896
|
+
**anchor walk itself** needs debugging.
|
|
678
897
|
|
|
679
898
|
---
|
|
680
899
|
|
package/package.json
CHANGED