Skip to content

Commit 254710e

Browse files
committed
chore: update AI context map [skip ci]
1 parent 4b0d9dc commit 254710e

8 files changed

Lines changed: 50 additions & 18 deletions

File tree

.codesight/CODESIGHT.md

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
> **Stack:** raw-http | none | unknown | typescript
44
5-
> 4 routes (8 inferred) + 1 graphql + 3 ws | 0 models | 0 components | 61 lib files | 5 env vars | 1 middleware | 6 events | 60% test coverage
6-
> **Token savings:** this file is ~4,400 tokens. Without it, AI exploration would cost ~30,200 tokens. **Saves ~25,700 tokens per conversation.**
7-
> **Last scanned:** 2026-04-25 11:57 — re-run after significant changes
5+
> 4 routes (8 inferred) + 1 graphql + 3 ws | 0 models | 0 components | 61 lib files | 6 env vars | 5 middleware | 11 events | 60% test coverage
6+
> **Token savings:** this file is ~4,700 tokens. Without it, AI exploration would cost ~32,300 tokens. **Saves ~27,600 tokens per conversation.**
7+
> **Last scanned:** 2026-05-11 18:28 — re-run after significant changes
88
99
---
1010

@@ -189,14 +189,16 @@
189189

190190
## Environment Variables
191191

192-
- `DATABASE_URL` **required** — tests/detectors.test.ts
193-
- `PORT` **required** — tests/detectors.test.ts
192+
- `DATABASE_URL` **required** — tests/fixtures/config-app/.env.example
193+
- `JWT_SECRET` **required** — tests/fixtures/config-app/.env.example
194+
- `PORT` (has default) — tests/fixtures/config-app/.env.example
194195
- `VAR` **required** — src/detectors/config.ts
195196
- `VAR_NAME` **required** — src/detectors/config.ts
196197
- `VITE_VAR_NAME` **required** — src/detectors/config.ts
197198

198199
## Config Files
199200

201+
- `tests/fixtures/config-app/.env.example`
200202
- `tsconfig.json`
201203

202204
---
@@ -205,6 +207,12 @@
205207

206208
## auth
207209
- middleware — `src/detectors/middleware.ts`
210+
- auth — `tests/fixtures/graph-app/src/auth.ts`
211+
- middleware — `tests/fixtures/graph-app/src/middleware.ts`
212+
- auth — `tests/fixtures/middleware-app/src/middleware/auth.ts`
213+
214+
## rate-limit
215+
- rate-limit — `tests/fixtures/middleware-app/src/middleware/rate-limit.ts`
208216

209217
---
210218

@@ -268,12 +276,20 @@
268276
- `event-name` [event]`src/detectors/events.ts`
269277
- `) || content.includes(` [event]`src/detectors/events.ts`
270278

279+
## celery
280+
281+
- `tests.fixtures.celery-detect.tasks.ping` [queue] → celery-task — `tests/fixtures/celery-detect/tasks.py`
282+
- `tests.fixtures.celery-events.tasks.add` [queue] → celery-task — `tests/fixtures/celery-events/tasks.py`
283+
- `tests.fixtures.celery-events.tasks.cleanup` [queue] → celery-task — `tests/fixtures/celery-events/tasks.py`
284+
- `billing.report_usage_to_stripe` [queue] → celery-task — `tests/fixtures/celery-events/tasks.py`
285+
- `tests.fixtures.python-celery-workspace.services.worker-service.tasks.sync_users` [queue] → celery-task — `tests/fixtures/python-celery-workspace/services/worker-service/tasks.py`
286+
271287
---
272288

273289
# Test Coverage
274290

275291
> **60%** of routes and models are covered by tests
276-
> 20 test files found
292+
> 155 test files found
277293
278294
## Covered Routes
279295

.codesight/config.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,14 @@
22

33
## Environment Variables
44

5-
- `DATABASE_URL` **required** — tests/detectors.test.ts
6-
- `PORT` **required** — tests/detectors.test.ts
5+
- `DATABASE_URL` **required** — tests/fixtures/config-app/.env.example
6+
- `JWT_SECRET` **required** — tests/fixtures/config-app/.env.example
7+
- `PORT` (has default) — tests/fixtures/config-app/.env.example
78
- `VAR` **required** — src/detectors/config.ts
89
- `VAR_NAME` **required** — src/detectors/config.ts
910
- `VITE_VAR_NAME` **required** — src/detectors/config.ts
1011

1112
## Config Files
1213

14+
- `tests/fixtures/config-app/.env.example`
1315
- `tsconfig.json`

.codesight/coverage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Test Coverage
22

