From 46328b8071c811799b4658f885812fd68d340070 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 28 Jul 2026 02:07:15 +0200 Subject: [PATCH] chore(lint): enable no-debugger --- .oxlintrc.json | 1 + context/map/artifact-1-territory.md | 22 ++++++++++----------- context/map/artifact-2-structure.md | 10 +++------- context/map/artifact-3-contributors.md | 8 ++++---- context/map/graph/coupling.json | 2 +- context/map/repo-map.md | 27 ++++++++++++-------------- 6 files changed, 32 insertions(+), 38 deletions(-) diff --git a/.oxlintrc.json b/.oxlintrc.json index adfc2f2..23e6c92 100644 --- a/.oxlintrc.json +++ b/.oxlintrc.json @@ -3,6 +3,7 @@ "rules": { "no-unused-vars": "warn", "no-console": "off", + "no-debugger": "error", "eqeqeq": "error", "unicorn/number-literal-case": "error" }, diff --git a/context/map/artifact-1-territory.md b/context/map/artifact-1-territory.md index a40ceaf..f6de6b9 100644 --- a/context/map/artifact-1-territory.md +++ b/context/map/artifact-1-territory.md @@ -2,7 +2,7 @@ -> Scan of `a9e4416` (2026-07-28) · window: last 12 months · engine: tools/repo-map +> Scan of `a72fd96` (2026-07-28) · window: last 12 months · engine: tools/repo-map **Where the work actually happens.** Git-history activity over the last 12 months, noise filtered (lockfiles, generated files, assets). Activity is a signal of *risk of accidental regression*, not of quality. @@ -11,11 +11,11 @@ | Area | Commits | | --- | --- | | `src/lib` | 75 | -| `context/map` | 58 | +| `context/map` | 65 | | `context/changes` | 53 | | `tests/e2e` | 32 | +| `package.json` | 30 | | `src/commands` | 30 | -| `package.json` | 29 | | `.github/workflows` | 19 | | `context/archive` | 19 | | `tests/get-command.test.ts` | 13 | @@ -30,18 +30,18 @@ | File | Commits | | --- | --- | -| `package.json` | 29 | +| `package.json` | 30 | | `src/commands/get.ts` | 16 | +| `context/map/artifact-2-structure.md` | 14 | +| `context/map/repo-map.md` | 14 | | `.github/workflows/ci.yml` | 14 | +| `context/map/artifact-1-territory.md` | 13 | +| `context/map/artifact-3-contributors.md` | 13 | | `tests/get-command.test.ts` | 13 | -| `context/map/artifact-1-territory.md` | 12 | -| `context/map/artifact-2-structure.md` | 12 | -| `context/map/artifact-3-contributors.md` | 12 | -| `context/map/repo-map.md` | 12 | | `src/lib/writer.ts` | 12 | +| `context/map/graph/coupling.json` | 9 | | `README.md` | 9 | | `tests/writer.test.ts` | 9 | -| `context/map/graph/coupling.json` | 8 | | `src/lib/config.ts` | 8 | | `src/lib/manifest.ts` | 7 | | `src/lib/api-content.ts` | 7 | @@ -51,10 +51,10 @@ | Area | 2026-Q2 | 2026-Q3 | | --- | --- | --- | | `src/lib` | 34 | 1 | -| `context/map` | 0 | 12 | +| `context/map` | 0 | 14 | | `context/changes` | 28 | 1 | | `tests/e2e` | 11 | 0 | -| `src/commands` | 23 | 0 | +| `package.json` | 26 | 4 | ## Co-change — areas that move together in the same commit diff --git a/context/map/artifact-2-structure.md b/context/map/artifact-2-structure.md index 66f7b4f..1141239 100644 --- a/context/map/artifact-2-structure.md +++ b/context/map/artifact-2-structure.md @@ -2,7 +2,7 @@ -> Scan of `a9e4416` (2026-07-28) · window: last 12 months · engine: tools/repo-map +> Scan of `a72fd96` (2026-07-28) · window: last 12 months · engine: tools/repo-map **How it is built.** Static import graph of `src` plus a file inventory of every module. Folders show where the code is; the graph shows what actually depends on what. @@ -20,13 +20,9 @@ _None detected this run._ ## Highest fan-out folders (efferent coupling Ce — depends on many) -| Folder | Ce (out) | Ca (in, lower bound) | Modules | -| --- | --- | --- | --- | -| `src/commands` | 38 | 5 | 5 | -| `src` | 24 | 0 | 25 | -| `src/lib` | 17 | 33 | 19 | +_Metrics unavailable this run (see limitations)._ ## Limitations -- Afferent coupling (Ca) from dependency-cruiser is unreliable without a fully installed toolchain (external/aliased imports go unresolved). Treat Ca as a lower bound. +- dependency-cruiser not runnable — coupling metrics skipped this run. - Static import graph only. Runtime wiring (dynamic import, template refs, feature flags, codegen) is invisible here and is an `unknown`, not "no dependency". diff --git a/context/map/artifact-3-contributors.md b/context/map/artifact-3-contributors.md index 963620f..f265a76 100644 --- a/context/map/artifact-3-contributors.md +++ b/context/map/artifact-3-contributors.md @@ -2,7 +2,7 @@ -> Scan of `a9e4416` (2026-07-28) · window: last 12 months · engine: tools/repo-map +> Scan of `a72fd96` (2026-07-28) · window: last 12 months · engine: tools/repo-map **Who to ask before you change something.** Bots and AI agents (Claude, Codex, Copilot, dependabot…) are filtered out — this is about humans who hold undocumented context. Answers "who has context on this area", not "who changed this line" (that is `git blame`). @@ -12,7 +12,7 @@ | --- | --- | | “mkczarkowski” | 77 | | psmyrdek | 8 | -| Marcin Czarkowski | 6 | +| Marcin Czarkowski | 7 | | Przemek Smyrdek | 2 | ## Who to ask, per active area @@ -20,8 +20,8 @@ | Area | Ask (commits) | | --- | --- | | `src/lib` | “mkczarkowski” (29), psmyrdek (4) | -| `context/map` | Marcin Czarkowski (3) | +| `context/map` | Marcin Czarkowski (4) | | `context/changes` | “mkczarkowski” (28) | | `tests/e2e` | “mkczarkowski” (8), psmyrdek (3) | -| `src/commands` | “mkczarkowski” (19), psmyrdek (4) | | `package.json` | “mkczarkowski” (7), Marcin Czarkowski (1) | +| `src/commands` | “mkczarkowski” (19), psmyrdek (4) | diff --git a/context/map/graph/coupling.json b/context/map/graph/coupling.json index b81152d..28f776e 100644 --- a/context/map/graph/coupling.json +++ b/context/map/graph/coupling.json @@ -1,5 +1,5 @@ { - "generatedFor": "a9e4416", + "generatedFor": "a72fd96", "root": "src", "folders": [ { diff --git a/context/map/repo-map.md b/context/map/repo-map.md index 73763e1..7c87a4c 100644 --- a/context/map/repo-map.md +++ b/context/map/repo-map.md @@ -2,7 +2,7 @@ -> Scan of `a9e4416` (2026-07-28) · window: last 12 months · engine: tools/repo-map +> Scan of `a72fd96` (2026-07-28) · window: last 12 months · engine: tools/repo-map > > Operational map of the territory, built from cheap deterministic signals (git history + import graph), synthesized for decisions — not an essay. A new developer should know in ~15 min where things live, what is dangerous, and where to start. Refresh with `npm run repo-map`. @@ -29,11 +29,11 @@ Top active areas (full table in `artifact-1-territory.md`): | Area | Commits | | --- | --- | | `src/lib` | 75 | -| `context/map` | 58 | +| `context/map` | 65 | | `context/changes` | 53 | | `tests/e2e` | 32 | +| `package.json` | 30 | | `src/commands` | 30 | -| `package.json` | 29 | | `.github/workflows` | 19 | | `context/archive` | 19 | @@ -54,37 +54,34 @@ Structural coupling and cycles live in `artifact-2-structure.md` and `graph/`. ## 4. Risk zones — where to be careful -| Zone | What | Why it matters (evidence) | -| --- | --- | --- | -| `src/commands` | Fan-out Ce=38 across 5 modules | Depends on many things; wide blast radius on change. (dependency-cruiser) | -| `src/lib` | Fan-out Ce=17 across 19 modules | Depends on many things; wide blast radius on change. (dependency-cruiser) | +_No high-risk zones flagged this run._ ## 5. Who to ask | Area | Ask | | --- | --- | | `src/lib` | “mkczarkowski” (29), psmyrdek (4) | -| `context/map` | Marcin Czarkowski (3) | +| `context/map` | Marcin Czarkowski (4) | | `context/changes` | “mkczarkowski” (28) | | `tests/e2e` | “mkczarkowski” (8), psmyrdek (3) | -| `src/commands` | “mkczarkowski” (19), psmyrdek (4) | | `package.json` | “mkczarkowski” (7), Marcin Czarkowski (1) | +| `src/commands` | “mkczarkowski” (19), psmyrdek (4) | ## 6. First day — read these first -- `package.json` — 29 commits in window +- `package.json` — 30 commits in window - `src/commands/get.ts` — 16 commits in window +- `context/map/artifact-2-structure.md` — 14 commits in window +- `context/map/repo-map.md` — 14 commits in window - `.github/workflows/ci.yml` — 14 commits in window +- `context/map/artifact-1-territory.md` — 13 commits in window +- `context/map/artifact-3-contributors.md` — 13 commits in window - `tests/get-command.test.ts` — 13 commits in window -- `context/map/artifact-1-territory.md` — 12 commits in window -- `context/map/artifact-2-structure.md` — 12 commits in window -- `context/map/artifact-3-contributors.md` — 12 commits in window -- `context/map/repo-map.md` — 12 commits in window ## 7. Limitations — what this map does NOT say - It is a map of **activity and structure over the last 12 months**, not of correctness or quality. -- Afferent coupling (Ca) from dependency-cruiser is unreliable without a fully installed toolchain (external/aliased imports go unresolved). Treat Ca as a lower bound. +- dependency-cruiser not runnable — coupling metrics skipped this run. - Static import graph only. Runtime wiring (dynamic import, template refs, feature flags, codegen) is invisible here and is an `unknown`, not "no dependency". ---