Skip to content

docs: add feedback hub and security policy - #166

Merged
blimmer merged 4 commits into
mainfrom
docs/feedback-link-issues
May 18, 2026
Merged

blimmer merged 4 commits into
mainfrom
docs/feedback-link-issues

Conversation

@blimmer

@blimmer blimmer commented May 18, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Two related repo-metadata additions after disabling GitHub Discussions and the 12-discussion → issue migration (#156–#164):

  1. Feedback hub. Replace community.mdx (Slack + email) with a feedback.mdx page structured by intent: bug report, feature request, Slack for open-ended questions, email as fallback. The annotation UI's primary "Feedback" CTA now lands here instead of the now-disabled discussions/categories/ideas page. A native Astro redirect (/community/ → /feedback/) covers stale bookmarks.
  2. Security policy. Add a top-level SECURITY.md so GitHub surfaces a "Security" policy tab and external researchers have a clear private-disclosure path. Points at GitHub's Private Vulnerability Reporting (already enabled on the repo) and [email protected]. Commits to acknowledging within 3 business days; coordinated disclosure with no fixed deadline.

Review focus

  • Replacing community with feedback vs. keeping both. The old page was 15 lines (Slack + email) and there was no existing "Feedback" surface. Folding into one page felt cleaner than letting two near-duplicates drift; the native Astro redirects config emits an HTML stub at /community/index.html so external bookmarks keep working.
  • FEEDBACK_URL constant in @contextbridge/shared/links alongside DOCS_URL / QUICKSTART_URL so the annotation UI imports it the same way.
  • SECURITY.md response-time commitment. Picked 3 business days as something keepable for a small team. Easy to tighten later, harder to loosen without looking sloppy.

Commits

  • d4edacd — docs(website): replace community page with a feedback hub
  • 0b6d9fd — docs(website): drop template-duplicating prose from feedback page (review fix)
  • 03ed981 — docs: add SECURITY.md with private vulnerability reporting guidance

Will squash before merge if preferred.

Test plan

  • just verify (Prettier + typecheck across 11 packages + ESLint + tests — 327 Bun + 88 vitest pass; no router collision warnings)
  • astro build succeeds; dist/community/index.html emits the meta-refresh redirect to /feedback/
  • Visit a deployed preview, click the annotation UI's "Feedback" button, land on /feedback/
  • Visit /community/ on the deployed preview, confirm redirect to /feedback/
  • Confirm GitHub's "Security" tab on the repo now links to SECURITY.md

GitHub Discussions was turned off for the repo after the 12 open ideas
were migrated to issues. The annotation UI's "Feedback" CTA pointed at
the now-disabled discussions/categories/ideas page.

Replace the small community.mdx page (Slack + email) with a feedback.mdx
page structured by intent: bug report, feature request, Slack for
open-ended questions, email as fallback. The annotation UI's Feedback
button now lands users on this page instead of a raw issues list.

- Rename packages/website/src/content/docs/community.mdx -> feedback.mdx
  and rewrite content into sections by intent.
- astro.config.mjs: relabel the sidebar entry, add a native Astro
  redirect from /community/ to /feedback/ so existing bookmarks keep
  working (emits an HTML stub with meta-refresh + canonical link).
- packages/shared/src/links.ts: replace GITHUB_DISCUSSIONS_URL with
  FEEDBACK_URL = https://plan.contextbridge.ai/feedback/.
- packages/annotation: route the header's feedbackHref through the new
  constant, update the test accordingly.
@blimmer
blimmer force-pushed the docs/feedback-link-issues branch from 0cdbab2 to d4edacd Compare May 18, 2026 16:29
@blimmer blimmer changed the title docs(annotation): point feedback button at issues, not discussions docs(website): replace community page with a feedback hub May 18, 2026
blimmer added 2 commits May 18, 2026 10:33
Review feedback: the bug/feature descriptions told users the same
things the issue forms already require (version, harness, repro for
bugs; problem-first framing for features). Drop the coaching prose
and let the section header + the templated form carry the load.

Soften the intro from "open source and developed in the open" to
something warmer.
Adds a top-level SECURITY.md so GitHub surfaces a Security policy tab
and researchers have a clear, private path for disclosure.

The policy points researchers at two private channels:

- GitHub Private Vulnerability Reporting (already enabled on the repo)
  for coordinated, repo-tracked disclosure.
- [email protected] for email reports.

Commits the team to acknowledging reports within 3 business days and
coordinating a disclosure timeline per-issue (no fixed deadline).
@blimmer blimmer changed the title docs(website): replace community page with a feedback hub docs: add feedback hub and security policy May 18, 2026
@blimmer
blimmer marked this pull request as ready for review May 18, 2026 17:14
@blimmer
blimmer requested a review from jcarver989 as a code owner May 18, 2026 17:14
export const QUICKSTART_URL = 'https://plan.contextbridge.ai/quickstart/';
export const SLACK_COMMUNITY_URL = 'https://go.contextbridge.ai/join-community';
export const GITHUB_REPO_URL = 'https://github.com/contextbridge/planbridge';
export const GITHUB_DISCUSSIONS_URL = 'https://github.com/contextbridge/planbridge/discussions/categories/ideas';

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we're not using discussions anymore, linking to a top-level page we own.

Comment thread SECURITY.md Resolved
Per review feedback from @jcarver989: the phrase is so common across
corporate security policies that it reads as a meme. Drop it and let
the next sentence carry the message.
@blimmer
blimmer enabled auto-merge (squash) May 18, 2026 17:18
@blimmer
blimmer merged commit ee2904c into main May 18, 2026
12 checks passed
@blimmer
blimmer deleted the docs/feedback-link-issues branch May 18, 2026 17:20
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.

2 participants