Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
1b61879
Release v1.6.5.3: Fix setup wizard database path resolution and Postg…
emooreatx Nov 24, 2025
6646256
fix: Add UI fields to PendingDeferral schema for issue #514
emooreatx Nov 25, 2025
b1c2c1e
fix: Use actual username in /auth/me endpoint for issue #515
emooreatx Nov 25, 2025
f70c313
feat: Add Ally personal assistant template and consolidate templates …
emooreatx Nov 25, 2025
bd999f1
fix: Populate UI fields in WiseAuthorityService.get_pending_deferrals
emooreatx Nov 25, 2025
0ac3939
fix: Update tools/generate_template_manifest.py for consolidated temp…
emooreatx Nov 25, 2025
5fdf4fe
Merge PR #517: Fix deferral UI fields (issue #514)
emooreatx Nov 25, 2025
442ab27
Merge PR #518: Fix setup display name (issue #515)
emooreatx Nov 25, 2025
ecf109c
Merge PR #519: Add Ally template and consolidate templates folder
emooreatx Nov 25, 2025
1c4e902
chore: Bump version to 1.6.6
emooreatx Nov 25, 2025
5da8a9e
fix: PostgreSQL dialect extract_scalar odict_keys subscript error
emooreatx Nov 25, 2025
4dd2347
Merge branch 'bugfix/issue-521-postgres-dialect' into release/1.6.6
emooreatx Nov 25, 2025
b8c274e
fix: Change DEBUG info logged at INFO level to DEBUG level
emooreatx Nov 25, 2025
5d476e7
refactor: Reduce cognitive complexity in get_pending_deferrals
emooreatx Nov 25, 2025
809678a
test: Add template validation to setup QA tests
emooreatx Nov 25, 2025
e834c7a
fix: QA runner template validation now parses Response object
emooreatx Nov 25, 2025
2d24625
fix: Add type parameters to _parse_deferral_context return type
emooreatx Nov 25, 2025
abb301b
docs: Update CHANGELOG for v1.6.6 release
emooreatx Nov 25, 2025
01adb05
fix: API adapter now respects --port CLI argument over .env values
emooreatx Nov 25, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions BUILD_INFO.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Build Information
Code Hash: 39d5fa3029ce
Build Time: 2025-11-23T20:28:47.366020
Git Commit: 98aed22eba81664cadd2d0b27cec747f9e119b90
Git Branch: release/1.6.5.1
Code Hash: 758fb0330869
Build Time: 2025-11-25T16:17:39.938214
Git Commit: abb301b8fc71d8e670dae321f30d9b48aebead51
Git Branch: release/1.6.6

This hash is a SHA-256 of all Python source files in the repository.
It provides a deterministic version identifier based on the actual code content.
52 changes: 52 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,58 @@ All notable changes to CIRIS Agent will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.6.6] - 2025-11-25

### Fixed - PostgreSQL Support & Log Noise Reduction

- **PostgreSQL Dialect Error** (#521, #522) - Fixed critical `odict_keys` subscript error causing massive log spam
- **Issue**: `extract_scalar` in dialect.py failed with `TypeError: 'odict_keys' object is not subscriptable`
- **Impact**: Scout agents on PostgreSQL generated 59-61 MB incident logs due to repeated errors
- **Root Cause**: `row.keys()` returns `odict_keys` view object which doesn't support `[0]` indexing
- **Fix**: Convert keys to list before indexing: `list(keys)[0]`
- **Files**: `ciris_engine/logic/persistence/db/dialect.py:313`

- **Deferral UI Fields Empty** (#517) - Fixed pending deferrals showing empty context in UI
- **Issue**: `/v1/wa/deferrals` returned deferrals with empty `question` and `context` fields
- **Root Cause**: Service method wasn't populating UI-compatible fields from deferral data
- **Fix**: Build rich context from task description, deferral context, and original message
- **Files**: `ciris_engine/logic/services/governance/wise_authority/service.py:387-421`

- **DEBUG Info at INFO Level** - Reduced log noise by moving debug messages to DEBUG level
- Changed 39 log statements across 10 files from INFO to DEBUG level
- **Files affected**:
- `graph.py` - add_graph_node debug messages
- `memory_service.py` - LocalGraphMemoryService init
- `audit_service/service.py` - audit entry creation
- `action_dispatcher.py` - tool audit parameters
- `wakeup_processor.py` - wakeup step processing
- `setup.py` - auth database path
- `audit.py` routes - audit entry conversion
- `mock_llm/responses*.py` - message processing
- `main.py` - exit point tracking

### Changed

- **Template Consolidation** (#519) - Moved all templates to single location
- Templates now in `ciris_engine/ciris_templates/` (removed root `ciris_templates/`)
- Added `ally` template to manifest generators
- All 7 templates signed: default (Datum), ally, sage, scout, echo, echo-core, echo-speculative

### Improved

- **Wise Authority Service Refactoring** - Reduced cognitive complexity from 24 to ~10
- Extracted 4 helper methods for better maintainability:
- `_parse_deferral_context()` - Parse context JSON
- `_priority_to_string()` - Convert int priority to string
- `_build_ui_context()` - Build UI context dictionary
- `_create_pending_deferral()` - Create PendingDeferral from data
- Added 19 unit tests covering all helper methods

- **QA Runner Setup Tests** - Added template validation to setup module
- Validates `default` (Datum) and `ally` templates are present
- Verifies minimum template count and correct naming
- Added debug logging to template loading for troubleshooting

## [1.6.5.3] - 2025-11-23

### Fixed - Setup User Creation Cache Bug
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

**A type-safe, auditable AI agent framework with built-in ethical reasoning**

**BETA RELEASE 1.6.5.3-stable** | [Release Notes](CHANGELOG.md) | [Documentation Hub](docs/README.md)
**BETA RELEASE 1.6.6-stable** | [Release Notes](CHANGELOG.md) | [Documentation Hub](docs/README.md)

Academic paper https://zenodo.org/records/17195221
Philosophical foundation https://ciris.ai/ciris_covenant.pdf
Expand Down
Loading
Loading