Skip to content

Commit 6fcc39b

Browse files
committed
graphify
1 parent 8c76da0 commit 6fcc39b

110 files changed

Lines changed: 33633 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.cursor/rules/graphify.mdc‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
description: graphify knowledge graph context
3+
alwaysApply: true
4+
---
5+
6+
This project has a graphify knowledge graph at graphify-out/.
7+
8+
**MANDATORY: Before using Read, Grep, Glob, or Bash to explore the codebase, you MUST run graphify first:**
9+
- `graphify query "<question>"` — scoped subgraph for any codebase or architecture question
10+
- `graphify path "<A>" "<B>"` — dependency path between two symbols
11+
- `graphify explain "<concept>"` — all nodes related to a concept
12+
13+
This applies to YOU and to every subagent you spawn. Include this rule explicitly in every subagent prompt that involves code exploration. Do not skip graphify because files are "already known" or because you are executing a plan — the graph surfaces cross-file dependencies and INFERRED edges that grep and Read cannot find.
14+
15+
Only use Read/Grep/Glob directly when:
16+
1. graphify has already oriented you and you need to modify or debug specific lines
17+
2. `graphify-out/graph.json` does not exist yet
18+
19+
- If `graphify-out/wiki/index.md` exists, navigate it instead of reading raw files
20+
- Read `graphify-out/GRAPH_REPORT.md` only for broad architecture review when query/path/explain do not surface enough context
21+
- After modifying code files, run `graphify update .` to keep the graph current (AST-only, no API cost)

