Name Warp panels from the Start Day launch config and copy resume prompts per panel¶
- Date: 2026-11-18
- Status: Accepted
- Tags:
toolingworkflow
Context¶
Each Warp tab is a separate Claude Code session. close-day needs to know which panel it is
in, but the only link between a tab and its panel name was a label typed once per pane with
panel.py name --set. A pane with no label made close-day ask every time, and a stale label
from an old pane could be picked up by mistake.
start-day also wrote the resume prompts into a document. Luke wanted each prompt on the
clipboard as its own entry, so he could paste them into the matching tab.
Decision¶
- The launch config names each panel.
claude/warp/launch_configurations/start-day.yamlruns each tab asexec: PANEL_NAME=<Title> claude.panel.py namereturnsPANEL_NAMEwhen it is set, and records it under that pane's id. A typed--setlabel still works, andPANEL_NAMEwins when both exist. - Resume prompts are per panel, from the freshest handoff.
panel.py promptsgroups the registry by panel name, takes each name's newest entry, and writes one prompt per panel in Warp tab order.--copyruns onepbcopyper prompt, so clipboard history keeps one entry each. - The install is in the repo.
just install-warp-launch-configscopies the config to~/.warp/launch_configurations/.just install-personal-claude-skillsnow also copiesstart-day. Setup steps are inclaude/warp/README.md.
Alternatives Considered¶
| Option | Why Rejected |
|---|---|
Keep typing name --set in each pane |
Easy to forget, and stale labels pointed at old handoffs. |
| Match panels by working directory | Several panels share ~/repos/work, so the directory does not identify the panel. |
| Use Warp's tab title from inside the shell | No stable way to read it from claude; the title is set by the launch config anyway. |
| One clipboard entry with all prompts | The clipboard holds one value per paste, and each prompt has to go to a different tab. |
| Edit the Warp config only on the work laptop | Luke's home laptop needs the same panels. The config lives in the repo so both can use it. |
Consequences¶
Positive:
close-daygets the panel name without asking, in every tab started from Start Day.start-dayputs each panel's resume prompt on the clipboard in a single step.- Setup on a new laptop is two
justcommands and a Warp restart.
Negative / Trade-offs:
- Tabs already open keep their old name until they are reopened from Start Day.
- The system clipboard holds only the last prompt, so the other five must be pasted from history.
- The panel list lives in two places: the Warp config and
PANEL_ORDERinpanel.py. Both must change together (seeclaude/warp/README.md). - The self-test in
panel.pyalready failed on the committed version (resume-prompt assertion). That failure was not fixed in this change.