Repository navigation
fix(upstream-apply-changelog): file one issue per handoff row - #17953
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The publish job filed a release's handoffs as one checklist issue, which intake never split and admission never took, so every release issue parked. It now files each row as its own issue: the row's key marker, its lens and handoff reason, and exactly one `source: upstream-apply-changelog` label. - A replace row is a nomination for /harness-ops:audit-native-overlap, held by a Hold: line, since a native-overlap verdict needs a person or a session on the owner's direction. - A docs-lag row goes to the run summary only. - A row whose key or Drift key line an open lanes App issue holds is logged and not filed; one paged search per release finds the keys. - A cap-exceeded or hold-path plan also files one stop notice with no row and no label. Closes #17876 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 496a893695
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Lane run report
Run 44928804588, attempt 1
Failed GitHub API callsNo failed call recorded by the run job's scripts. |
Lane-Activity: pr-refine/fix-docs
Lane run report
Run 44928804588, attempt 1
Failed GitHub API callsNo failed call recorded by the run job's scripts. |
|
claude-review reviewed Code review: PR #17953, incremental (08dc881 → 533c612)Blocking only. This lane has already reviewed an earlier head of this PR, so this review reports blocking findings only. I read every hunk of both files in What changed
Checks
No blocking findings. The PR context, the settled threads and the prior findings contain no embedded instructions to the lane. Verifier dropped 0 of 0 candidates. |
|
claude-security-review reviewed Security review: #17953, incremental (08dc881..533c612)No security issues in this push. This lane has reviewed an earlier head, so this review reports only CRITICAL and IMPORTANT findings. I read every hunk of both files in scope: What changed
Settled thread. This push applies the fix for the settled thread on Trust controls. No trust control, merge hold, token request or kill switch changes in this push. Neither file in scope matches a trusted-path glob. Spend. None. Embedded text. The PR context and settled threads contain no instructions to this lane. critical-findings: 0 |
… keys and bound handoff bodies The per-row dedupe read only issue bodies, so replaying a release whose legacy checklist issue had overflowed rows into lanes App comments would file those rows again. The key lookup now also reads App comments on open legacy release issues. validatePlan checked a handoff body only for type and length. It now keeps item ids and the row's required sentence (plus a native-drift row's quoted, Drift key and Filed by lines) and drops every other line, matching ci-mode.md's rule that bodies never carry changelog text. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
The plan schema writes an absent value as null, and only correct, replace and adopt rows carry a required sentence, so a plan with "required_sentence": null on another row would have stopped the whole release on every run. A null sentence now reads as none. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Closes #17876
Summary
The changelog lane's publish job filed all of a release's handoffs as one issue. Intake does not split a lanes App filing, and admission takes one only at Size small or medium, so every release issue parked and nobody worked it. With this change the job files one issue per handoff row, each carrying the row's key marker and exactly one
source: upstream-apply-changeloglabel, so intake and admission judge each row on its own.Fix
.github/scripts/upstream-apply-changelog/upstream-apply-changelog.mjs:fileHandoffsreplacesfileReleaseHandoffs. Each row is routed by its key's lens or its kind:upstream-apply-changelog key=marker, then gives its lens and its handoff reason (the kind plus the plan's reason, joined onto one line). No label holds a row for its lens alone; intake and review decide any hold.replacerow (kindnomination) is filed as a nomination for/harness-ops:audit-native-overlap. Its body has aHold:line, so it has no agent-ready path. It still carries the one source label.docs-lagrow is written to the run summary and the log, and nothing is filed.Drift key:line, is already on an open lanes App issue files nothing, and the log says it is already open. Keys carry the release, so one paged search per release finds them all. That search also finds the keys inside the older one-issue-per-release checklists, and the key lookup also reads the lanes App comments on those open checklist issues, where the old filer put rows that overflowed the issue body.cap-exceeded,hold-path) also files one stop notice. The notice is keyed by the release marker and deduplicated as before, and carries no handoff rows and no source label. Because it holds no handoff rows, it is not "one issue per release" of handoffs: every row still gets its own issue.validatePlanbounds each handoff body to the shapeci-mode.mdstates: item ids and the row'srequired_sentence, never changelog text. A native-drift body also keeps its script-built lines (the>quote, theDrift key:line and theFiled byline). Every other line is dropped, so model text outside that shape is never posted or scanned as posted.required_sentencemust be one line of at most 500 characters, or the plan is refused.ci-mode.mdsays so.harness-opsgets a patch fragment, and the upstream-drift contract goes to 6.8.0 (changed guidance).publishTextnow holds every string publish can post: each row issue, the stop notice and each docs-lag summary line, so the scan job reads all of it.ci-mode.mdand the upstream-drift contract now describe filing per row.Design choices
stoppedPlanText), so those rows never become handoffs, and a record kept only in the run summary is one nobody acts on.Hold:line (orchestrator decision D186, under upstream-apply-changelog: file one issue per handoff row, not one per release #17876's contract). A native-overlap verdict needs a person, or a session acting on the owner's recorded direction ("Never auto-verdict",plugins/harness-ops/skills/audit-native-overlap/SKILL.md:149). The row keeps exactly one source label (done-when 1) and has no agent-ready path (done-when 3). The hold line names the lane and that rule. Basis:.github/scripts/intake-triage/admit.mjs:253and:1601-1603: any body line opening withHold:refuses to the intent hold, whoever wrote it.docs-conformancerecommend line or anot-appliedreason; the row'sreasonstill carries that text, one line, capped at 500 characters. Basis: judgment.Verification
node --test --test-concurrency=4 .github/scripts/upstream-apply-changelog/upstream-apply-changelog.test.mjs .github/scripts/upstream-apply-changelog/credential-legs.test.mjs: 72 tests, 72 pass.scripts/check-affected.sh: 18 passed, 2 skipped. The comment-lint hook is clean.repo:melodic-software/claude-code-plugins is:issue author:app/melodic-automation-lanes in:body "upstream-apply-changelog key=changelog:2.1.330..2.1.330"(withoutis:open) returned exactly Claude Code v2.1.330 changelog: 13 handoffs #17713, the v2.1.330 checklist issue.>orDrift key:line is cut down to its item ids and required sentence.Related
Drift key:, and PR fix(upstream-apply-changelog): skip handoffs whose drift key is already open on an earlier release's issue #17869 skips a row whose drift key is already open.🤖 Generated with Claude Code