Skip to content

Give Every Registry Entry a Required, Gated shortName #4028

Closed

Description

@ptr727

Decision

The maintainer decided on 2026-11-10 that every registry entry carries a required shortName. Examples are hub for ProjectTemplate, homelab for HomeAutomation-Config, and finmod for Financial-Modeling.

It serves two uses:

  • The owner token of a host consumer secret stem, per Define an Owner-First Naming Scheme for Host Secret Files #3959: <shortName>_<purpose>[_<part>].
  • Resolving a short name in conversation. The maintainer refers to repositories by short name, and an agent maps the name to the repository through the registry rather than guessing.

What the change holds

  • Schema. registry/repos.schema.json requires shortName on every entry, and registry/repos.json gives each entry one.
  • Gate. The spec gate checks that each short name matches [a-z0-9]+, with no _ (the stem field separator) and no -. It also checks that each is unique, equals no other entry's lowercased repository name, and is not a reserved token such as github or fleet.
  • Permanence. A short name is permanent once a host secret uses it, since changing it renames files on every host. The gate treats a change to an existing short name as a migration needing the maintainer, not an edit.
  • Carried rule text. One sentence where agents look for repository names, such as AGENTS.md "Fleet Bootstrap" or GOVERNANCE.md: a repository named by its short name is resolved through registry/repos.json.
  • Unchanged. The github_<repo>_<secret> provisioning namespace keeps its current form, so the files from Provision a Repository's Secrets From the Host's Secrets Directory #3934 and Claim Registry Required Secrets in Both Stores #4025 do not migrate.

Done when

Every registry entry has a gated short name, the carried sentence is in place, and #3959 builds on it.

Activity

  1. added
    enhancement
    on Nov 10, 2026
  2. ptr727 commented on Nov 11, 2026

    @ptr727
    OwnerAuthor

    Backlog burndown claim, round 1 (2026-11-10). Branch feature/registry-short-name, group: #4028.

    Predicted files:

    • registry/repos.json
    • registry/repos.schema.json
    • spec/validate.py
    • tests/test_spec_validate.py
    • STANDUP.md
    • AGENTS.md
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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions