Each colony can now hold its hive setup (Ist-Zustand) as validated JSON with an append-only change log: - catalog: hive systems and part types with dimensions, placement rules and state fields; Liebig-Zander 10 seeded with fixed ids (owner's equipment incl. Bausperre, Futterzarge, Nassenheider) - pure domain module (operations, validator, derived facts) with shared JSON fixtures the frontend runs too - API: catalog (hive-systems:manage), setup create/change/history/ state at a day (colonies:read/update), 409 HIVE_CONFLICT with the current state, idempotent writes, HiveChanged event - inspections can carry hive ops saved in the same transaction - backup export/import of the new tables (backup wins per colony) - docs: ARCHITECTURE section 13, Annahmen 95-100 Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
175 lines
3.7 KiB
JSON
175 lines
3.7 KiB
JSON
{
|
|
"name": "the 31st part in the stack fails",
|
|
"state": {
|
|
"schemaVersion": 1,
|
|
"stack": [
|
|
{
|
|
"id": "f1",
|
|
"partTypeId": "hive-part-zl10-floor",
|
|
"state": {}
|
|
},
|
|
{
|
|
"id": "q0",
|
|
"partTypeId": "hive-part-zl10-queen-excluder",
|
|
"state": {}
|
|
},
|
|
{
|
|
"id": "q1",
|
|
"partTypeId": "hive-part-zl10-queen-excluder",
|
|
"state": {}
|
|
},
|
|
{
|
|
"id": "q2",
|
|
"partTypeId": "hive-part-zl10-queen-excluder",
|
|
"state": {}
|
|
},
|
|
{
|
|
"id": "q3",
|
|
"partTypeId": "hive-part-zl10-queen-excluder",
|
|
"state": {}
|
|
},
|
|
{
|
|
"id": "q4",
|
|
"partTypeId": "hive-part-zl10-queen-excluder",
|
|
"state": {}
|
|
},
|
|
{
|
|
"id": "q5",
|
|
"partTypeId": "hive-part-zl10-queen-excluder",
|
|
"state": {}
|
|
},
|
|
{
|
|
"id": "q6",
|
|
"partTypeId": "hive-part-zl10-queen-excluder",
|
|
"state": {}
|
|
},
|
|
{
|
|
"id": "q7",
|
|
"partTypeId": "hive-part-zl10-queen-excluder",
|
|
"state": {}
|
|
},
|
|
{
|
|
"id": "q8",
|
|
"partTypeId": "hive-part-zl10-queen-excluder",
|
|
"state": {}
|
|
},
|
|
{
|
|
"id": "q9",
|
|
"partTypeId": "hive-part-zl10-queen-excluder",
|
|
"state": {}
|
|
},
|
|
{
|
|
"id": "q10",
|
|
"partTypeId": "hive-part-zl10-queen-excluder",
|
|
"state": {}
|
|
},
|
|
{
|
|
"id": "q11",
|
|
"partTypeId": "hive-part-zl10-queen-excluder",
|
|
"state": {}
|
|
},
|
|
{
|
|
"id": "q12",
|
|
"partTypeId": "hive-part-zl10-queen-excluder",
|
|
"state": {}
|
|
},
|
|
{
|
|
"id": "q13",
|
|
"partTypeId": "hive-part-zl10-queen-excluder",
|
|
"state": {}
|
|
},
|
|
{
|
|
"id": "q14",
|
|
"partTypeId": "hive-part-zl10-queen-excluder",
|
|
"state": {}
|
|
},
|
|
{
|
|
"id": "q15",
|
|
"partTypeId": "hive-part-zl10-queen-excluder",
|
|
"state": {}
|
|
},
|
|
{
|
|
"id": "q16",
|
|
"partTypeId": "hive-part-zl10-queen-excluder",
|
|
"state": {}
|
|
},
|
|
{
|
|
"id": "q17",
|
|
"partTypeId": "hive-part-zl10-queen-excluder",
|
|
"state": {}
|
|
},
|
|
{
|
|
"id": "q18",
|
|
"partTypeId": "hive-part-zl10-queen-excluder",
|
|
"state": {}
|
|
},
|
|
{
|
|
"id": "q19",
|
|
"partTypeId": "hive-part-zl10-queen-excluder",
|
|
"state": {}
|
|
},
|
|
{
|
|
"id": "q20",
|
|
"partTypeId": "hive-part-zl10-queen-excluder",
|
|
"state": {}
|
|
},
|
|
{
|
|
"id": "q21",
|
|
"partTypeId": "hive-part-zl10-queen-excluder",
|
|
"state": {}
|
|
},
|
|
{
|
|
"id": "q22",
|
|
"partTypeId": "hive-part-zl10-queen-excluder",
|
|
"state": {}
|
|
},
|
|
{
|
|
"id": "q23",
|
|
"partTypeId": "hive-part-zl10-queen-excluder",
|
|
"state": {}
|
|
},
|
|
{
|
|
"id": "q24",
|
|
"partTypeId": "hive-part-zl10-queen-excluder",
|
|
"state": {}
|
|
},
|
|
{
|
|
"id": "q25",
|
|
"partTypeId": "hive-part-zl10-queen-excluder",
|
|
"state": {}
|
|
},
|
|
{
|
|
"id": "q26",
|
|
"partTypeId": "hive-part-zl10-queen-excluder",
|
|
"state": {}
|
|
},
|
|
{
|
|
"id": "q27",
|
|
"partTypeId": "hive-part-zl10-queen-excluder",
|
|
"state": {}
|
|
},
|
|
{
|
|
"id": "q28",
|
|
"partTypeId": "hive-part-zl10-queen-excluder",
|
|
"state": {}
|
|
}
|
|
]
|
|
},
|
|
"ops": [
|
|
{
|
|
"op": "addPart",
|
|
"part": {
|
|
"id": "q99",
|
|
"partTypeId": "hive-part-zl10-queen-excluder",
|
|
"state": {}
|
|
},
|
|
"at": 30
|
|
}
|
|
],
|
|
"expect": {
|
|
"ok": false,
|
|
"opIndex": 0,
|
|
"reasonCode": "LIMIT_PARTS"
|
|
}
|
|
}
|