[30388f42] Infrastructure Hardening: Repaired CE/Connector DB schema, fixed frontend styling build, implemented robust echo shield in worker v2.1.1, and integrated Lead Engine into gateway.

This commit is contained in:
2026-03-07 14:08:42 +00:00
parent 35c30bc39a
commit d1b77fd2f6
415 changed files with 24100 additions and 13301 deletions

View File

@@ -0,0 +1,29 @@
import sqlite3
def read_verticals():
conn = sqlite3.connect('/app/companies_v3_fixed_2.db')
cursor = conn.cursor()
verticals = [
"Energy - Grid & Utilities",
"Retail - Non-Food",
"Tech - Data Center",
"Healthcare - Hospital"
]
for v_name in verticals:
cursor.execute("SELECT name, pains, gains, primary_category_id, secondary_category_id, ops_focus_secondary FROM industries WHERE name = ?", (v_name,))
row = cursor.fetchone()
if row:
print(f"--- {row[0]} ---")
print(f"Primary ID: {row[3]}, Secondary ID: {row[4]}, Ops Focus Secondary: {row[5]}")
print(f"PAINS:\n{row[1]}")
print(f"GAINS:\n{row[2]}\n")
else:
print(f"Vertical '{v_name}' not found.")
conn.close()
if __name__ == "__main__":
read_verticals()