Skip to content

fix(capture): bind follow-up replies across unmounted history - #48

Merged
alphastorm merged 1 commit into
mainfrom
fix/follow-up-turn-capture
Nov 16, 2026
Merged

alphastorm merged 1 commit into
mainfrom
fix/follow-up-turn-capture

Conversation

@alphastorm

Copy link
Copy Markdown
Owner

What this is

A follow-up job in a long conversation could finish in ChatGPT and still fail collection. After the follow-up's reply completed, the page rendered only the follow-up exchange, so the reply the worker had bound as assistant turn 1 was the first response root on the page. First capture refused with "Bound response root is absent", and recollection refused too: "The reply to the job archive turn is assistant turn 0, not the saved turn 1".

The change

  • The user turn that carries the job's own archive identifies the exchange. Exactly one reply must follow it before the next user turn.
  • A reply rendered before its saved position is accepted only when it carries one exact message identity. The send-time position stays in the binding as provenance.
  • First capture uses the same archive anchor as recollection.

What is still refused

No archive turn; several archive turns; no reply or several replies after it; a reply beyond the next user turn; a reply rendered after its saved position; a shifted reply without a message identity. There is still no whole-conversation fallback.

Limits

  • Why the page drops the earlier exchange is not established. The structure was recorded from a real page as counts, positions and attribute names only.
  • First capture now depends on locating the job's archive turn. The preset proof exercises that for every preset.
  • A job collected by recollection keeps its earlier phase label although its collection status becomes complete.

Proof

  • Offline capture proof: the recorded single-exchange structure with synthetic text. First capture and recollection fail on the previous runtime and pass here; three negative cases refuse.
  • npm run verify:oracle and npm run proof:capture pass.
  • Two completed jobs whose replies had not been collected were recollected from copies on a throwaway profile copy, with nothing sent: refused before the change, saved after it.
  • Not run: the live instant job with a same-thread follow-up, Deep Research, Grok, the preset proof. They belong to release validation.

- Anchor first capture and recollection to the unique archive exchange; require an exact identity for a backwards rendered-index shift and refuse ambiguous replies.
- Replay the observed single-exchange DOM with synthetic text; first capture and recollection fail on baseline and pass with the fix.
- verify:oracle and proof:capture pass; isolated model-free read/recollect admission passes; both real copied jobs recollect without sending.
@alphastorm
alphastorm merged commit 781bb0c into main Nov 16, 2026
1 check passed
@alphastorm
alphastorm deleted the fix/follow-up-turn-capture branch November 16, 2026 19:04
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