[PR #787] [MERGED] web: add agent-first privacy declaration workflow #785

Closed
opened 2026-02-26 22:32:33 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/rudrankriyam/App-Store-Connect-CLI/pull/787
Author: @rudrankriyam
Created: 2/26/2026
Status: Merged
Merged: 2/26/2026
Merged by: @rudrankriyam

Base: mainHead: feat/web-privacy-workflow


📝 Commits (7)

  • 91c3146 web: add agent-first app privacy workflow
  • e46a849 web: harden privacy pull/plan edge cases
  • aa0ecaa web: extend privacy workflow parity and observability
  • a1ce047 web: address privacy review follow-ups
  • 95c5357 web: harden privacy declaration validation
  • 5294a2a web: canonicalize tracking privacy tuples
  • bf87362 web: plan deletes for malformed remote usages

📊 Changes

9 files changed (+3636 additions, -1 deletions)

View changed files

📝 README.md (+14 -0)
internal/cli/cmdtest/web_privacy_commands_test.go (+137 -0)
📝 internal/cli/shared/errfmt/errfmt.go (+1 -1)
📝 internal/cli/web/web.go (+2 -0)
internal/cli/web/web_privacy.go (+1534 -0)
internal/cli/web/web_privacy_test.go (+1005 -0)
internal/web/privacy.go (+485 -0)
internal/web/privacy_test.go (+457 -0)
📝 internal/web/review.go (+1 -0)

📄 Description

Summary

  • add experimental asc web privacy command group with pull, plan, apply, and publish subcommands using existing web-session auth flags
  • implement internal/web/privacy.go client support for app data usages and publish-state endpoints, plus deterministic tuple normalization and diff planning
  • add CLI/client/cmdtest coverage and update README + privacy error hinting to point users to asc web privacy

Test plan

  • go test ./internal/web ./internal/cli/web ./internal/cli/cmdtest
  • make format
  • make lint
  • ASC_BYPASS_KEYCHAIN=1 make test

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/rudrankriyam/App-Store-Connect-CLI/pull/787 **Author:** [@rudrankriyam](https://github.com/rudrankriyam) **Created:** 2/26/2026 **Status:** ✅ Merged **Merged:** 2/26/2026 **Merged by:** [@rudrankriyam](https://github.com/rudrankriyam) **Base:** `main` ← **Head:** `feat/web-privacy-workflow` --- ### 📝 Commits (7) - [`91c3146`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/91c3146e80d63688337168a62f78340ad28931fa) web: add agent-first app privacy workflow - [`e46a849`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/e46a84935eaaea0adc55014f812d946565e836ed) web: harden privacy pull/plan edge cases - [`aa0ecaa`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/aa0ecaa9a1c921554774e11c8422401bafd4d782) web: extend privacy workflow parity and observability - [`a1ce047`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/a1ce047d2bcc135d4e60e0e575c594713b38625e) web: address privacy review follow-ups - [`95c5357`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/95c535774b0597342a80f3dae29c6a4ff2105904) web: harden privacy declaration validation - [`5294a2a`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/5294a2a19ae3593d85f78063ba5f443d3aa254f0) web: canonicalize tracking privacy tuples - [`bf87362`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/bf87362ba3f6e36aa846572e57b7fd064bbb4d25) web: plan deletes for malformed remote usages ### 📊 Changes **9 files changed** (+3636 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+14 -0) ➕ `internal/cli/cmdtest/web_privacy_commands_test.go` (+137 -0) 📝 `internal/cli/shared/errfmt/errfmt.go` (+1 -1) 📝 `internal/cli/web/web.go` (+2 -0) ➕ `internal/cli/web/web_privacy.go` (+1534 -0) ➕ `internal/cli/web/web_privacy_test.go` (+1005 -0) ➕ `internal/web/privacy.go` (+485 -0) ➕ `internal/web/privacy_test.go` (+457 -0) 📝 `internal/web/review.go` (+1 -0) </details> ### 📄 Description ## Summary - add experimental `asc web privacy` command group with `pull`, `plan`, `apply`, and `publish` subcommands using existing web-session auth flags - implement `internal/web/privacy.go` client support for app data usages and publish-state endpoints, plus deterministic tuple normalization and diff planning - add CLI/client/cmdtest coverage and update README + privacy error hinting to point users to `asc web privacy` ## Test plan - [x] `go test ./internal/web ./internal/cli/web ./internal/cli/cmdtest` - [x] `make format` - [x] `make lint` - [x] `ASC_BYPASS_KEYCHAIN=1 make test` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 22:32:33 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/App-Store-Connect-CLI#785
No description provided.