Skip to content

Refresh config docs for workspace isolation + model slots#1

Merged
mgoldsborough merged 1 commit intomainfrom
refactor/config-refresh
Apr 18, 2026
Merged

Refresh config docs for workspace isolation + model slots#1
mgoldsborough merged 1 commit intomainfrom
refactor/config-refresh

Conversation

@mgoldsborough
Copy link
Copy Markdown
Contributor

Summary

  • Rewrite config/nimblebrain-json.mdx: leads with models.{default,fast,reasoning} slots and the providers multi-provider object; adds tables for files, store, logging.level/retentionDays, allowInsecureRemotes, maxToolResultSize; calls out that bundles/skillDirs/agents/home/preferences/noDefaultBundles are silently stripped at the top level; deprecation callouts for identity/contextFile; updated maxIterations default (25, cap 50).
  • New config/workspace-json.mdx page (added to sidebar): documents per-workspace bundles, skillDirs, agents, optional models and identity overrides, the _dev dev-mode workspace, and per-workspace data isolation.
  • Peripheral updates: agents.mdx (profiles live in workspace.json, slot-name model refs, corrected iteration budget), environment.mdx (added rate-limit / MCP session / home / WorkOS / internal vars; fixed NB_WORK_DIR precedence), logging.mdx (added level and retentionDays), concepts.mdx (iteration defaults), using/delegation.mdx (profile location + slot names).
  • Bulk model-ID swap: claude-sonnet-4-5-20250929anthropic:claude-sonnet-4-6 across API samples and CLI examples.

Paired with NimbleBrainInc/nimblebrain#32 in the code repo.

Test plan

  • bun run build — 67 pages (was 66; +1 for workspace-json), clean build, no broken links
  • Spot-check rendered pages locally with bun run dev
  • Review sidebar ordering for the Configuration section

The config/nimblebrain-json page was describing a pre-workspace-
refactor world. Rewrote it to:

- Split the reference into instance config (nimblebrain.json) and
  per-workspace config (new workspace-json page).
- Lead the example with `models.{default,fast,reasoning}` slots and
  the `providers` multi-provider object. Keep `model` + `defaultModel`
  in a "Legacy" section with a deprecation note.
- Add table entries for `files`, `store`, `logging.level`,
  `logging.retentionDays`, `allowInsecureRemotes`,
  `maxToolResultSize`, and updated `maxIterations` default (25, cap 50).
- Call out that `bundles`, `skillDirs`, `agents`, `home`, `preferences`,
  and `noDefaultBundles` are silently stripped when placed at the
  top level; they belong in workspace.json.
- Deprecation callouts for `identity` and `contextFile` (use context
  skills).

Peripheral pages updated:

- config/agents: clarify profiles live in workspace.json; model IDs
  use slot names (`"fast"`, `"reasoning"`) or `provider:model-id`;
  iteration budget explanation now references all four caps.
- config/environment: grouped tables for providers / runtime / auth /
  telemetry; added rate-limit, MCP session, home, WorkOS, internal
  vars; fix NB_WORK_DIR precedence.
- config/logging: document `level` and `retentionDays`.
- concepts: iteration defaults (25, cap 50); model slot in Defaults.
- using/delegation: profiles live in workspace.json; slot names in
  examples; corrected iteration-budget language.
- Bulk swap `claude-sonnet-4-5-20250929` →
  `anthropic:claude-sonnet-4-6` across API response samples and
  CLI examples.

Sidebar: add workspace.json under Configuration.
@mgoldsborough mgoldsborough merged commit 29e5505 into main Apr 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant