model: fail closed on unaligned prefix resume (#47) #76
No reviewers
Labels
No labels
cards:go
hermes-approved
human-approved
human-approved
iter
0
iter
1
iter
2
iter
3
prio:high
prio:low
prio:med
priority/high
state
blocked
state
doing
state
done
state
review
state
todo
x280
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bitpartner/tt-stack!76
Loading…
Reference in a new issue
No description provided.
Delete branch "agy/issue-47"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fail closed on an unaligned prefix resume (
plan["lead"] is not None) in all four chunkedprefill paths of
Qwen36Model(traced single-device, eager TP, traced TP). Theunaligned-resume run-up is unqualified: no record covers it, and it is unreachable under
valid configuration. Today it would run silently and produce unverified state; after this it
raises with the path name, the lead extent and a pointer to issue #47.
Adds
bench/fixtures/fixtures-prefix-unaligned-resume-test.pycovering the plan shapes.No production behaviour change on any qualified configuration — the asserts only fire on
a path that was already outside the qualified scope.
Master merged in first (branch was cut before PR #68). Verified after the merge:
docs/still 11 files, no root
CLAUDE.md,AGENTS.mdis the lean rewrite,QWEN36_PREFILLED_SLOTS_FIXstill inqwen36_vllm.py, and the only file added versusmaster is the fixture test. No PR #68 deletion was resurrected.
scripts/check-cited-records.pypasses locally.Closes #47.
🤖 Generated with Claude Code
agent-gateway closeout (merged): cleared
agent:*labels.Hermes kanban card (if any) is left for Hermes to archive/complete.