@mrciphersmith/roomyx 0.11.2 → 0.11.3
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/package.json +1 -1
- package/src/cli.ts +26 -0
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.11.3] — 2026-09-11
|
|
17
|
+
|
|
18
|
+
A patch, and a deliberately partial one: it makes a known gap visible instead of
|
|
19
|
+
pretending it is closed.
|
|
20
|
+
|
|
21
|
+
### Added
|
|
22
|
+
|
|
23
|
+
- **`roomyx room append` says when a live room is serving the log.** One line on
|
|
24
|
+
stderr, naming the room. It does not refuse.
|
|
25
|
+
|
|
26
|
+
0.11.2 recorded that the D-18 writer guard cannot engage for the agent
|
|
27
|
+
workflow: a dispatcher runs `roomyx serve` and writes with `roomyx room
|
|
28
|
+
append`, a fresh process each time, so it never holds a lease and the room
|
|
29
|
+
never reports a dispatcher. What went unsaid is that `append` had already
|
|
30
|
+
worked out that a room was serving the log — and, when no lease was held,
|
|
31
|
+
threw that away without a word. So every append into a room an agent was
|
|
32
|
+
running looked, from the command line, exactly like an append into an
|
|
33
|
+
unattended file.
|
|
34
|
+
|
|
35
|
+
A note rather than a refusal, because nothing at that point can tell a
|
|
36
|
+
dispatcher from a stranger; refusing would block the legitimate writer, which
|
|
37
|
+
was tried in 0.11.2 and reverted. The log is safe either way — `seq`
|
|
38
|
+
allocation is under a lock and three racing writers are tested. What the note
|
|
39
|
+
protects is the conversation: two dispatchers produce a transcript where every
|
|
40
|
+
message is intact and the discussion is nonsense.
|
|
41
|
+
|
|
42
|
+
It goes to stderr because stdout carries `Appended seq N from X` and is
|
|
43
|
+
parsed. Both facts — that the note appears, and that it stays off stdout — are
|
|
44
|
+
pinned by a test and mutation-checked.
|
|
45
|
+
|
|
46
|
+
### Still open
|
|
47
|
+
|
|
48
|
+
The underlying decision is unchanged: there are two dispatcher models and only
|
|
49
|
+
the embedder one is expressible. Closing it means a dispatcher identity that
|
|
50
|
+
survives across processes — a token minted at `serve` and carried by every
|
|
51
|
+
`append`, or a lease refreshed by the write itself rather than by a heartbeat.
|
|
52
|
+
Either is a protocol change and wants its own decision record.
|
|
53
|
+
|
|
16
54
|
## [0.11.2] — 2026-09-11
|
|
17
55
|
|
|
18
56
|
A patch. The bundled skill had drifted behind the server it drives, and the
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mrciphersmith/roomyx",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.3",
|
|
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"
|
package/src/cli.ts
CHANGED
|
@@ -411,6 +411,32 @@ const COMMANDS: Record<string, Command> = {
|
|
|
411
411
|
);
|
|
412
412
|
}
|
|
413
413
|
|
|
414
|
+
// A live room, and no evidence of a writer — say so rather than drop it.
|
|
415
|
+
//
|
|
416
|
+
// `serving` was already computed for the refusal above and, when nothing
|
|
417
|
+
// holds a lease, was silently discarded. That silence is wrong in exactly
|
|
418
|
+
// the case that matters: an agent dispatcher runs `roomyx serve` and
|
|
419
|
+
// writes with `roomyx room append`, a fresh process each time, so it
|
|
420
|
+
// never holds a lease and the room never reports a dispatcher. Every
|
|
421
|
+
// append into a room an agent is running therefore looks, from here, like
|
|
422
|
+
// an append into an unattended log.
|
|
423
|
+
//
|
|
424
|
+
// A note, not a refusal: there is nothing here that can tell a dispatcher
|
|
425
|
+
// from a stranger, so refusing would block the legitimate writer — which
|
|
426
|
+
// was tried and reverted. The log itself is safe either way; `seq`
|
|
427
|
+
// allocation is under a lock and that is tested. What is at risk is the
|
|
428
|
+
// conversation reading as one when it was two, and a line on stderr is
|
|
429
|
+
// what lets a second writer notice before adding to it.
|
|
430
|
+
//
|
|
431
|
+
// stderr, because stdout carries `Appended seq N from X` and is parsed.
|
|
432
|
+
if (serving !== undefined && !writerPresent && !writerWasThere) {
|
|
433
|
+
console.error(
|
|
434
|
+
`Note: room ${serving.id} is serving ${absolute}. Nothing holds the writer lease, so this append is ` +
|
|
435
|
+
`allowed — but roomyx cannot see whether an agent is dispatching that room. If one is, you are writing ` +
|
|
436
|
+
`into a conversation it is also writing into.`,
|
|
437
|
+
);
|
|
438
|
+
}
|
|
439
|
+
|
|
414
440
|
// Parsed only after the refusal: an operator whose command is going to be
|
|
415
441
|
// rejected should not be made to pipe a batch in first, and a reader that
|
|
416
442
|
// blocks on stdin while holding a decision helps nobody.
|