Repository navigation
fix(#1649)!: no label adds the test phase to a phase list the user or detection chose — remove the UI-label insertion in determinePhasesForIssue (closes #1631) - #1659
Merged
admarble merged 5 commits intoNov 8, 2026
Conversation
…e UI-label insertion in determinePhasesForIssue (#1631) Entire-Checkpoint: 9c9457538e88
Entire-Checkpoint: 9c9457538e88
Entire-Checkpoint: 9c9457538e88
Contributor
Author
Read firstComputed from the diff, the issue's Residue
Tests
Explained
AC verdict: the |
This was referenced Nov 8, 2026
…no-label-adds-the-test-phase-to-a-phase-li
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.
Summary
Branch
feature/1649-fix-run-no-label-adds-the-test-phase-to-a-phase-liis pushed. Under the orchestrator I open no PR; it does that.I removed the UI-label insertion in
determinePhasesForIssue, so no label addstestto a phase list any more. I also deletedhasUILabels, which had no caller left. The--testgenand--security-reviewadjustments anddetectPhasesFromLabelsare unchanged.Files changed
src/lib/workflow/phase-mapper.ts: removed the insertion block andhasUILabels.src/lib/workflow/phase-mapper.test.ts: replaced thehasUILabelstests withdescribe("label does not add test")(4 cases).src/commands/run.test.tsandsrc/lib/workflow/skills-preflight.test.ts: five existing tests asserted the old insertion, so I changed them to the new behavior. The spec did not list these.src/lib/workflow/skills-preflight.ts: dropped "UI-label" from a comment.docs/reference/run-command.md: reworded thetestrow.CHANGELOG.md: added a breaking entry under[Unreleased]citing run: --phases does not suppress the UI-label test phase (determinePhasesForIssue adds it to an explicit list) #1631 and feat(assess): fence chat output; Considered: block restores why-not flag reasoning #857.AC verification
-t "label does not add test"gives 4 passed, 0 failed-t "detectPhasesFromLabels"gives 12 passed, 0 failed#1631grep over[Unreleased]returns 1Checks
npm run buildandnpm run lintpass.npx vitest run src/lib/workflow/skills-preflight.test.ts src/commands/run.test.ts src/lib/workflow/phase-mapper.test.ts scripts/qa/tautology-detector-cli.test.tsgives 213 of 213 passed. I ran that file list directly, after--changed origin/mainselected 88 files, which is over the 40-file mark. The first run of that set had 5 failures, which I fixed.Pre-PR Confidence Check
testnow has to name it in--phasesor use auto-detect. The changelog marks it breaking.Notes
CHANGELOG.mdbecause the spec saidchangelog.d/does not exist on main. I did not recheck that either.Next steps
The orchestrator opens the PR. Then run
/qa.Fixes #1649
Follow-ups
🤖 Generated by
sequant runRunner verification (graph-2026-11-simplify W1, 2026-11-07)
1; AC-40.05e9a7a5b:docs/features/assess-minimal-flags.mdstill said UI-labelled issues gettestautomatically (QA finding,risk_gap). It now says they don't and how to ask for it./assess's shorthand (.claude/skills/assess/SKILL.md:440) still omits--phasesfor UI issues. That's skill text, outside this graph's I-1 scope, so it isn't fixed here. Filed as fix(assess): minimal-flags rule still assumes a ui label adds the test phase (stale after #1649) #1662, a candidate for OQ-7 (founding doc §9). CI pending at review time (QAexecution_gap): the runner watches CI by SHA before any merge.Closes #1649
Closes #1631