Skip to content

fix(init): describe --repo as an existing repository domain - #290

Draft
angeloashmore wants to merge 1 commit into
mainfrom
claude/github-issue-review-tw2l2a
Draft

fix(init): describe --repo as an existing repository domain#290
angeloashmore wants to merge 1 commit into
mainfrom
claude/github-issue-review-tw2l2a

Conversation

@angeloashmore

@angeloashmore angeloashmore commented Sep 5, 2026

Copy link
Copy Markdown
Member

Resolves: #276

Description

The --repo option was described as "Repository name". It takes the domain of a repository that already exists, not a name you choose. An agent read the old wording as a name to invent and asked the user for one.

Checklist

  • If my changes require tests, I added them.
  • If my changes affect backward compatibility, it has been discussed.
  • If my changes require an update to the CONTRIBUTING.md guide, I updated it.

Preview

$ prismic init --help
...
OPTIONS
  -r, --repo string   Domain of an existing repository to connect to

How to QA 1

Run the evals in a container or a disposable VM. They run an agent with bypassPermissions against a real account.

$ node --run build
$ node dist/index.mjs init --help
$ EVAL_TRIALS=5 PRISMIC_ALLOW_EVALS=true node --run evals -- \
    evals/initialize-projects.eval.ts evals/check-before-acting.eval.ts

🤖 Generated with Claude Code

https://claude.ai/code/session_01EDG5bb3gLsNgvJZR3bANY3

Footnotes

  1. Please use these labels when submitting a review:
    ❓ #ask: Ask a question.
    💡 #idea: Suggest an idea.
    ⚠️ #issue: Strongly suggest a change.
    🎉 #nice: Share a compliment.

@angeloashmore
angeloashmore force-pushed the claude/github-issue-review-tw2l2a branch from ffd556f to a7195c0 Compare September 5, 2026 04:01
@angeloashmore angeloashmore changed the title fix(init): say that init needs no confirmation fix(init): describe --repo as an existing repository domain Sep 5, 2026
Comment thread evals/it.ts Outdated
const EVAL_TRIALS = Number(process.env.EVAL_TRIALS ?? 3);
const JUDGE_MODEL = "claude-sonnet-5";
const PRISMIC_SKILL_REF = "5028eeae6dae77e6441af610702a1dd62ce6a5d5";
const PRISMIC_SKILL_REF = "0759657f3a0a0930f515d66e6b805c0f9da038cf";

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This ref will be updated once prismicio/skills#8 lands.

The option was described as "Repository name". It takes the domain of a
repository that already exists. An agent read the old wording as a name
to invent and asked the user for one.

Pin the eval harness to the skill commit that lets an agent run prismic
commands without a confirmation. Move the pin to the merge commit once
prismicio/skills#8 merges.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EDG5bb3gLsNgvJZR3bANY3
@angeloashmore
angeloashmore force-pushed the claude/github-issue-review-tw2l2a branch from a7195c0 to 1ef4978 Compare September 5, 2026 04:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

evals: agent stops before it runs prismic init

2 participants