Skip to content

feat(cli): complete processing-activities RoPA pull/push - #291

Draft
michaelfarrell76 wants to merge 3 commits into
mainfrom
michaelfarrell76/processing-activities-ropa-kebab
Draft

feat(cli): complete processing-activities RoPA pull/push#291
michaelfarrell76 wants to merge 3 commits into
mainfrom
michaelfarrell76/processing-activities-ropa-kebab

Conversation

@michaelfarrell76

@michaelfarrell76 michaelfarrell76 commented Jul 9, 2026

Copy link
Copy Markdown
Member

Summary

  • Extend SDK sync for processing-activities RoPA: create by title (CreateProcessingActivityInput: title + description only), then update full relationships (sub-purposes, categories, regions, teams, subjects, controllerships, retention, DPIA); soft-warn and skip unresolved teamNames.
  • Add hasTranscendConfigSection / derivePushScopesFromTranscendInput; empty processing-activities: [] no longer requests ManageDataMap scopes. Schema regen + README scopes + changeset for cli+sdk.
  • Keep nested processing-activity YAML keys camelCase (matching existing inventory codecs).

Codec vs GraphQL

Field CreateProcessingActivityInput UpdateProcessingActivityInput YAML
title, description title, description
securityMeasureDetails, controllerships, retention*, DPIA* camelCase
storage/transfer regions storageRegions, transferRegions
dataSiloTitles, dataSubjectTypes, teamNames, ownerEmails camelCase
processingPurposeSubCategoryInputs, dataSubCategoryInputs, saaSCategoryTitles processingSubPurposes, dataSubCategories, saaSCategories
attributes attributes

Test plan

  • SDK unit tests for toProcessingActivityUpdateInput (TWDC CCTV fixture) + filterUnresolvedTeamNames
  • CLI unit tests for hasTranscendConfigSection / empty processing-activities: [] scope skip
  • transcend inventory push --file=examples/processing-activities.yml against a sandbox with Manage Data Map
  • Pull back processingActivities and confirm CCTV entry round-trips

Made with Cursor

Migrate processing-activities YAML to kebab-case, sync full UpdateProcessingActivity relationships after create-by-title, soft-warn unresolved team-names, and skip ManageDataMap for empty processing-activities: [].
Avoid flaky pre-push failures when dynamic import of request/approve is slow under turbo load.
@pkg-pr-new

pkg-pr-new Bot commented Jul 9, 2026

Copy link
Copy Markdown

Open in StackBlitz

@transcend-io/airgap.js-types

pnpm add https://pkg.pr.new/@transcend-io/airgap.js-types@291
yarn add https://pkg.pr.new/@transcend-io/airgap.js-types@291.tgz

@transcend-io/cli

pnpm add https://pkg.pr.new/@transcend-io/cli@291
yarn add https://pkg.pr.new/@transcend-io/cli@291.tgz

@transcend-io/internationalization

pnpm add https://pkg.pr.new/@transcend-io/internationalization@291
yarn add https://pkg.pr.new/@transcend-io/internationalization@291.tgz

@transcend-io/privacy-types

pnpm add https://pkg.pr.new/@transcend-io/privacy-types@291
yarn add https://pkg.pr.new/@transcend-io/privacy-types@291.tgz

@transcend-io/sdk

pnpm add https://pkg.pr.new/@transcend-io/sdk@291
yarn add https://pkg.pr.new/@transcend-io/sdk@291.tgz

@transcend-io/type-utils

pnpm add https://pkg.pr.new/@transcend-io/type-utils@291
yarn add https://pkg.pr.new/@transcend-io/type-utils@291.tgz

@transcend-io/utils

pnpm add https://pkg.pr.new/@transcend-io/utils@291
yarn add https://pkg.pr.new/@transcend-io/utils@291.tgz

@transcend-io/mcp

pnpm add https://pkg.pr.new/@transcend-io/mcp@291
yarn add https://pkg.pr.new/@transcend-io/mcp@291.tgz

@transcend-io/mcp-server-admin

pnpm add https://pkg.pr.new/@transcend-io/mcp-server-admin@291
yarn add https://pkg.pr.new/@transcend-io/mcp-server-admin@291.tgz

@transcend-io/mcp-server-assessment

pnpm add https://pkg.pr.new/@transcend-io/mcp-server-assessment@291
yarn add https://pkg.pr.new/@transcend-io/mcp-server-assessment@291.tgz

@transcend-io/mcp-server-base

pnpm add https://pkg.pr.new/@transcend-io/mcp-server-base@291
yarn add https://pkg.pr.new/@transcend-io/mcp-server-base@291.tgz

@transcend-io/mcp-server-consent

pnpm add https://pkg.pr.new/@transcend-io/mcp-server-consent@291
yarn add https://pkg.pr.new/@transcend-io/mcp-server-consent@291.tgz

@transcend-io/mcp-server-discovery

pnpm add https://pkg.pr.new/@transcend-io/mcp-server-discovery@291
yarn add https://pkg.pr.new/@transcend-io/mcp-server-discovery@291.tgz

@transcend-io/mcp-server-docs

pnpm add https://pkg.pr.new/@transcend-io/mcp-server-docs@291
yarn add https://pkg.pr.new/@transcend-io/mcp-server-docs@291.tgz

@transcend-io/mcp-server-dsr

pnpm add https://pkg.pr.new/@transcend-io/mcp-server-dsr@291
yarn add https://pkg.pr.new/@transcend-io/mcp-server-dsr@291.tgz

@transcend-io/mcp-server-inventory

pnpm add https://pkg.pr.new/@transcend-io/mcp-server-inventory@291
yarn add https://pkg.pr.new/@transcend-io/mcp-server-inventory@291.tgz

@transcend-io/mcp-server-preferences

pnpm add https://pkg.pr.new/@transcend-io/mcp-server-preferences@291
yarn add https://pkg.pr.new/@transcend-io/mcp-server-preferences@291.tgz

@transcend-io/mcp-server-workflows

pnpm add https://pkg.pr.new/@transcend-io/mcp-server-workflows@291
yarn add https://pkg.pr.new/@transcend-io/mcp-server-workflows@291.tgz

commit: 8d54131

Comment thread packages/cli/src/codecs.ts
Revert kebab-case nested field renames in codecs/YAML/SDK while keeping
RoPA sync, empty-section scope skip, and teamNames soft-warn behavior.
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