metheus-governance-mcp-cli 0.2.162 → 0.2.164
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -0
- package/cli.mjs +1144 -41
- package/lib/local-project-dispatch.mjs +239 -0
- package/lib/runner-helpers.mjs +28 -2
- package/lib/selftest-runner-scenarios.mjs +45 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -512,6 +512,11 @@ Why `workspace_dir` matters:
|
|
|
512
512
|
|
|
513
513
|
Workspace/source-of-truth model:
|
|
514
514
|
- `project-workspaces.json` answers only one question: `project_id -> local workspace_dir on this machine`
|
|
515
|
+
- use local tool `project.workspace` to read that binding
|
|
516
|
+
- use local tool `project.workspace.bind` to explicitly update that binding
|
|
517
|
+
- use local tool `runner.start_detached` to launch an existing runner route in a separate local terminal
|
|
518
|
+
- use local tool `runner.status` to inspect detached runner processes launched by this CLI
|
|
519
|
+
- use local tool `runner.stop` to stop detached runner processes launched by this CLI
|
|
515
520
|
- `bot-runner.json` stores executable route config and role profiles; it is not the project workspace registry
|
|
516
521
|
- `ctxpack` is project guidance/specification content stored inside the workspace and on the server; it is not the local workspace authority
|
|
517
522
|
- `.metheus/ctxpack-cache/` is local synced cache for ctxpack content; do not treat it as the final authoring target for project documents
|
|
@@ -577,6 +582,9 @@ Mapping behavior:
|
|
|
577
582
|
- broader project roots are preferred over nested tool folders when updating the mapping intentionally
|
|
578
583
|
- `project.summary` / `project.describe` / `project.get` sync ctxpack cache, but they do not own local workspace authority
|
|
579
584
|
- if you need to change a project's local folder on this machine, update the project workspace registry intentionally instead of relying on ctxpack cache side effects
|
|
585
|
+
- use `project.workspace` to read the current local binding from `project-workspaces.json`
|
|
586
|
+
- use `project.workspace.bind` to intentionally write the binding into `project-workspaces.json`
|
|
587
|
+
- `project.workspace.bind` updates the workspace registry directly; it does not need `bot-runner.json` side effects to succeed
|
|
580
588
|
|
|
581
589
|
Runner command contract:
|
|
582
590
|
- stdin: JSON payload containing project, destination, trigger message, and recent context comments
|