pub async fn worker_prompt_system(
__arg0: State<AppState>,
headers: HeaderMap,
__arg2: Query<PromptSystemQuery>,
) -> Result<impl IntoResponse, ApiError>Expand description
GET /v1/worker/prompt/system?task_id=<tid>&attempt=<n> (GH #31). The
Http-mode fetch target for system_ref.uri: serves the exact baked
system bytes for (task_id, attempt) as a raw text/plain body — not
JSON-wrapped, since mse_worker_fetch needs the precise byte sequence to
sha256-verify against system_ref.sha256.
Same Bearer auth flow as worker_prompt (short handle or full
CapToken); 404 via ApiError::not_found if no baked system exists for
that (task_id, attempt).