Repository navigation
fix: relabel Playbooks "Edit" button to "Edit & Run" (#959) - #1387
Merged
Merged
Conversation
The Playbooks tab's secondary button was labeled "Edit" with a pencil
icon, implying it opens an editor for the underlying skill file — a
surface that doesn't exist. Its actual behavior is to prefill
`/<skill> ` into the Tasks input and switch to the Tasks tab so the
user can add instructions/arguments before running.
Relabel to "Edit & Run" and update the tooltip ("Add instructions,
then run") so the affordance is honest about what it does. The
emit/handler/method chain is unchanged — only the user-facing label,
tooltip, and an explanatory comment. Sync the playbooks-tab feature
flow diagram to match.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Contributor
Review — LGTM ✅Label-only change (#959), all checks green. |
dolho
approved these changes
Jul 1, 2026
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.
Summary
/<skill>into the Tasks input and switch to the Tasks tab so you can add instructions/arguments before running.Changes
src/frontend/src/components/PlaybooksPanel.vue— button textEdit→Edit & Run; tooltipAdd instructions before running→Add instructions, then run; added a#959explanatory comment. Pencil icon kept (the label now disambiguates "edit the invocation, then run").docs/memory/feature-flows/playbooks-tab.md— synced the flow diagram's button labels.Root cause
The button (
runWithInstructions) was never dead — it emitsrun-with-instructions, whichAgentDetail.handlePlaybookRunWithInstructionsturns into a Tasks-tab switch +initialMessageprefill (consumed byTasksPanel'simmediate:truewatcher, guarded byif(newMessage)so the 100 ms prefill-clear doesn't wipe it). The defect was a misleading label/affordance, not broken wiring. Scope was deliberately kept to an honest relabel rather than building a skill-file editor (that would be a separate, larger feature).Test Plan
PlaybooksPanel.vuewith no error; live-served render emits" Edit & Run "+title:"Add instructions, then run"./<skill>. (Not exercised locally — the only local agenttrinity-systemhas 0 playbooks; not provisioning a fixture agent for a label-only change.)tests/test_playbooks.py(backend skill listing) unaffected. No frontend unit-test harness exists.Fixes #959