Skip to content

cluster discovery: zero-cluster repo can register the global apps dir as pseudo-cluster "." #65

Description

@max06

STEP 1 derives clusterPath via trimPrefix+dir; for the global apps/ dir itself this yields ".", and the guard only rejects the empty string. In a repo with global deployments but no clusters (or during bootstrap before the first cluster exists), "." can classify as a leaf cluster and produce a nonsense render target. Needs a repro + a one-line guard (ne $clusterPath ".").

Found during the 2026-08-11 template audit (Claude, with max06).

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions