Skip to content

Unify /assess and /solve into single triage command with lifecycle recommendations #325

Closed

Description

@admarble

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 --plan flag)
  • /solve becomes an alias during transition, then deprecated

Design Principles

Informed by Linear, Kubernetes, and Rust project triage patterns:

  1. 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.
  2. Fixed action vocabulary — Every assessment exits through one of 6 doors. Predictable, learnable, no ambiguity.
  3. Show reasoning — Every recommendation includes why. Users trust systems that explain themselves.
  4. Red flags first — Surface problems (stale PR, codebase mismatch) before workflow planning. Catching wasted work is the highest-value output.
  5. 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 — --base flag recommendation
  • Testgen detection — testable ACs trigger testgen phase
  • Conflict detection — in-flight worktree overlap warnings
  • CLI command generation — the npx sequant run command with flags
  • Phase signal integration — solve-comment-parser.ts compatibility

Migration Plan

  1. Phase 1: Merge — Add /solve capabilities + lifecycle actions to /assess skill
  2. Phase 2: Alias — /solve invokes /assess with a deprecation notice
  3. Phase 3: Remove — Delete /solve skill, update all references
  4. Code changes: solve-comment-parser.ts → rename to assess-comment-parser.ts or generalize. Phase signal system continues to work — the comment format is what matters, not the skill name.

