Files
fidelity-ai-workspace/.opencode/commands/promote-project-context.md
david.delagneau 8026da5719 Refactor AI workspace for improved context management and communication integration
- Introduced new commands and skills for workspace memory curation, professional communication, and status reporting.
- Updated existing commands to utilize new skills and improve clarity in instructions.
- Created a new workspace context command to load reusable core and active project profile.
- Enhanced Mattermost inbox integration with support for generic environment variables.
- Established a clear separation between project-independent core logic and project-specific profiles.
- Improved documentation across various files to reflect changes in workflow and command usage.
- Added operational memory management rules to ensure accurate context promotion and correction.
- Updated README and workflow documents to guide users in utilizing the new structure effectively.
2026-04-16 08:35:53 -06:00

2.4 KiB

description
description
Manually promote confirmed project facts into Fidelity workspace memory

Use this only when you want an explicit manual promotion pass.

Read:

@core/README.md @core/memory/operational-memory.md @ai/AGENTS.md @ai/context/index.md @ai/context/project.md @ai/context/systems/index.md @ai/context/workstreams/index.md @ai/context/workstreams/flow-page-references.md @ai/context/process/index.md @ai/work-items/index.md @ai/state/current.md @ai/state/work-items.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

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

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/work-items/*.md
    • ai/state/work-items.md
    • ai/context/project.md
    • ai/context/systems/*.md
    • ai/context/workstreams/*.md
    • ai/context/process/*.md
    • ai/context/decisions/*.md
    • .opencode/commands/*.md when command behavior needs to change
    • prompts/*.md when a reusable output template needs to change
    • .opencode/agents/*.md or ai/AGENTS.md when default agent behavior needs to change
    • .opencode/skills/*/SKILL.md when a specialized workflow needs to change
    • knowledge/*.md when a durable workspace rule needs to change
  • Prefer concrete project updates over broad summaries
  • If a fact is still ambiguous, do not promote it
  • If the promoted fact is a reusable behavior correction, do not leave it only in a daily log; update the operational file that controls future behavior
  • Use this command when you want a deliberate manual pass beyond the agent's default automatic memory maintenance

Return:

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