Repository navigation
Commit 2df93e2
feat: add /codeboarding-feedback command to capture PR feedback via PostHog (#32)
* feat: add /codeboarding-feedback command to capture PR feedback via PostHog
On an issue_comment whose first word is /codeboarding-feedback, the guard
forwards the comment text and PR context to PostHog as an explicit
codeboarding_feedback_submitted event, reacts to the comment, and exits before
any checkout, engine setup, or LLM-key handling — so feedback never runs the
analysis path.
- scripts/submit_feedback.py: stdlib-only sender. Strips the command token
(newlines preserved), caps at feedback_max_chars, sends one event, swallows
all send failures, and never prints the feedback body. Mirrors Core's PostHog
key/host defaults and DO_NOT_TRACK / CODEBOARDING_TELEMETRY opt-outs.
- action.yml: feedback_command + feedback_max_chars inputs; feedback branch and
env in the guard; a 👍 Acknowledge feedback step gated on feedback_received.
- README: Feedback command subsection, Inputs rows, and opt-out docs that state
plainly this is explicit user feedback (text + PR context), not anonymous
telemetry.
- tests/test_submit_feedback.py: 26 stdlib unittest cases (extraction, multiline,
truncation, opt-outs, host override, JSON shape, no-leak).
* chore(codeboarding): update architecture analysis
* docs: trim feedback section to the command reference
---------
Co-authored-by: codeboarding[bot] <codeboarding[bot]@users.noreply.github.com>1 parent cf66577 commit 2df93e2
6 files changed
Lines changed: 934 additions & 408 deletions
File tree
- .codeboarding
- health
- scripts
- tests
0 commit comments