0.10.3
Patch npm ↗- Auth and key messages put the vendor CLI login first, point at
ndx config credentials.<vendor>for a key, never suggest a key as a command-line value, and say that storing a key does not switch modes. A refused interpreter--helperprints one line. #942 - Under
llm.<vendor>.auth apiwith no usable key, the Claude and Codex auth preflight (ndx auth,ndx config llm.vendor) reports the missing key asNDX_<VENDOR>_PREFLIGHT_NO_KEYinstead of throwing, sondx init's--soft-preflightproceeds. The--versionchecks (llm.codex.cli_path,--test-connection's cli_path test) resolve no key underauth api, so they pass without one and run no key helper. #984 - Every
codex execn-dx spawns (agent runs, resumed runs, the cross-vendor reviewer and the auth check) now passes-c shell_environment_policy.set.<NAME>=''forOPENAI_API_KEY,CODEX_API_KEYandCODEX_ACCESS_TOKEN, so the commands the Codex agent runs see those names empty whatever~/.codex/config.tomlsets. Codex still authenticates with the key. #984 ndx config llm.<vendor>.api_key <value>(and the legacyclaude.api_key) now writes the per-user credential store instead of.n-dx.local.json, and prints no value. Wherellm.<vendor>.authis unset in that checkout (claude and codex) it also writesllm.<vendor>.auth apito.n-dx.local.jsonand says so, so the key keeps switching that checkout to API mode; an explicitauth,cliincluded, is never overwritten. When git tracks.n-dx.local.json, the key is still stored butauthis left unset, with a line naming the command to set it, because the switch would reach everyone who checks the repository out. These writes keep.n-dx.local.jsonowner-only. An older copy of the key in a config file is removed once the store write succeeds. With no value the key shows its source and fingerprint, never the value. #942ndx config llm.<vendor>.auth <mode>writes.n-dx.local.jsonand no longer removes an auth the repository commits in.n-dx.json; the local value overrides it. #984ndx config credentialsshows the per-user credential store (backend, source in effect, fingerprint; never a value), andndx config credentials.typesafestores the Jev key from a hidden prompt,--stdin, or argv (with a warning), and--unsetremoves it. Othercredentials.<name>are refused; vendor keys come later. #942- Accept Swift, Python, Java and C# language overrides in ndx config, matching the analysis registry and documented help. #909
ndx config credentials --import(and its terminal prompt) no longer silently replaces a stored vendor key: a key the store already holds is only removed from.n-dx.local.json, and a different stored key is replaced only after a terminal confirmation naming both fingerprints. A git-tracked.n-dx.local.jsonis treated as repository config, so its keys are never moved into the user's store. #984ndx configwrites.n-dx.local.jsonthrough an owner-only (0600) temp file renamed into place, so the file never exists at the default umask, and checks git before writing an API key: a tracked target is refused, an unignored one is warned about. #909ndx pair-programmingreads the repository's test command and a tracked vendorcli_pathonly from a trusted checkout:readRexTestCommandreturns undefined with the same noteverify_criteriaprints while the repository is restricted, andresolveVendorCliPathhonours.n-dx.local.jsonalways but.n-dx.jsononly once trusted. Both are now async;ndx trusthelp describes the wider digest. #909ndx startprints, and--openhands the browser, a URL carrying a single-use sign-in nonce minted by the server it started or registered with, instead of the per-user token. #909ndx start --openno longer passes the sign-in URL to the browser opener, whose argv every local account can read withpswhile the browser starts. It writes an owner-only redirect page (open-dashboard.html) in the ndx home and opens that file instead. #909- A stored credential can be a password-manager command instead of a value:
ndx config credentials.<name> --helper "op read op://vault/item/field". The command is split with shell-style quoting and no expansion;|,;,&,>,<,$(and backticks are refused. When the key is needed, n-dx runs it without a shell, with stdin closed and a 10 s timeout. Its one line of output is the value, kept for the process. A failing helper counts as no key and is run again after 60 s, so a long-running hub picks the key up once the password manager is unlocked; one warning per failure streak names the command and never its output.ndx config credentialsnames each helper without running it;--checkruns them. hench's guard refusessecurity find-generic-passwordand every configured helper's command even whenguard.allowedCommandslists them, and Claude CLI runs deny them asBash(<command>:*)rules, plus the double- and single-quoted spellings when a path in the command holds a space. For an interpreter helper (node get-key.mjs) the denied prefix runs through the script, so agents may still runnodeitself; an interpreter with inline code or no script (bash -c,node -e) is refused at--helpertime. An allowed interpreter such asnode -ecan still read the store or run a helper. #942 - Credential store review nits: the landing page re-enables Initialize after a failed Google key store; the Claude scrub warning is Claude-only and no longer names GitHub tokens; a refused Windows credential-CLI spawn prints one line;
ndx config credentials --importwithout a terminal exits 1 when a different stored key blocks a vendor. #984 ndx config credentialsandndx statusname a credential store n-dx refused to read (readable by other users, invalid JSON, unknown version) and its fix, instead of reporting no key. Warnings the credential CLI prints on a successful write now reach the user, and storing a key into a store others could read warns to rotate the keys it held. #984- The manifest validator refuses a
projectLinks[].pathorsidecarTab.pathwith a.or..segment, raw or%2e, so a link cannot leave/x/<name>/(rulelink-dot-segment). #930 - An extension can declare one Sidecar drawer tab with
sidecarTab: { label, path }in its manifest (needs asidecar;apiVersionstays 1). With?project=<id>,GET /api/hub/extensionsaddstab: { label, url } | nullto each entry. Earlier releases list an extension that uses the field as invalid, so setndxVersionto this release or later. #930 - Guard MCP and dashboard bulk PRD rewrites on feature branches, and use caller-supplied file evidence for migration placement and capability specs. Correct Live task selection and Start now navigation, stack dashboard notices, preserve top bar context, and update the v2 docs and Analysis guide. #909
- The Google auth preflight (
ndx config llm.vendor google,ndx auth) finds a key held in the credential store, afterllm.google.api_keyand the exported variable, so a key stored withndx config credentials.googleno longer fails withNDX_GOOGLE_PREFLIGHT_NO_KEY. #984 ndx graviewno longer downloads graview unasked. When no binary is found throughgraview.bin,NDX_GRAVIEW_BIN, PATH or a face checkout,check,describe,mcpandservewith no face to run stop and say how to install it, instead of runningnpx -y graview@<pinned>, which fetched a package at command time and hung offline.graview.allowNpx: truein your own, untracked local config orNDX_GRAVIEW_NPX=1(true,yes,on) turns the npx fallback back on; a committed config cannot opt every clone in, andNDX_GRAVIEW_NPX=0(false,no,off) refuses it, andndx graview infonames the source asnonewhen nothing would run.ndx config graview.<key>now works:graview.binandgraview.allowNpxgo to the machine-local config, which is what the install hint tells you to run. #972- The product map is ready to try in any repository. Without
--port, the face takes 5188 or the next free port, so several projects can each runndx graview serveat once; a port--portnames, or the hub assigns, is still insisted on. Every emit writes a.gitignoreof*inside the graview dir, so a project initialized before the projection existed never commits it. New read-only/ndx-graviewskill:info,check, a backgroundserve, and a walk of the face's pages, reporting what is wrong. #972 - Raise the default
hench.maxTurnsfrom 50 to 200. The cap now also bounds Claude CLI sessions, where 50 cut off ordinary tasks; the named templates keep their own values. #909 - New
ndx work --plan-queue [--format=json]suggests which ready tasks of a v2 PRD can run side by side, using fixed rules and no model call. It groups up to 3 light- or standard-tier tasks of one change into a lane, in dependency order, and prints the command that runs the lane. Every command targets the current checkout, so lane 1 runs here and each later lane must run in its own worktree (lane 1 too, while a run is live in this worktree): the summary and each such lane say so, and the JSON marks those lanesownWorktree: true. Lanes offered together come from changes whosetouchesdo not overlap, and a change with notouchesruns alone. Tasks taggedreview-critical,migrationorcross-packageare left out. The plan never offers more lanes thanguard.maxConcurrentProcessesminus the runs active now, counted in every worktree of the repository. Every ready task is listed once, in a lane or left out, with a one-line reason. The command only prints: it starts no run, claims no task and writes no file. #907 - New
ndx work --task=<id> --require-unblockedrefuses to start the task, and exits non-zero, while any task it is blocked by is not completed. An explicit--taskotherwise ignores blockers.ndx work --plan-queuelane commands now pass it on each blocked step, so a lane stops instead of running a task on top of a blocker whose run exited 0 without completing it.ndx work --task=<id> --require-unblocked --resolvereports the same refusal asblocked, naming each open blocker, and keeps the flag in its printed command. #907 - hench finds the PRD on a project moved to the
.ndx/layout when its config still holds the legacy defaultrexDir: ".rex":ndx work --task,--resolveand--plan-queuefollow the layout's rex dir, while a deliberate value still wins.ndx migrate-layoutrewrites a legacy-defaultrexDirand verifies it; the dashboard shows the layout's rex dir as the field's default. #961 - Identifying the hub's listener no longer needs
lsofon Linux: it falls back toss -ltnp, then to/proc/net/tcpand/proc/<pid>/fd. A listening socket whose owner cannot be seen is refused, and when no query tool is installed the error names the missing ones.ndx startnow says why a hub it spawned was not identified instead of only reporting that it did not start. #909 ndx startnames a server older than itself instead of printing a URL with no sign-in link./api/hub/healthreports the hub's build (build: { version, sourceHash }), andndx startwarns when a reused hub runs another build. A source-linked install also warns before spawning whenpackages/web/distis older than its source (apnpm devwatch build does not count as stale). A missing nonce route now reads "the server is older than this ndx" with a fix that works:pnpm --filter "@n-dx/web..." buildcomes first when thedist/on disk is stale, because a restart alone would spawn it again, and the restart names the server's own commands (--here,--preview,ndx web).ndx start statusin a directory with no recorded registration says this user's hub is running and names the command that registers it, rather than "No background server recorded" and "Port 3117 is in use by another process". #971ndx start,ndx start status,ndx start stop,ndx refresh's live reload and the MCP shim now send the per-user token only to a listener identified as this user's own n-dx hub or dashboard (recorded pid, alive, owned by this user, sole listener on the port). A port held by anything else is reported and gets no credentialed request. #909ndx config credentials --importimports nothing when the credential store was not read (refused for its mode, unreadable or invalid), and names the problem and its fix, instead of replacing a stored key or helper it could not see. #984ndx initnow leaves a clean tree sondx workcan start straight after it. In an existing git repository it commits the paths it owns under the project directory that it created or changed, plus any sourcevision output, with the n-dx trailers and without running the project's commit hooks; anything else that changed meanwhile is never committed, init paths the user had already changed are left as they were and listed in the summary, a re-init commits only what it rewrote (no empty commit), and--no-commitskips the commit. The hub card's Initialize runs the same path. Init now gitignores the dashboard's pid, port and spend files and the analysis caches, and drops any of them an earlier commit tracked (they stay on disk). The baseline commit aftergit initnow includes.gitattributesand.mcp.jsonand skips paths the user's global excludes ignore instead of failing. #961ndx initandndx migrate-layoutgitignore the dashboard usage ledger and pid/port markers on the.ndx/layout. #961- Jev availability is visible:
ndx statusprintsjev: available (env|file|helper)orjev: unavailable, rexget_capabilitiesand the sourcevision manifest'slastAnalysiscarryjev: {available, source}, never the key.llm.typesafe.required: truewarns once per process when a Jev-routed call falls back to a text model, andndx config credentials.typesafe --testmakes one request and reports ok, rejected or unreachable with the key's fingerprint. #942 - A TypeSafe key held behind a helper command no longer reads as available before the helper has run.
ndx statusshowsjev: unverified (helper, not run; …)and rexget_capabilitiesreportsjev: { available: null, source: "helper" }, and neither runs the helper.manifest.lastAnalysis.jevrecords what the run's own helper call gave:available: falsewhen it failed,nullwhen the run never called it. Manifests written before this still validate. #984 ndx ciand Claude discovery now tell a local-config classifier failure (hench not built, its timeout, unreadable output) apart from git being unable to answer, instead of pointing every failure atgit safe.directory. The classifier's output buffer is raised from 1 MB to 64 MB. #909- Refuse a credential write to a machine-local config path git tracks even when nothing is on disk there (a deleted tracked file, a sparse checkout) or only a committed dangling symlink is. The local-config classifier now counts an lstat-visible entry as present, and
isLocalConfigTrackedtakesevenIfAbsentfor writers. #909 - Printed and opened dashboard URLs, MCP registration lines,
NDX_HUB_URLand graview's hub endpoint now usehttp://127.0.0.1:<port>instead ofhttp://localhost:<port>. The hub and project servers bind only127.0.0.1, andlocalhostmay resolve to[::1]first, where another local account could listen on the same port and receive the sign-in nonce or the token. Re-register HTTP MCP clients with the127.0.0.1URL. #909 ndx mcp <server>bridges to a hub that requires the per-user token again: the shim identifies the listener as this user's hub, then checks health with the token, instead of reading the hub's anonymous 401 as "no hub" and always serving in-process. #909ndx cino longer crashes with a stack trace when the architecture-policy scan selects a source file it cannot read. The step fails withcannot read <file>: <error>, and the report and--format=jsonoutput are still produced. #984- Strip additional credential variable names from child environments, including PAT, key, password, JWT, DSN, session, webhook and database URL names. Named directory and desktop session plumbing still passes. Tools that require a newly filtered variable must list it in a trusted
hench.guard.env.allowpolicy. An exact user deny now takes precedence over plumbing exceptions. #909 - Servers are no longer killed by the global
cli.timeoutMs:ndx start,web,dev,mcp, the stdio MCP servers.mcp.jsonregisters (rex mcp,sv mcp),sv serve,graview serveandgraview mcprun until stopped unlesscli.timeouts.<command>names a limit.ndx graview serveused to die at the global limit (five hours on this repo) because the timeout keyed only ongraview. The subcommand is the first word that is not a flag or a flag's value, sondx rex -q mcp .andndx rex --format json mcp .count as the server too. The dashboard's copy of the rules (GET /api/cli/timeouts, the limit it puts on the analyze, plan and add it spawns, and a Sidecarrun_command) follows core's order, listsmcpwith the servers and applies the same server subcommands, sondx graview serveorndx sv serverun from the dashboard are not cut off either. #972 - Document
hench.maxCostUsdPerRun,hench.maxCostUsdPerDayandhench.guard.sessionTimeoutinndx confighelp andhench config, and expose them in the dashboard's hench settings. #909 ndx config --test-connectiontests the Claude key the API provider would send: underllm.claude.auth apithat includes a key held in the credential store. Undercli(orautowith a store-only key) it says the key is not used and does not test it. The key is never printed. #984ndx config credentialson a git-tracked.n-dx.local.jsonnow says the file's key is used instead of the credential store's until it is removed from that file. #984- New
llm.<vendor>.authsetting (cli,apiorauto, defaultauto) chooses which credential claude, codex and google get.ndx config credentials.claude|codex|googlestores a vendor key in the per-user credential store. A stored key is used underapi(and by google, which has no CLI login); underautoonly a configured or exported key selects the API, so storing a key never moves a vendor off its CLI login.clikeeps the vendor key out of the CLI child.ndx config credentials [dir]prints each vendor's mode and key source, never a value. hench refusesprovider=apiunderauth cli, or with no key it may use, before the run starts;ndx work --resolvereportsauth. A project config'sllm.<vendor>.auth apiapplies only once the repository is trusted. #942 web.auth: falsenow turns the per-user dashboard token off only from.n-dx.local.json,<ndx home>/config.jsonor--no-auth. Afalsein the tracked.n-dx.jsonis ignored, with a warning naming the file. #909ndx config web.auth falsenow writes.n-dx.local.json(and moves a copy out of.n-dx.json), sincendx startignoresweb.auth: falsein the shared file.ndx startalso ignoresweb.auth: falsefrom a.n-dx.local.jsonthe repository commits, with a warning naming the file;--no-authand<ndx home>/config.jsonstill turn it off. #909
Full release notes
Auth and key messages put the vendor CLI login first, point at ndx config credentials.<vendor> for a key, never suggest a key as a command-line value, and say that storing a key does not switch modes. A refused interpreter --helper prints one line.
Soft freeze: message text only. No key, flag, exit code or MCP tool changes.
ndx config llm.<vendor>.api_key <value> (and the legacy claude.api_key) now writes the per-user credential store instead of .n-dx.local.json, and prints no value. Where llm.<vendor>.auth is unset in that checkout (claude and codex) it also writes llm.<vendor>.auth api to .n-dx.local.json and says so, so the key keeps switching that checkout to API mode; an explicit auth, cli included, is never overwritten. When git tracks .n-dx.local.json, the key is still stored but auth is left unset, with a line naming the command to set it, because the switch would reach everyone who checks the repository out. These writes keep .n-dx.local.json owner-only. An older copy of the key in a config file is removed once the store write succeeds. With no value the key shows its source and fingerprint, never the value.
ndx config credentials finds API keys already in .n-dx.local.json: on a terminal it offers to move them, --import moves them without a prompt, and otherwise it names the flag. A key leaves the file only after the store write succeeds, and the same auth rule applies per vendor. A vendor whose store entry is a helper is skipped, never overwritten: its key stays in the file and one line names the vendor and the file to remove it from.
Soft freeze: this is a behaviour change to an existing ndx config key. llm.<vendor>.api_key no longer reads back the value, and a key no longer lands in .n-dx.local.json; existing keys in that file keep working until moved, and --import is a new ndx config flag. No MCP tool changes shape.
ndx config credentials shows the per-user credential store (backend, source in effect, fingerprint; never a value), and ndx config credentials.typesafe stores the Jev key from a hidden prompt, --stdin, or argv (with a warning), and --unset removes it. Other credentials.<name> are refused; vendor keys come later.
Soft freeze: credentials and credentials.typesafe are new ndx config keys, and --stdin and --unset are new ndx config flags. Every existing ndx config key, llm.<vendor>.api_key included, behaves as before, and no MCP tool changes shape.
New ndx work --plan-queue [--format=json] suggests which ready tasks of a v2 PRD can run side by side, using fixed rules and no model call. It groups up to 3 light- or standard-tier tasks of one change into a lane, in dependency order, and prints the command that runs the lane. Every command targets the current checkout, so lane 1 runs here and each later lane must run in its own worktree (lane 1 too, while a run is live in this worktree): the summary and each such lane say so, and the JSON marks those lanes ownWorktree: true. Lanes offered together come from changes whose touches do not overlap, and a change with no touches runs alone. Tasks tagged review-critical, migration or cross-package are left out. The plan never offers more lanes than guard.maxConcurrentProcesses minus the runs active now, counted in every worktree of the repository. Every ready task is listed once, in a lane or left out, with a one-line reason. The command only prints: it starts no run, claims no task and writes no file.
A new experimental toggle, hench.readyNext (off by default), replaces the Up next list on Live with Ready next, which shows each lane's command, the own-worktree note on every lane after the first, and the reasons for every task in or out. Each task title opens the task, as Up next items do.
Jev availability is visible: ndx status prints jev: available (env|file|helper) or jev: unavailable, rex get_capabilities and the sourcevision manifest's lastAnalysis carry jev: {available, source}, never the key. llm.typesafe.required: true warns once per process when a Jev-routed call falls back to a text model, and ndx config credentials.typesafe --test makes one request and reports ok, rejected or unreachable with the key's fingerprint.
Soft freeze: llm.typesafe.required and --test are a new ndx config key and flag, and ndx status gains a jev line. rex get_capabilities gains an additive jev field and the sourcevision manifest's lastAnalysis an optional jev field, so MCP output grows but no field changes or disappears.
ndx ci no longer crashes with a stack trace when the architecture-policy scan selects a source file it cannot read. The step fails with cannot read <file>: <error>, and the report and --format=json output are still produced.
ndx ci's gateway-imports step now also reports a dynamic import("<pkg>") of a gated package outside its gateway, matching what the domain-isolation policy test already enforces. On Windows it no longer flags the gateway files and allowlisted files themselves. A source file or directory it cannot read now fails the step instead of being skipped.
Changes a CLI result under the soft freeze: for a selected source file it cannot read, ndx ci's architecture-policy step now reports ok: false with a cannot read <file>: <error> entry in violations, where it previously exited with an uncaught error and no report.
Changes a CLI result under the soft freeze: a file that loads a gated package with import() outside its gateway now makes the gateway-imports step report ok: false with a violation, where it previously passed.
Changes a CLI result under the soft freeze: for a source file or directory it cannot read, the gateway-imports step now reports ok: false with a { file, message } entry in violations, whose message is cannot read <path>: <error> and which has no line, where it previously skipped the file and passed.
Strip additional credential variable names from child environments, including PAT, key, password, JWT, DSN, session, webhook and database URL names. Named directory and desktop session plumbing still passes. Tools that require a newly filtered variable must list it in a trusted hench.guard.env.allow policy. An exact user deny now takes precedence over plumbing exceptions.
Keep valid user environment denies when a repository policy field is malformed. Refuse credential writes to tracked or unclassifiable local config, warn for other local writes, classify CI's local-config checks through the existing trust classifier, and explain skipped Claude settings when git cannot answer without printing the configured binary.
New llm.<vendor>.auth setting (cli, api or auto, default auto) chooses which credential claude, codex and google get. ndx config credentials.claude|codex|google stores a vendor key in the per-user credential store. A stored key is used under api (and by google, which has no CLI login); under auto only a configured or exported key selects the API, so storing a key never moves a vendor off its CLI login. cli keeps the vendor key out of the CLI child. ndx config credentials [dir] prints each vendor's mode and key source, never a value. hench refuses provider=api under auth cli, or with no key it may use, before the run starts; ndx work --resolve reports auth. A project config's llm.<vendor>.auth api applies only once the repository is trusted.
Soft freeze: llm.<vendor>.auth and credentials.<vendor> are new keys, and --resolve gains a top-level auth field. With no stored vendor key and no auth set, every mode choice and child environment is unchanged. The missing API key errors now name ndx config credentials.<vendor> and llm.<vendor>.auth. No MCP tool changes shape.