feat: support shared project registration
This commit is contained in:
@@ -22,11 +22,12 @@ Run commands from this repository root:
|
||||
.\scripts\agent-harness.cmd compose --project kri-contact-front
|
||||
.\scripts\agent-harness.cmd compose --contract kri-common
|
||||
.\scripts\agent-harness.cmd register --project kri-contact-front --path _KriContact/contact-front
|
||||
.\scripts\agent-harness.cmd register --project new-service --path ____Project/new-service --shared
|
||||
```
|
||||
|
||||
The `.cmd` launcher invokes the PowerShell wrapper with a process-scoped execution-policy bypass. It does not change the user or machine execution policy. When local scripts are already allowed, `scripts\agent-harness.ps1` may be called directly.
|
||||
|
||||
`plan`, `verify`, and `list` are read-only. `compose` writes only generated `AGENTS.md` and `CLAUDE.md`. `register` writes only `workspace.local.yml`. No command performs Git, database, deployment, or network operations.
|
||||
`plan`, `verify`, and `list` are read-only. `compose` writes only generated `AGENTS.md` and `CLAUDE.md`. `register` writes `workspace.local.yml` by default; `register --shared` writes `workspace.yml`. No command performs Git, database, deployment, or network operations.
|
||||
|
||||
Use `--contract <contract-id>` to select the registered provider first and then only registered consumers of that contract, ordered by project ID. Use `--all` only when every registered project is intentionally in scope. `--project`, `--contract`, and `--all` are mutually exclusive.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user