Allow portable drafts to publish to the connected server
This commit is contained in:
+8
-2
@@ -84,8 +84,14 @@ publishes it. CLI `pipelines new` retains its existing direct-OpenCode behavior;
|
||||
Press `d` on the dashboard or use `:drafts` to browse the same retained drafts as
|
||||
`pipelines drafts`. Use `n/p` to select, `j/k` to scroll source, `e`/Enter to reopen
|
||||
the existing draft, `v` for server validation, and `s` for submission confirmation.
|
||||
`r` refreshes the list. Submission preserves create-only/version guards and rejects
|
||||
drafts belonging to another server. For unnamed drafts, submission asks you to
|
||||
`r` refreshes the list. Drafts can be validated, edited, and submitted to whichever
|
||||
server you are connected to. Same-server submissions preserve create-only/version
|
||||
guards. A different destination imports the draft as a new pipeline, ignoring
|
||||
the origin's version number and refusing an existing destination name; the
|
||||
confirmation shows the destination. Retained source and origin metadata stay
|
||||
unchanged. For an edit draft, CLI `submit --expected-version N` can explicitly
|
||||
approve an update against version N on the destination (or `--force` can explicitly
|
||||
skip that version check). For unnamed drafts, submission asks you to
|
||||
type a pipeline name directly in the TUI. Enter saves the name in retained metadata
|
||||
and opens publication confirmation; it does not publish yet. Esc keeps the draft
|
||||
without saving unfinished name input. Draft selection/editor completion never publishes it.
|
||||
|
||||
@@ -74,7 +74,8 @@ Authoring regression tests exercise idempotent skill installation, preservation
|
||||
user modifications, one direct OpenCode launch with a short skill/context reference,
|
||||
and an unnamed new draft without CLI questions. TUI integration checks browse a
|
||||
CLI-style retained draft, validate through the server, require explicit submission
|
||||
confirmation, preserve create-only guards, and reject a different server.
|
||||
confirmation, preserve create-only guards, and allow portable drafts to be imported
|
||||
on a different server without inheriting the origin's version number.
|
||||
|
||||
An isolated installed-binary PTY check also opened a CLI-created draft in the TUI,
|
||||
reopened the same file through a mock OpenCode executable, and explicitly submitted
|
||||
|
||||
Reference in New Issue
Block a user