A relayed report can be pulled into a local inbox and closed out again - #44
Merged
Conversation
ADDED: discord-reports/ingest.sh pulls new #ppc-reports threads into a gitignored local inbox/<thread>/, one folder per report (report.md, screenshot.png, meta.json), tracking "already ingested" via a reaction on the starter message rather than local state so a wiped inbox re-downloads instead of silently skipping. ADDED: discord-reports/resolve.sh archives and locks the Discord thread for every inbox entry marked resolved locally, and with --cleanup --yes purges local copies closed longer than DISCORD_REPORTS_CLEANUP_DAYS (default 90) without touching the thread itself. ADDED: discord-reports-ingest and discord-reports-resolve skills, and a CLAUDE.md pointer to them alongside the other recurring-workflow skills. ADDED: discord-reports/.env.example and README.md documenting bot setup, including that the Message Content privileged intent must be enabled — Discord strips content/attachments/embeds from REST responses for messages the bot didn't author without it, so a report reads as empty otherwise.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Review notes
ADDED: discord-reports/ingest.sh pulls new #ppc-reports threads into a gitignored local
inbox//, one folder per report (report.md, screenshot.png, meta.json), tracking
"already ingested" via a reaction on the starter message rather than local state so a wiped
inbox re-downloads instead of silently skipping.
ADDED: discord-reports/resolve.sh archives and locks the Discord thread for every inbox entry
marked resolved locally, and with --cleanup --yes purges local copies closed longer than
DISCORD_REPORTS_CLEANUP_DAYS (default 90) without touching the thread itself.
ADDED: discord-reports-ingest and discord-reports-resolve skills, and a CLAUDE.md pointer to
them alongside the other recurring-workflow skills.
ADDED: discord-reports/.env.example and README.md documenting bot setup, including that the
Message Content privileged intent must be enabled — Discord strips content/attachments/embeds
from REST responses for messages the bot didn't author without it, so a report reads as empty
otherwise.
🤖 Generated with Claude Code