Skip to content

docs: feat: non-interactive scripted input, conversation resume, pre-chat push, and JSON output for poly chat#83

Merged
AaronForinton merged 7 commits intomainfrom
docs/auto-update-7a1ae59
Apr 17, 2026
Merged

docs: feat: non-interactive scripted input, conversation resume, pre-chat push, and JSON output for poly chat#83
AaronForinton merged 7 commits intomainfrom
docs/auto-update-7a1ae59

Conversation

@AaronForinton
Copy link
Copy Markdown
Contributor

Summary

This is the work from #69

Motivation

Closes #

Changes

Test strategy

  • Added/updated unit tests
  • Manual CLI testing (poly <command>)
  • Tested against a live Agent Studio project
  • N/A (docs, config, or trivial change)

Checklist

  • ruff check . and ruff format --check . pass
  • pytest passes
  • No breaking changes to the poly CLI interface (or migration path documented)
  • Commit messages follow conventional commits

@AaronForinton AaronForinton requested review from a team as code owners April 17, 2026 00:32
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
AaronForinton and others added 4 commits April 17, 2026 13:15
`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>
@AaronForinton AaronForinton merged commit 1209129 into main Apr 17, 2026
2 checks passed
@AaronForinton AaronForinton deleted the docs/auto-update-7a1ae59 branch April 17, 2026 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant