Skip to content

feat(#438): migrate phase-signal and CI labels from solve to assess - #444

Merged
admarble merged 3 commits into
mainfrom
feature/438-migrate-phase-signal-and-ci-labels-from-solve-to-a
Mar 25, 2026
Merged

admarble merged 3 commits into
mainfrom
feature/438-migrate-phase-signal-and-ci-labels-from-solve-to-a

Conversation

@admarble

Copy link
Copy Markdown
Contributor

Summary

  • Add "assess" as primary signal source and sequant:assess as primary CI trigger label
  • Deprecate "solve" / sequant:solve with full backward compatibility preserved
  • Rename example workflow solve-on-label.yml → assess-on-label.yml

AC Coverage

AC Description Status Evidence
AC-1 Add "assess" to SignalSource, deprecate "solve" ✅ src/lib/phase-signal.ts:28
AC-2 Add assess to SIGNAL_PRIORITY ✅ src/lib/phase-signal.ts:34
AC-3 Update comments "Solve Comment" → "Assess Comment" ✅ src/lib/phase-signal.ts:6,78
AC-4 Add ASSESS: "sequant:assess" constant ✅ src/lib/ci/types.ts:39
AC-5 action.yml accepts both labels ✅ sequant-action/action.yml:116
AC-6 Rename example file ✅ sequant-action/examples/assess-on-label.yml
AC-7 Update /solve → /assess in run-reflect.ts ✅ src/lib/workflow/run-reflect.ts:175
AC-8 Update comment in phase-mapper.ts ✅ src/lib/workflow/phase-mapper.ts:53
AC-9 All CI label tests updated ✅ triggers, labels, action-consistency tests
AC-10 Backward compat preserved ✅ "solve" still compiles and triggers
AC-11 Update source: "solve" → "assess" in assessWorkflowToSignals ✅ src/lib/assess-comment-parser.ts:422

Test plan

  • npm run build passes
  • npm run lint passes (0 errors, 0 warnings)
  • npm test passes (2129/2130 — 1 pre-existing semgrep timeout)
  • SIGNAL_PRIORITY.assess === SIGNAL_PRIORITY.solve backward compat test
  • sequant:assess and sequant:solve both trigger full workflow
  • Label removal commands cover both labels

Closes #438

🤖 Generated with Claude Code

Add "assess" as the primary signal source and CI trigger label, with
"solve" preserved as a deprecated backward-compatible alias.

- Add "assess" to SignalSource type and SIGNAL_PRIORITY (priority 3)
- Add TRIGGER_LABELS.ASSESS ("sequant:assess") to CI types
- Add "sequant:assess" mapping in trigger detection and action.yml
- Update assessWorkflowToSignals to emit source: "assess"
- Rename solve-on-label.yml example to assess-on-label.yml
- Update comments: "Solve Comment" → "Assess Comment", "/solve" → "/assess"
- All tests updated with backward compat coverage

Closes #438
…tion

When sequant:assess triggers a run, also remove sequant:solve (and vice
versa) so that both-labels-applied scenarios don't leave a stale label.
- github-actions-integration.md: update primary trigger label to
  sequant:assess, update example workflow, label table, lifecycle diagram
- assess-unification.md: add signal source/priority docs, CI trigger
  label section, alias removal behavior
@admarble
admarble merged commit 835b1f9 into main Mar 25, 2026
5 checks passed
@admarble
admarble deleted the feature/438-migrate-phase-signal-and-ci-labels-from-solve-to-a branch March 25, 2026 22:24
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.

Migrate phase-signal and CI labels from solve to assess

1 participant