Skip to content

docs: Open Question 7 is decided — chat joins the queue, push is deleted (#1989) - #2847

Merged
obasilakis merged 1 commit into
docs/pull-migration-consolidatefrom
docs/1989-decision
Sep 16, 2026
Merged

obasilakis merged 1 commit into
docs/pull-migration-consolidatefrom
docs/1989-decision

Conversation

@obasilakis

Copy link
Copy Markdown
Contributor

Records the operator decision of 2026-09-16 (@obasilakis) in the three documents that currently assert the opposite. Docs only, no source changes.

Based on docs/pull-migration-consolidate (#2657), not dev — that branch already rewrites all three of these files, so a PR off dev would hand you three conflicts. Merge #2657 and this follows it in; or merge this into #2657 first and ship one.

The decision

Open Question 7 resolves to the edge adapter, not the scope cut:

  1. The durable queue carries all traffic, human-interactive chat included.
  2. Interactive turns jump the queue, so a person's wait is no worse than today. → feat(pull): interactive turns jump the queue — the starvation half of Open Question 7 #2842
  3. A conversation never runs two turns at once, served by any free worker. → feat(pull): one turn per conversation at a time — the transcript-safety half of Open Question 7 #2843
  4. Once those land, the push coordination path is deleted, not kept alongside.

What was contradicting it

file what it said
TARGET_ARCHITECTURE.md Open Question 7: "Under consideration, not decided", with the scope cut named as the candidate answer
PULL_MIGRATION_STATUS.md §3 listed interactive chat as "Deliberately excluded — scope cut"; §4 item 5: "'everything is pull' is false by design, not by omission"
PULL_MIGRATION_TESTING.md §8 described the exclusion as a settled scope cut

That §4 item 5 paragraph was the sharpest problem — by #2657's own argument, a document someone can still open will be read and relitigated, and this was the sentence most likely to cause the next wasted review cycle.

Verified after the edit: no line in any of the three still asserts the old answer, and no internal markdown link is broken.

Two corrections that ride along

Both measured on eu2 during the #1766 soak, and both change the reasoning rather than just the conclusion:

  • The starvation argument that favoured the scope cut was overstated. Push does not avoid the wait — human chat already dispatches with overflow_policy="queue_in_memory", a bounded Redis FIFO, so at capacity a person waits for a running turn to end regardless. Measured: agent turns average 339–468s with a max of 1931s, so today's worst case is already ~32 minutes. What push actually avoids is waiting behind queued batch work. So priority ordering restores parity, and parity is the bar — not instant.
  • The session-serialization requirement is mutual exclusion per conversation, not worker affinity. All N workers share one container filesystem, so there is no file-access reason to pin a conversation to a worker — and pinning would make a person wait on a busy worker while two others idle, defeating the priority fix. Affinity only becomes necessary at replica_count > 1.

Also

Adds retry to the reach table (#2845). It is in neither _AUTONOMOUS_TRIGGERS nor PULL_REACHABLE_TRIGGERS, and on eu2 it is 4.7% of all traffic — Phase 5 cannot delete the push path around it.

Closes the outstanding AC on #1989 ("a decision is recorded in TARGET_ARCHITECTURE.md — resolved, not merely annotated").

🤖 Generated with Claude Code

https://claude.ai/code/session_019Tm7UEkd4G9KQZD5oeLRSa

…ted (#1989)

Operator decision 2026-09-16: the edge adapter wins, not the scope cut.
The durable queue carries all traffic including human-interactive chat,
and the synchronous push dispatch path is deleted once the two supporting
pieces land (#2842 queue priority, #2843 one turn per conversation).

Three documents asserted the opposite and would have relitigated this:

- TARGET_ARCHITECTURE.md Open Question 7 said "under consideration, not
  decided" and named the scope cut as the candidate answer.
- PULL_MIGRATION_STATUS.md said "everything is pull" is false *by design*,
  and listed interactive chat as deliberately excluded.
- PULL_MIGRATION_TESTING.md described the exclusion as a settled scope cut.

All three now state the decision and its reasoning, so the question cannot
be reopened from the documents themselves.

Two corrections ride along, both measured on eu2 during the #1766 soak:

- The starvation argument that favoured the scope cut was overstated. Push
  does not avoid the wait either — chat already queues in a bounded
  in-memory FIFO at capacity, and the worst case there is already ~32
  minutes. What push avoids is waiting behind queued batch work, which
  priority ordering restores. Parity is the bar, not instant.
- The session-serialization requirement is mutual exclusion per
  conversation, NOT worker affinity. All workers share one container
  filesystem, so pinning buys nothing and would make a person wait on a
  busy worker while others idle. Affinity only matters at replica_count>1.

Also adds `retry` to the reach table (#2845) — it is in neither trigger
set and is 4.7% of eu2's traffic, which Phase 5 cannot delete around.

Based on docs/pull-migration-consolidate rather than dev, because that
branch already rewrites all three files.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_019Tm7UEkd4G9KQZD5oeLRSa
@obasilakis
obasilakis merged commit 1630fa3 into docs/pull-migration-consolidate Sep 16, 2026
11 checks passed
vybe pushed a commit that referenced this pull request Sep 21, 2026
…ue (#1989) (#2933)

* docs: Open Question 7 is decided — chat joins the queue, push is deleted (#1989) (#2847)

Operator decision 2026-09-16: the edge adapter wins, not the scope cut.
The durable queue carries all traffic including human-interactive chat,
and the synchronous push dispatch path is deleted once the two supporting
pieces land (#2842 queue priority, #2843 one turn per conversation).

Three documents asserted the opposite and would have relitigated this:

- TARGET_ARCHITECTURE.md Open Question 7 said "under consideration, not
  decided" and named the scope cut as the candidate answer.
- PULL_MIGRATION_STATUS.md said "everything is pull" is false *by design*,
  and listed interactive chat as deliberately excluded.
- PULL_MIGRATION_TESTING.md described the exclusion as a settled scope cut.

All three now state the decision and its reasoning, so the question cannot
be reopened from the documents themselves.

Two corrections ride along, both measured on eu2 during the #1766 soak:

- The starvation argument that favoured the scope cut was overstated. Push
  does not avoid the wait either — chat already queues in a bounded
  in-memory FIFO at capacity, and the worst case there is already ~32
  minutes. What push avoids is waiting behind queued batch work, which
  priority ordering restores. Parity is the bar, not instant.
- The session-serialization requirement is mutual exclusion per
  conversation, NOT worker affinity. All workers share one container
  filesystem, so pinning buys nothing and would make a person wait on a
  busy worker while others idle. Affinity only matters at replica_count>1.

Also adds `retry` to the reach table (#2845) — it is in neither trigger
set and is 4.7% of eu2's traffic, which Phase 5 cannot delete around.

Based on docs/pull-migration-consolidate rather than dev, because that
branch already rewrites all three files.


Claude-Session: https://claude.ai/code/session_019Tm7UEkd4G9KQZD5oeLRSa

Co-authored-by: Claude Opus 5 (1M context) <[email protected]>

* docs: mark the interactive-chat pull exclusion as temporary (#1989)

Open Question 7 is decided for the queue: the pull pilot's exclusion of
interactive turns is a migration state until interactive priority (#2842)
and per-conversation exclusion (#2843) land, not the scope-cut design
boundary the code comments and test docstrings still described.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>

---------

Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
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