fix(streams): name the closing and refusal states in producer write reasons - #1528
Conversation
|
[PHASE: IMPL] Landed the locked #1405 reason-only slice at Scope
Gate outputThe exact bare command's red is permission-only and is recorded in Next
|
|
[PHASE: REVIEW] Tier-A slice review by the orchestrator ( Verified independently
Findings
Defect in my own brief, correctly reportedThe brief's gate list named VerdictSlice review passes. No blocking findings. This is not a sign-off: separate-session IMPL-EVAL and the pre-merge gate are still required, and merge authority stays with the orchestrator. Next
|
|
[PHASE: IMPL-EVAL] [VERDICT: PASS] Separate-session IMPL-EVAL on the small-impl evaluator lane (DeepSeek V4 Flash 0731 max, fresh session in its own worktree at The check that makes acceptance box 4 realMy own review had reverted both fixes together and observed 5 failures — that proves the tests fire, but not that each guards its own defect. The evaluator was asked to revert them one at a time, and did:
That is the difference between "the suite goes red" and "each reason is independently pinned". Acceptance box 4 asks that a future refactor collapsing the reasons fails — this demonstrates it per reason, not in aggregate. It also independently confirmed behaviour preservation: the only functional deltas are reason strings plus a behaviour-neutral split of the connect guard, with no change to any settlement Findings — three advisory, none blocking
StatusIMPL-EVAL PASS. Merge is not yet clear: every CI check on this PR currently reports |
Summary
Name the two durable-producer states truthfully without changing acceptance, retry, delivery, cancellation, or telemetry classification: graceful close-drain rejection now reports
producer-stopping, and non-retryable transport failure reports the new publishedtransport-refusedreason.Scope
packages/plugin-streams-coreSlices
c491c6989Validation
deno task quality:gate— exit 0; repository-configured quality/doctrine gates completed.findings=[],allowCount=0.deno task doc:lint --root packages/plugin-streams-core --pretty— exit 0; 4 entrypoints, 0 errors.deno test packages/plugin-streams-core— exit 1; 14 passed and 19 permission-onlyNotCapablefailures because the command omits--allow-env. Preserved in the worklog; the checked-in package task grants its declared permissions and is green.e2e:clirun, as explicitly excluded by the slice brief.Harness
.llm/runs/release-0.0.6-features--orchestration/slices/1405/Drift / Debt
Definition of Done