@open-tomato/rafa 0.15.0 → 0.17.0
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 +20 -1
- package/dist/SKILL.md +8 -5
- package/dist/cli.js +9772 -6445
- package/dist/describe-wbn759vf.js +13 -0
- package/dist/effort/store/index.js +4 -2
- package/dist/index-4qd537z6.js +13332 -0
- package/dist/{index-p572cxex.js → index-64wec0k7.js} +24 -9
- package/dist/{index-1x5t4t9r.js → index-7t0qz29r.js} +33 -28
- package/dist/index-n3rw8rhr.js +397 -0
- package/dist/index-p901zs2p.js +124 -0
- package/dist/{index-2256nwj0.js → index-ps5sac9p.js} +43 -396
- package/dist/index-qzhpqmfy.js +234 -0
- package/dist/index-r7cnr44m.js +19857 -0
- package/dist/index.js +40 -11660
- package/dist/plan/index.js +5 -3
- package/dist/plan-prompt.md +3 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -229,6 +229,22 @@ cleanup:
|
|
|
229
229
|
keep: ["release/*"]
|
|
230
230
|
```
|
|
231
231
|
|
|
232
|
+
### `status`
|
|
233
|
+
|
|
234
|
+
One setting turns off the line rafa prints on stderr, before a command
|
|
235
|
+
that runs inside a project, when something is new since the last one.
|
|
236
|
+
|
|
237
|
+
| Key | Default | What it sets |
|
|
238
|
+
|---|---|---|
|
|
239
|
+
| `status.notice` | `true` | whether that one line, naming `rafa status` or `rafa cleanup`, is printed |
|
|
240
|
+
|
|
241
|
+
It takes `true` or `false` as written; a quoted `"false"` is refused.
|
|
242
|
+
|
|
243
|
+
```yaml
|
|
244
|
+
status:
|
|
245
|
+
notice: false
|
|
246
|
+
```
|
|
247
|
+
|
|
232
248
|
## Specs, issues and the roadmap
|
|
233
249
|
|
|
234
250
|
You can plan from a local file and never touch a board. When you want
|
|
@@ -375,8 +391,11 @@ and a line here is ticked by the change that finishes the feature.
|
|
|
375
391
|
already has a plan, a branch or a pull request
|
|
376
392
|
- ✅ `rafa doctor --deep`: what a loop session and its subagents can
|
|
377
393
|
actually reach — settings, `PATH`, providers and the tools its stack needs
|
|
394
|
+
- ✅ Verified and stamped references in specs: each reference the spec
|
|
395
|
+
names is extracted by pattern, verified against its target, and
|
|
396
|
+
fingerprinted so changes are caught when the spec is refreshed
|
|
378
397
|
- ✅ Clean up merged, stale and unpushed branches and idle worktrees
|
|
379
|
-
-
|
|
398
|
+
- ✅ `rafa status`: everything in one snapshot, and one line about what
|
|
380
399
|
changed since you last looked
|
|
381
400
|
- ⬜ The right skills reach the right task, chosen when the plan is
|
|
382
401
|
written
|
package/dist/SKILL.md
CHANGED
|
@@ -439,14 +439,17 @@ The wrap-up session always receives `full` regardless of the configured mode.
|
|
|
439
439
|
How the file is read:
|
|
440
440
|
- An item is a line opening with `- [ ] `, continued by the indented lines directly below it that open no list item of their own. A ticked `- [x]` item and a `- [BLOCKED]` item are skipped, and nothing inside a fenced code block is read.
|
|
441
441
|
- An item's tag is the `[auto]`, `[human]`, or `[start]` written right after its box. Without one it takes its section's tag: a heading carrying `[auto]` tags its section `auto`, one carrying `[human]` or naming `manual`, `human`, `sign-off` or `team` tags it `human`, and one carrying `[start]` tags it `start`. A heading's tag reaches the deeper headings under it and ends at the next heading of its own level or shallower. An item under no tagged heading is `human`.
|
|
442
|
-
- An `auto` item's
|
|
443
|
-
- A `
|
|
444
|
-
- A `
|
|
442
|
+
- An `auto` item's probe is the backticked span that ends it, after its final `: `. The item merges as a required prerequisite, the tier whose failure halts a run.
|
|
443
|
+
- A `start` item's probe is read the same way. The item is probed on first dispatch only (skipped on resume), and failure halts a run on first dispatch.
|
|
444
|
+
- A `human` item is a reminder: named to the operator, never probed, and never halting a run.
|
|
445
|
+
- An `auto` or `start` item that does not end with `: ` and its command — the command first, text after it, or no span at all — is malformed: `rafa loop start` and `rafa doctor` refuse the plan, naming its line, and run nothing.
|
|
445
446
|
|
|
446
447
|
Rules:
|
|
447
448
|
- Only include prerequisites that are genuinely non-automatable (installed services, external credentials, manual env var setup).
|
|
448
|
-
-
|
|
449
|
-
- Tag an item `
|
|
449
|
+
- An `[auto]` item holds exactly one backticked span, and that span is its command. The preflight runs it as written, so put no package name, path or other command in backticks anywhere in the item.
|
|
450
|
+
- Tag an item `auto` only when a shell command proves it, and end the item with `: ` and that command. The command asks for no input and changes nothing.
|
|
451
|
+
- Tag an item `start` only when a shell command proves it and it should only be checked on the first dispatch of a plan (not on resume). End it with `: ` and the command, one span, as for `auto`.
|
|
452
|
+
- Make the command complete: it exits 0 when the prerequisite holds. To prove a tool is installed, probe `<tool> --version`, `<tool> --help` or `which <tool>` — never a bare subcommand such as `uvx check-jsonschema`, which exits non-zero for want of arguments.
|
|
450
453
|
- Tag every step for after the plan merges `human`, as the heading above does, so no run ever executes one as a probe.
|
|
451
454
|
- Do not duplicate steps already documented in the repo's contributor docs (README, CONTRIBUTING, and the like).
|
|
452
455
|
- For example: do not mark `bun install` as a prerequisite if it is already documented as a required step for all development work.
|