Commit and push from one card on the git board, without the extra confirms

AI Assisted
This commit is contained in:
jparkerweb committed 2026-11-29 21:51:45 -08:00
1 parent ee530d36c0
commit 3b822a3efa
3 files changed
+11 -7

No files matched your search

+4 -4
View File
@@ -18,7 +18,7 @@ A click arrives as one session action per send, and the board locks until your n
| `commit` | `files[]`, `ignore[]` (folders for `.gitignore`). `files[]` may be empty when `ignore[]` is not (held-back offer): add the paths to `.gitignore` and commit only `.gitignore`. |
| `pr-host` | `host`, `kind` (already saved by `POST /pr-host`) |
**After an action**, ONE post with `--wait`:
**After an action**, ONE post with `--wait` and `"settle":true` (an answered card left open is delivered again):
```jsonc
{"reread":true,"items":[{"id":"git-result","kind":"notice","op":"push","title":"Pushed 2 commits to origin/feature/x","body":"a1b2c3d, e4f5a6b. [Open pull request](https://github.com/...)"}],"board":{"describe":"export-csv-button"}}
@@ -43,9 +43,9 @@ An `auth` failure: a `notice` saying the tool never handles logins, with `next`.
| Commit step | On the page |
| --- | --- |
| One commit | `text` card, `placeholder` the drafted subject, `pattern` capping it at 100 characters, then `confirm` "Commit this?" with files in `consequences` and `files:[{"path","state"}]` (modified, new, deleted, renamed). No card when the subject was the argument. |
| A split | Doc `commits` (each group's subject and files, files mixing concerns) plus `review` with verdicts `approve`, `change`, `single` ("One commit instead"). Asked even with a subject argument. |
| Push | Not asked after a board commit (the board lights Push). `commit and push` or a Push click asks `plan push` / `plan publish`'s `confirm`. |
| One commit | Two cards in ONE post, one send: a `text` "Commit subject" (`placeholder` the drafted subject, `pattern` capping it at 100 characters; changed files in `body`, risky ones named) and a `choice` "Commit or push?": `1` **Commit only**, `2` **Commit and push** (recommended with an `upstream` or remote), `allowOther:false`, its `detail` naming where the push goes. No "Commit this?" confirm. A subject argument: the choice alone. |
| A split | Doc `commits` (each group's subject and files, files mixing concerns) plus `review` with verdicts `approve`, `change`, `single` ("One commit instead"), and the same Commit only / Commit and push `choice` beside it in the same post. Asked even with a subject argument. |
| Push | After **Commit and push** (or `commit and push`): run `plan push` / `plan publish` at once, no second `confirm`; the choice was the yes. Any other push click asks the plan's `confirm`. |
| `git init` | `confirm` naming folder and first branch (`init-check`'s `branch`, `danger:false`), `consequences` its `commands`. Run those, not a bare `git init`. |
| `.gitignore` | The proposed file, or a `commit`'s `ignore[]` lines, as a doc plus `review`. |