Skip to content

Commit 4eeff7b

Browse files
authored
Merge pull request #78 from halcyonic-systems/feat/conservation-fidelity-amplifying
Conservation engine: synchronous mode, observation flows, open/closed systems
2 parents 889b121 + 9895564 commit 4eeff7b

66 files changed

Lines changed: 9707 additions & 3442 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,4 @@ src-tauri/generated:*
5858

5959
# Local models (personal experiments, not shipped)
6060
assets/models/local/
61+
.aider*

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ BERT uses a layered architecture:
117117
| Data Model | Core types and persistence | `src/bevy_app/components/`, `data_model/` |
118118
| Desktop | Native app wrapper | `src-tauri/` |
119119

120-
For deeper architectural details, see [gitbook/for-developers/architecture/](gitbook/for-developers/architecture/).
120+
For deeper architectural details, see [docs/CLAUDE.md](docs/CLAUDE.md).
121121

122122
## Exploration Branches
123123

Cargo.lock

Lines changed: 27 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
A visual toolkit for modeling systems as flows of energy, material, and information across boundaries. Built on the systems science framework of [George Mobus](https://faculty.washington.edu/gmobus/).
77

8-
[Try it](https://bert.systems) · [Docs](https://bert.gitbook.io) · [Download](https://github.com/halcyonic-systems/bert/releases)
8+
[Try it](https://bert.systems) · [Docs](docs/README.md) · [Download](https://github.com/halcyonic-systems/bert/releases)
99

1010
![BERT Screenshot](assets/screenshot.png)
1111

@@ -57,7 +57,7 @@ For the formal schema, see the [Schema Reference](docs/bert-schema-reference.md)
5757

5858
| Resource | What it covers |
5959
|----------|---------------|
60-
| [User Guide](https://bert.gitbook.io) | Getting started, tutorials |
60+
| [Getting Started](docs/getting-started.md) | Install, first model, controls |
6161
| [Schema Reference](docs/bert-schema-reference.md) | JSON format, validation layers, ID conventions |
6262
| [System Language Spec](docs/system-language-spec.md) | Formal system modeling language |
6363
| [TypeDB Schema](docs/bert-typedb-schema.md) | Graph projection and query patterns |

assets/models/examples/blank.json

Lines changed: 215 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,215 @@
1+
{
2+
"environment": {
3+
"info": {
4+
"description": "",
5+
"id": "E-1",
6+
"level": -1,
7+
"name": ""
8+
},
9+
"sinks": [
10+
{
11+
"equivalence": "",
12+
"info": {
13+
"description": "Primary output sink",
14+
"id": "Snk-1.0",
15+
"level": -1,
16+
"name": "Output"
17+
},
18+
"is_same_as_id": null,
19+
"model": "",
20+
"transform": {
21+
"rotation": 0.0,
22+
"translation": [
23+
520.0,
24+
0.0
25+
]
26+
},
27+
"type": "Sink"
28+
}
29+
],
30+
"sources": [
31+
{
32+
"equivalence": "",
33+
"info": {
34+
"description": "Primary input source",
35+
"id": "Src-1.0",
36+
"level": -1,
37+
"name": "Input"
38+
},
39+
"is_same_as_id": null,
40+
"model": "",
41+
"transform": {
42+
"rotation": -3.141592653589793,
43+
"translation": [
44+
-520.0,
45+
0.0
46+
]
47+
},
48+
"type": "Source"
49+
}
50+
]
51+
},
52+
"hidden_entities": [],
53+
"interactions": [
54+
{
55+
"amount": "1",
56+
"info": {
57+
"description": "",
58+
"id": "F-1.0",
59+
"level": -1,
60+
"name": "Input Flow"
61+
},
62+
"parameters": [],
63+
"sink": "S0",
64+
"sink_interface": "I0.0",
65+
"source": "Src-1.0",
66+
"source_interface": null,
67+
"substance": {
68+
"sub_type": "Data",
69+
"type": "Message"
70+
},
71+
"type": "Flow",
72+
"unit": "",
73+
"usability": "Resource"
74+
},
75+
{
76+
"amount": "1",
77+
"info": {
78+
"description": "",
79+
"id": "F-1.1",
80+
"level": -1,
81+
"name": "Output Flow"
82+
},
83+
"parameters": [],
84+
"sink": "Snk-1.0",
85+
"sink_interface": null,
86+
"source": "S0",
87+
"source_interface": "I0.1",
88+
"substance": {
89+
"sub_type": "Data",
90+
"type": "Message"
91+
},
92+
"type": "Flow",
93+
"unit": "",
94+
"usability": "Product"
95+
}
96+
],
97+
"systems": [
98+
{
99+
"boundary": {
100+
"info": {
101+
"description": "",
102+
"id": "B0",
103+
"level": 0,
104+
"name": ""
105+
},
106+
"interfaces": [
107+
{
108+
"angle": 3.141592653589793,
109+
"exports_to": [],
110+
"info": {
111+
"description": "",
112+
"id": "I0.0",
113+
"level": 1,
114+
"name": "Input Port"
115+
},
116+
"protocol": "",
117+
"receives_from": [
118+
"Src-1.0"
119+
],
120+
"type": "Import"
121+
},
122+
{
123+
"angle": 0.0,
124+
"exports_to": [
125+
"Snk-1.0"
126+
],
127+
"info": {
128+
"description": "",
129+
"id": "I0.1",
130+
"level": 1,
131+
"name": "Output Port"
132+
},
133+
"protocol": "",
134+
"receives_from": [],
135+
"type": "Export"
136+
}
137+
],
138+
"parent_interface": null,
139+
"perceptive_fuzziness": 0.0,
140+
"porosity": 0.0
141+
},
142+
"complexity": {
143+
"Complex": {
144+
"adaptable": true,
145+
"evolveable": true
146+
}
147+
},
148+
"equivalence": "",
149+
"history": "",
150+
"info": {
151+
"description": "A blank system ready for modeling",
152+
"id": "S0",
153+
"level": 0,
154+
"name": "New System"
155+
},
156+
"member_autonomy": 1.0,
157+
"parent": "E-1",
158+
"radius": 300.0,
159+
"sinks": [],
160+
"sources": [],
161+
"time_constant": "Second",
162+
"transform": {
163+
"rotation": 0.0,
164+
"translation": [
165+
0.0,
166+
0.0
167+
]
168+
},
169+
"transformation": ""
170+
},
171+
{
172+
"boundary": {
173+
"info": {
174+
"description": "",
175+
"id": "B0.0",
176+
"level": 1,
177+
"name": ""
178+
},
179+
"interfaces": [],
180+
"parent_interface": null,
181+
"perceptive_fuzziness": 0.0,
182+
"porosity": 0.0
183+
},
184+
"complexity": {
185+
"Complex": {
186+
"adaptable": true,
187+
"evolveable": false
188+
}
189+
},
190+
"equivalence": "",
191+
"history": "",
192+
"info": {
193+
"description": "Main processing subsystem",
194+
"id": "C0.0",
195+
"level": 1,
196+
"name": "Core"
197+
},
198+
"member_autonomy": 1.0,
199+
"parent": "S0",
200+
"radius": 42.0,
201+
"sinks": [],
202+
"sources": [],
203+
"time_constant": "Second",
204+
"transform": {
205+
"rotation": 0.0,
206+
"translation": [
207+
0.0,
208+
0.0
209+
]
210+
},
211+
"transformation": ""
212+
}
213+
],
214+
"version": 1
215+
}

0 commit comments

Comments
 (0)