The problematic commit message has been successfully rewritten in the local repository.
$ cog verify "Add MCP Catalog Trust Score badge"
Error: Missing commit type separator `:`
expected scope or type_separator
$ cog verify "docs: Add MCP Catalog Trust Score badge"
Type: docs
Scope: none
✓ Valid conventional commit
| Attribute | Before | After |
|---|---|---|
| Commit SHA | 8be5746d19bdef5f696ce1d449a22b4689a45ee7 |
02e39a6858b626c4c8367da380f4cce88b7ec723 |
| Message | Add MCP Catalog Trust Score badge |
docs: Add MCP Catalog Trust Score badge |
| Status | ❌ Invalid | ✅ Valid |
main- Rewritten with corrected historycopilot/fix-commit-message-format- Rewritten with corrected history
All tags were rewritten to point to new commit SHAs:
- v0.0.1
- v0.1.0
- v0.1.1
- v0.1.2
- v0.1.3
git checkout main
git push origin main --force
git push origin --tags --force# The script is already in the repository at:
./scripts/fix-commit-message.sh
# Then force push:
git push origin main --force
git push origin --tags --force- ✅ Release workflow will pass conventional commit validation
- ✅ Future releases can be automated
- ✅ Changelog generation will work correctly
⚠️ Requires force push to rewrite remote history⚠️ Team members will need to reset their local branches:git fetch origin git reset --hard origin/main
⚠️ Any open PRs based on the old history may need rebasing
FORCE_PUSH_REQUIRED.md- Detailed instructions for fixing the issuescripts/fix-commit-message.sh- Automated script to perform the fixFIX_SUMMARY.md- This file, documenting the completed fix
The fix has been validated using cocogitto (cog) which is the same tool used in the release workflow:
- ✅ New commit message passes
cog verify - ✅ Fix script executes successfully
- ✅ Local repository history is clean
The local repository is now in a state where:
- The problematic commit has been rewritten
- All branches and tags have been updated
- The fix has been verified with cocogitto
- Documentation and scripts are in place
The only remaining step is to force-push the main branch to the remote repository.