@rness/cli 0.14.0 → 0.15.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.
package/README.md CHANGED
@@ -118,7 +118,10 @@ the files a given agent needs, for the agents the team declares in
118
118
  The rules stay in `.rness/CONVENTIONS.md`; the skills only add the steps.
119
119
  A new document takes the collection's first status (`Proposed` for an
120
120
  ADR, `Draft` otherwise) and the next number of the local checkout; two
121
- branches can pick the same one. No skill commits.
121
+ branches can pick the same one. Each skill records its session: it adds
122
+ the Claude Code session id to `sessions:` in the front matter of what it
123
+ writes or closes — an edit made without a skill leaves none. No skill
124
+ commits.
122
125
  - rness owns values, not files: what is missing is added, nothing else is
123
126
  touched, and a file it cannot parse is reported, never rewritten.
124
127
  `sync --check` and `validate` report a missing value. Removing an agent
@@ -232,7 +235,11 @@ in its Settings`.
232
235
  `.rness/`, in lifecycle order, at most 50), `Collection` (one option per tab of
233
236
  `rness status`; not `Type`, which is GitHub's own issue-type field and
234
237
  filter), `Agent` (`working`), `Session` (`claude · 1a2b3c4d`, plus the
235
- agent type for a subagent) and `Path`. A board per directory, named as
238
+ agent type for a subagent), `Path` and `Sessions` — the document's
239
+ `sessions:` (see "Agent targets"), joined by `, `, written by sync and
240
+ never cleared: which sessions wrote a specification or implemented a plan,
241
+ after they ended (`claude --resume <id>` reopens one on the machine it ran
242
+ on). A board made before 0.15.0 gains `Sessions` at its next sync. A board per directory, named as
236
243
  `rness status` names its tab, filtered on its `Collection`, its columns
237
244
  that collection's own steps: each collection has its own status field
238
245
  (`ADR status`, `Specs status`, …; a directory without statuses is columned
@@ -287,7 +294,9 @@ added to project`) may change a field of rness's items; the next sync
287
294
  - **Hooks**, with `claude` in `agents` and a pulse declared: session start
288
295
  marks the `In progress` plans of the session's scope `Agent: working`, with
289
296
  the session; an edit of a document of `.rness/` marks it — one the agent has just written, with no item yet, gets its issue first
290
- through a sync, and an edit of any other file of `.rness/` costs no sync;
297
+ through a sync, and so does one whose status the edit changed, so its
298
+ card moves within seconds rather than at the session's end; an edit that
299
+ leaves the status alone, or of any other file of `.rness/`, costs no sync;
291
300
  the hooks' syncs run one at a time, an edit's skipped while another runs,
292
301
  the session end's waiting its turn; session end clears
293
302
  the marks of that session (its subagents' included) and syncs. Each one
@@ -301,8 +310,15 @@ added to project`) may change a field of rness's items; the next sync
301
310
  `the pulse needs the project scope: run rness login` or
302
311
  `cannot reach GitHub: …`. Two sessions marking one plan both write; the
303
312
  last wins.
313
+ - **One issue per document**: before making an issue, `pulse sync` reads
314
+ the open issues of `.rness` labelled `rness` (one request per 100, and
315
+ only when it has one to make). One whose body starts with the document's
316
+ first line was made by an earlier sync, whose item the board's listing
317
+ did not show yet. It is added to the board instead of made again, and
318
+ the output says `adopted 1 issue already made for its document`. Seen on
319
+ 2026-09-30: two syncs 18 s apart made two issues for one document.
304
320
  - **Rate**: rness sends one request at a time. A new document costs an
305
- issue, its addition to the board, up to four fields, then its body. An
321
+ issue, its addition to the board, up to five fields, then its body. An
306
322
  unchanged document costs nothing but its share of the listing, which
307
323
  reads every item's body. On one of GitHub's rate limits rness waits as
308
324
  long as GitHub says (`waiting 60 s — GitHub's rate limit`), 10 minutes
@@ -336,7 +352,7 @@ repository, the board).
336
352
  `contract`, `provider`, `org`, `agents`, `pulse`, `repos`, `scopes`.
337
353
  - A provider _written_ in `rness.json` that this version cannot talk to
338
354
  (`gitlab`) is refused by `validate`, `create`, `login` and `pulse`:
339
- `provider "gitlab" is not supported by @rness/cli 0.14.0 (supported:
355
+ `provider "gitlab" is not supported by @rness/cli 0.15.1 (supported:
340
356
  github)`. `add`, `sync` and the local commands never refuse. `null` is not a
341
357
  value: an absent key means none.
342
358
 
@@ -513,6 +529,36 @@ per repository, the files to commit there.
513
529
  Exit codes: 0 success, 1 failure, 2 usage — or a refusal without a TTY.
514
530
  `RNESS_DEBUG=1` adds stack traces; `RNESS_NO_DELEGATE=1` skips the delegation.
515
531
 
532
+ ## 0.15.1 — upgrade names every file to commit
533
+
534
+ - `rness upgrade`'s next steps name every file the new version's sync
535
+ wrote in a repository. They used to be listed from the running copy,
536
+ which does not know the files a newer release adds: 0.13.0 named two of
537
+ the plugin's six files after syncing with 0.14.0. The running copy now
538
+ asks the copy it installed. This applies to upgrades run by 0.15.1 or
539
+ later; from an older copy, commit `.claude/skills/rness/` whole, as the
540
+ changelog of each release says.
541
+ - Agent Pulse no longer gives a document a second issue when two syncs
542
+ follow each other within seconds. The second one's listing of the board
543
+ may not show the item the first one added yet. Before making an issue,
544
+ `pulse sync` now looks for an open issue of `.rness` already made for the
545
+ document, and adds that one (`adopted 1 issue`). See "Pulse".
546
+ - Blocks are unchanged.
547
+
548
+ ## 0.15.0 — Agent Pulse follows a status change; the sessions are kept
549
+
550
+ - An edit that changes a document's status syncs Agent Pulse at once: its
551
+ card moves within seconds, not at the session's end. An edit that leaves
552
+ the status alone still costs nothing. See "Pulse".
553
+ - `sessions:` in a document's front matter lists the Claude Code sessions
554
+ that wrote or changed it. The lifecycle skills add theirs; the board
555
+ shows them in a new field, `Sessions`, which a session's end never
556
+ clears. A board gains the field at its first sync with 0.15.0. See
557
+ "Pulse" and "Agent targets".
558
+ - `rness upgrade` rewrites the four lifecycle skills; commit
559
+ `.claude/skills/rness/` in each repository.
560
+ - Blocks are unchanged.
561
+
516
562
  ## 0.14.0 — the lifecycle skills; `/rness:status` names a second terminal
517
563
 
518
564
  - The `rness` plugin of Claude Code gains `/rness:adr`, `/rness:spec`,
package/dist/bin/rness.js CHANGED
@@ -6,7 +6,7 @@ import {
6
6
  findDelegate,
7
7
  reportError,
8
8
  run
9
- } from "../chunk-AXTFDXN2.js";
9
+ } from "../chunk-7IVHL744.js";
10
10
 
11
11
  // src/bin/rness.ts
12
12
  import { pathToFileURL } from "url";