You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9f72b7a
Browse filesBrowse the repository at this point in the historyBrowse files
This project keeps its agent and contributor policies in **`.cursor/rules/`** as
4
+
Markdown-with-frontmatter files (**`*.mdc`**). **Follow those files as the source of truth** for how
5
+
to work in this repository.
6
+
7
+
## What to do
8
+
9
+
1.**Before** suggesting or applying changes in an area covered by a rule’s `globs` (see the YAML
10
+
frontmatter at the top of each `.mdc` file), **read the relevant `.cursor/rules/*.mdc` file** in
11
+
the repo and obey its body (the markdown after the closing `---` of the frontmatter block).
12
+
2.**Repository-wide / always-on rules:** if a rule sets `alwaysApply: true` in its frontmatter,
13
+
treat it as binding for **all** work in this repo unless the user explicitly overrides it in the
14
+
current conversation.
15
+
3.**When new rules are added** under `.cursor/rules/`, use them the same way: prefer the rule text
16
+
over assumptions from similar projects.
17
+
18
+
## Current rule files (index)
19
+
20
+
| Path | Typical scope | Topic |
21
+
| ------ | ---------------- | -------- |
22
+
|`.cursor/rules/sunsynk-addons.mdc`| Home Assistant add-ons, add-on Python (`src/ha_addon_sunsynk_multi/`), `www/docs/reference/multi-options.md`| Edit **`hass-addon-sunsynk-edge/`** for packaging; do not hand-edit **`hass-addon-sunsynk-multi/`** unless the user explicitly asks for stable-multi work; keep Supervisor options, docs, and `options.py` in sync as described in the rule. |
23
+
|`.cursor/rules/sunsynk-definitions.mdc`|`src/sunsynk/definitions/**`| Inverter Modbus definitions: profiles, inheritance, single- vs three-phase; how to extend `ALL_DEFS` and avoid wrong cross-profile register assumptions. |
24
+
25
+
If this index drifts, **trust the `.mdc` files**; update this table when you add or rename rules.
26
+
27
+
## Conflicts
28
+
29
+
If another document in the repo disagrees with a **`.cursor/rules/*.mdc`** rule,
30
+
**follow the `.mdc` rule** unless the user or maintainer explicitly says otherwise in the current
0 commit comments