8000 feat: save a program line under a name and pick it when starting a thread by aorumbayev · Pull Request #129 · kagan-sh/kagan · GitHub
[go: up one dir, main page]

Skip to content

feat: save a program line under a name and pick it when starting a thread - #129

Merged
aorumbayev merged 5 commits into
mainfrom
feat/saved-programs
Nov 11, 2026
Merged

aorumbayev merged 5 commits into
mainfrom
feat/saved-programs

Conversation

@aorumbayev
Copy link
Copy Markdown
Member

Branch feat/saved-programs.

Reviewed by a fresh reviewer, fixed, and re-checked (SHIP). Gate: fmt, clippy -D warnings, workspace tests, scripts.

…picker

A program line can be saved under a short name, such as Claude, careful.
It is listed by name in the new thread picker and the project default,
pinned ones first. kg program save, rename, remove and pin change it.
# Conflicts:
#	.config/size-budget.txt
#	crates/core/src/host/program.rs
#	crates/core/src/tests/program.rs
#	crates/domain/src/lib.rs
#	crates/domain/src/program.rs
#	crates/kg/src/tests/cli.rs
#	crates/store/src/store.rs
#	crates/ui/src/kagan/picker/render.rs
#	docs/behaviour.md
#	docs/decisions.md
…tices

Pin, rename, delete and save have keys on the selected saved program.
Rows and the project default menu key saved programs by name, and the
menu marks only the first row that runs a stored line. A rename checks
the source name first, and a saved line is stored trimmed. The notice
clears when a field changes. The picker keeps its handle from the start.
# Conflicts:
#	.config/size-budget.txt
#	docs/decisions.md
The saved program test compared a label that gains ', selected' on
the selected row, and which row is selected depends on the agents a
machine has installed. It now checks the name. The branch search test
clicked a control below the fold: the custom command's Name and Save
rows made the start form taller than a short window. It scrolls the
form first, as a person would. The wait helper reports its caller.
@aorumbayev
aorumbayev merged commit 181355b into main Nov 11, 2026
19 checks passed
@aorumbayev
aorumbayev deleted the feat/saved-programs branch November 11, 2026 06:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0