import { NextResponse } from 'next/server';

/** x402-email discovery is intentionally non-operational until its verifier is separately reviewed. */
export const dynamic = 'force-static';

export async function GET() {
  return NextResponse.json(
    {
      name: 'x402-Email',
      specVersion: '0.1.0',
      releaseStatus: 'disabled_pending_readiness_evidence',
      description: 'The x402-Email verifier and payment workflow are disabled pending independently reviewed release-readiness evidence.',
      verifier: null,
      supportedChains: [],
      notes: [
        'No payment rail, settlement receipt, or verifier endpoint is advertised by this release.',
        'Do not submit a payment payload or infer a live Base or Solana integration from historical metadata.',
      ],
    },
    { status: 503, headers: { 'Cache-Control': 'no-store', 'X-Robots-Tag': 'noindex' } },
  );
}
