koala73/worldmonitor · error · ConvexError

COMPANY_MONITORING_CLASSIFICATION_FENCED

Error message

COMPANY_MONITORING_CLASSIFICATION_FENCED

What it means

Error "COMPANY_MONITORING_CLASSIFICATION_FENCED" thrown in koala73/worldmonitor.

Source

Thrown at convex/companyMonitoring/admission.ts:463

      q
        .eq("ownerAccountId", args.ownerAccountId)
        .eq("companyId", args.companyId)
        .eq("occurrenceDedupeKey", args.occurrenceDedupeKey),
    )
    .unique();
  const now = Date.now();
  if (
    !candidate ||
    candidate.state !== "pending_classification" ||
    candidate.evidenceRevision !== args.expectedEvidenceRevision ||
    candidate.classificationWorkerId !== workerId ||
    candidate.classificationLeaseToken !== leaseToken ||
    candidate.classificationRunId !== classificationRunId ||
    candidate.classificationRequestedModelVersion !== requestedModelVersion ||
    candidate.classificationLeaseExpiresAt === undefined ||
    candidate.classificationLeaseExpiresAt <= now
  ) {
    throw new ConvexError("COMPANY_MONITORING_CLASSIFICATION_FENCED");
  }
  if (!await admissionScopeIsActive(ctx, candidate)) {
    throw new ConvexError("COMPANY_MONITORING_CLASSIFICATION_FENCED");
  }
  if (candidate.expiresAt <= now) {
    await terminalizeSystemDecision(
      ctx,
      candidate,
      "expire",
      "candidate_expired",
      "hold_expired",
      now,
    );
    return { status: "recorded" as const, decision: "expire" as const };
  }
  const submissionDigest = await fingerprint(canonicalValue({
    requestedModelVersion,
    modelVersion,

View on GitHub (pinned to ffec79ac33)

When it happens

Trigger: Thrown at convex/companyMonitoring/admission.ts:463 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of koala73/worldmonitor@ffec79ac33 (2026-08-12). Data as JSON: /api/errors/4d3ad3d87e5bf653. Report an issue: GitHub.