Skip to content

Commit 63ea7e8

Browse files
committed
refactor(core): split config, store, permissions into focused modules
Split three large files into directory-based modules for maintainability: - config.rs (1,947 lines) → config/ (mod.rs, provider.rs, search.rs, loader.rs, tests.rs) - store.rs (1,524 lines) → store/ (mod.rs, session_data.rs, file_store.rs, memory_store.rs, tests.rs) - permissions.rs (1,210 lines) → permissions/ (mod.rs, rule.rs, policy.rs, manager.rs, tests.rs) Also fixes CHANGELOG.md ordering (Unreleased → v2.3.0 → v2.0.0 → v1.x). All 1456 tests pass, zero clippy warnings, public API unchanged. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent f06e128 commit 63ea7e8

19 files changed

Lines changed: 4776 additions & 4683 deletions

CHANGELOG.md

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,40 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [Unreleased]
9+
10+
## [2.3.0] - 2026-05-09
11+
12+
### Added
13+
14+
- Added compact, object-shaped SDK APIs for long-lived integrations:
15+
`send(...)`, `run(...)`, `stream(...)`, `task(...)`, `tasks(...)`,
16+
`git(...)`, `addMcp(...)` / `add_mcp(...)`, `removeMcp(...)` /
17+
`remove_mcp(...)`, and `mcps()`.
18+
- Added live run/tool observability through active tool snapshots and richer
19+
run replay APIs across Rust, Node.js, and Python SDKs.
20+
- Added a durable SDK API design contract under `manual/SDK_API_DESIGN.md`.
21+
- Added Python SDK parity for worker agents, HITL confirmation policy/control,
22+
session-for-worker, live worker registration, and session close.
23+
24+
### Changed
25+
26+
- Split the large agent and session API implementation files into focused
27+
runtime modules for maintainability.
28+
- Made AHP the single harness/advisory/control plane with richer event context,
29+
heartbeat state, runtime state snapshots, and decision mapping.
30+
- Updated docs and examples to prefer short SDK method names while retaining
31+
long compatibility aliases.
32+
- Re-exported `ActiveToolSnapshot` from the Rust core crate root.
33+
34+
### Removed
35+
36+
- Removed the obsolete sidecar/copilot/BTW/strategize/BTE mechanism and related
37+
prompts, docs, configs, and examples. Background advice, context supplements,
38+
and PTC proposals now belong to the caller or AHP harness.
39+
40+
---
41+
842
## [2.0.0] - 2026-05-02
943

1044
### Changed
@@ -23,8 +57,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2357

2458
- Legacy HCL config artifacts and stale prompt tests that no longer match the 2.0 ACL runtime.
2559

26-
## [Unreleased]
27-
2860
---
2961

3062
## [v1.8.6] - 2026-04-10

0 commit comments

Comments
 (0)