Terraphim AI v1.0.0 Release Plan
Overview
This document outlines the comprehensive release plan for Terraphim AI v1.0.0, focusing on publishing the renamed terraphim_agent package and coordinating the release of core dependency crates.
Major Changes in v1.0.0
β Completed Changes
-
Package Rename:
terraphim-tuiβterraphim-agent- Package name:
terraphim_tuiβterraphim_agent - Binary name:
terraphim-tuiβterraphim-agent - All CI/CD workflows updated
- All documentation updated
- All build scripts updated
- Package name:
-
Core Infrastructure
- All tests compile successfully
- Binary functionality verified working
- Dependencies properly configured
Publishing Strategy
Dependency Hierarchy
The following crates must be published in this specific order due to dependencies:
- terraphim_types (v1.0.0) - Foundation types
- terraphim_settings (v1.0.0) - Configuration management
- terraphim_persistence (v1.0.0) - Storage abstraction
- terraphim_config (v1.0.0) - Configuration layer
- terraphim_automata (v1.0.0) - Text processing and search
- terraphim_rolegraph (v1.0.0) - Knowledge graph implementation
- terraphim_middleware (v1.0.0) - Search orchestration
- terraphim_service (v1.0.0) - Main service layer
- terraphim_agent (v1.0.0) - CLI/TUI/REPL interface β
Publishing Commands
Option 1: Automated CI/CD Publishing (Recommended)
-
Set up GitHub Secrets (see
docs/github-secrets-setup.md):- Add
ONEPASSWORD_SERVICE_ACCOUNT_TOKENfrom 1Password service account - Ensure the service account has access to
op://TerraphimPlatform/crates.io.token/token
- Add
-
Trigger Publishing Workflow:
# Dry run (testing)
# Live publishing
# Publish specific crate
- Tag-based Publishing (automatic):
Option 2: Manual Local Publishing
- Set up token locally:
# Use the setup script
# Or export manually
- Publish in dependency order:
# Wait for crates.io to process (usually 1-2 minutes)
- Verify installation:
Version Updates Required
Before publishing, update all internal dependencies from path references to version references:
# Example for terraphim_agent/Cargo.toml
[dependencies]
terraphim_types = { version = "1.0.0" }
terraphim_settings = { version = "1.0.0" }
terraphim_persistence = { version = "1.0.0" }
terraphim_config = { version = "1.0.0" }
terraphim_automata = { version = "1.0.0" }
terraphim_service = { version = "1.0.0" }
terraphim_middleware = { version = "1.0.0" }
terraphim_rolegraph = { version = "1.0.0" }Release Validation Checklist
Pre-Publishing Validation
- [ ] All crates compile with
cargo check --workspace - [ ] All tests pass with
cargo test --workspace --lib - [ ] Binary builds successfully:
cargo build --package terraphim_agent --features repl-full --release - [ ] Binary runs correctly:
./target/release/terraphim-agent --help - [ ] Documentation builds:
cargo doc --workspace --no-deps - [ ] All dependencies updated to use version numbers instead of paths
- [ ] CHANGELOG.md updated for v1.0.0
- [ ] Release notes prepared
Post-Publishing Validation
- [ ] Installation test:
cargo install terraphim-agent - [ ] Basic functionality test:
terraphim-agent --help - [ ] REPL functionality test:
terraphim-agent repl - [ ] Integration tests with published crates
- [ ] Documentation available on docs.rs
Key Features in v1.0.0
terraphim_agent
- CLI Interface: Full command-line interface with subcommands
- REPL System: Interactive Read-Eval-Print Loop with comprehensive commands
- Search Integration: Semantic search across multiple haystacks
- Configuration Management: Role-based configuration system
- AI Chat: LLM integration for conversational AI
- Knowledge Graph: Interactive graph visualization and navigation
- VM Management: Firecracker microVM integration
- File Operations: Semantic file analysis and management
- Web Operations: Secure web request handling
- Custom Commands: Markdown-defined command system
Supported Features
- Multiple AI Providers: OpenRouter, Ollama, generic LLM interface
- Multiple Storage Backends: Memory, SQLite, ReDB, Atomic Data
- Search Algorithms: BM25, TitleScorer, TerraphimGraph
- Security Modes: Local, Firecracker, Hybrid execution
- Export Formats: JSON, Markdown, structured data
Migration Guide for Users
Installation
# Install from crates.io (after publishing)
# Or build from source
Breaking Changes
- Binary name changed from
terraphim-tuitoterraphim-agent - Package name changed from
terraphim_tuitoterraphim_agent - Some internal APIs reorganized (not affecting end users)
Updated Usage
# Old command (no longer works)
# New command
Current Status
β Completed
- Package rename implementation
- CI/CD workflow updates
- Documentation updates
- Test fixes and compilation validation
- Core functionality verification
π In Progress
- Dependency version coordination
- Publishing preparation
β³ Pending
- Acquire crates.io publishing token
- Execute publishing sequence
- Post-publishing validation
Next Steps
- Immediate: Acquire crates.io token from project maintainers
- Short-term: Execute publishing sequence following dependency hierarchy
- Medium-term: Update project documentation and announce release
- Long-term: Begin v1.1.0 development with remaining PR merges
Release Notes Draft
π terraphim-agent v1.0.0
Major release introducing the renamed and enhanced Terraphim Agent CLI tool.
β¨ New Features
- Renamed package from
terraphim-tuitoterraphim-agent - Enhanced CLI interface with comprehensive subcommands
- Full REPL functionality with interactive commands
- Integrated AI chat capabilities
- Advanced search and knowledge graph features
- Secure VM management with Firecracker integration
- Semantic file operations and web operations
- Custom command system defined in Markdown
π§ Improvements
- Updated all build scripts and CI/CD workflows
- Enhanced test coverage and compilation fixes
- Improved dependency management
- Better error handling and user feedback
π Breaking Changes
- Binary name changed:
terraphim-tuiβterraphim-agent - Package name changed:
terraphim_tuiβterraphim_agent
π¦ Installation
This release plan will be updated as we progress through the publishing process.