‎graphify-out/.graphify_labels.json‎

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
{
2+
"0": "SensorDefinitions",
3+
"1": "package.json",
4+
"2": "Sensor",
5+
"3": "Adaptors & Wiring",
6+
"4": "sensors.py",
7+
"5": "a_inverter.py",
8+
"6": "compilerOptions",
9+
"7": "test_a_inverter.py",
10+
"8": "InverterState",
11+
"9": "RegType",
12+
"10": "percentile",
13+
"11": "ASensor",
14+
"12": "__main__.py",
15+
"13": "AInverter",
16+
"14": "RWSensor",
17+
"15": "RegType",
18+
"16": "PySunsynk",
19+
"17": "SolarmanSunsynk",
20+
"18": "sensor_options.py",
21+
"19": "ModbusUnit underlay",
22+
"20": "sunsynk/helpers.py",
23+
"21": ".read_sensors",
24+
"22": ".connected_client",
25+
"23": "BinarySensor",
26+
"24": "Groups of sensors",
27+
"25": "unpack_value",
28+
"26": "Sunsynk",
29+
"27": "definitions.md",
30+
"28": "utils/__init__.py",
31+
"29": "tests/conftest.py",
32+
"30": "Run standalone using docker compose",
33+
"31": "ToggleLogCallback",
34+
"32": ".get",
35+
"33": "Available addons",
36+
"34": "Configuration",
37+
"35": "Single-phase register backfill (proposal)",
38+
"36": "Unreleased",
39+
"37": "hex_str",
40+
"38": "test_options.py",
41+
"39": "Inverter Automation",
42+
"40": "Deye/Sunsynk Inverters",
43+
"41": ".reg_value",
44+
"42": "multi-options.md",
45+
"43": "Schedules",
46+
"44": "Issue related to",
47+
"45": "Deye/Sunsynk Inverters",
48+
"46": ".__post_init__",
49+
"47": "build_prep.sh",
50+
"48": "Sunsynk — align with Cursor rules",
51+
"49": "Issue related to the Python sunsynk library",
52+
"50": "Custom/My Sensors",
53+
"51": "types.d.ts",
54+
"52": "Sunsynk User Documentation",
55+
"53": "Your environment",
56+
"54": "test_sensor_options.py",
57+
"55": "test_versions.py",
58+
"56": "Modbus TCP to Modbus RTU Gateway Add-on",
59+
"57": ".significant_change",
60+
"58": "ensure_str",
61+
"59": "json_view.vue",
62+
"60": "run.sh",
63+
"61": "hass-addon-sunsynk-edge/DOCS.md",
64+
"62": "hass-addon-sunsynk-edge/README.md",
65+
"63": "hass-addon-sunsynk-multi/CHANGELOG.md",
66+
"64": "hass-addon-sunsynk-multi/DOCS.md",
67+
"65": "hass-addon-sunsynk-multi/README.md",
68+
"66": "tests/README.md",
69+
"67": "templates.md",
70+
"68": "build_sitemap.js",
71+
"69": "index.ts",
72+
"70": "src/ha_addon_sunsynk_multi/__init__.py",
73+
"71": "tests/ha_addon_sunsynk_multi/__init__.py",
74+
"72": "tests/__init__.py",
75+
"73": "tests/sunsynk/definitions/__init__.py",
76+
"74": "tests/sunsynk/__init__.py",
77+
"75": "test_zuban.py",
78+
"76": "docs/index.md",
79+
"77": "config.ts",
80+
"78": ".eslintrc.js"
81+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"0": "dbbd3b181369e390", "1": "d7eff289702b5a96", "2": "fae9c2f3aece92e7", "3": "869f2abe14b8f433", "4": "0de580ae01e050df", "5": "b5d0da6d8870bda2", "6": "f732b42942917d95", "7": "dfebefbf857dda80", "8": "9d8d7f38eb79658a", "9": "45d98b2a463376f7", "10": "a1745bd48bc9c400", "11": "9ee056b77c567ecb", "12": "3b13e080a0d8d551", "13": "6044718e10eac8db", "14": "c0a69cb73b832f53", "15": "67dfc49beb5944ce", "16": "e526d64991125884", "17": "5d4ff5598c76df1c", "18": "5ca93394d3073b54", "19": "64ad0e96083c7e3e", "20": "3bf5de42faafc3c2", "21": "a5b86a07026e1544", "22": "dba4e419c9409fa1", "23": "f6e040d5a1c9e9a0", "24": "d912a2b2d9edb58e", "25": "314f2abbee28cac7", "26": "9cd1164822f0d906", "27": "889d10a55f518608", "28": "e205d548d02b21d6", "29": "b27e1621f42e3457", "30": "4c7b1ac6176ac43f", "31": "d40284ea4fdb9344", "32": "3e7ba5a637ec2616", "33": "62b878daf5110c7e", "34": "7c25cff2b1234040", "35": "92b68165a2cf45e9", "36": "296cf1fbba324077", "37": "847a2b02bac498f9", "38": "ffa824ffa988b4db", "39": "9db7211992a3c63e", "40": "96581cf5de114de1", "41": "0badd1a49fb2a79f", "42": "5fd7348cb743d75d", "43": "1c0de3a556a9e51e", "44": "09e528f265f0c5ab", "45": "1b6b734b18235303", "46": "5737a43d2755c218", "47": "3eb18500770ce5d5", "48": "594087919fd6a8bf", "49": "6a1b71cfaa02fbe4", "50": "676fb1e16d547d75", "51": "8e91020c75f51e60", "52": "6f85c62bd7407043", "53": "c41d0f8469fb4033", "54": "718fe9b4d9e630e0", "55": "0b0ab091a04e9bbd", "56": "8d0ab5753e1ac6d2", "57": "9c1f479a3bcd341b", "58": "ca30820d95603ae5", "59": "690532b304f88171", "60": "4d0607b0908e13f3", "61": "3ec2502bc18dc152", "62": "1d486ec4363f3239", "63": "c949b242a690db15", "64": "e8ae0f4946290bf6", "65": "18316c5d24f790ac", "66": "396e4a0815293b67", "67": "4b7e85283b24d2bb", "68": "7fea16a83bf40f41", "69": "3b16499aaf0de712", "70": "0d4a752d9dda280d", "71": "f59f46a360d37b42", "72": "988bdd5d26ab19f8", "73": "1784db6153045ac1", "74": "8754aeda3c5d62e1", "75": "41e60d101b21e785", "76": "0ea3a21e4cc92283", "77": "b38991a747d1c7fb", "78": "bf4e8f2adf50dbd9"}

‎graphify-out/.graphify_root‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.

0 commit comments

Comments
 (0)