Intelligence

Artifacts

Browse the repository, read documents, and manage the governance folders. Source, runtime, and infrastructure are read-only.

Repository
globals.csslayout.tsxnot-found.tsxpage.tsx
.gitignoreDockerfilenext-env.d.tsnext.config.mjspackage-lock.jsonpackage.jsonpostcss.config.mjsREADME.mdtailwind.config.tstsconfig.jsontsconfig.tsbuildinfo
README.md
CONSTITUTION_COMPLIANCE_AUDIT_V1.mdREADME.md
repositories/aaf-holdings/hq01/app/api/router/dispatch/route.ts
754 B
import { NextResponse } from "next/server";

/**
 * Mission-level dispatch is retired in PASS M3. Execution now flows through the
 * chain — Mission → Objective → Work Order → Assignment → Execution Context —
 * and the Assignment is the unit of dispatch.
 *
 * Dispatch an assignment via:
 *   POST /api/missions/:id/assignments/:aid/dispatch
 */

export const runtime = "nodejs";
export const dynamic = "force-dynamic";

export async function POST() {
  return NextResponse.json(
    {
      error:
        "Dispatch now requires an Assignment. Execution flows " +
        "Mission → Objective → Work Order → Assignment. " +
        "Dispatch via POST /api/missions/:id/assignments/:aid/dispatch.",
    },
    { status: 409 },
  );
}

root · /srv/aaf