Inkspect

Built for code written by AI.

AI can make mistakes. Inkspect reviews its changes, catches issues, and suggests fixes.

Your request

“Fetch an invoice by ID.”

AI’s change

api/invoices.ts

 const invoice = await findInvoice(id);
 if (!invoice) throw new NotFoundError();
 return invoice;

The change before review

Inkspect’s review

Whose invoice is it?

The user is signed in. Their access to this workspace is never checked.

Access policy: only workspace members can read invoices.

Suggested fix

api/invoices.ts

 const invoice = await findInvoice(id);
 if (!invoice) throw new NotFoundError();
+await assertWorkspaceMember(
+  user.id, invoice.workspaceId,
+);
 return invoice;

Suggested addition

Check workspace membership before returning the record.

How the review works

Illustrative examples. Suggested changes are yours to review and test.

Agent review

Review the work your agents deliver.

Inkspect connects agent-written changes with task requirements, team rules and test evidence. See what’s complete and what still needs attention.

Explore agent review

Task context. Code changes. Evidence you can inspect.

Give AI-written changes a separate review.