Skip to content

feat(bootstrap): propose review.trusted_authors on first configuration - #68

Merged
datacas merged 1 commit into
mainfrom
issue-67-bootstrap-trusted-authors
Sep 24, 2026
Merged

datacas merged 1 commit into
mainfrom
issue-67-bootstrap-trusted-authors

Conversation

@datacas

@datacas datacas commented Sep 24, 2026

Copy link
Copy Markdown
Owner

Closes #67

Summary

cc-provider-bootstrap now proposes review.trusted_authors when the key is absent. The documentation now matches.

Behaviour change (skill)

skills/cc-provider-bootstrap/SKILL.md:

  • The configuration shape includes review.trusted_authors.
  • A new paragraph under Configuration explains the new behaviour. When the key is absent, the proposal includes the login the configured code-host tooling is authenticated as, since that is the identity the cycle's stages publish with. On GitHub that is 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.
  • Startup workflow step 4: the proposal includes the key. If the user declines, the skill reports that rounds which recover findings will stop with BLOCKED.

The review and resolution skills are unchanged. An absent or empty list still blocks recovery.

Documentation

  • README.md quick start: no longer says the step can be skipped as if the file were created automatically. It now says the bootstrap proposes the file, including trusted_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 of cc-provider-bootstrap aren't among the duplicated ones.
  • python3 -m unittest discover -s tests -q: OK.
  • Relative links and anchors across README, docs, and CONTRIBUTING/SECURITY/CHANGELOG: 0 broken.
  • gh api user --jq .login returns the authenticated login (datacas) in this environment.
  • Not verified: a live first-run bootstrap in a repository without .code-cycle.yml. The change is to skill instructions, and no automated test exercises a skill's 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
@datacas
datacas merged commit f1667d2 into main Sep 24, 2026
4 checks passed
@datacas
datacas deleted the issue-67-bootstrap-trusted-authors branch October 6, 2026 07:53
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.

Propose review.trusted_authors during provider bootstrap

1 participant