Skip to content

configure.sh: registry-missing default makes the no-arg form fail on operational carries #332

Description

@ptr727

Raised by Copilot review on the Vantage-Config carry (Vantage-Config #10); the file is carried verbatim, so flagging here per "fix systemic drift in the hub, not per repo".

In a downstream carry the registry is absent, so repo-config/configure.sh defaults the model to release and then aborts because develop.json is not carried on an operational repo. The abort is the intended fail-safe, but it means the documented no-arg form never works on an operational carry - arg 2 is effectively mandatory there.

Copilot's suggestion is reasonable: when the registry is missing, infer the model from the payloads present (operational/develop.json present + develop.json absent -> operational, and vice versa), keeping the abort for the ambiguous/neither case. Every operational carry would benefit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions