Research-Stack/4-Infrastructure/shim/gremlin_appflowy_bridge.py
allaun 6468138112 refactor(infra): replace AppFloyo REST bridge with report generator
- gremlin_appflowy_bridge.py: deprecated shim → delegates to new module
- gremlin_lean_report.py: generates JSON + Markdown reports from Gremlin
  with module theorem counts, sorries, import/dependency metrics
- AppFloyo Cloud v0.16.5 lacks programmatic database REST API;
  reports can be imported via AppFloyo UI instead
- GoTrue auth (port 9999) is working for future API use
2026-06-30 03:14:05 -05:00

30 lines
716 B
Python

#!/usr/bin/env -S uv run
# /// script
# requires-python = ">=3.11"
# dependencies = [
# "gremlinpython",
# "python-dotenv",
# ]
# ///
"""gremlin_appflowy_bridge.py — DEPRECATED. Use gremlin_lean_report.py instead.
The old AppFloyo Cloud REST API (/api/databases) does not exist in
self-hosted v0.16.5. The replacement generates Markdown/JSON reports
that can be imported into AppFloyo via the UI, or consumed by other
automation.
See: gremlin_lean_report.py
signatures/appflowy_deployment_status.json
"""
import sys
from pathlib import Path
ROOT = Path(__file__).resolve().parents[2]
sys.path.insert(0, str(ROOT / "shim"))
from gremlin_lean_report import main
if __name__ == "__main__":
main()