feat: Enhance Mattermost integration by adding sync commands and context checks for recent messages

This commit is contained in:
2026-04-15 08:48:00 -06:00
parent e389e0ae5e
commit 1885855558
7 changed files with 133 additions and 3 deletions

View File

@@ -12,6 +12,7 @@ Behavior rules:
- Treat `README.md`, `ai/context/`, `ai/state/`, `knowledge/`, and `ai/logs/` as the persistent memory of the project.
- Before answering a prompt that depends on current state, verify the latest relevant files instead of relying only on conversation history.
- If the prompt asks for the latest Mattermost message, the last message from Jeff/current manager, or what someone just said, force a Mattermost refresh before answering and do not rely on stale inbox context.
- For any meaningful prompt, decide whether the interaction adds, corrects, or sharpens project memory.
- When the user provides new durable information, update the right workspace files before or while answering.
- If existing context is stale, correct it directly instead of leaving conflicting versions.