workspace-governance
Skill2 starsChanged 49 days agoMITView on GitHub
Use when finding, registering, organizing, or observing Workspaces repositories.
In this repository39 other files it gives its agents.
- agent-lifecycleSkill
- analyse-ticketSkill
- blast-areaSkill
- blocksSkill
- codex-review-loopSkill
- coding-teacherSkill
- decision-journalSkill
- delphi-groundSkill
- delphi-imagineSkill
- derive-codebase-contextSkill
- describe-changesSkill
- github-webhooksSkill
- handoff-promptSkill
- implement-ticketSkill
- investigate-codebaseSkill
- isolated-change-validationSkill
- land-complex-changeSkill
- layer-repository-docsSkill
- mine-session-transcriptsSkill
- model-routingSkill
- new-ux-discoverySkill
- onboard-projectSkill
- preregistered-model-studySkill
- promote-releaseSkill
- publish-agent-skillSkill
- publish-to-linearSkill
- release-ledgerSkill
- release-notesSkill
- report-progressSkill
- request-answersSkill
- request-blocks-reviewSkill
- resolve-problem-reportSkill
- resume-after-limitSkill
- rotate-shared-secretSkill
- secure-credential-setupSkill
- track-in-linearSkill
- update-agent-skillsSkill
- visualise-blast-areaSkill
- work-in-external-repoSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 4 are distinctive, and 9 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 24
Run selector-free list, config export --target catalog, or doctor against the selected setup.
- Distinctive: line 33
Run a supported inherited workflow through exact agent/external handoffs, approvals, and readback.
- Distinctive: line 34
Run an exact two-repository coordination workflow with isolated repository contexts and inert rule-set proposals.
- Very specific: line 41
Do not move real portfolio repositories, sweep knowledge, embed providers, perform external handoffs, or substitute cd for native …
- Very specific: line 77
Default doctor validates standalone CLI readiness and reads no skill.
- Very specific: line 84
Preview initialization: Run init with an absent plan path in the plans directory.
- Very specific: line 110
Find and register deliberately: Run workspacectl where TARGET first.
- Distinctive: line 122
No credentials, submodules, hooks, scripts, or installs are serialized/run.
- Very specific: line 124
Manage isolated worktrees: Create from an exact commit/new branch at an absent safe path.
- Very specific: line 143
Resolve bounded context read-only: Run context REPOSITORY or explain REPOSITORY [FIELD] with legal selectors.
- Very specific: line 149
Open and activate exactly: Run workspacectl open TARGET read-only.
- Distinctive: line 153
Respect storage authority: Use installed adapter names only.
- Very specific: line 163
Default output is readable text.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Workspace Governance
Workspaces v0.3.0 implements M2/A06 through M7/A16 plus M3/A17 while retaining M2/A05. Legacy catalog, policy, discovery, report, and placement previews remain read-only.
This skill owns workspace catalog, policy, guarded checkout/worktree guidance, and bounded workflow
execution and explicitly approved supported checkout moves, not model routing, agent lifecycle, investigation, publication, or unapproved/portfolio moves. Native Hermes
switching uses desktop_project only after explicit activation.
When to Use
- Run selector-free
list,config export --target catalog, ordoctoragainst the selected setup. - Validate/plan a complete explicit catalog draft; create/update/reparent business groups; and edit repository membership or accept/reject classification suggestions.
- Resolve a repository by stable ID, canonical remote, or unique approved alias; inspect/select its primary and distinguish intentional worktrees.
- Register an existing checkout; create or move one through an exact plan; and manage owned isolated worktrees without hidden Git mutation.
- Author policies/workflows and resolve bounded
context/explain, including selected approved references. - Run a supported inherited workflow through exact agent/external handoffs, approvals, and readback.
- Run an exact two-repository coordination workflow with isolated repository contexts and inert rule-set proposals.
- Compare carried rule-set source bytes read-only and report matching or drift.
- Open an exact repository/project; perform and verify an explicitly requested native Hermes Project action; or create/reopen an approved coordination workspace.
- Observe explicit GitHub sources/trusted roots and compare overview coverage.
Do not move real portfolio repositories, sweep knowledge, embed providers, perform external handoffs, or substitute cd for native activation.
Prerequisites
This skill loads without workspacectl. First run command -v workspacectl and
workspacectl --version; do not guess a launcher or execute latest. The matching runtime is
package @crissmoldovan/workspace-governance 0.3.0 from immutable tag
workspace-governance-v0.3.0, catalog compatibility 0.26.0, and the anchored manifest named in
this file's metadata.
With explicit consent, run the copied scripts/install-runtime.mjs using Node.js >=24, an
absolute user-writable managed root and bin directory. It previews unless --yes is present.
Without --bundle it downloads only the pinned public GitHub Release manifest/archive, needing
no GitHub, Hermes, npm-registry, or AI credentials. For offline/manual installation pass
--bundle /absolute/release-assets; the directory must contain the anchored
runtime-manifest.json and its named archive. The helper verifies package/version/bins, complete
content hashes, lifecycle-script absence and both managed launchers before activation.
Declining is safe: keep using the skill as guidance and make no runtime, profile, or governed-data change. Manual preview:
node scripts/install-runtime.mjs plan \
--root "$HOME/.local/share/workspacectl" \
--bin-dir "$HOME/.local/bin" --jsonNode.js >=24 (with npm) and POSIX tar are bootstrap prerequisites. Install them separately using
your OS/vendor instructions; this helper never uses sudo or installs prerequisites. Git is needed
only for governed Git operations, not release download. npx is needed only to install/remove the
skill with pinned skills@1.7.0 --copy, not to run the runtime helper. Missing/old Node, npm, tar,
Git or npx, unsupported Linux/macOS platform, network failure, unwritable destinations, occupied
or symlinked paths, and modified/unmanaged receipts are blockers to fix explicitly—never reasons
to overwrite, follow latest, access credentials, or mutate an agent profile.
Node.js 24 and trusted Git are required. For GitHub, use existing authorized gh; never change credentials.
Default doctor validates standalone CLI readiness and reads no skill. Use
doctor --integration --skill FILE to validate a selected matching agent skill explicitly.
Procedure
- Select isolated paths. Choose absent config, catalog, and state paths plus existing plans/trusted-root directories. Never target an active or legacy catalog.
- Preview initialization. Run
initwith an absent plan path in the plans directory. It writes only that plan. Review paths, revisions, actions, outputs, and approval. - Approve, then diagnose. Apply the reviewed plan ID. The CLI re-derives inputs,
checks locks/revisions, CAS-writes, and reads back. Default
doctorchecks standalone CLI readiness: all non-skill checks remain,selected.skill:null, and a skipped optional skill prove no agent integration. Add--integration --skill FILEfor explicit integration. - Import exactly. Require
workspace-governance/v1andworkspace-governance/unclassified-repositories-v1; malformed, duplicate, or unsupported records refuse. Previewimport-v1into the empty catalog, approve its explicit plan ID, then reconcilelist --jsonandconfig export; workspace state remainsunknown. - Edit through one route. Export a complete draft, save it outside active documents,
run
config validate FILE, thenconfig plan FILE --config FILE --plan FILE. Or usegroup create|update|reparentandrepo membership|classify; they call the same catalog-plan library route. Review and approve the exact plan ID. Reconcile freshgroup show/repo showreadback, stable IDs/remotes, and unchanged local-state and checkout bytes. Rejected suggestions remain present and unclassified; explicit additional project memberships remain. Invalid ancestry, cycles, duplicate sibling slugs, stale/tampered plans, symlinks, and locks refuse without a catalog write. - Observe explicit selections. Choose configured source IDs and absolute roots at
or below
trustedRoots; never infer either from repository names. Rundiscover --configwith repeated--source/--root. Organization and user endpoints are distinct. Readcomplete,partial, orunknowncoverage, page/error limits and private-visibility limits before interpreting absence. A failed target must not erase a safe sibling result. Local worktrees, standalone duplicates, dirty state, archived flags, unclassified rows and suggestions remain separate facts. The command is read-only and no selections were persisted; it never picks a primary. - Find and register deliberately. Run
workspacectl where TARGETfirst. Refuse ambiguous aliases or duplicate selected primaries; never choose the first candidate. To register an existing path, runworkspacectl adopt --repo ID --path PATH --plan FILE, review the verified origin/HEAD/branch/dirty/worktree observation, then apply its exact ID. Dirty is allowed. Adoption writes only local state and must leave branch, HEAD, index, Git config, tracked/untracked files, and worktree metadata unchanged. Useworkspace select-primarythrough a separate exact approved plan when needed. - Cross-check public views. Identical selectors give
discover, selectedlist,report, andauditthe sameworkspacectl-overview/1. Suggestions are not approved. Incomplete coverage and audit findings exit 3 with results on stdout. - Checkout by exact plan. Preview an absent trusted destination and ref; review commit, attachment, paths, revisions, actions, and plan ID. Apply and verify Git/registry readback. No credentials, submodules, hooks, scripts, or installs are serialized/run. Show preserves interrupted data; reconcile only plans unambiguous verified binding repair.
- Manage isolated worktrees. Create from an exact commit/new branch at an absent safe path.
Removal requires the persisted ID plus
--confirm-inactive; recheck ownership, Git metadata, clean content, remote reachability, locks, and use. Never force, delete the branch, or prune. - Move only the supported exact checkout. Address a persisted primary workspace ID,
supply an absent trusted destination and
--confirm-inactive, then review both paths, stable IDs, Git identity, device, revisions, digest, actions, and plan ID. Apply and read back both paths, destination identity, and binding. Dirty, busy, colliding, nested, linked, submodule, symlinked, identity-mismatched, stale, cross-filesystem, or any linked/locked/stale/prunable/ malformed/symlinked/unreadable shared worktree registration refuses. Never prune, repair, copy, delete, or force. After rename/save failure, accept onlyoperation showplus the separately approved one-CASoperation reconcilerepair for the unchanged exact checkout. - Execute bounded workflows. Review
workflow show; run exact inputs. Agent submission is a claim until resume verifies outputs. Approve only the pending digest; never turn argv into shell text. External handoffs need typed readback, waiting is not completion, retries need fresh approval, and interrupted unknown effects stay blocked without replay. Coordination requires exact member readback and repository-bound contexts/steps. Rule proposals remain local, inert, digest-bound, and explicit aboutnot-carrying; never edit, merge, apply, or send them. - Use legacy views only when requested. A legacy principal is advisory, not authentication. Selected legacy workflows and placement plans carry
executable:false; never execute their action text or treat a preview as approval. - Resolve bounded context read-only. Run
context REPOSITORYorexplain REPOSITORY [FIELD]with legal selectors. References stay linked unless individually--loaded with exact--approve-contentSHA-256; unknown approvals refuse. Descriptor reads stay below trusted roots and retain identity. Validate linked text. The 16,000-byte/4,000-token-equivalent budget covers complete JSON/text; oversized required output refuses and optional content stays linked. Instructions are never enforced; everything executable stays inactive.--sourcecompares only. Correct conflicts in the draft. - Open and activate exactly. Run
workspacectl open TARGETread-only. With explicit--host hermes --activate, execute returneddesktop_project list/create/switchrequests, read back the active Project and effective tool cwd, then acknowledge the exact action ID/digest. Coordination creation uses a separate approved plan; reopen reports member drift without mutation. - Respect storage authority. Use installed adapter names only. Route workspace/local-state export,
validation, plan, apply, CAS, and readback through the selected adapter; never fall back to files.
Degraded mutation authority cannot mutate;
CONFLICTpreserves the winner.test-async-fileis test-only, not remote authentication. - Finish with evidence. Record paths, exits, scope, coverage, unchanged bytes, identity/hash reconciliation, and refusals. A checkout approval grants only its exact clone; success grants no authority to move, commit, push, persist a source, or activate a host.
Quick Reference
Default output is readable text. Add --json for the complete machine result.
workspacectl doctor --config "$CONFIG" --json
workspacectl doctor --integration --config "$CONFIG" --skill "$SKILL" --json
workspacectl list --config "$CONFIG" --json
workspacectl mcp config --client hermes --config "$CONFIG" --json
workspacectl config export --target catalog --config "$CONFIG"
workspacectl config validate "$DRAFT" --config "$CONFIG" --json
workspacectl config plan "$DRAFT" --config "$CONFIG" --plan "$PLANS/catalog.json" --json
workspacectl-mcp --config "$CONFIG"mcp config only renders registration. It never edits an agent profile or proves
a connection. Generated launch arguments are read-only by default and omit
--allow-plans, --allow-apply, and host auto-approval settings. Apply the
snippet separately through the client's supported configuration route, then
restart/reload that client and verify initialization, tool discovery, and calls
as distinct steps. Host-mediated human permission is separate from server
capability and exact action binding; automatic allow grants the model authority
and is not human consent.
Config selection remains --config, WORKSPACECTL_CONFIG,
XDG_CONFIG_HOME/workspacectl/config.yaml, then the conventional home path. Plan
files are private, exclusive new files inside the configured plans directory.
Preview does not change active documents. STALE_PLAN requires a new preview;
BUSY preserves another writer's lock and the target document.
Exit 0 is success; selected partial/unknown coverage and audit decision findings use
exit 3 while retaining the overview on stdout. Exit 2 is invalid/config/unsupported;
exit 3 also covers stale plans; exit 4 approval/trust required; exit 5 conflict or
busy; exit 6 action failure. Unreachable required dependencies report UNAVAILABLE.
Errors use the stable JSON envelope with --json.
For document, import, store, and retained legacy safeguards, read the policy and safety contract.
Usage Examples
Connect the local stdio MCP in read-only mode to this exact Workspaces config. List
catalog coverage, resolve repository `service`, and show its bounded context. Do not
enable plans or effects, and do not let tool arguments replace the server config.
Treat caller config, argv, and environment fields as unbound input and reject them.Use `workspace_workflow` only to list/show definitions or read an existing run status.
If I ask to run, approve, resume, interrupt, reconcile, or apply through MCP, report that
the current read-only server does not advertise that capability instead of improvising a
CLI or shell call.Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

