Files
fidelity-ai-workspace/.opencode/commands/workspace-context.md

2.4 KiB

description
description
Load reusable AI workspace core plus the active project profile

Load and internalize the reusable workspace core and the active project context before answering follow-up questions.

Read core:

@core/README.md @core/memory/operational-memory.md @core/integrations/memory-vault-model.md @core/integrations/communication-model.md @core/profiles/create-project-profile.md

Read active workspace memory:

@README.md @vault/00-start/start-here.md @vault/00-start/onboarding.md @vault/01-current/current-work.md @vault/01-current/work-items.md @vault/07-maps/current-work.md @vault/07-maps/fidelity-domain.md @vault/07-maps/work-items.md @vault/07-maps/people.md @vault/03-context/project.md @vault/03-context/process/communication.md @vault/03-context/process/context-maintenance.md @vault/03-context/process/workspace-model.md @vault/03-context/process/agent-memory-rules.md @vault/03-context/process/memory-promotion-rules.md @vault/04-people/manager.md @vault/04-people/index.md

Read active profile, preferring the configured profile and falling back to Fidelity:

!profile="${AIW_PROJECT_PROFILE:-fidelity}"; if [ -f "profiles/$profile/profile.md" ]; then cat "profiles/$profile/profile.md"; elif [ -f profiles/fidelity/profile.md ]; then cat profiles/fidelity/profile.md; else echo "No profile file found."; fi

Today's date:

!date +%F

Today's canonical daily note, if present:

!if [ -f vault/06-daily/$(date +%F).md ]; then cat vault/06-daily/$(date +%F).md; else echo "No daily note exists for today yet."; fi

Recent daily notes available:

!if [ -d vault/06-daily ]; then ls -1 vault/06-daily 2>/dev/null | sort | tail -n 5; else echo "No daily notes directory available."; fi

Detailed active work item files, if available:

!if [ -d vault/02-work-items ]; then for f in vault/02-work-items/*.md; do case "$f" in *README.md|*index.md) continue;; esac; echo "\n### $f"; cat "$f"; done; else echo "No work item files available."; fi

Latest communication inbox, 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 live communication context available."; fi

Respond with:

  1. Current context
  2. Communication risks
  3. Missing context to capture today

Keep the response concise, then wait for the next request.