Skip to content

feat(cli): transcend.yml push validation helpers - #294

Draft
michaelfarrell76 wants to merge 1 commit into
mainfrom
michaelfarrell76/push-meta
Draft

feat(cli): transcend.yml push validation helpers#294
michaelfarrell76 wants to merge 1 commit into
mainfrom
michaelfarrell76/push-meta

Conversation

@michaelfarrell76

Copy link
Copy Markdown
Member

Summary

  • Add shared transcendConfigPush helpers (resource manifest, empty-section stripping, push scope derivation).
  • Add validateTranscendInputForPush / normalizeTranscendInputForPush with key hints and noop detection.
  • Wire validation into inventory push and readTranscendYaml (alias/normalization hook for resource PRs).

Split out of #293 so compliance-reports stays resource-specific.

Test plan

  • pnpm run --dir packages/cli test (covers new unit tests)
  • transcend inventory push with a valid purposes YAML still succeeds
  • Invalid attribute type / unsupported top-level key fails with a clear error
  • Pull-only assessments is flagged as noop but does not fail by default

Made with Cursor

Extract resource manifest, scope derivation, and pre-push validation
into shared helpers and wire them into inventory push.
@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@294
yarn add https://pkg.pr.new/@transcend-io/airgap.js-types@294.tgz

@transcend-io/cli

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

@transcend-io/internationalization

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

@transcend-io/privacy-types

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

@transcend-io/sdk

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

@transcend-io/type-utils

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

@transcend-io/utils

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

@transcend-io/mcp

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

@transcend-io/mcp-server-admin

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

@transcend-io/mcp-server-assessment

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

@transcend-io/mcp-server-base

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

@transcend-io/mcp-server-consent

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

@transcend-io/mcp-server-discovery

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

@transcend-io/mcp-server-docs

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

@transcend-io/mcp-server-dsr

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

@transcend-io/mcp-server-inventory

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

@transcend-io/mcp-server-preferences

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

@transcend-io/mcp-server-workflows

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

commit: d3dd9d7

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