You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(app-control): stop map refresh from shipping ticket-branch docs to main ahead of the ticket #10750
/verification:confirm and /testing:run-e2e now call /app-control:map refresh <feature> for features a ticket branch touches (#10722). A refresh drives the app from the current checkout, which is the ticket branch (plugins/app-control/skills/map/reference/refresh.md § 5, "Live pass"). When it finds doc drift, it commits the correction on control-skill-upkeep/control-<slug>, and that branch is created from the default branch (refresh.md § 6, step 1, "Create the upkeep branch from the default branch").
So a refresh run on a ticket branch can commit control-skill docs that describe behavior the default branch does not have yet. Its upkeep pull request can then merge before the ticket does, and main's control skill would describe code main does not contain. The reverse case is also possible: the ticket never merges, and the upkeep PR still lands.
Found during Phase 9 (#10722) by the implementing agent; not fixed there because the right fix is a design choice inside map.
Options
When the pass starts off the default branch, base the upkeep branch on the starting branch and hold its PR until that branch merges. Holding it needs a link back to the ticket PR.
On a non-default starting branch, put the doc corrections on the ticket branch itself, so they merge with the ticket. This keeps one PR but writes to a branch map does not own.
On a non-default starting branch, report the drift only, and leave the upkeep PR to a refresh pass on the default branch after the ticket merges.
Recommendation: 3, the smallest change. Callers already report drift when app-control is absent (#10722), so this reuses that path, and map stays the only writer on its own branch. Basis: judgment from refresh.md § 5 and § 6.
Done when
A refresh started on a non-default branch never opens or updates an upkeep PR whose docs describe code only that branch has.
An eval case covers a refresh from a ticket branch.
Proposed work class: work-class: scoped
Basis: automated intake triage; the lanes App applied this class.
Size: Small
Complexity: Medium
Uncertainty: Knowable
Flags: intent
Blocked by: none
I understood this as a defect in /app-control:map refresh. When a refresh starts on a ticket branch, it can open an upkeep PR from the default branch. That PR can merge ahead of the ticket, or without it. The issue lists three options and recommends 3, but no decision is recorded.
Which option should the fix take: base the upkeep branch on the ticket branch and hold its PR (1), commit to the ticket branch (2), or only report drift on a non-default branch (3)?
RECOMMENDED: 3. It is the smallest change, it reuses the drift-report path from feat(verification): call /app-control:map refresh for touched features #10722, and map stays the only writer on its own branch. Basis: the issue's own reading of refresh.md § 5 and § 6.
To answer, post a comment that starts with this line:
**Decision recorded.** Option 3: report drift only on a non-default branch.
Refinement. A read-only run explored this repository, searched its issues and pull requests, and read the allowed docs to draft what follows. On an issue a listed human filed, it counts as the issue's spec once posted, while unedited; it is still model text, so check it.
Intended outcome: On a non-default starting branch, /app-control:map refresh reports doc drift without opening an upkeep branch or PR (option 3), and an eval covers a ticket-branch refresh.
Which option should the fix take: 1 (base upkeep branch on ticket branch and hold PR), 2 (commit to the ticket branch), or 3 (report drift only on a non-default branch)?
RECOMMENDED: Option 3: on a non-default start, make no upkeep branch, commit or PR, and report the drift; a later refresh on the default branch ships the PR. Basis: plugins/app-control/skills/map/reference/refresh.md:217-223 creates the upkeep branch from the default branch whatever the start; no Decision recorded comment exists yet.
How is a non-default start detected when CI checks out a detached HEAD (recorded as a SHA)?
RECOMMENDED: Treat a detached start as non-default unless HEAD equals the default branch tip; report only in that case. Basis: plugins/app-control/skills/map/reference/refresh.md:255-258 allows a detached start, as a CI checkout of a PR commit usually is.
Should legacy-map conversion, which also rides the upkeep PR, be report-only on a non-default branch too?
RECOMMENDED: Yes: a conversion on a non-default start is reported unwritten, like other doc edits. Basis: plugins/app-control/skills/map/reference/refresh.md:266-267 says a conversion rides the same upkeep PR.
Sources read
plugins/app-control/skills/map/reference/refresh.md:172-193: section 5 live pass drives the app from the current checkout
plugins/app-control/skills/map/reference/refresh.md:217-251: section 6 creates the upkeep branch from the default branch, commits, and opens or updates the PR
plugins/app-control/skills/map/reference/refresh.md:253-262: pass records the starting branch or SHA and returns to it
plugins/app-control/evals/map-feature-refresh-returns-to-start/case.yaml: existing eval nearest to the one the issue wants
To answer, post a comment that starts with this line:
**Decision recorded.** <answer>
Automated refinement by the lanes App. Answer with a comment whose first line is **Decision recorded.**.
Decision recorded. Option 2: a refresh started on a non-default branch commits its doc-drift corrections to that branch and opens no upkeep PR.
Owner decision, 2026-10-28. The ticket's own PR carries the corrections, so docs and code merge (or are dropped) together. Map stays the only writer of the control skill; the branch belongs to the caller that invoked it. A pass started on the default branch keeps the control-skill-upkeep/control-<slug> branch and its one PR. A legacy-map conversion stays on the upkeep branch so a ticket PR is not swollen by a structural move.
Activity
github-actions commentedon Oct 28, 2026
Proposed work class: work-class: scoped
Basis: automated intake triage; the lanes App applied this class.
Size: Small
Complexity: Medium
Uncertainty: Knowable
Flags: intent
Blocked by: none
I understood this as a defect in
/app-control:map refresh. When a refresh starts on a ticket branch, it can open an upkeep PR from the default branch. That PR can merge ahead of the ticket, or without it. The issue lists three options and recommends 3, but no decision is recorded.RECOMMENDED: 3. It is the smallest change, it reuses the drift-report path from feat(verification): call /app-control:map refresh for touched features #10722, and map stays the only writer on its own branch. Basis: the issue's own reading of
refresh.md§ 5 and § 6.To answer, post a comment that starts with this line:
Automated triage, applied by the lanes App.
melodic-automation-lanes commentedon Oct 28, 2026
The triage verdict left this issue at
status: needs-decision:melodic-automation-lanes commentedon Oct 28, 2026
Refinement. A read-only run explored this repository, searched its issues and pull requests, and read the allowed docs to draft what follows. On an issue a listed human filed, it counts as the issue's spec once posted, while unedited; it is still model text, so check it.
Intended outcome: On a non-default starting branch, /app-control:map refresh reports doc drift without opening an upkeep branch or PR (option 3), and an eval covers a ticket-branch refresh.
Related work
Open questions
RECOMMENDED: Option 3: on a non-default start, make no upkeep branch, commit or PR, and report the drift; a later refresh on the default branch ships the PR. Basis: plugins/app-control/skills/map/reference/refresh.md:217-223 creates the upkeep branch from the default branch whatever the start; no Decision recorded comment exists yet.
RECOMMENDED: Treat a detached start as non-default unless HEAD equals the default branch tip; report only in that case. Basis: plugins/app-control/skills/map/reference/refresh.md:255-258 allows a detached start, as a CI checkout of a PR commit usually is.
RECOMMENDED: Yes: a conversion on a non-default start is reported unwritten, like other doc edits. Basis: plugins/app-control/skills/map/reference/refresh.md:266-267 says a conversion rides the same upkeep PR.
Sources read
To answer, post a comment that starts with this line:
Automated refinement by the lanes App. Answer with a comment whose first line is
**Decision recorded.**.kyle-sexton commentedon Oct 28, 2026
Decision recorded. Option 2: a refresh started on a non-default branch commits its doc-drift corrections to that branch and opens no upkeep PR.
Owner decision, 2026-10-28. The ticket's own PR carries the corrections, so docs and code merge (or are dropped) together. Map stays the only writer of the control skill; the branch belongs to the caller that invoked it. A pass started on the default branch keeps the
control-skill-upkeep/control-<slug>branch and its one PR. A legacy-map conversion stays on the upkeep branch so a ticket PR is not swollen by a structural move.kyle-sexton commentedon Oct 28, 2026
fix(app-control): keep the caller's staged work out of a ticket-branc…
fix(app-control): stage new control skill files before the pathspec c…
fix(app-control): classify a refresh's starting point before step 1
fix(app-control): let legacy conversions ride the upkeep branch from …
fix(app-control): cut the upkeep branch from a fetched tip and guard …
fix(app-control): compare the legacy map from the merge base