codefactory-cli 0.20.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. codefactory/__init__.py +3 -0
  2. codefactory/__main__.py +5 -0
  3. codefactory/accept.py +68 -0
  4. codefactory/analyzers/__init__.py +55 -0
  5. codefactory/analyzers/generic.py +392 -0
  6. codefactory/analyzers/parallel.py +113 -0
  7. codefactory/analyzers/python.py +279 -0
  8. codefactory/analyzers/python_parse.py +402 -0
  9. codefactory/analyzers/treewalk.py +299 -0
  10. codefactory/analyzers/ts_helper.js +483 -0
  11. codefactory/analyzers/typescript.py +118 -0
  12. codefactory/apple.py +80 -0
  13. codefactory/audit.py +227 -0
  14. codefactory/baseline.py +58 -0
  15. codefactory/brief.py +330 -0
  16. codefactory/cache.py +93 -0
  17. codefactory/checks.py +608 -0
  18. codefactory/cli.py +782 -0
  19. codefactory/config.py +157 -0
  20. codefactory/coverage.py +104 -0
  21. codefactory/deps.py +182 -0
  22. codefactory/diff.py +197 -0
  23. codefactory/efficiency.py +250 -0
  24. codefactory/flags.py +263 -0
  25. codefactory/graph.py +95 -0
  26. codefactory/hotspots.py +344 -0
  27. codefactory/infra.py +242 -0
  28. codefactory/intent.py +106 -0
  29. codefactory/layers.py +143 -0
  30. codefactory/org.py +131 -0
  31. codefactory/owners.py +72 -0
  32. codefactory/patch.py +81 -0
  33. codefactory/paths.py +93 -0
  34. codefactory/plan.py +476 -0
  35. codefactory/privacy.py +221 -0
  36. codefactory/profile.py +667 -0
  37. codefactory/rerank.py +161 -0
  38. codefactory/review.py +1504 -0
  39. codefactory/rules.py +50 -0
  40. codefactory/sarif.py +661 -0
  41. codefactory/sbom.py +78 -0
  42. codefactory/security.py +537 -0
  43. codefactory/similar.py +199 -0
  44. codefactory/skill.py +144 -0
  45. codefactory/skill_template/SKILL.md +68 -0
  46. codefactory/skill_template/__init__.py +0 -0
  47. codefactory/sqlgraph.py +109 -0
  48. codefactory/suppress.py +92 -0
  49. codefactory/taint.py +439 -0
  50. codefactory/trace.py +72 -0
  51. codefactory/viewer/__init__.py +19 -0
  52. codefactory/viewer/dashboard.html +43 -0
  53. codefactory/viewer/factory.css +61 -0
  54. codefactory/viewer/factory.js +665 -0
  55. codefactory/viewer/template.html +47 -0
  56. codefactory_cli-0.20.1.dist-info/METADATA +250 -0
  57. codefactory_cli-0.20.1.dist-info/RECORD +61 -0
  58. codefactory_cli-0.20.1.dist-info/WHEEL +5 -0
  59. codefactory_cli-0.20.1.dist-info/entry_points.txt +2 -0
  60. codefactory_cli-0.20.1.dist-info/licenses/LICENSE +21 -0
  61. codefactory_cli-0.20.1.dist-info/top_level.txt +1 -0
