Skip to content

--pin-source in scaffold-project.py and adopt-project.py: accepted without --pin, and committed into digest_source as typed #540

Closed

Description

@brettheap

A --pin-source that nothing reads is accepted silently, even a path that does not exist. One that is read is written into the committed pin as typed, so an absolute path commits the machine's own directory.

From the v1.1.0 triage of the v1.0.0 known limits on #457 and #459. One pull request covers the lines below.

Lines

Rides along (backlog; tick it here if the same change covers it)

Each line above is marked → this issue on its tracking issue. Tick it there too when this closes.

The lines as written on the tracking issues

AT-scaffold N7: --pin-source writes the path as typed into the committed pin file's digest_source (local-clone (<path>), scaffold-project.py:421), so an absolute path commits the scaffolding machine's own directory.
— #459, body

L2-15 (P3; pairs with L2-14 on #457): once #515 and #517 both land, the scaffold and adopt spell some neutral_product_pins: entries differently.

— #459, comment

L2-16 (nit, at the next touch of the template): the header of templates/assembly-root/contracts/neutral-product-pin.yaml (lines 7-10) says only the scaffold renders the file. adopt-project.py execute renders it too.
— #459, comment

Activity

  1. added this to the v1.1.0 milestone on Oct 14, 2026
  2. brettheap commented on Oct 14, 2026

    @brettheap
    ContributorAuthor

    CLAIMED — lane openRepoShape-2, session 81650e29-c906-4fe8-96c9-55580bfe0c44@Eagle, 2026-10-14T22:27:35Z, for #540

    Logged in lanes/log/openRepoShape-2.md at 4102849e674e2f890b9dd610fdf362804d7b6965.

    The three reads (lane-collision-protocol Rule 1):

    1. existing `CLAIMED —` comments on opensoft/openRepoShape#540:
       none
    2. `gh pr list --repo opensoft/openRepoShape --state all --search "#540"`, kept where the row or its body names `#540`:
       none
    3. `git ls-remote --heads git@github.com:opensoft/openRepoShape` branches naming `540` as a whole token:
       none
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions