Skip to content

feat(audience): add new and archive commands#729

Closed
meryldakin wants to merge 1 commit intomeryldakin/audience-filesystem-commandsfrom
meryldakin/audience-creation-deletion
Closed

feat(audience): add new and archive commands#729
meryldakin wants to merge 1 commit intomeryldakin/audience-filesystem-commandsfrom
meryldakin/audience-creation-deletion

Conversation

@meryldakin
Copy link
Contributor

Summary

  • Add audience new: Scaffold a new audience with interactive prompts for type (static/dynamic)
  • Add audience archive: Archive an audience (affects ALL environments, requires confirmation)
  • Add audience generator for scaffolding new audiences

Stack

This is PR 4 of 4 in the audience resource implementation stack:

  1. Foundation - Types, API methods, resource infrastructure
  2. Read Commands - list, get, open commands
  3. Filesystem Commands - pull, push, validate commands + marshal layer
  4. Creation/Deletion (this PR) - new, archive commands + generator

Depends on: #728

Special Notes

The archive command is unique because it affects ALL environments. It includes:

  • Confirmation prompt (can be bypassed with --force flag)
  • Clear warning message about the cross-environment impact

Test Plan

  • Tests included for both commands
  • Linting passes

🤖 Generated with Claude Code

Copy link
Contributor Author

meryldakin commented Mar 9, 2026

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@meryldakin meryldakin marked this pull request as draft March 9, 2026 14:11
@meryldakin meryldakin force-pushed the meryldakin/audience-filesystem-commands branch from e88e4ae to 48a559a Compare March 9, 2026 14:13
@meryldakin meryldakin force-pushed the meryldakin/audience-creation-deletion branch from ee0aa27 to 254502c Compare March 9, 2026 14:13
@meryldakin meryldakin marked this pull request as ready for review March 9, 2026 14:13
@meryldakin meryldakin force-pushed the meryldakin/audience-creation-deletion branch from 254502c to e625ffe Compare March 9, 2026 14:20
@meryldakin meryldakin force-pushed the meryldakin/audience-filesystem-commands branch from 48a559a to dfca967 Compare March 9, 2026 14:20
Add audience creation and deletion commands:
- audience new: Scaffold a new audience with interactive prompts for type (static/dynamic)
- audience archive: Archive an audience (affects ALL environments, requires confirmation)

Supporting changes:
- Add audience generator for scaffolding new audiences

Includes full test coverage for both commands.
@meryldakin meryldakin force-pushed the meryldakin/audience-creation-deletion branch from e625ffe to 21a5cc2 Compare March 9, 2026 14:32
@meryldakin meryldakin force-pushed the meryldakin/audience-filesystem-commands branch from dfca967 to d7d638b Compare March 9, 2026 14:32
@meryldakin
Copy link
Contributor Author

Superseded by #730 (combined PR)

@meryldakin meryldakin closed this Mar 9, 2026
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