debtector 0.4.1__tar.gz → 0.4.2__tar.gz

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 (53) hide show
  1. debtector-0.4.1/README.md → debtector-0.4.2/PKG-INFO +20 -29
  2. debtector-0.4.1/PKG-INFO → debtector-0.4.2/README.md +0 -49
  3. {debtector-0.4.1 → debtector-0.4.2}/pyproject.toml +3 -3
  4. {debtector-0.4.1 → debtector-0.4.2}/src/debtector/__init__.py +1 -1
  5. {debtector-0.4.1 → debtector-0.4.2}/src/debtector.egg-info/PKG-INFO +2 -31
  6. {debtector-0.4.1 → debtector-0.4.2}/LICENSE +0 -0
  7. {debtector-0.4.1 → debtector-0.4.2}/setup.cfg +0 -0
  8. {debtector-0.4.1 → debtector-0.4.2}/src/debtector/cli.py +0 -0
  9. {debtector-0.4.1 → debtector-0.4.2}/src/debtector/config.py +0 -0
  10. {debtector-0.4.1 → debtector-0.4.2}/src/debtector/embedder.py +0 -0
  11. {debtector-0.4.1 → debtector-0.4.2}/src/debtector/git_history.py +0 -0
  12. {debtector-0.4.1 → debtector-0.4.2}/src/debtector/graph_store.py +0 -0
  13. {debtector-0.4.1 → debtector-0.4.2}/src/debtector/indexer.py +0 -0
  14. {debtector-0.4.1 → debtector-0.4.2}/src/debtector/logging.py +0 -0
  15. {debtector-0.4.1 → debtector-0.4.2}/src/debtector/metrics.py +0 -0
  16. {debtector-0.4.1 → debtector-0.4.2}/src/debtector/models.py +0 -0
  17. {debtector-0.4.1 → debtector-0.4.2}/src/debtector/parser/__init__.py +0 -0
  18. {debtector-0.4.1 → debtector-0.4.2}/src/debtector/parser/base.py +0 -0
  19. {debtector-0.4.1 → debtector-0.4.2}/src/debtector/parser/js_parser.py +0 -0
  20. {debtector-0.4.1 → debtector-0.4.2}/src/debtector/parser/python_parser.py +0 -0
  21. {debtector-0.4.1 → debtector-0.4.2}/src/debtector/utils.py +0 -0
  22. {debtector-0.4.1 → debtector-0.4.2}/src/debtector.egg-info/SOURCES.txt +0 -0
  23. {debtector-0.4.1 → debtector-0.4.2}/src/debtector.egg-info/dependency_links.txt +0 -0
  24. {debtector-0.4.1 → debtector-0.4.2}/src/debtector.egg-info/entry_points.txt +0 -0
  25. {debtector-0.4.1 → debtector-0.4.2}/src/debtector.egg-info/requires.txt +0 -0
  26. {debtector-0.4.1 → debtector-0.4.2}/src/debtector.egg-info/top_level.txt +0 -0
  27. {debtector-0.4.1 → debtector-0.4.2}/tests/test_ci_reporter.py +0 -0
  28. {debtector-0.4.1 → debtector-0.4.2}/tests/test_cli_baseline.py +0 -0
  29. {debtector-0.4.1 → debtector-0.4.2}/tests/test_cli_git.py +0 -0
  30. {debtector-0.4.1 → debtector-0.4.2}/tests/test_cli_human.py +0 -0
  31. {debtector-0.4.1 → debtector-0.4.2}/tests/test_cli_json.py +0 -0
  32. {debtector-0.4.1 → debtector-0.4.2}/tests/test_cli_metrics.py +0 -0
  33. {debtector-0.4.1 → debtector-0.4.2}/tests/test_codeindexignore.py +0 -0
  34. {debtector-0.4.1 → debtector-0.4.2}/tests/test_config.py +0 -0
  35. {debtector-0.4.1 → debtector-0.4.2}/tests/test_covers.py +0 -0
  36. {debtector-0.4.1 → debtector-0.4.2}/tests/test_fts.py +0 -0
  37. {debtector-0.4.1 → debtector-0.4.2}/tests/test_git_history.py +0 -0
  38. {debtector-0.4.1 → debtector-0.4.2}/tests/test_graph_store.py +0 -0
  39. {debtector-0.4.1 → debtector-0.4.2}/tests/test_graph_store_extra.py +0 -0
  40. {debtector-0.4.1 → debtector-0.4.2}/tests/test_indexer.py +0 -0
  41. {debtector-0.4.1 → debtector-0.4.2}/tests/test_indexer_edge_cases.py +0 -0
  42. {debtector-0.4.1 → debtector-0.4.2}/tests/test_logging.py +0 -0
  43. {debtector-0.4.1 → debtector-0.4.2}/tests/test_metrics.py +0 -0
  44. {debtector-0.4.1 → debtector-0.4.2}/tests/test_metrics_cycles.py +0 -0
  45. {debtector-0.4.1 → debtector-0.4.2}/tests/test_metrics_god_modules.py +0 -0
  46. {debtector-0.4.1 → debtector-0.4.2}/tests/test_metrics_inheritance.py +0 -0
  47. {debtector-0.4.1 → debtector-0.4.2}/tests/test_metrics_resolution.py +0 -0
  48. {debtector-0.4.1 → debtector-0.4.2}/tests/test_metrics_uses_type.py +0 -0
  49. {debtector-0.4.1 → debtector-0.4.2}/tests/test_models.py +0 -0
  50. {debtector-0.4.1 → debtector-0.4.2}/tests/test_ratcheting.py +0 -0
  51. {debtector-0.4.1 → debtector-0.4.2}/tests/test_semantic.py +0 -0
  52. {debtector-0.4.1 → debtector-0.4.2}/tests/test_severity.py +0 -0
  53. {debtector-0.4.1 → debtector-0.4.2}/tests/test_silent_mode.py +0 -0
