Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .repository-projection.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
"projection": "deixic-code",
"projectionSchemaVersion": 1,
"sourceRepository": "dx-corp/mono",
"sourceSha": "60419c45bebb8cd7edc555c1384b249aa3d27df4",
"sourceSha": "aad70dca9153ee14f58ad83743851edf3756e515",
"destinationRepository": "dx-corp/code",
"priorProjectedBase": "ead62c78a1e6094c02f4ae61ebff1714d4965e2f",
"priorProjectedBase": "fd774e71a9294482c95af94611c6dd458df46640",
"definitionDigest": "82936441c776e3e8edb5d215a75007ec9714a233f489d460075d79d5ef5ba32f",
"toolDigest": "ab19140af8e449c04288cb7c52e992982833e3882ddce59d22314d971feaf946",
"contentDigest": "bf5843be1ca2cd2fa79d378c1b3ae7f7d9879de8d559bb90545a0beaaccc9ddf",
"contentDigest": "cb9bcb8eeb4b7107c0dbf55cedd0d8ad81db6ad3edc8ff3c2c53587d62015449",
"publicationEligible": true
}
8 changes: 7 additions & 1 deletion docs/TOOLS_REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,16 @@ error distinctions.

| Tool | Description | Actions / Options |
| ---- | ----------- | ----------------- |
| `gh_pr` | Pull request operations | **Actions:** `create`, `checkout`, `view`, `list`, `comment`<br>**Options:** `number`, `title`, `body`, `branch`, `base`, `draft`, `state`, `author`, `limit`, `json` |
| `gh_pr` | Pull request operations | **Actions:** `create`, `checkout`, `view`, `list`, `comment`, `checks`, `diff`, `review_threads`, `reply_review_thread`, `resolve_review_thread`, `checks_watch`<br>**Options:** `number`, `title`, `body`, `branch`, `base`, `draft`, `state`, `author`, `limit`, `json`, `nameOnly`, `threadId`, `includeResolved`, `timeoutSecs` |
| `gh_issue` | Issue operations | **Actions:** `create`, `view`, `list`, `comment`, `close`<br>**Options:** `number`, `title`, `body`, `labels`, `state`, `author`, `limit`, `json` |
| `gh_repo` | Repository operations | **Actions:** `view`, `fork`, `clone`<br>**Options:** `repository`, `directory`, `json` |

**Review and CI loop (`gh_pr`):**
- `review_threads` (`number`, optional `includeResolved`) -- lists unresolved review threads via GraphQL (`gh api graphql`), each with `path`, `line`, `isResolved`, `isOutdated`, the thread's GraphQL `id`, and its comments (author, body, `createdAt`), plus top-level review summaries (state + body). Output is bounded: comment/review bodies and the thread/review counts are capped and marked `truncated` when a PR has more than fits.
- `reply_review_thread` (`threadId`, `body`) -- replies inline to a thread returned by `review_threads` (GraphQL `addPullRequestReviewThreadReply`).
- `resolve_review_thread` (`threadId`) -- marks a thread resolved (GraphQL `resolveReviewThread`) once it's actually been addressed.
- `checks_watch` (`number`, optional `timeoutSecs`, default 900s / max 3600s) -- polls CI every 30s until every check is `completed` or the timeout elapses, instead of a single `checks` snapshot. Returns a per-check summary and, for failed checks, up to 3 jobs' worth of failure-log tail (`gh run view --log-failed`, capped to 200 lines / 16KiB each).

**Prerequisites:**
- GitHub CLI (`gh`) must be installed: `brew install gh` (macOS) or see [cli.github.com](https://cli.github.com)
- Must be authenticated: `gh auth login`
Expand Down
Loading
Loading