-
Notifications
You must be signed in to change notification settings - Fork 0
feat(coverage): reconstruct exact-base uv workspaces without local-package leakage #750
Copy link
Copy link
Open
Labels
area: apiAPI, protocol, event, or external contractAPI, protocol, event, or external contractarea: ci-cdCI, GitHub Actions, checks, release, or supply chainCI, GitHub Actions, checks, release, or supply chainarea: dependenciesDependency or lockfile maintenanceDependency or lockfile maintenancearea: ui-uxFrontend, interaction, design, or user experienceFrontend, interaction, design, or user experienceenhancementNew feature or requestNew feature or requestpriority: mediumNormal-priority or P2 workNormal-priority or P2 workstatus: triagedOpen issue has an organization taxonomy assignmentOpen issue has an organization taxonomy assignmenttype: featureNew or expanded product capabilityNew or expanded product capability
Description
Activity
Metadata
Metadata
Assignees
Labels
area: apiAPI, protocol, event, or external contractAPI, protocol, event, or external contractarea: ci-cdCI, GitHub Actions, checks, release, or supply chainCI, GitHub Actions, checks, release, or supply chainarea: dependenciesDependency or lockfile maintenanceDependency or lockfile maintenancearea: ui-uxFrontend, interaction, design, or user experienceFrontend, interaction, design, or user experienceenhancementNew feature or requestNew feature or requestpriority: mediumNormal-priority or P2 workNormal-priority or P2 workstatus: triagedOpen issue has an organization taxonomy assignmentOpen issue has an organization taxonomy assignmenttype: featureNew or expanded product capabilityNew or expanded product capability
Buyer-visible problem
The central coverage sandbox can now export a nested standalone
pyproject.toml/uv.lockpair, but a true uv workspace may require member project metadata in addition to the root files. Reconstructing only the root pair can make a valid modular repository fail its central review, while silently ignoring missing members would produce incomplete dependency evidence.This is a central MSA concern: each product and service must remain independently usable, while the organization review plane must also understand a repository that composes several standalone modules through a uv workspace.
Required design
uv.lock, rootpyproject.toml, and every workspace member/exclusion only from one validated 40-character base commit SHA.tomllib; do not execute project code or import project packages..., control characters, unsafe glob constructs, symlinks, submodules, duplicate members, and paths outside the workspace root.uv export; document every copied file class.--all-packagessemantics while omitting the root and all local workspace packages (--no-emit-workspaceor an equivalently verified contract).--frozen,--offline, cacheless execution, dotenv suppression, and managed-Python-download prohibition.==pin with complete SHA-256 hashes.Realistic verification
[project]exports all members.pyproject.tomlfails before coverage execution.Documentation and standards
Record the design in
docs/doctoring/with APA 7th references to current Astral uv workspace/export documentation and the approved SLSA 1.2 specification. State the precise conformance boundary; do not claim a SLSA level solely from these controls.Sequencing
Land the standalone uv materialization baseline in #743 first. Implement this workspace slice as a separate reviewed PR so the broader metadata surface cannot dilute the standalone trust boundary.