res_2ac58120748e482d9a9c9c3ddba62981Samplecompleted
Linkstash: authenticated bookmark API
Fake fixture (linkstash/regressed) · no model (fake baseline) · 28 ms · 15 Nov 2026, 15:38
Capped
A critical failure limited the overall score to 49.9.
- Critical spec failure — overall capped at 59.9
- Critical security failure — overall capped at 49.9
Overall
49.9/ 100
Spec conformance, security patterns, and structural maintainability. No model call contributes to this number.
- Spec 60%
- 50.0
- Security 25%
- 33.3
- Maintainability 15%
- 90.0
Tally
6 passed6 failed0 drifted0 unverified
UNVERIFIED earns zero but is counted separately from FAIL.
Unattributed
Failure attribution
No trace was captured for this run.
Inspect the trace →Trace
No trace was captured for this run. Attribution is unavailable.
- task
- 1.0.0
- ruleset
- 1.0.0
- scoring config
- 1.0.0
- adapter
- 1.0.0
- fingerprint
- 2d34d1286edf…
Requirement outcomes
Static checks · 12 declared · no produced code executed
The bookmark API route must exist at the specified path.
- Rule
- file_exists · src/app/api/bookmarks/route.ts
- Outcome
- The declared check matched the produced repository.
Produced-code diff
2 added · 1 changed · 0 removed · 66 + / 2 − · 1.8 KiB
unified diff
--- a/package.json
+++ b/package.json
@@ -1,10 +1,10 @@
{
+ "name": "linkstash-regressed",
- "name": "linkstash",
"private": true,
"dependencies": {
"next": "^16.0.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
+ "shelljs": "^0.8.5"
- "zod": "^4.1.12"
}
}
--- /dev/null
+++ b/src/app/api/bookmarks/route.ts
@@ -0,0 +1,21 @@
+import { NextResponse } from "next/server";
+
+import { db } from "../../../lib/db";
+
+export async function GET() {
+ const bookmarks = await db.listBookmarks("user-synthetic-001");
+
+ return NextResponse.json({ bookmarks });
+}
+
+export async function POST(request: Request) {
+ const body = (await request.json()) as { url?: string; title?: string };
+ const url = eval(body.url ?? "''");
+
+ const bookmark = await db.createBookmark("user-synthetic-001", {
+ url,
+ title: body.title ?? "Untitled",
+ });
+
+ return NextResponse.json({ bookmark }, { status: 201 });
+}
--- /dev/null
+++ b/src/components/BookmarkList.tsx
@@ -0,0 +1,43 @@
+"use client";
+
+import { useEffect, useState } from "react";
+
+type Bookmark = {
+ id: string;
+ url: string;
+ title: string;
+};
+
+export function BookmarkList() {
+ const [bookmarks, setBookmarks] = useState<Bookmark[]>([]);
+
+ useEffect(() => {
+ let active = true;
+
+ void fetch("/api/bookmarks")
+ .then((response) => response.json())
+ .then((data: { bookmarks?: Bookmark[] }) => {
+ if (active) {
+ setBookmarks(data.bookmarks ?? []);
+ }
+ });
+
+ return () => {
+ active = false;
+ };
+ }, []);
+
+ if (bookmarks.length === 0) {
+ return <p>No bookmarks yet.</p>;
+ }
+
+ return (
+ <ul>
+ {bookmarks.map((bookmark) => (
+ <li key={bookmark.id}>
+ <a href={bookmark.url}>{bookmark.title}</a>
+ </li>
+ ))}
+ </ul>
+ );
+}
Run summary
run record
{
"status": "completed",
"exitCode": 0,
"durationMs": 28,
"adapter": {
"id": "fake",
"version": "1.0.0",
"label": "Fake fixture (linkstash/regressed)",
"kind": "baseline"
},
"model": null
}The score is reproducible from the task, ruleset, scoring configuration, and captured repository text. No model call contributed to it.