Repository navigation
CONTRACT: chore: merge main into the G1a integration branch (#4201) - #4482
schlessera wants to merge 9 commits into
Conversation
) * CONTRACT: feat(ui-server): enforce prospective exact-origin trust (#3609) * CONTRACT: fix(safety): fence reviewed origin admissions across publication and connect waits * CONTRACT: fix(safety): bind shared cards to context and preserve trusted fork admissions * CONTRACT: fix(ui-react): distinguish mixed source trust and human safety verdicts * CONTRACT: fix(safety): separate transport approvals and hash verified policy bytes * test(ui-sdk): type transport approval evidence explicitly * CONTRACT: fix(safety): enforce IPv6 tunnels and retain last-valid trust on read failures * test(ui-server): preserve selector scheme literal type * CONTRACT: fix(safety): unify live trust observation and cache stable generations * CONTRACT: fix(egress): canonicalize hosts and fence every send independently * fix(egress): reject unmatched brackets in policy host patterns * CONTRACT: docs(api): record independent recipient approval evidence * CONTRACT: fix(safety): validate admission evidence and cache only verified live state * test(ui-react): keep admission fixture discriminants literal * CONTRACT: fix(safety): bind unmatched evidence to live snapshot and render IPv6 authorities * test(ui-react): use supported polling assertion options * CONTRACT: fix(egress): preserve DNS dial authority and version-one detector IDs * test(ui-sdk): preserve legacy history fixture literals * CONTRACT: fix(egress): cancel queued refresh and discriminate charge refusals * CONTRACT: fix(trust): scope revocation to source rule and validate byte charges * CONTRACT: fix(trust): retire source instances and unify send decisions * CONTRACT: fix(egress): allow safe completion at exact byte cap * CONTRACT: fix(egress): publish recipient grants only at dispatch * CONTRACT: fix(egress): retain one typed refusal across all callers * CONTRACT: fix(egress): guard the complete operation lifecycle * CONTRACT: fix(egress): validate provenance and cancel every dispatch * CONTRACT: preserve relay failure causes and own terminal cleanup * CONTRACT: fence provider sends and preserve cancellation evidence * CONTRACT: preserve upstream status and fence buffered provider responses * CONTRACT: share relay response accounting and terminal fences * CONTRACT: publish dispatch facts after transport starts and fence delivery * CONTRACT: fence HTTP connection construction and prove selector retirement * CONTRACT: preserve route allowance and debit all received overflow * CONTRACT: classify synchronous transport failures before terminal cleanup * CONTRACT: meter received HTTP headers before forwarding filters * CONTRACT: publish egress exposure only after transport construction succeeds * CONTRACT: bind recipient receipts to dispatch and share admission validation * CONTRACT: meter relay request heads before filtering * CONTRACT: preserve legacy egress routes and meter interim HTTP heads * CONTRACT: require durable occurrence confirmation before trusted dispatch * CONTRACT: preserve own-input approvals and classify peer recorder changes * CONTRACT: retain dispatched session grants and preserve outward callback inputs * CONTRACT: preserve shared-card approvals and inference refusal compatibility * test: preserve compatible inference text at relay boundaries * CONTRACT: exclude exact shared-card peer write reservations * CONTRACT: preserve refusal causes through session binding
* feat(ui-server): bind immutable reads to approved owner evidence * fix(ui-server): retain publication root identity across restarts * fix(ui-server): require live host continuity for owner qualification * fix(ui-server): close owner continuity during normal shutdown * fix(ui-server): attest owner approval against pinned native brain identity * fix(ui-server): wire native owner identity into host publication * chore(ui-server): keep native root helper types private * fix(ui-server): resolve owner evidence through live Settings policy
* CONTRACT: add reviewed trust controls to Security settings * test(ui-react): prove capability-gated repository trust CRUD * CONTRACT: fence trust Settings authority and stale review state * CONTRACT: model trust Settings transitions and rule observations * fix(ui-react): retain unknown save outcomes after access denial * fix(settings): match HEAD reads and wrap policy disclosures
…rust (#4428) * CONTRACT: combine single-trigger review with prospective source trust * CONTRACT: enforce combined review ordering and preserve legacy safety clients Guard bound verdict handles in the FULL worker, keep legacy capability fields false, and separate operation receipts from current rule and trigger state. * CONTRACT: recover combined review status from durable evidence Prefer committed or published operations, select after policy waits with retention checks, and ignore older focus-read results. * CONTRACT: derive combined review completion from durable decisions * fix(ui-react): preserve review completion across own live updates * CONTRACT: classify combined safety review HTTP routes * test(ui-react): await committed review response before acknowledgement
Resolves the conflict in packages/ui-server/src/app.ts between the Google credential home's boot cleanup (#4206) and main's reference owner continuity (b7202e6): both are kept, the Google masks also close if owner continuity fails to open, and shutdown closes owner continuity before the Google masks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
No uploads on this PR yet This PR changes UI files (
Tips for agentsLabel each shot so reviewers know what they're seeing. Labels apply to every file in a call, so run one uploads put after.png --pr 4482 --meta path=/settings --state after --caption "Saved settings toast"
uploads put chat.png --pr 4482 --app ios --screen "Chat" --state afterNo CLI? With the Uploads MCP, call This comment updates with each upload, so you don't need to post the images yourself. A shot or two in the PR description is still welcome. Check what's attached with Workspace admins can turn this comment off in Settings → GitHub · docs |
Independent reviewReviewed head 7574bb1 against base f87c007. Reviewer: agent. No findings. {
"version": 1,
"kind": "brain-review-receipt",
"pr": 4482,
"head": "7574bb1a23c5fe892151011a8e024792d5654583",
"base": "f87c007846042042e85d299254b1a5ecdf83cfab",
"reviewer": "agent",
"outcome": "no-findings",
"findings": []
} |
Refs #4201
What changed
Brings
main(seven commits since the integration branch was cut at134c0eee9, up to7e861bdb3) into the G1a integration branchfeat/4201-gmail-g1a, so the G1a landing PR can be opened against currentmain. One file conflicted:packages/ui-server/src/app.ts, where the Google credential home's boot cleanup (#4206) met main's reference owner continuity (b7202e638, #4273). The resolution keeps both:close(), then adds owner continuity asmaindoes;createReferenceOwnerContinuityrejects, the Google masks close before the error propagates, as on the two earlier boot-failure paths ui-server, ui-sdk: host-only Google credential home, keyring secret and pinned binary, with a native worker-isolation proof #4206 added;The merge also moved three
file:linecitations off their anchors (two indocs/plans/chat-history-deletion.mdintopackages/ui-server/src/ws/host.ts, one indocs/plans/google-workspace.mdintoturn-egress.ts); a second commit re-anchors them.Why this shape
A merge, not a rebase: the integration branch's task commits are already reviewed and squash-merged, and
scripts/review-receipt.tskeeps a record valid across a merge refresh. This PR must be merged with a merge commit, not squashed: a squash would leave the integration branch's merge base withmainat134c0eee9, and the landing PR would conflict again on the same hunk.Independent review
gpt-6-astra (high effort, read-only) reviewed
f87c00784..7574bb1a2: the conflict resolution, every file both sides changed, cross-cutting interactions betweenmain's trust, owner-evidence and proxy changes and G1a's Google modules, and the three re-anchored citations. No findings; its coverage ledger marks every question verified, and it regenerated the three overlapping api-reports in memory and found them exact. Residual gaps it names: boot-failure fault injection and the native worker, proxy and Security runtime tests, which it did not run. The receipt (bun scripts/review-receipt.ts check 4482: required, 0 findings) is posted on this PR.Proof
bun run api-report: no change.NODE_OPTIONS=--max-old-space-size=6144 bun run typecheck,bun run lintandbun scripts/check-leakage.ts: clean.bun run test packages/ui-sdk packages/ui-server -t google: 85 pass, 0 fail../packages/ui-server/tests/reference-owner-resolution.test.ts,./packages/ui-server/tests/reference-owner-native-root.test.tsand./packages/ui-server/tests/google-credential.test.ts: 102 pass, 0 fail. The last boots the real app and asserts that it holds the Google home while serving and releases it on close.bun scripts/check-citations.ts: no drifted citation that is not already drifted onmainor on the integration branch (436 drifted here, 445 onmain, 447 on the integration branch).{"version":1,"kind":"brain-check-pr-receipt","head":"7574bb1a23c5fe892151011a8e024792d5654583","base":"origin/feat/4201-gmail-g1a","mode":"focused","startedAt":"2026-11-23T09:22:03.987Z","finishedAt":"2026-11-23T09:23:46.506Z","checks":[{"name":"all lint and leakage gates","categories":["changeset"],"outcome":"passed","elapsedMs":11004.853156999998},{"name":"environment documentation","categories":["changeset"],"outcome":"passed","elapsedMs":121.75015200000053},{"name":"pending changeset package names","categories":["changeset"],"outcome":"passed","elapsedMs":114.62370199999714},{"name":"contribution changeset","categories":["changeset"],"outcome":"passed","elapsedMs":19.288305000001856},{"name":"affected fast invariants","categories":["verify","unit"],"outcome":"passed","elapsedMs":91197.681801}]}Checklist
maininto the integration branch.bun scripts/review-receipt.ts check 4482: required, 0 findings, 0 undisposed).main's and the integration branch's.main's contract changes (docs/integration-contract/http.md,package-api.mdandwire.md), hence theCONTRACT:title andcontractlabel.main's new boot step.Anything left open
createReferenceOwnerContinuityreject at boot, so the new release of the Google masks on that path is untested. The two boot-failure releases ui-server, ui-sdk: host-only Google credential home, keyring secret and pinned binary, with a native worker-isolation proof #4206 added have no test either.mainmoves again when 0.45.0 is cut. A second sync will follow before the G1a landing merges.