@open-tomato/rafa 0.16.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 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
@@ -379,7 +395,7 @@ and a line here is ticked by the change that finishes the feature.
379
395
  names is extracted by pattern, verified against its target, and
380
396
  fingerprinted so changes are caught when the spec is refreshed
381
397
  - ✅ Clean up merged, stale and unpushed branches and idle worktrees
382
- - ⬜ `rafa status`: everything in one snapshot, and one line about what
398
+ - ✅ `rafa status`: everything in one snapshot, and one line about what
383
399
  changed since you last looked
384
400
  - ⬜ The right skills reach the right task, chosen when the plan is
385
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 first backticked span is its probe. The item merges as a required prerequisite, the tier whose failure halts a run.
443
- - A `human` item, and an `auto` item with no backticked span, is a reminder: named to the operator, never probed, and never halting a run.
444
- - A `start` item's first backticked span is its probe. The item is probed on first dispatch only (skipped on resume), and failure halts a run on first dispatch.
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
- - Tag an item `auto` only when a shell command proves it, and write that command as the item's first backticked span, with nothing quoted before it. The command asks for no input and changes nothing.
449
- - 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). Write the command as the item's first backticked span, with nothing quoted before it.
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.