Repository navigation
ci: check commit and PR titles with ref0-workspace - #2
Merged
Merged
Conversation
Q1116 step 3: main's subjects broke the format again after the history rewrite. ref0's release 0.102.0 (ea7c85d) also deleted Q1129's hooks, since it clears every path but README.md before it copies the plugin in. This puts back aec92ac's tooling as it was, and adds a commit-msg hook that runs `ref0-workspace commit-message` and `.github/workflows/title.yml`, the repo's first workflow, which runs it with `--title` on each pull request's title. commits.md says the format, the scopes and where each is checked, and that ref0's release writes its own subject. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
mihar-22
added a commit
that referenced
this pull request
Nov 29, 2026
ci: check commit and PR titles with ref0-workspace
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Q1116 step 3, for ref-0/plugins: main's subjects broke the commit format again after the history rewrite (ea7c85d
ref0 0.102.0, aec92ac), because nothing checked them here.What changes
.gitandREADME.mdbefore it copies the plugin in, so theref0 0.102.0push (ea7c85d) deleted what ci: run the commit and push checks through @ref0/workspace 0.8.0's hooks #1 added:package.json, the lockfile,pnpm-workspace.yaml,vite.config.ts,.gitignore,.vite-hooks/pre-pushandcommands.md. This restores them byte for byte from aec92ac..vite-hooks/commit-msgrunsref0-workspace commit-message "$1", as git wires its own.vp config, from the rootpreparescript, installs it..github/workflows/title.yml, the repo's first workflow, runsref0-workspace commit-message --titleon the pull request's title, onopened,edited,synchronizeandreopened. It checks out onlypackage.json, which names the scopes and pins@ref0/workspace, then runs that one package from npm onubuntu-24.04. No install and no repo code..agents/repo/commits.mdis new. It holds the format, the scopes (ref0,antigravity) and a table row for each place the format is checked, ref0's release among them.Not in this PR, and it needs ref-0/ref0
.github/workflows/release.yml(the "Push the marketplace" step) writesref0 $VERSION. It should writechore(ref0): release $VERSION. This seat may not touch ref-0/ref0.find . -mindepth 1 -maxdepth 1 ! -name .git ! -name README.md -exec rm -rf. Until it also keeps.agents,.github,.vite-hooks,.gitignore,package.json,pnpm-lock.yaml,pnpm-workspace.yamlandvite.config.ts, the next release deletes this PR's files again.The merge settings don't change here. The coordinator decides them separately.
Verification
At b63809b, in a fresh clone:
commands.md: none, since ref0 writes its files).vp checkon the changed workflow and docs: format passes, and none of them is a file lint reads.chore(ref0): release 0.103.0passed.npm exec @ref0/workspace@0.8.0. This PR's title exits 0, andref0 0.102.0exits 1.No review: restored tooling, a hook, a workflow and docs. The repo names no risky systems.
🤖 Generated with Claude Code
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.