codegraph-brain 0.7.4__py3-none-any.whl → 0.8.0__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.
cgis/guardian/findings.py CHANGED
@@ -5,7 +5,11 @@ from typing import Literal
5
5
  from pydantic import BaseModel, Field
6
6
 
7
7
  Severity = Literal["critical", "major", "minor"]
8
- Category = Literal["logic", "contract", "tests", "types", "ontology"]
8
+ # "security" exists so curated ground truth can name an exploitable defect (#315).
9
+ # The finder prompt does not yet offer it as a choice — teaching the finder to
10
+ # emit it is #258, and needs bench validation. Scoring is unaffected either way:
11
+ # bench matching compares file and line range, never category.
12
+ Category = Literal["logic", "contract", "tests", "types", "ontology", "security"]
9
13
  Verdict = Literal["confirmed", "refuted", "uncertain"]
10
14
 
11
15
 
cgis/guardian/render.py CHANGED
@@ -11,6 +11,7 @@ _CATEGORY_LABEL = {
11
11
  "tests": "Test Coverage",
12
12
  "types": "Type Safety",
13
13
  "ontology": "Ontology",
14
+ "security": "Security",
14
15
  }
15
16
 
16
17
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: codegraph-brain
3
- Version: 0.7.4
3
+ Version: 0.8.0
4
4
  Summary: Semantic code graph for AI agents — deterministic FQN resolution, impact analysis and architectural drift gates, exposed over MCP.
5
5
  Project-URL: Homepage, https://github.com/zaebee/codegraph-brain
6
6
  Project-URL: Repository, https://github.com/zaebee/codegraph-brain
@@ -24,12 +24,12 @@ cgis/guardian/chunker.py,sha256=zm6EF7S8lKNNfeMu1W6z7a6FiBU2qBqRz2UcelnuYac,5705
24
24
  cgis/guardian/collector.py,sha256=E4g9eW_qOYSw5rr25c_wWFt4xa9luJzAW84_DCo97HM,13505
25
25
  cgis/guardian/core.py,sha256=nY8eTcaknfxLUa6u9YwLOdyM4ztb19-A49BfW_eh7uY,4981
26
26
  cgis/guardian/diff_index.py,sha256=513WDsnvmcYecqVgoPeeK0ZBLziZIYb0ibRXYEYusv0,6212
27
- cgis/guardian/findings.py,sha256=igJg99ZH0J13wLZtDSiA2GBejsqYetCA3cqADohbZIc,2691
27
+ cgis/guardian/findings.py,sha256=ZhIaQjdconvliyWe7dJs3kJL3N8JYnZRQFAepRuvQ6g,3011
28
28
  cgis/guardian/github_poster.py,sha256=Rh1FKUC7ZC6IYWzKd-d7ewHq1L21Y1uUImTsn9J96x0,5658
29
29
  cgis/guardian/metrics.py,sha256=ITF2QrHLvNLYlLYYS1qU3baGi7oYETzHXMo7pKfYc70,3641
30
30
  cgis/guardian/prompts.py,sha256=xCjlTPx3U8_IX14n31mmYti68BcJkeQTcmU0e2nnv04,11012
31
31
  cgis/guardian/recording.py,sha256=LXopddHdnv-042-P5nQrPE4JIx6jQVmGjjWzftgdr40,3375
32
- cgis/guardian/render.py,sha256=w-F5MHyEsIxMHLe6zP05VtSdpzfBsRD9bpLJyUwoVHg,4701
32
+ cgis/guardian/render.py,sha256=a31wUOWlogY4sY_5EYtGMOZW2m1SPKNfkxhM2yShqkQ,4729
33
33
  cgis/guardian/runner.py,sha256=bhgtjp1-qlyc232c2LqycJEODDU68sQ2GwEYSzdCdQs,12148
34
34
  cgis/guardian/skeptic.py,sha256=ey_6pzoC297mHXGIqvZlB9fSdTvTwgLI1h2yVJ7VeYY,8848
35
35
  cgis/guardian/providers/__init__.py,sha256=wFOW1w9NtI-LBDB9w5ICNPFcuT4Hi5soxzDwpdmgxSc,49
@@ -71,8 +71,8 @@ cgis/resolver/symbols.py,sha256=6PNDIgoJ2Mj2xZ4XHpEXwjHe76fi9zvOwF7tAON1GBw,8513
71
71
  cgis/resolver/uplift.py,sha256=Hkye1q-kI-gKO6GIBYv3gUZj1AC0-_mkpoIpmwVsG4g,9591
72
72
  cgis/storage/.gitkeep,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
73
73
  cgis/storage/sqlite_store.py,sha256=Dkxkl0WDyTakZFfxWuVpYLNHA_H7CMvRkSUvev3MHew,24778
74
- codegraph_brain-0.7.4.dist-info/METADATA,sha256=3y0X0FSDTrLdhAnwESg-5l-xCU2w3uXXyJltrH6whsQ,13617
75
- codegraph_brain-0.7.4.dist-info/WHEEL,sha256=lCkmxWfQsSc9CfIClYeavTdQeEX2toPqufh9gI35EQA,87
76
- codegraph_brain-0.7.4.dist-info/entry_points.txt,sha256=G_ekY569jca0ubm-I3gA9Id9xRj8fc42CDgLgTC-5L4,77
77
- codegraph_brain-0.7.4.dist-info/licenses/LICENSE,sha256=1X36nOG5VocDaEGzAZqIv7uawy_7sWlFoiwECwx5aBI,1065
78
- codegraph_brain-0.7.4.dist-info/RECORD,,
74
+ codegraph_brain-0.8.0.dist-info/METADATA,sha256=D6TWn2yEZRdYKkz5pehJsRvrO6d14FnGqMaICh33edE,13617
75
+ codegraph_brain-0.8.0.dist-info/WHEEL,sha256=lCkmxWfQsSc9CfIClYeavTdQeEX2toPqufh9gI35EQA,87
76
+ codegraph_brain-0.8.0.dist-info/entry_points.txt,sha256=G_ekY569jca0ubm-I3gA9Id9xRj8fc42CDgLgTC-5L4,77
77
+ codegraph_brain-0.8.0.dist-info/licenses/LICENSE,sha256=1X36nOG5VocDaEGzAZqIv7uawy_7sWlFoiwECwx5aBI,1065
78
+ codegraph_brain-0.8.0.dist-info/RECORD,,