Skip to content

feat(team): add duplicate app safety check and documentation cleanup#11

Merged
azconger merged 3 commits intomainfrom
feature/team-api-safety
Jan 24, 2026
Merged

feat(team): add duplicate app safety check and documentation cleanup#11
azconger merged 3 commits intomainfrom
feature/team-api-safety

Conversation

@azconger
Copy link
Copy Markdown
Contributor

@azconger azconger commented Jan 24, 2026

Summary

  • Duplicate app safety check in team create command - Warns if specified apps are already assigned to other teams, preventing the cascading 500 error bug
  • Documentation cleanup - Updated api-quirks.md to focus on user-facing symptoms and workarounds

Test plan

  • Run cargo test to verify no regressions
  • Test hawkop team create "Test Team" --apps <already-assigned-app> shows warning
  • Verify documentation renders correctly

🤖 Generated with Claude Code

azconger and others added 3 commits January 19, 2026 20:13
Add --force flag and duplicate app detection to `team create --apps`,
matching the safety checks already in `team add-app` and `team set-apps`.

This prevents assigning apps that are already in other teams, which
is not supported by the StackHawk platform.

Also updates all duplicate app messaging to reflect that this is an
intentional platform constraint rather than a bug workaround.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@azconger azconger merged commit 26325df into main Jan 24, 2026
5 checks 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