OpenAgents

Stack layer 1 of 3: add the asynchronous stack merge API (closes #112)

Public

Stack layer 1 of 3: add the asynchronous stack merge API (closes #112)

merged

#117 proposes OpenAgentsInc/openagents.com:stack-merge-async into OpenAgentsInc/openagents.com:main.

Adds an asynchronous merge submission API for stacked pull requests. - `PUT /api/v3/repos/:owner/:repo/pulls/:pull_number/merge-async` accepts a merge for the layer's stack, returns `202` with a durable operation ID, and replays on a repeated `Idempotency-Key`. - `GET .../merge-async/:operation_id` reports `pending`, `merged`, or `failed` with the operation state and error. - A conflicting active operation returns `409` with the existing operation ID so a client can poll it instead of guessing. - The merge keeps the contiguous-prefix contract and restacks the remaining upper layers automatically after a partial merge. Closes #112

Stack #1 · layer 1 of 5

merged
Stack #1 5 layers
  1. Stack layer 5 of 5: Open Graph cards for pull requests and docs pages #123 stack-og-cards
  2. Stack layer 4 of 4: document pull requests and stacks in /docs #122 stack-docs
  3. Stack layer 3 of 3: add stack actions to the pull request page (closes #114) #119 stack-pr-actions
  4. Stack layer 2 of 3: add the unstack and dissolve APIs (closes #113) #118 stack-lifecycle
  5. Stack layer 1 of 3: add the asynchronous stack merge API (closes #112) #117 stack-merge-async
  6. main

This pull request merged into main as part of the stack.