feat: Update context commands to include work items and enhance Mattermost integration
This commit is contained in:
@@ -11,10 +11,13 @@ Use these files as the baseline context:
|
||||
@ai/context/project.md
|
||||
@ai/context/people/jeff.md
|
||||
@ai/state/current.md
|
||||
@ai/state/work-items.md
|
||||
@ai/context/decisions/rest-vs-graphql.md
|
||||
@ai/context/decisions/discourse-handling.md
|
||||
@knowledge/workspace-model.md
|
||||
@knowledge/communication-rules.md
|
||||
@knowledge/agent-memory-rules.md
|
||||
@knowledge/memory-promotion-rules.md
|
||||
|
||||
Today's date:
|
||||
|
||||
@@ -28,6 +31,10 @@ Recent logs available:
|
||||
|
||||
!`ls -1 ai/logs 2>/dev/null | sort | tail -n 5`
|
||||
|
||||
Latest Mattermost context, if available:
|
||||
|
||||
!`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."; fi`
|
||||
|
||||
Respond with:
|
||||
|
||||
1. Current context
|
||||
|
||||
@@ -11,12 +11,18 @@ Read:
|
||||
@ai/context/project.md
|
||||
@ai/context/people/jeff.md
|
||||
@ai/state/current.md
|
||||
@ai/state/work-items.md
|
||||
@knowledge/communication-rules.md
|
||||
@knowledge/agent-memory-rules.md
|
||||
|
||||
Today's log, if present:
|
||||
|
||||
!`if [ -f ai/logs/$(date +%F).md ]; then cat ai/logs/$(date +%F).md; else echo "No log exists for today yet."; fi`
|
||||
|
||||
Latest Mattermost context, if available:
|
||||
|
||||
!`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."; fi`
|
||||
|
||||
User draft or rough notes:
|
||||
|
||||
$ARGUMENTS
|
||||
@@ -27,6 +33,7 @@ Requirements:
|
||||
- Clarify scope
|
||||
- Preserve technical meaning
|
||||
- Mention auth state when relevant
|
||||
- Mention Jira IDs and approved titles when they materially improve clarity
|
||||
- Do not label something a regression unless the context supports it
|
||||
- Keep the result short enough for Mattermost
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
---
|
||||
description: Update today's log from rough notes or Mattermost context
|
||||
description: Update today's log from rough notes or contextual notes
|
||||
---
|
||||
|
||||
Use this workspace as the source of truth for daily context maintenance.
|
||||
Use this command for quick same-day note capture.
|
||||
|
||||
Read:
|
||||
|
||||
@@ -10,6 +10,9 @@ Read:
|
||||
@ai/AGENTS.md
|
||||
@ai/context/project.md
|
||||
@ai/state/current.md
|
||||
@ai/state/work-items.md
|
||||
@knowledge/agent-memory-rules.md
|
||||
@knowledge/memory-promotion-rules.md
|
||||
|
||||
Today's existing log, if present:
|
||||
|
||||
@@ -26,8 +29,10 @@ Instructions:
|
||||
- Capture both technical findings and communication context when relevant
|
||||
- Keep the log concise but reusable for later standups and manager updates
|
||||
- If the notes are ambiguous, normalize them without inventing facts
|
||||
- If a note clearly corrects or sharpens existing current memory, update the corresponding canonical file as well
|
||||
- Prefer `sync-context` for broader memory updates; use this command for fast daily capture
|
||||
|
||||
After editing, respond with:
|
||||
|
||||
1. What was added or clarified
|
||||
2. Any missing context still worth capturing
|
||||
2. Whether any broader memory was also updated
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
---
|
||||
description: Translate rough Spanish engineering notes into Mattermost-ready English
|
||||
---
|
||||
|
||||
Translate and tighten the following rough notes for Mattermost:
|
||||
|
||||
$ARGUMENTS
|
||||
|
||||
Read:
|
||||
|
||||
@prompts/mattermost-translation.md
|
||||
@ai/AGENTS.md
|
||||
@ai/context/people/jeff.md
|
||||
@knowledge/communication-rules.md
|
||||
|
||||
If relevant, use today's log for context:
|
||||
|
||||
!`if [ -f ai/logs/$(date +%F).md ]; then cat ai/logs/$(date +%F).md; else echo "No log exists for today yet."; fi`
|
||||
|
||||
Return:
|
||||
|
||||
1. Clean message
|
||||
2. Short assumptions note
|
||||
@@ -1,8 +1,8 @@
|
||||
---
|
||||
description: Promote confirmed project facts from the inbox into Fidelity workspace memory
|
||||
description: Manually promote confirmed project facts into Fidelity workspace memory
|
||||
---
|
||||
|
||||
Promote confirmed Fidelity project context into the workspace.
|
||||
Use this only when you want an explicit manual promotion pass.
|
||||
|
||||
Read:
|
||||
|
||||
@@ -22,6 +22,10 @@ Current Mattermost inbox, if present:
|
||||
|
||||
!`if [ -f ai/inbox/mattermost-latest.md ]; then cat ai/inbox/mattermost-latest.md; else echo "No Mattermost inbox file is available."; fi`
|
||||
|
||||
Generated Mattermost context, if present:
|
||||
|
||||
!`if [ -s scripts/mattermost/generated/mattermost_context.jsonl ]; then cat scripts/mattermost/generated/mattermost_context.jsonl; else echo "No generated Mattermost context is available."; fi`
|
||||
|
||||
User direction or facts to promote:
|
||||
|
||||
$ARGUMENTS
|
||||
@@ -38,6 +42,7 @@ Instructions:
|
||||
- `ai/context/decisions/*.md`
|
||||
- Prefer concrete project updates over broad summaries
|
||||
- If a fact is still ambiguous, do not promote it
|
||||
- Use this command when you want a deliberate manual pass beyond the agent's default automatic memory maintenance
|
||||
|
||||
Return:
|
||||
|
||||
|
||||
@@ -30,6 +30,12 @@ Latest Mattermost context, preferring inbox and falling back to generated JSONL:
|
||||
|
||||
!`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."; fi`
|
||||
|
||||
Before drafting:
|
||||
|
||||
- update workspace memory if the refreshed context introduced clear high-confidence project facts
|
||||
- prefer existing memory when the latest context is ambiguous
|
||||
- mention Jira IDs and approved titles when they map cleanly to yesterday's work
|
||||
|
||||
Return a standup that is:
|
||||
|
||||
- specific
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
description: Alias for Mattermost-ready translation and polishing
|
||||
description: Translate rough engineering notes into Mattermost-ready English
|
||||
---
|
||||
|
||||
Translate and tighten the following rough notes into concise Mattermost-ready English:
|
||||
|
||||
Reference in New Issue
Block a user