Skip to content

Commit 4e5629e

Browse files
authored
Merge pull request lightspeed-core#973 from falox/fix-claude-md
fix(docs): update CLAUDE.md
2 parents b3467ee + cf48572 commit 4e5629e

1 file changed

Lines changed: 12 additions & 6 deletions

File tree

CLAUDE.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,26 +24,32 @@ src/
2424
│ ├── sqlite_context_store.py # SQLite implementation
2525
│ ├── postgres_context_store.py # PostgreSQL implementation
2626
│ └── storage_factory.py # Factory for creating stores
27-
├── auth/ # Authentication modules (k8s, jwk, noop)
27+
├── authentication/ # Authentication modules (k8s, jwk, noop, rh-identity)
2828
├── authorization/ # Authorization middleware & resolvers
2929
├── cache/ # Conversation cache implementations
30+
├── quota/ # Quota limiter and token usage tracking
31+
├── metrics/ # Prometheus metrics
32+
├── runners/ # Agent runners
3033
├── models/ # Pydantic models
3134
│ ├── config.py # Configuration classes
3235
│ ├── requests.py # Request models
33-
│ └── responses.py # Response models
36+
│ ├── responses.py # Response models
37+
│ └── database/ # Database models
3438
├── utils/ # Utility functions
35-
├── client.py # Llama Stack client wrapper
36-
└── configuration.py # Config management
39+
├── client.py # Llama Stack client wrapper (Singleton)
40+
├── configuration.py # Config management (Singleton)
41+
└── constants.py # Shared constants
3742
```
3843

3944
### Coding Standards
4045

4146
#### Imports & Dependencies
42-
- Use absolute imports for internal modules: `from auth import get_auth_dependency`
47+
- Use absolute imports for internal modules: `from authentication import get_auth_dependency`
4348
- FastAPI dependencies: `from fastapi import APIRouter, HTTPException, Request, status, Depends`
4449
- Llama Stack imports: `from llama_stack_client import AsyncLlamaStackClient`
4550
- **ALWAYS** check `pyproject.toml` for existing dependencies before adding new ones
4651
- **ALWAYS** verify current library versions in `pyproject.toml` rather than assuming versions
52+
- Check `constants.py` for shared constants before defining new ones
4753

4854
#### Module Standards
4955
- All modules start with descriptive docstrings explaining purpose
@@ -167,7 +173,7 @@ uv run make test-e2e # End-to-end tests
167173
### Linting Tools
168174
- **black**: Code formatting
169175
- **pylint**: Static analysis (`source-roots = "src"`)
170-
- **pyright**: Type checking (excludes `src/auth/k8s.py`)
176+
- **pyright**: Type checking (excludes `src/authentication/k8s.py`)
171177
- **ruff**: Fast linter
172178
- **pydocstyle**: Docstring style
173179
- **mypy**: Additional type checking

0 commit comments

Comments
 (0)