Repository navigation
test(web): run the shared sealed-collab vectors through the web writer - #74
Merged
Merged
Conversation
The private_collab_seal vectors from #68 now also run through sealContent, the pure core of sealForRepo, with each vector's fixed nonce, so the documents the web posts are pinned byte for byte to the CLI's. sealContent seals an importer's provenance as the vectors require: imported.author and imported.url go into TLV 13 and 14, and imported.createdAt stays plaintext. On read, decrypted provenance goes back into the imported object, so an imported private PR still links its original. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
|
Warning Review limit reachedNext included review available in 10 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (4)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
PastaPastaPasta
added a commit
that referenced
this pull request
Sep 27, 2026
…al private edits Private-repo edits of issues and comments now re-seal through #67's sealEdit and replace only enc/epoch (no plaintext ever leaves); without a seal context a private edit is still refused. The issue page and list use #68's privateComposeBlock / composeCost / SealedLimit. dg issue list reads private issues through readable_all (decrypted for members); the CLI edit still refuses private repos (no sealed CLI edit yet). Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
PastaPastaPasta
added a commit
that referenced
this pull request
Sep 27, 2026
…chedDocument, open_for_write) Rebased onto master after #67, #68, #72, #73 and #74: the settings sections use the AA text shades the contrast test requires; the test fixture fills FetchedDocument.updated_at_block_height; the archive check opens through Session::open_for_write so dg pr create stays within the line limit. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
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.
Summary
This is the follow-up to #67 and #68. The shared
private_collab_sealvectors from #68 now also run through the web's real writer, and imported provenance is sealed and read back the way #68 specifies.lib/repo/private-writes.conformance.test.ts) drives everyprivate_collab_seal__*vector (19 today) throughsealContent, the pure core ofsealForRepo, with the vector's fixed nonce.lib/private/conformance.test.tspins the reference transform. This one pins the code that writes: a sealed issue, PR, comment or review the web posts is byte for byte the CLI's.sealForReponow seals an importer's provenance, which feat(private): seal issues, pull requests, comments and reviews in the CLI #68 made normative:imported.authorandimported.urlgo into TLV 13 and 14;imported.createdAtstays plaintext, alone in the object.sealContent(keys, type, ownerId, data, seal = sealDoc), which the runner can call without an SDK.sealForReporeads the write key and maps seal errors exactly as before.importedAuthorandimportedUrlgo back into the document'simportedobject. An imported private PR still shows "imported" and links its original, and no flat TLV names leak into the view. Test:private-session.test.ts"an imported document's sealed provenance…" (it failed before the fold).No web writer sets
importedtoday; the importers are the CLI's. This keeps the web's sealing in parity for when one does, and makes the reader correct for documents the CLI importers write.Traceability
importedAuthorand 14importedUrlsealed;imported.createdAtplaintextprivate_collab_seal__*vectors (#68)Test plan
pnpm lint,pnpm exec tsc --noEmit.pnpm test: 1533 pass on master 0ffdd74, including all 205 private conformance vectors and the new runner (20 tests: 19 vectors plus the count check).imported.authorhandling failsissue_importedandcomment_imported_author_only.🤖 Generated with Claude Code