33
> **60%** of routes and models are covered by tests
4-
> 20 test files found
4+
> 155 test files found
55
66
## Covered Routes
77

.codesight/events.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,11 @@
1717

1818
- `event-name` [event]`src/detectors/events.ts`
1919
- `) || content.includes(` [event]`src/detectors/events.ts`
20+
21+
## celery
22+
23+
- `tests.fixtures.celery-detect.tasks.ping` [queue] → celery-task — `tests/fixtures/celery-detect/tasks.py`
24+
- `tests.fixtures.celery-events.tasks.add` [queue] → celery-task — `tests/fixtures/celery-events/tasks.py`
25+
- `tests.fixtures.celery-events.tasks.cleanup` [queue] → celery-task — `tests/fixtures/celery-events/tasks.py`
26+
- `billing.report_usage_to_stripe` [queue] → celery-task — `tests/fixtures/celery-events/tasks.py`
27+
- `tests.fixtures.python-celery-workspace.services.worker-service.tasks.sync_users` [queue] → celery-task — `tests/fixtures/python-celery-workspace/services/worker-service/tasks.py`

.codesight/middleware.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,9 @@
22

33
## auth
44
- middleware — `src/detectors/middleware.ts`
5+
- auth — `tests/fixtures/graph-app/src/auth.ts`
6+
- middleware — `tests/fixtures/graph-app/src/middleware.ts`
7+
- auth — `tests/fixtures/middleware-app/src/middleware/auth.ts`
8+
9+
## rate-limit
10+
- rate-limit — `tests/fixtures/middleware-app/src/middleware/rate-limit.ts`

.codesight/wiki/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# codesight — Wiki
22

3-
_Generated 2026-04-25 — re-run `npx codesight --wiki` if the codebase has changed._
3+
_Generated 2026-05-11 — re-run `npx codesight --wiki` if the codebase has changed._
44

55
Structural map compiled from source code via AST. No LLM — deterministic, 200ms.
66

@@ -21,7 +21,7 @@ Structural map compiled from source code via AST. No LLM — deterministic, 200m
2121
- Routes: **8**
2222
- Models: **0**
2323
- Components: **0**
24-
- Env vars: **5** required, **0** with defaults
24+
- Env vars: **5** required, **1** with defaults
2525

2626
## How to Use
2727

@@ -47,4 +47,4 @@ These exist in your codebase but are **not** reflected in wiki articles:
4747
When in doubt, search the source. The wiki is a starting point, not a complete inventory.
4848

4949
---
50-
_Last compiled: 2026-04-25 · 8 articles · [codesight](https://github.com/Houseofmvps/codesight)_
50+
_Last compiled: 2026-05-11 · 8 articles · [codesight](https://github.com/Houseofmvps/codesight)_

.codesight/wiki/log.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
History of `npx codesight --wiki` runs. Capped at 20 entries.
44

5-
## [2026-04-09 17:27:31] scan | 8 routes, 0 models, 0 components → 7 articles
6-
75
## [2026-04-10 10:28:44] scan | 8 routes, 0 models, 0 components → 7 articles
86

97
## [2026-04-10 10:33:01] scan | 8 routes, 0 models, 0 components → 7 articles
@@ -41,3 +39,5 @@ History of `npx codesight --wiki` runs. Capped at 20 entries.
4139
## [2026-04-24 19:02:18] scan | 8 routes, 0 models, 0 components → 8 articles
4240

4341
## [2026-04-25 11:57:12] scan | 8 routes, 0 models, 0 components → 8 articles
42+
43+
## [2026-05-11 18:28:09] scan | 8 routes, 0 models, 0 components → 8 articles

.codesight/wiki/overview.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
## Scale
88

9-
8 API routes · 61 library files · 1 middleware layers · 5 environment variables
9+
8 API routes · 61 library files · 5 middleware layers · 6 environment variables
1010

1111
## Subsystems
1212

@@ -31,11 +31,11 @@ Changes to these files have the widest blast radius across the codebase:
3131

3232
## Required Environment Variables
3333

34-
- `DATABASE_URL``tests/detectors.test.ts`
35-
- `PORT``tests/detectors.test.ts`
34+
- `DATABASE_URL``tests/fixtures/config-app/.env.example`
35+
- `JWT_SECRET``tests/fixtures/config-app/.env.example`
3636
- `VAR``src/detectors/config.ts`
3737
- `VAR_NAME``src/detectors/config.ts`
3838
- `VITE_VAR_NAME``src/detectors/config.ts`
3939

4040
---
41-
_Back to [index.md](./index.md) · Generated 2026-04-25_
41+
_Back to [index.md](./index.md) · Generated 2026-05-11_

0 commit comments

Comments
 (0)