Development record
`.abcd/development/brief/04-surfaces/35-drain.md:654-655` says the cap is set when a drain begins and a different cap named while it runs is refused, and `.abcd/development/brief/04-surfaces/35-drain.md:943` repeats the refusal. That holds for the bare verb and for a drive over a drain that already has a cap. A drive over a live drain with no cap gives it one: `internal/surface/cli/drain_drive.go:327` refuses a differing `--max` only when the drain's cap is above zero, and `internal/surface/cli/drain_drive.go:391` calls `loop.CapDrainInProgress` (`internal/core/implement/loop/terminal.go:1855`), which stores the lanes already opened plus `--max`, or plus the default of eight. The help at `internal/surface/cli/drain.go:235-236` repeats the chapter's sentence.
.abcd/development/brief/04-surfaces/35-drain.md:654-655 says the cap is set when a drain begins and a different cap named while it runs is refused, and .abcd/development/brief/04-surfaces/35-drain.md:943 repeats the refusal. That holds for the bare verb and for a drive over a drain that already has a cap. A drive over a live drain with no cap gives it one: internal/surface/cli/drain_drive.go:327 refuses a differing --max only when the drain's cap is above zero, and internal/surface/cli/drain_drive.go:391 calls loop.CapDrainInProgress (internal/core/implement/loop/terminal.go:1855), which stores the lanes already opened plus --max, or plus the default of eight. The help at internal/surface/cli/drain.go:235-236 repeats the chapter's sentence.
Frontmatter
| id | iss-2611060809475573 |
|---|---|
| type | issue |
| lifecycle | open |
| severity | minor |
.abcd/work/issues/open/iss-2611060809475573-abcd-development-brief-04-surfaces.md
open on GitHub ↗ · commit history ↗