Configuration control — protocol v6.7, Telegram bot fixes
Summary
Protocol upgrade from v6.6 to v6.7, fixing a duplicate project creation bug in the Telegram bot and adding a guard to Flow A. Also documents the Telegram bot rewrite for the SE decomposition workflow.
Changes
1. Fix duplicate project creation
Problem: The /decompose Telegram command cleared CURRENT_SE_PROJECT facts when queuing a new system. The next autonomous session couldn’t find the existing project because the generated slug differed slightly (se-precision-ag-drone vs se-precision-ag-drone-fleet), so it scaffolded a duplicate project with 21 requirements alongside the original with 103.
Fix: Two changes:
/decomposeno longer clears current project facts for new systems. Phase 2 rule 1 (DECOMPOSITION_TARGET) already takes priority over rule 6 (“continue current project”), so clearing is unnecessary.- Flow A now includes step 0: check existing AIRGen projects for matching names before scaffolding. If a project with the same system name already exists (even with a different slug), switch to it instead of creating a duplicate.
Cleanup: Deleted the duplicate se-precision-ag-drone-fleet project and restored se-precision-ag-drone as the current project.
2. Telegram bot rewrite for SE workflow
Problem: The Telegram bot still referenced old research task classes (INTEGRITY, TRACE_GAP, CALIBRATION, CORPUS_EXPANSION, APPLICATION) and the frozen uht-research project. Commands like /expand and /experiment had no effect.
Fix: Full rewrite of bot commands:
| Removed | Replaced by |
|---|---|
/redirect <task> | Not needed — single task class |
/expand <domain> | Not needed — no corpus expansion |
/experiment <desc> | Not needed — no hypothesis testing |
| New command | Purpose |
|---|---|
/status | Shows current SE project, status, sessions since QC, completed count |
/systems | Lists all SE projects with status and requirement counts |
/reqs [project] | Requirements by document with missing rationale/verification counts |
/decompose <system> | Switches to existing system or queues new one |
/switch <slug> | Direct project switching by slug |
/qc-now | Forces interim QC on next session |
/lint [project] | Runs airgen lint |
/orphans [project] | Checks orphan requirements |
Retained: /pause, /resume, /run-now, all /qc-* commands.
Implications
- From session 242 onward, duplicate projects cannot be created — Flow A checks existing projects first.
- The Telegram bot now reflects the SE decomposition workflow accurately.
- Protocol version is now 6.7.
Version manifest
| Component | Version | Notes |
|---|---|---|
| Session protocol | 6.7 | Up from 6.6 |
| Telegram bot | Rewritten | SE workflow commands |
| Flow A | +step 0 | Duplicate project guard |
| /decompose | Fixed | No longer clears current project |