Merge feature/bootstrap-refactor #2
No reviewers
Labels
No labels
audit-2025-12-03
component/api
component/commands
component/llm
component/memory
component/tick-loop
component/tools
priority
high
priority
low
status
in-progress
status
needs-info
status
needs-triage
status
on-hold
type
bug
type
documentation
type
enhancement
type
feature
type
refactor
type
test
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
blightbow/evennia_ai!2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/bootstrap-refactor"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Bug 1 - Goals serializer: Frontend expects active_goals to be an array for .map() iteration, but serializer was returning the entire current_goals dict. Fixed by extracting the "goals" array from the dict structure. Bug 2 - Journal serializer: Serializer was deserializing journal as a list (or []), but actual data structure is a dict with an "entries" key (or {}). This caused AttributeError when trying to call .get() on strings. Fixed by using correct data structure and extracting entries array. Frontend errors fixed: - Goals: TypeError: goals.map is not a function - Journal: 500 error - AttributeError: 'str' object has no attribute 'get' 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>Frontend expects data.projects to be an array for .map() iteration, but serializer was returning the entire projects dict. Fixed by extracting slots dict and converting to array format matching old API. Old format (restored): { "active_project": "project_key", "projects": [ {"key": "...", "summary": "...", "is_active": true, ...}, ... ], "total_projects": 3 } Frontend error fixed: - Projects: TypeError: data.projects.map is not a function 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>Pull request closed