@@ -1,3 +1,23 @@
1
+ Metadata-Version: 2.4
2
+ Name: debtector
3
+ Version: 0.4.2
4
+ Summary: Coupling guardrail for CI/PR: detects cycles, god modules and coupling regressions before merge
5
+ Author: aitormf
6
+ License: AGPL-3.0-or-later
7
+ Project-URL: Homepage, https://github.com/aitormf/codeIndex
8
+ Project-URL: Repository, https://github.com/aitormf/codeIndex
9
+ Project-URL: Bug Tracker, https://github.com/aitormf/codeIndex/issues
10
+ Requires-Python: >=3.12
11
+ Description-Content-Type: text/markdown
12
+ License-File: LICENSE
13
+ Requires-Dist: tree-sitter-language-pack!=1.6.3,>=1.0
14
+ Requires-Dist: networkx>=3.0
15
+ Requires-Dist: structlog>=24.0
16
+ Provides-Extra: semantic
17
+ Requires-Dist: sqlite-vec>=0.1.0; extra == "semantic"
18
+ Requires-Dist: fastembed>=0.3.0; extra == "semantic"
19
+ Dynamic: license-file
20
+
1
21
  # Debtector
2
22
 
3
23
  [![License: AGPL-3.0](https://img.shields.io/badge/License-AGPL--3.0-blue.svg)](https://www.gnu.org/licenses/agpl-3.0)
@@ -127,13 +147,6 @@ The index lives in `.debtector/index.db`. The baseline in `.debtector/baseline.j
127
147
  | `git-coupling` | Aggregated view of the three above. `--json` combines all three sections |
128
148
  | `report` | Full report: structural + behavioral coupling. `--json` for AI/CI consumption |
129
149
 
130
- ### Configuration and hooks
131
-
132
- | Command | Description |
133
- |---------|-------------|
134
- | `install-hook` | Git pre-commit hook for auto-indexing |
135
- | `install-skill` | Claude Code skills for using the graph in AI context |
136
-
137
150
  ### Global flag `--json`
138
151
 
139
152
  All commands support `--json` to emit compact JSON to stdout, suitable for direct consumption by AI agents or pipelines:
@@ -279,28 +292,6 @@ The `.debtector/.gitignore` is managed by Debtector: ignores everything except `
279
292
 
280
293
  ---
281
294
 
282
- ## Auto-indexing with git hook
283
-
284
- ```bash
285
- debtector install-hook # re-indexes on each pre-commit
286
- debtector install-hook --add-to-stage # also stages index.db
287
- ```
288
-
289
- The hook is incremental (only re-parses files with a different hash) and never blocks a commit.
290
-
291
- ---
292
-
293
- ## Claude Code integration
294
-
295
- ```bash
296
- debtector install-skill --global # installs in ~/.claude/skills/
297
- debtector install-skill # installs in .claude/skills/ of the project
298
- ```
299
-
300
- With the skills installed, Claude Code recognizes phrases like *"analyze the impact of changing AuthService"* or *"who imports flask?"* and automatically calls the CLI with `--json`.
301
-
302
- ---
303
-
304
295
  ## Development
305
296
 
306
297
  ```bash
@@ -1,23 +1,3 @@
1
- Metadata-Version: 2.4
2
- Name: debtector
3
- Version: 0.4.1
4
- Summary: Coupling guardrail for CI/PR: detects cycles, god modules and coupling regressions before merge
5
- Author-email: aitormf <cld.sbs@aitormf.es>
6
- License: AGPL-3.0-or-later
7
- Project-URL: Homepage, https://github.com/aitormf/codeIndex
8
- Project-URL: Repository, https://github.com/aitormf/codeIndex
9
- Project-URL: Bug Tracker, https://github.com/aitormf/codeIndex/issues
10
- Requires-Python: >=3.12
11
- Description-Content-Type: text/markdown
12
- License-File: LICENSE
13
- Requires-Dist: tree-sitter-language-pack!=1.6.3,>=1.0
14
- Requires-Dist: networkx>=3.0
15
- Requires-Dist: structlog>=24.0
16
- Provides-Extra: semantic
17
- Requires-Dist: sqlite-vec>=0.1.0; extra == "semantic"
18
- Requires-Dist: fastembed>=0.3.0; extra == "semantic"
19
- Dynamic: license-file
20
-
21
1
  # Debtector
22
2
 
23
3
  [![License: AGPL-3.0](https://img.shields.io/badge/License-AGPL--3.0-blue.svg)](https://www.gnu.org/licenses/agpl-3.0)
@@ -147,13 +127,6 @@ The index lives in `.debtector/index.db`. The baseline in `.debtector/baseline.j
147
127
  | `git-coupling` | Aggregated view of the three above. `--json` combines all three sections |
148
128
  | `report` | Full report: structural + behavioral coupling. `--json` for AI/CI consumption |
149
129
 
150
- ### Configuration and hooks
151
-
152
- | Command | Description |
153
- |---------|-------------|
154
- | `install-hook` | Git pre-commit hook for auto-indexing |
155
- | `install-skill` | Claude Code skills for using the graph in AI context |
156
-
157
130
  ### Global flag `--json`
158
131
 
159
132
  All commands support `--json` to emit compact JSON to stdout, suitable for direct consumption by AI agents or pipelines:
@@ -299,28 +272,6 @@ The `.debtector/.gitignore` is managed by Debtector: ignores everything except `
299
272
 
300
273
  ---
301
274
 
302
- ## Auto-indexing with git hook
303
-
304
- ```bash
305
- debtector install-hook # re-indexes on each pre-commit
306
- debtector install-hook --add-to-stage # also stages index.db
307
- ```
308
-
309
- The hook is incremental (only re-parses files with a different hash) and never blocks a commit.
310
-
311
- ---
312
-
313
- ## Claude Code integration
314
-
315
- ```bash
316
- debtector install-skill --global # installs in ~/.claude/skills/
317
- debtector install-skill # installs in .claude/skills/ of the project
318
- ```
319
-
320
- With the skills installed, Claude Code recognizes phrases like *"analyze the impact of changing AuthService"* or *"who imports flask?"* and automatically calls the CLI with `--json`.
321
-
322
- ---
323
-
324
275
  ## Development
325
276
 
326
277
  ```bash
@@ -4,10 +4,10 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "debtector"
7
- version = "0.4.1"
7
+ version = "0.4.2"
8
8
  description = "Coupling guardrail for CI/PR: detects cycles, god modules and coupling regressions before merge"
9
9
  license = {text = "AGPL-3.0-or-later"}
10
- authors = [{name = "aitormf", email = "cld.sbs@aitormf.es"}]
10
+ authors = [{name = "aitormf"}]
11
11
  readme = "README.md"
12
12
  requires-python = ">=3.12"
13
13
  dependencies = [
@@ -69,7 +69,7 @@ skips = []
69
69
  # ---------------------------------------------------------------------------
70
70
  [tool.commitizen]
71
71
  name = "cz_conventional_commits"
72
- version = "0.4.1"
72
+ version = "0.4.2"
73
73
  version_files = ["pyproject.toml:version", "src/debtector/__init__.py"]
74
74
  tag_format = "v$version"
75
75
  annotated_tag = true # git push --follow-tags solo sube tags anotados
@@ -4,7 +4,7 @@ from debtector.graph_store import GraphStore
4
4
  from debtector.indexer import Indexer
5
5
  from debtector.models import EdgeInfo, EdgeKind, NodeInfo, NodeKind
6
6
 
7
- __version__ = "0.4.1"
7
+ __version__ = "0.4.2"
8
8
 
9
9
  __all__ = [
10
10
  "GraphStore",
@@ -1,8 +1,8 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: debtector
3
- Version: 0.4.1
3
+ Version: 0.4.2
4
4
  Summary: Coupling guardrail for CI/PR: detects cycles, god modules and coupling regressions before merge
5
- Author-email: aitormf <cld.sbs@aitormf.es>
5
+ Author: aitormf
6
6
  License: AGPL-3.0-or-later
7
7
  Project-URL: Homepage, https://github.com/aitormf/codeIndex
8
8
  Project-URL: Repository, https://github.com/aitormf/codeIndex
@@ -147,13 +147,6 @@ The index lives in `.debtector/index.db`. The baseline in `.debtector/baseline.j
147
147
  | `git-coupling` | Aggregated view of the three above. `--json` combines all three sections |
148
148
  | `report` | Full report: structural + behavioral coupling. `--json` for AI/CI consumption |
149
149
 
150
- ### Configuration and hooks
151
-
152
- | Command | Description |
153
- |---------|-------------|
154
- | `install-hook` | Git pre-commit hook for auto-indexing |
155
- | `install-skill` | Claude Code skills for using the graph in AI context |
156
-
157
150
  ### Global flag `--json`
158
151
 
159
152
  All commands support `--json` to emit compact JSON to stdout, suitable for direct consumption by AI agents or pipelines:
@@ -299,28 +292,6 @@ The `.debtector/.gitignore` is managed by Debtector: ignores everything except `
299
292
 
300
293
  ---
301
294
 
302
- ## Auto-indexing with git hook
303
-
304
- ```bash
305
- debtector install-hook # re-indexes on each pre-commit
306
- debtector install-hook --add-to-stage # also stages index.db
307
- ```
308
-
309
- The hook is incremental (only re-parses files with a different hash) and never blocks a commit.
310
-
311
- ---
312
-
313
- ## Claude Code integration
314
-
315
- ```bash
316
- debtector install-skill --global # installs in ~/.claude/skills/
317
- debtector install-skill # installs in .claude/skills/ of the project
318
- ```
319
-
320
- With the skills installed, Claude Code recognizes phrases like *"analyze the impact of changing AuthService"* or *"who imports flask?"* and automatically calls the CLI with `--json`.
321
-
322
- ---
323
-
324
295
  ## Development
325
296
 
326
297
  ```bash
File without changes
File without changes
File without changes