Skip to content

feat(tui): v0.1.8 — TUI pipeline launch + /run-agent wire + LEANN integration#5

Merged
ste-bah merged 1 commit into
mainfrom
feat/deliverable-c-tui-pipeline-wiring
Apr 26, 2026
Merged

feat(tui): v0.1.8 — TUI pipeline launch + /run-agent wire + LEANN integration#5
ste-bah merged 1 commit into
mainfrom
feat/deliverable-c-tui-pipeline-wiring

Conversation

@ste-bah

@ste-bah ste-bah commented Apr 26, 2026

Copy link
Copy Markdown
Owner

DeepSeek-implemented Deliverable B + C bundled. PRD-PIPELINE-001 backfill.

What ships

  • /archon-code — spawns 48-agent coding pipeline via run_pipeline()
  • /archon-research — spawns 46-agent research pipeline via run_pipeline()
  • /run-agent — real TaskService::submit() spawn (replaces v0.1.7 hint-only)
  • Per-agent TUI streaming — facades emit progress via String → TuiEvent::TextDelta bridge
  • LEANN integration — CodeIndex created at bootstrap, passed to run_pipeline

Descope backfills

Structural

  • 3 new CommandContext fields: coding_pipeline, research_pipeline, llm_adapter
  • 1 new field: leann (Option<Arc>)
  • EXPECTED_COMMAND_COUNT 62→64, EXPECTED_PRIMARY_COUNT 62→64 (lockstep)
  • facade.rs: tui_sender + set_tui_sender() + per-agent emission

Verification

  • 515+ tests, 0 failures
  • File sizes 144/144/157 (all <500)
  • Binary --version: archon 0.1.8
  • TUI interactive smoke deferred to user (Steven, post-merge)

Version: 0.1.7 → 0.1.8

…ANN integration

v0.1.7 → 0.1.8.

Deliverable C wiring (PRD-PIPELINE-001):
- /archon-code <task>: spawns 48-agent coding pipeline via run_pipeline()
- /archon-research <topic>: spawns 46-agent research pipeline via run_pipeline()
- /run-agent <name> <task>: submits agent via TaskService::submit() (real async spawn, not hint-only)
- Per-agent TUI streaming: facades emit String progress → bridge forwarders convert to TuiEvent::TextDelta
- LEANN integration: CodeIndex created at bootstrap, background init_repository(), passed to run_pipeline

Structural changes:
- 3 new CommandContext fields: coding_pipeline, research_pipeline, llm_adapter (DIRECT pattern)
- 1 new field: leann (Option<Arc<LeannIntegration>>) — resilient, None if CozoDB fails
- EXPECTED_COMMAND_COUNT 62→64, EXPECTED_PRIMARY_COUNT 62→64 (lockstep)
- facade.rs: tui_sender (Mutex<Option<UnboundedSender<String>>>) + set_tui_sender() + per-agent emission

Descope #1 + #12 backfill (Deliverable B, uncommitted from prior session):
- ResearchFacade: Mutex<HashMap> → Arc<dyn MemoryTrait> + LEANN fallback via LeannSearcher
- task_service injected into SlashCommandContext + CommandContext, session bootstrap

Smoke:
- cargo check -j1: clean
- cargo test -j1 -- --test-threads=2: 515+ passed, 0 failed
- cargo fmt --all -- --check: clean
- binary --help: works, --version: archon 0.1.8
- file sizes: archon_code.rs 144, archon_research.rs 144, run_agent.rs 157 (all < 500)
- TUI interactive smoke (/archon-code, /archon-research, /run-agent) deferred to manual verification
@ste-bah ste-bah merged commit ae3da1a into main Apr 26, 2026
0 of 11 checks passed
@ste-bah ste-bah deleted the feat/deliverable-c-tui-pipeline-wiring branch May 8, 2026 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant