Skip to content

Commit abb301b

Browse files
emooreatxclaude
andcommitted
docs: Update CHANGELOG for v1.6.6 release
Added release notes for: - PostgreSQL dialect odict_keys fix (#521, #522) - Deferral UI fields empty fix (#517) - DEBUG log level fixes (39 statements across 10 files) - Template consolidation (#519) - Wise Authority service refactoring - QA runner setup tests with template validation 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 2d24625 commit abb301b

File tree

1 file changed

+52
-0
lines changed

1 file changed

+52
-0
lines changed

CHANGELOG.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,58 @@ All notable changes to CIRIS Agent 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+
## [1.6.6] - 2025-11-25
9+
10+
### Fixed - PostgreSQL Support & Log Noise Reduction
11+
12+
- **PostgreSQL Dialect Error** (#521, #522) - Fixed critical `odict_keys` subscript error causing massive log spam
13+
- **Issue**: `extract_scalar` in dialect.py failed with `TypeError: 'odict_keys' object is not subscriptable`
14+
- **Impact**: Scout agents on PostgreSQL generated 59-61 MB incident logs due to repeated errors
15+
- **Root Cause**: `row.keys()` returns `odict_keys` view object which doesn't support `[0]` indexing
16+
- **Fix**: Convert keys to list before indexing: `list(keys)[0]`
17+
- **Files**: `ciris_engine/logic/persistence/db/dialect.py:313`
18+
19+
- **Deferral UI Fields Empty** (#517) - Fixed pending deferrals showing empty context in UI
20+
- **Issue**: `/v1/wa/deferrals` returned deferrals with empty `question` and `context` fields
21+
- **Root Cause**: Service method wasn't populating UI-compatible fields from deferral data
22+
- **Fix**: Build rich context from task description, deferral context, and original message
23+
- **Files**: `ciris_engine/logic/services/governance/wise_authority/service.py:387-421`
24+
25+
- **DEBUG Info at INFO Level** - Reduced log noise by moving debug messages to DEBUG level
26+
- Changed 39 log statements across 10 files from INFO to DEBUG level
27+
- **Files affected**:
28+
- `graph.py` - add_graph_node debug messages
29+
- `memory_service.py` - LocalGraphMemoryService init
30+
- `audit_service/service.py` - audit entry creation
31+
- `action_dispatcher.py` - tool audit parameters
32+
- `wakeup_processor.py` - wakeup step processing
33+
- `setup.py` - auth database path
34+
- `audit.py` routes - audit entry conversion
35+
- `mock_llm/responses*.py` - message processing
36+
- `main.py` - exit point tracking
37+
38+
### Changed
39+
40+
- **Template Consolidation** (#519) - Moved all templates to single location
41+
- Templates now in `ciris_engine/ciris_templates/` (removed root `ciris_templates/`)
42+
- Added `ally` template to manifest generators
43+
- All 7 templates signed: default (Datum), ally, sage, scout, echo, echo-core, echo-speculative
44+
45+
### Improved
46+
47+
- **Wise Authority Service Refactoring** - Reduced cognitive complexity from 24 to ~10
48+
- Extracted 4 helper methods for better maintainability:
49+
- `_parse_deferral_context()` - Parse context JSON
50+
- `_priority_to_string()` - Convert int priority to string
51+
- `_build_ui_context()` - Build UI context dictionary
52+
- `_create_pending_deferral()` - Create PendingDeferral from data
53+
- Added 19 unit tests covering all helper methods
54+
55+
- **QA Runner Setup Tests** - Added template validation to setup module
56+
- Validates `default` (Datum) and `ally` templates are present
57+
- Verifies minimum template count and correct naming
58+
- Added debug logging to template loading for troubleshooting
59+
860
## [1.6.5.3] - 2025-11-23
961

1062
### Fixed - Setup User Creation Cache Bug

0 commit comments

Comments
 (0)