You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Python 3.13, linting/quality, and agent reliability
- Raise requires-python to >=3.13 across all projects/libs; set ruff target to py313
- Fix bare excepts, unused variables/imports, Optional→union syntax, and import ordering
- Refactor chatbot MCP server to async subprocess with health checks and graceful shutdown
- Simplify file-enrichment prod Dockerfile to use uv sync with UV_PROJECT_ENVIRONMENT
- Fix module_loader to use fully qualified analyzer module name
- Make YARA _analyze_yara async and fix rule_manager access in workflow
- Enable LiteLLM healthcheck and add agents→litellm dependency
- Add PE analyzer tests with PyInstaller fixture;
- Update PDF tests for nested metadata
- Suppress third-party DeprecationWarnings, use async-lru for LLM status cache
- Add PHOENIX_ENABLED validation to nemesis-ctl.sh; remove debug pprint in agents
- Add Claude Code managing-packages skill, update CLAUDE.md guidance
Copy file name to clipboardExpand all lines: CLAUDE.md
+16-7Lines changed: 16 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,17 +48,21 @@ Nemesis is an open-source, centralized data processing platform (v2.0) that inge
48
48
cd projects/web_api && uv sync
49
49
```
50
50
51
-
### Linting & Formatting (Ruff)
51
+
### Package Management
52
+
53
+
For adding, upgrading, or removing packages, use the `/managing-packages` skill.
52
54
55
+
### Linting & Formatting (Ruff)
56
+
Run linting/formatting after each fix/change.
53
57
```bash
54
58
# Check all Python code (configured in root pyproject.toml)
55
-
ruff check .
59
+
uv run ruff check . --fix
56
60
57
61
# Format code
58
-
ruff format .
62
+
uv run ruff format .
59
63
60
64
# Check specific project
61
-
cd projects/web_api && uv run ruff check .
65
+
cd projects/web_api && uv run ruff check . --fix
62
66
```
63
67
64
68
### Testing
@@ -75,22 +79,27 @@ cd projects/web_api && uv run pytest tests/test_file.py::test_function_name
75
79
```
76
80
77
81
### Docker Commands
82
+
Information about building dev/prod container images can be found in the [docker compose docs](./docs/docker_compose.md).
78
83
84
+
General instructions for dev docker containers/images:
79
85
```bash
80
86
# Build base images first (required before building services)
81
87
docker compose -f compose.base.yaml build
82
88
83
89
# View logs for a service
84
90
docker compose logs -f web-api
85
91
86
-
# Rebuild and restart single service
87
-
docker compose up -d --build web-api
92
+
# Rebuild Dapr-enabled services (must include the -dapr sidecar)
93
+
docker compose up -d --build file-enrichment file-enrichment-dapr
94
+
docker compose up -d --build web-api web-api-dapr
88
95
```
89
96
97
+
**Note:** Services using Dapr (file-enrichment, web-api, alerting, etc.) have a companion `-dapr` sidecar container. When rebuilding these services, always restart both the service and its Dapr sidecar to ensure proper communication.
98
+
90
99
## Architecture
91
100
92
101
### Tech Stack
93
-
-**Python 3.12-3.13** with uv for dependency management
102
+
-**Python 3.13** with uv for dependency management
Copy file name to clipboardExpand all lines: docs/agents.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -92,13 +92,13 @@ The Chatbot agent powers the "Chatbot" icon in the left navigation panel. This a
92
92
93
93
## The Nemesis Web Interface
94
94
95
-
### Monitoring
95
+
### Phoenix LLM Tracing
96
96
97
-
If the `--monitoring` flag is also passed to the `./tools/nemesis-ctl.sh` script, the [Arize Phoenix](https://github.com/Arize-ai/phoenix)will be deployed to allow tracking of the inputs/outputs sent to the LLM (at the /phoenix route):
97
+
When the `--llm` flag is passed to `./tools/nemesis-ctl.sh`, [Arize Phoenix](https://github.com/Arize-ai/phoenix)is deployed (available at the /phoenix route) to allow tracking of the inputs/outputs sent to the LLM.
If the monitoring profile is used and Arize Phoenix is deployed, the Nemesis frontend will dynamically display links to the Phoenix interface in the Help menu as well.
101
+
When Arize Phoenix is deployed, the Nemesis frontend will dynamically display links to the Phoenix interface in the Help menu.
102
102
103
103

0 commit comments