Problem
`backend/app/main.py`:
```python
app = FastAPI(
title="KShield Engine",
version="1.0.0",
...
)
```
This is hardcoded and does not track the actual package version — currently 1.1.0 in `pyproject.toml`, `npm/package.json`, and `cli/Cargo.toml`. Shows up in `/docs` (Swagger UI) and `/openapi.json`, so anyone introspecting the API sees the wrong version.
Proposed fix
Read the version from `pyproject.toml` at import time (e.g. via `importlib.metadata.version("kshield")`) instead of hardcoding it, so it can't drift again.
Problem
`backend/app/main.py`:
```python
app = FastAPI(
title="KShield Engine",
version="1.0.0",
...
)
```
This is hardcoded and does not track the actual package version — currently 1.1.0 in `pyproject.toml`, `npm/package.json`, and `cli/Cargo.toml`. Shows up in `/docs` (Swagger UI) and `/openapi.json`, so anyone introspecting the API sees the wrong version.
Proposed fix
Read the version from `pyproject.toml` at import time (e.g. via `importlib.metadata.version("kshield")`) instead of hardcoding it, so it can't drift again.