Skip to content

SP-139: Document PACKAGE_SETTINGS validation layer#361

Open
Buqeta (Buqeta) wants to merge 1 commit into
mainfrom
sp-139
Open

SP-139: Document PACKAGE_SETTINGS validation layer#361
Buqeta (Buqeta) wants to merge 1 commit into
mainfrom
sp-139

Conversation

@Buqeta
Copy link
Copy Markdown
Contributor

@Buqeta Buqeta (Buqeta) commented May 26, 2026

Description

Documents the PACKAGE_SETTINGS validation layer for config validate so users and agents can discover how to run package-level checks after import.

  • Adds PACKAGE_SETTINGS to --layers help.
  • Updates the config user guide with package-settings validation scope and examples.
  • Updates the agentic development guide and asset-registry skill quick reference.

Relevant links

Checklist

  • I have self-reviewed this PR
  • I have tested the change and proved that it works in different scenarios — yarn test tests/commands/configuration-management/config-validate.spec.ts
  • I have updated docs if needed

Includes-AI-Code: true

Made with Cursor

Adds package-settings validation to the config validate help and docs so users and agents can discover how to run the new layer after import.

Includes-AI-Code: true
Co-authored-by: Cursor <cursoragent@cursor.com>
@Buqeta Buqeta (Buqeta) requested review from a team as code owners May 26, 2026 13:29
@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

| `config export --packageKeys X --unzip` | Export packages |
| `config import -d <dir> --validate --overwrite` | Validate (SCHEMA only) and import packages |
| `config validate --packageKey P --layers SCHEMA BUSINESS` | Validate a package's staging version against the SCHEMA and/or BUSINESS layers |
| `config validate --packageKey P --layers SCHEMA BUSINESS PACKAGE_SETTINGS` | Validate a package's staging version against the SCHEMA, BUSINESS, and/or PACKAGE_SETTINGS layers |
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be worth while adding an example with running package settings without business

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.

2 participants