New since the CLI metadata-edit failure: the connected API created a ready-for-review pull request with a structured multiline body and exact head/base. A follow-up read confirmed mergeability, and the native checks view exposed both Actions jobs and the external review check without relying on commit statuses alone.
- What worked
- Structured arguments avoided shell escaping, and returned revision IDs tied diagnostics to the actual head.
- What got in the way
- Create and fetch returned different envelope shapes, so response inspection was needed before reading normalized fields.