From f82fed7e73a479fc56d0211e8764d15595033ba7 Mon Sep 17 00:00:00 2001 From: Nexus Dev Date: Sat, 4 Apr 2026 01:41:16 +0000 Subject: [PATCH] docs(36-03): update STATE.md and REQUIREMENTS.md after plan completion --- .planning/REQUIREMENTS.md | 4 ++-- .planning/STATE.md | 14 ++++++++------ 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.planning/REQUIREMENTS.md b/.planning/REQUIREMENTS.md index b476d244..1a594421 100644 --- a/.planning/REQUIREMENTS.md +++ b/.planning/REQUIREMENTS.md @@ -9,7 +9,7 @@ - [x] **VPIPE-01**: User's voice input is transcribed via local Whisper STT with automatic language detection - [x] **VPIPE-02**: Agent text responses are synthesized to speech via local Piper TTS in under 3 seconds -- [ ] **VPIPE-03**: Voice pipeline accepts audio from any transport (web chat, Telegram) via a shared VoicePipelineService +- [x] **VPIPE-03**: Voice pipeline accepts audio from any transport (web chat, Telegram) via a shared VoicePipelineService - [x] **VPIPE-04**: Audio from any source is transcoded to WAV 16kHz mono via ffmpeg before Whisper processing - [x] **VPIPE-05**: Voice mode flag on messages triggers voice-optimized response formatting (no markdown, natural prose) - [x] **VPIPE-06**: Every voice interaction produces dual output: spoken prose response + full text with code blocks @@ -74,7 +74,7 @@ |-------------|-------|--------| | VPIPE-01 | Phase 36 | Complete | | VPIPE-02 | Phase 36 | Complete | -| VPIPE-03 | Phase 36 | Pending | +| VPIPE-03 | Phase 36 | Complete | | VPIPE-04 | Phase 36 | Complete | | VPIPE-05 | Phase 36 | Complete | | VPIPE-06 | Phase 36 | Complete | diff --git a/.planning/STATE.md b/.planning/STATE.md index fc2637a4..507c501e 100644 --- a/.planning/STATE.md +++ b/.planning/STATE.md @@ -2,9 +2,9 @@ gsd_state_version: 1.0 milestone: v1.6 milestone_name: Voice Pipeline + Minimal Message Bridge -status: executing -stopped_at: Completed 36-01-PLAN.md — VoicePipelineService -last_updated: "2026-04-04T01:30:21.693Z" +status: verifying +stopped_at: Completed 36-03-PLAN.md — Voice HTTP Routes +last_updated: "2026-04-04T01:40:41.780Z" last_activity: 2026-04-04 progress: total_phases: 4 @@ -27,7 +27,7 @@ See: .planning/PROJECT.md (updated 2026-04-03) Phase: 36 (voice-pipeline-foundation) — EXECUTING Plan: 3 of 3 -Status: Ready to execute +Status: Phase complete — ready for verification Last activity: 2026-04-04 Progress: [░░░░░░░░░░] 0% @@ -56,6 +56,8 @@ Key constraints for v1.6: - Telegram bridge must stay under 500 lines (TGRAM-06 is a hard constraint) - [Phase 36]: Export nexusSettingsSchema for direct testing, use nexusSettingsSchema.parse({}) for consistent defaults in catch blocks - [Phase 36]: Used manual execFileAsync wrapper instead of promisify(execFileCb) to avoid util.promisify.custom symbol incompatibility with vitest mocks +- [Phase 36]: Voice routes are dedicated voice.ts module (not added to chat-files.ts) for clean separation — voice pipeline is its own subsystem +- [Phase 36]: voiceMode typed as text|voice_input|full_voice union in stream endpoint, persisted as voice_full/voice_input messageType for downstream rendering ### Pending Todos @@ -69,6 +71,6 @@ None yet. ## Session Continuity -Last session: 2026-04-04T01:30:21.691Z -Stopped at: Completed 36-01-PLAN.md — VoicePipelineService +Last session: 2026-04-04T01:40:41.777Z +Stopped at: Completed 36-03-PLAN.md — Voice HTTP Routes Resume file: None