Skip to content

feat: attribution footer, interactive playground, and config extension#20

Merged
GodsBoy merged 1 commit intomainfrom
feat/viral-growth-phase1
Mar 31, 2026
Merged

feat: attribution footer, interactive playground, and config extension#20
GodsBoy merged 1 commit intomainfrom
feat/viral-growth-phase1

Conversation

@GodsBoy
Copy link
Copy Markdown
Owner

@GodsBoy GodsBoy commented Mar 31, 2026

Summary

  • Attribution footer: All AI-generated comments (issue triage, PR summaries, release notes, code reviews) now include a configurable "Powered by RepoKeeper" footer with optional "Try it live" playground link. Default-on, opt-out via attribution.enabled: false. Duplicate detection and inline review comments intentionally excluded.
  • Interactive playground: New GET /playground serves a self-contained HTML page where visitors can paste an issue or PR diff and get instant AI output. POST /playground/preview with dedicated rate limiting (10 req/15 min, separate from webhook limiter). Input validation, error handling, 503 responses for AI provider issues.
  • Config extension: New attribution config block with enabled (boolean, default true) and playgroundUrl (optional string). Not included in per-repo YAML overrides by design.
  • Existing footer migration: Three hardcoded footer strings replaced with shared withAttribution() utility.

Test plan

  • pnpm build passes (zero TS errors)
  • pnpm test passes (131 tests, all green)
  • New tests: attribution utility (5), playground routes (8), responder attribution (3), summariser attribution (3)
  • Verified attribution disabled path suppresses footer
  • Verified duplicate detection comment does NOT get footer
  • Verified playground returns 400 for invalid input, 503 for AI errors

@GodsBoy GodsBoy changed the title feat: viral growth Phase 1 — attribution footer, interactive playground, config feat: attribution footer, interactive playground, and config extension Mar 31, 2026
@GodsBoy GodsBoy force-pushed the feat/viral-growth-phase1 branch from 4428db6 to f2cec3c Compare March 31, 2026 06:52
@GodsBoy GodsBoy force-pushed the feat/viral-growth-phase1 branch from f2cec3c to 72c6045 Compare March 31, 2026 06:57
@GodsBoy GodsBoy merged commit 7120af0 into main Mar 31, 2026
2 checks passed
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