feat(ai): configure Architect mode prompt with Spec Kit templates and enforce task completion rules in background runner
This commit is contained in:
@@ -16,7 +16,7 @@ export async function POST(
|
|||||||
}
|
}
|
||||||
|
|
||||||
const projectRow = await queryOne<{ data: any; slug: string }>(
|
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
|
JOIN fs_users u ON u.id = fs_projects.user_id
|
||||||
WHERE fs_projects.id = $1 AND u.data->>'email' = $2 LIMIT 1`,
|
WHERE fs_projects.id = $1 AND u.data->>'email' = $2 LIMIT 1`,
|
||||||
[projectId, session.user.email]
|
[projectId, session.user.email]
|
||||||
|
|||||||
Reference in New Issue
Block a user