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.
This commit is contained in:
2026-04-16 08:35:53 -06:00
parent 1f57597ca3
commit 8026da5719
41 changed files with 1131 additions and 42 deletions

View File

@@ -14,6 +14,7 @@ Use old Slack history to recover durable project context, stakeholder relationsh
- keep raw imported artifacts under `generated/`
- keep the raw Slack export under `archives/slack/export/` when you want the workspace to find it later
- for a first pass on a large export, let the importer auto-detect `fidelity*` channels and auto-tune message selection
- for reusable project profiles, set `AIW_CHANNEL_PREFIX` so the importer can auto-detect project-specific channels without hardcoding a prefix
## Supported Export Shape
@@ -30,7 +31,7 @@ Manual example:
```bash
python3 scripts/slack/import_slack_export.py \
--export-path /absolute/path/to/slack-export \
--channel-prefix fidelity \
--channel-prefix "${AIW_CHANNEL_PREFIX:-fidelity}" \
--output-dir scripts/slack/generated
```
@@ -46,6 +47,7 @@ Use the OpenCode command `/slack-import ...` for the guided workflow.
For very large multi-year exports, the importer is designed to be selective by default:
- auto-detects channels whose names start with `fidelity` when no channels are specified
- uses `AIW_CHANNEL_PREFIX` when set; otherwise defaults to `fidelity` for compatibility with this workspace
- auto-tunes the message limit based on archive size
- when no date filters are provided, performs an initial full-history sweep across the detected `fidelity*` channels
- preserves coverage across channels and years, not only recent history
@@ -69,4 +71,4 @@ If you want the workspace to find the export later without needing a custom path
archives/slack/export/
```
The `/slack-import` command will use that location automatically when no explicit path or environment variable is provided.
The `/archive-import` and `/slack-import` commands will use that location automatically when no explicit path or environment variable is provided.