Skip to content

feat(bench-kit): init clones the detected base repo into .repos/<name> - #36

Merged
psmyrdek merged 1 commit into
masterfrom
feat/bench-kit-local-base-repo-clone
Aug 16, 2026
Merged

feat(bench-kit): init clones the detected base repo into .repos/<name>#36
psmyrdek merged 1 commit into
masterfrom
feat/bench-kit-local-base-repo-clone

Conversation

@psmyrdek

Copy link
Copy Markdown
Collaborator

Co i po co

bench-kit init odpalany z wnętrza repo produktowego klonuje je teraz do .repos/<nazwa>/ w instancji — lokalna kopia robocza dla skilli autorskich (bench-task / bench-refresh / bench-wiring), które dotąd klonowały repo bazowe za każdym razem do scratchpada.

  • Klon z lokalnej kopii roboczej (git clone <rootDir> — natychmiastowy, offline, pełna historia), potem origin przepinany na zarejestrowany URL, żeby git fetch działał jak po zwykłym klonie.
  • ensureIgnored dopisuje .repos/ do .gitignore instancji przed klonem — nawet starszy tag template'u nie wciągnie klonu do initial commita.
  • Porażka klonu degraduje do podpowiedzi (baseRepoClone: cloned/failed/skipped w JSON), nigdy nie blokuje init.
  • Konwencja po stronie template'u (AGENTS.md + skille) wchodzi w 10x-bench-kit 0.9.0.

Testy

3 nowe przypadki w bench-kit-command.test.ts; całość: 510 pass, tsc czysty.

🤖 Generated with Claude Code

Local working copy for the authoring skills (bench-task, bench-refresh,
bench-wiring): cloned from the surrounding product repo (instant,
offline, full history) with origin pointed at the registered remote.
Gitignored via ensureIgnored so older template tags never commit it;
clone failure degrades to a hint.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@psmyrdek
psmyrdek merged commit d9a8225 into master Aug 16, 2026
2 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