Repository navigation
Releases
🌌 Voyager Observatory rust-v2.4.0 - Chronos Warp
✨ New Features
🚀 Chronos Warp (Performance Cache)
- Persistent cache at
.voyager/cache/chronos/temporal_cache.bin - Near-instantaneous repeat surveys (~40% faster: 2.3s → 1.1s)
- Cache invalidation: git HEAD hash + 24-hour TTL
--no-cacheflag for fresh analysis- Status display:
[Warp Engaged]/[Warp Calibrating]
🔬 Microscope Auto-Focus
- Single file paths auto-zoom:
vo src/lib.rsworks intuitively - Automatic project root detection (git, Cargo.toml, package.json)
- Works with relative and absolute paths
📊 Nebula Grouping (Visual Depth)
Hierarchical directory display in surveys:
║ src ║
║ core ║
║ temporal ║
📈 Quality Metrics
| Metric | Value |
|---|---|
| Line Coverage | 84.74% |
| Tests Passing | 1,217 (100%) |
| Core Engine Coverage | 90-98% |
| New Code | +2,380 lines |
🛠️ New Files
src/core/temporal/cache.rs- Chronos Warp cache systemsrc/core/temporal/stellar_drift.rs- Evolution analysistests/test_stellar_drift.rs- Stellar drift tests
Installation
cargo install voyager-observatory
# or build from source
cargo build --releaseUsage
# Survey with Chronos Warp (cached)
vo --survey evolution .
# Force fresh analysis
vo --survey evolution --no-cache .
# Auto-focus on single file
vo src/lib.rs🤖 Generated with Claude Code
rust-v2.1.1
Full Changelog: rust-v2.1.0...rust-v2.1.1
rust-v2.1.0
Full Changelog: rust-v0.9.0...rust-v2.1.0
Rust v0.9.1 - Byte-Level Parity 📏
Rust v0.9.1 - Byte-Level Parity
Achievement: 100% byte-level parity with Python v1.7.0
What's New
- Python-style line splitting (
split('\n')vs.lines()) - Markdown truncation with Language/Category metadata
- Key imports extraction matches Python line-by-line behavior
Verification
pm_coach . --check-parity # 0 differences
All 213 tests passing (181 unit + 29 integration + 3 doc tests)
🤖 Generated with the support of https://claude.com/claude-codeRust v0.9.0 - WASM Support
Rust v0.9.0 - WASM Support
Major Features
- WASM compilation -
wasm32-unknown-unknowntarget - wasm-bindgen integration - JS/TS bindings generated
- Browser demo - Interactive
demo.htmlpage - npm-ready package -
rust/pkg/directory
API
import init, { wasm_serialize, wasm_version } from './pkg/pm_encoder.js';
await init();
const context = wasm_serialize(
JSON.stringify([{ path: "main.py", content: "print('hi')" }]),
JSON.stringify({ lens: "architecture" })
);
Bundle Size
- Optimized: 1.3MB (target: <500KB with further optimization)
Usage
# Build WASM
wasm-pack build --target web --features wasm
# Test in Node.js
node rust/test_wasm_full.mjs
# Test in browser
cd rust && python -m http.server 8080
# Open http://localhost:8080/demo.html
🤖 Generated with https://claude.com/claude-codev1.7.0 - The Intelligence Update
v1.7.0 - The Intelligence Update
New Features
- Token Budgeting -
--token-budget 100kwith shorthand (100k, 2M) - Budget Strategies - drop, truncate, hybrid modes
- Priority Groups - Lens configuration with numeric priorities
- Truncation Control -
--truncate-summary,--truncate-exclude
Usage
pm_encoder . --token-budget 100k --budget-strategy hybrid --lens architecture
🤖 Generated with https://claude.com/claude-codev1.6.0 - The Streaming Update
v1.6.0 - The Streaming Update
Status: Production Ready | Parity: 100%
Major Features
- Streaming Architecture - Both Python and Rust engines use streaming pipelines
- Zero-Disk Audit - Enabled by streaming architecture
- Performance - TTFB reduced to ~5ms (Rust) / ~46ms (Python)
Rust Engine v0.5.0
- Feature Parity: 100% (25/25 Test Vectors passing)
- Complexity: 50% lower Cyclomatic Complexity than Python
- Coverage: 85% Code Coverage
🤖 Generated with Claude Code
pm_encoder v1.5.0 - Enhanced Init-Prompt 🌳
🌳 Enhanced Init-Prompt with Directory Tree & Stats
pm_encoder v1.5.0 improves the AI CLI integration with visual directory trees and project statistics.
✨ What's New
1. Directory Tree Visualization 🌳
Generated instruction files now include a visual project structure:
pm_encoder/
├── crates/
│ ├── utf8dok-ast/
│ ├── utf8dok-cli/
│ └── utf8dok-core/
├── docs/
├── rust/
├── tests/
└── pm_encoder.py
- 3-level depth by default
- Respects
.pm_encoder_config.jsonignore patterns - Directories marked with
/suffix
2. File Statistics 📊
Each generated file now shows:
- File count: Number of files in context
- Context size: Bytes and KB
**Statistics:**
- Files: 42
- Context size: 189,234 bytes (184.8 KB)3. Improved Multi-AI Support 🎁
Both targets benefit from enhancements:
| Target | Output | Format |
|---|---|---|
claude |
CLAUDE.md + CONTEXT.txt | Markdown |
gemini |
GEMINI.md + CONTEXT.txt | Plain text |
📊 Example Output
CLAUDE.md (v1.5.0)
# my_project
## Project Overview
my_project - Context automatically generated by pm_encoder
## Commands
- `cargo build`
- `cargo test`
## Project Structure
\`\`\`
my_project/
├── src/
│ ├── lib.rs
│ └── main.rs
├── tests/
└── Cargo.toml
\`\`\`
**Statistics:**
- Files: 5
- Context size: 12,345 bytes (12.1 KB)
For complete context, see `CONTEXT.txt`.🚀 Usage
# Generate with directory tree & stats
pm_encoder . --init-prompt
# Different lenses
pm_encoder . --init-prompt --init-lens debug
pm_encoder . --init-prompt --init-lens security
# Multi-AI
pm_encoder . --init-prompt --target gemini📈 Test Status
- Python Tests: 93/93 passing ✅
- Rust Tests: 8/8 passing ✅
- Coverage: 95% maintained
🔗 Also in This Release
Rust v0.2.0 released alongside:
- Core serialization complete
- Plus/Minus format (byte-identical with Python)
- MD5 checksums
- Binary detection
See rust-v0.2.0 for details.
📦 Installation
curl -O https://raw.githubusercontent.com/alanbld/pm_encoder/main/pm_encoder.py
chmod +x pm_encoder.py
./pm_encoder.py --version # 1.5.0Changelog: v1.4.0...v1.5.0
Rust v0.3.0 - Universal Analyzer
Features
- Universal Analyzer pattern (330 LOC → infinite language support)
- Rust-specific analyzer
- Generic analyzers for Python, JavaScript, Shell
- Test vector parity: 95% (20/21)
- Coverage: 84%
The Green Wave
This release achieves near-parity with Python implementation.
Generated with Claude Code
Rust Engine v0.2.0 - Core Serialization 🦀
🦀 Rust Engine v0.2.0 - Core Serialization
The Rust engine reaches its first functional milestone with complete core serialization.
✅ What's Implemented
Core Serialization
- Directory traversal: Recursive file walking with pattern matching
- Plus/Minus format: Byte-identical output with Python engine
- MD5 checksums: Content integrity verification
- Binary detection: Skip non-text files automatically
Pattern Matching
- Include patterns: Glob-based file selection
- Exclude patterns: Directory and file filtering
- Default ignores:
.git,target,node_modules, etc.
📊 Test Status
running 8 tests
test test_calculate_md5 ... ok
test test_is_binary_empty ... ok
test test_is_binary_text ... ok
test test_is_binary_with_null ... ok
test test_format_file_entry ... ok
test test_walk_directory ... ok
test test_serialize_single_file ... ok
test test_serialize_excludes_binary ... ok
test result: ok. 8 passed; 0 failed
🔧 Architecture
Library-First Pattern:
// lib.rs - Pure logic, reusable
pub fn serialize_project(root: &str) -> Result<String, String>
pub fn walk_directory(root: &Path, include: &[&str], exclude: &[&str]) -> Vec<FileEntry>
pub fn calculate_md5(content: &str) -> String
pub fn is_binary(content: &[u8]) -> bool
// bin/main.rs - Thin CLI wrapper
fn main() {
let result = pm_encoder::serialize_project(&path);
println!("{}", result.unwrap());
}Enables future:
- WASM compilation
- Python bindings (PyO3)
- Library embedding
📈 Comparison with Python
| Feature | Python v1.5.0 | Rust v0.2.0 |
|---|---|---|
| Core Serialization | ✅ | ✅ |
| Plus/Minus Format | ✅ | ✅ |
| MD5 Checksums | ✅ | ✅ |
| Binary Detection | ✅ | ✅ |
| Include/Exclude | ✅ | ✅ |
| Language Analyzers | ✅ (7) | ❌ (planned) |
| Truncation Modes | ✅ (3) | ❌ (planned) |
| Context Lenses | ✅ (4) | ❌ (planned) |
| --init-prompt | ✅ | ❌ (planned) |
Next milestone: v0.3.0 - Configuration System
🚀 Usage
cd pm_encoder/rust
cargo build --release
./target/release/pm_encoder /path/to/project🗺️ Roadmap
| Version | Target | Status |
|---|---|---|
| v0.1.0 | Foundation | ✅ Complete |
| v0.2.0 | Core Serialization | ✅ This release |
| v0.3.0 | Configuration | 🔄 Next |
| v0.4.0 | Sorting & File Handling | 📋 Planned |
| v0.5.0 | Test Parity | 📋 Planned |
| v1.0.0 | Production Ready | 📋 Q2 2026 |
📦 Dependencies
[dependencies]
md5 = "0.7" # Only external dependencyZero runtime dependencies for core functionality.
The Twins grow together! 🐍🦀
Changelog: rust-v0.1.0...rust-v0.2.0