Intelligence
Artifacts
Browse the repository, read documents, and manage the governance folders. Source, runtime, and infrastructure are read-only.
Repository
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