- Deleted obsolete files: obsidian-vault.md, onboarding.md, workspace-model.md - Updated opencode.json to remove references to deleted files. - Revised profile.md to clarify the status of legacy paths and communication evidence. - Adjusted prompts to reflect new file paths and improve clarity. - Enhanced daily logs with focus, work-items, and blockers properties. - Updated work-item notes to include systems, workstreams, people, and related properties. - Improved context maintenance guidelines to ensure accurate and durable project knowledge. - Refined base filters to exclude template files and ensure only relevant notes are displayed. - Updated daily templates to ensure proper formatting and consistency. - Modified workflows to align with the new vault structure and improve context synchronization.
Scripts
This directory contains helpers that automate:
- context aggregation
- standup generation
- manager update drafting
- Mattermost-ready message formatting
- historical Slack import
The default workspace Mattermost extractor now lives in:
scripts/mattermost/
Recommended default command:
bash scripts/mattermost/sync.sh
Bootstrap command:
bash scripts/mattermost/bootstrap.sh
The current Mattermost extractor is stdlib-only and does not require installing requests.
It also supports readable channel names in .env, not only channel IDs.
If you still want to override it with another script, expose that to OpenCode with:
AIW_MATTERMOST_SYNC_CMDFIDELITY_MATTERMOST_SYNC_CMD
Example:
export AIW_MATTERMOST_SYNC_CMD="/absolute/path/to/your-mattermost-sync-script"
Expected behavior:
- print the latest relevant Mattermost context to stdout
- avoid interactive prompts
- return a non-zero exit code on failure
OpenCode can then use that output to refresh ai/inbox/mattermost-latest.md proactively.
Historical Slack exports can also be imported through:
python3 scripts/slack/import_slack_export.py .../archive-import .../slack-import ...
Recommended raw archive location:
archives/slack/export/
The importer can auto-detect channels using AIW_CHANNEL_PREFIX and auto-tune message selection for very large exports. It defaults to fidelity for this project profile.
The Mattermost extractor can also fetch the latest prior day with channel activity for standups. It starts from the previous calendar day and expands backward automatically when there is no activity, which covers Mondays, weekends, holidays, and OOO gaps.
bash scripts/mattermost/sync.sh --previous-workday