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:
@@ -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.
|
||||
|
||||
@@ -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)"
|
||||
```
|
||||
|
||||
|
||||
@@ -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**
|
||||
|
||||
Reference in New Issue
Block a user