From 3c3c265a2ab5861e8206472723010822aa118dc3 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 28 Jul 2026 02:17:08 +0200 Subject: [PATCH] chore(lint): enable prefer-const --- .oxlintrc.json | 1 + context/map/artifact-1-territory.md | 14 +++++++------- context/map/artifact-2-structure.md | 2 +- context/map/artifact-3-contributors.md | 6 +++--- context/map/repo-map.md | 14 +++++++------- 5 files changed, 19 insertions(+), 18 deletions(-) diff --git a/.oxlintrc.json b/.oxlintrc.json index 9fe2a78..077ce7b 100644 --- a/.oxlintrc.json +++ b/.oxlintrc.json @@ -4,6 +4,7 @@ "no-unused-vars": "warn", "no-console": "off", "no-var": "error", + "prefer-const": "error", "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 c0ed9f7..ffc042f 100644 --- a/context/map/artifact-1-territory.md +++ b/context/map/artifact-1-territory.md @@ -2,7 +2,7 @@ -> Scan of `a2e0aaf` (2026-07-28) · window: last 12 months · engine: tools/repo-map +> Scan of `45e2718` (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,7 +11,7 @@ | Area | Commits | | --- | --- | | `src/lib` | 75 | -| `context/map` | 70 | +| `context/map` | 74 | | `context/changes` | 53 | | `tests/e2e` | 32 | | `package.json` | 30 | @@ -31,11 +31,11 @@ | File | Commits | | --- | --- | | `package.json` | 30 | +| `context/map/artifact-2-structure.md` | 16 | +| `context/map/repo-map.md` | 16 | | `src/commands/get.ts` | 16 | -| `context/map/artifact-2-structure.md` | 15 | -| `context/map/repo-map.md` | 15 | -| `context/map/artifact-1-territory.md` | 14 | -| `context/map/artifact-3-contributors.md` | 14 | +| `context/map/artifact-1-territory.md` | 15 | +| `context/map/artifact-3-contributors.md` | 15 | | `.github/workflows/ci.yml` | 14 | | `tests/get-command.test.ts` | 13 | | `src/lib/writer.ts` | 12 | @@ -51,7 +51,7 @@ | Area | 2026-Q2 | 2026-Q3 | | --- | --- | --- | | `src/lib` | 34 | 1 | -| `context/map` | 0 | 15 | +| `context/map` | 0 | 16 | | `context/changes` | 28 | 1 | | `tests/e2e` | 11 | 0 | | `package.json` | 26 | 4 | diff --git a/context/map/artifact-2-structure.md b/context/map/artifact-2-structure.md index a212465..ef3a38a 100644 --- a/context/map/artifact-2-structure.md +++ b/context/map/artifact-2-structure.md @@ -2,7 +2,7 @@ -> Scan of `a2e0aaf` (2026-07-28) · window: last 12 months · engine: tools/repo-map +> Scan of `45e2718` (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. diff --git a/context/map/artifact-3-contributors.md b/context/map/artifact-3-contributors.md index dc5d4d2..ba0565f 100644 --- a/context/map/artifact-3-contributors.md +++ b/context/map/artifact-3-contributors.md @@ -2,7 +2,7 @@ -> Scan of `a2e0aaf` (2026-07-28) · window: last 12 months · engine: tools/repo-map +> Scan of `45e2718` (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`). @@ -11,7 +11,7 @@ | Contributor | Commits | | --- | --- | | “mkczarkowski” | 77 | -| Marcin Czarkowski | 8 | +| Marcin Czarkowski | 9 | | psmyrdek | 8 | | Przemek Smyrdek | 2 | @@ -20,7 +20,7 @@ | Area | Ask (commits) | | --- | --- | | `src/lib` | “mkczarkowski” (29), psmyrdek (4) | -| `context/map` | Marcin Czarkowski (5) | +| `context/map` | Marcin Czarkowski (6) | | `context/changes` | “mkczarkowski” (28) | | `tests/e2e` | “mkczarkowski” (8), psmyrdek (3) | | `package.json` | “mkczarkowski” (7), Marcin Czarkowski (1) | diff --git a/context/map/repo-map.md b/context/map/repo-map.md index 9aca216..b111815 100644 --- a/context/map/repo-map.md +++ b/context/map/repo-map.md @@ -2,7 +2,7 @@ -> Scan of `a2e0aaf` (2026-07-28) · window: last 12 months · engine: tools/repo-map +> Scan of `45e2718` (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,7 +29,7 @@ Top active areas (full table in `artifact-1-territory.md`): | Area | Commits | | --- | --- | | `src/lib` | 75 | -| `context/map` | 70 | +| `context/map` | 74 | | `context/changes` | 53 | | `tests/e2e` | 32 | | `package.json` | 30 | @@ -61,7 +61,7 @@ _No high-risk zones flagged this run._ | Area | Ask | | --- | --- | | `src/lib` | “mkczarkowski” (29), psmyrdek (4) | -| `context/map` | Marcin Czarkowski (5) | +| `context/map` | Marcin Czarkowski (6) | | `context/changes` | “mkczarkowski” (28) | | `tests/e2e` | “mkczarkowski” (8), psmyrdek (3) | | `package.json` | “mkczarkowski” (7), Marcin Czarkowski (1) | @@ -70,11 +70,11 @@ _No high-risk zones flagged this run._ ## 6. First day — read these first - `package.json` — 30 commits in window +- `context/map/artifact-2-structure.md` — 16 commits in window +- `context/map/repo-map.md` — 16 commits in window - `src/commands/get.ts` — 16 commits in window -- `context/map/artifact-2-structure.md` — 15 commits in window -- `context/map/repo-map.md` — 15 commits in window -- `context/map/artifact-1-territory.md` — 14 commits in window -- `context/map/artifact-3-contributors.md` — 14 commits in window +- `context/map/artifact-1-territory.md` — 15 commits in window +- `context/map/artifact-3-contributors.md` — 15 commits in window - `.github/workflows/ci.yml` — 14 commits in window - `tests/get-command.test.ts` — 13 commits in window