Herdr v0.9.0 has no create-time startup command (Task 17 gap)
Summary
Parent: #394. Found while verifying the Herdr integration contract (#395) against pinned Herdr v0.9.0.
workspace.create and tab.create accept cwd, label, env, and focus. They do not accept a startup command / argv. layout.apply can declare pane command arrays (documented, not live-probed). The verified workaround is JSON pane.send_input with text ending in a newline, or CLI herdr pane run. CLI herdr pane run is not a schema method.
This blocks a faithful Task 17 mapping of 2code terminal templates and startup commands unless we accept that one-shot workaround and never replay it on reattach.
Verified
- JSON
pane.send_inputwithtextending in a newline submits the command plus Enter once; reattach / server restart does not replay it. - CLI
herdr pane runis the CLI form of the same operation (empty stdout on success). --env KEY=VALUEis accepted on create.
Options
- Map 2code startup commands to a single JSON
pane.send_input/ CLIherdr pane runafter create (never on reattach). - Use
layout.applyargv if Task 1 follow-up verifies it. - Wait for an upstream create-time command field.
Do not treat #395 as having a first-class startup-command API.
Leaving open: upstream Herdr v0.9.0 still has no create-time startup command / argv. That is not a 2code defect on this tip.
docs/herdr-integration.md:455: Startup command is not a create parameter.- Workaround already on this stack: post-create JSON
pane.send_input(src-tauri/crates/infra/src/herdr/transport.rs:1042-1046; testcreate_sends_startup_after_tab_createinherdr.rs:1948-1961). - Did not invent a create-time argv field on
tab.create/workspace.create.