Use cadre on a repo with no remote
Use this when the repo has no origin, the remote is a path on this machine, or the remote is neither GitHub nor ADO. Cadre then offers the local tracker.
- Make sure that the repo has a commit on
main,master, or the branch ofinit.defaultBranch. With no such branch, setup stops and says to make a first commit. - Type
/cadre:setup. - Setup says that the repo has no remote, or that the remote is a path, so it uses the local tracker. For another host, it asks one yes-or-no question: is it GitHub Enterprise? Say no to use the local tracker.
- Setup runs
local-list.mjs initwith no confirm. The command adds/.cadre/to.git/info/exclude. - Read the screen and answer the one closing question. A local repo has no repo facts, so most rows are defaults. Setup commits the charter to a branch named
cadre-charter. It does not push and does not open a pull request. - Review and merge that branch by hand.
The tracker is on this machine only. For where it lives, who owns it, and what the charter holds, see the orchestrator issue and the charter.
Run each tracker command inside the repo or one of its worktrees. Never edit a tracker file by hand, except the state: line of a ticket.