Deploy AIOS web (React glide grid + FastAPI slice)
Browse files- RELEASES.json +1 -1
- VERSION +1 -1
- platform/core/grid_events.py +21 -1
RELEASES.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"current": "
|
| 3 |
"releases": [
|
| 4 |
{
|
| 5 |
"version": "v62",
|
|
|
|
| 1 |
{
|
| 2 |
+
"current": "6d4fd04",
|
| 3 |
"releases": [
|
| 4 |
{
|
| 5 |
"version": "v62",
|
VERSION
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
|
|
|
|
| 1 |
+
6d4fd04
|
platform/core/grid_events.py
CHANGED
|
@@ -2761,8 +2761,28 @@ def handle_one(event, ctx):
|
|
| 2761 |
# key self-heal on their next autosave, the rule every stale colId already rides.
|
| 2762 |
key = str(event.get('key') or '')[:80]
|
| 2763 |
import aios_grid as _ag3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2764 |
if not (key.startswith('custom_') or key.startswith(_ag3.MEASURE_FIELD_PREFIX)):
|
| 2765 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2766 |
# ⭐⭐ W41-T02 / RULING R6a+R6b / CONTRACT C2 — THE RIGHT, ASKED OF THE ONE PAIR THAT OWNS
|
| 2767 |
# IT. Until now this door had NO rights test at all: the prefix above was the whole of
|
| 2768 |
# the wall, so any holder of a grid could delete a column somebody else made and shared
|
|
|
|
| 2761 |
# key self-heal on their next autosave, the rule every stale colId already rides.
|
| 2762 |
key = str(event.get('key') or '')[:80]
|
| 2763 |
import aios_grid as _ag3
|
| 2764 |
+
# ⭐⭐ OWNER 2026-08-31 — THE LEGACY ROUTE-ORDER STRATUM JOINS THE DELETABLE ONES.
|
| 2765 |
+
# Owner: *"Can you also delete all the stale routes and their field ... We don't need
|
| 2766 |
+
# those. It's legacy I believe."* They are right about what these are: a field with
|
| 2767 |
+
# `kind == 'route_order'` is the ONLY thing `route_system.legacy_route_plan` projects a
|
| 2768 |
+
# read-only `compatibility: 'legacy-route-order'` Route from, so the column IS the route
|
| 2769 |
+
# and deleting one deletes both. There was no door for it at all — the prefix test above
|
| 2770 |
+
# is on a KEY, and these are named `route_<name>`, so the column could be neither
|
| 2771 |
+
# deleted nor edited by anybody, on any surface.
|
| 2772 |
+
#
|
| 2773 |
+
# ⛔ IT IS A KIND TEST, NOT A `route_` PREFIX TEST, and that distinction is the wall. A
|
| 2774 |
+
# prefix would let a browser delete any base contract column it could name `route_`;
|
| 2775 |
+
# `kind` is read from the STORED definition below, which the client does not author.
|
| 2776 |
+
# ⚠ The RIGHTS wall underneath is untouched: `may_delete_field` still decides, so this
|
| 2777 |
+
# widens which stratum is structurally deletable and gives nobody a new right.
|
| 2778 |
+
_legacy_route = False
|
| 2779 |
if not (key.startswith('custom_') or key.startswith(_ag3.MEASURE_FIELD_PREFIX)):
|
| 2780 |
+
_probe = field_by_key.get(key)
|
| 2781 |
+
if not isinstance(_probe, dict):
|
| 2782 |
+
_probe = (ws.get('fields') or {}).get(key)
|
| 2783 |
+
_legacy_route = isinstance(_probe, dict) and _probe.get('kind') == 'route_order'
|
| 2784 |
+
if not _legacy_route:
|
| 2785 |
+
return False
|
| 2786 |
# ⭐⭐ W41-T02 / RULING R6a+R6b / CONTRACT C2 — THE RIGHT, ASKED OF THE ONE PAIR THAT OWNS
|
| 2787 |
# IT. Until now this door had NO rights test at all: the prefix above was the whole of
|
| 2788 |
# the wall, so any holder of a grid could delete a column somebody else made and shared
|