Scaffolder Project as Git Repo
Scaffolder Project as Git Repo
Section titled “Scaffolder Project as Git Repo”Date: 2026-03-21 Status: confirmed, not yet applied
Problem
Section titled “Problem”The git repo root is at the engine root. But the engine root is supposed to be the installed copy — never edited locally. Development happens in projects/scaffolder/ but that folder isn’t the repo.
Decision
Section titled “Decision”projects/scaffolder/ becomes the git repo. All repo files get copied there.
.git/ moves there. Engine root is the installed copy — updated from git only.
What Harley does
Section titled “What Harley does”- Copy engine files into projects/scaffolder/ (src/, templates/, .github/, package.json, tsconfig.json, .gitignore, CHANGELOG.md, README.md, LICENSE, CODE_OF_CONDUCT.md, CONTRIBUTING.md, SECURITY.md, .env.example, versions.json)
- Do NOT overwrite: CLAUDE.md, STANDARDS.md, PROJECT-INSTRUCTIONS.md, RELEASE-CHECKLIST.md, ai-sessions/, docs/ — project versions are correct
- Move .git/ into projects/scaffolder/
- Update .gitignore for the new repo root
- Verify git status, remote, and push work from projects/scaffolder/
After this
Section titled “After this”- Development: edit in projects/scaffolder/, commit, push
- Engine update: pull from git into scaffolder-engine/ (like installing an update)
- projects/scaffolder/ IS the repo
- scaffolder-engine/ is the installed runtime, never edited locally