Skip to content

Latest commit

 

History

History
80 lines (69 loc) · 5.55 KB

README.md

File metadata and controls

80 lines (69 loc) · 5.55 KB

GElectrical developer documentation

Start here for development work. The user manual (Sphinx/MyST, published on Read the Docs) lives in the same folder as index.rst, introduction.md, installation.md, getting_started.md, features.md, how_to.md, troubleshooting.md and faq.md; developer documents below are excluded from the Sphinx build in conf.py.

Every page states whether it describes the current implementation (the Tauri 2 + Vue 3 desktop application on the headless Python engine and backend) or a proposed design that is not built yet. The legacy GTK3 application was retired in M15 (ADR 0030, branch archive/gtk); pages that still describe it mark those parts legacy or retired.

Reading order for coding agents

  1. AGENTS.md: mandatory rules and task routing.
  2. ARCHITECTURE.md: layers, ownership, repository structure.
  3. Development guidelines and testing.
  4. The contract for the layer you are changing (table below).
  5. For migration work: the milestone in the implementation plan, the feature inventory and the risk register.

Find guidance by task

Task Read
Understand how the app is structured ARCHITECTURE.md, then the contract for the layer (rows below)
Understand how the retired GTK app worked Existing application audit (historical)
Change calculations, elements, connectivity, pandapower mapping Backend, regression baseline
Change .gepro load/save or add stored data Project format, ADR 0008
Add or change a service command, undo, revisions, analysis jobs Backend protocol and services (current), backend, ADR 0019, ADR 0009, ADR 0003
Build Vue views, composables, backend client Frontend, UI guidelines
Build or change reusable components EngineeringUI, package rules
Work on the schematic editor or symbols Schematic editor, ADR 0004, ADR 0005
Work on charts, protection or load-profile editors Graphing
Add MCP tools, skills or permissions MCP, ADR 0007
Package, release, sidecar lifecycle Packaging, ADR 0010, ADR 0016
Change Python or pandapower versions ADR 0015, plan M1b
Plan a future design module Design services, roadmap
Replace eval, clipboard pickle or Mako ADR 0011
Check licence compatibility Licence inventory, ADR 0013
Verify a change or record evidence Testing, validation log

Document map

AGENTS.md, ARCHITECTURE.md
docs/
├── README.md                     this index
├── development-guidelines.md     how to work in each layer
├── ui-guidelines.md              interaction and visual rules (current)
├── testing.md                    current checks and test layers
├── roadmap.md                    milestone status and post-parity work
├── architecture/                 layer contracts (current; unbuilt parts marked proposed)
│   ├── backend.md  backend-protocol.md  frontend.md  engineering-ui.md  project-format.md
│   ├── schematic-editor.md  graphing.md  design-services.md  mcp.md  packaging.md
├── migration/                    audit, inventory, plan, baseline, risks, validation log
├── decisions/                    architecture decision records
└── (user manual: index.rst and *.md at this level, Sphinx)
packages/engineering-ui/README.md, AGENTS.md

Document ownership

Kind Purpose Update when
AGENTS.md files Mandatory rules and routing The owner approves a rule change
ARCHITECTURE.md, architecture/ Current/proposed boundaries and contracts Behaviour or ownership changes; mark sections current once implemented
Guides (development, UI, testing) How to extend and verify The workflow changes
migration/ Audit, parity tracking, plan, evidence Status changes with evidence; validation log is append-only
decisions/ Why a decision was made New decision or supersession; never delete
roadmap.md Remaining work Milestone status changes

Keep one canonical description of each contract and link to it instead of copying. When code and a contract disagree, investigate, report the mismatch and update the contract with the behaviour change.