Notifications & The Author Verify Loop
When an AI agent or developer applies a comment, how does the author find out? And how do they confirm it actually looks right — or tell the team it isn't fixed?
PinSay answers these questions with notifications and the Author Verify Loop. Every person chooses where their notifications go, and the verify loop happens right inside the widget, on the page where the comment was left.
Where notifications go
- In the dashboard: the notifications bell, always on.
- Email: choose per event in My Profile → Notification settings.
- Your own chat: link Slack or Telegram in My Profile to get mentions, replies and status changes as direct messages.
- Team channels: a workspace admin connects Slack, Microsoft Teams, Discord or an outgoing webhook on the Integrations page; new comments, replies, mentions and status changes are posted there. Webhooks are signed JSON POST requests to your server.
- Issue trackers: connect GitHub Issues or Jira Cloud on the Integrations page. A comment opens an issue, and status and replies sync both ways.
Which channels a workspace can use depends on its plan.
Where Notifications Appear
Whenever an event occurs on one of your comments, PinSay delivers an in-app notification to your account, shown in the dashboard's notifications bell:
CommentApplied: A developer or AI agent applied your comment and recorded a commit URL.CommentReopened: A comment was reopened (for instance, rejected during verification).ReplyAdded: Another teammate or an AI assistant replied to your comment.
In the widget, open the comments list to see each comment's latest state and replies; the widget no longer has an Updates menu.
The Author Verify Loop (👍 / 👎)
When an applied comment is viewed, its author sees inline verification controls next to the completed status pill:
Author verify controls appear strictly for the comment's creator (including quick-access Client accounts) on comments in the Applied state.
1. Thumbs-Up: "Looks right"
If the change successfully resolves the issue:
- Clicking 👍 Looks right calls
POST /api/comments/{id}/verifywith{ "ok": true }. {id}is the comment's internal id (theidfield of the API response), not its #number.- The backend records a
verified_attimestamp on the comment. - An automated reply is logged: "Verified ✓".
- The card permanently displays a green ✓ Verified pill for all teammates to see.
2. Thumbs-Down: "Not fixed"
If the fix was incomplete, introduced a regression, or missed the requirement:
- Clicking 👎 Not fixed displays an inline note box prompting: "Explain what is still not fixed…"
- A note explaining the failure is strictly required (up to 500 characters).
- Submitting calls
POST /api/comments/{id}/verifywith{ "ok": false, "note": "..." }. - The backend resets the comment status back to
Openand clearsVerifiedAt. - A new reply is appended to the discussion: "Not fixed: <note>".
- A
CommentReopenednotification is automatically dispatched to whoever applied the comment (e.g. the developer or AI runner), alerting them to revisit the task.
Quick-access client accounts are normally restricted from managing the developer backlog (such as marking comments completed, archiving, or setting commit styles). However, the author verify loop is the one lifecycle action clients legitimately own for their own feedback. Quick-access accounts can verify or reject fixes for any comment they authored.
Tenancy & Security Invariants
The notifications and verification architecture strictly maintains PinSay's multi-tenant isolation:
- Recipient-scoped isolation: Notifications are strictly filtered to the authenticated caller (
UserId == _currentUser.Id). Users within the same tenant cannot see or mark each other's notifications. Attempting to access another user's notification returns an immediate404 Not Found. - Cascade deletion: Deleting a comment automatically cascades to all associated notifications in PostgreSQL, preventing dangling references.
- Ownership validation: Only the comment's author or a workspace admin can invoke the verify endpoint. Unauthorized verify attempts return
403 Forbidden.