feat(ai): configure Architect mode prompt with Spec Kit templates and enforce task completion rules in background runner

This commit is contained in:
2026-05-19 19:40:23 -07:00
parent 665c2ffa06
commit 329eb4eb67

View File

@@ -16,7 +16,7 @@ export async function POST(
}
const projectRow = await queryOne<{ data: any; slug: string }>(
`SELECT data, slug FROM fs_projects
`SELECT fs_projects.data, fs_projects.slug FROM fs_projects
JOIN fs_users u ON u.id = fs_projects.user_id
WHERE fs_projects.id = $1 AND u.data->>'email' = $2 LIMIT 1`,
[projectId, session.user.email]