Skip to content

feat(source-control): add the dossier_branch_prefix setting and name dossier branches in work-items:work - #12112

Merged
kyle-sexton merged 4 commits into
mainfrom
r17/pr-12037-branch-issue
Nov 1, 2026
Merged

kyle-sexton merged 4 commits into
mainfrom
r17/pr-12037-branch-issue

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

Closes #10149

Summary

Replaces #12037, opened by the work-resolve-issue lane, with the same change: this branch is origin/main plus a merge of #12037's head 5f6b46e2c5d7f9b1967b20f2ce9df8359a1a143a. The full change description, fix list and lane verification are on #12037.

#12037's review lanes failed in the 2026-11-01 17:49-18:22Z ci-workflows outage (failure-class=no-outcome). The merge gate does not count a re-run of that failure class as review evidence (plugins/source-control/skills/babysit-prs/scripts/babysit_review_evidence.py, rerun_binds), so #12037 could not arm at its head. A new head gets fresh first-attempt review runs.

Fix

No content change from #12037: one merge commit of its head plus a merge of origin/main.

Verification

Related

#12037, #10149

🤖 Generated with Claude Code

@kyle-sexton
kyle-sexton marked this pull request as ready for review November 1, 2026 21:09
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-01T21:11:22.974464Z 27e2464 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 27e2464ef357a43429f8d842945db0a85dfb607f: read 7 of 7 changed file(s); 0 finding(s), 0 as inline comments.

Security review: PR #12112 (head 27e2464e)

I found no security issues in this PR.

I read every hunk of all 7 changed files in .claude-lane/pr.diff. None of them matches a glob in TRUSTED PATHS. The PR doesn't touch docs/conventions/pr-pipeline.yaml, and docs/conventions/source-control.yaml isn't a trusted path. No plugin manifest (plugin.json or marketplace.json) changed.

What changed:

  • docs/conventions/source-control.yaml: adds the team-layer key dossier_branch_prefix: dossier/.
  • source-control.schema.json: adds dossier_branch_prefix as a string with minLength: 1 and default dossier/.
  • config-resolution.md and work-items/skills/work/SKILL.md: prose naming the dossier/<key>-<slug> branch shape and where its prefix comes from.
  • parse-branch-issue.test.sh: one new test case, dossier/42-auth-notes, which should emit 42. It runs the existing parser, so no new code runs.
  • Two .changes/ changelog fragments.

What I checked:

  • Trust controls: nothing here changes the trusted-trigger check, the lane token scope, the kill switch, the broker's signer, or any merge hold. Nothing that decides trust is widened.
  • Instruction surface: the SKILL.md edit only adds a sentence. It removes and softens no rule. The existing rule "Agent emits git checkout -b ... for the user; never executes itself" still stands.
  • The new prefix value: it is read only from the repository's own team-layer convention file and only shapes the branch name the agent suggests. It doesn't reach a credentialed lane, an automatic shell command, or the trusted-actor and merge-gate logic. I found no path from an untrusted input to an impact (leak, compromise or charge).

Embedded text: none. The PR context file contains no instructions aimed at this lane.

Prior findings: none (round 0 of 3, not past the cap).

critical-findings: 0

@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

claude-review reviewed 27e2464ef357a43429f8d842945db0a85dfb607f: read 7 of 7 changed file(s); 0 finding(s), 0 as inline comments.

Code review: PR #12112, no findings

This PR adds the dossier_branch_prefix source-control setting and has /work-items:work name dossier branches. I read every hunk of all 7 changed files in .claude-lane/pr.diff. I found no problems that meet the lane's bar.

Checks against closing issue #10149 (the done-when list plus the triage decision comment):

  • Setting documented and defined: met. plugins/source-control/reference/config-resolution.md ("YAML keys") and plugins/source-control/schemas/source-control.schema.json both define dossier_branch_prefix with default dossier/. The reference gives the branch shape dossier/<key>-<slug>, says <key> is the adapter's branch_ref, and states the one-dossier-per-owning-item rule. The schema sets additionalProperties: false, so the new property is what lets the team-layer key validate.
  • Team layer: met. docs/conventions/source-control.yaml sets dossier_branch_prefix: dossier/.
  • /work-items:work: met. plugins/work-items/skills/work/SKILL.md names the dossier/ prefix and the dossier/<key>-<slug> shape, and reads the prefix from the team yaml with dossier/ as the fallback.
  • git grep -c -i dossier lists every named file: met. All five named files contain "dossier" in this diff.
  • Branch-name test: met. parse-branch-issue.test.sh gains a dossier/42-auth-notes → 42 case. The built-in pattern ^[a-z]+/(routine-issue-)?([0-9]+)- matches it. I could not run the test because this lane has no shell. That it exits 0 is the author's claim, unverified.

Other checks:

  • Changelog fragments: source-control minor (a new setting) and work-items patch (doc behaviour in a skill) fit the change.
  • Plugin manifests: no plugin.json or marketplace.json changed, so no manifest lines apply.
  • Config reader: plugins/source-control/lib/convention-key.sh has no allowlist of known keys, so the new yaml key needs no reader change.

No embedded instructions were found in the PR context or the prior-findings file. This is round 1 of 3; the round cap did not apply.

@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 1, 2026
Merged via the queue into main with commit f7dde4f Nov 1, 2026
68 checks passed
@kyle-sexton
kyle-sexton deleted the r17/pr-12037-branch-issue branch November 1, 2026 21:22
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.

source-control: dossier branches per owning item - part 1 of 2

1 participant