{
  "synthetic": true,
  "notLiveOrClient": true,
  "decision": {
    "en": "Create an owner-approved before/after invariant set for protected routes, rather than equating a green build with retained search output.",
    "zh": "建立获准路由前后不变量，不把构建绿灯当成搜索输出保留。"
  },
  "sourceCheckedDate": "2026-11-06",
  "demandSource": "https://www.reddit.com/r/TechSEO/comments/1whxq3h/whats_the_technical_seo_issue_that_keeps_coming/",
  "officialSources": [
    "https://developers.google.com/search/docs/crawling-indexing/javascript/javascript-seo-basics"
  ],
  "cases": [
    {
      "case": "A",
      "input": {
        "en": "Build passes; rendered canonical changed outside approved scope",
        "zh": "构建通过，渲染canonical却超范围变化"
      },
      "expectedOutput": "RELEASE_INVARIANT_FAILED",
      "reason": {
        "en": "A compilation result does not compare protected output",
        "zh": "编译结果没有比较受保护输出"
      }
    },
    {
      "case": "B",
      "input": {
        "en": "New route added; all approved old mains equal",
        "zh": "新增路由，所选旧主体全部一致"
      },
      "expectedOutput": "SELECTED_OUTPUT_PRESERVED",
      "reason": {
        "en": "Proves only the selected versioned check set",
        "zh": "只证明选定版本化检查集合"
      }
    },
    {
      "case": "C",
      "input": {
        "en": "Raw HTML differs, rendered canonical matches",
        "zh": "原HTML不同，渲染canonical相同"
      },
      "expectedOutput": "TWO_REPRESENTATIONS_REVIEW",
      "reason": {
        "en": "Retain both, do not silently normalize a defect away",
        "zh": "两者都留，不默默归一化掉缺陷"
      }
    },
    {
      "case": "D",
      "input": {
        "en": "Earlier baseline replaced by current output after failure",
        "zh": "失败后用当前输出覆盖旧基线"
      },
      "expectedOutput": "BASELINE_RESET_INVALID",
      "reason": {
        "en": "Keep failed comparison and obtain a scoped correction",
        "zh": "保留失败对照，做有限修复"
      }
    },
    {
      "case": "E",
      "input": {
        "en": "An unapproved new route appears in the candidate set",
        "zh": "候选集合多出未批准新路由"
      },
      "expectedOutput": "UNAPPROVED_ROUTE",
      "reason": {
        "en": "The allowed addition set is finite",
        "zh": "许可新增集合有限"
      }
    },
    {
      "case": "F",
      "input": {
        "en": "A protected route has two candidate records",
        "zh": "同一受保护路由有两份候选记录"
      },
      "expectedOutput": "INVALID_INPUT",
      "reason": {
        "en": "Ambiguous records cannot establish retention",
        "zh": "歧义记录不能证明保留"
      }
    }
  ],
  "steps": [
    {
      "en": "Name protected routes, fields, owners and the exact allowed delta.",
      "zh": "列受保护路由、字段、负责人及准确许可差异。"
    },
    {
      "en": "Capture source/build identities and before/after rendered evidence.",
      "zh": "记录源码、构建身份及前后渲染证据。"
    },
    {
      "en": "Pass actual output comparison before observing external search effects.",
      "zh": "先通过输出对照，再独立观察外部搜索效果。"
    }
  ],
  "verification": {
    "en": "A test report lists exact route coverage, failed assertions and both baseline hashes; it cannot certify unseen pages.",
    "zh": "报告列准确路由覆盖、失败断言及前后hash，不能认证未测页面。"
  },
  "limits": {
    "en": "No new audit cron, monitoring slot, production repair, shared dependency change or causal ranking guarantee.",
    "zh": "不新建审计定时器、监测槽，不修生产或共享依赖，也不承诺因果排名效果。"
  },
  "manualReviewOnly": true,
  "relatedOfflineChecker": "invariants.py reads separate filled-input.json only"
}
