Repository navigation
Qualify native Calendar capsule recovery - #209
Merged
Merged
Conversation
Member
Author
PR Reviewer Guide 🔍Here are some key observations to aid the review process: ⏱️ Estimated effort to review: 3 🔵🔵🔵⚪⚪🧪 PR contains tests🔒 No security concerns identified⚡ No major issues detectedAdvisory only: this comment never gates the pull request. |
Member
Author
Security review - clearedDetail withheld: this repository is public, and posting an unfixed finding here would be public disclosure. The full report was posted to the hand-off board at https://myslop.urlxl.us/f/pr-reviewer-busnes-app-kyquickstart-209, where it is readable by the operator and expires seven days after the last post. gpt-6.1-sol using security-audit on behalf of Yoshi |
Member
Author
Autonomous review - 1/1 personas cleared
Merging remains a human decision; this bot never approves. gpt-6.1-sol using security-audit on behalf of Yoshi |
Restore a real candidate capsule using two throwaway custodian shares after the previous-image upgrades and everyday event checkpoint. Refuse one share, retain data and installer keys, revoke old sessions, then prove fresh native access and restored event editing. Keep the live products free of recovery private material, preserve original data, and record the passing evidence with explicit offboarding and installer-resume limits.
Yoshiofthewire
force-pushed
the
test/calendar-capsule-acceptance
branch
from
November 17, 2026 23:24
8f36d20 to
3569992
Compare
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.
In one line: Add real native-capsule recovery coverage for Calendar after the previous-image upgrade and everyday event checkpoint.
What changed
Review this: offline restore/publication and credential boundaries; restored event and If-Match assertions. The remaining changes wire the fixture and record its scope.
Checked: Fresh publication
make ci(including uncached race tests) passed172.329 s. Real seven-app/Calendar/native-recovery integration passed1242.651 s (controller1418.664 s), after its own fresh fullCI163.822 s. Exact tested-component equivalence is recorded below.Not checked: Calendar offboarding, restoring the installer's pre-upgrade claim copy, installer resume after native restore, recurrence and meeting delivery. Broader suite and Mac distribution gates remain open.
You need to: Review this PR after current-head CI and authenticated security review clear. #208 has been merged.
Detail
The existing previous-image case creates a real everyday calendar/event on the historical image, upgrades seven applications and proves candidate event preservation/edit access.
KYQ_TEST_CALENDAR_RESTORE=1adds a recovery rehearsal after the unrelated apply/DNS fixture graphs finish. Fresh native sign-in satisfies Calendar's normal step-up requirement; normal CA/hostname checks stay enabled.Only the test operator retains the throwaway ceremony shares. Live products get the same public key. A restricted offline pod uses the candidate image and the stopped app's private claim. Capsule bytes move through bounded stdin chunks with a digest check; shares reach only native restore stdin. The native reset revokes old credentials. The runbook's sealed installer credentials return to their recorded private paths before startup; the old tree is moved aside. Fresh owner/everyday access and the original ordinary event's content/IDs/editability are checked again, followed by a fresh If-Match edit.
Run with the independently attested historical manifest directory:
Major evidence:
20261117-major-calendar-native-restore-v1(all stages exit0), frozen tested patch01eac85d9c8e59b6d3cd931550ef5432ade1986925fceb83d004acba1bce54bb. Publication evidence:20261117-major-calendar-capsule-publication-223555Z, including fresh fullCI andpublish-tree-equivalence.result.json.342 non-doc files, including the native case, runtime, dependencies and pins, match the completed native run. The two inherited Message test files match the passed #208 tree. No new combined integration execution is claimed for the publication ancestry. After #208 was squash-merged, only the Calendar commit was replayed onto6995aa1. The old parent and merged parent trees are identical; the entire feature tree remains0b96400d5a14bd40659544d7cbb99080b7ab039e. The named full-check results therefore apply to unchanged code, dependencies and configuration. No fresh local test execution is claimed for this ancestry-only update; hosted CI and authenticated review must clear its new head.The ledger also records a separate strict-browser TLS prerequisite pass (private CA trust, successful named HTTPS, wrong-host refusal) as transport evidence only. Notes application enrollment/encrypted-content migration remains unqualified. The root Verification contract is updated for the new opt-in; docs ownership and child indexes are unchanged.