GitLawb sidecar
GitHub stays origin. This tool adds a second remote named gitlawb and
pushes a public signed copy to https://node.gitlawb.com.
Commands
npx gitlawb-sidecar@latest init # first time in a repo
npx gitlawb-sidecar@latest sync # push HEAD and fetch the cert
npx gitlawb-sidecar@latest verify # check HEAD has a matching cert
npx gitlawb-sidecar@latest status
npx gitlawb-sidecar@latest doctor # exits 1 if anything is wrong
Rules
- Never run a command named
gl. oh-my-zsh aliasesgltogit pull. - Never change, rename, or delete the
originremote. - Never push
.env,identity.pem, private keys, or anything the user would not put on a public GitHub repo. GitLawb copies are public. - After
initorsync, paste the explorer URL and cert id in your reply. - If
gitlawb-sidecaris not installed, usenpx gitlawb-sidecar@latest. - If
doctorfails, fix what it prints. Do not inventgitlawb://URLs.
First-time flow
npx gitlawb-sidecar@latest init
This creates a DID if needed, registers on the public node, adds the
gitlawb remote, pushes HEAD, and writes:
.gitlawb-sidecar.json.github/workflows/gitlawb-sidecar.yml- this skill under
.claude/skills,.agents/skills, and.cursor/skills
Tell the user to add repo secret GITLAWB_IDENTITY_PEM (contents of
identity.pem) so GitHub Actions can sign. Point them at
npx gitlawb-sidecar status --show-pem-hint.