@mrciphersmith/roomyx 0.12.1 → 0.12.2
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/CHANGELOG.md +38 -0
- package/README.md +56 -8
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -13,6 +13,44 @@ patch and never a minor. The rule, the reason, and an audit of the four of seven
|
|
|
13
13
|
releases that followed it are in
|
|
14
14
|
[`docs/roomyx/versioning.md`](docs/roomyx/versioning.md) and decision D-13.
|
|
15
15
|
|
|
16
|
+
## [0.12.2] — 2026-09-12
|
|
17
|
+
|
|
18
|
+
A documentation patch, and the defect it fixes was on the first screen anyone
|
|
19
|
+
reads.
|
|
20
|
+
|
|
21
|
+
### Fixed
|
|
22
|
+
|
|
23
|
+
- **The README said `append` refuses when a live room is serving the log. It does
|
|
24
|
+
not.** A reviewer in this project's own room found it by running it, which is
|
|
25
|
+
the only way it could have been found — the claim had been there since the
|
|
26
|
+
writer rule was first written down, and nothing tested prose.
|
|
27
|
+
|
|
28
|
+
What is true is narrower: `append` refuses when it can *see* another writer —
|
|
29
|
+
a held writer lease, or a room reporting an attached dispatcher. An embedder
|
|
30
|
+
that dispatches in-process is visible that way. An agent dispatcher runs
|
|
31
|
+
`roomyx serve` and appends from a separate process each time, so it holds no
|
|
32
|
+
lease and the room reports nothing; there, `append` prints a note naming the
|
|
33
|
+
serving room and writes. The log is safe either way — `seq` allocation is
|
|
34
|
+
locked, and three writers racing it are tested. What the discipline protects
|
|
35
|
+
is the conversation, not the file.
|
|
36
|
+
|
|
37
|
+
- **The flag table advertised `--force` on `room append`.** That flag was removed
|
|
38
|
+
when `--take-over` replaced it, and the table never caught up — so the README
|
|
39
|
+
documented a flag the binary would reject.
|
|
40
|
+
|
|
41
|
+
- **Three commands were missing from the README entirely** — `room delta`,
|
|
42
|
+
`room commands` and `room ack`, the ones a dispatcher uses to read its own
|
|
43
|
+
room. Found by auditing every command in `cli.ts` against the README rather
|
|
44
|
+
than by re-reading it; all fourteen are now documented.
|
|
45
|
+
|
|
46
|
+
### Changed
|
|
47
|
+
|
|
48
|
+
- The personas section says the library is in English and why each name carries
|
|
49
|
+
both spellings.
|
|
50
|
+
- Decision D-19 is annotated rather than rewritten. It recorded a Russian
|
|
51
|
+
library as part of the cost of shipping the corpus; that cost has since been
|
|
52
|
+
paid, which belongs under the decision and not in place of it.
|
|
53
|
+
|
|
16
54
|
## [0.12.1] — 2026-09-12
|
|
17
55
|
|
|
18
56
|
A patch: the library reads in English now. No code changed.
|
package/README.md
CHANGED
|
@@ -15,8 +15,23 @@ on.
|
|
|
15
15
|
|
|
16
16
|
`roomyx room new` and `roomyx room append` do write, and that is not an
|
|
17
17
|
exception to the rule: creating a log nobody serves takes the writer count from
|
|
18
|
-
zero to one
|
|
19
|
-
|
|
18
|
+
zero to one.
|
|
19
|
+
|
|
20
|
+
**What roomyx enforces is narrower than the rule, and it is worth being exact
|
|
21
|
+
about which.** `append` refuses when it can *see* another writer — a held writer
|
|
22
|
+
lease, or a room reporting an attached dispatcher. An embedder that dispatches
|
|
23
|
+
in-process is visible that way. An agent dispatcher is not: it runs `roomyx
|
|
24
|
+
serve` and writes with `roomyx room append`, a fresh process each time, so it
|
|
25
|
+
holds no lease and the room reports no dispatcher. In that arrangement `append`
|
|
26
|
+
notes on stderr that a live room is serving the log, and proceeds.
|
|
27
|
+
|
|
28
|
+
So the single-writer rule is a discipline the dispatcher keeps, and roomyx
|
|
29
|
+
enforces it only where it has evidence. The log itself is safe either way —
|
|
30
|
+
`seq` allocation is under a lock, and three writers racing it are tested. What
|
|
31
|
+
is at risk without the discipline is the conversation: two dispatchers produce a
|
|
32
|
+
transcript where every message is intact and the discussion is nonsense. See
|
|
33
|
+
D-01a, and `docs/roomyx/skill-review-2026-09-11.md` for why closing the gap
|
|
34
|
+
needs a dispatcher identity that survives across processes.
|
|
20
35
|
|
|
21
36
|
## Requirements
|
|
22
37
|
|
|
@@ -163,12 +178,40 @@ Creates a room log, and appends messages to one.
|
|
|
163
178
|
| `--roster id:Name,...` | Participants. `id` is what `room.get_agent_detail` takes. |
|
|
164
179
|
| `--from <id>` / `--body <s>` | Required by `append`. |
|
|
165
180
|
| `--kind <k>` / `--in-reply-to <n>` | Optional message structure. |
|
|
166
|
-
| `--
|
|
181
|
+
| `--take-over` | Write when the room is live but its writer is provably gone. |
|
|
167
182
|
|
|
168
183
|
`new` refuses to overwrite an existing log — it is append-only, and clobbering
|
|
169
|
-
one loses a session.
|
|
170
|
-
|
|
171
|
-
|
|
184
|
+
one loses a session.
|
|
185
|
+
|
|
186
|
+
`append` refuses only when it can see another writer: a held writer lease, or a
|
|
187
|
+
room reporting an attached dispatcher. When it cannot — which is the case for an
|
|
188
|
+
agent dispatcher running `roomyx serve` and appending from a separate process —
|
|
189
|
+
it prints a note naming the room that is serving the log, and writes. There is
|
|
190
|
+
no flag that overrides a writer that is really there; the only honest move is to
|
|
191
|
+
stop it.
|
|
192
|
+
|
|
193
|
+
`--take-over` is for a room whose writer is **provably gone** — its server has
|
|
194
|
+
stopped, or the lease it left has expired without being refreshed. It records
|
|
195
|
+
the take-over in the log, naming whose lease it took.
|
|
196
|
+
|
|
197
|
+
### `roomyx room delta <log> --for <id>` / `roomyx room commands <log>` / `roomyx room ack <log> <id>`
|
|
198
|
+
|
|
199
|
+
What a dispatcher needs from a room that is already running. All three read the
|
|
200
|
+
room's **own** MCP server, so the room has to be live — they resolve its port
|
|
201
|
+
through the registry, the same way `append` finds a live room.
|
|
202
|
+
|
|
203
|
+
| | |
|
|
204
|
+
| --- | --- |
|
|
205
|
+
| `room delta <log> --for <id>` | The messages that participant has not seen, never including their own. Reports `since_seq` and `cursor_from`, so an empty delta is distinguishable from a wrong cursor. `--since <seq>` overrides the cursor. |
|
|
206
|
+
| `room commands <log>` | Owner commands waiting in the room's queue. The owner posts these from the TUI with `o`; nothing pushes them, so a dispatcher has to look. |
|
|
207
|
+
| `room ack <log> <id>` | Marks one as dealt with, so `pending` keeps meaning "not yet handled" instead of growing forever. |
|
|
208
|
+
|
|
209
|
+
They exist because the bundled skill told dispatchers to call three MCP tools
|
|
210
|
+
that nothing could reach: no command exposed them, `.mcp.json` registers the
|
|
211
|
+
*management* server rather than a room, and a room's own server binds an
|
|
212
|
+
ephemeral port recorded only in the registry. Measured at ~220 ms per call,
|
|
213
|
+
against ~225 ms for the runtime to start at all — so calling one every turn
|
|
214
|
+
costs a dispatcher nothing.
|
|
172
215
|
|
|
173
216
|
### `roomyx serve <logPath> [flags]`
|
|
174
217
|
|
|
@@ -229,8 +272,13 @@ offers the same thing as a ticked box.
|
|
|
229
272
|
A room is built out of these — the `startup-room` skill casts its participants
|
|
230
273
|
from this directory. It looks in `.roomyx/personas/` first and falls back to
|
|
231
274
|
`~/.roomyx/personas/`, so a project copy overrides the machine-wide one — the
|
|
232
|
-
same order every runtime uses for skills. The 50-criteria scoring rubric travels
|
|
233
|
-
|
|
275
|
+
same order every runtime uses for skills. The 50-criteria scoring rubric travels
|
|
276
|
+
inside the skill, in `reference/goal-startup-idea.md`.
|
|
277
|
+
|
|
278
|
+
Every profile is in English, with the persona's name carrying its original
|
|
279
|
+
Cyrillic in parentheses — `Ngozi Adeagbo (Нгози Адеагбо)`. The library and the
|
|
280
|
+
rubric were written in Russian and shipped that way until `0.12.1`; the names
|
|
281
|
+
keep both spellings so rooms cast before the translation stay findable.
|
|
234
282
|
|
|
235
283
|
| Flag | Default | Meaning |
|
|
236
284
|
| --- | --- | --- |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mrciphersmith/roomyx",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.2",
|
|
4
4
|
"description": "MCP server + terminal UI for startup-room: live room status, chat, per-agent modal, an installable room registry, and skill-sync.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|