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:

  • /decompose no 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:

RemovedReplaced by
/redirect <task>Not needed — single task class
/expand <domain>Not needed — no corpus expansion
/experiment <desc>Not needed — no hypothesis testing
New commandPurpose
/statusShows current SE project, status, sessions since QC, completed count
/systemsLists 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-nowForces interim QC on next session
/lint [project]Runs airgen lint
/orphans [project]Checks orphan requirements

Retained: /pause, /resume, /run-now, all /qc-* commands.

Implications

  1. From session 242 onward, duplicate projects cannot be created — Flow A checks existing projects first.
  2. The Telegram bot now reflects the SE decomposition workflow accurately.
  3. Protocol version is now 6.7.

Version manifest

ComponentVersionNotes
Session protocol6.7Up from 6.6
Telegram botRewrittenSE workflow commands
Flow A+step 0Duplicate project guard
/decomposeFixedNo longer clears current project
← all entries