Skip to content

Retire removed bots in the catalog and keep its history - #15

Merged
flemming-n-larsen merged 1 commit into
mainfrom
retire-removed-bots
Nov 15, 2026
Merged

flemming-n-larsen merged 1 commit into
mainfrom
retire-removed-bots

Conversation

@flemming-n-larsen

Copy link
Copy Markdown
Contributor

Rehearsal in the test Rumble of the tooling needed to retire bots from the production Rumble.

Problem

  • Deleting a bot's directory left its catalog entry active, so Rumble clients would fail on the missing directory.
  • Regenerating the catalog silently dropped superseded entries (seen on 2026-10-27 in production, when RumbleTestScout's history disappeared).
  • Catalog verification only accepted a source PR that changed exactly one bot directory, so a PR that removes several bots could not publish.

Changes

  • scripts/validate_bot.py: an active entry whose bot directory is gone becomes retired; every non-active entry is kept as history; activeSlots counts only present bots, while retired names stay reserved for their owner.
  • moderation/verify_catalog.py: accepts a source PR that only deletes bot directories, after checking they are gone from main and that no unpublished bot change would be attributed to it.
  • Tests: the validator fixture builds its Python bot from the official template instead of the live Orbit; new tests cover retirement, history retention and removal-only verification.
  • GOVERNANCE.md: how moderators retire bots.

Next

After merge, a removal-only PR for TestEcho and TestEchoTwo rehearses escalation, publication and verification before the same change goes to production.

Deleting a bot's directory left its catalog entry "active", so Rumble clients
would fail on the missing directory. Catalog generation now marks such entries
"retired". It also keeps superseded and other non-active entries on every
regeneration; before, the next regeneration silently dropped them. A retired
bot's name stays reserved for its owner but no longer counts as an active slot.

Catalog verification accepts a merged source PR that only deletes bot
directories, after checking they are gone from main and that no unpublished bot
changes would be attributed to it.

The validator tests build their Python fixture bot from the official template
instead of relying on the live Orbit bot, which is about to be retired.
@tank-royale-rumble-moderator-test

Copy link
Copy Markdown
Contributor

@robocode-dev/rumble-moderators Moderation needs your decision for e257f1a2ba93: Non-bot or protected file changed: GOVERNANCE.md

The required check stays pending. After reviewing, use /moderation approve <reason> or request changes.

@flemming-n-larsen
flemming-n-larsen merged commit de7e804 into main Nov 15, 2026
3 of 4 checks passed
@flemming-n-larsen
flemming-n-larsen deleted the retire-removed-bots branch November 15, 2026 22:09
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