@@ -0,0 +1,47 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1">
6
+ <title>codefactory · __TITLE__</title>
7
+ <style>/*CSS*/</style>
8
+ </head>
9
+ <body>
10
+ <div id="stage">
11
+ <canvas id="floor" aria-label="Factory view of the codebase"></canvas>
12
+ <div id="hud">
13
+ <button data-mode="call" aria-pressed="true">Calls</button>
14
+ <button data-mode="import" aria-pressed="false">Imports</button>
15
+ <button id="fit" title="Fit (f)">Fit</button>
16
+ <button id="tests" aria-pressed="true" title="Show or hide test files">Tests</button>
17
+ <select id="lens" aria-label="Lens">
18
+ <option value="issues">Lens: Issues</option>
19
+ <option value="duplication">Lens: Duplication</option>
20
+ <option value="efficiency">Lens: Efficiency</option>
21
+ <option value="size">Lens: Size</option>
22
+ </select>
23
+ <input id="search" type="search" placeholder="Find a file…" aria-label="Find a file">
24
+ </div>
25
+ <div id="tip"></div>
26
+ <div id="toast" role="status" hidden></div>
27
+ <div id="legend">
28
+ <span><i style="background:var(--high)"></i>high</span>
29
+ <span><i style="background:var(--warn)"></i>warn</span>
30
+ <span><i style="background:var(--info)"></i>info</span>
31
+ <span><i style="background:var(--back);border-radius:0"></i>dashed belt = flows backwards</span>
32
+ <span><i style="background:var(--idle);border-radius:0"></i>grey = idle machine</span>
33
+ </div>
34
+ </div>
35
+ <aside>
36
+ <header><h1 id="title"></h1><div class="sub" id="meta"></div></header>
37
+ <div class="tabs" role="tablist">
38
+ <button data-tab="issues" role="tab">Issues</button>
39
+ <button data-tab="selected" role="tab">Selected</button>
40
+ </div>
41
+ <div class="pane" id="issues"></div>
42
+ <div class="pane" id="selected" hidden></div>
43
+ </aside>
44
+ <script>window.FACTORY = __DATA__;</script>
45
+ <script>/*JS*/</script>
46
+ </body>
47
+ </html>
@@ -0,0 +1,250 @@
1
+ Metadata-Version: 2.4
2
+ Name: codefactory-cli
3
+ Version: 0.20.1
4
+ Summary: See a codebase as a factory floor, find what's wrong with it (copies, N+1 loops, dead code, import loops, security and reliability problems), and turn it into ranked work.
5
+ License-Expression: MIT
6
+ Project-URL: Homepage, https://github.com/dominickkubica/codefactory
7
+ Project-URL: Documentation, https://github.com/dominickkubica/codefactory/blob/main/docs/USAGE.md
8
+ Project-URL: Design, https://github.com/dominickkubica/codefactory/blob/main/docs/DESIGN.md
9
+ Project-URL: Changelog, https://github.com/dominickkubica/codefactory/blob/main/CHANGELOG.md
10
+ Keywords: static analysis,code review,architecture,call graph,duplicate code,refactoring,sarif,claude code
11
+ Classifier: Development Status :: 4 - Beta
12
+ Classifier: Environment :: Console
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: Operating System :: OS Independent
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.11
17
+ Classifier: Programming Language :: Python :: 3.12
18
+ Classifier: Programming Language :: Python :: 3.13
19
+ Classifier: Programming Language :: JavaScript
20
+ Classifier: Programming Language :: Go
21
+ Classifier: Programming Language :: Java
22
+ Classifier: Programming Language :: Rust
23
+ Classifier: Programming Language :: C
24
+ Classifier: Programming Language :: C++
25
+ Classifier: Topic :: Software Development :: Quality Assurance
26
+ Classifier: Topic :: Software Development :: Testing
27
+ Requires-Python: >=3.11
28
+ Description-Content-Type: text/markdown
29
+ License-File: LICENSE
30
+ Provides-Extra: languages
31
+ Requires-Dist: tree-sitter>=0.25; extra == "languages"
32
+ Requires-Dist: tree-sitter-language-pack<2,>=1.0; extra == "languages"
33
+ Dynamic: license-file
34
+
35
+ # codefactory
36
+
37
+ [![CI](https://github.com/dominickkubica/codefactory/actions/workflows/ci.yml/badge.svg)](https://github.com/dominickkubica/codefactory/actions/workflows/ci.yml)
38
+ [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
39
+ ![Python 3.11+](https://img.shields.io/badge/python-3.11%2B-blue.svg)
40
+
41
+ **See a codebase as a factory floor, find what's wrong with it, and turn that into work.**
42
+
43
+ codefactory reads a repository without running it, builds a map of every file, function and call, and checks that
44
+ map for copied code, database calls inside loops, dead code, import loops and dozens of security, reliability and
45
+ delivery problems. It shows the result as an interactive floor plan, writes a technical review, ranks the fixes, and
46
+ hands each one to you, or to an AI coding agent, as a ready-made task.
47
+
48
+ It works on Python, TypeScript/JavaScript, Go, Java, Kotlin, Swift, Rust, C/C++, C#, Ruby, PHP and more, runs
49
+ entirely on your machine, and needs no account, server or API key.
50
+
51
+ ![The factory floor: zones of code joined by conveyors of calls](docs/images/overview.png)
52
+
53
+ <sub>pip's own source (150 files), zoomed out: one hall per area of the code, one conveyor per pair of areas, labelled with
54
+ the number of calls it carries. Dashed orange conveyors run backwards, from a lower layer up into a higher one.</sub>
55
+
56
+ ## Quick start
57
+
58
+ ```bash
59
+ pip install "codefactory[languages] @ git+https://github.com/dominickkubica/codefactory"
60
+ cd path/to/your/repo
61
+
62
+ codefactory review -o review.md # a technical review of the repository (--online: also vulnerable dependencies)
63
+ codefactory view # the interactive map, in your browser
64
+ codefactory plan # what to fix first, ranked; then: codefactory prompt 1
65
+ codefactory profile # what kind of project it thinks this is (findings are ranked for it)
66
+ codefactory hotspots # where change happens: complex code that keeps changing
67
+ ```
68
+
69
+ - **Python 3.11 or newer.** On Windows, run the same commands in PowerShell; use `py -m pip` if `pip` isn't found.
70
+ - **TypeScript/JavaScript projects:** run `npm install` in the project first, because codefactory uses the project's
71
+ own TypeScript compiler (needs [Node.js](https://nodejs.org)). Without it, those files are still analyzed, less
72
+ precisely.
73
+ - **`[languages]`** adds the tree-sitter language pack for everything beyond Python and TypeScript. Leave it out for
74
+ a dependency-free install.
75
+ - **Upgrade any time** with `codefactory update`.
76
+
77
+ ## What it does
78
+
79
+ - **Map.** Every file is a machine, every call between files a belt, every layer a zone. Zoom out for the halls and
80
+ how they depend on each other; zoom in for files and functions; click a function to light up everything it calls.
81
+ - **Find.** Each finding points at a `file:line` and says what to do about it:
82
+
83
+ | Area | Examples |
84
+ |---|---|
85
+ | Performance | Database or network calls once per item (N+1), searches inside loops over loaded data, writes outside a transaction |
86
+ | Duplication | Identical and near-identical functions, merged into one task per group |
87
+ | Structure | Import loops, layer-rule breaks, unused code, functions nobody tests, very long or complex functions |
88
+ | Data flow | Python: request values traced variable by variable, through helper functions, into SQL, shell commands, `eval`, file paths, outgoing URLs, redirects and templates, with sanitizers (`int()`, bound SQL parameters, `shlex.quote`…) respected |
89
+ | Privacy | Personal data (contact details, birth dates, location, health readings, device ids) in logs, analytics and unencrypted storage; iOS permissions without usage descriptions; required-reason APIs without a privacy manifest (App Store rejections) |
90
+ | Security | Every HTTP endpoint and whether it checks who's asking; endpoints that change data without an auth check; risky lines (SQL built from strings, shell, `eval`, raw HTML) ranked by whether a request reaches them, with the route → … → line chain; leaked credentials, including ones deleted but still in git history; debug mode, CORS `*`, insecure cookies, unverified JWTs, weak crypto and random numbers; unsafe CI workflows, root containers, secrets in images; known-vulnerable dependencies (`--online`) |
91
+ | Reliability | Swallowed errors, network calls without a timeout, missing error boundaries |
92
+ | Apple platforms | Swift: disk or database work on the main thread, retain cycles in stored closures, `try!`/`as!`; entitlements that weaken code signing |
93
+ | Shell, Make, YAML, HTML, Pkl | Credentials in config files (quoted or not); `curl … \| sh`, `rm -rf "$DIR/"` with an empty variable, `eval` of a variable (scripts and Makefile recipes); docker-compose and Kubernetes: privileged or host-network containers, databases published on every interface, committed passwords and Secrets; HTML: scripts and forms over plain HTTP, CDN scripts without integrity hashes; plain-HTTP URLs in Pkl, TOML and Terraform |
94
+ | Patches | `codefactory diff --patch pr.diff` checks the lines a unified diff adds, with no repository: a downloaded pull request, a mailing-list patch, an AI agent's proposed change |
95
+ | Delivery | No CI or CI without tests, floating dependency versions, no lockfile, no runtime pin |
96
+
97
+ - **Assess.** Before judging, it works out what the project is: a local-first mobile app, a deployed API with
98
+ accounts, a LAN tool, a command-line tool or a library; where it runs, who uses it, and whether it holds health,
99
+ financial or other sensitive data. Findings are ranked for that, each change with its reason: SQL built from
100
+ strings matters less in a single-user offline app; an untested write matters more when the phone holds the only
101
+ copy. Git history adds the other half: **hotspots** (complex code that changes every week, where debt costs the
102
+ most), files that always change together with nothing linking them, and code only one person knows.
103
+ - **Review.** `codefactory review` writes a technical review in the shape a principal engineer would: summary,
104
+ project profile, system map, where change happens, findings by severity with evidence, what's working, gaps and
105
+ open questions. No AI needed.
106
+ - **Fix.** `codefactory plan` turns findings into ranked tasks with steps and the tests to run. Each task becomes a
107
+ self-contained prompt for Claude Code, and a baseline keeps new problems out in CI.
108
+
109
+ | | |
110
+ |---|---|
111
+ | ![Duplication lens: copies of the same code joined by arcs, with how similar they are](docs/images/duplication.png) | ![A traced function: the floor shows only what it reaches; the panel lists each call by depth](docs/images/trace.png) |
112
+ | **Duplication lens.** Files holding copies of each other's code, joined by arcs labelled with their similarity. | **Trace.** Everything a function eventually calls, by depth, with the total amount of code involved. |
113
+
114
+ ## Languages
115
+
116
+ | Language | How calls are resolved | Notes |
117
+ |---|---|---|
118
+ | Python | Precisely: imports, `self`/`cls`, classes, re-exports, dispatch tables, `getattr` | Standard library only |
119
+ | TypeScript, JavaScript | Precisely: the project's own TypeScript type checker (path aliases, hooks, JSX, lazy `require`) | Needs Node.js and `npm install` |
120
+ | Go, Java, Kotlin, Swift, Rust, C, C++, C#, Ruby, PHP, Scala, Dart, Lua, Elixir and more | By name, plus declared types, through tree-sitter | `[languages]` install; grammars download once, then work offline |
121
+ | Shell, Makefiles, YAML (docker-compose, Kubernetes, GitHub Actions), HTML, Pkl, TOML, Terraform, `.diff`/`.patch` | Not a call graph: line checks for credentials, unsafe commands and configuration | No install needed |
122
+
123
+ For the by-name languages, call, impact and unused-code findings are leads to confirm, and the review says so.
124
+
125
+ ## Commands
126
+
127
+ | Command | What it gives you |
128
+ |---|---|
129
+ | `review` | A full technical review in Markdown; `--for-ai` adds an evidence pack for an AI to finish the judgement calls |
130
+ | `view` | The interactive factory floor (one HTML file), with lenses for duplication, efficiency and size |
131
+ | `flags` | Every issue with `file:line`; `--min warn`, `--kind similar`, `--json`, `--github` |
132
+ | `plan` / `prompt` | Ranked tasks with steps and tests / one task as a ready-to-paste Claude Code prompt |
133
+ | `diff` | What a change adds and fixes, compared with the base branch: a pull-request comment, annotations or JSON; `--patch file.diff` checks a patch on its own, no repository needed |
134
+ | `profile` | What kind of project this is (mobile app, web service, CLI, library…), where it runs, who uses it, what sensitive data it holds, with evidence; the review ranks findings for it |
135
+ | `hotspots` | From git history: complex code that changes often, files that change together without importing each other, code only one person knows |
136
+ | `sbom` | A CycloneDX software bill of materials of every pinned dependency |
137
+ | `org` | A dashboard across many repositories: health, findings, trends, and findings per owning team |
138
+ | `surface` | The attack surface: every HTTP endpoint, its auth check, and whether it changes data or reaches risky code |
139
+ | `accept` | Mark a finding as intended, with the reason, so later runs show only what's new |
140
+ | `brief` / `context` | A compact map of the repo / everything about one file or function before you change it |
141
+ | `trace` / `path` | What a function eventually calls / how one function reaches another |
142
+ | `baseline` / `check` | Save today's issues / fail CI or a pre-commit hook only on new ones |
143
+ | `sarif` | Issues for GitHub code scanning and VS Code (SARIF 2.1.0) |
144
+ | `query` / `sql` | Ask anything in SQL / export the graph as a SQLite database |
145
+ | `analyze` | The raw graph as JSON |
146
+ | `skill` | Teach Claude Code in a repository when and how to use all of the above (`--hook`: keep it current) |
147
+ | `update` | Upgrade codefactory to the latest version |
148
+
149
+ Commands that take a name work from inside the repository: `codefactory context checkout`. `codefactory --help` and
150
+ `codefactory <command> --help` list every option.
151
+
152
+ ## With Claude Code
153
+
154
+ ```bash
155
+ codefactory skill --hook # once per repository; commit .claude/
156
+ ```
157
+
158
+ This writes a skill (`.claude/skills/codefactory/SKILL.md`) and a session-start hook. Every Claude Code session in
159
+ that repository, on your machine or in the cloud, then starts with codefactory installed, upgraded at most once a
160
+ day, and its instructions matching the installed version.
161
+
162
+ Then ask in plain words: *"what should I clean up first?"*, *"review the codebase"*, *"what breaks if I change
163
+ `useCart`?"*, *"did my change add any problems?"*. Claude Code runs the right command, reads a few thousand tokens of
164
+ findings instead of the whole repository, and verifies each change with the tests codefactory lists.
165
+
166
+ ## In CI
167
+
168
+ Comment on every pull request with the findings it adds and fixes (one comment, updated on each push), and
169
+ optionally fail on new ones:
170
+
171
+ ```yaml
172
+ # .github/workflows/codefactory.yml
173
+ on: pull_request
174
+ permissions: { contents: read, pull-requests: write }
175
+ jobs:
176
+ codefactory:
177
+ runs-on: ubuntu-latest
178
+ steps:
179
+ - uses: actions/checkout@v4
180
+ with: { fetch-depth: 0 }
181
+ - uses: dominickkubica/codefactory@v0 # follows releases; or pin v0.20.1 or a commit SHA
182
+ with: { fail-on: high }
183
+ ```
184
+
185
+ Locally, `codefactory diff --base main` shows the same. Findings are matched by identity, not line, so code that
186
+ moved isn't "new", and each one names its owners when the repository has a CODEOWNERS file.
187
+
188
+ `codefactory sarif -o codefactory.sarif` feeds GitHub code scanning instead. The [usage guide](docs/USAGE.md#keeping-new-problems-out-baseline-and-check)
189
+ has complete workflows.
190
+
191
+ ## How far to trust it
192
+
193
+ Analysis is static: nothing is executed. Most of codefactory's accuracy came from running it on real projects and
194
+ fixing what it got wrong: each false positive got a test before its fix, and snapshot tests of every finding on
195
+ three sample apps make any change in output visible in CI.
196
+
197
+ - **Precision and recall are measured** on a labeled corpus in eight languages, in CI: 91% precision and 84%
198
+ recall the first time it met code it hadn't been tuned on; 100% and 100% after fixing what that found. Details,
199
+ per check, in [Accuracy](docs/ACCURACY.md).
200
+ - **Checked on real code** in each language family: two production apps (React Native, FastAPI), pip, Python's and
201
+ Go's standard libraries, Apache commons-lang (Java), OkHttp (Kotlin), Rack (Ruby), and 24 public projects assessed
202
+ in three rounds (Rails, Django, Laravel, Spring, ASP.NET, Phoenix, Next.js, Rust, Go, Kotlin Android, Swift,
203
+ Flutter, Electron, data pipelines). Every false finding they showed was fixed, with a regression test copied from
204
+ the real repository; the results are in [Accuracy](docs/ACCURACY.md).
205
+ - **Hints are labelled as hints.** Calls through reflection or untyped objects can be missed, so "unused" and "no
206
+ test reaches it" are reported as leads to verify.
207
+ - **Measured where it can be.** With a coverage report in the repository (`coverage/lcov.info`, Istanbul's
208
+ `coverage-final.json`, coverage.py's `coverage.json`), "untested" comes from what actually ran. Without one, the
209
+ call-graph estimate matched Jest's real coverage for 97.6% of functions on a 500-file React Native app.
210
+ - **Intended findings stay quiet.** Mark them once, in the code or from the command line, and say why:
211
+
212
+ ```ts
213
+ // codefactory: ignore io_in_loop — one query per table, and there are seven
214
+ ```
215
+ ```bash
216
+ codefactory accept sql_built src/db/encrypt.ts --why "the key is 64 hex characters we generate"
217
+ ```
218
+
219
+ ## Speed
220
+
221
+ Files are parsed on every core and cached one by one, so a repeat run re-reads only what changed:
222
+
223
+ | Codebase (full review, 4 cores) | First run | Nothing changed |
224
+ |---|---|---|
225
+ | A React Native app with a Swift watch app, 535 files, 36k lines | 11 s | 2 s |
226
+ | A TypeScript monorepo (Actual Budget), 2,400 files, 1,500 commits of history | 22 s | 4.5 s |
227
+ | Python's standard library and packages, 3,900 files, 1.7M lines | 54 s | 11 s |
228
+
229
+ A changed file re-reads just that file, except TypeScript\*.
230
+
231
+ \*The TypeScript type checker needs the whole program, so a TypeScript change re-runs it. Other commands (`flags`,
232
+ `brief`, `context`, `plan`) answer from the cache in well under a second when nothing changed.
233
+
234
+ ## Privacy
235
+
236
+ Everything runs locally and nothing is uploaded. The map is a single HTML file with no network access. The only
237
+ network use is the install itself, `codefactory update`, tree-sitter grammars downloading the first time a language
238
+ is analyzed, and `review --online`, which sends package names and versions (nothing else) to OSV.dev. Caches live in `.codefactory/` inside the repository, which ignores itself in git.
239
+
240
+ ## Documentation
241
+
242
+ - [Usage guide](docs/USAGE.md): every command, the viewer, every check, configuration, CI and Claude Code
243
+ - [Design](docs/DESIGN.md): how it works and why, data model, algorithms, trade-offs and limits
244
+ - [Accuracy](docs/ACCURACY.md): precision and recall per check, measured, and the real-code spot checks
245
+ - [Changelog](CHANGELOG.md) · [Contributing](CONTRIBUTING.md)
246
+
247
+ ## Status and license
248
+
249
+ Version 0.20, actively developed and used on real projects. Issues and pull requests are welcome; see
250
+ [Contributing](CONTRIBUTING.md). [MIT licensed](LICENSE): use it, change it, share it.
@@ -0,0 +1,61 @@
1
+ codefactory/__init__.py,sha256=AnLuWdZw_sywnpEWedm2OBaMVZxneCvUM0E9J05naFQ,139
2
+ codefactory/__main__.py,sha256=E6Gls0DNz8GQK2K-kOUIx8cYhgANW_CH54VKrfCfs14,52
3
+ codefactory/accept.py,sha256=1oaMYf6pdSy8gfdr233Lmg14p1I88EENj9HP4tBAJPU,2701
4
+ codefactory/apple.py,sha256=khvcB9g-61b9lBz_7exp3-fpEPtB8DXq6Pc92CVdvp0,3782
5
+ codefactory/audit.py,sha256=PgSoKwtKZJ8iOAZMp-ciJIJRwH8xKErg2TQlMyn0W88,11246
6
+ codefactory/baseline.py,sha256=zPyK9ROzu_gCklpJ-jhMBu6gn9xOo6gTh5_cx0OPjqY,1947
7
+ codefactory/brief.py,sha256=TxxWil2Hdk5ZITdUBb_fz-iJsyb7MxSBcd5Fqp3ZTro,14804
8
+ codefactory/cache.py,sha256=Xtfj2Y2ZktUoKajuraX3yxBBcvwHjDwKp0oa9Sh7nJE,3941
9
+ codefactory/checks.py,sha256=rPDxQ40uLnpML-Z3ABCMzSdYHKxylM0gYdq_POW9NFU,29707
10
+ codefactory/cli.py,sha256=tnPG4bPnaRBbNQQSbADRydVFr3FK6MbEhamWN33-pJ4,35215
11
+ codefactory/config.py,sha256=y6p1PS070W4C_OzDB5ZmHpI-MeA5VTw6QlZ32YIneB0,7054
12
+ codefactory/coverage.py,sha256=3tdDymn27aIzPW_LgvLE_1f_9OVHyBrbFZDD9-vCHQg,4009
13
+ codefactory/deps.py,sha256=yNPuP23mcHsJX8VTApSPeIuxmh5wQ8BLamelaVgSack,7644
14
+ codefactory/diff.py,sha256=RJBtTMIE9P3MwG59PwwgXgjMJ6ufv8ZH1JkqvPDeH7I,8546
15
+ codefactory/efficiency.py,sha256=wXBBDvW1wtm2l3Ebs3cQ8MhCKqTEtXxYiWJXS16FbMU,11185
16
+ codefactory/flags.py,sha256=y-it8fvL7OM5LXeXeV-hLhriolC6IIsYaLAv8xrKao8,9521
17
+ codefactory/graph.py,sha256=d9SeTFi6uKlt3fmmGU1XbWYOXz8QmL5ByelmQXqsUHk,3673
18
+ codefactory/hotspots.py,sha256=doABbBxyp5tFVoX4S6EfP3QBA0g0ABvfYS4yq-Y-8jo,15584
19
+ codefactory/infra.py,sha256=w2zdfu6RkUFCIrzlIdbFAOzVBXKiOUNOoq8spP_EDNc,12593
20
+ codefactory/intent.py,sha256=f2G0F_KAgiYk51WZxcwnRKxExB_dGhmmkVEUvVioygk,5770
21
+ codefactory/layers.py,sha256=mbORTFUKNgPtHMbjLLnBid73dnvmVJm-9onL8AU0zz4,6441
22
+ codefactory/org.py,sha256=7Q-VO3C_1XRDlsHgzLbZHHL4TCcGkR3AyCSss0MRuVc,5662
23
+ codefactory/owners.py,sha256=XjzyEliP4a8HLU6TXLbprZd2ntEtYS74KfrPjXUqy_w,2418
24
+ codefactory/patch.py,sha256=cWMunVmwcMjeWiuv2CwDAi2IFSyoqv352odOrzma0qo,3425
25
+ codefactory/paths.py,sha256=hd66SfTu1VgM64nFyZISY1Wfyz66E9IxoXj8nJSCcwg,4164
26
+ codefactory/plan.py,sha256=nuQqX1IhfNJdmZO2GQ5cwpIrHnYAMH8s71thqdwodmo,22043
27
+ codefactory/privacy.py,sha256=pucOQM_n5uRxL0rF5uLHpD26kHo6S-IDHYaOq6-YE3E,11383
28
+ codefactory/profile.py,sha256=uznd8X9D5d-Z3shYqkGmmNVpQ-Z6oCh1Mi-1508P_mg,37455
29
+ codefactory/rerank.py,sha256=QcBRBW5K9tNsiBiHi7NtzHqf1Syj0QdpjbJj-XMyKTI,7903
30
+ codefactory/review.py,sha256=Rm833PeVk-CMeNbnMaTjd1Yg7Lv5nzgaFaODGiY6uLw,78387
31
+ codefactory/rules.py,sha256=tU3Lj-P1Jlt9EBcc1bHnelLLtyyXbC2atNjqLCIp-xI,1904
32
+ codefactory/sarif.py,sha256=Y0MKd6wjgklehbijHTvZgfVWJCLIaHoydYlg4VIO95U,22135
33
+ codefactory/sbom.py,sha256=nvYJppndEKJAhyAkK0DZ631uaBjE4m1TlHgLlT4mggA,3214
34
+ codefactory/security.py,sha256=1aKs5SNKrwUw8U10XwxmK56aFLgbiuFjAlRmJ4pPG2E,29447
35
+ codefactory/similar.py,sha256=6lcapB58MUTGIu1bHzFV8Y3Qk3NhjAILCkdTsETfS4Q,8129
36
+ codefactory/skill.py,sha256=2z82H3X0wvMo0xwE9VfjFm-bWKwb_OhxmzyRQU_h608,6372
37
+ codefactory/sqlgraph.py,sha256=TB1iSOupleTsZH_Wbzc8PNN7IswbosxDQW6rLxRulz0,4461
38
+ codefactory/suppress.py,sha256=RuR30i92yHmI7Z9nEGkbO04g_MG03GHOWi7jr2TwmDQ,3637
39
+ codefactory/taint.py,sha256=qMR0z8vTbImjqI1kmEHsG-CbfbSiR_K9hCHPSrQdHy8,22132
40
+ codefactory/trace.py,sha256=G75Vpc9BOHsZsuyQI3tBgHhbNy7muE2cTawDPndBLoA,2593
41
+ codefactory/analyzers/__init__.py,sha256=VvlwSqk7Tl_q_D-zHalfsVz8GurC5vQcSs9nFtkWEOM,2209
42
+ codefactory/analyzers/generic.py,sha256=NVKFir_ZdIX2hG7XarQIA9NBnmGd-UjWLr5YnOiHUow,17930
43
+ codefactory/analyzers/parallel.py,sha256=QouzQFzYTGOjS27QMGyrt6j5D4PdbiqBYNUB54CWPxc,3875
44
+ codefactory/analyzers/python.py,sha256=s9m08yfNP6sh3TbYiQe93VWmB_Duq8LHj28hPg0EY4Q,12773
45
+ codefactory/analyzers/python_parse.py,sha256=RJVr4mEB-NR0q-lwRZExo4lYaJhVHZ8Vmc4qdqdgReA,19533
46
+ codefactory/analyzers/treewalk.py,sha256=8vEqdlPtZBubUwf33_EZOSmypLb1VqOoiE321EPLglQ,15338
47
+ codefactory/analyzers/ts_helper.js,sha256=PiZIjyLIRsJY3rf7SJsRsGbok3GHq0P4FHWS1mUjpMA,29216
48
+ codefactory/analyzers/typescript.py,sha256=ZIOpBSUqwSjfYDdRFN1aga-XzoFfVSIqC4BwONg_uCA,4581
49
+ codefactory/skill_template/SKILL.md,sha256=W7mXH0wVBEp8qjfu_dgFHq2Awd729BFDlkm1NPCG898,6776
50
+ codefactory/skill_template/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
51
+ codefactory/viewer/__init__.py,sha256=FMCjxP02UeDUm7BEjOmM3NtU2vgR0Vv8fXljFBQqPGY,877
52
+ codefactory/viewer/dashboard.html,sha256=y-x6kezx1gI5BA7to-sYxRcL2TkTO0evAR03lZPuQks,1856
53
+ codefactory/viewer/factory.css,sha256=AW6wOZP1e1AUh9fsXi-yDsrBUzCEgt4YZxf6IEeIQ7M,4891
54
+ codefactory/viewer/factory.js,sha256=awHxLwWB70iOm_W43iHnR3moiiR6WLvOdm_ys73wazg,40490
55
+ codefactory/viewer/template.html,sha256=tOfqHMq66tfngnXLhABoZBkrlwNI1M1gy4jeDHoOkyU,1865
56
+ codefactory_cli-0.20.1.dist-info/licenses/LICENSE,sha256=N-Nkwflu1UJv66kK41oCEdSsB5Ne0JycSNaI1EcV_m0,1071
57
+ codefactory_cli-0.20.1.dist-info/METADATA,sha256=GQD2gFt1ytNIWWi3Lmp_ZFiRX9mrBehztBpQEVfUEUE,17033
58
+ codefactory_cli-0.20.1.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
59
+ codefactory_cli-0.20.1.dist-info/entry_points.txt,sha256=xyDemr2v6zTWLHiVpgPEIU27KfG0UQeAkEEsGSw5AcI,53
60
+ codefactory_cli-0.20.1.dist-info/top_level.txt,sha256=SP10Bbz4U_cQ9B54PaGMyXWWZd8qv1MF3S7M7DeEUXk,12
61
+ codefactory_cli-0.20.1.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (84.2.1)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ codefactory = codefactory.cli:main
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 dominickkubica
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1 @@
1
+ codefactory