Skip to content

File a receipt only for an effect that happened - #2395

Merged
lalalune merged 1 commit into
developfrom
claude/alpha-kinds-postmerge
Dec 4, 2026
Merged

lalalune merged 1 commit into
developfrom
claude/alpha-kinds-postmerge

Conversation

@lalalune

@lalalune lalalune commented Dec 4, 2026

Copy link
Copy Markdown
Collaborator

Why

Goal: convert Eliza and then Alpha fully to the latest Vibestack (its kinds and the dynamic, spec-derived types), push everything to develop, get CI green on develop in all three repos, then review and fix any other issues found. This PR is the review of the four Alpha conversion PRs that were merged before CI or review finished: #2365 (generated Schemas), #2366 (senders and named ids), #2367 (receipts) and #2368 (HMR hot update).

What the review found

#2367 receipts: four receipts were filed although their effect did not happen. A receipt says an item of out happened (SPEC.md, "Proofs, receipts and senders"). These four filed one unconditionally:

Effect Before Now
Camera AskAccess / AskMicrophone () => true: filed even when the request failed, which CameraPort.ask reports as Unasked filed only when Android answered with a grant: given, limited or denied
Camera OpenLast filed whether or not Photos opened openLast returns openView("Photos"), and the receipt is filed only if it is true
Update OpenInstallSettings filed after allowAutomatic() and its result thrown away. The browser layer always answers false filed only when allowAutomatic() says the settings opened
Update page Toast filed even when noticeText is empty and nothing is said told() returns whether it said something, and only then is the receipt filed

No test is added. No driver or journey reads these receipts (the runtime drops them after fileReceipt type-checks the proof), so no person sees the difference. The types stage checks the new signatures.

Reviewed and found sound:

Develop CI

This PR does not change why develop is red. On every run since before #2365, check stops at review, which needs the user's pnpm accept (listed in the report).

…red, Photos opened, install settings opened, a refusal said
@lalalune
lalalune temporarily deployed to turbo-cache-read December 4, 2026 19:01 — with GitHub Actions Inactive
@lalalune
lalalune marked this pull request as ready for review December 4, 2026 19:57
@lalalune
lalalune merged commit acbdf39 into develop Dec 4, 2026
6 of 8 checks passed

This branch was successfully deployed

No deployments
turbo-cache-read — 8cb03578 Deployed Dec 4, 2026 by lalalune via verify #1618
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