from flask import Blueprint, jsonify

healthz_bp = Blueprint('ops_healthz', __name__)

@healthz_bp.route('/healthz/live', methods=['GET'])
def live():
    # Minimal liveness: process is running
    return jsonify(status='ok'), 200

@healthz_bp.route('/healthz/ready', methods=['GET'])
def ready():
    # Minimal readiness for now (no external checks)
    return jsonify(status='ready'), 200
