dreamteamer 0.48.1 → 0.49.1

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 (36) hide show
  1. package/README.md +41 -39
  2. package/collections/modules.collection.yaml +11 -0
  3. package/package.json +1 -1
  4. package/skills/using-dreamteamer/SKILL.md +8 -6
  5. package/skills/using-dreamteamer/references/before-you-build.md +8 -6
  6. package/skills/using-dreamteamer/references/collections.md +16 -7
  7. package/skills/using-dreamteamer/references/commands.md +4 -3
  8. package/skills/using-dreamteamer/references/data-modeling.md +3 -2
  9. package/skills/using-dreamteamer/references/extensions.md +13 -12
  10. package/skills/using-dreamteamer/references/getting-started.md +4 -3
  11. package/skills/using-dreamteamer/references/records.md +4 -4
  12. package/skills/using-dreamteamer/references/setup.md +7 -5
  13. package/skills/using-dreamteamer/references/ui-components.md +1 -1
  14. package/skills/using-dreamteamer/references/ui-views.md +39 -1
  15. package/skills/using-dreamteamer/references/writing-a-module.md +3 -2
  16. package/src/api.d.ts +18 -0
  17. package/src/api.js +7 -0
  18. package/src/check-alone.js +58 -8
  19. package/src/check.js +10 -0
  20. package/src/cli.js +36 -18
  21. package/src/collections-cli.js +9 -41
  22. package/src/compile-collections.js +20 -3
  23. package/src/compile.js +59 -8
  24. package/src/extensions.js +1 -1
  25. package/src/init.js +1 -1
  26. package/src/install-modules.js +113 -46
  27. package/src/nav-fragments.js +190 -0
  28. package/src/nav.js +185 -0
  29. package/src/schema-ops.js +4 -4
  30. package/src/semver.js +4 -0
  31. package/src/setup.js +6 -3
  32. package/src/store.js +35 -11
  33. package/src/unread-data.js +74 -0
  34. package/src/update-setup.js +6 -5
  35. package/src/update.js +43 -12
  36. package/src/workspace.js +52 -13
package/README.md CHANGED
@@ -1,12 +1,12 @@
1
1
  # dreamteamer
2
2
 
3
- dreamteamer is a lightweight, open source, cross-harness **context package manager** for humans and AI agents. All major AI coding agents are natively supported, including Claude Code, Codex, Cursor, Gemini, Pi and more.
3
+ dreamteamer is a lightweight, open source, cross-harness **context package manager** for humans and AI agents. All major AI coding agents are natively supported: Claude Code, Codex, Cursor, Gemini CLI and Pi.
4
4
 
5
5
  #### What is a context package manager and why do I need one?
6
6
 
7
- A context package manager is a tool that helps you construct and maintain agentic workspaces in a **modular, structured, and consistent** manner by treating context as source code, and applying software engineering best practices to your AI agents' working context. You need it because structured context dramatically improves the reasoning, consistency, and reliability of agents in scenarios with repeated tasks. Read our [FAQ](FAQ.md) for more details.
7
+ A context package manager is a tool that helps you construct and maintain agentic workspaces in a **modular, structured, and consistent** manner by treating context as source code, and applying software engineering best practices to your AI agents' working context. You need it because structured context dramatically improves the reasoning, consistency, and reliability of agents in scenarios with repeated tasks. Read our [FAQ](FAQ.md) for more details.
8
8
 
