{
  "schema": "MAKNOW_AWR002_SYNTHETIC_FIXTURE_v1.0",
  "fixture_id": "AWR002-MUTATION-AUTHORITATIVE-CACHE-001",
  "synthetic": true,
  "rights_and_credentials": "NONE_REQUIRED_OFFLINE",
  "notes": "The proposed cached record is now the sole authoritative, non-reconstructable record.",
  "needs": {
    "cache": {
      "technology": "REDIS_OR_VALKEY",
      "problem_class": "CACHE",
      "problem": "Store authoritative non-reconstructable entitlement records",
      "state_semantics": "AUTHORITATIVE_NON_RECONSTRUCTABLE_CONFLICT_WITH_CACHE",
      "latency_requirement": "P95_LE_80_MS",
      "measured_current_latency": "P95_110_MS_MISSES_TARGET",
      "read_pattern": "REPEATED_CATALOG_READS",
      "write_pattern": "SOURCE_DB_WRITE_CACHE_INVALIDATION",
      "ttl_requirement": "UP_TO_10_MINUTES",
      "eviction_tolerance": "NO_LOSS_ALLOWED",
      "persistence_requirement": "DURABLE_SYSTEM_OF_RECORD_REQUIRED",
      "replication_requirement": "NOT_REQUIRED_AT_CURRENT_SCALE",
      "coordination_need": "NONE",
      "workflow_duration": "NOT_APPLICABLE",
      "workflow_retry_need": "NOT_APPLICABLE",
      "failure_recovery_requirement": "NO_RECONSTRUCTION_SOURCE",
      "replay_or_history_need": "NONE",
      "simpler_alternative": "POSTGRESQL_PLUS_PROCESS_LOCAL_CACHE",
      "simpler_alternative_result": "REQUIRES_AUTHORITY_AND_RECOVERY_REDESIGN",
      "operational_owner": "catalog-team",
      "migration_cost": "NEW_STATEFUL_SERVICE_NOT_JUSTIFIED",
      "failure_surface": "IRRECOVERABLE_AUTHORITY_LOSS",
      "evidence_ref": "synthetic://awr002/mutation/authoritative-cache",
      "authority_refs": [
        "source://AWR-002/REDISUSE",
        "source://AWR-002/VALKEYINTRO",
        "lesson://AWR-002#claim/AWR-002-K1",
        "lesson://AWR-002#claim/AWR-002-K2",
        "lesson://AWR-002#claim/AWR-002-K4"
      ]
    },
    "ephemeral_coordination": {
      "technology": "REDIS_OR_VALKEY",
      "problem_class": "EPHEMERAL_COORDINATION",
      "problem": "Atomic shared rate-limit counter across six application instances",
      "state_semantics": "ATOMIC_SHORT_LIVED_COUNTER",
      "latency_requirement": "P95_LE_10_MS",
      "measured_current_latency": "DATABASE_P95_38_MS_MISSES_TARGET",
      "read_pattern": "READ_CURRENT_WINDOW_COUNT",
      "write_pattern": "ATOMIC_INCREMENT_PER_REQUEST",
      "ttl_requirement": "EXACT_60_SECONDS",
      "eviction_tolerance": "NO_EARLY_EVICTION_BEFORE_TTL",
      "persistence_requirement": "NO_DURABLE_HISTORY_REQUIRED",
      "replication_requirement": "PILOT_FAILOVER_BEHAVIOR_MUST_BE_TESTED",
      "coordination_need": "CROSS_INSTANCE_ATOMIC_INCREMENT",
      "workflow_duration": "NOT_APPLICABLE",
      "workflow_retry_need": "NOT_APPLICABLE",
      "failure_recovery_requirement": "FAIL_CLOSED_OR_BOUNDED_FALLBACK_DEFINED",
      "replay_or_history_need": "NONE",
      "simpler_alternative": "DATABASE_ATOMIC_COUNTER",
      "simpler_alternative_result": "MISSES_DECLARED_TARGET",
      "operational_owner": "platform-team",
      "migration_cost": "BOUNDED_PILOT",
      "failure_surface": "COUNTER_LOSS_SPLIT_BRAIN_OR_PREMATURE_EVICTION",
      "evidence_ref": "synthetic://awr002/baseline/coordination",
      "authority_refs": [
        "source://AWR-002/REDISUSE",
        "source://AWR-002/VALKEYINTRO",
        "lesson://AWR-002#claim/AWR-002-K1",
        "lesson://AWR-002#claim/AWR-002-K2",
        "lesson://AWR-002#claim/AWR-002-K4"
      ]
    },
    "durable_workflow": {
      "technology": "TEMPORAL",
      "problem_class": "DURABLE_WORKFLOW",
      "problem": "Six-hour onboarding with retryable external calls",
      "state_semantics": "DATABASE_BACKED_JOB_STATE",
      "latency_requirement": "NOT_LATENCY_CRITICAL",
      "measured_current_latency": "NOT_APPLICABLE",
      "read_pattern": "READ_JOB_CHECKPOINT",
      "write_pattern": "IDEMPOTENT_CHECKPOINT_UPDATE",
      "ttl_requirement": "NONE",
      "eviction_tolerance": "NONE",
      "persistence_requirement": "CURRENT_DATABASE_CHECKPOINTS_SUFFICIENT",
      "replication_requirement": "DATABASE_POLICY",
      "coordination_need": "SINGLE_JOB_OWNER",
      "workflow_duration": "UP_TO_6_HOURS",
      "workflow_retry_need": "BOUNDED_IDEMPOTENT_RETRY",
      "failure_recovery_requirement": "CURRENT_JOB_RESUME_MEETS_SLO",
      "replay_or_history_need": "AUDIT_LOG_ONLY",
      "human_checkpoint_need": "NONE",
      "simpler_alternative": "DATABASE_BACKED_JOB_RUNNER",
      "simpler_alternative_result": "MEETS_DECLARED_RECOVERY_TARGET",
      "operational_owner": "onboarding-team",
      "migration_cost": "NEW_WORKFLOW_PLATFORM_NOT_JUSTIFIED",
      "failure_surface": "DUPLICATE_EXTERNAL_CALLS",
      "evidence_ref": "synthetic://awr002/baseline/workflow",
      "authority_refs": [
        "source://AWR-002/TEMPORAL",
        "lesson://AWR-002#claim/AWR-002-K3",
        "lesson://AWR-002#claim/AWR-002-K4"
      ]
    }
  }
}
