Skip to content

v0.6.0

Choose a tag to compare

@github-actions github-actions released this 30 Oct 22:34
· 56 commits to main since this release
4976304

Operator-confirmed issue creation

operator-write now supports issue.create, using the same snapshot, offline prepare and confirmed apply path as issue.update and comment.add:

youtrack-agent-cli operator-write snapshot --profile work-write --kind issue.create \
  --project TAC --field Stage --value "In Progress" --out "$dir/snapshot.json"
printf "%s" "{\"kind\":\"issue.create\",\"summary\":\"EXACT TITLE\",\"description\":\"EXACT BODY\"}" |
  youtrack-agent-cli operator-write prepare --offline --profile work-write \
  --snapshot "$dir/snapshot.json" --request-stdin
youtrack-agent-cli operator-write apply --profile work-write --plan-id PLAN_ID --confirm-intent SHA256 --yes

The profile must declare issue-create, and the project must be on its exact auth allow-projects list. A plan creates at most one issue with a single-line summary, an optional description carrying the visible plan marker, and optional single State/Enum fields frozen by immutable IDs. An unknown outcome is never replayed. operator-write reconcile reads the kept issue exactly, or runs one marker search that only accepts issues created at or after the apply claim. --field, --value, --field-id and --value-id repeat for issue.create; other kinds keep last-value-wins, and an empty last value clears the selector.

Building from source now needs Go 1.27.3 or newer (GO-2026-6809). macOS uses the standard source-built Homebrew Formula; after brew upgrade the CLI may ask for auth migrate-keychain --profile NAME --yes before it can read an existing credential. Linux archives remain the portable read-only edition.

Changelog

  • 4976304 feat(writes): add operator-confirmed issue creation (#35)