feat(governance): add source traceability fields and Bats test infrastructure#19
Merged
feat(governance): add source traceability fields and Bats test infrastructure#19
Conversation
… cases - Add item 4 'Multi-CR branch coordination' to the enables list in Motivation and Background - Add item 5 'Known-unknowns management' to the enables list in Motivation and Background - Add two new bullet points to Change Drivers covering multi-CR sequential consistency and CR size concerns Co-authored-by: Junie <junie@jetbrains.com>
… fields (phase 1) - Add source-branch and source-commit frontmatter fields to CR template - Add SOURCE TRACEABILITY section (section 8) to CR template guidelines - Add source-branch and source-commit frontmatter fields to ADR template - Update SKILL.md workflow checklists with traceability capture steps - Add Source Traceability documentation section to cr-guide.md - Add Source Traceability documentation section to adr-guide.md Co-authored-by: Junie <junie@jetbrains.com>
…e CR-0011 - Created docs/cr/CR-0013-bats-test-infrastructure.md (424 lines) proposing Bats test infrastructure and governance template validation tests deferred by CR-0011 - Updated CR-0011 status from proposed to implemented with date 2026-03-09 - Updated docs/llms.txt with CR-0013 entry Co-authored-by: Junie <junie@jetbrains.com>
…ification Co-authored-by: Junie <junie@jetbrains.com>
…late tests - Add npm:bats to mise.toml for test runner dependency - Create tests/governance/test_helpers/setup.bash with path resolution helpers - Create tests/governance/test_cr_template.bats with source-branch and source-commit validation - Create tests/governance/test_adr_template.bats with source-branch and source-commit validation - Create .github/workflows/test.yml to run bats tests on PRs targeting main - All 4 tests pass with bats tests/ --recursive
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.
Summary
Implements CR-0011 (source-branch/source-commit traceability fields) and CR-0013 (Bats test infrastructure).
CR-0011: Source Traceability
source-branchandsource-commitfrontmatter fields to CR and ADR templatesCR-0013: Bats Test Infrastructure
batsdependency tomise.tomltests/governance/test_helpers/setup.bashhelpertests/governance/test_cr_template.bats(2 tests)tests/governance/test_adr_template.bats(2 tests).github/workflows/test.ymlCI workflow targeting PRs to mainVerification
npx bats --recursive tests/