docs(01-02): complete PWA and SSRF red contracts plan

- document expected cache-isolation and transition-form failures
- record preserved public and redirect behavior
- capture atomic task commits and verification evidence
This commit is contained in:
Marc-André Bombeck committed 2026-07-29 13:42:30 +02:00
1 parent abea48026b
commit cc8567d82f
2 files changed
+136 -2

No files matched your search

@@ -114,7 +114,11 @@ describe("rotateConnection — happy path", () => {
it("uses the supplied transaction client for the entire rotation", async () => {
TX.mcpOAuthConnection.findUnique.mockResolvedValue({ ...CONN });
const out = await rotateConnection(
const transactionalRotate = rotateConnection as unknown as (
args: Parameters<typeof rotateConnection>[0],
tx: typeof TX,
) => ReturnType<typeof rotateConnection>;
const out = await transactionalRotate(
{
connectionId: "conn-1",
presentedJti: "jti-current",
@@ -122,7 +126,7 @@ describe("rotateConnection — happy path", () => {
clientId: CONN.clientId,
userId: "user-1",
},
TX as never,
TX,
);
expect(out.ok).toBe(true);