Skip to content

Commit 633a7af

Browse files
detainclaude
andcommitted
github: temporarily route detain/sugarcraft + sugarcraft/* to notifications
User-requested temporary routing change — moves both ends of the sugarcraft upstream→downstream pair from int-dev-announce to notifications. Will be reverted shortly. Both sides moved together so the bot's action-triggered push attribution (notif:wfactive lookup → re-keyed dedup_key) keeps nesting the sugarcraft/* sync pushes under the parent detain/sugarcraft commit. The bot's trackable storage is keyed by room, so splitting the pair across rooms would break the nesting. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 1d5e61b commit 633a7af

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

web/github.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,13 @@ function addUniversalRepoFields(array $whitelist): array
168168

169169
function pickRoom(string $repo): string
170170
{
171-
if (strpos($repo, 'sugarcraft/') === 0
172-
|| in_array($repo, ['detain/CandyCore', 'detain/scoop-emulators', 'detain/detain', 'detain/sugarcraft', 'detain/watchable', 'detain/php-dup-finder'], true)) {
171+
// TEMP: detain/sugarcraft + sugarcraft/* routed to `notifications` for
172+
// now (was `int-dev-announce`). Move back when the experiment is done.
173+
// Both sides of the upstream→downstream pair are kept in the same room
174+
// so the bot's action-triggered push attribution can still nest the
175+
// sugarcraft/* sync pushes under the detain/sugarcraft parent commit
176+
// (trackable storage is keyed by room).
177+
if (in_array($repo, ['detain/CandyCore', 'detain/scoop-emulators', 'detain/detain', 'detain/watchable', 'detain/php-dup-finder'], true)) {
173178
return 'int-dev-announce';
174179
}
175180
return 'notifications';

0 commit comments

Comments
 (0)