- Created daily log entries for April 13-16, 2026, capturing standup contexts, Mattermost syncs, and ongoing work items. - Established a daily logs index for easy navigation of daily entries. - Introduced templates for daily notes, decisions, meeting notes, people, systems, and work items to standardize documentation. - Developed maps for AI workspace core, current work, Fidelity domain, and work items to enhance workspace navigation. - Implemented base configurations for daily notes, decisions, people, systems, work items, and workstreams to streamline data management. - Added a placeholder for attachments to facilitate file organization.
41 lines
1.7 KiB
Markdown
41 lines
1.7 KiB
Markdown
---
|
|
description: Force-sync Mattermost and answer from the latest matching message
|
|
---
|
|
|
|
Force-refresh Mattermost first, then answer the user's question from the refreshed inbox.
|
|
|
|
Use this when the user asks for:
|
|
|
|
- the latest or last message
|
|
- what Jeff or another person just said
|
|
- the latest Mattermost update
|
|
- the latest message in `fidelity-preguntas`
|
|
|
|
Run sync:
|
|
|
|
!`if [ -n "$AIW_MATTERMOST_SYNC_CMD" ]; then bash -lc "$AIW_MATTERMOST_SYNC_CMD"; elif [ -n "$FIDELITY_MATTERMOST_SYNC_CMD" ]; then bash -lc "$FIDELITY_MATTERMOST_SYNC_CMD"; elif [ -f scripts/mattermost/sync.sh ]; then bash scripts/mattermost/sync.sh; else echo "No Mattermost sync command is configured."; fi`
|
|
|
|
Read refreshed Mattermost context:
|
|
|
|
!`if [ -s ai/inbox/mattermost-latest.md ]; then cat ai/inbox/mattermost-latest.md; elif [ -s scripts/mattermost/generated/mattermost_context.jsonl ]; then cat scripts/mattermost/generated/mattermost_context.jsonl; else echo "No Mattermost context available after sync."; fi`
|
|
|
|
User request:
|
|
|
|
$ARGUMENTS
|
|
|
|
Instructions:
|
|
|
|
- Do not answer from old conversation memory.
|
|
- Use only the refreshed Mattermost output above.
|
|
- If the user asks for the current manager/stakeholder, filter messages by the profile mapping when visible; for the Fidelity profile, also match `jeff` and `jeff.dewitte`.
|
|
- If multiple messages match, return the newest matching message first.
|
|
- Include timestamp, channel, sender, and concise summary.
|
|
- If the message changes project context, update the appropriate workspace memory after answering, writing to `vault/` first.
|
|
- If sync fails or no refreshed context is available, say that directly and do not infer from stale context.
|
|
|
|
Return:
|
|
|
|
1. Latest matching message
|
|
2. Why it matters
|
|
3. Any memory update made
|