dispatch: collapse --posture into a consult surface #34
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Consumer-driven by coilysiren/coily#144.
The dispatch package had three positional surfaces (headless, interactive, cascade) plus a separate
--posture {watch,consult}axis selectable only on interactive. An axis that exists for exactly one surface is too orthogonal. Collapse it:consultbecomes a fourth positional surface (interactive placement, consult preamble baked in), and--postureis removed.posture.go->preamble.go: delete the exportedPosturetype, its consts,interactivePostures,parseInteractivePosture, andposturePreamble. Replace with surface-keyed preamble constantsheadlessPreamble/consultPreamble.interactive.go: addconsultCommandsharing interactive's flags/placement viainteractiveSurfaceCommand; drop the--postureflag and its wiring;interactivePromptnow takes a preamble string.dispatch.go: list four surfaces in the umbrella help and bare-surface error;seedPromptusesheadlessPreamble.Landed on GitHub main as
4bf7163(consult becomes a 4th positional surface;--postureremoved; posture.go -> preamble.go; tests + godoc updated).Note: the GitHub<->Forgejo mirror for cli-guard has drifted, so
git push origin mainlanded on GitHub but rejected on the Forgejo URL. Thecloses #34trailer therefore did not auto-fire on Forgejo. Closing manually.