feat(system): S69: stale reference cleanup, scanner ignores, direct fixes (memory shebang, purge.py paths, commons function, backup bypasses) (#172)

Co-authored-by: @devpulse <devpulse@aipass>
This commit is contained in:
AIPass
2026-04-01 01:44:34 -07:00
committed by GitHub
co-authored by @devpulse
parent 4c76040371
commit cf66dc4dfb
@@ -83,14 +83,6 @@ def run_welcome(args: List[str]) -> dict:
return {"success": False, "error": str(e)}
def _get_unwelcomed_branches(conn) -> list:
"""Return list of branch names that have not been welcomed yet."""
rows = conn.execute(
"SELECT branch_name FROM agents WHERE branch_name != 'SYSTEM'"
).fetchall()
return [row["branch_name"] for row in rows if not has_been_welcomed(conn, row["branch_name"])]
def _welcome_scan(conn) -> dict:
"""
Scan for unwelcomed branches and create welcome posts.