Publish TwinDuel team membership - #3
Merged
Merged
Conversation
Team directories returned from validation before the binary, archive, and forbidden-token scans, so a team could publish arbitrary content that the client would then materialize. A team directory now carries nothing but its own JSON. teamMembers held bare directory names and a team's sourceHash covered only its own directory, so a member version bump rewrote the published membership while the team's own name and version stayed put, silently changing what an immutable result identity means. Members are now declared as full `<name> <version>` identities, so a member release forces a team resubmission that the existing version-bump rule can see. Members were resolved as siblings of the team directory, which forbade a cross-platform team and published whichever platform the team directory happened to sit under. Members now resolve by identity across every platform directory, bot names must be globally unique, and a team publishes its members' shared platform or `Mixed`. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Hag2ofqnbadWJqvnboJU7s
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.
Summary
teamMembersmetadata for every generated catalog entryVerification
python -m unittest discover -s tests -vpython scripts/validate_bot.py --root . --owner flemming-n-larsen --smokePart of robocode-dev/tank-royale#247.