25 lines
1.0 KiB
Markdown
25 lines
1.0 KiB
Markdown
# OpenCode agent projection authority
|
|
|
|
This directory is the committed canonical source for WealthLedger-owned
|
|
OpenCode `commands` and `skills`. Workspace root `.opencode/commands` and
|
|
`.opencode/skills` are derived output, not a second SDD authority.
|
|
|
|
The source intentionally excludes `.opencode/package.json`, lockfiles,
|
|
`node_modules`, `.gitignore` and all machine-local runtime state.
|
|
|
|
From the workspace root:
|
|
|
|
```bash
|
|
bash specs/scripts/sync-agent-projection.sh
|
|
bash specs/scripts/verify-agent-projection.sh
|
|
```
|
|
|
|
Edit this source tree first. The sync performs a verified cutover and restores
|
|
the previous local projection if installation or verification fails. The
|
|
non-mutating verifier checks the exact required file set, contents and each
|
|
skill's `generatedBy` marker against `specs/openspec/.cli-version`.
|
|
|
|
For an OpenSpec upgrade, prepare the upstream projection in isolated staging,
|
|
reapply the minimal WealthLedger overlays, update the exact version contract
|
|
only after compatibility fixtures pass, then sync this canonical tree.
|