9
- dreamteamer ships with a base set of [modules](https://github.com/dreamteamer/dreamteamer-modules) for common use cases such as second brains and AI software factories, and you can easily extend existing modules or create your own through natural language conversation. See [EXTENDING.md](EXTENDING.md) for more details on how to create your own modules.
9
+ dreamteamer ships with a base set of [modules](https://github.com/dreamteamer/dreamteamer-modules) for common use cases such as second brains and AI software factories, and you can easily extend existing modules or create your own through natural language conversation. See [EXTENDING.md](EXTENDING.md) for more details on how to create your own modules.
10
10
 
11
11
  ## Getting started
12
12
 
@@ -14,13 +14,13 @@ dreamteamer ships with a base set of [modules](https://github.com/dreamteamer/dr
14
14
  In Claude Code (or any other agent harness), paste the following prompt, replacing `my-workspace` and `~/Documents` with your desired values:
15
15
 
16
16
  ```markdown
17
- create a new folder names "my-workspace" under my "~/Documents" folder.
17
+ Create a new folder named "my-workspace" under my "~/Documents" folder.
18
18
 
19
19
  Read the [dreamteamer README](https://github.com/dreamteamer/dreamteamer) and initialize a blank new private dreamteamer workspace in that folder. Ensure I have all the prerequisites to run dreamteamer on my machine.
20
20
 
21
21
  Read the [dreamteamer modules README](https://github.com/dreamteamer/dreamteamer-modules), then interview me for my goals and needs, and suggest an optimal set of packages that can help me accomplish them. Help me set up the packages properly, along with all the required dependencies and configurations.
22
22
 
23
- Verify that the workspace works by running `npx dreamteamer status` and making sure it reports everything as expected.
23
+ Verify that the workspace works by running `npx dreamteamer status` and making sure it reports everything as expected.
24
24
  ```
25
25
  Then start a new session in your newly created folder (some agents may already switch to it automatically). Continue your conversations with the agent in this folder as you would normally. You can start by asking:
26
26
 
@@ -31,10 +31,10 @@ I'm new to this workspace, explain in simple and concise terms what I can alread
31
31
  To import any existing data into your newly created workspace:
32
32
 
33
33
  ```markdown
34
- Help me import relevant data from my machine into this workspace. Ask me questions as needed to understand the data and how to import it, and let me know what permissions you need.
34
+ Help me import relevant data from my machine into this workspace. Ask me questions as needed to understand the data and how to import it, and let me know what permissions you need.
35
35
  ```
36
36
 
37
- To expand the workspace with additional capabilities:
37
+ To expand the workspace with additional capabilities:
38
38
 
39
39
  ```markdown
40
40
  I'm trying to do XXX - how can I leverage dreamteamer to help me accomplish this? What changes should I make to the workspace and what modules should I install or create? Walk me through the process step by step.
@@ -44,12 +44,12 @@ I'm trying to do XXX - how can I leverage dreamteamer to help me accomplish this
44
44
 
45
45
  #### Prerequisites
46
46
  ```bash
47
- node -v # >=24.x.x
48
- npm -v # >=11.x.x
49
- git --version # >=2.39.x
47
+ node -v # 20 or later
48
+ npm -v # 7 or later
49
+ git --version # any recent git
50
50
  ```
51
51
 
52
- Note: some modules may have additional prerequisites. The `npx dreamteamer install` command will ask you for permissions to install prerequisites as needed.
52
+ Note: some modules have prerequisites of their own. a module's setup asks before it downloads anything or changes your machine (or takes `--allow <kind>`), and `npx dreamteamer status` says what each installed module still needs.
53
53
 
54
54
  #### Installation
55
55
 
@@ -58,75 +58,77 @@ mkdir my-workspace && cd my-workspace
58
58
  npx dreamteamer init
59
59
 
60
60
  # optional - install some pre-built modules from https://github.com/dreamteamer/dreamteamer-modules
61
- npx dreamteamer install @dreamteamer/tasks @dreamteamer/contacts
61
+ npx dreamteamer install @dreamteamer/tasks @dreamteamer/contacts
62
+ # ...or a module preset: one name that installs a whole set, each module pinned
63
+ npx dreamteamer install @dreamteamer/core
62
64
 
63
65
  npx dreamteamer status
64
66
  npx dreamteamer help # every verb and flag
65
67
  ```
66
68
 
67
- ### For VSCode users
69
+ ### For VS Code users
68
70
 
69
- Install the [dreamteamer VSCode extension](https://marketplace.visualstudio.com/items?itemName=dreamteamer.dreamteamer-vscode) and use the `Dreamteamer: Create Workspace` command to create a new workspace.
71
+ Install the [dreamteamer VS Code extension](https://marketplace.visualstudio.com/items?itemName=dreamteamer.dreamteamer-vscode) and run the `dreamteamer: Create Workspace Here` command in an empty folder.
70
72
 
71
73
  ## Under the hood
72
74
 
73
75
  Warning: technical details ahead. Non technical users may safely skip this section.
74
76
 
75
- dreamteamer works by maintiaing a well-defined data model for your workspace, and injecting the model schema along with guided instructions on how to use it, into every conversation. This operates similarly to the way Claude code and other harnesses inject skill names and their descriptions.
77
+ dreamteamer works by maintaining a well-defined data model for your workspace, and injecting the model schema along with guided instructions on how to use it, into every conversation. This operates similarly to the way Claude Code and other harnesses inject skill names and their descriptions.
76
78
 
77
- For example, say you maintain a [task list](https://github.com/dreamteamer/dreamteamer-modules/tree/main/modules/tasks). Now when you ask something like "create a task to buy milk", the agent runs a CLI command like `npx dreamteamer add task --name "buy milk"` to compose a well structured task entry, instead of trying to guess what a `task` means in this context, how it looks like, and where to write it. This is the key driver for consistency and reliability of agents over time and across sessions.
79
+ For example, say you maintain a [task list](https://github.com/dreamteamer/dreamteamer-modules/tree/main/modules/tasks). Now when you ask something like "create a task to buy milk", the agent runs a CLI command like `npx dreamteamer add task --name "buy milk"` to compose a well structured task entry, instead of guessing what a `task` means in this context, what it looks like, and where to write it. This is the key driver for consistency and reliability of agents over time and across sessions.
78
80
 
79
- On top of that, every dreamteamer workspace or package is also a [GIT repository](https://git-scm.com/book/en/v2/Getting-Started-What-is-Git%3F). The GIT log becomes your personal time machine - so you (and more importantly, your AI agents) can track how your workspace evolves, make changes in a granular manner, and revert to previous states if something goes wrong. You can also fork, clone, branch, and merge dreamteamer workspaces and the data stored inside them, creating infinite possibilities for exploration and collaboration.
81
+ On top of that, a dreamteamer workspace is a [Git repository](https://git-scm.com/book/en/v2/Getting-Started-What-is-Git%3F). The Git log becomes your personal time machine - so you (and more importantly, your AI agents) can track how your workspace evolves, make changes in a granular manner, and revert to previous states if something goes wrong. You can also fork, clone, branch, and merge dreamteamer workspaces and the data stored inside them, creating infinite possibilities for exploration and collaboration.
80
82
 
81
83
  The best way to gain a deeper understanding of dreamteamer is to read the [using-dreamteamer skill](skills/using-dreamteamer/SKILL.md).
82
84
 
83
85
  ### Key concepts and design philosophy
84
86
 
85
- Designed by coders, for both humans and AI agents, dreamteamer is built with decades of software engineering best practices in mind.
87
+ Designed by coders, for both humans and AI agents, dreamteamer is built with decades of software engineering best practices in mind.
86
88
 
87
89
  - **Core engine design goals**
88
- - [x] **AI native** - built from the ground up with AI agents in mind
90
+ - [x] **AI native** - built from the ground up with AI agents in mind
89
91
  - [x] **Lean core** - minimal design, everything else is an optional add-on
90
92
  - [x] **Adaptive and extensible** - allow users to easily extend dreamteamer with their own modules and data models
91
- - [x] **Standards-first approach** - markdown, frontmatter, AJV, and GIT are the foundation of dreamteamer.
93
+ - [x] **Standards-first approach** - Markdown, YAML frontmatter, JSON Schema (Ajv) and Git are the foundation of dreamteamer.
92
94
  - [x] **Friendly for both agents and humans** - data and instructions are stored in plain text
93
95
  - [x] **Harness-agnostic** - compile agent instructions from a single source of truth into formats that can be used by any supported agent harness
94
96
  - **Context engineering principles**
95
97
  - [x] **Schema-first** - treat context as data that conforms to a schema, and provide the schema to AI agents with every conversation.
96
- - [x] **Relational** - allow easy expression of One-to-one, one-to-many, and many-to-many relationships between data entities.
97
- - [x] **Schema-validated** - all data and relationships are validated against a schema with `npx dreamteamer compile`, errors are reported and corrected by the agents
98
+ - [x] **Relational** - allow easy expression of one-to-one, one-to-many, and many-to-many relationships between data entities.
99
+ - [x] **Schema-validated** - all data and relationships are validated against their schema — on every write, and across the workspace with `npx dreamteamer check`; errors are reported for the agent to correct
98
100
  - [x] **Rich metadata** - annotate the data model with rich metadata about usage, relationships, validation, display, and more, to provide context and guidance to AI agents
99
101
  - [x] **Modular** - allow users to group related data models and agents into modules that can be shared and reused
100
- - [x] **Layered schemas** - allow user to override or extend collections and fields from imported modules
101
- - [x] **Layered data** - allow users to import both schema-only modules and provide their own data, or import both modules with schema+data.
102
- - [x] **Persistent and durable** - store all state in the package data folder
103
- - [x] **Non-destructive data authoring** - commit and push every data state change with GIT, revert as needed.
104
- - [x] **Auditable** - track all data state changes through GIT commit log.
105
- - [x] **Versioned** - allow multiple versions of schemas and data, switch between versions at will
102
+ - [x] **Layered schemas** - allow users to override or extend collections and fields from imported modules
103
+ - [x] **Layered data** - import schema-only modules and provide your own data, or import modules that carry both schema and data.
104
+ - [x] **Persistent and durable** - all state lives in the workspace as plain files, records under `data/`
105
+ - [x] **Non-destructive data authoring** - every change is committed to Git (`npx dreamteamer commit`), and any record can be reverted to an earlier revision.
106
+ - [x] **Auditable** - committed changes are in the Git log.
107
+ - [x] **Versioned** - every module is pinned to an exact version and committed changes are in Git history, so you can move between versions of schemas and data at will
106
108
  - **Developer experience**
107
109
  - [x] **CLI driven** - All functionality is exposed through a CLI
108
- - [x] **Programmable** - import dreamteamer into your js/ts scripts, work with the same interface
109
- - [x] **AI primitives** - skills, agents, and commands are first class citizens in every engine module
110
- - [x] **Extensible** - allow users to easily extend dreamteamer with their own modules and data models
110
+ - [x] **Programmable** - import dreamteamer into your js/ts scripts, work with the same interface
111
+ - [x] **AI primitives** - skills, agents, and commands are first-class citizens in every module
112
+ - [x] **Extensible** - an extension adds verbs, source kinds and harnesses through one contract (see [EXTENDING.md](EXTENDING.md))
111
113
  - [x] **Portable** - sync changes through git, move between machines, and parallelize work across agents and harness instances
112
114
  - **User experience**
113
- - [x] **Conversational** - all engine and installed modules functionality exposed through natural language commands
114
- - [x] **Presentational** - every data entity exposes display metadata in its schema, making it immediately presentable to arbitrary UI clients. [ui-views](collections/ui-views.collection.yaml) provide out-of-the-box configurable list and item views for every entity. The [dreamteamer-ui](https://github.com/dreamteamer/dreamteamer-modules/tree/main/modules/ui) package provides core set of UI elements. The [dreamteamer-vscode extension](https://marketplace.visualstudio.com/items?itemName=dreamteamer.dreamteamer-vscode) provides built views for vscode, and the [dreamteamer-web](https://github.com/dreamteamer/dreamteamer-web) module shows identical UI in agent desktop apps such as Claude Desktop and Codex.
115
+ - [x] **Conversational** - all engine and installed modules functionality exposed through natural language commands
116
+ - [x] **Presentational** - every data entity exposes display metadata in its schema, making it immediately presentable to arbitrary UI clients. [ui-views](collections/ui-views.collection.yaml) provide out-of-the-box configurable list and item views for every entity. The [@dreamteamer/ui](https://github.com/dreamteamer/dreamteamer-modules/tree/main/modules/ui) package provides a core set of UI elements. The [dreamteamer VS Code extension](https://marketplace.visualstudio.com/items?itemName=dreamteamer.dreamteamer-vscode) renders those views in VS Code, and the [@dreamteamer/web](https://github.com/dreamteamer/dreamteamer-modules/tree/main/modules/web) module shows the same UI in agent desktop apps such as Claude Desktop and Codex.
115
117
  - [x] **Collaborative** - leverage GIT to collaborate on workspaces and share changes with other users, AI agents, or in parallel across multiple sessions and machines.
116
-
118
+
117
119
  ### Security considerations
118
120
 
119
- When using dreamteamer, [standard AI agents security measures](https://code.claude.com/docs/en/security) apply. dreamteamer itself does not introduce new vulnerabilities, it allows you to do the same things you could already do with your AI agents, in a well-governed, auditable and consistent manner. You should continue to apply the same security considerations you would apply when using your AI agents. This includes never sharing credentials, tokens, API keys, or any other sensitive information with your agents, and always being mindful of the data you share with them. Private workspaces should be treated as such, and appropriate access controls should be put in place.
121
+ When using dreamteamer, [standard AI agent security measures](https://code.claude.com/docs/en/security) apply. dreamteamer is designed to add no new capabilities to your agents: it lets them do what they could already do, in a well-governed, auditable and consistent manner. You should continue to apply the same security considerations you would apply when using your AI agents. This includes never sharing credentials, tokens, API keys, or any other sensitive information with your agents, and always being mindful of the data you share with them. Private workspaces should be treated as such, and appropriate access controls should be put in place.
120
122
 
121
- When installing new modules, always vet them first, and make sure you trust the author, understand what they do and what permissions they require. The dreamteamer org curates a selection of high quality community modules that adhere to our coding standards. See the [modules repository](https://github.com/dreamteamer/dreamteamer-modules) for more details. Official modules include "dreamteamer" in their name, and are always served under the dreamteamer org github and npmjs namespace.
123
+ When installing new modules, always vet them first, and make sure you trust the author, understand what they do and what permissions they require. The dreamteamer org maintains a set of official modules held to the engine's own standards. See the [modules repository](https://github.com/dreamteamer/dreamteamer-modules) for more details. Official modules are published only under the `@dreamteamer` npm scope and the [dreamteamer GitHub org](https://github.com/dreamteamer).
122
124
 
123
- Note: some modules may require elevated permissions or access to sensitive information (for example, access to arbitrary locations on your filesystem, cloud storage, APIs, etc.). Only grant such permissions after carefully vetting the module and making sure you understand and trust what it does. You should treat dreamteamer modules as you would treat any other code you run on your system, and apply the same security considerations.
125
+ Note: some modules may require elevated permissions or access to sensitive information (for example, access to arbitrary locations on your filesystem, cloud storage, APIs, etc.). Only grant such permissions after carefully vetting the module and making sure you understand and trust what it does. You should treat dreamteamer modules as you would treat any other code you run on your system, and apply the same security considerations.
124
126
 
125
- If you've encountered a security issue or have any concerns, please report it through the appropriate channels - see [SECURITY.md](SECURITY.md) for more details on dreamteamer security practices.
127
+ If you've encountered a security issue or have any concerns, please report it privately — see [SECURITY.md](SECURITY.md) for more details on dreamteamer security practices.
126
128
 
127
129
  ## Contributing
128
130
 
129
- We welcome issues and discussions! For anything larger than a typo, please open a discussion before submitting a PR. This is a deliberately lean codebase and we prefer to agree on shape first. `npm run verify` enforces our size and test budgets.
131
+ We welcome issues and discussions! For anything larger than a typo, please open a discussion before submitting a PR. This is a deliberately lean codebase and we prefer to agree on shape first. `npm run verify` enforces our size and test budgets.
130
132
 
131
133
  See [CONTRIBUTING.md](CONTRIBUTING.md) for details.
132
134
 
@@ -69,6 +69,17 @@ fields:
69
69
  type: collections
70
70
  many: true
71
71
  description: Collections this module contributed a source to. A collection merged from several modules appears under every one of them.
72
+ preset:
73
+ type: boolean
74
+ description: The package is a MODULE PRESET — `dreamteamer.preset` in its package.json, a list of member modules at exact versions. It ships no sources of its own; `dt install` pins its members and `dt update` moves them.
75
+ members:
76
+ type: modules
77
+ many: true
78
+ soft: true
79
+ description: The modules this preset pins — the keys of its `dreamteamer.preset`. Soft, because a member the operator uninstalled is absent on purpose and never dangles.
80
+ preset_summary:
81
+ type: string
82
+ description: '`preset · N members · M installed`, written at compile — the line `dt list modules` prints after the id.'
72
83
  display:
73
84
  nav:
74
85
  icon: deployed_code
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dreamteamer",
3
- "version": "0.48.1",
3
+ "version": "0.49.1",
4
4
  "description": "A workspace compiler for coding agents — schema-validated records as plain files over git, compiled into every harness",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Gilad Khen <giladkhen@gmail.com>",
@@ -38,8 +38,9 @@ unsure which skill owns the job in front of you.
38
38
  - **references are `<collection>/<id>`** strings — always qualified, greppable, never a bare name
39
39
  and never a file path.
40
40
 
41
- **lifecycle:** `dt init` writes a new workspace's skeleton (it never compiles). a FRESH CLONE owes
42
- `dt install` (restores `git_modules/`) then `dt compile` before anything reads — `.dreamteamer/`,
41
+ **lifecycle:** `dt init` makes a new workspace in one command — skeleton, install, compile, check,
42
+ one commit (`references/setup.md`). a FRESH CLONE owes `dt install` before anything reads: it makes
43
+ the checkout ready (the engine, `git_modules/`, then compile) — `.dreamteamer/`,
43
44
  the harness folders and the root `CLAUDE.md`/`AGENTS.md`/`GEMINI.md` are gitignored build output,
44
45
  so a clone has no runtime and no orientation until compile writes them — and `.env` is
45
46
  per-machine (declared keys: `references/records.md`). `dt status` says
@@ -71,7 +72,7 @@ dispatch, so it cannot drift):
71
72
  - fields (sources, through the compile gate) — `add-field` `set-field` `rm-field` `rename-field` `rename-value` (system entities — modules, collections, skills, ui-views… — take the RECORD verbs above)
72
73
  - workspace — `init` `install` `update` `compile` `check` `exports` `doctor` `status` `setup` `changes` `help`
73
74
  - format descriptor sources (opt-in; block style, canonical key order, through the compile gate) — `fmt`
74
- - an EXTENSION (a workspace module or a dependency declaring `dreamteamer.extension`) adds verbs of
75
+ - an EXTENSION (a module under `modules/` or a direct dependency, declaring `dreamteamer.extension`) adds verbs of
75
76
  its own, and `dt help` lists them under its name; each ships the skill that teaches it. A verb core
76
77
  does not know (`dt prove` · `dt land` · `dt worktree` · `dt serve` · `dt notebooklm`) belongs to an
77
78
  extension — see `references/extensions.md`.
@@ -224,9 +225,10 @@ unmeasured (where a number genuinely cannot be known before the run, the plan sa
224
225
  blocks in the root `CLAUDE.md`/`AGENTS.md`/`GEMINI.md` are rewritten on the next compile — and
225
226
  those root files are gitignored, so nothing written in them reaches a clone. if you found the
226
227
  thing to change there, you are in the wrong file.
227
- 7. **the CLI refuses system-stored records on purpose** (`dt set skills/<id>` — no): edit the
228
- module source and compile. the SYSTEM verbs are the sanctioned exception — they write
229
- sources *through* a compile gate, so an uncompilable source can never land.
228
+ 7. **a system entity is a SOURCE, written two ways**: the system and field verbs, which write it
229
+ *through* a compile gate so an uncompilable source can never land — or an edit to the module
230
+ file, then `dt compile`. one shipped by an installed package is refused, naming the move
231
+ (disable it, or overlay it).
230
232
  8. **never duplicate a procedure across records.** a command body restating a skill, an agent
231
233
  inlining its skill's steps — two copies, and one drifts. reference the owner.
232
234
  9. **nothing module-shipped names a person, an account or a machine path.** per-install values
@@ -37,8 +37,8 @@ Every rule below is that asymmetry applied.
37
37
  | # | look at | how, concretely | what you get |
38
38
  |---|---|---|---|
39
39
  | 1 | **this workspace's own modules** | the orientation block's MODULES AND THEIR COLLECTIONS list is already in your context — find the module whose sentence owns the concept, then reread its collections with the concept's *synonyms* in mind, `use when` clauses included; then read the candidate's DESCRIPTOR, not its records; `dt help` shows the verbs and `dt next <collection>` the bound ones; the module's skills line names the techniques | the thing may already exist under a name you didn't guess. This is where misses actually happen, because it is the place you assume you already know |
40
- | 2 | **a recipes repo — where this workspace's own instructions (`DREAMTEAMER.md`) name one** (reference modules maintained to be **copied and adapted**) | read that repo's own instructions first; they ARE the adoption procedure. no recipes repo declared → skip this row | a working module with its reasoning attached — descriptors, skills, and the trap notes that each cost someone a day |
41
- | 3 | **a sibling workspace — where the operator has named one** | read-only; grep its `modules/` for the concept. none named → skip | another vault may have solved it concretely. That is a *reference*, not a source — it holds real personal data, so read the shape, never lift the content |
40
+ | 2 | **a module somebody already ships** — a published package, or a recipes repo where this workspace's own instructions (`DREAMTEAMER.md`) name one (reference modules maintained to be **copied and adapted**) | a package: what the operator names, or what `setup.md` §2 finds with their yes. a recipes repo: read its own instructions first; they ARE the adoption procedure. neither → skip this row | a working module with its reasoning attached — descriptors, skills, and the trap notes that each cost someone a day |
41
+ | 3 | **a sibling workspace — where the operator has named one** | read-only; grep its `modules/` for the concept. none named → skip | another workspace may have solved it concretely. That is a *reference*, not a source — it holds real personal data, so read the shape, never lift the content |
42
42
  | 4 | **the engine's own surface** | `dt help` — the complete verb surface, system and field verbs included; read it rather than recalling it | the capability may already be a verb (`relations rebuild`, `resolve`, `install repos/<id>`) rather than a missing module |
43
43
 
44
44
  Only after all four: build it, in the module that owns the concept.
@@ -60,11 +60,12 @@ what you retrofit.
60
60
 
61
61
  ## what "found" actually means
62
62
 
63
- Rarely the exact thing. Four outcomes, each with its own move:
63
+ Rarely the exact thing. Five outcomes, each with its own move:
64
64
 
65
65
  | what you found | the move |
66
66
  |---|---|
67
67
  | the exact capability, live in this workspace | use it — and if finding it took effort, fix the `description`/`use_when` that made it hard, in the same breath |
68
+ | a published module covering it | propose `dt install <package>` (`setup.md` §2), naming what it adds and what `dreamteamer.disable` would switch off |
68
69
  | a recipe covering most of it | propose copy-and-adapt (below). Adoption is deletion |
69
70
  | a partial match — a collection that could grow a field, a skill that covers half the job | propose extending the existing thing, in the module that owns the concept. Growing a field on the right collection beats a new collection every time (`data-modeling.md` Part IX: additive first) |
70
71
  | a concrete solution in a sibling workspace | read it for shape and traps, rebuild clean with a synthetic cast — never lift records, names, or account details |
@@ -93,8 +94,9 @@ the copy is theirs to maintain, and nothing will later tell them it drifted from
93
94
  - **Copying a recipe in** — yours from that moment; drift from the original is silent by design.
94
95
  - **Creating a collection** — cheap to make, expensive to retire: records accumulate, references
95
96
  point at it, and deleting it later is a migration, not an undo.
96
- - **Installing anything** (`npm i`, `git_modules/`) for a domain module — recipes are copied, not
97
- installed; importing one re-creates the fork the copy-and-adapt split exists to avoid.
97
+ - **Installing a module** (`dt install <package>`) — its collections start holding records the
98
+ day it lands. A RECIPE is never installed (`npm i`, `git_modules/`): recipes are copied, and
99
+ importing one re-creates the fork the copy-and-adapt split exists to avoid.
98
100
 
99
101
  ## common mistakes
100
102
 
@@ -104,7 +106,7 @@ the copy is theirs to maintain, and nothing will later tell them it drifted from
104
106
  | searching only the literal word the operator used | the existing thing is usually filed under a synonym — search the concept, not the string |
105
107
  | `npm i` / `git_modules` a recipe module | recipes are copied, not installed — importing re-creates the fork the split exists to avoid |
106
108
  | copying a recipe in and keeping all of it | deleting what you won't use IS the adoption step |
107
- | lifting from another workspace under `projects/` | those hold real personal data; read for reference only |
109
+ | lifting from a sibling workspace | it holds real personal data; read for reference only |
108
110
  | proposing without naming the setup cost | the `.env` keys and the accounts are the actual price |
109
111
  | installing or copying, then telling the operator | they decide what enters their workspace, before it enters |
110
112
  | finding it, using it, and leaving the bad description in place | the next session will miss it exactly as you just did |
@@ -138,9 +138,7 @@ ids:
138
138
  ```yaml
139
139
  display:
140
140
  nav:
141
- icon: pulse
142
- order: 20
143
- section: care # a free partition of the nav
141
+ icon: pulse # order and section are legal and ignored since 0.49 — nav.yaml places rows
144
142
  list:
145
143
  layout: table # the default; a surface's registered layout id
146
144
  columns: [reason, patient, date, status]
@@ -161,6 +159,10 @@ display:
161
159
  A section may say `collapsed: true`: a surface draws it shut, after every other field, until it is
162
160
  opened — for what a person rarely reads and an agent writes (a provenance block).
163
161
 
162
+ Where a collection sits in the left nav is not the descriptor's to say: the workspace's `nav.yaml`
163
+ places every row (`ui-views.md`), so `display.nav.order` and `display.nav.section` still compile and
164
+ nothing reads them.
165
+
164
166
  This block IS what a bare collection route renders and what `dt list` prints as columns. A
165
167
  ui-view carries the same block and changes only what it states (`ui-views.md`). Every field it
166
168
  names must exist — columns, sort, badge, color_by, sections — or compile names the position.
@@ -197,7 +199,7 @@ the diff between what you wrote and what holds.
197
199
 
198
200
  The sanctioned way to write schema without hand-editing. Every verb round-trips through a
199
201
  **compile gate**, so a change that would not compile is rolled back — and unlike a record write, a
200
- schema verb **commits its source write itself**. The verbs and flags are `dt help` under "system
202
+ system or field verb **commits its source write itself**. The verbs and flags are `dt help` under "system
201
203
  verbs" and "field verbs". What help cannot tell you:
202
204
 
203
205
  - **The field verbs write the OWNING module's descriptor** — the source that declares the
@@ -248,8 +250,12 @@ lists it. What belongs in a module is judgment — `data-modeling.md` Part III
248
250
  | `engine` | the engine range it needs; outside it, the module is refused whole |
249
251
  | `env` · `vars` | the `.env` keys it needs · the `${env:…}` names its records use (the workspace must allow each) |
250
252
  | `extension` · `ignore` · `local_assets` | an extension entry (`extensions.md`) · folders that are not kinds · gitignored files a worktree links |
253
+ | `preset` | makes the package a **module preset**: `{ "<package>": "<exact version>" }`, the modules it installs. It ships no kind folders. `dt install` installs every member at its pin, `dt update` moves the installed ones and skips one you removed, `dt status` lists each member, and `dt list modules` shows `preset · N members · M installed` (0.49.0) |
254
+ | `nav` | the package-relative path of its nav fragment, a `nav.yaml` that install and update merge into the workspace's own (`ui-views.md`). It may place only collections the module owns or overlays, or a preset's members' |
255
+ | `provides` | legal and ignored since 0.49.0. A composed package listed its contents here before module presets replaced it |
251
256
 
252
- A version floor on another module is not a key of this block: it is npm's own peer-dependency range,
257
+ A module's setup units are its extension's `setup` contribution (`extensions.md`), not a key of this
258
+ block. A version floor on another module is not a key of this block either: it is npm's own peer-dependency range,
253
259
  at the top level of the module's package.json. A present module outside the range fails compile,
254
260
  naming both versions and the fix.
255
261
 
@@ -261,9 +267,12 @@ Keys are snake_case and closed: compile refuses an unknown one, naming the list.
261
267
  | key | what it holds |
262
268
  |---|---|
263
269
  | `workspace_module` | which module under `modules/` is the workspace's own |
270
+ | `title` · `description` | what to call the workspace · what it is for |
264
271
  | `data_path` | where records live, workspace-relative |
265
272
  | `namespaces` | namespaces declared at the workspace level (a module's own declaration is the one that travels) |
266
273
  | `vars` | the `.env` keys records may reference as `${env:KEY}` (`records.md`) |
274
+ | `env` | the `.env` keys the workspace itself needs, a bare name or `{ name, description, example }`. Compile names one missing from `.env` and lists each in `.env.example` |
275
+ | `setup` | `{ "skipped": [<unit id>…] }`: the setup units `dt setup <unit> --skip` recorded as skipped (`setup.md`) |
267
276
  | `auto_commit` | whether a record write also commits (default off) |
268
277
  | `harnesses` | which coding-agent adapters compile writes |
269
278
  | `git_modules` | the lockfile map `dt install` restores into `git_modules/` — `{ url, ref }` per clone; a clone whose own package.json names `workspace_module` is a RECORD LAYER (below), not a bundle, and `records: [<collection>…]` narrows it (or makes any clone a layer) — `module: true` adds its one workspace module; what a clone NEEDS (the holders its `dreamteamer-exports.json` names) is installed here too, once at the top and linked under the clone (0.46.0) |
@@ -497,7 +506,7 @@ HQ reads the projects' records by cloning each project under `git_modules/`:
497
506
  collection (one shared list is read from the module's clone already), not a placed one
498
507
  (`storage.under`), not an env-pointed one, not a compiled source. NAMING one of those in `records:`
499
508
  is a compile error, as is a name no collection here answers to.
500
- - **A layer whose clone is absent** — a fresh checkout before `dreamteamer install` — compiles; `check`
509
+ - **A layer whose clone is absent** — a fresh checkout before `dt install` — compiles; `check`
501
510
  says its records are unread (only a `records:` or `module: true` entry is known to be a layer before
502
511
  its clone exists). `dt status` lists layers after modules with the collections FOUND in each;
503
512
  `dt update` pulls them like any clone, and a long-lived store re-indexes when a pull lands files.
@@ -636,7 +645,7 @@ Compile fails closed and names its reasons. (⚠ = warning: it compiled, and you
636
645
  | `is a mirror, but <c> declares no body field` (or is binary, runtime, another repo) | the target cannot hold a generated field | add a body field, or drop the mirror |
637
646
  | `every ids.from template must open with {{ <parent> \| basename }}/` | `under.id: nested` | lead the id with the parent |
638
647
  | `internal: true is reserved` | a module put a domain collection in the plumbing partition | drop the line |
639
- | `module X needs engine "…"` | its `engine` range excludes this engine; refused whole | upgrade dreamteamer, or disable it |
648
+ | `module X needs engine "…"` | its `engine` range excludes this engine; refused whole | `dt update --engine`, or disable it |
640
649
  | ⚠ `"<name>" is not a plural the inflector knows` | `singular` falls back to the name | set `singular` (and `storage.suffix`) if `dt add` should take another word |
641
650
  | ⚠ `field "<f>": names are snake_case` · `enum value "<v>" is not kebab-case` | a convention, not a rule — a rename is a record change | `dt rename-field` · `dt rename-value` when you choose |
642
651
  | ⚠ `is type: reference outside the workspace module` | an unverifiable cross-module surface | name the collections it may target |
@@ -8,7 +8,7 @@ queue without any run records.
8
8
  What you write is consumed by three readers with different needs: the **operator** scanning the
9
9
  `/` picker, who sees the `description` and `argument-hint` and nothing else; the **session** that
10
10
  receives the body verbatim as its turn, and needs instructions, not documentation; and the
11
- **surfaces** that render bindings — `dt next <ref>`, the studio's Commands tab, and the
11
+ **surfaces** that render bindings — `dt next <ref>`, the editor's Commands tab, and the
12
12
  orientation block, which prints every binding's gates so each new session knows the queue exists
13
13
  before any skill is loaded.
14
14
 
@@ -60,7 +60,8 @@ argument-hint: "[assignee]"
60
60
  ---
61
61
  load this workspace's tasks skill. list my open tasks
62
62
  (`npx dreamteamer list tasks --filter status=todo`), then walk them one at a
63
- time: restate it, ask me to keep / reassign / drop, apply the decision with `tasks set`.
63
+ time: restate it, ask me to keep / reassign / drop, apply the decision with
64
+ `npx dreamteamer set tasks/<id> …`.
64
65
  done when the list is empty or I say stop.
65
66
  ```
66
67
 
@@ -164,7 +165,7 @@ records, no job table. The gates only work if the fields they read stay honest:
164
165
  human must remember to set.
165
166
  - **A `done_when` and a proof's `count` (a proofs extension) answer different questions — put
166
167
  each expectation on its own side.** A gate is a filter over ONE record, evaluated on every render of `dt next` and every board
167
- the studio draws, so it can only ever read that record's own fields (plus one outbound hop) — which
168
+ a surface draws, so it can only ever read that record's own fields (plus one outbound hop) — which
168
169
  is exactly the gap the bullet above names: "a summary referencing this record exists" is
169
170
  inexpressible there. A **proof** is evaluated on demand and is collection-scoped, so
170
171
  it says the thing a gate cannot: `{ collection: summaries, where: { about: { _eq: '{record}' } },
@@ -295,7 +295,7 @@ roadmap, not a model; wait for the second consumer.
295
295
  be empty. `json` exists for tool-written records.
296
296
  - **`format: binary` makes the record an opaque file** — an icon, a logo, an image the UI draws.
297
297
  Fields are derived (`ext`, `bytes`), writes go through `dt add <c> <id> --from <path>`, and
298
- `check` guards `storage.max_bytes` (default 200 KB) and `storage.accept`. A big binary is not a record: it lives outside the vault under a
298
+ `check` guards `storage.max_bytes` (default 200 KB) and `storage.accept`. A big binary is not a record: it lives outside the workspace under a
299
299
  declared var, with an ordinary record carrying the `${env:...}` template that points at it.
300
300
  - **`shape: folder` when a record is intrinsically several files** (a skill with references beside
301
301
  it), or when OTHER collections' records should live inside it — see the next bullet. Otherwise
@@ -320,7 +320,8 @@ A module built inside one workspace accumulates that workspace's identity: names
320
320
  conventions, decision references. Making it reusable is mostly deletion. The rule for what
321
321
  survives: **a measurement keeps its numbers and loses its source's name** ("a 4,000-record
322
322
  workspace checks in half a second", not "workspace X does"). Verify the graduation the same way a
323
- module is defined: compile it alone in a virgin workspace, with a synthetic cast in every example.
323
+ module is defined: compile it alone in a virgin workspace (`dt check modules/<id> --alone` does
324
+ exactly that — `writing-a-module.md`), with a synthetic cast in every example.
324
325
 
325
326
  ---
326
327
 
@@ -16,7 +16,7 @@ package, each exits 2 and prints its install line.
16
16
 
17
17
  Two places, one declaration — a `package.json` carrying `"dreamteamer": { "extension": "./entry.js" }`:
18
18
 
19
- - **a workspace module**, `modules/<id>/package.json`. Its code is the workspace's own, like `bin/`,
19
+ - **a module in the workspace**, `modules/<id>/package.json`. Its code is the workspace's own, like `bin/`,
20
20
  so it needs no package and no npm. This is how a workspace carries an extension nobody has
21
21
  published, and it shadows a dependency of the same name.
22
22
  - **a direct dependency.** npm put the code there on purpose; a transitive package is never loaded
@@ -26,7 +26,7 @@ A bare entry in `dreamteamer.disable` switches one off while leaving it in place
26
26
  claiming the same verb, source kind or harness is a refusal at load, naming both — never "last one
27
27
  wins".
28
28
 
29
- An extension is ALSO a content module (its `dreamteamer` key makes it one): its collections and skills
29
+ An extension IS a module (its `dreamteamer` key makes it one): its collections and skills
30
30
  travel with its code, and compile discovers them like any other module's.
31
31
 
32
32
  ⚠ **Remove an extension and its kind goes with it.** A workspace holding `proofs/` folders with no
@@ -53,14 +53,14 @@ never disagree with the one the operator ran. It returns a contribution; every k
53
53
  | `next` | `({ root, ws, collection, ids }) → [{ id, text }]`, synchronous | `dt next <ref>` prints each line under the bound commands (`--json`: `notes`, attributed); a throw is one failure line, never a failed `dt next`. `contributedNotes(ws, collection, ids)` is the same call for a surface |
54
54
 
55
55
  A module that needs per-machine setup (an account, a download, a local tool) declares it as a
56
- **setup unit** — the `setup` contribution key: `[{ id, version: 1, inputs: [{ id, kind: 'string'|'path'|'rows'|'secret-path', env?, required?, default?, prompt?, rows? }], inspect(ctx) → { checks }, plan(ctx, inputs) → { checks, actions: [{ id, title, effects: [{ kind, detail }], preview?, expect?, runBy?, kind? }], needs }, apply(ctx, action, inputs) → { ok, changed, message? } }]`.
57
- A unit is addressed by its `id` wherever it is installed (alone, or composed into a bigger package); the engine validates the shape at
58
- load, refuses two packages claiming one id, and drives every unit through `dt install`, `dt setup` and `dt status` without
59
- knowing the module (`setup.md`). `doctor` renders a unit's checks as rows. An input's `env` must also be declared in the
60
- package's `dreamteamer.env` or `vars`. A composed package lists what it composes in `dreamteamer.provides`, so `dt install`
61
- refuses a duplicate in both directions.
56
+ **setup unit** — the `setup` contribution key: `[{ id, version: 1, inputs: [{ id, kind: 'string'|'path'|'rows'|'secret-path', env?, required?, default?, prompt?, rows? }], inspect(ctx) → { checks }, plan(ctx, inputs) → { checks, actions: [{ id, title, effects?: [{ kind, detail }], env?: { KEY: value }, state?, reason?, preview?, expect?, runBy?, kind? }], needs }, apply?(ctx, action, inputs) → { ok, changed, message? } }]`.
57
+ A unit is addressed by its `id` wherever it is installed (alone, or as a member a module preset installed); the engine
58
+ validates the shape at load, refuses two packages claiming one id, and drives every unit through `dt install`, `dt setup` and
59
+ `dt status` without knowing the module (`setup.md`). `doctor` renders a unit's checks as rows. An input's `env` must also be
60
+ declared in the package's `dreamteamer.env` or `vars`. A set of modules installed together is a **module preset** — a package
61
+ whose `dreamteamer.preset` pins its members (`collections.md`); `dreamteamer.provides` is legal and ignored since 0.49.0.
62
62
 
63
- Since 0.48.0:
63
+ What the signature does not show:
64
64
 
65
65
  - **an `env` action** — `{ id, title, env: { KEY: value, … }, state? }` — is performed by the engine, not by `apply`: the
66
66
  `.env` write, confined to the workspace, every other line kept, the value never printed. Judged when the plan is read:
@@ -100,6 +100,7 @@ that needs one is a command, not an analysis.
100
100
  ## a module, or an extension?
101
101
 
102
102
  A **module** ships collections, skills, commands, agents, views and UI code — content. An
103
- **extension** ships code the engine calls. Reach for an extension only when the capability needs one
104
- of the contribution keys above; everything else is a module, and a module is copied and adapted per
105
- workspace rather than installed (`references/before-you-build.md`).
103
+ **extension** is a module that also ships code the engine calls (`dreamteamer.extension`). Reach for
104
+ an extension only when the capability needs one of the contribution keys above; everything else is a
105
+ plain module — look for one before writing it (`references/before-you-build.md`), and bring a
106
+ published one in with `dt install <package>` (`references/setup.md`).
@@ -1,7 +1,7 @@
1
1
  # getting started — from nothing, or from a pile, to a working workspace
2
2
 
3
- Three arrivals land here, and they end in the same place. **The empty folder**: someone ran
4
- `npm install dreamteamer` (or is about to) and has nothing else. **The existing pile**: a repo or
3
+ Three arrivals land here, and they end in the same place. **The empty folder**: someone is about
4
+ to run `npx dreamteamer init` and has nothing else. **The existing pile**: a repo or
5
5
  folder that already holds real files — notes, exports, spreadsheets — that should become records.
6
6
  **The operator who is technical enough to run npm and not much more** — for whom the git section
7
7
  below is written in plain words. The finish line for all three is identical: a compiled runtime,
@@ -23,7 +23,8 @@ that reads the compiled runtime can render the same workspace later, unchanged.
23
23
  npx dreamteamer init # pins the engine, writes the skeleton, compiles, checks, git init, one commit
24
24
  ```
25
25
 
26
- One command does all of it — what it changes, what it refuses and how it resumes is `setup.md` §0.
26
+ One command does all of it — what it changes, what it refuses and how it resumes is `setup.md` §0
27
+ (`dt` below is `npx dreamteamer`).
27
28
  `--no-git` keeps git out of it (see below for why you want it in); adding a module afterwards is
28
29
  `dt install <package>` (also `setup.md`). The same steps by hand, for a reader who wants to see them:
29
30
  `npm install dreamteamer` · `git init` · `npx dreamteamer init --no-compile` · `npx dreamteamer compile`
@@ -11,8 +11,8 @@ especially when you catch yourself about to `mv` a record file, hand-write front
11
11
  memory, or set a field you haven't read in the descriptor.
12
12
 
13
13
  **not for:** schema changes (`collections.md`) — and system-stored records (skills, agents,
14
- commands, ui-views, collections) are *sources*: edit the file under the owning module and
15
- `dt compile`; the CLI refuses them on purpose.
14
+ commands, ui-views, collections) are *sources*: written by the system and field verbs, or by
15
+ editing the file under the owning module and `dt compile` — never under `.dreamteamer/`.
16
16
 
17
17
  ## reading and measuring
18
18
 
@@ -217,7 +217,7 @@ source_file: ${env:FILES_FOLDER}/2026/q3.pdf
217
217
  - a rename: `dt rename` back — inbound references are rewritten again, symmetrically.
218
218
  - a DELETED record: its id is gone, so the record verbs can no longer see it — restore the file
219
219
  with git (`git log -- <path>`, then `git checkout <sha> -- <path>`) and run `dt check`.
220
- - a schema verb: it committed its own source write — revert that commit with git, then
220
+ - a system or field verb: it committed its own source write — revert that commit with git, then
221
221
  `dt compile`.
222
222
 
223
223
  ## the hard rules
@@ -243,7 +243,7 @@ two hundred.
243
243
  | omitting schema defaults from a hand-written file | the file stops being legible without the schema |
244
244
  | unquoted `due: 2026-07-28` in hand-written YAML | dreamteamer parses CORE_SCHEMA so it stays a string *here*, but a default-schema YAML reader turns it into a timestamp — quote dates |
245
245
  | setting a generated mirror, or `created` | refused by `set`; a hand-edit of a mirror goes stale — write the owning side |
246
- | CLI-editing a skill / agent / command / collection | system sources — edit the module file, then `dt compile` |
246
+ | editing a skill / agent / command / collection under `.dreamteamer/` or a harness folder | generated — use the system verbs, or edit the module file, then `dt compile` |
247
247
  | resolving a template by hand | `dt resolve` is the only substitution point |
248
248
 
249
249
  ## red flags — stop
@@ -1,7 +1,7 @@
1
1
  # setup — making what this workspace does work on THIS machine, in conversation
2
2
 
3
3
  "Help me set this up", "finish setup", "add meetings", "connect my account", "what works here?",
4
- "something stopped working". The person never learns a setup command: you run the same four verbs a
4
+ "something stopped working". The person never learns a setup command: you run the same verbs a
5
5
  script would, in the language they are writing in, and the engine knows no module — every module's
6
6
  setup is a **unit** that module declares, and `dt install`, `dt setup` and `dt status` drive every
7
7
  unit the same way. This page is how to run them honestly.
@@ -68,10 +68,12 @@ dt install <package> --from <folder> # offline: a folder of tarballs the p
68
68
  ```
69
69
 
70
70
  Say before running it: the package and version, that it installs every module the package declares
71
- it needs, compiles, runs the module's **safe** setup (workspace-file writes only), and commits
72
- `package.json`, `package-lock.json` and what setup wrote. Anything it refuses — a package that is not
73
- a module, an engine floor this engine does not meet, a module an installed one already provides — it
74
- refuses before writing anything, naming the pair.
71
+ it needs (for a module preset, every member at the version the preset pins), compiles, merges the
72
+ shipped nav fragments into `nav.yaml`, runs the module's **safe** setup (workspace-file writes only),
73
+ and commits `package.json`, `package-lock.json`, `nav.yaml` and what setup wrote. Anything it refuses
74
+ — a package that is not a module, an engine floor this engine does not meet, a module installed at
75
+ another version than the one asked for, old nav settings not yet in `nav.yaml` (`ui-views.md`) — it
76
+ refuses before writing anything, naming why.
75
77
 
76
78
  ## 3. act — inputs and consent, one approval at a time
77
79
 
@@ -118,7 +118,7 @@ export default ({ registerEdit, registerView, registerList, registerApp, registe
118
118
  the component subtree, so a scoped rule looks correct in the source and is simply absent at
119
119
  runtime — the failure mode is invisible chrome, not an error. Define those styles globally.
120
120
  - **Settings are declared, not hand-built.** An entry's `options` is a list of field definitions
121
- drawn by the same machinery that draws records — an extension never builds bespoke settings UI.
121
+ drawn by the same machinery that draws records — a module never builds bespoke settings UI.
122
122
  Use each option's `when:` predicate to show it only when the current values make it relevant:
123
123
  half a flat settings panel is inert at any moment, and *hidden beats disabled* — a disabled
124
124
  control still occupies the eye with a question it cannot answer.