@technomoron/agent-run 0.99.23 → 0.99.25

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/CHANGES CHANGED
@@ -1,6 +1,23 @@
1
1
  CHANGES
2
2
  =======
3
3
 
4
+ Version 0.99.25 (2026-07-11)
5
+ ----------------------------
6
+ * Add config-root `agent-run.defaults.jsonc` inheritance so project manifests
7
+ contain only overrides, with nested-object merging and array replacement.
8
+ * Stop creating empty local templates and override directories, require an
9
+ explicit sparse profile marker for updates and tool runs, and keep `edit` as
10
+ the command that creates local instructions.
11
+ * Split the TypeScript CLI into focused parsing, configuration, rendering,
12
+ project-discovery, checking, process, and tool-runtime modules.
13
+
14
+ Version 0.99.24 (2026-07-11)
15
+ ----------------------------
16
+ * Allow failed tag releases to be retried through a manual workflow dispatch,
17
+ and omit npm provenance when the GitHub source repository is private.
18
+ * Reinstall pnpm after Corepack updates so `/usr/local/bin/pnpm` runs the latest
19
+ npm-installed pnpm while projects keep honoring their pinned package manager.
20
+
4
21
  Version 0.99.23 (2026-07-11)
5
22
  ----------------------------
6
23
  * Load Codex instructions, configuration, and skills natively from the private
package/README.md CHANGED
@@ -19,11 +19,12 @@ Example:
19
19
  ```text
20
20
  ~/source/
21
21
  agent-config/
22
+ agent-run.defaults.jsonc
22
23
  org/
23
24
  my-api/
24
25
  agent-run.jsonc
25
- local.md.njk
26
- overrides/
26
+ local.md.njk # optional
27
+ overrides/ # optional
27
28
  live/
28
29
  CLAUDE.md
29
30
  .claude/
@@ -48,8 +49,9 @@ the agent config tree.
48
49
 
49
50
  ## File Roles
50
51
 
51
- - `agent-run.jsonc`: profile manifest
52
- - `local.md.njk`: source file you edit for project-specific instructions
52
+ - `agent-run.defaults.jsonc`: config-root defaults shared by every profile
53
+ - `agent-run.jsonc`: sparse profile manifest and profile-discovery marker
54
+ - `local.md.njk`: optional project-specific instructions
53
55
  - `overrides/`: optional per-profile template overrides
54
56
  - `live/memories/codex-home/AGENTS.md`: generated Codex instructions
55
57
  - `live/memories/codex-home/config.toml`: generated Codex config
@@ -57,7 +59,30 @@ the agent config tree.
57
59
  - `live/CLAUDE.md`: generated Claude instructions
58
60
  - `live/.claude/`: generated Claude settings and local plugin skills
59
61
 
60
- Edit `local.md.njk` and `agent-run.jsonc`. `agent-run` keeps generated files in sync.
62
+ Edit only the root defaults and profile overrides that differ. `agent-run` keeps
63
+ generated files in sync.
64
+
65
+ ## Manifest Defaults
66
+
67
+ Manifest values are resolved in this order:
68
+
69
+ 1. built-in defaults
70
+ 2. `<config-root>/agent-run.defaults.jsonc`
71
+ 3. `<config-root>/<profile>/agent-run.jsonc`
72
+
73
+ Nested manifest objects are merged. Arrays such as `checks`, `agent.includes`,
74
+ and `skills.install` replace the inherited array instead of being appended.
75
+ The profile name is always inferred from project mapping; the root defaults file
76
+ must not set `profile`.
77
+
78
+ A profile with no differences from the root defaults needs only this marker:
79
+
80
+ ```json
81
+ {}
82
+ ```
83
+
84
+ `local.md.njk` and `overrides/` are not created unless they contain actual
85
+ profile-specific configuration.
61
86
 
62
87
  ## Profile Resolution
63
88
 
@@ -153,12 +178,9 @@ Initialize mapped files for the current repo:
153
178
  agent-run init
154
179
  ```
155
180
 
156
- This creates the mapped profile directory if needed and ensures these source
157
- files/directories exist:
158
-
159
- - `agent-run.jsonc`
160
- - `local.md.njk`
161
- - `overrides/`
181
+ This creates `<config-root>/agent-run.defaults.jsonc` when needed and a minimal
182
+ `agent-run.jsonc` marker for the mapped profile. It does not create empty local
183
+ instruction or override files.
162
184
 
