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

1.1 KiB

description
description
Promote confirmed project facts from the inbox into Fidelity workspace memory

Promote confirmed Fidelity project context into the workspace.

Read:

@ai/AGENTS.md @ai/context/project.md @ai/state/current.md @knowledge/workspace-model.md @knowledge/communication-rules.md @knowledge/memory-promotion-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

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

User direction or facts to promote:

$ARGUMENTS

Instructions:

  • Promote only confirmed project-relevant facts
  • Ignore tooling noise and sync status
  • Update the smallest correct set of files among:
    • ai/logs/$(date +%F).md
    • ai/state/current.md
    • ai/context/project.md
    • ai/context/decisions/*.md
  • Prefer concrete project updates over broad summaries
  • If a fact is still ambiguous, do not promote it

Return:

  1. Updated files
  2. Promoted project facts
  3. Remaining uncertainty