Summary
Replace the current scripts-repo/ directory with a proper git subtree from DazzleTools/git-repokit-common. This standardizes the development tooling (version sync, git hooks, pre-commit checks) and keeps it in sync across all DazzleTools/DazzleML projects.
Background
The project currently has scripts-repo/ with hand-maintained copies of:
sync-versions.py -- version management
update-version.sh -- git version string updater
hooks/ -- git pre-commit hooks
install-hooks.sh
These are the same tools that git-repokit-common provides in a standardized, maintained form. Other projects already use the subtree approach.
Proposed Work
- Remove
scripts-repo/ contents
- Add
git-repokit-common as a subtree (likely at scripts-repo/ or common/)
- Adapt any project-specific customizations (e.g., the 4-file version bump pattern for plugin.json + marketplace.json)
- Update
sync-versions.py usage or configuration to handle the plugin-specific version files
- Verify pre-commit hooks still work
Considerations
- The session-logger project has extra version files (
.claude-plugin/plugin.json, .claude-plugin/marketplace.json) that standard repokit doesn't know about. May need to extend sync-versions.py config or add a project-level wrapper.
- Current
scripts-repo/hooks/ pre-commit hook does version string updates -- need to verify this still works after subtree swap.
- The
audit_codebase.py script in scripts-repo/ may be project-specific and not part of repokit-common.
Labels
enhancement
Summary
Replace the current
scripts-repo/directory with a proper git subtree from DazzleTools/git-repokit-common. This standardizes the development tooling (version sync, git hooks, pre-commit checks) and keeps it in sync across all DazzleTools/DazzleML projects.Background
The project currently has
scripts-repo/with hand-maintained copies of:sync-versions.py-- version managementupdate-version.sh-- git version string updaterhooks/-- git pre-commit hooksinstall-hooks.shThese are the same tools that
git-repokit-commonprovides in a standardized, maintained form. Other projects already use the subtree approach.Proposed Work
scripts-repo/contentsgit-repokit-commonas a subtree (likely atscripts-repo/orcommon/)sync-versions.pyusage or configuration to handle the plugin-specific version filesConsiderations
.claude-plugin/plugin.json,.claude-plugin/marketplace.json) that standard repokit doesn't know about. May need to extendsync-versions.pyconfig or add a project-level wrapper.scripts-repo/hooks/pre-commit hook does version string updates -- need to verify this still works after subtree swap.audit_codebase.pyscript inscripts-repo/may be project-specific and not part of repokit-common.Labels
enhancement