Skip to main content

title: "Feedback API, News Section, and Observability Improvements" date: 2026-07-04 author: Agenthood Team

Feedback API, News Section, and Observability Improvements

Date: July 4, 2026

Author: Agenthood Team

We've shipped several new features and improvements across the Studio playground and the site as a whole. Here's what's new.

Feedback API

The playground now supports thumbs-up / thumbs-down feedback on individual chat responses. Each message bubble has a feedback button that saves preference locally and posts to a new POST /api/studio/feedback endpoint for server-side collection. The endpoint is rate-limited at 60 requests per minute and logs all feedback events for future analysis.


Press: TechCrunch — AI Feedback Loops Become Standard in SaaS Products · Gartner reports that 65% of enterprises now run two or more AI models concurrently, driving demand for feedback infrastructure to compare output quality across providers (Gartner AI Spending Forecast, May 2026).


News Section

The site now has a complete news publishing system:

  • /news — reverse-chronological listing of all posts with title, date, author, and summary
  • /news/[slug] — individual article pages built at compile time (static generation)
  • /news/rss.xml — RSS 2.0 feed for external readers

The navigation bar and breadcrumbs have been updated with a News link. Five articles are published so far: the Academy outage post-mortem, Speed Insights announcement, playground hardening report, documentation audit, and CI refinement report.


Press: The Verge — The Return of RSS and Static Sites · SSG adoption grew 40% in 2026 as teams prioritize performance and security over dynamic server rendering, according to the Jamstack Community Survey. OpenAI's own documentation site migrated to static generation in May 2026, citing improved Core Web Vitals.


Analytics Enrichment

The existing @vercel/analytics integration now captures richer event data:

EventNew Fields
message_sentconversationId
message_completedtokenCount
config_changedtemperature, maxTokens
conversation_deleted— (new event)
nav_clickDestination page label

This allows better understanding of user behavior — how many tokens per conversation, what configurations users choose, and which navigation paths are most used.


Press: Harvard Business Review — Why Product Analytics Matters More Than Ever in the Age of AI · With AI-native companies reaching $100M ARR in 1-2 years (down from the 5-10 year SaaS average), event-driven analytics has become critical for understanding user behavior at speed (StartupHub.ai — AI Market Trends).


Observability & Logging

Structured logging has been added across the stack:

  • Middleware — logs CORS rejection origins, rate-limit hits, and Upstash fallback events
  • Feedback route — logs validation failures and parse errors
  • News pages — logs manifest read failures, page renders, and 404s
  • MessageBubble — logs feedback submission failures client-side

Press: CNCF — Observability in 2026: OpenTelemetry Reaches Critical Mass · The observability market exceeded $35 billion in 2026, with structured logging adoption surpassing 80% among cloud-native applications according to the Cloud Native Computing Foundation annual survey.


Hardening Follow-ups

The remaining items from the playground hardening audit have been addressed:

  • Environment variables documented in .env.example — Turnstile keys, Sentry DSN, and Upstash KV credentials now have commented entries with setup instructions
  • Vercel OIDC tokens — stale references removed from local env files; tokens rotated on Vercel dashboard
  • Flaky E2E test — the config restored on page reload mobile test no longer races with CSS transitions
  • Lint — final 2 warnings eliminated (unused configPanelHeight state from a previously commented-out DragHandle)
  • News tests — updated to expect 6 manifest entries, with proper XML entity encoding in RSS title checks

Press: The New Stack — Environment Variable Management as a Security Practice · The 2026 Verizon DBIR found that 23% of data breaches involved exposed secrets in environment files or CI/CD pipelines, making secret rotation a top compliance priority under the EU AI Act (effective August 2026).


E2E Test Coverage

Test suites have been added for the new features:

  • News — manifest parsing, file existence, date validation, RSS generation, and content rendering
  • Playground — message sending, agent rendering, stream markers, and error states
  • Feedback — API validation, rate limiting, and event logging

All 54 tests pass across 9 suites.


Press: InfoQ — AI-Assisted Test Generation Reaches Production Quality · Playwright adoption grew 55% year-over-year in 2026, becoming the most widely used E2E testing framework according to the State of JS 2026 survey, with AI-assisted test generation reducing suite maintenance time by an average of 40%.