fsanyoto commited on
Commit
0027cdd
Β·
verified Β·
1 Parent(s): bf47753

Deploy AIOS web (React glide grid + FastAPI slice)

Browse files
RELEASES.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "current": "2c0a1b4",
3
  "releases": [
4
  {
5
  "version": "v12",
 
1
  {
2
+ "current": "85c8f72",
3
  "releases": [
4
  {
5
  "version": "v12",
VERSION CHANGED
@@ -1 +1 @@
1
- 2c0a1b4
 
1
+ 85c8f72
api/automation_engine.py CHANGED
@@ -2612,7 +2612,14 @@ def clean_predicates(raw, operator="and"):
2612
  bad = [v for v in vals if str(v).lower() not in ok]
2613
  if bad:
2614
  return None, f"{field_label(name)} is answered Yes or No"
2615
- vals = [str(v).lower() for v in vals]
 
 
 
 
 
 
 
2616
  if field_kind(name) == "number":
2617
  try:
2618
  vals = [float(v) if "." in str(v) else int(v) for v in vals]
@@ -3679,7 +3686,11 @@ def source_status():
3679
  needs exactly one bit to say "the paid rung is not configured" honestly, and shipping the
3680
  credential to a browser would put a billable secret in every user's devtools.
3681
  """
3682
- return [{"key": s["key"], "label": s["label"], "vendor": s["vendor"],
 
 
 
 
3683
  "ready": bool(s["probe"]()), "canDiscover": bool(s.get("discover"))}
3684
  for s in SOURCES.values()]
3685
 
@@ -4674,6 +4685,20 @@ def apply_actions(rt, defn, table_key, row_ids, username="automation", log=print
4674
  """
4675
  flow = (defn or {}).get("flow") or {}
4676
  actions = flow.get("actions") or []
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4677
  counts = {"actionsRun": 0, "updated": 0, "created": 0, "found": 0, "review": 0,
4678
  "aiDecided": 0, "cycles": 0}
4679
  if not table_key:
 
2612
  bad = [v for v in vals if str(v).lower() not in ok]
2613
  if bad:
2614
  return None, f"{field_label(name)} is answered Yes or No"
2615
+ # β›” A REAL BOOLEAN, NOT THE STRING. MEASURED 2026-08-06: the filter API answers
2616
+ # **400** to `{"name": "is_verified", "operator": "=", "value": "true"}` and
2617
+ # accepts `True` (`snap_msh2rp4kh3v833q0u`). Nobody had ever sent one β€” the field
2618
+ # was a free-text box until this wave, so the Yes/No dropdown that makes it easy
2619
+ # to ask is also the thing that would have made every boolean condition fail.
2620
+ # The dropdown's option VALUES stay "true"/"false" (a <select> carries strings);
2621
+ # the conversion belongs here, at the edge that talks to the vendor.
2622
+ vals = [str(v).lower() == "true" for v in vals]
2623
  if field_kind(name) == "number":
2624
  try:
2625
  vals = [float(v) if "." in str(v) else int(v) for v in vals]
 
3686
  needs exactly one bit to say "the paid rung is not configured" honestly, and shipping the
3687
  credential to a browser would put a billable secret in every user's devtools.
3688
  """
3689
+ # β›” `vendor` IS NOT ON THE WIRE (2026-08-06). It stays in `SOURCES` as the record of which
3690
+ # supplier this rung actually uses β€” that history is worth keeping in the code β€” but a
3691
+ # customer has no use for it, and a server-supplied string rendered by a generic component
3692
+ # is precisely the half a client-file scan cannot see.
3693
+ return [{"key": s["key"], "label": s["label"],
3694
  "ready": bool(s["probe"]()), "canDiscover": bool(s.get("discover"))}
3695
  for s in SOURCES.values()]
3696
 
 
4685
  """
4686
  flow = (defn or {}).get("flow") or {}
4687
  actions = flow.get("actions") or []
4688
+ # β›” THE PINNED STEP IS A PICTURE OF THE ENGINE'S OWN WRITE, NOT A SECOND ONE.
4689
+ #
4690
+ # MEASURED 2026-08-06: a discovery run wrote its candidates through `ut_write_rows` (the
4691
+ # "Save results" node) and THEN walked the flow over the rows it had just written β€” where
4692
+ # the seeded `create_record` inserted every one of them AGAIN. Two rows became four, on
4693
+ # every run, silently, since wave 24 seeded that action. Making step 1 permanent (owner
4694
+ # ruling, same day) would have made the duplication permanent and unavoidable with it.
4695
+ #
4696
+ # ⚠ THE CARD STAYS. It is what the owner asked for and it is honest β€” "this search puts what
4697
+ # it finds in a database" is exactly what the engine does. What it must not do is do it
4698
+ # twice. Skipped HERE rather than not-seeded, so the builder still shows the step and the
4699
+ # server still refuses to let it be removed.
4700
+ if ig_action_pinned(defn, 0) and actions:
4701
+ actions = actions[1:]
4702
  counts = {"actionsRun": 0, "updated": 0, "created": 0, "found": 0, "review": 0,
4703
  "aiDecided": 0, "cycles": 0}
4704
  if not table_key:
web/src/automation/automationApi.ts CHANGED
@@ -417,7 +417,9 @@ export interface TickState {
417
  export interface SourceStatus {
418
  key: string;
419
  label: string;
420
- vendor: string;
 
 
421
  ready: boolean;
422
  canDiscover: boolean;
423
  }
 
417
  export interface SourceStatus {
418
  key: string;
419
  label: string;
420
+ /** β›” NOT SENT any more β€” the supplier is an implementation detail. Optional so an
421
+ * older server's payload still types, never so a surface can print it. */
422
+ vendor?: string;
423
  ready: boolean;
424
  canDiscover: boolean;
425
  }