Fix inbox creation issues in agent coordinator

- Fixed Task.new/3 to handle both maps and keyword lists
- Added robust inbox existence checking in find_available_agent
- Ensure inbox creation during agent registration and task assignment
- Add helper function ensure_inbox_exists to avoid crashes
This commit is contained in:
Ra
2025-08-23 14:46:28 -07:00
parent 5048db99c7
commit 943d8ad4d7
40 changed files with 7798 additions and 404 deletions

70
.gitignore vendored
View File

@@ -21,3 +21,73 @@ agent_coordinator-*.tar
# Temporary files, for example, from tests.
/tmp/
# IDE and Editor files
.vscode/
.idea/
*.swp
*.swo
*~
.DS_Store
.vimrc
.vim/
# OS generated files
Thumbs.db
# Log files
*.log
logs/
/tmp/nats.log
/tmp/nats.pid
# Environment and configuration files
.env
.env.local
.env.production
config/dev.secret.exs
config/prod.secret.exs
# Development and testing artifacts
*.beam
*.plt
*.dialyzer_plt
dialyzer_plt
dialyzer.plt
priv/plts/
# NATS related files
nats.log
nats.pid
# Python cache and virtual environments
__pycache__/
*.py[cod]
*$py.class
.Python
env/
venv/
ENV/
env.bak/
venv.bak/
.pytest_cache/
# Node.js (if any frontend components are added)
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Coverage reports
cover/
coverage/
*.cover
*.lcov
# Backup files
*.backup
*.bak
*.orig
# Claude settings (local configuration)
.claude/