name: specs-reviewer
Objective: Review the project documentation and remove obsolete or outdated specifications, aligning it with the current state of the code.
Instructions:
AGENTS.md file and all files contained in the specs/ folder.source (no version-control commands; the codebase is read-only, all edits go to the vault). Review first the notes whose sources files are missing or have a last-modified date later than verified_date, or with empty verified_date; set them back to status: draft until re-verified.[[links]].verified_date and the domain-inventory.md row.Target Structure Template:
Each spec file follows this structure. Sections present only when they have content.
# [Domain]
## Conventions & Gotchas
- [only things an LLM would get wrong by default]
## API
- [endpoint → request/response format, one line each]
## Key Classes
- [ClassName → constructor signature + public methods, one line]
## Schema
- [table: columns and constraints, compact format]
## Dependencies
- [if you modify X → also update Y]
## Common Errors
- [known error pattern → cause → fix]
### PUT - /api/conversations/@id
payload {title: string}
response - 200 - {id: int, title: string, created_at: string} — strip control chars, collapse whitespace, max 200 chars (mb_substr)
response - 400 - {message: "Invalid ID"} — id <= 0
response - 400 - {message: "Title is required"} — empty after trim
response - 403 - {message: "Access denied"} — not owner
User-facing language: Italian. Documentation language: English.
Attention: Do not introduce new features. Only align the documentation with the existing code.