What Reviewers Should Validate

  • Single /assess command replaces both /assess and /solve without 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 /assess noticeably 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 /solve output
  • 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
  • /solve works as an alias for /assess with deprecation notice
  • solve-comment-parser.ts updated 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 153 assesses 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

  1. changed the title [-]Rename /solve skill to something more intuitive[/-] [+]Unify /assess and /solve into single triage command with lifecycle recommendations[/+] on Mar 1, 2026
  2. admarble commented on Mar 25, 2026

    @admarble
    ContributorAuthor

    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

    Flag Value Reasoning
    -q (quality-loop) ✓ Complex refactor with broad surface area
    --chain ✗ Independent of other planned issues
    --qa-gate ✗ No chain mode
    --base ✗ Branching from main
    --testgen ✓ Testable ACs (parser, alias, multi-issue)

    Generated by /solve

  3. admarble commented on Mar 25, 2026

    @admarble
    ContributorAuthor

    Spec Plan — Unify /assess and /solve

    Acceptance Criteria with Verification

    # AC Verification Method
    AC-1 /assess <issue> produces unified assessment with one of 6 actions Integration Test Invoke on issues in various states, verify exactly one action
    AC-2 PROCEED includes full workflow recommendation Integration Test Healthy issue → verify phases, CLI cmd, flags in output
    AC-3 Health check detects: reference mismatches, stale PRs, overlaps, staleness, blockers Integration Test + Manual Test each signal type against known issue states
    AC-4 Each action includes reasoning Manual Test Verify "Why:" text present for every action
    AC-5 Output leads with action recommendation Manual Test First line after header is → ACTION — reason
    AC-6 /solve alias with deprecation notice Unit Test Invoke /solve, verify /assess runs + deprecation msg
    AC-7 solve-comment-parser updated for assess format Unit Test Parse <!-- assess:phases=... --> markers
    AC-8 Phase signal system continues to work Unit Test mergePhaseSignals with assess output → same behavior
    AC-9 Multi-issue: /assess 152 153 Integration Test Two issues → two independent assessment blocks
    AC-10 Skill remains read-only (allowed-tools unchanged) Manual Test Inspect YAML header
    AC-11 Label review section preserved Manual Test Verify label review in output
    AC-12 Confidence/meta-assessment preserved Manual Test Verify meta-assessment in output
    AC-13 Backward-compat re-exports from solve-comment-parser.ts Unit Test Old imports still resolve
    AC-14 Unit tests for assess marker parsing Unit Test New test cases alongside existing solve tests
    AC-15 3-way skill sync (.claude/skills/, templates/skills/, skills/) Manual Test Diff all three directories

    Non-Goals

    • NOT building new TypeScript health check modules (health checks are shell commands in SKILL.md)
    • NOT adding UI/dashboard for assess results
    • NOT changing CLI entry points or MCP server
    • NOT implementing automated action execution (assess is read-only)
    • NOT removing /solve skill entirely (Phase 3 future work)

    Implementation Plan

    Phase 1: Generalize parser (TypeScript)

    1. Rename solve-comment-parser.ts → assess-comment-parser.ts with backward-compat re-exports
    2. Add new marker detection: ## Assess Analysis, <!-- assess:phases=... -->
    3. Rename exports (isAssessComment, etc.) keeping old names as aliases
    4. Update src/index.ts exports
    5. Keep source: 'solve' in phase-signal.ts (minimize blast radius)
    6. Add test cases for new assess markers

    Phase 2: Rewrite assess SKILL.md
    7. Merge /solve capabilities into assess SKILL.md:

    • Health check signals (codebase match, PR health, overlap, staleness, blockers)
    • Fixed action vocabulary (PROCEED, CLOSE, MERGE, REWRITE, CLARIFY, PARK)
    • Label-based workflow detection, quality loop, chain/flag recommendations
    • CLI command generation (npx sequant run with flags)
    • Preserve: phase detection, AC coverage, label review, meta-assessment
    • New output format per issue specification

    Phase 3: Alias + sync
    8. Convert /solve SKILL.md to thin alias with deprecation notice
    9. 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

    1. Where? Two layers: SKILL.md prompt files (bulk — health checks, actions, output format) + src/lib/assess-comment-parser.ts (TypeScript — so downstream tools parse assess output)
    2. Simplest approach? Rewrite assess SKILL.md to incorporate solve's capabilities + 6-action vocabulary. Health checks are gh/git shell commands in the prompt, NOT new TypeScript modules. Parser: rename + add new markers.
    3. Existing pattern? Same as how /solve was built — SKILL.md with shell commands and fixed output template. Parser follows existing marker-based detection pattern.
    4. Reviewer challenge? (a) "Why not TypeScript for health checks?" — Shell keeps the skill read-only, portable, and build-free. (b) "Rename vs generalize parser?" — Rename to assess-comment-parser.ts matches target state; re-exports prevent breakage.

    Open Questions

    1. Health check depth (AC-3): File existence only, or also verify exported symbols? Recommend: file existence only (shell-based skill).
    2. Parser rename: assess-comment-parser.ts vs workflow-comment-parser.ts? Recommend: assess-comment-parser.ts (matches canonical command).
    3. Signal source name: Add '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)

    npx sequant run 325 -q --testgen

    Label Review

    Current: (none)
    Recommended: enhancement, refactor

    → gh issue edit 325 --add-label enhancement --add-label refactor

  4. added
    planned
    on Mar 25, 2026
  5. admarble commented on Mar 25, 2026

    @admarble
    ContributorAuthor

    Test Stubs Generated for Issue #325

    AC Verification Happy Path Failure Paths
    AC-1 Integration Test 2 tests 1 assumption validator
    AC-2 Integration Test 2 tests 0
    AC-3 Integration Test 5 tests 0
    AC-4 Manual Test — —
    AC-5 Manual Test — —
    AC-6 Unit Test 1 test 0
    AC-7 Unit Test 4 tests + 2 find tests 3 error cases
    AC-8 Unit Test 3 tests 1 error case
    AC-9 Integration Test 2 tests 1 assumption validator
    AC-10 Manual Test — —
    AC-11 Manual Test — —
    AC-12 Manual Test — —
    AC-13 Unit Test 6 tests 1 meta-test
    AC-14 Unit Test 5 tests (covered in AC-7 error handling)
    AC-15 Manual Test — —

    Unit Test Stubs

    File: src/lib/assess-comment-parser.test.ts

    • AC-7: Assess marker detection — isAssessComment (4 tests), findAssessComment (2 tests)
    • AC-14: Assess marker parsing — parseAssessMarkers (5 tests), parseAssessWorkflow (4 tests)
    • AC-8: Phase signal integration — assessWorkflowToSignals (3 tests)
    • AC-13: Backward-compat re-exports — 6 tests verifying old imports still resolve
    • AC-6: Solve alias deprecation — 1 test verifying parser handles old format
    • Error handling: 3 failure path stubs (malformed markers, empty body, mixed markers)

    Integration Test Stubs

    File: __tests__/integration/assess-unified.integration.test.ts

    • AC-1: Unified assessment with 6-action vocabulary — 2 tests + 1 assumption validator
    • AC-2: PROCEED includes workflow recommendation — 2 tests
    • AC-3: Health check signal detection — 5 tests (references, stale PRs, overlaps, staleness, blockers)
    • AC-9: Multi-issue assessment — 2 tests + 1 assumption validator
    • Error scenarios: 3 stubs (API failure, no comments, concurrency)

    Manual Test Checklists

    AC-4: Each action includes reasoning

    • Verify "→ ACTION — reason" text present for every action type
    • Check "Why:" or reasoning text is non-empty

    AC-5: Output leads with action recommendation

    • First content line after header is → ACTION — reason
    • Not buried below metadata

    AC-10: Skill remains read-only (allowed-tools unchanged)

    • Inspect YAML header of assess SKILL.md
    • Confirm no write/edit tools added

    AC-11: Label review section preserved

    • Verify "Label Review" or equivalent section in output
    • Contains current and recommended labels

    AC-12: Confidence/meta-assessment preserved

    • Verify confidence level or meta-assessment section in output

    AC-15: 3-way skill sync

    • diff .claude/skills/assess/ templates/skills/assess/ — no differences
    • diff .claude/skills/assess/ skills/assess/ — no differences (if exists)
    • diff .claude/skills/solve/ templates/skills/solve/ — alias content matches

    Next steps:

    1. Implement the test stubs (replace throw new Error(...) with actual test logic)
    2. Run /exec 325 to implement the feature
    3. Verify tests pass with npm test

    Generated with Claude Code

  6. admarble commented on Mar 25, 2026

    @admarble
    ContributorAuthor

    QA Review for Issue #325

    AC Coverage

    AC Description Status Notes
    AC-1 /assess produces unified assessment with 6 actions NOT_MET assess SKILL.md not updated — still uses old format without PROCEED/CLOSE/MERGE/REWRITE/CLARIFY/PARK
    AC-2 PROCEED includes full workflow recommendation NOT_MET SKILL.md not updated with PROCEED workflow output
    AC-3 Health check detects signals NOT_MET No health check signals added to assess SKILL.md
    AC-4 Each action includes reasoning NOT_MET SKILL.md not updated
    AC-5 Output leads with action recommendation NOT_MET SKILL.md not updated
    AC-6 /solve alias with deprecation notice NOT_MET solve SKILL.md unchanged — no alias, no deprecation notice
    AC-7 solve-comment-parser updated for assess format MET assess-comment-parser.ts created with AssessAction type, new markers (## Assess Analysis, <!-- assess:... -->), action parsing from → ACTION — line. Backward-compat re-exports in place.
    AC-8 Phase signal system continues to work MET source: "solve" preserved internally. assessWorkflowToSignals works correctly.
    AC-9 Multi-issue /assess 152 153 NOT_MET Not implemented in SKILL.md
    AC-10 Skill remains read-only NOT_MET Cannot verify — SKILL.md not updated
    AC-11 Label review preserved NOT_MET Cannot verify — SKILL.md not updated
    AC-12 Confidence/meta-assessment preserved NOT_MET Cannot verify — SKILL.md not updated
    AC-13 Backward-compat re-exports from solve-comment-parser.ts MET solve-comment-parser.ts now re-exports all from assess-comment-parser.ts. All 34 existing tests in src/lib/solve-comment-parser.test.ts pass.
    AC-14 Unit tests for assess marker parsing NOT_MET Test file exists (assess-comment-parser.test.ts) but all 30 tests are stubs that throw new Error("Test stub") — none implemented
    AC-15 3-way skill sync NOT_MET Skills differ across .claude/skills/, templates/skills/, skills/ directories

    Coverage: 3/15 AC items met


    Quality Metrics

    Metric Value Status
    Type issues (any) 0 OK
    Deleted tests 0 OK
    Files changed 3 modified + 2 new OK
    Lines added ~470 (assess-comment-parser.ts) + stubs -
    Lines deleted ~290 (solve-comment-parser.ts gutted) -

    Test Coverage Analysis

    Changed File Tier Has Tests? Test File
    src/lib/assess-comment-parser.ts Standard ⚠️ Stubs only src/lib/assess-comment-parser.test.ts (30/30 stubs)
    src/lib/solve-comment-parser.ts Standard ✅ Yes src/lib/solve-comment-parser.test.ts (34/34 pass)
    src/index.ts Standard ✅ Indirect Existing export tests pass

    Coverage: 1/3 changed files have working tests
    Regression: 2 tests in src/lib/__tests__/solve-comment-parser.test.ts fail — reason string changed from "Recommended by /solve command" to "Recommended by /assess command"


    Code Review

    Strengths:

    • Clean separation: new assess-comment-parser.ts is well-structured with proper @deprecated annotations
    • Smart backward compatibility: solve-comment-parser.ts becomes thin re-export shim
    • AssessAction type captures the 6-action vocabulary at TypeScript level
    • HTML marker parsing handles both assess: and solve: prefixes with correct precedence
    • source: "solve" preserved in signals to minimize blast radius on phase-signal system

    Issues:

    • 2 test regressions in __tests__/solve-comment-parser.test.ts: solveWorkflowToSignals now produces reason "Recommended by /assess command" instead of "Recommended by /solve command". The backward-compat alias delegates to assessWorkflowToSignals which uses new wording.
    • 30 test stubs not implemented: assess-comment-parser.test.ts has 30 tests all throwing Error("Test stub").
    • Implementation incomplete: Only Phase 1 (TypeScript parser) of the 3-phase implementation plan is done. Phases 2 (assess SKILL.md rewrite) and 3 (solve alias + sync) are not started.

    Suggestions:

    • Fix the reason string regression: either update the 2 existing tests or make solveWorkflowToSignals use "/solve" wording when called through the backward-compat path
    • Implement the 30 test stubs — the TODOs in the stubs show what to test
    • Proceed with Phase 2 (SKILL.md rewrite) which is the core deliverable

    Anti-Pattern Detection

    Code Patterns

    No anti-patterns detected in changed files. Clean TypeScript with proper types.


    Self-Evaluation

    • Verified working: Yes — build passes, existing solve tests pass (34/34). New parser correctly handles both assess and solve marker formats.
    • Test efficacy: Low — the 30 new test stubs provide zero coverage. The 2 regressions in existing tests show a real behavioral change in backward-compat path.
    • Likely failure mode: The SKILL.md is the primary interface for this feature (it's a prompt, not compiled code). Without updating it, /assess still produces the old output format and cannot trigger any of the 6 actions.
    • Verdict confidence: High — the implementation is clearly partial (Phase 1 only).

    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:

    1. Phase 2: assess SKILL.md rewrite — The actual /assess command behavior (6-action vocabulary, health checks, workflow recommendations) is entirely defined in the SKILL.md prompt. Without updating it, /assess still produces the old output.
    2. Phase 3: solve alias + 3-way sync — /solve SKILL.md is unchanged (no deprecation, no alias). Skill directories are out of sync.

    Additionally:

    • 2 test regressions in existing backward-compat tests
    • 30 test stubs not implemented (AC-14)

    Next Steps

    1. Fix test regressions: Update reason string in solveWorkflowToSignals or update the 2 failing tests in __tests__/solve-comment-parser.test.ts
    2. Implement Phase 2: Rewrite .claude/skills/assess/SKILL.md with the 6-action vocabulary, health checks, and PROCEED workflow output per the issue specification
    3. Implement Phase 3: Convert .claude/skills/solve/SKILL.md to thin alias with deprecation notice
    4. Implement AC-14: Fill in the 30 test stubs in assess-comment-parser.test.ts
    5. 3-way sync: Sync .claude/skills/, templates/skills/, and skills/ directories
    6. Re-run /qa 325 after implementation is complete
  7. added
    needs-work
    on Mar 25, 2026
  8. admarble commented on Mar 25, 2026

    @admarble
    ContributorAuthor

    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.md and .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 with AssessAction type, 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 from assess-comment-parser.ts
    • src/index.ts — Updated exports to include both assess and solve names
    • src/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:

    • Skill file updates (the core of this issue — AC-1 through AC-6, AC-9 through AC-12)
    • Implemented tests (all are stubs)
    • Fix for 2 existing test regressions in solve-comment-parser.test.ts (reason string changed from "/solve" to "/assess")

    AC Coverage

    AC Description Status Notes
    AC-1 /assess produces unified assessment with 6 actions NOT_MET Skill files not updated
    AC-2 PROCEED includes full workflow recommendation NOT_MET Skill files not updated
    AC-3 Health check detects mismatches, stale PRs, overlaps NOT_MET No health check in skill
    AC-4 Each action includes reasoning NOT_MET Skill not modified
    AC-5 Output leads with action, not metadata NOT_MET Skill not modified
    AC-6 /solve works as alias with deprecation notice NOT_MET Solve skill not updated
    AC-7 solve-comment-parser.ts updated for assess format NOT_MET Parser created but all 33 tests are throwing stubs
    AC-8 Phase signal system continues to work NOT_MET 2 existing tests fail (reason string changed)
    AC-9 Multi-issue support NOT_MET Skill not modified
    AC-10 Skill remains read-only NOT_MET Cannot verify — skill not modified
    AC-11 Label review section preserved NOT_MET Skill not modified
    AC-12 Confidence/meta-assessment preserved NOT_MET Skill not modified

    Coverage: 0/12 AC items met


    Quality Metrics

    Metric Value Status
    Type issues (any) 0 OK
    Deleted tests 0 OK
    Files changed (uncommitted) 5 OK
    Test stubs (throwing) 33 ⚠️ WARN
    Existing test regressions 2 ⚠️ WARN

    Test Failures

    New stub failures (33): All tests in assess-comment-parser.test.ts throw "Test stub - implement this test"

    Regressions (2): Existing solve-comment-parser.test.ts tests fail because assessWorkflowToSignals changed the reason string from "Recommended by /solve command: ..." to "Recommended by /assess command: ...". The existing tests assert on the old string.

    Pre-existing (1): discoverUntrackedWorktrees timeout — known CI issue, not related to this PR.


    Self-Evaluation

    • Verified working: No — only the build passes. Tests fail, skill not updated.
    • Test efficacy: Low — all 33 new tests are stubs; 2 existing tests regressed.
    • Likely failure mode: The feature simply doesn't exist yet at the skill layer.
    • Verdict confidence: High — this is clearly incomplete.

    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:

    1. Skill files are untouched — this is where 10 of 12 ACs are satisfied
    2. All 33 new tests are unimplemented stubs
    3. 2 existing tests are broken by the reason string change

    Next Steps

    1. Run /exec 325 to complete the implementation:
      • Update .claude/skills/assess/SKILL.md with unified assessment (6 actions, health checks, reasoning, action-first output)
      • Update .claude/skills/solve/SKILL.md to alias to /assess with deprecation notice
      • Implement the 33 test stubs in assess-comment-parser.test.ts
      • Fix the 2 regressions in solve-comment-parser.test.ts (update expected reason strings)
      • Commit all changes
    2. Re-run /qa 325 after implementation is complete
  9. added 2 commits that reference this issue on Mar 25, 2026
  10. admarble commented on Mar 25, 2026

    @admarble
    ContributorAuthor

    /fullsolve Complete

    Issue: #325
    Status: READY_FOR_MERGE

    Summary

    • AC: 12/12 met
    • Tests: 54 new + 35 existing passing
    • Build: passing
    • QA: All checks passed

    Iterations

    • Spec: 1 (prior run)
    • Exec: 1
    • QA: 1 (passed first try)

    Self-Evaluation

    • Worked as expected: Yes
    • Test coverage confidence: High — 54 unit tests + 35 backward-compat tests
    • Weakest part: Health checks and multi-issue support live in SKILL.md (prompt-level, not compiled)
    • Honest assessment: Solid implementation, no concerns

    PR: #436


    Ready for human review and merge.

  11. added 2 commits that reference this issue on Mar 25, 2026
  12. admarble commented on Mar 25, 2026

    @admarble
    ContributorAuthor

    Documentation Generated

    File: docs/features/assess-unification.md

    Sections Included:

    • What You Can Do (single/multi-issue, /solve alias)
    • 6-Action Vocabulary reference table
    • Output Format with examples
    • Health Checks (4 categories)
    • Machine-Readable Markers
    • TypeScript API (new + deprecated aliases)
    • Migration from /solve
    • Troubleshooting (3 common issues)

    Next Steps:

    1. Review generated documentation for accuracy
    2. Commit to main

    Ready to merge!

  13. added 3 commits that reference this issue on Mar 25, 2026
  14. added 2 commits that reference this issue on Apr 16, 2026
  15. added a commit that references this issue on Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-workplanned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions