ID: PF-20261021-F07
Title: Default port fallback
Kind: feature
Workflow: done
Created: 2026-10-21
Evidence: deployed
Estimate: 0.2
Aliases: 2026-10-21/F07, 2026-10-30/F35

Request:
Make local `./v3 start` try a few successive ports after 8000 before giving up by default.

Sources:
- https://zenmemes.com/posts/reply-20261021180905-9bf88f1f

Done when:
Occupied default ports advance within a fixed range; actual URL, exhaustion, and shutdown behave correctly.

Notes:
2026-11-21: Implemented default and --listen-all fallback across ports 8000–8009, preserving explicit-port requests. Binding confirmation precedes success output, registration and worker startup. Exhaustion exits nonzero with recovery guidance. Verified real ./v3 start on 8002 with 8000/8001 occupied, all-ten exhaustion and release/retry on 8009, HTTP 200 static assets, logs, frontend registration and shutdown with/without PCNTL. Focused startup/worker/log checks 15/15 and frontend checks 14/14 pass. Smoke 492/496 passes; all four failures reproduce on untouched main. Full suite not run. See docs/plans/local_start_port_fallback/local_start_port_fallback_one_shot.md. Blocked pending merge and maintainer acceptance; no deployment or push.
Register status at migration: workflow state: untriaged; delivery evidence: unknown; production report not reproduced by this migration. Reviewed 2026-10-23 from existing documents, no runtime audit.
Open — resolution not verified. Triage context: Startup selects one address; bounded retries can preserve explicit-address behavior. Source (v3).
Next action: Confirm current default/explicit port behavior, then scope bounded fallback and exhaustion checks.
Estimate 0.2 is inherited from October 21 feedback-only triage. Recommended workflow: One-shot.
Historical triage: docs/plans/zenmemes_meta_feedback_2026-10-21_mini_triage.md
History: docs/plans/production_feedback_register.md#pf-20261021-f07
October 30 summary row F35: Have local ./v3 start try successive ports after 8000 by default. Status there: Open — resolution not verified (docs/plans/zenmemes_meta_feedback_2026-10-30_summary.md)
2026-11-24: Completion reconciliation authorized by the maintainer after PR #404. Implementation 53a2dd91b7 is on audited main and deployed ancestry (live c4205ea43d). DevServerStartTest passes real launcher checks: occupied ports advance, actual listener serves/registers, ten-port exhaustion fails without a worker, release/retry succeeds, explicit collisions fail, shutdown releases the socket. Covers PCNTL disabled too. Done when/request is satisfied by the checked evidence; prior merge/deployment-only blockers are historical. Reconciliation: docs/feedback/triage/2026-11-24_completion_applied.txt.