This repository was archived by the owner on Apr 26, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commands
settletop-niles edited this page Oct 18, 2025
·
5 revisions
This page lists the primary VS Code commands registered by the CodeRoot extension and what they do.
Commands and quick examples
-
coderoot.openQuickMenu
- Purpose: Open the CodeRoot quick menu (safe when not initialized).
- Use from: VS Code Command Palette (CodeRoot: Quick Menu).
-
coderoot.initProject
- Purpose: Initialize the workspace for CodeRoot. Creates
.coderoot/config.jsonand baseline state. - Example: run from Command Palette: "CodeRoot: Initialize CodeRoot".
- Purpose: Initialize the workspace for CodeRoot. Creates
-
coderoot.toggleJournal
- Purpose: Enable/disable journaling (persisted in
.coderoot). Requires initialization.
- Purpose: Enable/disable journaling (persisted in
-
coderoot.setInventoryModeModified / coderoot.setInventoryModeAll
- Purpose: Switch inventory indexing mode between
modifiedandall.
- Purpose: Switch inventory indexing mode between
-
coderoot.toggleVisibility
- Purpose: Toggle
.coderootvisibility in explorer (workspace or per-folder).
- Purpose: Toggle
-
coderoot.autoCommit / coderoot.autoCommitDryRun
- Purpose: Auto-commit helper (dry-run shows which files would be staged).
- Example (dry-run): the dry-run command writes details to the extension output channel — use
coderoot.autoCommitDryRun.
-
coderoot.generateReport
- Purpose: Generate JSON + Markdown report via
assets/ci-reporter.mjs. - Example (from command): run
CodeRoot: Generate Reportin the Command Palette. The extension will prompt to open the generated Markdown.
- Purpose: Generate JSON + Markdown report via
-
Identity & migration utilities
-
coderoot.consolidateIdentitiesNow,coderoot.runIdentitySweep,coderoot.trustIdentitySeeds,coderoot.migrateSnapshotsPerUser,coderoot.migrateLegacyPCM - Purpose: Maintenance and migration tasks.
migrateLegacyPCMprompts for Dry-run vs Apply and can usescripts/migrate-legacy-pcm.mjs.
-
Notes & verification
- Many commands require the workspace to be initialized and journaling enabled; the extension shows warnings if preconditions fail.
- How to verify: after running commands that change state, use the Output channel (CodeRoot) or inspect
.coderoot/v1/*files.