Skip to content

repo create → init handoff is fragile #138

@angeloashmore

Description

@angeloashmore

The handoff between repo create and init --repo is error-prone.

repo create always generates a random 8-character domain (e.g. 7bcf54bf) and prints it in a human-readable message. init --repo needs that exact domain string.

Two problems observed in an agent test session:

  1. repo create silently ignores positional arguments. Running prismic repo create my-repo-name doesn't warn that the positional was unused — the domain is still randomly generated. The agent assumed my-repo-name was the domain and passed it to init --repo, which then failed with "Repository not found."

  2. The domain is only available in human-readable output. There's no --json flag on repo create to reliably capture the generated domain.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions