ruvnet/ruflo · error · ValidationError

REGION_CONFLICT

REGION_CONFLICT

Error message

Regions appear in both allowed and blocked lists: ${overlap.join(', ')}

What it means

validateDataPolicy() found the same region appearing in both exportControls.allowedRegions and blockedRegions, making the export policy contradictory. The overlap is reported so the manifest author can resolve the conflicting lists.

Source

Thrown at v3/@claude-flow/guidance/src/manifest-validator.ts:592

        errors.push({
          code: 'INVALID_TYPE',
          field: 'dataPolicy.exportControls.blockedRegions',
          message: 'blockedRegions must be an array',
          severity: 'error',
        });
      }

      // Check for overlap between allowed and blocked regions
      if (
        Array.isArray(dataPolicy.exportControls.allowedRegions) &&
        Array.isArray(dataPolicy.exportControls.blockedRegions)
      ) {
        const overlap = dataPolicy.exportControls.allowedRegions.filter(
          r => dataPolicy.exportControls.blockedRegions.includes(r)
        );
        if (overlap.length > 0) {
          errors.push({
            code: 'REGION_CONFLICT',
            field: 'dataPolicy.exportControls',
            message: `Regions appear in both allowed and blocked lists: ${overlap.join(', ')}`,
            severity: 'error',
          });
        }
      }
    }

    return errors;
  }

  // ===== Private validation helpers =====

  private validateRequiredFields(manifest: AgentCellManifest): ValidationError[] {
    const errors: ValidationError[] = [];

    if (!manifest) {
      errors.push({

View on GitHub (pinned to fa13ee4ad6)

Solutions

  1. Remove the overlapping regions from either the allowed or blocked list so each region appears in at most one.
Defensive patterns

Strategy: validation

When it happens

Trigger: Thrown at v3/@claude-flow/guidance/src/manifest-validator.ts:592 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of ruvnet/ruflo@fa13ee4ad6 (2026-08-18). Data as JSON: /api/errors/8565b85834eeaa15. Report an issue: GitHub.