@nathapp/nax 0.82.0-canary.13 → 0.82.0-canary.15

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 (3) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/nax.js +3046 -1588
  3. package/package.json +4 -2
package/CHANGELOG.md CHANGED
@@ -17,10 +17,34 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
17
17
  ### Fixed
18
18
 
19
19
  - **watchdog:** Count ACP `tool_call` / `tool_call_update` stream activity by default, and add `agent.idleWatchdog.toolCallOnlyIdleTimeoutSeconds` (default 1800s) so long-running tool-only sessions stay alive without masking runaway tool loops.
20
+ - **Story fragments no longer name nax's own artifacts.** The fragment collector (`## Files touched`) ran
21
+ `git diff --name-only` with no exclusions, so git-tracked run state such as
22
+ `<pkg>/.nax/cache/test-patterns.json` was recorded as a changed file and then offered to a dependent
23
+ story as something worth reading. Excludes are anchored at the repository root, so the same fragment is
24
+ produced whether the story's workdir is the repo root or a package (#2072).
25
+ - **Monorepo: the agent loop now uses per-package config.** `callOp` resolved its config from the repo
26
+ root, so a story with a `workdir` was given the ROOT `quality.commands` and `RunCommand` ran the wrong
27
+ toolchain (#2066). The registry also missed every override under worktree and parallel isolation, where
28
+ a package resolved through `.nax-wt/<storyId>/` (#2069).
29
+
30
+ **Behaviour change:** `execution.permissionProfile` and `execution.permissions` declared in
31
+ `.nax/mono/<pkg>/config.json` were previously inert at every dispatch site and now apply, completing the
32
+ SEC-3 fix. Per-package `execution.denyPaths`, `models`, `agent.native.transportRetry` and
33
+ `execution.compaction` likewise now take effect. If an overlay in your repo sets any of these, review it
34
+ before upgrading — the resolved profile is now logged once per dispatch.
35
+ - **RunCommand:** `target` supplied with a declared `command` is now rejected (previously the `target`
36
+ was silently discarded); `target` remains valid only for the `argv` branch (#2066).
37
+ - **Review diff paths are now package-relative.** `collectDiff`, `collectDiffStat` and
38
+ `computeTestInventory` ran git without `--relative`, so a monorepo story's reviewer — whose file
39
+ tools are rooted at the package dir — was shown repo-rooted paths like `packages/lib/src/util.ts`.
40
+ Reading one resolved to `<pkg>/packages/lib/...` and failed, costing a round trip per file before
41
+ the model retried. `computeTestInventory` also gained the `-- .` pathspec its siblings already had,
42
+ so the adversarial prompt's test-gap inventory no longer lists files from other packages (#2066).
20
43
  - **Fixed** — a same-agent fallback hop dispatched the previous model, because
21
44
  `SessionManager` reused a live session whenever the agent name matched and
22
45
  discarded the requested endpoint. Same-agent ladder rungs and sticky endpoints
23
46
  inherited by warm rectification ops were both inert (#1965).
47
+ - `nax plan --decompose` now persists through `finalizeAndWritePrd` instead of writing the PRD raw, so decompose-created sub-stories get `workdirSource` stamped and their declared paths re-spelled into the repo frame (#2080). The write is scoped to the new sub-stories: workdir derivation and routing resolution do not re-run over stories already in the PRD, which may have executed.
24
48
 
25
49
  ### Changed
26
50