Documentation Index
Fetch the complete documentation index at: https://docs.coreflux.org/llms.txt
Use this file to discover all available pages before exploring further.
Why naming matters
Consistent naming is the single most impactful practice for maintainable LoT systems. These conventions apply to all LoT entities and keep notebooks readable as your project grows.Entity names
All LoT entities use PascalCase. Names should be descriptive and purpose-driven.| Entity | Convention | Good Examples | Bad Examples |
|---|---|---|---|
| Actions | PascalCase, verb-first | ProcessTemperature, MonitorPressure, SendDailyReport | temp_process, action1, myAction |
| Models | PascalCase, noun-based | SensorReading, EquipmentStatus, ProductionRecord | sensor_model, Model1, data |
| Rules | PascalCase, descriptive scope | AllowAdminActions, ProtectSysTopics, RestrictDevicePublish | Rule1, myRule, newRule |
| Routes | PascalCase, destination-based | CloudBridge, SensorDatabase, AlertEmail | route1, my_route, dbRoute |
| Callable Actions | PascalCase, function-like | CalculateAverage, ConvertCelsiusToFahrenheit | calc, helper, util |
Variable names
Variables use snake_case inside double quotes forSET declarations, and curly braces for references.
| Context | Convention | Examples |
|---|---|---|
Declaration (SET) | snake_case in double quotes | "sensor_id", "raw_value", "cycle_time" |
| Reference | Curly braces | {sensor_id}, {raw_value}, {cycle_time} |
| Model fields | snake_case in double quotes | "equipment_id", "runtime_hours", "last_update" |
| Action inputs | snake_case after keyword | INPUT value AS DOUBLE, INPUT threshold AS DOUBLE |
Topic names
Topics use lowercase with forward-slash separators. Multi-word segments use snake_case. Whenever possible, follow a Unified Namespace (UNS) format for topic naming. This enables readability and scalability as systems grow.| Pattern | Example | Use Case |
|---|---|---|
domain/entity/attribute | sensors/temperature/value | General data |
domain/instance/attribute | sensors/temp001/raw | Instance-specific data |
domain/category/instance | alerts/critical/pump03 | Categorized events |
| Prefixed namespaces | processed/, alerts/, config/, cache/, state/, system/ | Functional separation |
Next Steps
Designing your data layer
Topic trees, payload formats, and model inheritance.
Anti-patterns
Common mistakes and what to do instead.

