Repository navigation
Description
Summary
Merge /solve into /assess to create a single entry point for issue triage. Instead of two commands ("what's the status?" vs "what's the workflow?"), /assess becomes the unified command: gather context, evaluate health, recommend an action, and — if the action is "proceed" — output the full workflow plan.
This also adds lifecycle recommendations so /assess can catch wasted work before it starts: stale PRs that need a rewrite, issues that were silently resolved by other PRs, overlapping issues that should be merged, references that no longer match the codebase, etc.
Decision (from discussion)
- Name:
/assess(absorbs/solve) - Mode: Single mode — always does the full analysis (no
--planflag) /solvebecomes an alias during transition, then deprecated
Design Principles
Informed by Linear, Kubernetes, and Rust project triage patterns:
- Decision throughput over information density — The first thing the user sees is the recommended action, not a wall of metadata. Everything else supports that decision.
- Fixed action vocabulary — Every assessment exits through one of 6 doors. Predictable, learnable, no ambiguity.
- Show reasoning — Every recommendation includes why. Users trust systems that explain themselves.
- Red flags first — Surface problems (stale PR, codebase mismatch) before workflow planning. Catching wasted work is the highest-value output.
- Read-only, recommend-only — Assess never takes action. It proposes, the user decides.
Fixed Action Vocabulary
Every /assess output recommends exactly ONE of these actions:
| Action | Meaning | When |
|---|---|---|
| PROCEED | Ready for work — here's the workflow | Issue is clear, codebase matches, no blockers |
| CLOSE | Issue is outdated, resolved, or duplicate | Resolved by another PR, references don't exist, duplicates closed issue |
| MERGE | Overlaps with another open issue | Two issues cover 70%+ same scope, or one is a subset of the other |
| REWRITE | Existing PR/branch needs a fresh start | PR too far behind main, touched files diverged, stale abandoned PR |
| CLARIFY | Issue needs more information before work | No ACs, ambiguous requirements, missing repro steps, multiple valid interpretations |
| PARK | Valid but not actionable right now | Blocked on external dep, blocked on another issue, explicitly deferred |
Health Check Signals
The health check section surfaces red flags that inform the action recommendation. Signals are grouped by category:
Codebase Match
| Signal | Detection Method | Implication |
|---|---|---|
| Referenced files/APIs don't exist | Glob/Grep for paths and symbols mentioned in issue body | Issue may be outdated |
| Referenced files were heavily changed recently | git log on mentioned paths |
Issue may have been addressed or invalidated |
| Issue describes behavior that now works differently | Codebase analysis of described patterns | Verify still relevant |
PR / Branch Health
| Signal | Detection Method | Implication |
|---|---|---|
| PR exists but has merge conflicts | gh pr view status |
Needs rebase or rewrite |
| PR is far behind main (100+ commits) | git rev-list --count main..pr-branch |
Likely needs rewrite, not rebase |
| PR touched files that diverged on main | git diff --name-only cross-reference |
Rebase will be painful or impossible |
| PR/branch is stale (30+ days no activity) | Timestamps | Consider fresh start |
| Draft PR with partial work | PR status | Assess whether to continue or restart |
| Worktree exists with uncommitted work | git worktree list + status check |
Abandoned work, clean up |
Overlap / Redundancy
| Signal | Detection Method | Implication |
|---|---|---|
| Another open issue covers similar scope | Compare titles/bodies of open issues | Consider merging |
| Duplicates a closed issue | Compare against recently closed | Close as duplicate |
| Was solved as side effect of another PR | Cross-reference changed files with issue references | Verify and close |
Staleness / Blockers
| Signal | Detection Method | Implication |
|---|---|---|
| No activity in 14+ days | Timestamps | Flag as stale |
| Blocked on another issue | Issue body/comments mention dependencies | Park until unblocked |
| Blocked on external dependency | Comments indicate external blocker | Park with reason |
| Open questions unanswered in comments | Comment thread analysis | Clarify before proceeding |
Output Format
The action is the headline. Supporting context follows in priority order.
When action is PROCEED (healthy issue, ready for work):
#152 — Add user dashboard
Status: Open | Labels: ui, enhancement | Last activity: 3 days ago
→ PROCEED — Issue is clear, codebase matches, ready for work.
Health:
✓ References match codebase
✓ No conflicting PRs or worktrees
✓ No overlapping issues detected
AC Coverage: 4 criteria identified
- Display dashboard widgets NOT_STARTED
- User preferences persistence NOT_STARTED
- Responsive layout NOT_STARTED
- Loading states NOT_STARTED
Workflow: ui → spec → testgen → exec → test → qa
npx sequant run 152 -q --testgen
Why this workflow:
• ui label → includes /test for browser verification
• Testable ACs → includes /testgen for test stubs
• New feature → quality loop recommended
When action is REWRITE (PR too far behind):
#87 — Refactor auth middleware
Status: Open | Labels: backend, refactor | Last activity: 45 days ago
→ REWRITE — PR #91 is 200+ commits behind main.
3 of 5 files modified in the PR have diverged on main.
Recommend closing PR #91 and starting fresh.
Health:
⚠ PR #91: 200 commits behind, last updated 43 days ago
⚠ Diverged files: src/middleware/auth.ts, src/lib/session.ts, src/api/routes.ts
✓ Issue requirements still match current codebase
AC Coverage: 3 criteria (from prior /spec comment)
- Extract middleware to separate module IN_PROGRESS (partial in PR)
- Add request validation NOT_STARTED
- Update tests NOT_STARTED
If restarting:
npx sequant run 87 -q
When action is CLOSE (resolved by another PR):
#64 — Support custom theme colors
Status: Open | Labels: ui | Last activity: 90 days ago
→ CLOSE — Likely resolved by PR #142 (merged 2 weeks ago).
PR #142 added theme customization to src/components/ThemeProvider.tsx,
covering the core functionality described in this issue.
Health:
⚠ Core referenced files changed substantially by PR #142
⚠ No activity in 90 days
ℹ Verify with issue author before closing
When action is MERGE (overlapping issues):
#201 — Add CSV export to reports
Status: Open | Labels: feature | Last activity: 5 days ago
→ MERGE — Significant overlap with #198 (Add export functionality).
#198 covers CSV, PDF, and JSON export for the same report components.
Recommend consolidating into #198 as the comprehensive issue.
Health:
⚠ #198 is a superset — covers all export formats including CSV
⚠ Both issues reference src/components/ReportView.tsx
✓ Neither issue has work in progress
When action is CLARIFY:
#310 — Improve performance
Status: Open | Labels: enhancement | Last activity: 1 day ago
→ CLARIFY — Issue is too vague to plan a workflow.
No specific components, metrics, or acceptance criteria identified.
Need: which pages/operations are slow, target metrics, reproduction steps.
Health:
⚠ No acceptance criteria (explicit or inferable)
⚠ No specific files or components referenced
✓ Issue is fresh (1 day old)
When action is PARK:
#189 — Integrate with Stripe webhooks
Status: Open | Labels: backend, blocked | Last activity: 20 days ago
→ PARK — Blocked on #175 (Payment service refactor).
#175 is restructuring the payment module that webhooks depend on.
Resume after #175 is merged.
Health:
⚠ Depends on #175 (currently in implementation phase)
⚠ No activity in 20 days (expected — waiting on dependency)
✓ Issue requirements are clear and still valid
What Gets Absorbed from /solve
The following /solve capabilities move into /assess under the PROCEED path:
- Label-based workflow detection — ui/backend/bug/complex/security labels → phase selection
- Quality loop recommendation — based on labels and issue complexity
- Chain mode detection — dependency analysis for multi-issue runs
- QA gate detection — for chained issues with tight dependencies
- Feature branch detection —
--baseflag recommendation - Testgen detection — testable ACs trigger testgen phase
- Conflict detection — in-flight worktree overlap warnings
- CLI command generation — the
npx sequant runcommand with flags - Phase signal integration — solve-comment-parser.ts compatibility
Migration Plan
- Phase 1: Merge — Add /solve capabilities + lifecycle actions to /assess skill
- Phase 2: Alias —
/solveinvokes/assesswith a deprecation notice - Phase 3: Remove — Delete
/solveskill, update all references - Code changes:
solve-comment-parser.ts→ rename toassess-comment-parser.tsor generalize. Phase signal system continues to work — the comment format is what matters, not the skill name.
What Reviewers Should Validate
- Single
/assesscommand replaces both/assessand/solvewithout losing capabilities - All 6 actions are reachable and correctly triggered by their signals
- Health check catches real problems without false positives (especially codebase match and overlap detection)
- PROCEED path generates the same quality workflow recommendations as current
/solve - Output format prioritizes the action — scannable in under 5 seconds
- Overlap/duplicate detection doesn't make
/assessnoticeably slower - Phase signal integration still works (solve-comment-parser compatibility)
- Edge case: issue with BOTH a stale PR and overlapping issue — which action wins? (Recommend: most actionable one, with others noted in Health)
Acceptance Criteria
-
/assess <issue>produces a unified assessment with one of 6 actions (PROCEED, CLOSE, MERGE, REWRITE, CLARIFY, PARK) - PROCEED action includes full workflow recommendation (phases, CLI command, flags) — equivalent to current
/solveoutput - Health check detects: codebase reference mismatches, stale/diverged PRs, overlapping open issues, staleness, blockers
- Each action includes reasoning (why this recommendation)
- Output format leads with the action recommendation, not metadata
-
/solveworks as an alias for/assesswith deprecation notice -
solve-comment-parser.tsupdated or generalized to parse new assess output format - Phase signal system (
phase-signal.ts) continues to work with assess output - Multi-issue support:
/assess 152 153assesses each issue independently - Skill remains read-only (allowed-tools unchanged from current /assess)
- Label review section preserved from current /assess
- Confidence level / meta-assessment preserved from current /assess
Activity
[-]Rename /solve skill to something more intuitive[/-][+]Unify /assess and /solve into single triage command with lifecycle recommendations[/+]admarble commentedon Mar 25, 2026
Solve Analysis
Recommended Phases: spec → testgen → exec → qa
Skip Spec: No (complex skill unification needs design review)
Browser Testing: No (backend/skill changes only)
Quality Loop: Yes (non-trivial refactor touching parsers and multiple skills)
Reasoning
Flags
Generated by
/solveadmarble commentedon Mar 25, 2026
Spec Plan — Unify /assess and /solve
Acceptance Criteria with Verification
/assess <issue>produces unified assessment with one of 6 actions→ ACTION — reason/solvealias with deprecation notice/solve, verify/assessruns + deprecation msg<!-- assess:phases=... -->markers/assess 152 153Non-Goals
/solveskill entirely (Phase 3 future work)Implementation Plan
Phase 1: Generalize parser (TypeScript)
solve-comment-parser.ts→assess-comment-parser.tswith backward-compat re-exports## Assess Analysis,<!-- assess:phases=... -->isAssessComment, etc.) keeping old names as aliasessrc/index.tsexportssource: 'solve'in phase-signal.ts (minimize blast radius)Phase 2: Rewrite assess SKILL.md
7. Merge /solve capabilities into assess SKILL.md:
npx sequant runwith flags)Phase 3: Alias + sync
8. Convert
/solveSKILL.md to thin alias with deprecation notice9. 3-way sync across
.claude/skills/,templates/skills/,skills/Phase 4: Multi-issue support
10. Parse space-separated issue numbers, loop and assess each independently
Design Review
src/lib/assess-comment-parser.ts(TypeScript — so downstream tools parse assess output)gh/gitshell commands in the prompt, NOT new TypeScript modules. Parser: rename + add new markers./solvewas built — SKILL.md with shell commands and fixed output template. Parser follows existing marker-based detection pattern.assess-comment-parser.tsmatches target state; re-exports prevent breakage.Open Questions
assess-comment-parser.tsvsworkflow-comment-parser.ts? Recommend: assess-comment-parser.ts (matches canonical command).'assess'to SignalSource type or keep'solve'internally? Recommend: keep 'solve' internally to minimize changes.Recommended Workflow
Phases: spec → testgen → exec → qa
Quality Loop: enabled (complex refactor with broad surface area)
Label Review
Current: (none)
Recommended:
enhancement,refactor→
gh issue edit 325 --add-label enhancement --add-label refactoradmarble commentedon Mar 25, 2026
Test Stubs Generated for Issue #325
Unit Test Stubs
File:
src/lib/assess-comment-parser.test.tsisAssessComment(4 tests),findAssessComment(2 tests)parseAssessMarkers(5 tests),parseAssessWorkflow(4 tests)assessWorkflowToSignals(3 tests)Integration Test Stubs
File:
__tests__/integration/assess-unified.integration.test.tsManual Test Checklists
AC-4: Each action includes reasoning
AC-5: Output leads with action recommendation
→ ACTION — reasonAC-10: Skill remains read-only (allowed-tools unchanged)
AC-11: Label review section preserved
AC-12: Confidence/meta-assessment preserved
AC-15: 3-way skill sync
diff .claude/skills/assess/ templates/skills/assess/— no differencesdiff .claude/skills/assess/ skills/assess/— no differences (if exists)diff .claude/skills/solve/ templates/skills/solve/— alias content matchesNext steps:
throw new Error(...)with actual test logic)/exec 325to implement the featurenpm testGenerated with Claude Code
admarble commentedon Mar 25, 2026
QA Review for Issue #325
AC Coverage
/assessproduces unified assessment with 6 actions/solvealias with deprecation noticeassess-comment-parser.tscreated withAssessActiontype, new markers (## Assess Analysis,<!-- assess:... -->), action parsing from→ ACTION —line. Backward-compat re-exports in place.source: "solve"preserved internally.assessWorkflowToSignalsworks correctly./assess 152 153solve-comment-parser.tsnow re-exports all fromassess-comment-parser.ts. All 34 existing tests insrc/lib/solve-comment-parser.test.tspass.assess-comment-parser.test.ts) but all 30 tests are stubs thatthrow new Error("Test stub")— none implemented.claude/skills/,templates/skills/,skills/directoriesCoverage: 3/15 AC items met
Quality Metrics
any)Test Coverage Analysis
src/lib/assess-comment-parser.tssrc/lib/assess-comment-parser.test.ts(30/30 stubs)src/lib/solve-comment-parser.tssrc/lib/solve-comment-parser.test.ts(34/34 pass)src/index.tsCoverage: 1/3 changed files have working tests
Regression: 2 tests in
src/lib/__tests__/solve-comment-parser.test.tsfail — reason string changed from "Recommended by /solve command" to "Recommended by /assess command"Code Review
Strengths:
assess-comment-parser.tsis well-structured with proper@deprecatedannotationssolve-comment-parser.tsbecomes thin re-export shimAssessActiontype captures the 6-action vocabulary at TypeScript levelassess:andsolve:prefixes with correct precedencesource: "solve"preserved in signals to minimize blast radius on phase-signal systemIssues:
__tests__/solve-comment-parser.test.ts:solveWorkflowToSignalsnow produces reason "Recommended by /assess command" instead of "Recommended by /solve command". The backward-compat alias delegates toassessWorkflowToSignalswhich uses new wording.assess-comment-parser.test.tshas 30 tests all throwingError("Test stub").Suggestions:
solveWorkflowToSignalsuse "/solve" wording when called through the backward-compat pathAnti-Pattern Detection
Code Patterns
No anti-patterns detected in changed files. Clean TypeScript with proper types.
Self-Evaluation
/assessstill produces the old output format and cannot trigger any of the 6 actions.Verdict: AC_NOT_MET
Only 3/15 acceptance criteria are met. The implementation covers Phase 1 (TypeScript parser generalization) which is structurally sound, but the two most critical deliverables are missing:
/assesscommand behavior (6-action vocabulary, health checks, workflow recommendations) is entirely defined in the SKILL.md prompt. Without updating it,/assessstill produces the old output./solveSKILL.md is unchanged (no deprecation, no alias). Skill directories are out of sync.Additionally:
Next Steps
solveWorkflowToSignalsor update the 2 failing tests in__tests__/solve-comment-parser.test.ts.claude/skills/assess/SKILL.mdwith the 6-action vocabulary, health checks, and PROCEED workflow output per the issue specification.claude/skills/solve/SKILL.mdto thin alias with deprecation noticeassess-comment-parser.test.ts.claude/skills/,templates/skills/, andskills/directories/qa 325after implementation is completeadmarble commentedon Mar 25, 2026
QA Review for Issue #325
Implementation Status: INCOMPLETE
The implementation is in early stages. Only the TypeScript parser layer has been started — the skill files (
.claude/skills/assess/SKILL.mdand.claude/skills/solve/SKILL.md) have not been modified, which is where the majority of AC items are satisfied.What exists (uncommitted):
src/lib/assess-comment-parser.ts— New unified parser withAssessActiontype,AssessWorkflowResult, and all 6 actions (PROCEED, CLOSE, MERGE, REWRITE, CLARIFY, PARK). Backward-compatible aliases for all solve functions.src/lib/solve-comment-parser.ts— Refactored to re-export fromassess-comment-parser.tssrc/index.ts— Updated exports to include both assess and solve namessrc/lib/assess-comment-parser.test.ts— All 33 tests are stubs (each throws"Test stub - implement this test")__tests__/integration/assess-unified.integration.test.ts— Integration test stubs (not implemented)What's missing:
solve-comment-parser.test.ts(reason string changed from "/solve" to "/assess")AC Coverage
/assessproduces unified assessment with 6 actions/solveworks as alias with deprecation noticesolve-comment-parser.tsupdated for assess formatCoverage: 0/12 AC items met
Quality Metrics
any)Test Failures
New stub failures (33): All tests in
assess-comment-parser.test.tsthrow"Test stub - implement this test"Regressions (2): Existing
solve-comment-parser.test.tstests fail becauseassessWorkflowToSignalschanged the reason string from"Recommended by /solve command: ..."to"Recommended by /assess command: ...". The existing tests assert on the old string.Pre-existing (1):
discoverUntrackedWorktreestimeout — known CI issue, not related to this PR.Self-Evaluation
Verdict: AC_NOT_MET
Implementation is in very early stages. The TypeScript parser module (
assess-comment-parser.ts) provides the data structures and parsing logic for the 6-action vocabulary, but:Next Steps
/exec 325to complete the implementation:.claude/skills/assess/SKILL.mdwith unified assessment (6 actions, health checks, reasoning, action-first output).claude/skills/solve/SKILL.mdto alias to/assesswith deprecation noticeassess-comment-parser.test.tssolve-comment-parser.test.ts(update expected reason strings)/qa 325after implementation is completefeat(#325): unify /assess and /solve into single triage command
fix(#325): add missing assertion in issue number extraction test
admarble commentedon Mar 25, 2026
/fullsolve Complete
Issue: #325
Status: READY_FOR_MERGE
Summary
Iterations
Self-Evaluation
PR: #436
Ready for human review and merge.
docs(#325): add CHANGELOG entry for /assess and /solve unification
feat(#325): unify /assess and /solve into single triage command (#436)
admarble commentedon Mar 25, 2026
Documentation Generated
File:
docs/features/assess-unification.mdSections Included:
Next Steps:
Ready to merge!
docs: generate feature docs for #325, #413, and update MCP server doc…
docs(#440): update all documentation refs from /solve to /assess
docs(#440): update all documentation refs from /solve to /assess (#446)
feat(#522): restore /solve feature parity in /assess skill
fix(#522): restore /solve feature parity in /assess skill (#527)
feat(#522): restore /solve feature parity in /assess skill