legion-llm 0.4.2 → 0.4.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7d783c05981cd0272f10826212088d4054d5d001f06c0ab1d813ac8a0d40a3ca
4
- data.tar.gz: 5eac65f6ad91f5f7296b05b5c4b1bf89af789176a3775cb8864553bec5c924d6
3
+ metadata.gz: af70d89a4b5d52be8bb70f96a242afdaf9c9bddd324367c9dd9e21b6b10c16eb
4
+ data.tar.gz: 4a2d3171deee300fbfc22bcde3723e459ce8c8681163774f03adba7bbdbc626e
5
5
  SHA512:
6
- metadata.gz: d3c39286ae48876691530ba2baed4a2d047a7491e6a024baf9fba8101f1a536c19768e654bc78fdb413efa5275778ae00fc6225fbcfd8571894475b5eba775b8
7
- data.tar.gz: f4e990dbc665730c22f212fcc643843186dd13c5dbef1c5dfe871b1a79deb79ac570f893441c64e75c498ab058e487c8a1062188b79a8e23e4c51dd10a343006
6
+ metadata.gz: bf3d451a7240dcb2089158805153b4dc2c021d0e1766b92e2b037fd38abe662ba9b0f578702432c8f8ea5dfa3c87467b875658eb4cdae431701ce960ec2a5755
7
+ data.tar.gz: a7dc500bf983a8445ffb74ce49643bbfcd8af887a2e6ba6fbec9118d7c86bbd1cf2bf9141023602329042ea150fb085f2807f1a8b04faf3ad8a70f0e9272378f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # Legion LLM Changelog
2
2
 
3
+ ## [0.4.6] - 2026-03-23
4
+
5
+ ### Changed
6
+ - `Pipeline::GaiaCaller.chat` and `.structured` now accept an explicit `caller:` keyword parameter and forward it to `Pipeline::Request.build`; falls back to `gaia_caller(phase)` when nil (default, no behaviour change)
7
+
8
+ ## [0.4.5] - 2026-03-23
9
+
10
+ ### Fixed
11
+ - `llm_chat` and `llm_session` helpers now accept and forward `caller:` to pipeline (unblocks consumer migration)
12
+
13
+ ## [0.4.4] - 2026-03-23
14
+
15
+ ### Added
16
+ - `Pipeline::Steps::Rbac`: real RBAC enforcement using `Legion::Rbac.authorize!`, graceful degradation when unavailable
17
+ - `Pipeline::Steps::Classification`: real PII/PHI scan (SSN, email, phone regex + PHI keyword list); upgrade-only classification levels
18
+ - `Pipeline::Steps::Billing`: real budget enforcement via `CostEstimator`; spending cap rejection
19
+
20
+ ### Changed
21
+ - Extracted all three governance stubs from Executor into dedicated step modules
22
+
3
23
  ## [0.4.2] - 2026-03-23
4
24
 
5
25
  ### Added
@@ -9,6 +29,10 @@
9
29
  - `Pipeline::GaiaCaller`: privileged helper for GAIA/GAS LLM calls with system profile (skips governance steps)
10
30
  - `Pipeline::AuditPublisher`: publishes audit events to `llm.audit` exchange for GAS subscriber consumption
11
31
  - RAG/GAS full cycle integration test (4 examples: enrichment, injection, degradation, feedback loop prevention)
32
+ - `OverrideConfidence` module with 4-tier degrading storage (L0 memory, L1 cache, L2 SQLite, L3 Apollo)
33
+ - Catalog-driven auto-override in `ToolDispatcher`: settings override first, then Catalog + confidence gate
34
+ - Shadow mode execution: when confidence is 0.5-0.8, execute both MCP and LEX, compare results, update confidence
35
+ - `hydrate_from_l2` and `hydrate_from_apollo` for override confidence persistence across restarts
12
36
 
13
37
  ## [0.4.1] - 2026-03-23
14
38