fix(#967): make verify key-links docs author-strict (from:/to: are file paths; symbols go in via:) (#990)

* fix(#967): make verify key-links docs author-strict (from:/to: are file paths; symbols go in via:)

Closes #967

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* chore(#967): backfill changeset pr number (990)

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Tom Boucher
2026-06-10 11:10:40 -04:00
committed by GitHub
parent 921a7cd618
commit 972a41a528
10 changed files with 193 additions and 22 deletions

View File

@@ -707,8 +707,8 @@ must_haves:
min_lines: 30
key_links:
- from: "src/components/LoginForm.tsx"
to: "/api/auth/login"
via: "fetch in onSubmit"
to: "src/app/api/auth/login/route.ts"
via: "fetch in onSubmit → POST /api/auth/login"
```
Aggregate across plans for full picture of what phase delivers.

View File

@@ -632,12 +632,12 @@ must_haves:
contains: "model Message"
key_links:
- from: "src/components/Chat.tsx"
to: "/api/chat"
via: "fetch in useEffect"
to: "src/app/api/chat/route.ts"
via: "fetch in useEffect — calls /api/chat endpoint"
pattern: "fetch.*api/chat"
- from: "src/app/api/chat/route.ts"
to: "prisma.message"
via: "database query"
to: "prisma/schema.prisma"
via: "database query via prisma.message"
pattern: "prisma\\.message\\.(find|create)"
```

View File

@@ -136,9 +136,9 @@ must_haves:
- path: "src/components/Chat.tsx"
provides: "Message list rendering"
key_links:
- from: "Chat.tsx"
to: "api/chat"
via: "fetch in useEffect"
- from: "src/components/Chat.tsx"
to: "src/app/api/chat/route.ts"
via: "fetch in useEffect — calls /api/chat endpoint"
```
**Step 2c: Merge must-haves**