Repository navigation
File a receipt only for an effect that happened - #2395
Merged
Merged
Conversation
…red, Photos opened, install settings opened, a refusal said
lalalune
temporarily deployed
to
turbo-cache-read
December 4, 2026 19:01 — with
GitHub Actions
Inactive
lalalune
had a problem deploying
to
turbo-cache-read
December 4, 2026 19:01 — with
GitHub Actions
Error
lalalune
marked this pull request as ready for review
December 4, 2026 19:57
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
outhappened (SPEC.md, "Proofs, receipts and senders"). These four filed one unconditionally:AskAccess/AskMicrophone() => true: filed even when the request failed, whichCameraPort.askreports asUnaskedOpenLastopenLastreturnsopenView("Photos"), and the receipt is filed only if it istrueOpenInstallSettingsallowAutomatic()and its result thrown away. The browser layer always answersfalseallowAutomatic()says the settings openedToastnoticeTextis empty and nothing is saidtold()returns whether it said something, and only then is the receipt filedNo test is added. No driver or journey reads these receipts (the runtime drops them after
fileReceipttype-checks the proof), so no person sees the difference. Thetypesstage checks the new signatures.Reviewed and found sound:
Schemas.<Type>. I compared each one with its spec type: calendarChange,ReplyandRequestState; clockTab; composerAuthor; noteSource; preferencesChosen(List, not a set, so duplicates are still accepted); accountAccess; the workflows, automations, digests and lifecycleChange; and workflow clockHandoff. The only change is that ints are now bounded to the safe-integer range.sendandcanin the shell uses the sender its guard admits: the owner's controls send asOwner, and lifecycles, timers and answers send asPhone. Account access'sO::acts(origin)wasorigin == ByOwner, soowns(by)admits exactly what it did before. The kept-shape change ofreminders.editor@1only renames an int alias, so the stored JSON is unchanged.vibestackVite().Develop CI
This PR does not change why develop is red. On every run since before #2365,
checkstops atreview, which needs the user'spnpm accept(listed in the report).