Skip to content

Disable the daily PR report in #prs - #8

Merged
scosman merged 1 commit into
mainfrom
claude/trusting-gates-kgi5g4
Oct 14, 2026
Merged

scosman merged 1 commit into
mainfrom
claude/trusting-gates-kgi5g4

Conversation

@scosman

@scosman scosman commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

Turns off the weekday 09:30 PR report posted to #prs. The code stays in place behind a config flag.

Changes

  • report.enabled (src/features/pr_management/config.ts): new flag, default true.
  • src/features/pr_management/index.ts: the daily_report scheduled task is only registered when the flag is on.
  • nathan.config.ts: sets report: { enabled: false } for pr_management, which turns the report off in every environment.
  • Tests: added a scheduler test confirming nothing posts at 09:30 when the flag is off, and updated the config default test. docs/setup.md mentions the new option.

/nathan pr_report still DMs the report on demand. To turn the channel post back on, remove the report: { enabled: false } line.

Testing

npm run check passes: lint, typecheck, config check, import check and all tests.

🤖 Generated with Claude Code

https://claude.ai/code/session_012GG9nFRAo6ERYTVUjpDZpP


Generated by Claude Code

Adds a report.enabled flag (default true) to pr_management config and
skips scheduling the daily_report task when it's off. Production config
turns it off; /nathan pr_report still DMs the report on demand.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012GG9nFRAo6ERYTVUjpDZpP
@scosman
scosman merged commit 336202c into main Oct 14, 2026
1 check 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