From a5367ef9ab770d3ebc6787cc44da5803d6377610 Mon Sep 17 00:00:00 2001 From: merberg Date: Fri, 30 Oct 2026 05:21:53 -0700 Subject: [PATCH 01/11] FM3.2c: bounded loopback local AI interests, provenance rechecks and owner-only review --- src/lib/bob/bob_friend_scout.py | 455 +++++++++++++++++++++++++++++++- 1 file changed, 453 insertions(+), 2 deletions(-) diff --git a/src/lib/bob/bob_friend_scout.py b/src/lib/bob/bob_friend_scout.py index b199e5fe..59da08c8 100644 --- a/src/lib/bob/bob_friend_scout.py +++ b/src/lib/bob/bob_friend_scout.py @@ -9,12 +9,13 @@ from datetime import datetime,timezone from html import escape -from http.client import HTTPSConnection +from http.client import HTTPSConnection,HTTPConnection from pathlib import Path from urllib.parse import urlencode,parse_qs,urlsplit import hashlib import hmac import json +import os import re import secrets import sqlite3 @@ -41,7 +42,12 @@ "Interest source is not an active saved friend", "Interest already staged","Interest inbox capacity reached", "Interest changed; reload","Interest record integrity failed", - "Interest decision unavailable","Review reason must be 0-240 characters")) + "Interest decision unavailable","Review reason must be 0-240 characters", + "Local interest AI form invalid","Local interest AI source changed", + "Local interest AI requires a verified active saved friend", + "Local interest AI already running","Local interest AI run limit reached", + "Local interest AI inbox capacity reached","Local interest AI proposal changed", + "Local interest AI proposal unavailable","Local interest AI decision unavailable")) CSS="""