From aa505bc84f61f9bd7f0de79ac4e6fd3c29b55ed3 Mon Sep 17 00:00:00 2001 From: Daniel Roth Date: Thu, 23 Jul 2026 12:58:47 +0000 Subject: [PATCH] fix(ara-projects): repoint workstreams setup import to guards MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit setup/workstreams/page.tsx imported requireProjectAccess from ../../../authz, the stub #406 created and #409 deleted when it moved the guard into src/app/projects/guards.ts. #410 (workstreams) was built in parallel against the stub path and merged after #409, so the two landed cleanly by git yet left a dangling import — the only tsc error in the repo and a next build failure. The page calls requireProjectAccess purely for its redirect/notFound side effect and discards the return, so repointing the import is the whole fix. Co-Authored-By: Claude Opus 4.8 (1M context) --- src/app/projects/[projectId]/setup/workstreams/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/projects/[projectId]/setup/workstreams/page.tsx b/src/app/projects/[projectId]/setup/workstreams/page.tsx index 1e9447d7..3993287d 100644 --- a/src/app/projects/[projectId]/setup/workstreams/page.tsx +++ b/src/app/projects/[projectId]/setup/workstreams/page.tsx @@ -1,5 +1,5 @@ import { notFound } from "next/navigation"; -import { requireProjectAccess } from "../../../authz"; +import { requireProjectAccess } from "../../../guards"; import { authorizeWorkstreamRequest } from "@/app/api/projects/[projectId]/workstreams/authorize"; import { listWorkstreamOptions } from "@/app/api/projects/[projectId]/workstreams/queries"; import {