Refactor Mattermost and Slack integration workflows to remove legacy Fidelity variables, streamline command execution, and enhance documentation for project profiles. Update scripts and README files to reflect changes in directory structure and configuration precedence, ensuring a consistent approach to project knowledge management across profiles. Improve error handling and validation in profile creation and doctor commands, and enhance test coverage for profile-related functionalities.
This commit is contained in:
@@ -11,9 +11,9 @@ AIW_CHANNEL_PREFIX=fidelity
|
||||
# MATTERMOST_TEAM_NAME=fidelity
|
||||
# MATTERMOST_TEAM_ID=team_id_here
|
||||
# Legacy Fidelity-specific options still supported by workspace plugins:
|
||||
# FIDELITY_MATTERMOST_SYNC_CMD=bash scripts/mattermost/sync.sh
|
||||
# FIDELITY_MATTERMOST_SYNC_INTERVAL_MINUTES=15
|
||||
# FIDELITY_MANAGER_NAME=jeff
|
||||
# AIW_MATTERMOST_SYNC_CMD=bash scripts/mattermost/sync.sh
|
||||
# AIW_MATTERMOST_SYNC_INTERVAL_MINUTES=15
|
||||
# AIW_MANAGER_NAME=jeff
|
||||
# Legacy options still supported:
|
||||
# CHANNEL_NAMES=fidelity-preguntas,otro-canal
|
||||
# CHANNEL_IDS=canal_id_1,canal_id_2
|
||||
|
||||
@@ -2,10 +2,7 @@
|
||||
|
||||
This directory contains the workspace-local Mattermost extractor used by OpenCode to refresh communication context.
|
||||
|
||||
The preferred live Mattermost evidence source is now the proxy mirror under
|
||||
the active profile inbox, `<profile inbox>/mattermost-mirror/`, when it is running. This legacy extractor remains
|
||||
the fallback and explicit refresh path for commands that need a fresh pull from
|
||||
the Mattermost API.
|
||||
The preferred live Mattermost evidence source is the proxy mirror under the active profile inbox, `<profile inbox>/mattermost-mirror/`. This extractor is an explicit API refresh path for commands that need a fresh pull from the Mattermost API.
|
||||
|
||||
## Files
|
||||
|
||||
@@ -63,7 +60,7 @@ Manual run:
|
||||
bash scripts/mattermost/sync.sh
|
||||
```
|
||||
|
||||
OpenCode can use this script directly. If `AIW_MATTERMOST_SYNC_CMD` is not set, the workspace plugins will fall back to `FIDELITY_MATTERMOST_SYNC_CMD`, then to this wrapper automatically.
|
||||
OpenCode can use this script directly. If `AIW_MATTERMOST_SYNC_CMD` is not set, the workspace plugin uses this wrapper automatically.
|
||||
|
||||
Generic workspace variables are preferred for reusable projects:
|
||||
|
||||
@@ -72,7 +69,7 @@ Generic workspace variables are preferred for reusable projects:
|
||||
- `AIW_MATTERMOST_SYNC_CMD`
|
||||
- `AIW_MATTERMOST_SYNC_INTERVAL_MINUTES`
|
||||
|
||||
Profile-specific compatibility variables may exist for older project setups, but new reusable workflows should prefer the generic `AIW_*` variables.
|
||||
Reusable workflows should prefer the generic `AIW_*` variables.
|
||||
|
||||
Previous workday mode for standups:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user