pi-do-always 0.10.0 → 0.12.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
@@ -81,16 +81,17 @@ Building a chain in the selector:
81
81
  - The classic fast paths are unchanged: **1-9** runs a task immediately, and clicking a
82
82
  task row runs it — both close the selector and discard the chain.
83
83
 
84
- Chains are capped at 8 tasks. Reordering is done by removing a task and re-adding it
85
- (mouse drag reordering is planned for a future release). On narrow terminals the ORDER
84
+ Chains are capped at 8 tasks. Reordering is done by removing a task and re-adding it. On narrow terminals the ORDER
86
85
  column is dropped and the chain is shown on its own line below the list (keyboard
87
86
  chaining still works).
88
87
 
89
88
  Running a chain sends each step as its own turn, strictly one after another — the next
90
- step starts only after the previous run has fully finished. Each step's guards are
91
- re-evaluated at its turn against the current state; a step whose guards no longer hold
92
- stops the chain there (with a warning), as do an aborted step (Esc) or a step that
93
- errors. Steps already run are kept.
89
+ step starts only after the previous run has fully finished. Before anything is sent,
90
+ every step's guards are checked against the current state (fail fast: the first blocked
91
+ step is reported and the chain doesn't start). All steps share the prompt context
92
+ captured when the chain started, so each step's placeholders and guards see the tree as
93
+ it was at that point. An aborted step (Esc), a step that errors, or a step whose send
94
+ fails to start stops the chain; steps already run are kept.
94
95
 
95
96
  If the first task of a chain is a fill task (no `⚡`) in the TUI, step 1 is put in the
96
97
  editor and the rest of the chain starts automatically once you press Enter and that run
@@ -126,11 +127,12 @@ completed step and no step result text — e.g. step 1 errors before any output)
126
127
  file behind. Set `"report": false` in the config to disable
127
128
  it (the project file's value wins over the global one). See [Report file](#report-file).
128
129
 
129
- **Inline report in the chat.** When a chain completes fully (all steps done), the full
130
- Markdown report is sent as a message in the chat so you can read the results without
131
- opening the file. The message is automatically removed when you start the next
132
- prompt or session. A run that stops early (aborted, errored, or skipped steps) does
133
- not show the inline report — only the status trace widget below the prompt.
130
+ **Inline report.** When a chain completes fully (all steps done), the full Markdown
131
+ report opens in an editor view so you can read the results without opening the file —
132
+ press Esc to dismiss it. Nothing is persisted to the session: the report lives only in
133
+ that view and in the report file on disk. A run that stops early (aborted, errored, or
134
+ skipped steps) does not show the inline report — only the status trace widget below
135
+ the prompt.
134
136
 
135
137
  ## Install
136
138
 
@@ -6,7 +6,7 @@
6
6
  "category": "Plan",
7
7
  "description": "Review the current code changes (Plan)",
8
8
  "requireDirty": true,
9
- "prompt": "Review the changes on branch {{branch}} ({{files_changed_count}} changed files: {{files_changed}}). Change summary: {{diff_stat}}. Last commit: {{last_commit}}. Check `git status` and `git diff` to see what changed, then double-check the changes for bugs, edge cases, security issues, and consistency with the rest of the codebase. Do a plan proposal for the fixes if needed. Do a summary of your findings"
9
+ "prompt": "Review the changes on branch {{branch}} ({{files_changed_count}} changed files: {{files_changed}}). Change summary: {{diff_stat}}. Last commit: {{last_commit}}. Check `git status` and `git diff` to see what changed, then double-check the changes for bugs, edge cases, security issues, and consistency with the rest of the codebase. Do a plan proposal for the fixes if needed. Do a summary of your findings."
10
10
  },
11
11
  {
12
12
  "name": "Review code",
@@ -36,7 +36,7 @@
36
36
  "name": "Propose features",
37
37
  "category": "Plan",
38
38
  "description": "Propose new features (Plan)",
39
- "prompt": "Review this project and propose new features that would add value. For each idea, describe the problem it solves, the user benefit, and a rough implementation approach. Prioritize by impact and effort. Do not make any changes yet. Try to evaluate how many lines this will be in term of changes, if this will breaks API, compatibility issue."
39
+ "prompt": "Review this project and propose new features that would add value. For each idea, describe the problem it solves, the user benefit, and a rough implementation approach. Prioritize by impact and effort. Do not make any changes yet. Try to evaluate how many lines this will be in terms of changes, whether this will break APIs, or introduce compatibility issues."
40
40
  },
41
41
  {
42
42
  "name": "Build",