Skip to content

Complete hosted Feedback as an agent-native service - #50

Merged
sarthakagrawal927 merged 1 commit into
mainfrom
feat/feedback-agent-contract
Aug 22, 2026
Merged

sarthakagrawal927 merged 1 commit into
mainfrom
feat/feedback-agent-contract

Conversation

@sarthakagrawal927

Copy link
Copy Markdown
Member

Part of #46

Completes the remaining hosted Feedback contract in source. Capture, submit, store, review, and status update already existed; this fills the agent-native gaps without deploying.

What landed

  • Page URL, Pinpoint context, client version, and source persist with each submission
  • POST /v1/feedback accepts JSON or one multipart request (feedback + optional screenshot)
  • Authenticated GET /v1/feedback with project, type, status, date, and cursor filters
  • Project-scoped smk_ agent tokens default to read-only; write is explicit
  • Status changes write immutable audit events with actor identity
  • Inbox shows page/Pinpoint context, copies structured JSON, and surfaces project keys plus agent tokens
  • Docs describe hosted setup as the primary path and drop public-board/voting language

Verification

  • pnpm test — 28 API tests
  • @saas-maker/feedback package tests after rebuild
  • pnpm -F @saas-maker/api typecheck
  • pnpm -F @saas-maker/dashboard typecheck
  • pnpm lint
  • pnpm check:docs

Still gated (task 11)

Do not merge into a production action without explicit approval:

  • D1 migration 0025_feedback_agent_contract.sql
  • API/inbox deploy
  • npm publication of @saas-maker/feedback (published 0.4.0 still lacks projectKey)

Anime List consumer change is a separate PR in Significant-Hobbies/anime-list.

Persist page and Pinpoint evidence, accept one multipart submission, issue
read-only-by-default agent tokens, and record status mutations. The inbox
now copies structured records and shows project credentials. Production
migration, deploy, and npm publication remain gated.
@sarthakagrawal927
sarthakagrawal927 merged commit c5d3e84 into main Aug 22, 2026
3 checks passed
@sarthakagrawal927
sarthakagrawal927 deleted the feat/feedback-agent-contract branch August 22, 2026 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant