Skip to content

Commit 7ca5fe8

Browse files
committed
Convert CHANGELOG.md to AsciiDoc
1 parent 5f7c5b1 commit 7ca5fe8

1 file changed

Lines changed: 216 additions & 0 deletions

File tree

CHANGELOG.adoc

Lines changed: 216 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,216 @@
1+
// SPDX-License-Identifier: AGPL-3.0-or-later
2+
= Changelog
3+
4+
All notable changes to this project will be documented in this file.
5+
6+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
7+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
8+
9+
== [Unreleased]
10+
11+
=== Planned (Phase 2 - Weeks 5-8)
12+
- Reservoir computing (Echo State Network) for context compression
13+
- RAG system with embedding model and vector database
14+
- Knowledge graph for project relationship tracking
15+
- SQLite persistence for conversation history
16+
17+
=== Planned (Phase 3 - Weeks 9-12)
18+
- Mixture of Experts (MoE) with specialized models
19+
- Bayesian decision engine for confidence scoring
20+
- Background monitoring for proactive assistance
21+
22+
=== Planned (Phase 4 - Months 4+)
23+
- Spiking Neural Networks for ultra-low-power wake detection
24+
- Reinforcement learning for personalized routing
25+
- On-device fine-tuning capabilities
26+
27+
== [0.1.0] - 2025-11-22
28+
29+
=== Added
30+
- **Phase 1 MVP**: Complete hybrid AI orchestrator implementation
31+
- **Expert System** (`src/expert.rs`):
32+
- Rule-based safety enforcement
33+
- Privacy protection (API key/password detection)
34+
- Configurable safety rules with IDs and descriptions
35+
- Explainable blocking decisions
36+
- **Router** (`src/router.rs`):
37+
- Heuristic-based query routing (local vs. remote)
38+
- Keyword detection for complex reasoning
39+
- Length-based routing decisions
40+
- Confidence scoring
41+
- **Context Manager** (`src/context.rs`):
42+
- In-memory conversation history (last 100 turns)
43+
- Project-specific context switching
44+
- JSON serialization/deserialization for persistence
45+
- Context snapshots for query augmentation
46+
- **Orchestrator** (`src/orchestrator.rs`):
47+
- Main pipeline coordinating all components
48+
- Safety-first processing (expert system first)
49+
- Error handling and graceful degradation
50+
- Offline-first by default
51+
- **CLI Interface** (`src/main.rs`):
52+
- Interactive mode with commands (`/project`, `/history`, `/clear`)
53+
- Single-query mode
54+
- Project context support
55+
- Verbose output mode (VERBOSE=1)
56+
- **Type System** (`src/types.rs`):
57+
- `Query`, `Response`, `RoutingDecision` core types
58+
- Serializable data structures
59+
- Zero-copy where possible
60+
61+
=== Documentation
62+
- **README.md**: Comprehensive project overview
63+
- **claude.md**: Detailed architecture documentation (10,000+ words)
64+
- **SECURITY.md**: Security policy and vulnerability reporting
65+
- **CONTRIBUTING.md**: Contribution guidelines with TPCF explanation
66+
- **CODE_OF_CONDUCT.md**: Contributor Covenant v2.1 + project-specific additions
67+
- **MAINTAINERS.md**: Perimeter structure and decision-making process
68+
- **CHANGELOG.md**: This file
69+
- **LICENSE.txt**: Dual MIT + Palimpsest-0.8 licensing
70+
71+
=== Testing
72+
- Unit tests for all core components (>90% coverage)
73+
- Expert system safety rule tests
74+
- Router decision logic tests
75+
- Context manager serialization tests
76+
- Orchestrator integration tests
77+
78+
=== Infrastructure
79+
- **Cargo.toml**: Rust project configuration with RSR metadata
80+
- **justfile**: Task automation (build, test, validate)
81+
- **flake.nix**: Nix reproducible build specification
82+
- **.gitlab-ci.yml**: CI/CD pipeline configuration
83+
- **.well-known/**: RFC 9116 security.txt, ai.txt, humans.txt
84+
85+
=== RSR Compliance
86+
- ✅ Bronze-level Rhodium Standard Repository compliance
87+
- ✅ Zero `unsafe` blocks (`#![forbid(unsafe_code)]`)
88+
- ✅ Type safety (Rust compile-time guarantees)
89+
- ✅ Memory safety (ownership model)
90+
- ✅ Offline-first (network is optional feature)
91+
- ✅ Minimal dependencies (2 required: serde, serde_json)
92+
- ✅ TPCF Perimeter 3 (Community Sandbox)
93+
94+
=== Build Configuration
95+
- Release profile optimized for size (`opt-level = "z"`)
96+
- LTO and single codegen-unit for maximum optimization
97+
- Stripped binaries for production
98+
- Feature flags for optional network functionality
99+
100+
== [0.0.0] - 2025-11-22
101+
102+
=== Added
103+
- Initial repository setup
104+
- Git initialization
105+
- Branch: `claude/offline-mobile-docs-01TVXFHwwzW6f2o7CSS7xUSG`
106+
107+
---
108+
109+
== Version History Summary
110+
111+
| Version | Date | Description | RSR Level |
112+
|---------|------|-------------|-----------|
113+
| **0.1.0** | 2025-11-22 | Phase 1 MVP | Bronze ✅ |
114+
| 0.2.0 | TBD | Phase 2 (Reservoir + RAG) | Silver (goal) |
115+
| 0.3.0 | TBD | Phase 3 (MoE + Bayesian) | Silver |
116+
| 1.0.0 | TBD | Production-ready | Gold (goal) |
117+
118+
---
119+
120+
== Upgrade Guide
121+
122+
=== From 0.0.0 to 0.1.0
123+
124+
**Breaking Changes**: None (initial release)
125+
126+
**New Features**:
127+
- Full Phase 1 MVP functionality
128+
- CLI interface for interactive and single-query modes
129+
130+
**Migration**:
131+
[source,bash]
132+
----
133+
= Build from source
134+
git pull origin main
135+
cargo build --release
136+
./target/release/mobile-ai --help
137+
[source,]
138+
----
139+
140+
=== Future: From 0.1.0 to 0.2.0 (Planned)
141+
142+
**Expected Breaking Changes**:
143+
- Context manager API will change (SQLite persistence)
144+
- Reservoir state added to `ContextSnapshot`
145+
- New configuration options for RAG
146+
147+
**Migration Guide**: Will be provided in 0.2.0 release
148+
149+
---
150+
151+
== Development Cycle
152+
153+
**Release Cadence**:
154+
- **Phase 1**: Initial release (0.1.0)
155+
- **Phase 2-4**: Monthly feature releases (0.2.0, 0.3.0, etc.)
156+
- **Patch releases**: As needed for critical bugs/security
157+
158+
**Branching Strategy**:
159+
- `main`: Stable releases only
160+
- `develop`: Integration branch for Phase work
161+
- `feature/*`: Individual feature branches
162+
- `hotfix/*`: Security/critical bug fixes
163+
164+
**Versioning**:
165+
- **MAJOR**: Breaking API changes, architectural overhauls
166+
- **MINOR**: New features, Phase milestones
167+
- **PATCH**: Bug fixes, documentation, non-breaking improvements
168+
169+
---
170+
171+
== Deprecation Policy
172+
173+
**Notice Period**: 2 minor versions (e.g., deprecated in 0.2.0, removed in 0.4.0)
174+
175+
**Announcement**:
176+
1. Add `#[deprecated]` attribute to code
177+
2. Add CHANGELOG entry under "Deprecated"
178+
3. Update documentation with migration path
179+
4. Emit compiler warnings
180+
181+
**Example**:
182+
[source,rust]
183+
----
184+
#[deprecated(since = "0.2.0", note = "Use `new_api()` instead")]
185+
pub fn old_api() { ... }
186+
[source,]
187+
----
188+
189+
---
190+
191+
== Security Updates
192+
193+
Security fixes will be released as **patch versions** and backported to supported major versions.
194+
195+
**Supported Versions**:
196+
- Latest minor version: ✅ Full support
197+
- Previous minor version: ⚠️ Security fixes only
198+
- Older versions: ❌ Unsupported (upgrade recommended)
199+
200+
See [SECURITY.md](SECURITY.md) for vulnerability reporting.
201+
202+
---
203+
204+
== Links
205+
206+
- **Repository**: https://github.com/Hyperpolymath/heterogenous-mobile-computing
207+
- **Documentation**: [claude.md](claude.md), [README.md](README.md)
208+
- **Issues**: https://github.com/Hyperpolymath/heterogenous-mobile-computing/issues
209+
- **Releases**: https://github.com/Hyperpolymath/heterogenous-mobile-computing/releases
210+
211+
---
212+
213+
*This changelog is maintained by Perimeter 1 maintainers. All notable changes must be documented here.*
214+
215+
*Format: [Keep a Changelog](https://keepachangelog.com/)*
216+
*Versioning: [Semantic Versioning](https://semver.org/)*

0 commit comments

Comments
 (0)