feat(kit): Escalation — tiered escalation ladder for a work item (FT316) - #782
Merged
Conversation
Tier-progression state machine: open() at L1, escalate() +1 via a guarded UPDATE ... WHERE status='open' AND level < max_level (never exceeds ceiling, no-op on resolved/unknown), resolve() guards on open (no double-resolve); level/isResolved/atMaxLevel reads, activeCases() most-escalated first, countAtLevel(). Unknown-reference reads safe; duplicate open rejected. 11 tests / 34 assertions; CS Fixer + Phan clean. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
hideyukiMORI
enabled auto-merge (squash)
May 29, 2026 13:54
hideyukiMORI
added a commit
that referenced
this pull request
May 29, 2026
Advances the FT1–FT306 → FT1–FT316 markers in current.md and roadmap.md and prepends candidates.md archive entries for: LeaveRequest, ExpenseClaim, Kudos, Tournament, Dispute, PledgeDrive, ShiftRoster, SpaceOccupancy, SeatMap, Escalation (PRs #773–#782). Completes the 50-trial Nene\Kit field-trial run. Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
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
Field Trial FT316 —
Nene\Kit\Escalation: an L1→L2→…→Lmax escalation ladder. Distinct fromIncidentLog(severity/lifecycle) andSlaTracker(breach detection).open(reference, maxLevel=3): intescalate(reference): boolresolve(reference): boollevel / isResolved / atMaxLevel / activeCases / countAtLevelUPDATE … SET level = level + 1 WHERE status='open' AND level < max_level— never overshoots, no-op on resolved/unknown.F-N findings
Test plan
composer precommitgreen (format → Phan → 5203 tests)🤖 Generated with Claude Code