Skip to content

feat(compliance): list undeclared features after validation#48

Open
grdsdev wants to merge 1 commit into
mainfrom
claude/mystifying-lehmann-f59e5e
Open

feat(compliance): list undeclared features after validation#48
grdsdev wants to merge 1 commit into
mainfrom
claude/mystifying-lehmann-f59e5e

Conversation

@grdsdev

@grdsdev grdsdev commented Jun 26, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Adds findMissingFeatureIds to compliance.ts — returns feature IDs in the canonical spec that are absent from an SDK's compliance file, sorted alphabetically.
  • compliance-cli.ts (the validate-compliance script) now prints these missing IDs to stdout after a successful validation, grouped under a count line.
  • Missing features continue to default to not_implemented; the exit code is unchanged — this is purely informational output.

Example output

OK — compliance file is valid.

47 feature(s) not declared (treated as not_implemented):
  - auth.mfa.enroll
  - auth.mfa.unenroll
  - storage.buckets.list
  ...

Test plan

  • npm test passes (4 new tests added for findMissingFeatureIds)
  • Validate against a real compliance file that omits some features and confirm the list appears
  • Validate against a complete compliance file and confirm no list is printed

When validate-compliance runs, any feature IDs absent from the
sdk-compliance.yaml file are now printed to stdout so SDK owners
can see at a glance what they haven't declared yet (those features
default to not_implemented silently today).
@grdsdev grdsdev requested a review from a team as a code owner June 26, 2026 11:24
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