Accept valid local main module paths

This commit is contained in:
2026-10-10 14:12:50 +00:00
parent c8eb64adec
commit 7eebbbbfc3
4 changed files with 57 additions and 2 deletions

View File

@@ -195,7 +195,14 @@ and cancellation tests.
## Issue 6: Avoid requiring downloadable module paths for ordinary main modules (P2)
Status: open. Category: unrequested restriction.
Status: complete. Category: unrequested restriction.
**Completion:** Identity derivation uses Go import-path lexical validation and
retains path-major compatibility. A valid non-domain main module now completes
candidate checking, native standalone compilation, and hosted page-only delivery
against a local fixture. Qualified and local major-version derivation, missing
and malformed declarations, and incompatible majors pass their focused offline
regression tests.
**Evidence:** [`Derive`](../../internal/releaseidentity/identity.go) adds
`module.CheckPath`, including its requirement for a dot in the first path element.