Skip to content

feat: auto-register the surrounding product repo as first base repo - #27

Merged
psmyrdek merged 1 commit into
masterfrom
feat/bench-kit-base-repo-detection
Aug 13, 2026
Merged

feat: auto-register the surrounding product repo as first base repo#27
psmyrdek merged 1 commit into
masterfrom
feat/bench-kit-base-repo-detection

Conversation

@psmyrdek

Copy link
Copy Markdown
Collaborator

Running 'bench-kit init' from inside a product repo is the common flow, so init now detects the git repo containing the invocation cwd (git rev-parse --show-toplevel + origin remote + HEAD) and replaces the template's demo-app placeholder in bench.config.yaml with that repo, editing the YAML document in place so company-zone comments survive. The detection also lands in instance.json (incl. HEAD as a candidate pin for the first task). No detection, no origin, or detecting the instance itself → the placeholder stays. Adds the 'yaml' dependency.

Running 'bench-kit init' from inside a product repo is the common flow,
so init now detects the git repo containing the invocation cwd (git
rev-parse --show-toplevel + origin remote + HEAD) and replaces the
template's demo-app placeholder in bench.config.yaml with that repo,
editing the YAML document in place so company-zone comments survive.
The detection also lands in instance.json (incl. HEAD as a candidate
pin for the first task). No detection, no origin, or detecting the
instance itself → the placeholder stays. Adds the 'yaml' dependency.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@psmyrdek
psmyrdek merged commit 7fbe39e into master Aug 13, 2026
9 checks passed
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.

1 participant