feat: Implement Mattermost sync functionality and enhance workspace context management
This commit is contained in:
16
README.md
16
README.md
@@ -157,8 +157,24 @@ Recommended usage:
|
||||
Project commands live under `.opencode/commands/` and are intended to:
|
||||
|
||||
- load the baseline Fidelity context
|
||||
- sync Mattermost context into the workspace inbox
|
||||
- draft standups
|
||||
- draft Jeff updates
|
||||
- convert rough notes into daily log updates
|
||||
|
||||
This keeps AI output tied to the latest workspace state instead of relying on chat memory alone.
|
||||
|
||||
---
|
||||
|
||||
## Mattermost Memory Flow
|
||||
|
||||
This workspace supports a live-memory pattern for Mattermost.
|
||||
|
||||
Recommended setup:
|
||||
|
||||
1. Use the workspace-local script at `scripts/mattermost/sync.sh`, or override it with `FIDELITY_MATTERMOST_SYNC_CMD`.
|
||||
2. Let OpenCode run with the project plugins enabled.
|
||||
3. The Mattermost inbox plugin will periodically refresh `ai/inbox/mattermost-latest.md`.
|
||||
4. Promote durable facts from the inbox into `ai/logs/`, `ai/state/`, and `ai/context/`.
|
||||
|
||||
Use `/mattermost-sync` when you want to force a refresh manually.
|
||||
|
||||
Reference in New Issue
Block a user