Repository navigation
feat(bootstrap): propose review.trusted_authors on first configuration - #68
Merged
Merged
Conversation
Nothing proposed review.trusted_authors, so a first cc-orchestrator run could open and review a pull request and then block at the first round that recovered findings from its comments. cc-provider-bootstrap now includes it in the configuration it already shows for confirmation, set to the login the code-host tooling is authenticated as: the identity the stages publish with. It is never written without confirmation or guessed, and an existing list is left unchanged. Align the README quick start and the getting-started, configuration, review-cycle and skills pages with that behaviour. Closes #67
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 #67
Summary
cc-provider-bootstrapnow proposesreview.trusted_authorswhen the key is absent. The documentation now matches.Behaviour change (skill)
skills/cc-provider-bootstrap/SKILL.md:review.trusted_authors.gh api user --jq .login; on Bitbucket, the account the connector or API tooling reports. It is never written without confirmation, and it is never guessed: if no identity can be read, the skill asks. An existing list is left unchanged, and the skill only notes when the current login is missing from it.BLOCKED.The review and resolution skills are unchanged. An absent or empty list still blocks recovery.
Documentation
README.mdquick start: no longer says the step can be skipped as if the file were created automatically. It now says the bootstrap proposes the file, includingtrusted_authors, and writes it only on confirmation.docs/getting-started.md,docs/configuration.md,docs/review-cycle.md,docs/skills.md: describe the proposal. The configuration table default reads "empty (recovery blocks); proposed by bootstrap when absent".CHANGELOG.md:[Unreleased]entry.Verification
python3 scripts/validate-package.py: VALID (13 skills, shared sections in sync). The edited sections ofcc-provider-bootstraparen't among the duplicated ones.python3 -m unittest discover -s tests -q: OK.gh api user --jq .loginreturns the authenticated login (datacas) in this environment..code-cycle.yml. The change is to skill instructions, and no automated test exercises a skill's conversation.