Project Model¶
This page covers the truST project tree, config-file ownership, and the build/run lifecycle.
Project Model¶
This specification owns the truST project tree, config-file roles, and the build/run lifecycle that turns source files into a runnable project.
1. Canonical Files¶
project/
src/
trust-lsp.toml
runtime.toml
io.toml
simulation.toml
hmi/
program.stbc
2. File Ownership¶
| Path | Owns |
|---|---|
src/ |
project-owned Structured Text sources |
trust-lsp.toml |
editor/LSP config, dependencies, vendor profile |
runtime.toml |
execution, control, discovery, mesh, runtime-cloud policy |
io.toml |
driver selection and safe-state I/O behavior |
simulation.toml |
deterministic virtual coupling and fault injection |
hmi/ |
declarative HMI/operator pages |
program.stbc |
compiled bytecode artifact |
3. Separation of Concerns¶
trust-lsp.tomldefines authoring and semantic contextruntime.tomldefines execution and exposed control surfacesio.tomldefines physical or simulated I/O backendssimulation.tomldefines deterministic plant simulation behaviorhmi/defines operator-facing presentation
4. Lifecycle¶
- Author/edit source files in
src/ - Build to
program.stbc - Validate configuration and bundle contents
- Run or reload the runtime
- Drive HMI, tests, harness scenarios, or agent workflows against the same project
5. Related Specs¶
12-bytecode.mdforprogram.stbc20-agent-api-v1.mdfor runtime agent orchestration21-harness-protocol.mdfor deterministic harness execution