@rness/cli 0.17.1 → 0.17.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/README.md +26 -2
- package/dist/bin/rness.js +1 -1
- package/dist/{chunk-GAZDKEOH.js → chunk-REDELHNC.js} +39 -13
- package/dist/chunk-REDELHNC.js.map +1 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-GAZDKEOH.js.map +0 -1
package/README.md
CHANGED
|
@@ -114,7 +114,8 @@ the files a given agent needs, for the agents the team declares in
|
|
|
114
114
|
it asks, one question at a time. The skill stays in the conversation for
|
|
115
115
|
the next turns, and the file carries the work to the next session
|
|
116
116
|
(`/rness:adr 0010` reopens it). The agent may start one itself — an ADR
|
|
117
|
-
when a choice is expensive to reverse — but writes nothing without a yes
|
|
117
|
+
when a choice is expensive to reverse — but writes nothing without a yes,
|
|
118
|
+
except `/rness:done` on a plan whose last task has just passed.
|
|
118
119
|
The rules stay in `.rness/CONVENTIONS.md`; the skills only add the steps.
|
|
119
120
|
A new document takes the collection's first status (`Proposed` for an
|
|
120
121
|
ADR, `Draft` otherwise) and the next number of the local checkout; two
|
|
@@ -122,7 +123,13 @@ the files a given agent needs, for the agents the team declares in
|
|
|
122
123
|
`{ id: <session id>, agent: <model> }` to `sessions:` in the front matter
|
|
123
124
|
of what it writes or closes. The agent is the model it runs as, as Claude
|
|
124
125
|
Code names it (`Claude Opus 5.5`): no variable gives it to a skill. An
|
|
125
|
-
edit made without a skill leaves none.
|
|
126
|
+
edit made without a skill leaves none. The agent moves a status with the
|
|
127
|
+
work (a plan `In progress`, then `Completed`; a specification
|
|
128
|
+
`Implemented`) and whenever the developer says so; accepting an ADR or
|
|
129
|
+
approving a specification stays the developer's unless they asked it to
|
|
130
|
+
go ahead. Each skill ends in a commit of the files the agent alone
|
|
131
|
+
changed, added by name; a file someone else changed too is left
|
|
132
|
+
uncommitted and named. No skill pushes.
|
|
126
133
|
- rness owns values, not files: what is missing is added, nothing else is
|
|
127
134
|
touched, and a file it cannot parse is reported, never rewritten.
|
|
128
135
|
`sync --check` and `validate` report a missing value. Removing an agent
|
|
@@ -565,6 +572,23 @@ per repository, the files to commit there.
|
|
|
565
572
|
Exit codes: 0 success, 1 failure, 2 usage — or a refusal without a TTY.
|
|
566
573
|
`RNESS_DEBUG=1` adds stack traces; `RNESS_NO_DELEGATE=1` skips the delegation.
|
|
567
574
|
|
|
575
|
+
## 0.17.2 — the lifecycle skills move statuses and commit their files
|
|
576
|
+
|
|
577
|
+
- `/rness:adr`, `/rness:spec`, `/rness:plan` and `/rness:done` let the
|
|
578
|
+
agent move a status as the work does — a plan `In progress` as its tasks
|
|
579
|
+
start, `Completed` once they pass, a specification `Implemented` with its
|
|
580
|
+
last plan — and whenever the developer says so. Accepting an ADR or
|
|
581
|
+
approving a specification stays the developer's unless they asked the
|
|
582
|
+
agent to go ahead. `/rness:done` closes a plan whose last task has just
|
|
583
|
+
passed without asking first.
|
|
584
|
+
- Each of them ends in a commit of the files the agent alone changed, in
|
|
585
|
+
their repository, added by name. A file that had uncommitted changes
|
|
586
|
+
before the agent's first edit, or that someone else changed since, is
|
|
587
|
+
left out and named. Nothing is pushed. Until now they committed nothing,
|
|
588
|
+
which left their files for someone else to find.
|
|
589
|
+
- `rness upgrade` rewrites the four skills under `.claude/skills/rness/`;
|
|
590
|
+
commit them in each repository, as its next steps list.
|
|
591
|
+
|
|
568
592
|
## 0.17.1 — pulse shows it is at work
|
|
569
593
|
|
|
570
594
|
- `pulse create` and `pulse sync` show a transient line while they write a
|
package/dist/bin/rness.js
CHANGED
|
@@ -508,7 +508,7 @@ function parseRepoSpec(spec, org, host) {
|
|
|
508
508
|
}
|
|
509
509
|
|
|
510
510
|
// src/version.ts
|
|
511
|
-
var VERSION = "0.17.
|
|
511
|
+
var VERSION = "0.17.2";
|
|
512
512
|
|
|
513
513
|
// src/core/pm.ts
|
|
514
514
|
import { execFile as execFile2 } from "child_process";
|
|
@@ -4345,6 +4345,17 @@ then \`npx @rness/cli status\` (q to close), then \`fg\`; or in another
|
|
|
4345
4345
|
terminal, from the workspace's \`.rness/\`: \`${localRunner(pm)} rness status\`._
|
|
4346
4346
|
`;
|
|
4347
4347
|
}
|
|
4348
|
+
var STATUS_RULE = `Move a status yourself when the work calls for it, and whenever the
|
|
4349
|
+
developer says so: a plan \`In progress\` as you start its tasks,
|
|
4350
|
+
\`Completed\` once they pass; a specification \`Implemented\` with its last
|
|
4351
|
+
plan; a document \`Superseded\` by the one that replaces it. Accepting a
|
|
4352
|
+
decision \u2014 an ADR \`Accepted\`, a specification \`Approved\` \u2014 is the
|
|
4353
|
+
developer's, unless they asked you to go ahead with the work.`;
|
|
4354
|
+
var COMMIT_RULE = `Commit each file you changed, in its own repository, and only the files
|
|
4355
|
+
you alone changed: add them by name, never \`git add -A\` nor \`commit -a\`.
|
|
4356
|
+
A file that had uncommitted changes before your first edit (\`git status\`
|
|
4357
|
+
tells you), or that someone else changed since, stays uncommitted: say
|
|
4358
|
+
which. Never push.`;
|
|
4348
4359
|
var LIFECYCLE2 = [
|
|
4349
4360
|
{
|
|
4350
4361
|
name: "adr",
|
|
@@ -4381,9 +4392,12 @@ Writing:
|
|
|
4381
4392
|
\`Claude\`: for example \`Claude Opus 5.5\`.
|
|
4382
4393
|
- The rness hook checks every edit under \`${rness}/\`: fix what it reports.
|
|
4383
4394
|
|
|
4384
|
-
After writing: give the path and the Decision section
|
|
4385
|
-
|
|
4386
|
-
|
|
4395
|
+
After writing: give the path and the Decision section. The ADR stays
|
|
4396
|
+
\`Proposed\` until it is accepted.
|
|
4397
|
+
|
|
4398
|
+
${STATUS_RULE}
|
|
4399
|
+
|
|
4400
|
+
${COMMIT_RULE}
|
|
4387
4401
|
`
|
|
4388
4402
|
},
|
|
4389
4403
|
{
|
|
@@ -4422,9 +4436,13 @@ Writing:
|
|
|
4422
4436
|
\`Claude\`: for example \`Claude Opus 5.5\`.
|
|
4423
4437
|
- The rness hook checks every edit under \`${rness}/\`: fix what it reports.
|
|
4424
4438
|
|
|
4425
|
-
After writing: give the path and the summary. It
|
|
4426
|
-
|
|
4427
|
-
|
|
4439
|
+
After writing: give the path and the summary. It starts \`Draft\`:
|
|
4440
|
+
\`Proposed\` for review, \`Approved\` to plan it. No plan here:
|
|
4441
|
+
\`/rness:plan NNNN\` once approved.
|
|
4442
|
+
|
|
4443
|
+
${STATUS_RULE}
|
|
4444
|
+
|
|
4445
|
+
${COMMIT_RULE}
|
|
4428
4446
|
`
|
|
4429
4447
|
},
|
|
4430
4448
|
{
|
|
@@ -4466,8 +4484,13 @@ Writing:
|
|
|
4466
4484
|
\`Claude\`: for example \`Claude Opus 5.5\`.
|
|
4467
4485
|
- The rness hook checks every edit under \`${rness}/\`: fix what it reports.
|
|
4468
4486
|
|
|
4469
|
-
After writing: give the path and the list of tasks. It
|
|
4470
|
-
the developer agrees
|
|
4487
|
+
After writing: give the path and the list of tasks. It starts \`Draft\`, and
|
|
4488
|
+
becomes \`Ready\` once the developer agrees with it or asks you to carry it
|
|
4489
|
+
out.
|
|
4490
|
+
|
|
4491
|
+
${STATUS_RULE}
|
|
4492
|
+
|
|
4493
|
+
${COMMIT_RULE}
|
|
4471
4494
|
`
|
|
4472
4495
|
},
|
|
4473
4496
|
{
|
|
@@ -4481,8 +4504,9 @@ Arguments: \`$ARGUMENTS\`.
|
|
|
4481
4504
|
|
|
4482
4505
|
1. The plan: the one named, else the one \`In progress\`. Several or none:
|
|
4483
4506
|
ask.
|
|
4484
|
-
2.
|
|
4485
|
-
a single line and wait
|
|
4507
|
+
2. The developer asked to close it, or its last task has just passed in
|
|
4508
|
+
this session: close it. Otherwise propose it in a single line and wait
|
|
4509
|
+
for a yes.
|
|
4486
4510
|
3. Read the plan, its specification and \`${rness}/CONVENTIONS.md\`.
|
|
4487
4511
|
4. Evidence first. For each task, what shows it done: a test, a build, a
|
|
4488
4512
|
command's output in this session. A task without evidence: run its
|
|
@@ -4504,7 +4528,9 @@ Arguments: \`$ARGUMENTS\`.
|
|
|
4504
4528
|
blocker written in it. Say what remains.
|
|
4505
4529
|
7. The rness hook checks every edit under \`${rness}/\`: fix what it reports.
|
|
4506
4530
|
|
|
4507
|
-
After: list the files changed and the statuses moved.
|
|
4531
|
+
After: list the files changed and the statuses moved.
|
|
4532
|
+
|
|
4533
|
+
${COMMIT_RULE}
|
|
4508
4534
|
`
|
|
4509
4535
|
}
|
|
4510
4536
|
];
|
|
@@ -9579,4 +9605,4 @@ export {
|
|
|
9579
9605
|
OWN_COMMANDS,
|
|
9580
9606
|
catchUp
|
|
9581
9607
|
};
|
|
9582
|
-
//# sourceMappingURL=chunk-
|
|
9608
|
+
//# sourceMappingURL=chunk-REDELHNC.js.map
|