Acceptance Criteria
mcp-bindings.ts STATUS_VALUES accepts pending (currently omitted — MCP plan.update rejects the valid pending work status)mcp-bindings.ts SEVERITY_VALUES uses cosmetic, not trivial (currently rejects the valid cosmetic and accepts trivial, which plan validate then flags)config.ts bug sentimentMap keys cosmetic instead of trivialconfig.ts work sentimentMap includes a pending entry- Tests cover
plan.update accepting pending and cosmetic via the MCP path
Approach
Point-fix the three files. This deliberately does not attempt the full single-source refactor (the follow-up consolidation work does that and makes these fixes structural rather than manual) — the aim here is to close the live bugs immediately.
References
- SPEC-117 — spec (Drift-bug fixes)
- SPEC-037 / WORK-127 — the earlier fix this regressed
Resolution
Completed: 2026-07-09
Branch: claude/milestone-v0-28-0-llvtfa PR: refrakt-md/refrakt#565
What was done
- Folded structurally into WORK-492's consolidation: MCP
STATUS_VALUES/SEVERITY_VALUES now derive from enums.ts, so plan.update accepts pending and cosmetic and rejects trivial. config.ts bug sentimentMap keys cosmetic; work sentimentMap gains pending (plus cancelled/superseded).- Added MCP drift-guard tests in
test/mcp-bindings.test.ts.