Repository navigation
feat(ci-product): one key vocabulary for product config - #5359
Merged
Merged
Conversation
lex00
enabled auto-merge
November 20, 2026 01:06
This was referenced Nov 20, 2026
Config keys from chant's product vocabulary, with today's spellings as aliases
INTENTIUS/plywood#164
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #5343
This settles one key and one set of value words per product config setting, read from
terragucci.yml,plywood.ymlandyodel.config.tsas their main branches have them today.The reference page is
docs/src/content/docs/reference/ci-product-config.mdx, under Reference > CI Product Config Keys, where each table row gives a key with its value words and the chant field it maps to, and the spelling rules a new key follows come first. After the tables comes a stage section that each delivery mechanism adds its keys to, followed by the release command words, the audit entry kinds and the alias table.The code lives in
packages/core/src/ci-product-words.ts, exported through@intentius/chant/ci-product, wherePRODUCT_CONFIG_WORDSholds the table the page shows.productConfigProblems(config, { product, case, scopes })warns on each alias the product accepts and names the key; it fails an alias set beside its key and a value outside the key's words. It also checks thatpromotionlists distinct environment names thatenvironmentsdeclares.PRODUCT_CONFIG_WORDS_FLOORisNEXT_RELEASE, and the floor table is regenerated.For INTENTIUS/terragucci#1492 and INTENTIUS/plywood#154, the promotion order key is
promotion: [dev, staging, prod]in every product. plywood'senvironmentskeeps its stack-glob map, which the page lists as the alias offorge_environments. The product writes the list into the member'schant.config.tsenvironments. The commands are<product> promote --to <env> [--release <label>]and<product> rollback <env> --release <label>, with chant's--from,--allow-skipand--dry-run; plywood keepsrollback --env <env>as its alias. A test holds the page and the table to the same keys, aliases and words.