Core engineering documents — interaction and authority guide
Visual stack: VISUAL-STACK. React owns the engineering composition; native controllers, registered properties, validation and transactions own the data. The native diagram remains a real Qt canvas, not a picture. Legacy remains an explicit --frontend legacy rollback, not a second default.
Persistent workbench
- Project navigation uses real scenario/equipment identities. Selecting equipment
locates it; selecting a scenario for inspection does not activate it.
- AI Chat in the header always reopens the existing conversation/draft. Closing
the utility tab does not delete or remount the conversation.
- Inspector and Assistant occupy the same QtADS utility area. Open Inspector from
the document heading; use the AI Chat header control to return to Assistant. Closing Inspector preserves its native source context. Narrow mode has an explicit return-to-workspace action; it does not send the composer.
- Network → Tools contains Project, Properties and linked-schedule toggles. The linked
schedule selects by native ID and cannot edit a retained-result snapshot.
- A document heading identifies Original, detached draft or historical result.
Long artifact IDs remain available in tooltips/output, not overlapping titles. Filters and diagnostic output are secondary, collapsible controls.
Project / Network view controls and input checks
- The source-named drawing tab replaces the single Network dock title. Close
view returns to Project without closing the project or discarding pending edits; + opens supported drawings from the exact source. Custom multi-dock tab groups retain native QtADS navigation instead of hiding other documents.
- The compact toolbar groups Select/Pan, Fit drawing/Fit selection and a real
zoom-preset selector. Selection-fit is disabled without native selection. These commands affect the native camera/interaction, not electrical values. Tools keeps all diagram, Original/draft, panel and layout choices reachable. Review changes appears for detached drafts, not as a dead Original action.
- The active document and selected equipment/case name appear in dock captions,
not repeated heading bars. Full native IDs remain available on hover and Copy.
- Fit uses real engineering extents and readable view-only labels. The percentage
is native diagram zoom, independent of UI scale. Cameras are remembered for up to 16 exact source/diagram contexts. User pan/zoom cancels delayed initial Fit; no saved electrical facts or drawing geometry are rewritten.
- Workspace → Restore engineering layout resets panel visibility/proportions and
the current camera only. It does not save, discard or restore project data.
- Output has real severity filters, UTC event times and source-bound findings.
Check inputs is explicit and reuses native readiness inspection. Working Original is captured through the normal cooperative snapshot barrier; inspection runs off the GUI thread without writing the owner project. Cancel publishes no partial findings. Old-revision findings are Historical and cannot select current equipment. Numerical convergence and engineering approval remain unassessed.
- File → Open synthetic harbour example opens a separate state/window and
preserves existing windows. It reuses one native cached sample unless that sample was changed; it never overwrites the changed file or runs a study/AI.
Screen actions
| Board | Input / work shown | Publication and recovery | |---|---|---| | D01 Project | Name, description, frequency, base power, location, currency, notes; sources, cases and scenarios | Save project details updates the exact detached draft atomically in either AI mode; Original changes stay in its working model until File Save. Conflicts retain pending fields. | | D02 Network | Existing native diagram plus linked equipment schedule | Native diagram tools retain their validators and camera. Original and detached draft remain distinct. | | D03 Equipment | Class filter, equipment schedule, connections and findings | Add/remove and native equipment edit use the selected draft. Unsaved changes stay pending. | | D04 Transformer | General, Nameplate, Load flow, Short circuit, Dynamics, Sources; technical fields under Advanced | Edit registered fields through the same native capability. The retained central document edits only a detached copy. Review in Input Data stages the entire validated batch; Save changes stages then explicitly publishes through Input Data. Back preserves the document; Discard editor changes resets only its unpublished corrections. Original is never rebound to this draft. | | D07 Parameters | Editable parameter schedule and registered Load/Motor/DER native forms | Numeric, enum, unit, source and reference validation remain native. Declared time profiles show bounded recorded samples and a plot; no profile or dynamic response is invented. Unsupported profile mutations remain explicit. | | D08 Intake | Incomplete rows, missing fields, requirements and findings | Retain incomplete inputs; edit mappings explicitly. Only ready, checked rows can be materialized. Unsupported equipment remains unresolved. | | D09 Sources | Retained file hash, sheet/cell/page text or rendered page and extracted values | Map columns manually or explicitly ask AI to use the source. Opening/extracting never starts inference. Corrections do not turn documents into manufacturer approval. | | D10 Scenarios | Native parent order and changed/added/removed attributes | Create inherited variation or duplicate without activation. Activate explicitly through native confirmation, retaining prior working changes. File Save is separate. | | D13 Studies | Versioned cases, jobs, prerequisites and supported setup | Save case freezes source/options; Run is explicit. Empty cases/jobs are truthful empty states, not demonstration records. | | D14 AC options | Tolerance, iteration limit, Q limits, tap magnitude/phase, remote voltage and distributed slack | Supported balanced Newton–Raphson controls propagate to the worker and effective receipt/profile hash; other methods are not implied. | | D15 Results | Exact retained native diagram, recorded plots and paged measurements | Read-only source/receipt binding. Selecting a plotted bus selects its exact result row. Historical measurements never become the current draft. | | D48 History | Recorded ancestry/version list, milestones, changed equipment and snapshot details | Existing native checkpoint, comparison and restore-as-new guards remain authoritative. Selecting/inspecting is not restore. | | D49 Changes | Named equipment, before/after/current values, units, origin and exact revision | Review is read-only. Resolve conflicts explicitly; Save draft is not Apply to Original. Embedded mapping/conflict controls use real native callbacks. | | D60 Recovery | Saved-at-edit, current saved and recovered values | Review, return to manual edit, explicitly discard or close/preserve. No AI task is replayed. Conflicts compare against the saved report, never the pending overlay. | | D61 Import | Select file → retain → inspect → explicit mappings → validate/stage | CSV/XLSX/PDF/images use existing bounded isolated extraction. Native project imports retain their path; no generic competitor converter. Cancel does not publish a model. | | D62 Export | Exact source/scenario, content counts, destination, individually opt-in originals | Existing destinations are never overwritten, including races. Export reports path/hash after publication. Cancel prevents publication if it wins; an active readiness worker may finish first. A completed publication is reported honestly. |
Additional engineering documents (spec 099)
| Board | Work shown | Authority and limits | |---|---|---| | D05 Sources/generators | Registered source ratings, voltage/control, fault inputs and supplied profile samples | The central detached editor uses the existing native object model. Constructor values are not supplied facts. No inferred capability curve or dynamic response. | | D06 Equipment types | Exact candidate/scenario native type library and registered fields | Inspect without inference. Editing uses the existing selected native equipment/type workflow; no manufactured vendor catalogue. | | D11 Map / D12 Station | Real native map and selected station renderer | Back to map restores that renderer; zoom/fit acts on the active canvas. No picture masquerades as an editable station. | | D16 Fault study | Native fault options, terminals, prerequisites and retained findings | Run is explicit. Only existing solver methods are exposed; device duty is not manufacturer qualification. | | D17 Planning | Loadability/PV/sensitivity setup and supported results | Uses existing study controller and exact source. No unsupported dynamics or stability method. | | D18 Profiles | Declared time-series inputs, prerequisite checks and recorded results | Missing profiles remain missing. No invented calendar values or response curves. | | D19 Contingencies / D20 Outage context | Exact branch selection, saved study proposal and current in-service state | Outage context is a read-only study proposal, not a field switching order or calendar scheduler. | | D21 Feeder alternatives / D22 Cable | Sourced native design definitions, detached cable fields and retained comparisons | Save definition before Run. Finite current/drop metrics come only from the opened exact receipt; absent results stay unavailable. | | D23 Power-factor planning | Explicit supplied factors, alternatives and retained kvar/PF comparison | No silent assumptions or inferred manufacturer catalogue. Existing design workers remain authoritative. | | D24 Relay settings / D25 Coordination | Registered device settings and supported native protection setup/results | No universal manufacturer curves. An illustrative design is not a coordination approval. | | D46 Report | Existing source-bound evidence selection and frozen preview | Original attachments remain individually opt-in. Export uses the existing atomic evidence publication. | | D47 Campaign | Native saved cases × scenarios, explicit execution and retained results | Changing selection does not execute a campaign. Cases, source revisions and failures remain inspectable. |
Common editing and safety states
- In short, scaled windows, document actions become named icons (tooltips and
accessible names remain). Equipment pages use a selector rather than a tall navigation list. Study navigation uses compact selectors in narrow documents (including nested setup/results navigation after a run), and tabs elsewhere. Source and study settings remain available in the Source and study context disclosure inside the scrolling document; expanding it does not run a study.
- Direct form fields commit through native delegates on blur or Enter; Escape cancels the field. Tables retain Enter/F2 for the supported native value editor; Cancel leaves the pending set
untouched. Pending fields flush before navigation, category changes or actions; rejected fields block those actions without losing the entry. Paste uses the native validator and atomic staging path.
- Review/Save/Undo/Redo act on the selected draft/scenario. Frozen, stale,
historical and conflicting contexts do not bypass their existing guards. AI Plan remains read-only for model tools, independently of manual editing.
- Saving a human correction pauses only the affected conversation. Continue AI
is explicit and uses the updated revision and human-change summary; opening a workspace does not launch paid inference.
- Native editor corrections are retained by exact project, draft, scenario and artifact.
A separate bounded recovery record preserves conflicts with table edits. Recovery only stages after explicit review; it never auto-saves or replays an AI action.
- Close PowerSystem shows the actual unsaved-change warning, with Keep open as
default and Escape. Closing the confirmation is not permission to exit.
- Source declarations and constructor values are not engineering approval.
Original source documents are excluded from export until individually chosen.
- A stale frame, replaced mapping widget or changed project rejects late commands.
Errors remain visible; failed actions are not automatically replayed.
Qualification, actual screenshots, failed attempts and platform limitations are recorded in specs/098-core-engineering-redesign/VERIFICATION.md and specs/099-design-fidelity-expansion/VERIFICATION.md. This guide explains implemented interactions; it is not manufacturer/solver qualification.
Project and Network fidelity (110)
Project uses one source-bound tree, not a second feature catalogue. All engineering workspaces remain reachable through Workspaces… and command search. The Network schedule works for both Original and detached drafts: filter, sort Name/Type, page through every native object and select by stable ID. Diagram and table selection share the grouped Inspector; Open equipment editor uses the exact native source, not a row number. Unsupported/non-drawn objects are identified explicitly.
Project details, notes/sources, saved cases and scenarios are separate regions. Save project details pauses only the affected AI conversation and publishes atomically against the exact draft artifact/scenario, in either AI mode. Frozen and stale writes are rejected. Location/currency/notes are retained per-native-scenario project metadata, with legacy project-wide values preserved. All supported Original fields update its working native model and preserved JSON only: File → Save remains explicit. Pending metadata survives navigation in this window; closing it before Save is not restart recovery. Retained cases keep their frozen source and are marked retained when older than the current artifact. Inspect / edit case opens existing setup without running it.
At narrow widths/high scale, Tools exposes panel/source/zoom controls without a horizontal toolbar pile. Schedule or Properties uses focused space; close Properties to return to the canvas. AI Chat remains available in the header and via Ctrl+Shift+J. Application menus use the native full-window command surface rather than a popup clipped inside the short header WebView. The read-only draft preview uses compact screen-fixed labels and bounded label clearance; saved bus positions and routes are not rewritten.
D01 source/library/scenario actions bind the exact displayed source. Retained conversation records are explicitly unavailable for Original, not borrowed from a selected draft. Inspect selected opens the actual case after navigation is acknowledged. Returning to Project reloads the library without losing staged fields. Scenario inspection preserves Assistant visibility. Notes use their full section width; Description grows within a bounded multiline editor.
Dedicated equipment workbench (115)
Input Data → Equipment is the D03 database, not the engineering canvas or an independent model. Its compact action/filter rows, paged native schedule, bounded Associations/Sources/Findings pane and shared equipment inspector replace the old stacked class card and generic table composition. Select a row or press Enter/Space to inspect by native identity. Sorting/search/class/source filtering are view-only. Rated/input values retain their actual units; Unresolved, Declared, Unsaved and Not assessed are declaration states, never engineering approval.
The inspector edits registered values through the existing ParameterModel. Reference choices are type-compatible native identities; unit/basis/source edits are in its Sources tab. Native validators acknowledge each field before Save or navigation. Invalid entries must be corrected/cancelled. Save changes explicitly uses Input Data's takeover, conflict resolution, exact-artifact CAS, recovery and undo/redo; merely opening/selecting never sends an AI prompt. Native equipment editor… uses the same detached source and sees saved table corrections.
More equipment actions → Prepare equipment copy… opens the existing intake dialog with a new identity and explicit copied assumptions, not manufacturer declarations. It never silently materializes constructor defaults; reviewed intake still needs the existing checked creation step. Cancelling publishes nothing. Attach/import retains and extracts supported documents through existing isolated workers; native-project imports retain their separate path. Export review retains existing evidence policy. Frozen/retained contexts cannot publish native edits. AI Plan does not block human editing of the current unfrozen draft. Unsupported copy kinds are unavailable, not converted into superficially similar equipment.
Project D01 now offers real frozen case duplication and reversible archival; archival compares the exact selected case version atomically. Versions and runs are retained. Neither operation runs a calculation. Manage retained sources… opens Sources rather than leaving the user on the equipment table. Project chrome uses compact source/tooltips instead of a repeated permanent explanatory row.
Repair116 — direct creation and transformer document
In Equipment, human editing works in AI Plan without changing conversation mode or sending a prompt. Publication requires the exact unfrozen draft and excludes an active conflicting AI turn. Add remains unavailable in frozen review. Add equipment defaults to Create equipment in this draft: all starred fields and exact terminals are required and validated, with a single atomic publication. Save incomplete input only retains missing facts for later review. Creation uses the selected scenario; invalid creation publishes neither an incomplete row nor a partial native object. No silent constructor facts.
Select a transformer and use Edit parameters…, double-click or F2. Human edits are available in AI Plan on the unfrozen exact draft. General, ratings, impedance/admittance, tap controls, sequence data and notes share the native field validator. Sources and Advanced expose actual declarations/registered properties. Vector group, cooling and unsupported loss-test conversion are unavailable, not inferred or simulated by decorative fields. Explicit Save uses Input Data; Original is not rebound. The default five-bus network has no transformer; create one with real required inputs, or use File → Open synthetic harbour example in a separate workspace. The harbour example is synthetic, never manufacturer-verified or customer data.