docs: feat: non-interactive scripted input, conversation resume, pre-chat push, and JSON output for poly chat#83
Merged
AaronForinton merged 7 commits intomainfrom Apr 17, 2026
Conversation
AaronForinton
added a commit
that referenced
this pull request
Apr 17, 2026
…ent fix Merges the cli.md additions from docs/auto-update-7a1ae59 (PR #83): non-interactive scripted mode, conversation resume, pre-chat push, poly chat flags summary table, and JSON output shape documentation. Fixes one inaccuracy in the flags table: --environment was documented as accepting `draft`, `sandbox`, `live` but the actual CLI choices are `branch`, `sandbox`, `pre-release`, `live`. `draft` is an internal resolved value, not a user-facing argument. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
AaronForinton
added a commit
that referenced
this pull request
Apr 17, 2026
…environment fix" This reverts commit 63c51d6.
`draft` is not a valid user-facing argument — the actual CLI choices are `branch`, `sandbox`, `pre-release`, `live`. `draft` is an internal value resolved from `branch` when the current branch is not main. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…vironment `branch` chats against your current feature branch via the platform's draft environment (/draft/chat API endpoint). On main it falls back to sandbox. Removes misleading "resolves internally" phrasing. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
`branch` uses the deployed branch artifact versions, not local uncommitted changes. Adds a note to use --push to reflect local changes before chatting. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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
This is the work from #69
Motivation
Closes #
Changes
Test strategy
poly <command>)Checklist
ruff check .andruff format --check .passpytestpassespolyCLI interface (or migration path documented)