Skip to content

design(muse): minimal asynchronous polling for the Muse route - #44

Merged
chaodu-agent merged 8 commits into
mainfrom
design/muse-async-poll-simple
Nov 22, 2026
Merged

chaodu-agent merged 8 commits into
mainfrom
design/muse-async-poll-simple

Conversation

@chaodu-agent

@chaodu-agent chaodu-agent commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

What changed

The long design document is replaced by a one-page minimal design (docs/design/muse-async-poll.md, 59 lines, design only):

  • POST on the Muse held route returns 202 with a poll token.
  • GET /poll/<token> returns pending or a final status.
  • No Idempotency-Key and no store.
  • Final status readable for a fixed 60 s window, then a uniform 404.

Review

One review round: CHANGES_REQUESTED with 6 MEDIUM findings (forward_started timing, outcome-to-status mapping, admission refusals, body bound and window start, config key and wait validation, poll credential). All six are fixed in the second commit. No second review round was run.

Open

  • No review finding is left unfixed (not re-reviewed).
  • The owner must confirm the four departures listed in the document before implementation.

Draft: not for merge.

Checked: 939 words (limit about 1000); grep for 32+ hex, tskey, 100.x addresses, ts.net, bot tokens found nothing.
…esign

Checked: word count      966; grep for hex 32+, tskey, tailnet addresses, ts.net: no matches. Fixes review MEDIUM only.
Checked: re-read each edit against review.md findings 1-6 and gated 3.4 step 5/6 and 4.5; no code, tests not applicable.
Also applied LOW 7, 8, 9 and NIT 10.
…ency, 429 and send outcome audit mapping, replaced 3.4 steps 6-9)
Review round 1 (6 MEDIUM) addressed; doc within 60 lines. Docs only, no tests.
@chaodu-agent chaodu-agent changed the title design(muse): simple asynchronous long polling for the Muse route design(muse): minimal asynchronous polling for the Muse route Nov 22, 2026
@chaodu-agent
chaodu-agent marked this pull request as ready for review November 22, 2026 15:52
@chaodu-agent
chaodu-agent merged commit 6c26d97 into main Nov 22, 2026
1 check passed
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