Repository navigation
fix(apps): bind actions to the originating conversation - #4863
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Passed · 12/12 tests · 18/18 assertions · 8 images Commit |
Warden review summary — ClearNative findings: 0. Blocking policy matches before consolidation: 0. Full finding text remains in Warden's native checks and review threads. This comment retains only native IDs, severity, skill attribution, and safe locations. Analysis run Reported trigger coverage (not proof of complete repository or context coverage): diff-security-review (276360 ms), confidentiality-review (356701 ms), spec-provenance-review (231956 ms), desktop-den-sync-review (430581 ms). Blockers
Advisories
Needs recheck
Observed review-thread metrics
Thread states are read-only collection snapshots. These metrics are neither lifetime totals nor exact resolution times, and this summary is not clearance authority. |
There was a problem hiding this comment.
Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (65295c3d5b96b1ae14aa8e241ca2a4e2e635736e). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run
65295c3 to
b067e9a
Compare
There was a problem hiding this comment.
Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (b067e9a174725085dbcebcf3c3ff963f0b597157). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run
Summary
Keep MCP App actions attached to the conversation and connection that opened them, rather than the currently selected workspace.
App callbacks now require the returned launch ID. Older clients must update and reopen the App; there is no unbound-call fallback. Leases expire after 30 minutes and are capped at 256 per server instance. This does not revoke already-dispatched operations or detect upstream account changes that leave host-visible identity unchanged.
Verification
Signed head:
b067e9a174725085dbcebcf3c3ff963f0b597157.Base and merge-base:
f550d6ebfc9649d43acc4f790eb63251767cc8cb(dev).Passed on that exact head, all exit 0:
pnpm --filter @openwork/app exec bun test --isolate ./tests/mcp-app-frame.test.ts ./tests/mcp-app-origin.test.tsx ./tests/dashboard-tile-cache.test.ts ./tests/mcp-app-tile.test.tsx— 26 passed, 0 failed/skipped.pnpm --filter openwork-server exec bun --conditions=development test src/mcp-app-host.test.ts— 35 passed, 0 failed/skipped.pnpm --filter @openwork/app typecheckpnpm --filter openwork-server typecheckThe tests cover explicit origin wiring, stale approvals, lease policy/configuration changes, unrelated-update preservation and dashboard lease ownership. They are focused feedback, not full desktop journey proof.
Verdict and remaining coverage
Incomplete. The existing
saved-app-creationjourney was extended withAPP-ARCHIVE, but not executed. Cross-workspace iframe behavior, native approval timing, generated previews and actual v1/v2 HTTP session guards still need runtime proof. The archive case explicitly skips v2 where its archive mutation API is unavailable. No live provider or enterprise deployment was exercised.This is the foundation for #4864 (direct resources), #4865 (audiences) and #4866 (conversation handoff). It does not implement those child outcomes. #4294 retains dashboard retry ownership; #4297 retains saved-input editing. Independent #4862 changes frame fixtures; rebase and adapt those fixtures to this explicit-origin contract when combining the changes, then rerun affected checks. Current results do not certify the combined set.
The latest rebase resolved one
session-surface.tsxconflict by retaining upstreamuiStateOwneralongside the owning client and engine. Focused checks above were rerun on the new head; old-head results are not substituted.Hosted CI/review are pending. No merge or deployment is included.