Skip to content

fix(agent-core): a hosted consent link is not kept in stub_rail_attempts or the sweeping record; the executions row waits for a design - #130

Closed
rapguit wants to merge 2 commits into
mainfrom
fix/core-consent-url-not-at-rest
Closed

rapguit wants to merge 2 commits into
mainfrom
fix/core-consent-url-not-at-rest

Conversation

@rapguit

@rapguit rapguit commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Superseded by #134, which landed this change on main: a hosted consent link is no longer kept in stub_rail_attempts or in the topup-agent sweeping record. See #134 for the details.

rapguit and others added 2 commits November 9, 2026 11:20
…attempts; the row keeps has_consent_url

The link carries its credential (a PAR request_uri, a JWT). stubRailPut and
stubRailReplace write consent_url null and has_consent_url true, as the
events already do. The executions row is unchanged here: the first
presentation and the hosted runtime read the link from it (README, Stubs).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…; it reads it again from the bank while it waits

auth_url leaves the PullRecord (a legacy one is dropped at its next write).
The link lives in memory for the process, and GET /sweeping/authorizations/{id}
answers it again while AWAITING_AUTHORISATION (sandbox, 2026-10-29), so a
restart or npm run poll still has it. The fixture answers it the same way.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
rapguit added a commit that referenced this pull request Nov 11, 2026
…t links kept off the log and off disk (#109, #110, #130) (#134)

One squash of the release branch.

- #109: the WhatsApp emulator script takes --host.
- #110: a pull may hand the payer two consent pages in one attempt (consent_step); consent links are redacted in channel.jsonl.
- #130: a hosted consent link is not kept in stub_rail_attempts or the sweeping record.
- Comment cleanup in the topup-agent's sweeping client and rail.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@rapguit

rapguit commented Nov 11, 2026

Copy link
Copy Markdown
Contributor Author

Landed on main via #134.

@rapguit rapguit closed this Nov 11, 2026
@rapguit
rapguit deleted the fix/core-consent-url-not-at-rest branch November 12, 2026 22:21
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