Repository navigation
fix: picker, saved program and automation fixes from QA - #135
Merged
Merged
Conversation
…stalled agent kg program list named the newest recent program as the default, which contradicted its own help and moved with every background run. Now the default follows the help: the project's program when installed, else the first installed known agent.
The line that tells a parent a child finished said only the thread id. It now names the child by its title, kept to letters, digits, spaces and -_. so a shell parent is still given no typed shell syntax (decision 201 amended).
…path A thread started from a saved program was titled with the raw program line, which for a path is a long folder path. It is now named by the program's short name, the same name the picker shows.
A program that fails at once started a failed thread every interval, forever. After three failed runs in a row, the next due interval pauses the automation and starts nothing, and its row says why. Resume starts a new streak. Decision 243.
The program list put the known agents first, so pinned and recent programs sat below the eight rows the picker shows. The order now comes from one place in core, so the window and kg program list agree. Decision 244.
Two Enters in a row sent two renames, so the second one said the saved program was not found after the first had worked. A save or rename now waits for its answer, and a submit in the meantime does nothing.
Every saved-program change reloaded the list as if the picker opened again, so the scroll reset and the selection went back to the default row. A reload now keeps the list on screen, and the row the person had selected stays selected when it is still listed.
Opening the new-thread screen again kept the search text from the last visit, so a stale filter hid the programs. Opening the picker now clears it.
The project's automation rows gave only a name, an interval and a run count, so two rows with the same name could not be told apart. Each row now shows the program and the start of its text, and when it runs next. The one-time field's placeholder is shorter so it is not cut off.
A saved program was deleted at once from the window or the CLI, with no way back. Delete now waits for the person to approve it in the app, the same as an automation's delete. A missing name is refused before the question. Decision 245.
The default is the project's program or the first installed agent, and a default title is the program's short name. Tests that assumed the newest recent program or a truncated path now check those rules.
The QA group D decisions now follow main's last entry. The product Rust ceiling is raised to the measured count, with its cost recorded in decision 248.
… CLI kg automation add took --at, an absolute time in milliseconds, while the window took minutes from now. The CLI now takes --in <minutes> like the window, and the core works out the due time. Decision 249.
A typo in a saved prompt meant deleting it and typing it again, and its star went with it. kg saved-prompt edit and the window's row Edit button change the text in place. Decision 250.
…ions Automations sat at the bottom of a long project page. The project menu gets an Automations item, and the settings op takes an optional section that scrolls the page to it. Decision 251.
… version Pin, Rename and Delete sat on every saved row. They now show on the row under the pointer or on the selected row. OpenCode prints its version as v2.2.5, and the picker found no number in that, so its row had none.
The list scrollbar sat over the right end of each row, so a version such as 2.2.5 read 2.2. Rows now keep a right gutter. Saved programs get the letter mark the built-in agents have.
The default was picked from the list after it was sorted, so a recent run of an agent that is also the first installed one could take its place. The default is now decided before the order. The help names the first installed known agent, and the picker test asserts a default.
A thread started from a saved program was named by the program's short name, not the name the person saved it under. The core now uses the one saved name whose line is the run's program, and the thread stays renamable. Decision 252.
…drop a stale comment
A saved prompt was deleted at once. Delete now waits for the person to approve it in the app, as a saved program's delete does, and a missing id is refused before the question. Decision 248 amended.
An automation that paused after failing three runs showed only on its row. The pause now also writes one line to the activity log. Decision 246.
…hows The open command list covered the Questions panel, so a delete waited on a question the person could not see. The list now closes when the delete is asked. Size ceiling set to the merged count, with its cost in decision 251.
…ows CI" This reverts commit 613c3a3.
…he reopened window
…ho waits for output
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Branch feat/qa-power-user.
Reviewed by a fresh reviewer, fixed, and re-checked (SHIP). Gate: fmt, clippy -D warnings, workspace tests, scripts.
Windows
Terminal tests that type into an untitled
cmdthread failed on Windows CI (paste_sends_the_clipboard_to_the_program,a_key_reaches_the_program,paste_into_thread_puts_text_in_the_program, and others in the same suite).Root cause: the test helper
grid_textjoined screen rows with a newline and ignored the terminal's wrap flag. On the CI runner the Personal folder path put cmd's prompt at the right edge, so the typed text wrapped andpasted-wordswas split across two rows. The product screen text already joins wrapped rows (crates/terminal/src/screen.rs), so no product code changed.Fix:
screen_textjoins wrapped rows, with a regression test that fails on the old join. The terminal waits print the grid when they time out:wait_for_screen(8 s) andwait_for_output(120 s, a hang guard for loaded runners). Other test fixes in this PR: the edit-menu test submits its pasted text before the echo, and the unix-only helpers are behindcfg(unix). See decision 263.