paperclipai/paperclip · error

Task-watchdog runs must create issues inside the watched iss

Error message

Task-watchdog runs must create issues inside the watched issue subtree.

What it means

403 from the task-watchdog subtree guard: a watchdog-scoped agent attempted to create an issue without a parent (or outside the watched issue subtree), which its scope does not permit.

Source

Thrown at server/src/routes/issues.ts:4777

      id: string;
      companyId: string;
      status: string;
      reviewPolicy?: IssueReviewPolicy | null;
      createdByAgentId?: string | null;
      createdByUserId?: string | null;
    },
    interaction: {
      id: string;
      kind: string;
      status: string;
      createdByAgentId?: string | null;
      createdByUserId?: string | null;
    },
  ): Promise<{
    restriction: IssueThreadInteractionCanonicalResolverPolicy | IssueThreadInteractionResolverRestriction;
    binding: "explicit" | "legacy";
  } | null> {
    if (
      issue.status !== "in_review"
      || interaction.status !== "pending"
      || (
        interaction.kind !== "request_confirmation"
        && interaction.kind !== "request_checkbox_confirmation"
      )
    ) return null;
    if (!(await isIssueReviewVerdictInteraction(db, { issue, interaction }))) return null;
    const requester = await resolveIssueReviewRequester(db, issue);
    const binding = requester?.reviewInteractionId === interaction.id ? "explicit" : "legacy";
    if (issue.reviewPolicy == null || issue.reviewPolicy === "anyone") {
      return { restriction: "anyone", binding };
    }
    if (issue.reviewPolicy === "human_only") {
      return { restriction: { policy: "human_only", source: "issue_review" }, binding };
    }
    return {
      restriction: {

View on GitHub (pinned to 01ad858492)

Solutions

  1. Correct the request so it satisfies the condition stated in the error message, then retry; see the throwing line in the named file for the exact check.
Defensive patterns

Strategy: validation

When it happens

Trigger: Thrown at server/src/routes/issues.ts:4613 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of paperclipai/paperclip@01ad858492 (2026-08-18). Data as JSON: /api/errors/dd00158dbe7fbbf9. Report an issue: GitHub.