arbiterdesign 0.1.9 → 0.1.10
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/README.md +288 -223
- package/dist/commands/decision.js +1 -1
- package/dist/commands/export.js +1 -1
- package/dist/commands/init.js +187 -73
- package/dist/commands/invite.js +67 -0
- package/dist/commands/publish.js +4 -4
- package/dist/commands/record.js +5 -5
- package/dist/commands/remove.js +1 -1
- package/dist/commands/rename.js +1 -1
- package/dist/commands/review.js +6 -3
- package/dist/commands/rules.js +17 -3
- package/dist/commands/update.js +5 -0
- package/dist/format.js +112 -7
- package/dist/handoff.js +4 -1
- package/dist/hook.js +5 -3
- package/dist/hosted.js +40 -2
- package/dist/index.js +43 -17
- package/dist/localboard.js +1 -1
- package/dist/settings.js +1 -1
- package/dist/store.js +162 -7
- package/package.json +1 -1
- package/templates/SKILL.md +36 -20
- package/templates/board/board.css +2 -2
- package/templates/board/board.js +25 -25
- package/templates/fonts/OFL.txt +92 -92
- package/templates/hooks/arbiter-board.cjs +50 -50
package/README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
|
|
3
3
|
<picture>
|
|
4
|
-
<source media="(prefers-color-scheme: dark)" srcset=".github/assets/banner-dark.
|
|
5
|
-
<img src=".github/assets/banner-light.
|
|
4
|
+
<source media="(prefers-color-scheme: dark)" srcset=".github/assets/banner-dark.png">
|
|
5
|
+
<img src=".github/assets/banner-light.png" alt="arbiter. Shared design decision memory for your team and agents." width="100%">
|
|
6
6
|
</picture>
|
|
7
7
|
|
|
8
|
-
###
|
|
8
|
+
### Arbiter: open-source design decision memory
|
|
9
9
|
|
|
10
10
|
[](https://www.npmjs.com/package/arbiterdesign)
|
|
11
11
|
[](https://arbiter.design/changelog)
|
|
@@ -16,28 +16,26 @@
|
|
|
16
16
|
|
|
17
17
|
**[Website](https://arbiter.design)** · **[Live demo](https://arbiter.design/p/acme)** · **[Start guide](https://arbiter.design/get-started)** · **[Changelog](https://arbiter.design/changelog)**
|
|
18
18
|
|
|
19
|
-
[
|
|
19
|
+
[How it works](#how-it-works) · [Share with your team](#share-it-with-your-team) · [FAQ](#faq) · [Reference](#reference)
|
|
20
20
|
|
|
21
21
|
</div>
|
|
22
22
|
|
|
23
23
|
<br>
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
Arbiter turns the design decisions made while you build into rules your agent follows and reasons your team can find. It works with Claude Code and Cursor.
|
|
26
26
|
|
|
27
|
-
Arbiter
|
|
28
|
-
|
|
29
|
-
As your agent builds, it writes down the design calls it makes: what it chose, what it beat, and why. You approve them in seconds. The agent follows them next time, and everyone on your team can read them.
|
|
30
|
-
|
|
31
|
-
It's documentation that writes itself.
|
|
27
|
+
As your agent builds, Arbiter writes down each design call: what changed, what it beat, and why. You approve them in seconds, in chat or on your board. The agent follows them next time, and everyone on your team can read them.
|
|
32
28
|
|
|
33
29
|
<p align="center">
|
|
34
30
|
<picture>
|
|
35
|
-
<source media="(prefers-color-scheme: dark)" srcset=".github/assets/
|
|
36
|
-
<img src=".github/assets/
|
|
31
|
+
<source media="(prefers-color-scheme: dark)" srcset=".github/assets/hero-dark.gif">
|
|
32
|
+
<img src=".github/assets/hero-light.gif" alt="A tour of the Arbiter board. The Settings screen, approved and decided by Sam, scrolls down to the decisions made on it and the tabs it beat. Then Design rules, then the Overview of every screen." width="100%">
|
|
37
33
|
</picture>
|
|
38
34
|
</p>
|
|
39
35
|
|
|
40
|
-
<p align="center"><sub>
|
|
36
|
+
<p align="center"><sub>Your board: every screen, what was decided on it, who decided, and what it beat. <a href="https://arbiter.design/p/acme">Click around the live demo</a>.</sub></p>
|
|
37
|
+
|
|
38
|
+
<br>
|
|
41
39
|
|
|
42
40
|
## What you get
|
|
43
41
|
|
|
@@ -54,7 +52,9 @@ Every design decision and change is recorded as it's made: what was chosen, what
|
|
|
54
52
|
### Visibility
|
|
55
53
|
|
|
56
54
|
**See every decision in one place.**<br>
|
|
57
|
-
|
|
55
|
+
Your board shows each screen, the decisions made on it, and what lost. It runs on your machine, and you share it when your team should see it too.
|
|
56
|
+
|
|
57
|
+
<br>
|
|
58
58
|
|
|
59
59
|
## Why Arbiter
|
|
60
60
|
|
|
@@ -67,53 +67,61 @@ Building with an agent means making product decisions all day, and nobody keeps
|
|
|
67
67
|
Arbiter fixes that without adding work:
|
|
68
68
|
|
|
69
69
|
- 📄 **It's just files in your repo.** Rules live in `DECISIONS.md`. Plain markdown, reviewed in pull requests like everything else.
|
|
70
|
-
- 🤫 **It stays out of the way.** No popups while you iterate. The agent queues what it decided and you judge it when you're ready.
|
|
71
|
-
- 🧭 **It informs, it doesn't enforce.** Rules shape what the agent builds. Nothing blocks a build.
|
|
70
|
+
- 🤫 **It stays out of the way.** No popups while you iterate. The agent queues what it decided and you judge it when you're ready, in chat or on your board.
|
|
71
|
+
- 🧭 **It informs, it doesn't enforce.** Rules shape what the agent builds. When your request goes against one, it asks once, then builds what you choose. Nothing blocks a build.
|
|
72
72
|
|
|
73
|
-
|
|
73
|
+
<br>
|
|
74
74
|
|
|
75
|
-
|
|
76
|
-
npx arbiterdesign init
|
|
77
|
-
```
|
|
75
|
+
## How it works
|
|
78
76
|
|
|
79
|
-
>
|
|
80
|
-
>
|
|
77
|
+
<table>
|
|
78
|
+
<tr>
|
|
79
|
+
<td width="33%" valign="top">
|
|
81
80
|
|
|
82
|
-
|
|
81
|
+
<picture>
|
|
82
|
+
<source media="(prefers-color-scheme: dark)" srcset=".github/assets/how-chat-dark.gif">
|
|
83
|
+
<img src=".github/assets/how-chat-light.gif" alt="A Claude Code chat. You ask for the settings page, the agent reads 12 rules and builds it, you try tabs and go back to one page. Arbiter offers a review, and the one-page decision becomes rule D-0006." width="100%">
|
|
84
|
+
</picture>
|
|
83
85
|
|
|
84
|
-
|
|
86
|
+
**1. Build, then review in chat**
|
|
85
87
|
|
|
86
|
-
|
|
88
|
+
Ask for a screen as you always do. Your agent reads your rules first. When decisions pile up, it asks: confirm each one, make it a rule, or type what it should be.
|
|
87
89
|
|
|
88
|
-
|
|
90
|
+
</td>
|
|
91
|
+
<td width="33%" valign="top">
|
|
89
92
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
+
<picture>
|
|
94
|
+
<source media="(prefers-color-scheme: dark)" srcset=".github/assets/how-beat-dark.gif">
|
|
95
|
+
<img src=".github/assets/how-beat-light.gif" alt="The board: the approved single-page Settings, then the rejected tabs and accordion versions, each with the reason it lost." width="100%">
|
|
96
|
+
</picture>
|
|
93
97
|
|
|
94
|
-
|
|
98
|
+
**2. Review on your board**
|
|
95
99
|
|
|
96
|
-
|
|
97
|
-
<summary><b>The files Arbiter keeps in your repo</b></summary>
|
|
98
|
-
<br>
|
|
100
|
+
Or open your board with `npx arbiter review`: every change with its picture and what it beat. It runs on your machine, and nothing is uploaded until you publish.
|
|
99
101
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
| `DECISIONS.md` | Your active rules, grouped by type. Capped at 40. The agent reads this before UI work. |
|
|
103
|
-
| `.arbiter/archive.md` | Every decision ever made, append-only. Never loaded into the agent. |
|
|
104
|
-
| `.arbiter/pending.md` | Decisions the agent queued that you haven't judged yet. |
|
|
105
|
-
| `.arbiter/candidates/` | One page per generated screen or direction: its state, snapshot, decisions, and why it lost. |
|
|
106
|
-
| `.arbiter/work/` | One picture per piece of work, when the agent could take one. `publish` carries it to the board. |
|
|
107
|
-
| `.arbiter/hosted.json`, `comments.json`, `requests.json` | Which hosted board is yours, and the comments and change requests `pull` brings back. |
|
|
108
|
-
| `CANDIDATES.md` | Index of candidates. Only written when `destination` is `git`. |
|
|
109
|
-
| `.claude/skills/arbiter/SKILL.md` or `.cursor/rules/arbiter.mdc` | Tells the agent to check your rules before UI work, ask when something clashes with one, then surface its decisions and record what you confirm. |
|
|
110
|
-
| `arbiter.json` | Config. `app.url` is where the agent opens screens for pictures. |
|
|
111
|
-
| `AGENTS.md` | One line appended, pointing at `DECISIONS.md`. It tells the agent to ask before building when your request or the design system goes against a rule, and that a rule written as an exception beats the design system. Merged, never overwritten. A newer `init` refreshes only that line. |
|
|
112
|
-
| `CLAUDE.md` / `.cursor/commands/arbiter.md` | The same pointer for Claude Code, and an `/arbiter` command for Cursor. |
|
|
102
|
+
</td>
|
|
103
|
+
<td width="33%" valign="top">
|
|
113
104
|
|
|
114
|
-
|
|
105
|
+
<picture>
|
|
106
|
+
<source media="(prefers-color-scheme: dark)" srcset=".github/assets/how-exceptions-dark.gif">
|
|
107
|
+
<img src=".github/assets/how-exceptions-light.gif" alt="The Design rules page: a rule with one exception. Clicking it shows where the rule doesn't apply and why." width="100%">
|
|
108
|
+
</picture>
|
|
115
109
|
|
|
116
|
-
|
|
110
|
+
**3. Rules and exceptions**
|
|
111
|
+
|
|
112
|
+
Rules go into `DECISIONS.md`, and your agent follows them from then on. When one screen needs to differ, keep it as an exception.
|
|
113
|
+
|
|
114
|
+
</td>
|
|
115
|
+
</tr>
|
|
116
|
+
</table>
|
|
117
|
+
|
|
118
|
+
You can also just say it in chat: *"make that a rule"*, or *"reject the tabs, going with a single page."*
|
|
119
|
+
|
|
120
|
+
<details>
|
|
121
|
+
<summary><b>The whole loop, as a diagram</b></summary>
|
|
122
|
+
<br>
|
|
123
|
+
|
|
124
|
+
In your repo, the agent builds, queues its design calls, and you judge them. Rules go into `DECISIONS.md` for the next session. With Arbiter Team, publish the board and your team can comment or ask for a change, which `pull` brings back.
|
|
117
125
|
|
|
118
126
|
```mermaid
|
|
119
127
|
flowchart TB
|
|
@@ -140,185 +148,201 @@ flowchart TB
|
|
|
140
148
|
linkStyle 7,8 stroke:#2da44e
|
|
141
149
|
```
|
|
142
150
|
|
|
143
|
-
|
|
144
|
-
2. **You iterate.** The agent says nothing about decisions while you're going back and forth. Each version you move past becomes a rejected alternative on the one that replaced it.
|
|
145
|
-
3. **You move on.** The agent queues the design calls it made, sized as `feature` or `pattern` (a small one-off fix isn't recorded at all). When 5 are waiting (then 10, 15…) it asks if you want to review them. Only real choices get queued: things you asked for, things you corrected, and options the agent actually weighed. Its habits don't.
|
|
146
|
-
4. **You judge them when you want.** In chat with `/arbiter`, or on your local board: answer "yes, in the browser" when it asks, or open it yourself with `npx arbiter review`. Keep it open while you work: it shows what the agent records as it records it, and in Claude Code the fixes you ask for there reach the agent with your next message. Elsewhere they come at the next `/arbiter`. Close the tab when you're done with it.
|
|
147
|
-
5. **Rules go into `DECISIONS.md`.** Everything you judged goes into the archive. Skipped items disappear. The next session reads the new rules.
|
|
148
|
-
6. **You share it.** `npx arbiter publish` puts the board online, so your team can see each screen, what was decided and why. They can comment or request a change, and `npx arbiter pull` brings that back for you to answer. More in [Share it with your team](#share-it-with-your-team).
|
|
149
|
-
|
|
150
|
-
You can also just say it: *"make that a rule"*, or *"reject the tabs, going with a single page."* The agent records it without asking.
|
|
151
|
+
</details>
|
|
151
152
|
|
|
152
|
-
|
|
153
|
+
<details>
|
|
154
|
+
<summary><b>What a rule looks like in <code>DECISIONS.md</code></b></summary>
|
|
155
|
+
<br>
|
|
153
156
|
|
|
154
157
|
```markdown
|
|
155
|
-
### D-
|
|
158
|
+
### D-0006 · Settings live on one scrolling page with a section nav, not tabs
|
|
156
159
|
|
|
157
|
-
- **Change:**
|
|
158
|
-
- **Rationale:**
|
|
160
|
+
- **Change:** Settings moved from four tabs to one page with a section nav
|
|
161
|
+
- **Rationale:** People look for a setting with ⌘F, and tabs hid it
|
|
159
162
|
- **Rejected:**
|
|
160
|
-
-
|
|
161
|
-
- **Trigger:**
|
|
162
|
-
- **Scope:** pattern:
|
|
163
|
+
- Tabs, one per section — they hid settings from ⌘F
|
|
164
|
+
- **Trigger:** Settings build
|
|
165
|
+
- **Scope:** pattern:settings-layout · **Dimension:** structure · **Level:** pattern · **Class:** judgment · **Verdict:** rule
|
|
166
|
+
- **Author:** sam · **Date:** 2026-10-27T09:00:00Z · **Commit:** — · **Supersedes:** —
|
|
163
167
|
```
|
|
164
168
|
|
|
165
|
-
|
|
169
|
+
</details>
|
|
166
170
|
|
|
167
|
-
|
|
171
|
+
<br>
|
|
168
172
|
|
|
169
|
-
|
|
170
|
-
|---|---|
|
|
171
|
-
| **Confirm** | Goes into the archive as a one-off. |
|
|
172
|
-
| **Make it a rule** | Goes into `DECISIONS.md`. The agent follows it from now on. |
|
|
173
|
-
| **Skip** | Thrown away. |
|
|
174
|
-
| **Fix** | Type a correction and it's recorded your way. |
|
|
173
|
+
## When something clashes with a rule
|
|
175
174
|
|
|
176
|
-
|
|
175
|
+
The agent asks before building, once, and always the same way: what it found, one question, and two or three options plus Other. It only speaks up when one of your rules is involved.
|
|
177
176
|
|
|
178
|
-
|
|
179
|
-
|
|
177
|
+
- **You ask for something a rule goes against.** *"Do you still want the undo bar?"* Follow the rule, make a one-off exception, or replace the rule.
|
|
178
|
+
- **A rule goes against your design system.** *"Which should the empty list follow?"* Retire the rule, or reword it as an exception to the design system.
|
|
179
|
+
- **Two rules disagree.** *"Which should they follow?"* Retire one, or reword both to say what each is for.
|
|
180
|
+
- **Other screens don't follow a rule you just made.** *"Update Events too?"* Update them, review it later, or keep them as exceptions.
|
|
181
|
+
- **A rule needs something your design system doesn't have.** *"Build one?"* A short plan first, this screen only, or review it later.
|
|
182
|
+
|
|
183
|
+
Your design system (`DESIGN.md`, your pattern and component docs, and your shared components) outranks a plain rule. A rule written as an exception outranks the design system. Arbiter never edits your design system and never checks your work against it.
|
|
180
184
|
|
|
181
|
-
|
|
185
|
+
<br>
|
|
182
186
|
|
|
183
|
-
|
|
187
|
+
## Where Arbiter fits
|
|
184
188
|
|
|
185
|
-
|
|
186
|
-
|---|---|---|
|
|
187
|
-
| You ask for something a rule goes against | *Do you still want the undo bar?* | Nothing (it follows the rule), a one-off exception, or a new rule replacing the old one |
|
|
188
|
-
| A rule goes against the design system | *Which should the empty list follow?* | The rule retired, or reworded as *Exception to the design system: …* |
|
|
189
|
-
| Two rules disagree (only when both can't be true) | *Which should they follow?* | The other one retired, or both reworded to say what each is for |
|
|
190
|
-
| Other screens don't follow a rule you just built to (asked after building) | *Update Events too?* | Nothing (it updates them), a clash on your review list, or an exception |
|
|
191
|
-
| A rule needs something the design system doesn't have | *Build one?* | A short plan first, then this screen only, or a clash on your review list |
|
|
189
|
+
Your agent has good taste and your design system, and still drifts from what your team decided. Arbiter adds the layer that stops the drift: your own design calls, with the reason.
|
|
192
190
|
|
|
193
|
-
|
|
191
|
+
| Layer | Where it lives | What it holds |
|
|
192
|
+
|---|---|---|
|
|
193
|
+
| Taste packs | Design skills, taste packs | Generic taste, anyone's |
|
|
194
|
+
| References | Design references, Mobbin | Design references and judgment |
|
|
195
|
+
| Written law | `DESIGN.md`, `CLAUDE.md`, `tokens.json` | Defined tokens, components and usage |
|
|
196
|
+
| **Case law** | **`DECISIONS.md`, kept by Arbiter** | **Your team's calls, with a reason, an owner and a date** |
|
|
197
|
+
| Examples | Storybook, Figma | Your approved screens and code |
|
|
194
198
|
|
|
195
|
-
|
|
199
|
+
<br>
|
|
196
200
|
|
|
197
201
|
## Share it with your team
|
|
198
202
|
|
|
199
|
-
|
|
203
|
+
Your board is private to you. To share it, use **Share board** at the top of your board, or the same two options here.
|
|
200
204
|
|
|
201
|
-
|
|
202
|
-
npx arbiter publish
|
|
203
|
-
```
|
|
205
|
+
### A read-only copy
|
|
204
206
|
|
|
205
|
-
|
|
207
|
+
Free, and nothing goes to Arbiter. Export your board as a folder anyone can open from disk or put on any static host:
|
|
206
208
|
|
|
207
|
-
```
|
|
208
|
-
npx arbiter
|
|
209
|
+
```
|
|
210
|
+
npx arbiter export
|
|
209
211
|
```
|
|
210
212
|
|
|
211
|
-
|
|
213
|
+
Or put it on your own GitHub Pages site with `npx arbiter publish --to pages`.
|
|
212
214
|
|
|
213
|
-
|
|
215
|
+
### Arbiter Team (early access)
|
|
214
216
|
|
|
215
|
-
|
|
217
|
+
A private board on arbiter.design where your team comments, says "looks good", and requests changes. Teammates sign in with an email link, and there's nothing to install. Arbiter Team is in early access, by invitation: [request early access](https://arbiter.design/plans).
|
|
216
218
|
|
|
217
|
-
|
|
218
|
-
|
|
219
|
+
<details>
|
|
220
|
+
<summary><b>Once you're in</b></summary>
|
|
221
|
+
<br>
|
|
219
222
|
|
|
220
|
-
|
|
223
|
+
The first time, publish with the invite code you were sent: `npx arbiter publish --invite <code>`. It puts your board online and gives you a link. It's unlisted and never indexed. After that, `npx arbiter publish` updates the same board, with no code.
|
|
221
224
|
|
|
222
|
-
|
|
223
|
-
- `npx arbiter unpublish --yes` deletes the board, its pictures and its comments from the service, saving the comments into `.arbiter/comments.json` first. Without `--yes` it only says what it would delete.
|
|
224
|
-
- Lost the project folder, so you can't run it? Use **Report or remove this board** at the bottom of the board, and it's taken down by hand.
|
|
225
|
+
`npx arbiter pull` brings comments and change requests back into your project. A comment is just input. A change request gets a proper answer: you reply in chat with `/arbiter` (apply it, apply it with a tweak, or decline with a reason), the agent makes the change, and your next `publish` shows them what happened. Nothing is applied without your yes, and the board never writes to your project on its own.
|
|
225
226
|
|
|
226
|
-
|
|
227
|
+
- **Keep it current.** `npx arbiter publish --auto` republishes whenever the record changes. `--on-push` sets up a GitHub Action that republishes when decisions land on your default branch.
|
|
228
|
+
- **Keep it private.** `npx arbiter publish --password` puts it behind a password and prints one for you to send with the link.
|
|
229
|
+
- **Take it down.** `npx arbiter unpublish --yes` deletes the online copy and its comments, after saving the comments into your project.
|
|
227
230
|
|
|
228
|
-
|
|
231
|
+
Your project stays the source of truth. Only `publish`, `pull` and `unpublish` talk to the online service.
|
|
229
232
|
|
|
230
|
-
|
|
231
|
-
2. You answer in chat with `/arbiter`:
|
|
232
|
-
- **Apply**: `record R-0001 --as apply`
|
|
233
|
-
- **Apply, but…**: `record R-0001 --as apply --to "keep the tab, make the button red"`
|
|
234
|
-
- **Decline**: `record R-0001 --as decline --why "…"` (a reason is required, since the requester reads it)
|
|
235
|
-
3. The agent makes the change right away.
|
|
236
|
-
4. `publish` sends the answer back. The requester sees *Open*, *Approved*, *Applied* (with what changed) or *Declined* (with the reason).
|
|
233
|
+
</details>
|
|
237
234
|
|
|
238
|
-
>
|
|
239
|
-
|
|
235
|
+
<br>
|
|
236
|
+
|
|
237
|
+
## Under the hood
|
|
238
|
+
|
|
239
|
+
It's just files in your project. You own them, and they're reviewed in pull requests like everything else.
|
|
240
240
|
|
|
241
241
|
<details>
|
|
242
|
-
<summary><b>
|
|
242
|
+
<summary><b>The files Arbiter keeps</b></summary>
|
|
243
243
|
<br>
|
|
244
244
|
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
245
|
+
| File | What it's for |
|
|
246
|
+
|---|---|
|
|
247
|
+
| `DECISIONS.md` | Your active rules, grouped by type. 40 at most by default, or set your own. The agent reads this before UI work. Notes you add by hand are kept. Already have a `DECISIONS.md` of your own? Arbiter leaves it alone and keeps your design rules in `DESIGN-DECISIONS.md` instead. |
|
|
248
|
+
| `.arbiter/archive.md` | Every decision ever made, append-only. Never loaded into the agent. |
|
|
249
|
+
| `.arbiter/pending.md` | Decisions the agent queued that you haven't judged yet, in chat or on the board. |
|
|
250
|
+
| `.arbiter/candidates/` | One page per competing direction: its state, picture, decisions, and why it lost. |
|
|
251
|
+
| `.arbiter/work/` | A picture per piece of work, and the ones before it, so the board shows how it got there. |
|
|
252
|
+
| `.arbiter/areas.json` | The folders you make for areas in the board's side nav. |
|
|
253
|
+
| `.arbiter/hosted.json`, `comments.json`, `requests.json` | Which online board is yours, and the comments and change requests `pull` brings back. |
|
|
254
|
+
| `CANDIDATES.md` | Index of candidates. Only written when `destination` is `git`. |
|
|
255
|
+
| `.claude/skills/arbiter/SKILL.md` or `.cursor/rules/arbiter.mdc` | Tells the agent to check your rules before UI work, ask when something clashes with one, surface its decisions after, record what you confirm, and pick up what you judged on the board. |
|
|
256
|
+
| `arbiter.json` | Settings: when the agent checks in, the rule cap, where your app runs for pictures. |
|
|
257
|
+
| `AGENTS.md` | One line appended, pointing at `DECISIONS.md`. It tells the agent to ask before building when your request or the design system goes against a rule, and that a rule written as an exception beats the design system. Merged, never overwritten. |
|
|
258
|
+
| `CLAUDE.md` / `.cursor/commands/arbiter.md` | The same pointer for Claude Code, and an `/arbiter` command for Cursor. |
|
|
250
259
|
|
|
251
260
|
</details>
|
|
252
261
|
|
|
253
|
-
|
|
262
|
+
<br>
|
|
254
263
|
|
|
255
|
-
|
|
256
|
-
- **GitHub Pages.** With `"destination": "git"` in `arbiter.json`, every candidate change also writes the export to `docs/arbiter/`. Turn on Pages for the `docs` folder once and the board lives at `https://<owner>.github.io/<repo>/arbiter/`. `npx arbiter publish --to pages` does the whole setup in one go.
|
|
264
|
+
## FAQ
|
|
257
265
|
|
|
258
|
-
|
|
266
|
+
<details>
|
|
267
|
+
<summary><b>What counts as a decision?</b></summary>
|
|
259
268
|
|
|
260
|
-
|
|
269
|
+
A call the agent made where a reasonable alternative existed: layout, flow, wording, states, what happens on error, and what it chose over. Not code details like imports, file names or plumbing. Each one reads Change, Rule, Rejected.
|
|
261
270
|
|
|
262
|
-
|
|
263
|
-
- **Doesn't:** font or token changes (no single screen to show), motion and behaviour (a still can't show it), and small one-off fixes (they aren't recorded).
|
|
271
|
+
</details>
|
|
264
272
|
|
|
265
|
-
|
|
273
|
+
<details>
|
|
274
|
+
<summary><b>How do I set it up?</b></summary>
|
|
266
275
|
|
|
267
|
-
|
|
268
|
-
> Name each piece of work after the screen it changed, like `Settings, billing` instead of one `Settings build` across four routes. Then one picture per piece of work means one per screen.
|
|
276
|
+
One command, in the folder your agent works in. In the terminal you already use with Claude Code or Cursor, type `npx arbiterdesign init`, or ask the agent to run it. It adds a few plain files to the project and a one-line note telling the agent to read the rules before UI work. Nothing to sign up for, nothing to configure. From the next session, the agent records as it goes. When you want to share your board, `npx arbiter export` makes a read-only copy, and Arbiter Team (early access) gives your team a private link. Step by step, with what you'll see: [Get started](https://arbiter.design/get-started).
|
|
269
277
|
|
|
270
|
-
|
|
278
|
+
</details>
|
|
271
279
|
|
|
272
|
-
|
|
280
|
+
<details>
|
|
281
|
+
<summary><b>Will it interrupt me, or bury me in reviews?</b></summary>
|
|
273
282
|
|
|
274
|
-
|
|
283
|
+
No. Decisions queue quietly while you work and come up in one line when you move on. One-off fixes aren't recorded at all, so you only judge calls that matter.
|
|
275
284
|
|
|
276
|
-
|
|
285
|
+
</details>
|
|
277
286
|
|
|
278
|
-
|
|
287
|
+
<details>
|
|
288
|
+
<summary><b>Can I change my mind about a rule?</b></summary>
|
|
279
289
|
|
|
280
|
-
|
|
281
|
-
- **Sweep.** `npx arbiter sweep D-0004` lists every existing line that breaks the rule. `--queue` turns each file into a pending item to fix or keep as an exception. Sweep never edits code; fixing is the agent's job.
|
|
290
|
+
Yes. Make the new call and the old rule steps aside. It stays in the archive with the reason it was replaced, so the history reads as history. Nothing is deleted.
|
|
282
291
|
|
|
283
|
-
|
|
292
|
+
</details>
|
|
284
293
|
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
"sweep": { "exclude": ["app/globals.css", "design-reference/**", "docs/**"] },
|
|
288
|
-
"overlap": { "ignore": ["audit", "journey"] }
|
|
289
|
-
}
|
|
290
|
-
```
|
|
294
|
+
<details>
|
|
295
|
+
<summary><b>Where does the record live, and who can see it?</b></summary>
|
|
291
296
|
|
|
292
|
-
`
|
|
297
|
+
In your project, as plain-text files you own: `DECISIONS.md` and a folder beside it. Your board runs on your machine and reads those files: no account, and nothing is uploaded. Only you see it. When you want others to see it, `npx arbiter export` makes a read-only copy, or Arbiter Team (early access) puts one at a private link: unlisted, never indexed, comments by email sign-in. Delete that copy and you lose the comments, nothing else.
|
|
293
298
|
|
|
294
|
-
|
|
299
|
+
</details>
|
|
295
300
|
|
|
296
|
-
|
|
301
|
+
<details>
|
|
302
|
+
<summary><b>We already have a design system.</b></summary>
|
|
297
303
|
|
|
298
|
-
|
|
299
|
-
|---|---|---|
|
|
300
|
-
| **Retire** | It was real, and it's over | `arbiter record --retire D-0003 --why "…"` |
|
|
301
|
-
| **Remove** | It was never real (a test, a misfire) | `arbiter remove D-0004` |
|
|
302
|
-
| **Unlink** | It's real, but attached to the wrong screen | `arbiter unlink D-0004` |
|
|
304
|
+
Good. Arbiter records decisions, not tokens. Rules can name your components and files (*"interactive elements use brand tokens, never raw hex"*) and sit beside whatever system you have. It captures the calls a design system doesn't: layout, flow, copy, and what was rejected.
|
|
303
305
|
|
|
304
|
-
|
|
306
|
+
</details>
|
|
305
307
|
|
|
306
|
-
|
|
308
|
+
<details>
|
|
309
|
+
<summary><b>Is this like ADRs?</b></summary>
|
|
307
310
|
|
|
308
|
-
|
|
311
|
+
Yes, same idea: a call, what it beat, and why. ADRs (architecture decision records) are for engineering: the stack, the data model, the API. Arbiter is for design: layout, flow, copy and states. And no one writes it up. The agent records each call as it works and you approve in seconds. If your ADRs already live in a `DECISIONS.md`, Arbiter doesn't touch it: your design rules go in `DESIGN-DECISIONS.md`.
|
|
309
312
|
|
|
310
|
-
|
|
313
|
+
</details>
|
|
311
314
|
|
|
312
|
-
|
|
315
|
+
<details>
|
|
316
|
+
<summary><b>Doesn't Claude have memory now?</b></summary>
|
|
313
317
|
|
|
314
|
-
|
|
318
|
+
Yes, but memory is what the agent learned. Arbiter is what your team decided. Claude Code's auto memory is notes Claude keeps for itself: nobody approves them, and they stay on one machine. Arbiter's rules are ones you approved, kept in the repo for every teammate, and each one records what it beat and what it replaced.
|
|
319
|
+
|
|
320
|
+
</details>
|
|
321
|
+
|
|
322
|
+
<br>
|
|
323
|
+
|
|
324
|
+
## Reference
|
|
325
|
+
|
|
326
|
+
You won't need most of this day to day: the agent runs these for you. It's here for design engineers who want the details.
|
|
327
|
+
|
|
328
|
+
The commands you'll use most:
|
|
329
|
+
|
|
330
|
+
```
|
|
315
331
|
npx arbiterdesign init # install into this project
|
|
316
|
-
npx arbiter review #
|
|
317
|
-
npx arbiter rules # list
|
|
318
|
-
npx arbiter
|
|
319
|
-
npx arbiter
|
|
332
|
+
npx arbiter review # open your board
|
|
333
|
+
npx arbiter rules # list your rules
|
|
334
|
+
npx arbiter export # a read-only copy of your board to share
|
|
335
|
+
npx arbiter update # get the newest Arbiter
|
|
336
|
+
npx arbiter publish # Arbiter Team: put your board online
|
|
337
|
+
npx arbiter pull # Arbiter Team: bring comments and requests back
|
|
320
338
|
```
|
|
321
339
|
|
|
340
|
+
> [!NOTE]
|
|
341
|
+
> On Windows, in PowerShell, type `npx.cmd` instead of `npx`. PowerShell blocks plain `npx` out of the box, with "running scripts is disabled on this system". Command Prompt and Git Bash don't.
|
|
342
|
+
|
|
343
|
+
> [!TIP]
|
|
344
|
+
> Too chatty? `npx arbiter setup --checkin quiet` turns off the check-ins. `--checkin every` does the opposite and mentions a rule every time one changed something.
|
|
345
|
+
|
|
322
346
|
<details>
|
|
323
347
|
<summary><b>Full command reference</b></summary>
|
|
324
348
|
|
|
@@ -375,15 +399,19 @@ npx arbiter pull # bring comments and requests back
|
|
|
375
399
|
|
|
376
400
|
#### Sharing
|
|
377
401
|
|
|
402
|
+
`export` and `publish --to pages` work for everyone. The rest is Arbiter Team (early access).
|
|
403
|
+
|
|
378
404
|
| Command | What it does |
|
|
379
405
|
|---|---|
|
|
380
406
|
| `arbiter publish` | Board online at arbiter.design, with comments. Prints the share link. |
|
|
407
|
+
| `arbiter publish --invite <code>` | A new board's first publish, with the invite code you were sent. Later publishes don't need it, and it isn't saved. |
|
|
381
408
|
| `arbiter publish --to <url\|pages>` | Your own hosted Arbiter, or GitHub Pages. |
|
|
382
409
|
| `arbiter publish --auto` | Republish whenever the record changes. |
|
|
383
410
|
| `arbiter publish --on-push` | Write a GitHub Actions workflow that republishes on every push. |
|
|
384
411
|
| `arbiter publish --password [pw]` | Ask for a password before showing the board. No value makes one up. `--no-password` takes it off. |
|
|
385
412
|
| `arbiter unpublish --yes` | Delete the board, its pictures and its comments, saving the comments to the repo first. |
|
|
386
413
|
| `arbiter unpublish <board link> --admin --yes` | For whoever runs the server: take down any board on it, with the admin token in `ARBITER_ADMIN_TOKEN`. |
|
|
414
|
+
| `arbiter invite "<who it's for>"` | For whoever runs the server: make an invite code, good for 1 board (`--boards 3` for more), with the admin token in `ARBITER_ADMIN_TOKEN`. `--list` shows every invite; `--off <id>` switches one off. |
|
|
387
415
|
| `arbiter pull` | Bring comments and reactions into `.arbiter/comments.json`, and requests into `.arbiter/requests.json`. |
|
|
388
416
|
| `arbiter export [--feature f] [--include-rules] [--open]` | Static folder of the board for people without the repo. |
|
|
389
417
|
|
|
@@ -394,119 +422,154 @@ npx arbiter pull # bring comments and requests back
|
|
|
394
422
|
| `0` | Recorded. |
|
|
395
423
|
| `1` | Invalid input. |
|
|
396
424
|
| `2` | Overlaps an existing rule. Re-run with `--supersedes <id>` or `--keep-both`. |
|
|
397
|
-
| `3` | The
|
|
425
|
+
| `3` | The rule cap is reached. |
|
|
398
426
|
| `4` | Contradicted: the named files don't match the claim. |
|
|
399
427
|
|
|
400
428
|
</details>
|
|
401
429
|
|
|
402
430
|
<details>
|
|
403
|
-
<summary><b>
|
|
431
|
+
<summary><b>Pictures of your screens</b></summary>
|
|
404
432
|
<br>
|
|
405
433
|
|
|
406
|
-
|
|
407
|
-
|---|---|
|
|
408
|
-
| `id` | `D-0001`, sequential. |
|
|
409
|
-
| `date` | ISO 8601. |
|
|
410
|
-
| `author` | Who decided. |
|
|
411
|
-
| `class` | `mechanical` (checkable in code) or `judgment`. |
|
|
412
|
-
| `level` | `feature` or `pattern`. How big a call it is. A `polish` one-off fix isn't recorded: `record` answers `not-recorded` and writes nothing. |
|
|
413
|
-
| `dimension` | `structure`, `interaction`, `states`, `content`, `visual`, `motion` or `access`. |
|
|
414
|
-
| `change` | What happened, in plain words. What the reviewer reads. |
|
|
415
|
-
| `decision` | The same call written as a rule. What future sessions read. |
|
|
416
|
-
| `rejected` | Alternatives that lost, one per line as `<option> — <why>`. |
|
|
417
|
-
| `trigger` | The piece of work, like `Settings build`. Used to group the review. |
|
|
418
|
-
| `verdict` | `fix`, `accept`, `rule` or `retire`. |
|
|
419
|
-
| `call` | Who made the call: `asked`, `corrected` or `agent`. `null` on records from before 0.1.7. |
|
|
420
|
-
| `against` | The rule this goes against, like `D-0011`, or `null`. Queued, it's a clash for review. Accepted, it's an exception to that rule. |
|
|
421
|
-
| `reworded` | The rule's earlier wordings, as `<old> (until 2026-10-13)`. Only `record --reword` adds one. |
|
|
422
|
-
| `scope` | `global`, `file:<path>` or `pattern:<name>`. |
|
|
423
|
-
| `rationale` | One line, required. |
|
|
424
|
-
| `supersedes` | The id it replaces, or `null`. |
|
|
425
|
-
| `commit` | Short SHA, or `null`. |
|
|
426
|
-
| `files` | Files the agent touched. Evidence for verification. |
|
|
427
|
-
| `paths` | Where a rule applies. What sweep scans. |
|
|
428
|
-
| `expect` | `{ present?: [..], absent?: [..] }`, strings to check in `files`. |
|
|
429
|
-
| `verified` | `true`, `false` or `null` (never checked, or not checkable). |
|
|
430
|
-
| `candidate` | `C-0001`, or `null`. |
|
|
431
|
-
|
|
432
|
-
Only `rule` verdicts go into `DECISIONS.md`. A rule that overlaps an active one is refused until you say whether it replaces it. Superseded rules leave the active file and stay in the archive. `accept` verdicts are never verified, since an exception is a deviation by definition.
|
|
433
|
-
|
|
434
|
-
Rewording is the one change made in place. The id stays, so everything that names the rule still points at it, and the entry keeps its earlier wording. A rule that now says something different isn't reworded. It's superseded.
|
|
434
|
+
The agent takes one picture per piece of work, when the work settles and it changed how a specific screen looks.
|
|
435
435
|
|
|
436
|
-
|
|
436
|
+
- **Gets a picture:** layout, wording or visual changes to one screen. Even a small pattern change counts.
|
|
437
|
+
- **Doesn't:** font or token changes (no single screen to show), motion and behaviour (a still can't show it), and small one-off fixes (they aren't recorded).
|
|
437
438
|
|
|
438
|
-
|
|
439
|
+
The agent renders pictures with a headless browser. If it can't (no browser, app not running, screen behind a login) it tells you once and says why. On macOS, `--capture` lets you drag-select a picture yourself; elsewhere, save one and pass `--file`.
|
|
439
440
|
|
|
440
|
-
|
|
441
|
-
npx arbiter update
|
|
442
|
-
```
|
|
441
|
+
Name each piece of work after the screen it changed, like `Settings, billing` instead of one `Settings build` across four routes. Then one picture per piece of work means one per screen. Named it something else first? `arbiter rename "Settings build" "Settings, billing"` moves its decisions, its picture and its comments to the new name.
|
|
443
442
|
|
|
444
|
-
|
|
443
|
+
Cards without a picture show an icon of the kind of change, so the board never looks broken. To make sure missing pictures still get noticed, `record` tells the agent the command to add one, the board marks the group "No picture", and `publish` lists the cards that are missing one.
|
|
445
444
|
|
|
446
|
-
|
|
445
|
+
</details>
|
|
447
446
|
|
|
448
447
|
<details>
|
|
449
|
-
<summary><b>
|
|
448
|
+
<summary><b>Change requests in detail</b></summary>
|
|
449
|
+
<br>
|
|
450
450
|
|
|
451
|
-
|
|
451
|
+
1. `npx arbiter pull` turns each request into `R-0001` in `.arbiter/requests.json`. Commit it so everyone sees the same answers.
|
|
452
|
+
2. You answer in chat with `/arbiter`:
|
|
453
|
+
- **Apply**: `record R-0001 --as apply`
|
|
454
|
+
- **Apply, but…**: `record R-0001 --as apply --to "keep the tab, make the button red"`
|
|
455
|
+
- **Decline**: `record R-0001 --as decline --why "…"` (a reason is required, since the requester reads it)
|
|
456
|
+
3. The agent makes the change right away.
|
|
457
|
+
4. `publish` sends the answer back. The requester sees *Open*, *Approved*, *Applied* (with what changed) or *Declined* (with the reason).
|
|
458
|
+
|
|
459
|
+
- Pulling twice never creates the same request twice. If the requester deletes it on the board before it's made, the next pull takes it off the queue and says so.
|
|
460
|
+
- Only an approved request can be applied. A change the owner hasn't said yes to is refused.
|
|
461
|
+
- Removing the last decision that applied a request reopens it for a fresh answer. The agent never remakes it unasked.
|
|
462
|
+
- A screen or decision with a request waiting on it can't be removed until the request is declined or applied.
|
|
463
|
+
- Display names and comment text come from outside the project, so neither is trusted. Names arrive as a single line, and nothing they contain can add a line, entry or field to the record.
|
|
452
464
|
|
|
453
465
|
</details>
|
|
454
466
|
|
|
455
467
|
<details>
|
|
456
|
-
<summary><b>
|
|
468
|
+
<summary><b>More on sharing</b></summary>
|
|
469
|
+
<br>
|
|
457
470
|
|
|
458
|
-
|
|
471
|
+
- The service only holds the latest board and its comments. A board holds up to 100 pictures (25 MB); a picture that doesn't fit is left off and `publish` says so.
|
|
472
|
+
- `publish --auto` works anywhere: no GitHub, no CI, no repo needed. If a republish fails (offline, service down) the command still succeeds and tells you the board is behind. `--no-auto` turns it off.
|
|
473
|
+
- `publish --on-push` writes the workflow and sets the `ARBITER_PUBLISH_TOKEN` secret through `gh` if you're signed in. Commit the workflow along with `.arbiter/hosted.json`.
|
|
474
|
+
- `publish --password` makes up a strong password and prints it once. `--password "<yours>"` sets your own (8 characters or more), `--no-password` takes it off, and a plain `publish` leaves it as it is.
|
|
475
|
+
- `unpublish` without `--yes` only says what it would delete.
|
|
476
|
+
- Lost the project folder, so you can't run `unpublish`? Use **Report or remove this board** at the bottom of the board, and it's taken down by hand.
|
|
477
|
+
- `export` writes `arbiter-export/`: the same board as `arbiter review`, read-only (`index.html`, the board's script and styles, and the pictures). With `--include-rules`, your design rules too.
|
|
478
|
+
- With `"destination": "git"` in `arbiter.json`, every candidate change also writes the export to `docs/arbiter/`. Turn on Pages for the `docs` folder once and the board lives at `https://<owner>.github.io/<repo>/arbiter/`.
|
|
459
479
|
|
|
460
480
|
</details>
|
|
461
481
|
|
|
462
482
|
<details>
|
|
463
|
-
<summary><b>
|
|
483
|
+
<summary><b>Keeping the record honest: verify and sweep</b></summary>
|
|
484
|
+
<br>
|
|
464
485
|
|
|
465
|
-
|
|
486
|
+
A mechanical rule (a hex colour ban, say) can name the `files` it applies to and what should be `present` in or `absent` from them. Use `regex:<pattern>` for patterns, like `regex:#[0-9a-fA-F]{6}\b` for any hex colour.
|
|
466
487
|
|
|
467
|
-
|
|
488
|
+
- **Verify.** Arbiter reads only those files and refuses a claim that doesn't hold.
|
|
489
|
+
- **Sweep.** `npx arbiter sweep D-0004` lists every existing line that breaks the rule. `--queue` turns each file into a pending item to fix or keep as an exception. Sweep never edits code; fixing is the agent's job.
|
|
468
490
|
|
|
469
|
-
|
|
470
|
-
<summary><b>Will it stop the agent doing what I ask?</b></summary>
|
|
491
|
+
Keep token files and reference HTML out of sweeps in `arbiter.json`:
|
|
471
492
|
|
|
472
|
-
|
|
493
|
+
```json
|
|
494
|
+
{
|
|
495
|
+
"sweep": { "exclude": ["app/globals.css", "design-reference/**", "docs/**"] },
|
|
496
|
+
"overlap": { "ignore": ["audit", "journey"] }
|
|
497
|
+
}
|
|
498
|
+
```
|
|
499
|
+
|
|
500
|
+
`overlap.ignore` lists words too common in your project to signal that two rules overlap.
|
|
473
501
|
|
|
474
502
|
</details>
|
|
475
503
|
|
|
476
504
|
<details>
|
|
477
|
-
<summary><b>
|
|
478
|
-
|
|
479
|
-
Yes. Make the new call and the old rule steps aside. It stays in the archive with the reason it was replaced, so the history reads as history. Nothing is deleted.
|
|
505
|
+
<summary><b>Taking something out</b></summary>
|
|
506
|
+
<br>
|
|
480
507
|
|
|
481
|
-
|
|
508
|
+
Three different things, and only one of them deletes.
|
|
482
509
|
|
|
483
|
-
|
|
484
|
-
|
|
510
|
+
| | When to use it | Command |
|
|
511
|
+
|---|---|---|
|
|
512
|
+
| **Retire** | It was real, and it's over | `arbiter record --retire D-0003 --why "…"` |
|
|
513
|
+
| **Remove** | It was never real (a test, a misfire) | `arbiter remove D-0004` |
|
|
514
|
+
| **Unlink** | It's real, but attached to the wrong screen | `arbiter unlink D-0004` |
|
|
485
515
|
|
|
486
|
-
|
|
516
|
+
Changing your mind is history worth keeping, so judgments are never deleted, only superseded. Mistakes are different: a record that says something false makes the archive less trustworthy. `remove` deletes it everywhere and prints the full record it removed. It refuses while anything still points at the record, unless you pass `--force` to unlink screens in one go. `remove --snapshot "<work>"` takes away just the picture.
|
|
487
517
|
|
|
488
518
|
</details>
|
|
489
519
|
|
|
490
520
|
<details>
|
|
491
|
-
<summary><b>
|
|
521
|
+
<summary><b>Competing directions (candidates)</b></summary>
|
|
522
|
+
<br>
|
|
492
523
|
|
|
493
|
-
|
|
524
|
+
When the agent generates several directions for one feature, each one is a candidate with a state: `generated`, `in_review`, `approved`, `rejected` or `superseded`. Approving one supersedes the rest and keeps the reason. Decisions link to the candidate they were made for, and `arbiter board` lists them all.
|
|
494
525
|
|
|
495
526
|
</details>
|
|
496
527
|
|
|
497
528
|
<details>
|
|
498
|
-
<summary><b>
|
|
529
|
+
<summary><b>The record format</b></summary>
|
|
530
|
+
<br>
|
|
531
|
+
|
|
532
|
+
| Field | Meaning |
|
|
533
|
+
|---|---|
|
|
534
|
+
| `id` | `D-0001`, sequential. |
|
|
535
|
+
| `date` | ISO 8601. |
|
|
536
|
+
| `author` | Who decided. |
|
|
537
|
+
| `class` | `mechanical` (checkable in code) or `judgment`. |
|
|
538
|
+
| `level` | `feature` or `pattern`. How big a call it is. A `polish` one-off fix isn't recorded: `record` answers `not-recorded` and writes nothing. |
|
|
539
|
+
| `dimension` | `structure`, `interaction`, `states`, `content`, `visual`, `motion` or `access`. |
|
|
540
|
+
| `change` | What happened, in plain words. What the reviewer reads. |
|
|
541
|
+
| `decision` | The same call written as a rule. What future sessions read. |
|
|
542
|
+
| `rejected` | Alternatives that lost, one per line as `<option> — <why>`. |
|
|
543
|
+
| `trigger` | The piece of work, like `Settings build`. Used to group the review. |
|
|
544
|
+
| `verdict` | `fix`, `accept`, `rule` or `retire`. |
|
|
545
|
+
| `call` | Who made the call: `asked`, `corrected` or `agent`. `null` on records from before 0.1.7. |
|
|
546
|
+
| `against` | The rule this goes against, like `D-0011`, or `null`. Queued, it's a clash for review. Accepted, it's an exception to that rule. |
|
|
547
|
+
| `reworded` | The rule's earlier wordings, as `<old> (until 2026-10-13)`. Only `record --reword` adds one. |
|
|
548
|
+
| `scope` | `global`, `file:<path>` or `pattern:<name>`. |
|
|
549
|
+
| `rationale` | One line, required. |
|
|
550
|
+
| `supersedes` | The id it replaces, or `null`. |
|
|
551
|
+
| `commit` | Short SHA, or `null`. |
|
|
552
|
+
| `files` | Files the agent touched. Evidence for verification. |
|
|
553
|
+
| `paths` | Where a rule applies. What sweep scans. |
|
|
554
|
+
| `expect` | `{ present?: [..], absent?: [..] }`, strings to check in `files`. |
|
|
555
|
+
| `verified` | `true`, `false` or `null` (never checked, or not checkable). |
|
|
556
|
+
| `candidate` | `C-0001`, or `null`. |
|
|
499
557
|
|
|
500
|
-
|
|
558
|
+
Only `rule` verdicts go into `DECISIONS.md`. A rule that overlaps an active one is refused until you say whether it replaces it. Superseded rules leave the active file and stay in the archive. `accept` verdicts are never verified, since an exception is a deviation by definition.
|
|
559
|
+
|
|
560
|
+
Rewording is the one change made in place. The id stays, so everything that names the rule still points at it, and the entry keeps its earlier wording. A rule that now says something different isn't reworded. It's superseded.
|
|
501
561
|
|
|
502
562
|
</details>
|
|
503
563
|
|
|
504
|
-
|
|
505
|
-
<summary><b>Doesn't Claude have memory now?</b></summary>
|
|
564
|
+
### Updating
|
|
506
565
|
|
|
507
|
-
|
|
566
|
+
```bash
|
|
567
|
+
npx arbiter update
|
|
568
|
+
```
|
|
508
569
|
|
|
509
|
-
|
|
570
|
+
Two things can go out of date separately: the package in your devDependencies, and the skill file `init` copied into your project. Arbiter can tell when they don't match, without going online, and the agent will mention it in one line. `update` installs the newest package, refreshes the skill file, and re-pins the publish workflow if you have one. Your settings, `DECISIONS.md` and archive are left alone. `--check` reports without changing anything.
|
|
571
|
+
|
|
572
|
+
<br>
|
|
510
573
|
|
|
511
574
|
## Development
|
|
512
575
|
|
|
@@ -518,6 +581,8 @@ npm test
|
|
|
518
581
|
|
|
519
582
|
Requires Node 20 or newer. Issues and ideas are welcome on the [issue tracker](https://github.com/eddie199/arbiter/issues).
|
|
520
583
|
|
|
584
|
+
<br>
|
|
585
|
+
|
|
521
586
|
## License
|
|
522
587
|
|
|
523
588
|
[MIT](LICENSE) © Edmond Hua
|