163
185
  Edit the source file for the current repo:
164
186
 
@@ -166,8 +188,8 @@ Edit the source file for the current repo:
166
188
  agent-run edit
167
189
  ```
168
190
 
169
- This creates missing files, syncs generated files, then opens `local.md.njk`
170
- in your editor.
191
+ This creates `local.md.njk` when needed, syncs generated files, then opens it in
192
+ your editor.
171
193
 
172
194
  Regenerate the generated files for the current repo:
173
195
 
@@ -175,6 +197,10 @@ Regenerate the generated files for the current repo:
175
197
  agent-run update
176
198
  ```
177
199
 
200
+ `update` requires an existing profile marker or local/legacy instruction file;
201
+ it does not silently scaffold an unconfigured project. Use `agent-run init` or
202
+ the tool command's `--create` option first.
203
+
178
204
  Regenerate every profile under the config root without requiring matching code
179
205
  checkouts:
180
206
 
@@ -193,15 +219,15 @@ agent-run codex --generate
193
219
  agent-run claude --generate
194
220
  ```
195
221
 
196
- This reads `agent-run.jsonc` and Nunjucks templates from the mapped profile
197
- directory and rewrites generated files:
222
+ This reads the root defaults, sparse profile manifest, and Nunjucks templates,
223
+ then rewrites generated files:
198
224
 
199
- - `CLAUDE.md`
200
- - `memories/codex-home/AGENTS.md`
201
- - `memories/codex-home/config.toml`
202
- - `memories/codex-home/skills/**`
203
- - `.claude/**`
204
- - `bin/**`
225
+ - `live/CLAUDE.md`
226
+ - `live/memories/codex-home/AGENTS.md`
227
+ - `live/memories/codex-home/config.toml`
228
+ - `live/memories/codex-home/skills/**`
229
+ - `live/.claude/**`
230
+ - `live/bin/**`
205
231
 
206
232
  Per-profile override templates can be placed in:
207
233
 
@@ -211,10 +237,10 @@ Per-profile override templates can be placed in:
211
237
  ## Starter Config
212
238
 
213
239
  A complete starter lives in `examples/basic-config`. It includes a minimal
214
- project, `.agent-run.env`, a config root with global templates and snippets,
215
- profile-local templates, skill templates, a personal memory skill, profile
216
- skill overrides, tool config overrides, guardrails, checks, and generated
217
- runtime paths.
240
+ project, `.agent-run.env`, root manifest defaults, global templates and
241
+ snippets, profile-local templates, skill templates, a personal memory skill,
242
+ profile skill overrides, tool config overrides, guardrails, checks, and
243
+ generated runtime paths.
218
244
 
219
245
  To copy the packaged starter config root into your default config location:
220
246
 
@@ -264,11 +290,11 @@ Migrate an existing config tree to the manifest/template layout:
264
290
  agent-run migrate-config ~/.agent-config
265
291
  ```
266
292
 
267
- This preserves `AGENTS-MODS.md`, creates `local.md.njk`, `agent-run.jsonc`, and
268
- `overrides/` for legacy profiles, creates the `global/` templates, moves loose
269
- review files into `reviews/`, moves loose `memory*.md` files into `memories/`,
270
- and moves old Codex runtime files into `memories/codex-home` when doing so does
271
- not overwrite existing files.
293
+ This preserves `AGENTS-MODS.md`, creates `local.md.njk` and a sparse
294
+ `agent-run.jsonc` marker for legacy profiles, creates the root defaults and
295
+ `global/` templates, moves loose review files into `reviews/`, moves loose
296
+ `memory*.md` files into `memories/`, and moves old Codex runtime files into
297
+ `live/memories/codex-home` without overwriting existing files.
272
298
 
273
299
  ## Systemd Jobs
274
300
 
@@ -285,6 +311,7 @@ package list is configurable through systemd environment overrides:
285
311
 
286
312
  ```text
287
313
  AI_TOOLS_NPM_PACKAGES="npm@latest pnpm@latest corepack@latest fallow@latest ripgrep@latest pm2@latest tsx@latest typescript@latest @openai/codex@latest @anthropic-ai/claude-code@latest @technomoron/agent-run@latest"
314
+ AI_TOOLS_PNPM_PACKAGE="pnpm@latest"
288
315
  AI_TOOLS_APT_PACKAGES="gh"
289
316
  ```
290
317