{
  "version": "best-practices-v2",
  "authority": "Canonical practice IDs, expected behavior, assessment requirements and coverage. catalog.json records implementation mechanics. Update practices.json first for future practice changes; regenerate this guide and reconcile SQL/catalog/consumers. Implementation coverage is not a client finding.",
  "client_status": "NOT_ASSESSED",
  "native_status": "NOT_RUN",
  "baseline": {
    "path": "plans/sf-tools-build-20261105/candidate/controls/assessment-controls.json",
    "sha256": "7f79cadf5eacc30dd63247b973deddf1c0ed89ac83102c4d93c10aad15dc6913",
    "control_count": 74,
    "preservation": "Each practice retains its full original baseline_record; no baseline finding is asserted."
  },
  "coverage": {
    "practices": 74,
    "checks": 92,
    "native_metadata_checks": 70,
    "show_capture_checks": 20,
    "query_profile_checks": 1,
    "approved_input_checks": 21,
    "practices_with_metadata_or_profile_signals": 55,
    "practices_with_only_approved_input_checks": 19,
    "unmapped_practices": 0,
    "complete_practices": 0
  },
  "consumer_choice": {
    "primary": "Standalone Snowflake SELECT SQL",
    "notebook": "All implemented SQL checks visible in SQL cells; separate read-only capture cells where required",
    "dashboard": "Warehouse-runtime Streamlit in Snowflake",
    "excel": "Not used",
    "legacy_snowsight_dashboards": "Removed June 2026; not the selected consumer",
    "legacy_snowsight_source": "https://docs.snowflake.com/en/user-guide/ui-snowsight-dashboards",
    "legacy_snowsight_documented_removal_date": "2026-06-22"
  },
  "signal_contract": {
    "CANDIDATE": "Measured review candidate requiring owner validation",
    "CONTEXT": "Measured context without a verified deficiency",
    "UNKNOWN": "Missing, incomplete, denied, stale, unsupported or unresolved evidence; empty populations are not passes"
  },
  "trace_contract": [
    "Practice ID and expected behavior",
    "Mapped check SQL and native source contract",
    "ANALYSIS and provenance-decorated REPORTING views",
    "Jupyter and warehouse-runtime Snowflake Streamlit",
    "Owner-validated finding with approved population/window and business consequence",
    "Prioritized roadmap work package with owner, dependencies and future acceptance"
  ],
  "practices": [
    {
      "id": "BUSINESS-01",
      "domain": "BUSINESS",
      "title": "Classify business-critical data services and consequences",
      "expected_behavior": "Owners agree criticality and consequences for each sampled service.",
      "evidence": "Service catalog, product walkthrough and impact criteria",
      "method": "artifact",
      "owner": "Product owner",
      "check_ids": [
        "AP90"
      ],
      "implementation_coverage": "APPROVED_INPUT_VALIDATION_ONLY",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP90: Owner-supplied aggregate/context input only; no live metadata conclusion, production action or automatic approval. Empty input is UNKNOWN."
      ],
      "manual_gap": "These queries validate explicitly supplied owner records; they do not independently discover or prove external business/process assertions. Service catalog, product walkthrough and impact criteria still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the product owner and inspect approved service catalog, product walkthrough and impact criteria; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Inventory critical services with owners, consumers, disruption consequences and agreed priority; use that criticality to select representative assessment journeys.",
      "future_acceptance": "Owners agree criticality and consequences for each sampled service. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required service catalog, product walkthrough and impact criteria is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://www.snowflake.com/en/developers/guides/well-architected-framework-operational-excellence/"
      ],
      "check_implementations": [
        {
          "check_id": "AP90",
          "sql": "sql/checks/AP90_service_requirements.sql",
          "direct_sql": "sql/direct-live/AP90_service_requirements.sql",
          "sources": [
            "SERVICE_REQUIREMENTS"
          ],
          "method_kind": "approved_input",
          "remediation": "Assign business and engineering owners, approve criticality and measurable targets; missing fields do not authorize invented requirements.",
          "limitations": "Owner-supplied aggregate/context input only; no live metadata conclusion, production action or automatic approval. Empty input is UNKNOWN."
        }
      ],
      "baseline_record": {
        "id": "BUSINESS-01",
        "domain": "BUSINESS",
        "practice": "Classify business-critical data services and consequences",
        "evidence": "Service catalog, product walkthrough and impact criteria",
        "method": "artifact",
        "owner_role": "Product owner",
        "source_ids": [
          "WAF-OPS"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned control example: Owners agree criticality and consequences for each sampled service.",
        "remediation_case": "Planned adverse example: classify business-critical data services and consequences is contradicted by the required evidence; validate business consequence before a finding.",
        "unknown_case": "Required service catalog, product walkthrough and impact criteria is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Owners agree criticality and consequences for each sampled service. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W3",
        "manual_alternative": "Interview the product owner and inspect approved service catalog, product walkthrough and impact criteria; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "approved_input"
      ]
    },
    {
      "id": "BUSINESS-02",
      "domain": "BUSINESS",
      "title": "Bound account, environment and assessment scope",
      "expected_behavior": "Sponsor approves account boundaries, sample and explicit unknown sources.",
      "evidence": "Account/environment inventory and approved exclusions",
      "method": "mixed",
      "owner": "Product owner",
      "check_ids": [
        "AP90"
      ],
      "implementation_coverage": "APPROVED_INPUT_VALIDATION_ONLY",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP90: Owner-supplied aggregate/context input only; no live metadata conclusion, production action or automatic approval. Empty input is UNKNOWN."
      ],
      "manual_gap": "These queries validate explicitly supplied owner records; they do not independently discover or prove external business/process assertions. Account/environment inventory and approved exclusions still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the product owner and inspect approved account/environment inventory and approved exclusions; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Approve account/environment boundaries, source visibility and explicit exclusions before collecting metadata; retain uncovered populations in the evidence register.",
      "future_acceptance": "Sponsor approves account boundaries, sample and explicit unknown sources. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required account/environment inventory and approved exclusions is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://www.snowflake.com/en/developers/guides/well-architected-framework-operational-excellence/"
      ],
      "check_implementations": [
        {
          "check_id": "AP90",
          "sql": "sql/checks/AP90_service_requirements.sql",
          "direct_sql": "sql/direct-live/AP90_service_requirements.sql",
          "sources": [
            "SERVICE_REQUIREMENTS"
          ],
          "method_kind": "approved_input",
          "remediation": "Assign business and engineering owners, approve criticality and measurable targets; missing fields do not authorize invented requirements.",
          "limitations": "Owner-supplied aggregate/context input only; no live metadata conclusion, production action or automatic approval. Empty input is UNKNOWN."
        }
      ],
      "baseline_record": {
        "id": "BUSINESS-02",
        "domain": "BUSINESS",
        "practice": "Bound account, environment and assessment scope",
        "evidence": "Account/environment inventory and approved exclusions",
        "method": "mixed",
        "owner_role": "Product owner",
        "source_ids": [
          "WAF-OPS"
        ],
        "query_ids": [
          "PREFLIGHT"
        ],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "partial",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "Existing references expose narrow observations only; account/environment inventory and approved exclusions still need owner-validated evidence. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned control example: Sponsor approves account boundaries, sample and explicit unknown sources.",
        "remediation_case": "Planned adverse example: bound account, environment and assessment scope is contradicted by the required evidence; validate business consequence before a finding.",
        "unknown_case": "Required account/environment inventory and approved exclusions is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Sponsor approves account boundaries, sample and explicit unknown sources. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W3",
        "manual_alternative": "Interview the product owner and inspect approved account/environment inventory and approved exclusions; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "existing_partial_observation"
      },
      "method_kinds": [
        "approved_input"
      ]
    },
    {
      "id": "BUSINESS-03",
      "domain": "BUSINESS",
      "title": "Trace selected source-to-consumer journeys",
      "expected_behavior": "Source and consumer owners reconcile every sampled handoff or record gaps.",
      "evidence": "Declared edges, source logs, orchestration and BI owner maps",
      "method": "mixed",
      "owner": "Product owner",
      "check_ids": [
        "AP16"
      ],
      "implementation_coverage": "METADATA_OR_PROFILE_SIGNALS",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP16: No absence/unused-object inference. Runtime dynamic SQL, external pipelines, exports and BI/AI copies need other evidence."
      ],
      "manual_gap": "Metadata/profile SQL provides evidence, not complete control assurance. Declared edges, source logs, orchestration and BI owner maps still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the product owner and inspect approved declared edges, source logs, orchestration and bi owner maps; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Walk selected source-to-consumer handoffs with source and BI owners; reconcile business timestamps, orchestration and recipients instead of treating dependency metadata as complete lineage.",
      "future_acceptance": "Source and consumer owners reconcile every sampled handoff or record gaps. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required declared edges, source logs, orchestration and bi owner maps is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://www.snowflake.com/en/developers/guides/well-architected-framework-operational-excellence/"
      ],
      "check_implementations": [
        {
          "check_id": "AP16",
          "sql": "sql/checks/AP16_declared_dependencies.sql",
          "direct_sql": "sql/direct-live/AP16_declared_dependencies.sql",
          "sources": [
            "OBJECT_DEPENDENCIES"
          ],
          "method_kind": "native_metadata",
          "remediation": "Validate edges with source/platform/consumer owners, investigate unknown links and update architecture/work packages.",
          "limitations": "No absence/unused-object inference. Runtime dynamic SQL, external pipelines, exports and BI/AI copies need other evidence."
        }
      ],
      "baseline_record": {
        "id": "BUSINESS-03",
        "domain": "BUSINESS",
        "practice": "Trace selected source-to-consumer journeys",
        "evidence": "Declared edges, source logs, orchestration and BI owner maps",
        "method": "mixed",
        "owner_role": "Product owner",
        "source_ids": [
          "WAF-OPS"
        ],
        "query_ids": [
          "META_LINEAGE"
        ],
        "story_ids": [
          "claims-publish"
        ],
        "tile_ids": [
          "LINEAGE"
        ],
        "sql_coverage": "partial",
        "story_coverage": "partial",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "Existing references expose narrow observations only; declared edges, source logs, orchestration and bi owner maps still need owner-validated evidence. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned control example: Source and consumer owners reconcile every sampled handoff or record gaps.",
        "remediation_case": "Planned adverse example: trace selected source-to-consumer journeys is contradicted by the required evidence; validate business consequence before a finding.",
        "unknown_case": "Required declared edges, source logs, orchestration and bi owner maps is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Source and consumer owners reconcile every sampled handoff or record gaps. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W3",
        "manual_alternative": "Interview the product owner and inspect approved declared edges, source logs, orchestration and bi owner maps; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "existing_partial_observation"
      },
      "method_kinds": [
        "native_metadata"
      ]
    },
    {
      "id": "BUSINESS-04",
      "domain": "BUSINESS",
      "title": "Agree business freshness and response targets",
      "expected_behavior": "Owners approve measurable consumer objectives and representative windows.",
      "evidence": "Business timestamp definitions, cutoff/SLO contracts and peak periods",
      "method": "artifact",
      "owner": "Product owner",
      "check_ids": [
        "AP03",
        "AP90"
      ],
      "implementation_coverage": "METADATA_OR_PROFILE_SIGNALS",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP03: Parameterized hashes do not normalize every difference; only successful completed query rows are included; singleton percentile is context.",
        "AP90: Owner-supplied aggregate/context input only; no live metadata conclusion, production action or automatic approval. Empty input is UNKNOWN."
      ],
      "manual_gap": "Metadata/profile SQL provides evidence, not complete control assurance. Business timestamp definitions, cutoff/SLO contracts and peak periods still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the product owner and inspect approved business timestamp definitions, cutoff/slo contracts and peak periods; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Agree response and freshness objectives, business cutoff times and peak populations before interpreting slow-query or latency thresholds.",
      "future_acceptance": "Owners approve measurable consumer objectives and representative windows. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required business timestamp definitions, cutoff/slo contracts and peak periods is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://www.snowflake.com/en/developers/guides/well-architected-framework-operational-excellence/",
        "https://docs.snowflake.com/en/sql-reference/account-usage/query_history",
        "https://docs.snowflake.com/en/user-guide/query-hash",
        "https://docs.snowflake.com/en/user-guide/performance-query-exploring"
      ],
      "check_implementations": [
        {
          "check_id": "AP03",
          "sql": "sql/checks/AP03_slow_families.sql",
          "direct_sql": "sql/direct-live/AP03_slow_families.sql",
          "sources": [
            "QUERY_HISTORY"
          ],
          "method_kind": "native_metadata",
          "remediation": "Profile recurring expensive families and compare controlled trials.",
          "limitations": "Parameterized hashes do not normalize every difference; only successful completed query rows are included; singleton percentile is context."
        },
        {
          "check_id": "AP90",
          "sql": "sql/checks/AP90_service_requirements.sql",
          "direct_sql": "sql/direct-live/AP90_service_requirements.sql",
          "sources": [
            "SERVICE_REQUIREMENTS"
          ],
          "method_kind": "approved_input",
          "remediation": "Assign business and engineering owners, approve criticality and measurable targets; missing fields do not authorize invented requirements.",
          "limitations": "Owner-supplied aggregate/context input only; no live metadata conclusion, production action or automatic approval. Empty input is UNKNOWN."
        }
      ],
      "baseline_record": {
        "id": "BUSINESS-04",
        "domain": "BUSINESS",
        "practice": "Agree business freshness and response targets",
        "evidence": "Business timestamp definitions, cutoff/SLO contracts and peak periods",
        "method": "artifact",
        "owner_role": "Product owner",
        "source_ids": [
          "WAF-OPS"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned control example: Owners approve measurable consumer objectives and representative windows.",
        "remediation_case": "Planned adverse example: agree business freshness and response targets is contradicted by the required evidence; validate business consequence before a finding.",
        "unknown_case": "Required business timestamp definitions, cutoff/slo contracts and peak periods is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Owners approve measurable consumer objectives and representative windows. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W3",
        "manual_alternative": "Interview the product owner and inspect approved business timestamp definitions, cutoff/slo contracts and peak periods; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "approved_input",
        "native_metadata"
      ]
    },
    {
      "id": "BUSINESS-05",
      "domain": "BUSINESS",
      "title": "Assign accountable roadmap decisions and capacity",
      "expected_behavior": "Roadmap work packages have proposed owners, prerequisites and future tests.",
      "evidence": "Decision log, delivery ownership and capacity assumptions",
      "method": "artifact",
      "owner": "Product owner",
      "check_ids": [
        "AP91"
      ],
      "implementation_coverage": "APPROVED_INPUT_VALIDATION_ONLY",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP91: Owner-supplied aggregate/context input only; no live metadata conclusion, production action or automatic approval. Empty input is UNKNOWN."
      ],
      "manual_gap": "These queries validate explicitly supplied owner records; they do not independently discover or prove external business/process assertions. Decision log, delivery ownership and capacity assumptions still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the product owner and inspect approved decision log, delivery ownership and capacity assumptions; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Convert validated findings into bounded work packages with accountable owners, prerequisites, business outcomes and separately approved acceptance tests.",
      "future_acceptance": "Roadmap work packages have proposed owners, prerequisites and future tests. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required decision log, delivery ownership and capacity assumptions is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://www.snowflake.com/en/developers/guides/well-architected-framework-operational-excellence/"
      ],
      "check_implementations": [
        {
          "check_id": "AP91",
          "sql": "sql/checks/AP91_roadmap_items.sql",
          "direct_sql": "sql/direct-live/AP91_roadmap_items.sql",
          "sources": [
            "ROADMAP_ITEMS"
          ],
          "method_kind": "approved_input",
          "remediation": "Complete evidence-linked scope, proposed ownership, dependencies, indicative effort and future acceptance; sponsor approval is separate from a complete record.",
          "limitations": "Owner-supplied aggregate/context input only; no live metadata conclusion, production action or automatic approval. Empty input is UNKNOWN."
        }
      ],
      "baseline_record": {
        "id": "BUSINESS-05",
        "domain": "BUSINESS",
        "practice": "Assign accountable roadmap decisions and capacity",
        "evidence": "Decision log, delivery ownership and capacity assumptions",
        "method": "artifact",
        "owner_role": "Product owner",
        "source_ids": [
          "WAF-OPS"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned control example: Roadmap work packages have proposed owners, prerequisites and future tests.",
        "remediation_case": "Planned adverse example: assign accountable roadmap decisions and capacity is contradicted by the required evidence; validate business consequence before a finding.",
        "unknown_case": "Required decision log, delivery ownership and capacity assumptions is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Roadmap work packages have proposed owners, prerequisites and future tests. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W3",
        "manual_alternative": "Interview the product owner and inspect approved decision log, delivery ownership and capacity assumptions; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "approved_input"
      ]
    },
    {
      "id": "IDENTITY-01",
      "domain": "IDENTITY",
      "title": "Review enforced authentication for human identities",
      "expected_behavior": "Security validates effective human authentication and documented exceptions.",
      "evidence": "Identity-provider policies, user inventory and permitted authentication methods",
      "method": "artifact",
      "owner": "Identity/security owner",
      "check_ids": [
        "AP17",
        "AP20"
      ],
      "implementation_coverage": "METADATA_OR_PROFILE_SIGNALS",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP17:  Native execution NOT_RUN. Metadata cannot establish business purpose or policy effectiveness.",
        "AP20: An absent second factor in this record does not establish absence of upstream MFA. Native execution NOT_RUN. Metadata cannot establish business purpose or policy effectiveness."
      ],
      "manual_gap": "Metadata/profile SQL provides evidence, not complete control assurance. Identity-provider policies, user inventory and permitted authentication methods still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the identity/security owner and inspect approved identity-provider policies, user inventory and permitted authentication methods; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Reconcile human authentication configuration and exceptions with approved enforcement requirements; enrollment alone does not establish effective authentication enforcement.",
      "future_acceptance": "Security validates effective human authentication and documented exceptions. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required identity-provider policies, user inventory and permitted authentication methods is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://www.snowflake.com/en/developers/guides/well-architected-framework-security-and-governance/"
      ],
      "check_implementations": [
        {
          "check_id": "AP17",
          "sql": "sql/checks/AP17_human_authentication.sql",
          "direct_sql": "sql/direct-live/AP17_human_authentication.sql",
          "sources": [
            "USERS"
          ],
          "method_kind": "native_metadata",
          "remediation": "Confirm effective authentication policy, IdP MFA and exception approvals; enrollment alone is not enforcement.",
          "limitations": " Native execution NOT_RUN. Metadata cannot establish business purpose or policy effectiveness."
        },
        {
          "check_id": "AP20",
          "sql": "sql/checks/AP20_login_failures.sql",
          "direct_sql": "sql/direct-live/AP20_login_failures.sql",
          "sources": [
            "LOGIN_HISTORY"
          ],
          "method_kind": "native_metadata",
          "remediation": "Investigate failed attempts and successful password authentications without a recorded second factor; correlate IdP and security logs.",
          "limitations": "An absent second factor in this record does not establish absence of upstream MFA. Native execution NOT_RUN. Metadata cannot establish business purpose or policy effectiveness."
        }
      ],
      "baseline_record": {
        "id": "IDENTITY-01",
        "domain": "IDENTITY",
        "practice": "Review enforced authentication for human identities",
        "evidence": "Identity-provider policies, user inventory and permitted authentication methods",
        "method": "artifact",
        "owner_role": "Identity/security owner",
        "source_ids": [
          "WAF-SEC"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned control example: Security validates effective human authentication and documented exceptions.",
        "remediation_case": "Planned adverse example: review enforced authentication for human identities is contradicted by the required evidence; validate business consequence before a finding.",
        "unknown_case": "Required identity-provider policies, user inventory and permitted authentication methods is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Security validates effective human authentication and documented exceptions. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W3",
        "manual_alternative": "Interview the identity/security owner and inspect approved identity-provider policies, user inventory and permitted authentication methods; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "native_metadata"
      ]
    },
    {
      "id": "IDENTITY-02",
      "domain": "IDENTITY",
      "title": "Review service identity authentication and rotation",
      "expected_behavior": "Service credentials use approved methods and tested renewal ownership.",
      "evidence": "Service owners, key/OAuth configuration and rotation records",
      "method": "artifact",
      "owner": "Identity/security owner",
      "check_ids": [
        "AP18"
      ],
      "implementation_coverage": "METADATA_OR_PROFILE_SIGNALS",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP18: SERVICE password NULL is not evidence of a bad configuration. No credential values collected; key presence does not prove rotation. Native execution NOT_RUN. Metadata cannot establish business purpose or policy effectiveness."
      ],
      "manual_gap": "Metadata/profile SQL provides evidence, not complete control assurance. Service owners, key/OAuth configuration and rotation records still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the identity/security owner and inspect approved service owners, key/oauth configuration and rotation records; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Inventory service identities, authentication methods and rotation owners; plan credential renewal with dependency and recovery checks before removing working credentials.",
      "future_acceptance": "Service credentials use approved methods and tested renewal ownership. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required service owners, key/oauth configuration and rotation records is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://www.snowflake.com/en/developers/guides/well-architected-framework-security-and-governance/"
      ],
      "check_implementations": [
        {
          "check_id": "AP18",
          "sql": "sql/checks/AP18_service_authentication.sql",
          "direct_sql": "sql/direct-live/AP18_service_authentication.sql",
          "sources": [
            "USERS"
          ],
          "method_kind": "native_metadata",
          "remediation": "Reconcile approved OAuth, key, PAT or workload identity methods with service owner and tested rotation records.",
          "limitations": "SERVICE password NULL is not evidence of a bad configuration. No credential values collected; key presence does not prove rotation. Native execution NOT_RUN. Metadata cannot establish business purpose or policy effectiveness."
        }
      ],
      "baseline_record": {
        "id": "IDENTITY-02",
        "domain": "IDENTITY",
        "practice": "Review service identity authentication and rotation",
        "evidence": "Service owners, key/OAuth configuration and rotation records",
        "method": "artifact",
        "owner_role": "Identity/security owner",
        "source_ids": [
          "WAF-SEC"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned control example: Service credentials use approved methods and tested renewal ownership.",
        "remediation_case": "Planned adverse example: review service identity authentication and rotation is contradicted by the required evidence; validate business consequence before a finding.",
        "unknown_case": "Required service owners, key/oauth configuration and rotation records is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Service credentials use approved methods and tested renewal ownership. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W3",
        "manual_alternative": "Interview the identity/security owner and inspect approved service owners, key/oauth configuration and rotation records; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "native_metadata"
      ]
    },
    {
      "id": "IDENTITY-03",
      "domain": "IDENTITY",
      "title": "Identify dormant or departed identities",
      "expected_behavior": "Identity owner dispositions each stale identity without breaking services.",
      "evidence": "User lifecycle records, last activity and HR-approved status evidence",
      "method": "artifact",
      "owner": "Identity/security owner",
      "check_ids": [
        "AP19"
      ],
      "implementation_coverage": "METADATA_OR_PROFILE_SIGNALS",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP19: 90 days is an explicit review screen, not an approved removal policy. NULL last login may reflect history retention. Native execution NOT_RUN. Metadata cannot establish business purpose or policy effectiveness."
      ],
      "manual_gap": "Metadata/profile SQL provides evidence, not complete control assurance. User lifecycle records, last activity and HR-approved status evidence still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the identity/security owner and inspect approved user lifecycle records, last activity and hr-approved status evidence; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Validate apparent inactivity against service and personnel records; obtain owner disposition before disabling identities and preserve approved emergency access.",
      "future_acceptance": "Identity owner dispositions each stale identity without breaking services. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required user lifecycle records, last activity and hr-approved status evidence is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://www.snowflake.com/en/developers/guides/well-architected-framework-security-and-governance/"
      ],
      "check_implementations": [
        {
          "check_id": "AP19",
          "sql": "sql/checks/AP19_dormant_users.sql",
          "direct_sql": "sql/direct-live/AP19_dormant_users.sql",
          "sources": [
            "USERS"
          ],
          "method_kind": "native_metadata",
          "remediation": "Owner dispositions identities inactive for the review screen of 90 days; confirm HR status and service dependencies.",
          "limitations": "90 days is an explicit review screen, not an approved removal policy. NULL last login may reflect history retention. Native execution NOT_RUN. Metadata cannot establish business purpose or policy effectiveness."
        }
      ],
      "baseline_record": {
        "id": "IDENTITY-03",
        "domain": "IDENTITY",
        "practice": "Identify dormant or departed identities",
        "evidence": "User lifecycle records, last activity and HR-approved status evidence",
        "method": "artifact",
        "owner_role": "Identity/security owner",
        "source_ids": [
          "WAF-SEC"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned control example: Identity owner dispositions each stale identity without breaking services.",
        "remediation_case": "Planned adverse example: identify dormant or departed identities is contradicted by the required evidence; validate business consequence before a finding.",
        "unknown_case": "Required user lifecycle records, last activity and hr-approved status evidence is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Identity owner dispositions each stale identity without breaking services. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W3",
        "manual_alternative": "Interview the identity/security owner and inspect approved user lifecycle records, last activity and hr-approved status evidence; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "native_metadata"
      ]
    },
    {
      "id": "IDENTITY-04",
      "domain": "IDENTITY",
      "title": "Separate privileged working access from ordinary use",
      "expected_behavior": "Owners approve restricted elevation, monitoring and emergency access tests.",
      "evidence": "Privileged identities, break-glass process and administrator activity",
      "method": "artifact",
      "owner": "Identity/security owner",
      "check_ids": [
        "AP10"
      ],
      "implementation_coverage": "METADATA_OR_PROFILE_SIGNALS",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP10: Grant metadata latency; account-role paths limited to eight edges. Null-disabled users excluded from enabled counts. Deleted identities report default-role metadata only; historical grants cannot be joined safely by reused name. Potential capability is not proof of session use."
      ],
      "manual_gap": "Metadata/profile SQL provides evidence, not complete control assurance. Privileged identities, break-glass process and administrator activity still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the identity/security owner and inspect approved privileged identities, break-glass process and administrator activity; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Review distinct administrative-capable identities, direct and inherited grants, default roles and emergency access against an owner-approved target; no universal maximum applies.",
      "future_acceptance": "Owners approve restricted elevation, monitoring and emergency access tests. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required privileged identities, break-glass process and administrator activity is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://www.snowflake.com/en/developers/guides/well-architected-framework-security-and-governance/",
        "https://docs.snowflake.com/en/sql-reference/account-usage/roles",
        "https://docs.snowflake.com/en/sql-reference/account-usage/grants_to_roles",
        "https://docs.snowflake.com/en/sql-reference/account-usage/grants_to_users",
        "https://docs.snowflake.com/en/sql-reference/account-usage/users",
        "https://docs.snowflake.com/en/user-guide/security-access-control-considerations"
      ],
      "check_implementations": [
        {
          "check_id": "AP10",
          "sql": "sql/checks/AP10_account_admin_assignments.sql",
          "direct_sql": "sql/direct-live/AP10_account_admin_assignments.sql",
          "sources": [
            "ROLES",
            "GRANTS_TO_ROLES",
            "GRANTS_TO_USERS",
            "USERS"
          ],
          "method_kind": "native_metadata",
          "remediation": "Review break-glass and operational needs; obtain owner target and authorization before changes.",
          "limitations": "Grant metadata latency; account-role paths limited to eight edges. Null-disabled users excluded from enabled counts. Deleted identities report default-role metadata only; historical grants cannot be joined safely by reused name. Potential capability is not proof of session use."
        }
      ],
      "baseline_record": {
        "id": "IDENTITY-04",
        "domain": "IDENTITY",
        "practice": "Separate privileged working access from ordinary use",
        "evidence": "Privileged identities, break-glass process and administrator activity",
        "method": "artifact",
        "owner_role": "Identity/security owner",
        "source_ids": [
          "WAF-SEC"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned control example: Owners approve restricted elevation, monitoring and emergency access tests.",
        "remediation_case": "Planned adverse example: separate privileged working access from ordinary use is contradicted by the required evidence; validate business consequence before a finding.",
        "unknown_case": "Required privileged identities, break-glass process and administrator activity is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Owners approve restricted elevation, monitoring and emergency access tests. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W3",
        "manual_alternative": "Interview the identity/security owner and inspect approved privileged identities, break-glass process and administrator activity; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "native_metadata"
      ]
    },
    {
      "id": "IDENTITY-05",
      "domain": "IDENTITY",
      "title": "Reconcile identity provisioning and deprovisioning",
      "expected_behavior": "A sampled lifecycle change has approvals and evidence of timely access removal.",
      "evidence": "Provisioning workflows and selected joiner/mover/leaver records",
      "method": "artifact",
      "owner": "Identity/security owner",
      "check_ids": [
        "AP21",
        "AP35",
        "AP39"
      ],
      "implementation_coverage": "METADATA_OR_PROFILE_SIGNALS",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP21: No Snowflake metadata proves that a missing HR leaver was deprovisioned; disabled-only transitions are not historical events in this snapshot. Native execution NOT_RUN. Metadata cannot establish business purpose or policy effectiveness.",
        "AP35: Presence and enablement do not prove SCIM deprovisioning or storage credential rotation. Native execution NOT_RUN. Metadata cannot establish business purpose or policy effectiveness.",
        "AP39: Disabled users cannot log in; retained roles are reconciliation leads, not proof of usable access. Historical grant lifecycle may lag. Native execution NOT_RUN. Metadata cannot establish business purpose or policy effectiveness."
      ],
      "manual_gap": "Metadata/profile SQL provides evidence, not complete control assurance. Provisioning workflows and selected joiner/mover/leaver records still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the identity/security owner and inspect approved provisioning workflows and selected joiner/mover/leaver records; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Trace selected joiner/mover/leaver changes from approval through effective grants and downstream service identity impact; correct confirmed provisioning gaps through the identity owner.",
      "future_acceptance": "A sampled lifecycle change has approvals and evidence of timely access removal. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required provisioning workflows and selected joiner/mover/leaver records is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://www.snowflake.com/en/developers/guides/well-architected-framework-security-and-governance/"
      ],
      "check_implementations": [
        {
          "check_id": "AP21",
          "sql": "sql/checks/AP21_identity_lifecycle.sql",
          "direct_sql": "sql/direct-live/AP21_identity_lifecycle.sql",
          "sources": [
            "USERS"
          ],
          "method_kind": "native_metadata",
          "remediation": "Match created and deleted identities to approved joiner mover leaver tickets and timing; reconcile HR or IdP roster separately.",
          "limitations": "No Snowflake metadata proves that a missing HR leaver was deprovisioned; disabled-only transitions are not historical events in this snapshot. Native execution NOT_RUN. Metadata cannot establish business purpose or policy effectiveness."
        },
        {
          "check_id": "AP35",
          "sql": "sql/checks/AP35_security_integrations.sql",
          "direct_sql": "sql/direct-live/AP35_security_integrations.sql",
          "sources": [
            "EXP_INTEGRATIONS"
          ],
          "method_kind": "metadata_capture",
          "remediation": "Reconcile integration owner, enablement and intended clients; inspect only approved nonsecret properties and external workflow evidence.",
          "limitations": "Presence and enablement do not prove SCIM deprovisioning or storage credential rotation. Native execution NOT_RUN. Metadata cannot establish business purpose or policy effectiveness."
        },
        {
          "check_id": "AP39",
          "sql": "sql/checks/AP39_disabled_user_grants.sql",
          "direct_sql": "sql/direct-live/AP39_disabled_user_grants.sql",
          "sources": [
            "USERS",
            "GRANTS_TO_USERS"
          ],
          "method_kind": "native_metadata",
          "remediation": "Reconcile retained assignments with deprovisioning tickets and approved suspension semantics before role removal.",
          "limitations": "Disabled users cannot log in; retained roles are reconciliation leads, not proof of usable access. Historical grant lifecycle may lag. Native execution NOT_RUN. Metadata cannot establish business purpose or policy effectiveness."
        }
      ],
      "baseline_record": {
        "id": "IDENTITY-05",
        "domain": "IDENTITY",
        "practice": "Reconcile identity provisioning and deprovisioning",
        "evidence": "Provisioning workflows and selected joiner/mover/leaver records",
        "method": "artifact",
        "owner_role": "Identity/security owner",
        "source_ids": [
          "WAF-SEC"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned control example: A sampled lifecycle change has approvals and evidence of timely access removal.",
        "remediation_case": "Planned adverse example: reconcile identity provisioning and deprovisioning is contradicted by the required evidence; validate business consequence before a finding.",
        "unknown_case": "Required provisioning workflows and selected joiner/mover/leaver records is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "A sampled lifecycle change has approvals and evidence of timely access removal. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W3",
        "manual_alternative": "Interview the identity/security owner and inspect approved provisioning workflows and selected joiner/mover/leaver records; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "metadata_capture",
        "native_metadata"
      ]
    },
    {
      "id": "RBAC-01",
      "domain": "RBAC",
      "title": "Design role hierarchy around job and workload responsibilities",
      "expected_behavior": "Role hierarchy supports documented duties with bounded privilege inheritance.",
      "evidence": "Full role inheritance graph, job duties and owner-approved role design",
      "method": "artifact",
      "owner": "Security and platform owner",
      "check_ids": [
        "AP07"
      ],
      "implementation_coverage": "METADATA_OR_PROFILE_SIGNALS",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP07: Explicit account roles only; implicit PUBLIC and nonaccount roles excluded; selected root and max depth at most eight."
      ],
      "manual_gap": "Metadata/profile SQL provides evidence, not complete control assurance. Full role inheritance graph, job duties and owner-approved role design still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the security and platform owner and inspect approved full role inheritance graph, job duties and owner-approved role design; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Reconcile selected-root inheritance paths with documented duties; resolve unexplained privilege inheritance and incomplete paths before proposing a job-role redesign.",
      "future_acceptance": "Role hierarchy supports documented duties with bounded privilege inheritance. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required full role inheritance graph, job duties and owner-approved role design is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://docs.snowflake.com/en/user-guide/security-access-control-considerations",
        "https://docs.snowflake.com/en/sql-reference/account-usage/roles",
        "https://docs.snowflake.com/en/sql-reference/account-usage/grants_to_roles"
      ],
      "check_implementations": [
        {
          "check_id": "AP07",
          "sql": "sql/checks/AP07_role_hierarchy.sql",
          "direct_sql": "sql/direct-live/AP07_role_hierarchy.sql",
          "sources": [
            "ROLES",
            "GRANTS_TO_ROLES"
          ],
          "method_kind": "native_metadata",
          "remediation": "Review paths and role responsibilities; design changes require dependency and owner approval.",
          "limitations": "Explicit account roles only; implicit PUBLIC and nonaccount roles excluded; selected root and max depth at most eight."
        }
      ],
      "baseline_record": {
        "id": "RBAC-01",
        "domain": "RBAC",
        "practice": "Design role hierarchy around job and workload responsibilities",
        "evidence": "Full role inheritance graph, job duties and owner-approved role design",
        "method": "artifact",
        "owner_role": "Security and platform owner",
        "source_ids": [
          "RBAC-BEST"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned fixture brief: Job-aligned access roles inherit only approved task permissions.",
        "remediation_case": "Planned fixture brief: A convenience role inherits an administrative role and exposes unrelated sensitive datasets.",
        "unknown_case": "Required full role inheritance graph, job duties and owner-approved role design is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Role hierarchy supports documented duties with bounded privilege inheritance. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W1",
        "manual_alternative": "Interview the security and platform owner and inspect approved full role inheritance graph, job duties and owner-approved role design; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "native_metadata"
      ]
    },
    {
      "id": "RBAC-02",
      "domain": "RBAC",
      "title": "Calculate effective access through inherited role paths",
      "expected_behavior": "Independent effective-access results match owner-approved personas and exceptions.",
      "evidence": "Role/user/database-role memberships, grants, ownership and active-role rules",
      "method": "artifact",
      "owner": "Security and platform owner",
      "check_ids": [
        "AP08",
        "AP10"
      ],
      "implementation_coverage": "METADATA_OR_PROFILE_SIGNALS",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP08: Explicit account-role grants only; database/application roles, PUBLIC, future/container grants, secondary roles and session effects are not modeled.",
        "AP10: Grant metadata latency; account-role paths limited to eight edges. Null-disabled users excluded from enabled counts. Deleted identities report default-role metadata only; historical grants cannot be joined safely by reused name. Potential capability is not proof of session use."
      ],
      "manual_gap": "Metadata/profile SQL provides evidence, not complete control assurance. Role/user/database-role memberships, grants, ownership and active-role rules still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the security and platform owner and inspect approved role/user/database-role memberships, grants, ownership and active-role rules; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Validate potential inherited privilege paths against database/schema USAGE, active roles and policies using approved persona tests; do not equate grant metadata with usable access.",
      "future_acceptance": "Independent effective-access results match owner-approved personas and exceptions. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required role/user/database-role memberships, grants, ownership and active-role rules is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://docs.snowflake.com/en/user-guide/security-access-control-considerations",
        "https://docs.snowflake.com/en/sql-reference/account-usage/roles",
        "https://docs.snowflake.com/en/sql-reference/account-usage/grants_to_roles",
        "https://docs.snowflake.com/en/sql-reference/account-usage/grants_to_users",
        "https://docs.snowflake.com/en/sql-reference/account-usage/users"
      ],
      "check_implementations": [
        {
          "check_id": "AP08",
          "sql": "sql/checks/AP08_inherited_privileges.sql",
          "direct_sql": "sql/direct-live/AP08_inherited_privileges.sql",
          "sources": [
            "ROLES",
            "GRANTS_TO_ROLES"
          ],
          "method_kind": "native_metadata",
          "remediation": "Validate object scope and service dependency before any separately authorized grant change.",
          "limitations": "Explicit account-role grants only; database/application roles, PUBLIC, future/container grants, secondary roles and session effects are not modeled."
        },
        {
          "check_id": "AP10",
          "sql": "sql/checks/AP10_account_admin_assignments.sql",
          "direct_sql": "sql/direct-live/AP10_account_admin_assignments.sql",
          "sources": [
            "ROLES",
            "GRANTS_TO_ROLES",
            "GRANTS_TO_USERS",
            "USERS"
          ],
          "method_kind": "native_metadata",
          "remediation": "Review break-glass and operational needs; obtain owner target and authorization before changes.",
          "limitations": "Grant metadata latency; account-role paths limited to eight edges. Null-disabled users excluded from enabled counts. Deleted identities report default-role metadata only; historical grants cannot be joined safely by reused name. Potential capability is not proof of session use."
        }
      ],
      "baseline_record": {
        "id": "RBAC-02",
        "domain": "RBAC",
        "practice": "Calculate effective access through inherited role paths",
        "evidence": "Role/user/database-role memberships, grants, ownership and active-role rules",
        "method": "artifact",
        "owner_role": "Security and platform owner",
        "source_ids": [
          "RBAC-BEST"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned fixture brief: Independent persona traversal matches the approved role graph.",
        "remediation_case": "Planned fixture brief: A reader inherits writer or ownership privilege through an indirect role path absent from its direct grants.",
        "unknown_case": "Required role/user/database-role memberships, grants, ownership and active-role rules is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Independent effective-access results match owner-approved personas and exceptions. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W1",
        "manual_alternative": "Interview the security and platform owner and inspect approved role/user/database-role memberships, grants, ownership and active-role rules; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "native_metadata"
      ]
    },
    {
      "id": "RBAC-03",
      "domain": "RBAC",
      "title": "Review direct privileged grants and delegation",
      "expected_behavior": "Owners validate each elevated grant and authorize changes after dependency review.",
      "evidence": "Direct ownership, grant option and privileged-grant records",
      "method": "mixed",
      "owner": "Security and platform owner",
      "check_ids": [
        "AP09"
      ],
      "implementation_coverage": "METADATA_OR_PROFILE_SIGNALS",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP09: No transitive, future-grant or direct-user-grant coverage; candidate is not violation."
      ],
      "manual_gap": "Metadata/profile SQL provides evidence, not complete control assurance. Direct ownership, grant option and privileged-grant records still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the security and platform owner and inspect approved direct ownership, grant option and privileged-grant records; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Review ownership, grant options, global delegation and justified elevated grants with the security owner; preserve required platform defaults and service privileges.",
      "future_acceptance": "Owners validate each elevated grant and authorize changes after dependency review. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required direct ownership, grant option and privileged-grant records is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://docs.snowflake.com/en/user-guide/security-access-control-considerations",
        "https://docs.snowflake.com/en/sql-reference/account-usage/grants_to_roles"
      ],
      "check_implementations": [
        {
          "check_id": "AP09",
          "sql": "sql/checks/AP09_public_delegation.sql",
          "direct_sql": "sql/direct-live/AP09_public_delegation.sql",
          "sources": [
            "GRANTS_TO_ROLES"
          ],
          "method_kind": "native_metadata",
          "remediation": "Review intended audience and delegation ownership; do not revoke platform/service privileges automatically.",
          "limitations": "No transitive, future-grant or direct-user-grant coverage; candidate is not violation."
        }
      ],
      "baseline_record": {
        "id": "RBAC-03",
        "domain": "RBAC",
        "practice": "Review direct privileged grants and delegation",
        "evidence": "Direct ownership, grant option and privileged-grant records",
        "method": "mixed",
        "owner_role": "Security and platform owner",
        "source_ids": [
          "RBAC-BEST"
        ],
        "query_ids": [
          "META_ACCESS"
        ],
        "story_ids": [
          "reader-privilege"
        ],
        "tile_ids": [
          "ACCESS"
        ],
        "sql_coverage": "partial",
        "story_coverage": "partial",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "Existing references expose narrow observations only; direct ownership, grant option and privileged-grant records still need owner-validated evidence. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned fixture brief: Delegation and ownership remain with approved owners.",
        "remediation_case": "Planned fixture brief: BI reader has OWNERSHIP with grant option on raw Rx data, requiring effective-access and dependency review.",
        "unknown_case": "Required direct ownership, grant option and privileged-grant records is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Owners validate each elevated grant and authorize changes after dependency review. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W1",
        "manual_alternative": "Interview the security and platform owner and inspect approved direct ownership, grant option and privileged-grant records; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "existing_partial_observation"
      },
      "method_kinds": [
        "native_metadata"
      ]
    },
    {
      "id": "RBAC-04",
      "domain": "RBAC",
      "title": "Separate object ownership, access roles and deployment duties",
      "expected_behavior": "Approved design separates duties with documented necessary exceptions.",
      "evidence": "Object owners, deployment identities and administrative grants",
      "method": "artifact",
      "owner": "Security and platform owner",
      "check_ids": [
        "AP24"
      ],
      "implementation_coverage": "METADATA_OR_PROFILE_SIGNALS",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP24:  Native execution NOT_RUN. Metadata cannot establish business purpose or policy effectiveness."
      ],
      "manual_gap": "Metadata/profile SQL provides evidence, not complete control assurance. Object owners, deployment identities and administrative grants still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the security and platform owner and inspect approved object owners, deployment identities and administrative grants; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Map deployment, object ownership and consumer responsibilities; propose separate roles where duties conflict and document necessary exceptions before changing grants.",
      "future_acceptance": "Approved design separates duties with documented necessary exceptions. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required object owners, deployment identities and administrative grants is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://docs.snowflake.com/en/user-guide/security-access-control-considerations"
      ],
      "check_implementations": [
        {
          "check_id": "AP24",
          "sql": "sql/checks/AP24_ownership_delegation.sql",
          "direct_sql": "sql/direct-live/AP24_ownership_delegation.sql",
          "sources": [
            "GRANTS_TO_ROLES"
          ],
          "method_kind": "native_metadata",
          "remediation": "Separate approved deployment ownership from ordinary access duties; compare owner roles and grant option with job responsibilities.",
          "limitations": " Native execution NOT_RUN. Metadata cannot establish business purpose or policy effectiveness."
        }
      ],
      "baseline_record": {
        "id": "RBAC-04",
        "domain": "RBAC",
        "practice": "Separate object ownership, access roles and deployment duties",
        "evidence": "Object owners, deployment identities and administrative grants",
        "method": "artifact",
        "owner_role": "Security and platform owner",
        "source_ids": [
          "RBAC-BEST"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned fixture brief: Deployment identity owns changes while consumer roles receive bounded access.",
        "remediation_case": "Planned fixture brief: One consumer role both owns production objects and approves its own deployments without documented exception.",
        "unknown_case": "Required object owners, deployment identities and administrative grants is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Approved design separates duties with documented necessary exceptions. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W1",
        "manual_alternative": "Interview the security and platform owner and inspect approved object owners, deployment identities and administrative grants; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "native_metadata"
      ]
    },
    {
      "id": "RBAC-05",
      "domain": "RBAC",
      "title": "Validate service dependencies before privilege removal",
      "expected_behavior": "Authorized future access tests retain required service operation after any role change.",
      "evidence": "Service principals, warehouse/object dependencies and operator walkthrough",
      "method": "artifact",
      "owner": "Security and platform owner",
      "check_ids": [
        "AP08"
      ],
      "implementation_coverage": "METADATA_OR_PROFILE_SIGNALS",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP08: Explicit account-role grants only; database/application roles, PUBLIC, future/container grants, secondary roles and session effects are not modeled."
      ],
      "manual_gap": "Metadata/profile SQL provides evidence, not complete control assurance. Service principals, warehouse/object dependencies and operator walkthrough still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the security and platform owner and inspect approved service principals, warehouse/object dependencies and operator walkthrough; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Build an explicit service dependency map and approved future access tests before removing or moving privileges; ensure rollback and recovery responsibilities are assigned.",
      "future_acceptance": "Authorized future access tests retain required service operation after any role change. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required service principals, warehouse/object dependencies and operator walkthrough is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://docs.snowflake.com/en/user-guide/security-access-control-considerations",
        "https://docs.snowflake.com/en/sql-reference/account-usage/roles",
        "https://docs.snowflake.com/en/sql-reference/account-usage/grants_to_roles"
      ],
      "check_implementations": [
        {
          "check_id": "AP08",
          "sql": "sql/checks/AP08_inherited_privileges.sql",
          "direct_sql": "sql/direct-live/AP08_inherited_privileges.sql",
          "sources": [
            "ROLES",
            "GRANTS_TO_ROLES"
          ],
          "method_kind": "native_metadata",
          "remediation": "Validate object scope and service dependency before any separately authorized grant change.",
          "limitations": "Explicit account-role grants only; database/application roles, PUBLIC, future/container grants, secondary roles and session effects are not modeled."
        }
      ],
      "baseline_record": {
        "id": "RBAC-05",
        "domain": "RBAC",
        "practice": "Validate service dependencies before privilege removal",
        "evidence": "Service principals, warehouse/object dependencies and operator walkthrough",
        "method": "artifact",
        "owner_role": "Security and platform owner",
        "source_ids": [
          "RBAC-BEST"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned fixture brief: Service identity dependencies remain available under the proposed role design.",
        "remediation_case": "Planned fixture brief: Proposed privilege removal severs a task, stage or BI service dependency despite appearing least-privilege.",
        "unknown_case": "Required service principals, warehouse/object dependencies and operator walkthrough is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Authorized future access tests retain required service operation after any role change. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W1",
        "manual_alternative": "Interview the security and platform owner and inspect approved service principals, warehouse/object dependencies and operator walkthrough; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "native_metadata"
      ]
    },
    {
      "id": "RBAC-06",
      "domain": "RBAC",
      "title": "Review future grants, PUBLIC exposure and shared access",
      "expected_behavior": "Owner-approved access review covers grants omitted from narrow direct-grant extracts.",
      "evidence": "Future grants, PUBLIC grants, shares and application/database roles",
      "method": "artifact",
      "owner": "Security and platform owner",
      "check_ids": [
        "AP09",
        "AP22",
        "AP23"
      ],
      "implementation_coverage": "METADATA_OR_PROFILE_SIGNALS",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP09: No transitive, future-grant or direct-user-grant coverage; candidate is not violation.",
        "AP22: Direct grants only; data access also depends on parent USAGE and inherited grants. Native execution NOT_RUN. Metadata cannot establish business purpose or policy effectiveness.",
        "AP23: Bounded client database identifier required. Database-level SHOW alone does not enumerate all schema future grants. Native execution NOT_RUN. Metadata cannot establish business purpose or policy effectiveness."
      ],
      "manual_gap": "Metadata/profile SQL provides evidence, not complete control assurance. Future grants, PUBLIC grants, shares and application/database roles still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the security and platform owner and inspect approved future grants, public grants, shares and application/database roles; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Review future grants, implicit PUBLIC access and shared recipients separately from direct-grant results; reconcile the intended audience and legitimate platform defaults.",
      "future_acceptance": "Owner-approved access review covers grants omitted from narrow direct-grant extracts. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required future grants, public grants, shares and application/database roles is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://docs.snowflake.com/en/user-guide/security-access-control-considerations",
        "https://docs.snowflake.com/en/sql-reference/account-usage/grants_to_roles"
      ],
      "check_implementations": [
        {
          "check_id": "AP09",
          "sql": "sql/checks/AP09_public_delegation.sql",
          "direct_sql": "sql/direct-live/AP09_public_delegation.sql",
          "sources": [
            "GRANTS_TO_ROLES"
          ],
          "method_kind": "native_metadata",
          "remediation": "Review intended audience and delegation ownership; do not revoke platform/service privileges automatically.",
          "limitations": "No transitive, future-grant or direct-user-grant coverage; candidate is not violation."
        },
        {
          "check_id": "AP22",
          "sql": "sql/checks/AP22_public_exposure.sql",
          "direct_sql": "sql/direct-live/AP22_public_exposure.sql",
          "sources": [
            "GRANTS_TO_ROLES"
          ],
          "method_kind": "native_metadata",
          "remediation": "Review every PUBLIC object grant and grant option against approved shared access; test usable inherited access before removing.",
          "limitations": "Direct grants only; data access also depends on parent USAGE and inherited grants. Native execution NOT_RUN. Metadata cannot establish business purpose or policy effectiveness."
        },
        {
          "check_id": "AP23",
          "sql": "sql/checks/AP23_future_grants.sql",
          "direct_sql": "sql/direct-live/AP23_future_grants.sql",
          "sources": [
            "EXP_FUTURE_GRANTS"
          ],
          "method_kind": "metadata_capture",
          "remediation": "Reconcile future access with deployment duties and approved defaults; repeat at schema scope because schema future grants take precedence.",
          "limitations": "Bounded client database identifier required. Database-level SHOW alone does not enumerate all schema future grants. Native execution NOT_RUN. Metadata cannot establish business purpose or policy effectiveness."
        }
      ],
      "baseline_record": {
        "id": "RBAC-06",
        "domain": "RBAC",
        "practice": "Review future grants, PUBLIC exposure and shared access",
        "evidence": "Future grants, PUBLIC grants, shares and application/database roles",
        "method": "artifact",
        "owner_role": "Security and platform owner",
        "source_ids": [
          "RBAC-BEST"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned fixture brief: Future/PUBLIC/shared grants match approved recipient populations.",
        "remediation_case": "Planned fixture brief: A future grant automatically exposes newly created sensitive tables to a broad consumer or PUBLIC role.",
        "unknown_case": "Required future grants, public grants, shares and application/database roles is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Owner-approved access review covers grants omitted from narrow direct-grant extracts. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W1",
        "manual_alternative": "Interview the security and platform owner and inspect approved future grants, public grants, shares and application/database roles; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "metadata_capture",
        "native_metadata"
      ]
    },
    {
      "id": "PRIVACY-01",
      "domain": "PRIVACY",
      "title": "Identify sensitive data populations and approved classification",
      "expected_behavior": "Privacy owner defines sensitive populations and documents classification gaps.",
      "evidence": "Classification decisions, data owners, approved catalog and tag coverage",
      "method": "artifact",
      "owner": "Privacy and data governance owner",
      "check_ids": [
        "AP11"
      ],
      "implementation_coverage": "METADATA_OR_PROFILE_SIGNALS",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP11: No name-based sensitivity classification, PHI inference, patient rows, persona execution, row-filter tests or compliance conclusion. Configuration presence does not establish policy effectiveness."
      ],
      "manual_gap": "Metadata/profile SQL provides evidence, not complete control assurance. Classification decisions, data owners, approved catalog and tag coverage still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the privacy and data governance owner and inspect approved classification decisions, data owners, approved catalog and tag coverage; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Obtain an explicit owner-approved sensitive-column population and classification evidence; retain unclassified populations as gaps and never infer PHI from names.",
      "future_acceptance": "Privacy owner defines sensitive populations and documents classification gaps. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required classification decisions, data owners, approved catalog and tag coverage is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://docs.snowflake.com/en/user-guide/security-column-intro",
        "https://docs.snowflake.com/en/sql-reference/account-usage/columns",
        "https://docs.snowflake.com/en/sql-reference/account-usage/policy_references",
        "https://docs.snowflake.com/en/user-guide/security-access-control-considerations"
      ],
      "check_implementations": [
        {
          "check_id": "AP11",
          "sql": "sql/checks/AP11_sensitive_protection.sql",
          "direct_sql": "sql/direct-live/AP11_sensitive_protection.sql",
          "sources": [
            "COLUMNS",
            "POLICY_REFERENCES"
          ],
          "method_kind": "native_metadata",
          "remediation": "Replace sample population; confirm approved requirement and visibility, then separately validate personas and exceptions.",
          "limitations": "No name-based sensitivity classification, PHI inference, patient rows, persona execution, row-filter tests or compliance conclusion. Configuration presence does not establish policy effectiveness."
        }
      ],
      "baseline_record": {
        "id": "PRIVACY-01",
        "domain": "PRIVACY",
        "practice": "Identify sensitive data populations and approved classification",
        "evidence": "Classification decisions, data owners, approved catalog and tag coverage",
        "method": "artifact",
        "owner_role": "Privacy and data governance owner",
        "source_ids": [
          "COLUMN-SEC"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned fixture brief: Fictional sensitive columns have an owner-approved classification population.",
        "remediation_case": "Planned fixture brief: Synthetic identifier column in an agreed sensitive population is unclassified and omitted from policy review; this alone is not a proven violation.",
        "unknown_case": "Required classification decisions, data owners, approved catalog and tag coverage is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Privacy owner defines sensitive populations and documents classification gaps. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W1",
        "manual_alternative": "Interview the privacy and data governance owner and inspect approved classification decisions, data owners, approved catalog and tag coverage; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "native_metadata"
      ]
    },
    {
      "id": "PRIVACY-02",
      "domain": "PRIVACY",
      "title": "Assess masking against approved personas and exceptions",
      "expected_behavior": "Approved future tests demonstrate permitted values and exceptions for selected personas.",
      "evidence": "Masking policy definitions, references and authorized persona test evidence",
      "method": "artifact",
      "owner": "Privacy and data governance owner",
      "check_ids": [
        "AP11"
      ],
      "implementation_coverage": "METADATA_OR_PROFILE_SIGNALS",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP11: No name-based sensitivity classification, PHI inference, patient rows, persona execution, row-filter tests or compliance conclusion. Configuration presence does not establish policy effectiveness."
      ],
      "manual_gap": "Metadata/profile SQL provides evidence, not complete control assurance. Masking policy definitions, references and authorized persona test evidence still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the privacy and data governance owner and inspect approved masking policy definitions, references and authorized persona test evidence; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Load approved masking-required columns and approval references, investigate missing/nonactive masking configuration, then validate allowed and denied personas and approved exceptions.",
      "future_acceptance": "Approved future tests demonstrate permitted values and exceptions for selected personas. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required masking policy definitions, references and authorized persona test evidence is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://docs.snowflake.com/en/user-guide/security-column-intro",
        "https://docs.snowflake.com/en/sql-reference/account-usage/columns",
        "https://docs.snowflake.com/en/sql-reference/account-usage/policy_references",
        "https://docs.snowflake.com/en/user-guide/security-access-control-considerations"
      ],
      "check_implementations": [
        {
          "check_id": "AP11",
          "sql": "sql/checks/AP11_sensitive_protection.sql",
          "direct_sql": "sql/direct-live/AP11_sensitive_protection.sql",
          "sources": [
            "COLUMNS",
            "POLICY_REFERENCES"
          ],
          "method_kind": "native_metadata",
          "remediation": "Replace sample population; confirm approved requirement and visibility, then separately validate personas and exceptions.",
          "limitations": "No name-based sensitivity classification, PHI inference, patient rows, persona execution, row-filter tests or compliance conclusion. Configuration presence does not establish policy effectiveness."
        }
      ],
      "baseline_record": {
        "id": "PRIVACY-02",
        "domain": "PRIVACY",
        "practice": "Assess masking against approved personas and exceptions",
        "evidence": "Masking policy definitions, references and authorized persona test evidence",
        "method": "artifact",
        "owner_role": "Privacy and data governance owner",
        "source_ids": [
          "COLUMN-SEC"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned fixture brief: Approved personas see masked or permitted values according to purpose.",
        "remediation_case": "Planned fixture brief: Synthetic sensitive column is bound to the wrong policy or an exception persona receives clear values outside its approved purpose.",
        "unknown_case": "Required masking policy definitions, references and authorized persona test evidence is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Approved future tests demonstrate permitted values and exceptions for selected personas. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W1",
        "manual_alternative": "Interview the privacy and data governance owner and inspect approved masking policy definitions, references and authorized persona test evidence; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "native_metadata"
      ]
    },
    {
      "id": "PRIVACY-03",
      "domain": "PRIVACY",
      "title": "Assess row filtering against business authorization",
      "expected_behavior": "Owner-approved future tests cover allowed and denied row populations.",
      "evidence": "Row-access policy bindings, entitlement sources and owner walkthrough",
      "method": "artifact",
      "owner": "Privacy and data governance owner",
      "check_ids": [
        "AP25"
      ],
      "implementation_coverage": "METADATA_OR_PROFILE_SIGNALS",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP25: Missing policy is context until business requirement is supplied; active attachment does not prove authorization logic. Native execution NOT_RUN. Metadata cannot establish business purpose or policy effectiveness."
      ],
      "manual_gap": "Metadata/profile SQL provides evidence, not complete control assurance. Row-access policy bindings, entitlement sources and owner walkthrough still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the privacy and data governance owner and inspect approved row-access policy bindings, entitlement sources and owner walkthrough; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Map business entitlements to approved synthetic allowed/denied populations and test row policies under separately authorized personas; configuration presence is insufficient.",
      "future_acceptance": "Owner-approved future tests cover allowed and denied row populations. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required row-access policy bindings, entitlement sources and owner walkthrough is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://docs.snowflake.com/en/user-guide/security-column-intro"
      ],
      "check_implementations": [
        {
          "check_id": "AP25",
          "sql": "sql/checks/AP25_row_policy_inventory.sql",
          "direct_sql": "sql/direct-live/AP25_row_policy_inventory.sql",
          "sources": [
            "TABLES",
            "POLICY_REFERENCES"
          ],
          "method_kind": "native_metadata",
          "remediation": "Compare attachment population with approved row-filter requirements; test allowed and denied personas without exporting sensitive rows.",
          "limitations": "Missing policy is context until business requirement is supplied; active attachment does not prove authorization logic. Native execution NOT_RUN. Metadata cannot establish business purpose or policy effectiveness."
        }
      ],
      "baseline_record": {
        "id": "PRIVACY-03",
        "domain": "PRIVACY",
        "practice": "Assess row filtering against business authorization",
        "evidence": "Row-access policy bindings, entitlement sources and owner walkthrough",
        "method": "artifact",
        "owner_role": "Privacy and data governance owner",
        "source_ids": [
          "COLUMN-SEC"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned fixture brief: Entitlement-backed policy returns only the approved synthetic business population.",
        "remediation_case": "Planned fixture brief: A synthetic regional reader sees another region because its entitlement or policy binding is incorrect.",
        "unknown_case": "Required row-access policy bindings, entitlement sources and owner walkthrough is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Owner-approved future tests cover allowed and denied row populations. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W1",
        "manual_alternative": "Interview the privacy and data governance owner and inspect approved row-access policy bindings, entitlement sources and owner walkthrough; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "native_metadata"
      ]
    },
    {
      "id": "PRIVACY-04",
      "domain": "PRIVACY",
      "title": "Trace regulated data copies, exports and recipients",
      "expected_behavior": "Approved sensitive-data flow lists every sampled destination and responsible owner.",
      "evidence": "Stages, extracts, shares, downstream copies and processing approvals",
      "method": "artifact",
      "owner": "Privacy and data governance owner",
      "check_ids": [
        "AP26",
        "AP27",
        "AP37"
      ],
      "implementation_coverage": "METADATA_OR_PROFILE_SIGNALS",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP26: Enterprise feature and visibility apply. Counts prioritize review; do not establish regulated data or include full object arrays. Native execution NOT_RUN. Metadata cannot establish business purpose or policy effectiveness.",
        "AP27: Compilation database is not all data accessed. Result downloads and downstream transfers may be absent. Native execution NOT_RUN. Metadata cannot establish business purpose or policy effectiveness.",
        "AP37:  Native execution NOT_RUN. Metadata cannot establish business purpose or policy effectiveness."
      ],
      "manual_gap": "Metadata/profile SQL provides evidence, not complete control assurance. Stages, extracts, shares, downstream copies and processing approvals still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the privacy and data governance owner and inspect approved stages, extracts, shares, downstream copies and processing approvals; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Trace selected sensitive-data materializations, exports and downstream recipients with data owners; approve each destination, permitted fields, retention and access boundary.",
      "future_acceptance": "Approved sensitive-data flow lists every sampled destination and responsible owner. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required stages, extracts, shares, downstream copies and processing approvals is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://docs.snowflake.com/en/user-guide/security-column-intro"
      ],
      "check_implementations": [
        {
          "check_id": "AP26",
          "sql": "sql/checks/AP26_copy_lineage_review.sql",
          "direct_sql": "sql/direct-live/AP26_copy_lineage_review.sql",
          "sources": [
            "ACCESS_HISTORY"
          ],
          "method_kind": "native_metadata",
          "remediation": "Trace selected read-to-write lineage in the owning account and validate destination protections and recipient approvals.",
          "limitations": "Enterprise feature and visibility apply. Counts prioritize review; do not establish regulated data or include full object arrays. Native execution NOT_RUN. Metadata cannot establish business purpose or policy effectiveness."
        },
        {
          "check_id": "AP27",
          "sql": "sql/checks/AP27_unload_events.sql",
          "direct_sql": "sql/direct-live/AP27_unload_events.sql",
          "sources": [
            "QUERY_HISTORY"
          ],
          "method_kind": "native_metadata",
          "remediation": "Validate export purpose, destination, recipients and storage controls in an approved account-side review; do not collect query text.",
          "limitations": "Compilation database is not all data accessed. Result downloads and downstream transfers may be absent. Native execution NOT_RUN. Metadata cannot establish business purpose or policy effectiveness."
        },
        {
          "check_id": "AP37",
          "sql": "sql/checks/AP37_unload_guardrails.sql",
          "direct_sql": "sql/direct-live/AP37_unload_guardrails.sql",
          "sources": [
            "EXP_UNLOAD_PARAMETERS"
          ],
          "method_kind": "metadata_capture",
          "remediation": "Compare unload restrictions with approved export paths and exceptions; inspect effective session and user overrides before concluding.",
          "limitations": " Native execution NOT_RUN. Metadata cannot establish business purpose or policy effectiveness."
        }
      ],
      "baseline_record": {
        "id": "PRIVACY-04",
        "domain": "PRIVACY",
        "practice": "Trace regulated data copies, exports and recipients",
        "evidence": "Stages, extracts, shares, downstream copies and processing approvals",
        "method": "artifact",
        "owner_role": "Privacy and data governance owner",
        "source_ids": [
          "COLUMN-SEC"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned fixture brief: Every sampled sensitive-data copy has approved recipient and retention rules.",
        "remediation_case": "Planned fixture brief: A BI export or share persists synthetic sensitive fields at an unapproved destination, outside the reviewed masking boundary.",
        "unknown_case": "Required stages, extracts, shares, downstream copies and processing approvals is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Approved sensitive-data flow lists every sampled destination and responsible owner. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W1",
        "manual_alternative": "Interview the privacy and data governance owner and inspect approved stages, extracts, shares, downstream copies and processing approvals; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "metadata_capture",
        "native_metadata"
      ]
    },
    {
      "id": "PRIVACY-05",
      "domain": "PRIVACY",
      "title": "Review purpose, minimum-data use and retention decisions",
      "expected_behavior": "Client approves applicable requirements, permitted fields, retention and recipients.",
      "evidence": "Privacy/security determination, contractual safeguards and retention schedule",
      "method": "artifact",
      "owner": "Privacy and data governance owner",
      "check_ids": [
        "AP28"
      ],
      "implementation_coverage": "METADATA_OR_PROFILE_SIGNALS",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP28: Time Travel is only one retention component. Fail-safe, live rows and external copies need separate review. Native execution NOT_RUN. Metadata cannot establish business purpose or policy effectiveness."
      ],
      "manual_gap": "Metadata/profile SQL provides evidence, not complete control assurance. Privacy/security determination, contractual safeguards and retention schedule still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the privacy and data governance owner and inspect approved privacy/security determination, contractual safeguards and retention schedule; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Have the client owner identify applicable purpose, minimum-data and retention requirements; reduce unsupported copies and unnecessary fields only through approved changes.",
      "future_acceptance": "Client approves applicable requirements, permitted fields, retention and recipients. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required privacy/security determination, contractual safeguards and retention schedule is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://docs.snowflake.com/en/user-guide/security-column-intro"
      ],
      "check_implementations": [
        {
          "check_id": "AP28",
          "sql": "sql/checks/AP28_retention_inventory.sql",
          "direct_sql": "sql/direct-live/AP28_retention_inventory.sql",
          "sources": [
            "TABLES"
          ],
          "method_kind": "native_metadata",
          "remediation": "Reconcile table purpose, minimum necessary columns and approved data lifecycle; Time Travel days alone are not a deletion policy.",
          "limitations": "Time Travel is only one retention component. Fail-safe, live rows and external copies need separate review. Native execution NOT_RUN. Metadata cannot establish business purpose or policy effectiveness."
        }
      ],
      "baseline_record": {
        "id": "PRIVACY-05",
        "domain": "PRIVACY",
        "practice": "Review purpose, minimum-data use and retention decisions",
        "evidence": "Privacy/security determination, contractual safeguards and retention schedule",
        "method": "artifact",
        "owner_role": "Privacy and data governance owner",
        "source_ids": [
          "COLUMN-SEC"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned fixture brief: Owners approve necessary fields, purpose and retention with applicable requirements.",
        "remediation_case": "Planned fixture brief: Synthetic export includes unnecessary identifier fields or outlives approved retention; client applicability must be established.",
        "unknown_case": "Required privacy/security determination, contractual safeguards and retention schedule is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Client approves applicable requirements, permitted fields, retention and recipients. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W1",
        "manual_alternative": "Interview the privacy and data governance owner and inspect approved privacy/security determination, contractual safeguards and retention schedule; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "native_metadata"
      ]
    },
    {
      "id": "PRIVACY-06",
      "domain": "PRIVACY",
      "title": "Review sensitive-metadata handling in evidence collection",
      "expected_behavior": "Evidence collection uses approved minimum data, tools, storage and deletion rules.",
      "evidence": "Query text/bind exclusions, object-name sensitivity and evidence access logs",
      "method": "artifact",
      "owner": "Privacy and data governance owner",
      "check_ids": [
        "AP38",
        "AP92"
      ],
      "implementation_coverage": "METADATA_OR_PROFILE_SIGNALS",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP38: Direct grants only; inherited, database-role and imported privilege paths need effective-access review. Metadata itself can be sensitive. Native execution NOT_RUN. Metadata cannot establish business purpose or policy effectiveness.",
        "AP92: Owner-supplied aggregate/context input only; no live metadata conclusion, production action or automatic approval. Empty input is UNKNOWN."
      ],
      "manual_gap": "Metadata/profile SQL provides evidence, not complete control assurance. Query text/bind exclusions, object-name sensitivity and evidence access logs still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the privacy and data governance owner and inspect approved query text/bind exclusions, object-name sensitivity and evidence access logs; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Use approved minimum metadata and aggregate/stable identifiers; define secure evidence storage, access and deletion without collecting patient rows or query text by default.",
      "future_acceptance": "Evidence collection uses approved minimum data, tools, storage and deletion rules. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required query text/bind exclusions, object-name sensitivity and evidence access logs is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://docs.snowflake.com/en/user-guide/security-column-intro"
      ],
      "check_implementations": [
        {
          "check_id": "AP38",
          "sql": "sql/checks/AP38_sensitive_metadata_access.sql",
          "direct_sql": "sql/direct-live/AP38_sensitive_metadata_access.sql",
          "sources": [
            "GRANTS_TO_ROLES"
          ],
          "method_kind": "native_metadata",
          "remediation": "Limit evidence readers and collection fields; approve storage and deletion policy; exclude query text, binds and sensitive object names when exporting.",
          "limitations": "Direct grants only; inherited, database-role and imported privilege paths need effective-access review. Metadata itself can be sensitive. Native execution NOT_RUN. Metadata cannot establish business purpose or policy effectiveness."
        },
        {
          "check_id": "AP92",
          "sql": "sql/checks/AP92_evidence_artifacts.sql",
          "direct_sql": "sql/direct-live/AP92_evidence_artifacts.sql",
          "sources": [
            "EVIDENCE_ARTIFACTS"
          ],
          "method_kind": "approved_input",
          "remediation": "Resolve missing provenance or handling approvals with the security owner; link immutable release and collection evidence without exporting sensitive payloads.",
          "limitations": "Owner-supplied aggregate/context input only; no live metadata conclusion, production action or automatic approval. Empty input is UNKNOWN."
        }
      ],
      "baseline_record": {
        "id": "PRIVACY-06",
        "domain": "PRIVACY",
        "practice": "Review sensitive-metadata handling in evidence collection",
        "evidence": "Query text/bind exclusions, object-name sensitivity and evidence access logs",
        "method": "artifact",
        "owner_role": "Privacy and data governance owner",
        "source_ids": [
          "COLUMN-SEC"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned fixture brief: Evidence contains aggregates/stable IDs in controlled storage.",
        "remediation_case": "Planned fixture brief: An assessment export includes raw query text or bind values containing fictional sensitive identifiers and is broadly shared.",
        "unknown_case": "Required query text/bind exclusions, object-name sensitivity and evidence access logs is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Evidence collection uses approved minimum data, tools, storage and deletion rules. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W1",
        "manual_alternative": "Interview the privacy and data governance owner and inspect approved query text/bind exclusions, object-name sensitivity and evidence access logs; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "approved_input",
        "native_metadata"
      ]
    },
    {
      "id": "NETWORK-01",
      "domain": "NETWORK",
      "title": "Review client ingress restrictions and exceptions",
      "expected_behavior": "Security documents authorized ingress and tested exception ownership.",
      "evidence": "Network/authentication policy configuration and approved connectivity paths",
      "method": "artifact",
      "owner": "Network/security owner",
      "check_ids": [
        "AP29",
        "AP30"
      ],
      "implementation_coverage": "METADATA_OR_PROFILE_SIGNALS",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP29:  Native execution NOT_RUN. Metadata cannot establish business purpose or policy effectiveness.",
        "AP30: Inventory alone does not prove effective attachment, private-only traffic or allowlist approval. Optional private connectivity is not universally required. Native execution NOT_RUN. Metadata cannot establish business purpose or policy effectiveness."
      ],
      "manual_gap": "Metadata/profile SQL provides evidence, not complete control assurance. Network/authentication policy configuration and approved connectivity paths still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the network/security owner and inspect approved network/authentication policy configuration and approved connectivity paths; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Reconcile approved ingress paths and exceptions with effective configuration and owner evidence; plan bounded connectivity validation before enforcement changes.",
      "future_acceptance": "Security documents authorized ingress and tested exception ownership. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required network/authentication policy configuration and approved connectivity paths is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://www.snowflake.com/en/developers/guides/well-architected-framework-security-and-governance/"
      ],
      "check_implementations": [
        {
          "check_id": "AP29",
          "sql": "sql/checks/AP29_account_network_policy.sql",
          "direct_sql": "sql/direct-live/AP29_account_network_policy.sql",
          "sources": [
            "EXP_NETWORK_PARAMETERS"
          ],
          "method_kind": "metadata_capture",
          "remediation": "Confirm approved account ingress policy and overrides on users and security integrations; validate connectivity and exceptions safely.",
          "limitations": " Native execution NOT_RUN. Metadata cannot establish business purpose or policy effectiveness."
        },
        {
          "check_id": "AP30",
          "sql": "sql/checks/AP30_ingress_rules.sql",
          "direct_sql": "sql/direct-live/AP30_ingress_rules.sql",
          "sources": [
            "EXP_NETWORK_RULES"
          ],
          "method_kind": "metadata_capture",
          "remediation": "Reconcile rule identifiers and mode with approved architecture; use bounded DESCRIBE NETWORK RULE for approved destination values and verify attachment.",
          "limitations": "Inventory alone does not prove effective attachment, private-only traffic or allowlist approval. Optional private connectivity is not universally required. Native execution NOT_RUN. Metadata cannot establish business purpose or policy effectiveness."
        }
      ],
      "baseline_record": {
        "id": "NETWORK-01",
        "domain": "NETWORK",
        "practice": "Review client ingress restrictions and exceptions",
        "evidence": "Network/authentication policy configuration and approved connectivity paths",
        "method": "artifact",
        "owner_role": "Network/security owner",
        "source_ids": [
          "WAF-SEC"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned control example: Security documents authorized ingress and tested exception ownership.",
        "remediation_case": "Planned adverse example: review client ingress restrictions and exceptions is contradicted by the required evidence; validate business consequence before a finding.",
        "unknown_case": "Required network/authentication policy configuration and approved connectivity paths is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Security documents authorized ingress and tested exception ownership. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W3",
        "manual_alternative": "Interview the network/security owner and inspect approved network/authentication policy configuration and approved connectivity paths; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "metadata_capture"
      ]
    },
    {
      "id": "NETWORK-02",
      "domain": "NETWORK",
      "title": "Assess private connectivity when business requirements justify it",
      "expected_behavior": "Owners decide public/private connectivity based on approved requirements and tradeoffs.",
      "evidence": "Network architecture, edition/region eligibility and threat requirements",
      "method": "artifact",
      "owner": "Network/security owner",
      "check_ids": [
        "AP31"
      ],
      "implementation_coverage": "METADATA_OR_PROFILE_SIGNALS",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP31: Inventory alone does not prove effective attachment, private-only traffic or allowlist approval. Optional private connectivity is not universally required. Native execution NOT_RUN. Metadata cannot establish business purpose or policy effectiveness."
      ],
      "manual_gap": "Metadata/profile SQL provides evidence, not complete control assurance. Network architecture, edition/region eligibility and threat requirements still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the network/security owner and inspect approved network architecture, edition/region eligibility and threat requirements; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Compare public/private connectivity options against approved service requirements, topology, edition and recurring cost; private connectivity is conditional, not a blanket mandate.",
      "future_acceptance": "Owners decide public/private connectivity based on approved requirements and tradeoffs. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required network architecture, edition/region eligibility and threat requirements is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://www.snowflake.com/en/developers/guides/well-architected-framework-security-and-governance/"
      ],
      "check_implementations": [
        {
          "check_id": "AP31",
          "sql": "sql/checks/AP31_private_endpoint_rules.sql",
          "direct_sql": "sql/direct-live/AP31_private_endpoint_rules.sql",
          "sources": [
            "EXP_NETWORK_RULES"
          ],
          "method_kind": "metadata_capture",
          "remediation": "Reconcile rule identifiers and mode with approved architecture; use bounded DESCRIBE NETWORK RULE for approved destination values and verify attachment.",
          "limitations": "Inventory alone does not prove effective attachment, private-only traffic or allowlist approval. Optional private connectivity is not universally required. Native execution NOT_RUN. Metadata cannot establish business purpose or policy effectiveness."
        }
      ],
      "baseline_record": {
        "id": "NETWORK-02",
        "domain": "NETWORK",
        "practice": "Assess private connectivity when business requirements justify it",
        "evidence": "Network architecture, edition/region eligibility and threat requirements",
        "method": "artifact",
        "owner_role": "Network/security owner",
        "source_ids": [
          "WAF-SEC"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned control example: Owners decide public/private connectivity based on approved requirements and tradeoffs.",
        "remediation_case": "Planned adverse example: assess private connectivity when business requirements justify it is contradicted by the required evidence; validate business consequence before a finding.",
        "unknown_case": "Required network architecture, edition/region eligibility and threat requirements is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Owners decide public/private connectivity based on approved requirements and tradeoffs. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W3",
        "manual_alternative": "Interview the network/security owner and inspect approved network architecture, edition/region eligibility and threat requirements; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "metadata_capture"
      ]
    },
    {
      "id": "NETWORK-03",
      "domain": "NETWORK",
      "title": "Review outbound destinations and external access boundaries",
      "expected_behavior": "Each destination and permitted data class has security approval and an owner.",
      "evidence": "Integrations, external-access allowlists and egress architecture",
      "method": "artifact",
      "owner": "Network/security owner",
      "check_ids": [
        "AP32"
      ],
      "implementation_coverage": "METADATA_OR_PROFILE_SIGNALS",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP32: Inventory alone does not prove effective attachment, private-only traffic or allowlist approval. Optional private connectivity is not universally required. Native execution NOT_RUN. Metadata cannot establish business purpose or policy effectiveness."
      ],
      "manual_gap": "Metadata/profile SQL provides evidence, not complete control assurance. Integrations, external-access allowlists and egress architecture still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the network/security owner and inspect approved integrations, external-access allowlists and egress architecture; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Inventory external destinations and integrations by permitted purpose and data class; reconcile allowlists, ownership and approved outbound boundaries.",
      "future_acceptance": "Each destination and permitted data class has security approval and an owner. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required integrations, external-access allowlists and egress architecture is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://www.snowflake.com/en/developers/guides/well-architected-framework-security-and-governance/"
      ],
      "check_implementations": [
        {
          "check_id": "AP32",
          "sql": "sql/checks/AP32_egress_rules.sql",
          "direct_sql": "sql/direct-live/AP32_egress_rules.sql",
          "sources": [
            "EXP_NETWORK_RULES"
          ],
          "method_kind": "metadata_capture",
          "remediation": "Reconcile rule identifiers and mode with approved architecture; use bounded DESCRIBE NETWORK RULE for approved destination values and verify attachment.",
          "limitations": "Inventory alone does not prove effective attachment, private-only traffic or allowlist approval. Optional private connectivity is not universally required. Native execution NOT_RUN. Metadata cannot establish business purpose or policy effectiveness."
        }
      ],
      "baseline_record": {
        "id": "NETWORK-03",
        "domain": "NETWORK",
        "practice": "Review outbound destinations and external access boundaries",
        "evidence": "Integrations, external-access allowlists and egress architecture",
        "method": "artifact",
        "owner_role": "Network/security owner",
        "source_ids": [
          "WAF-SEC"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned control example: Each destination and permitted data class has security approval and an owner.",
        "remediation_case": "Planned adverse example: review outbound destinations and external access boundaries is contradicted by the required evidence; validate business consequence before a finding.",
        "unknown_case": "Required integrations, external-access allowlists and egress architecture is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Each destination and permitted data class has security approval and an owner. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W3",
        "manual_alternative": "Interview the network/security owner and inspect approved integrations, external-access allowlists and egress architecture; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "metadata_capture"
      ]
    },
    {
      "id": "NETWORK-04",
      "domain": "NETWORK",
      "title": "Review storage integrations, stages and trust credentials",
      "expected_behavior": "Snowflake and cloud owners reconcile least-required access and credential boundaries.",
      "evidence": "Storage integration roles, external stages and cloud permission evidence",
      "method": "artifact",
      "owner": "Network/security owner",
      "check_ids": [
        "AP33",
        "AP36"
      ],
      "implementation_coverage": "METADATA_OR_PROFILE_SIGNALS",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP33: No integration can be an approved alternative; this is a review lead, not a credential finding. URLs omitted from export. Native execution NOT_RUN. Metadata cannot establish business purpose or policy effectiveness.",
        "AP36: Presence and enablement do not prove SCIM deprovisioning or storage credential rotation. Native execution NOT_RUN. Metadata cannot establish business purpose or policy effectiveness."
      ],
      "manual_gap": "Metadata/profile SQL provides evidence, not complete control assurance. Storage integration roles, external stages and cloud permission evidence still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the network/security owner and inspect approved storage integration roles, external stages and cloud permission evidence; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Reconcile Snowflake integration grants with cloud-side trust and least-required paths; validate service dependencies before changing integration access or credentials.",
      "future_acceptance": "Snowflake and cloud owners reconcile least-required access and credential boundaries. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required storage integration roles, external stages and cloud permission evidence is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://www.snowflake.com/en/developers/guides/well-architected-framework-security-and-governance/"
      ],
      "check_implementations": [
        {
          "check_id": "AP33",
          "sql": "sql/checks/AP33_external_stage_trust.sql",
          "direct_sql": "sql/direct-live/AP33_external_stage_trust.sql",
          "sources": [
            "STAGES"
          ],
          "method_kind": "native_metadata",
          "remediation": "Review stage trust, cloud IAM and integration allowlists; inspect approved configuration account-side without collecting credentials.",
          "limitations": "No integration can be an approved alternative; this is a review lead, not a credential finding. URLs omitted from export. Native execution NOT_RUN. Metadata cannot establish business purpose or policy effectiveness."
        },
        {
          "check_id": "AP36",
          "sql": "sql/checks/AP36_storage_integrations.sql",
          "direct_sql": "sql/direct-live/AP36_storage_integrations.sql",
          "sources": [
            "EXP_INTEGRATIONS"
          ],
          "method_kind": "metadata_capture",
          "remediation": "Reconcile integration owner, enablement and intended clients; inspect only approved nonsecret properties and external workflow evidence.",
          "limitations": "Presence and enablement do not prove SCIM deprovisioning or storage credential rotation. Native execution NOT_RUN. Metadata cannot establish business purpose or policy effectiveness."
        }
      ],
      "baseline_record": {
        "id": "NETWORK-04",
        "domain": "NETWORK",
        "practice": "Review storage integrations, stages and trust credentials",
        "evidence": "Storage integration roles, external stages and cloud permission evidence",
        "method": "artifact",
        "owner_role": "Network/security owner",
        "source_ids": [
          "WAF-SEC"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned control example: Snowflake and cloud owners reconcile least-required access and credential boundaries.",
        "remediation_case": "Planned adverse example: review storage integrations, stages and trust credentials is contradicted by the required evidence; validate business consequence before a finding.",
        "unknown_case": "Required storage integration roles, external stages and cloud permission evidence is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Snowflake and cloud owners reconcile least-required access and credential boundaries. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W3",
        "manual_alternative": "Interview the network/security owner and inspect approved storage integration roles, external stages and cloud permission evidence; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "metadata_capture",
        "native_metadata"
      ]
    },
    {
      "id": "NETWORK-05",
      "domain": "NETWORK",
      "title": "Review cross-account/cloud/region sharing boundaries",
      "expected_behavior": "Owners approve each sampled external boundary, recipient and data scope.",
      "evidence": "Shares, replication destinations and documented account trust boundaries",
      "method": "artifact",
      "owner": "Network/security owner",
      "check_ids": [
        "AP34"
      ],
      "implementation_coverage": "METADATA_OR_PROFILE_SIGNALS",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP34: AU recipient list is used because SHOW SHARES truncates displayed recipients to three. Listing and replication boundaries need additional review. Native execution NOT_RUN. Metadata cannot establish business purpose or policy effectiveness."
      ],
      "manual_gap": "Metadata/profile SQL provides evidence, not complete control assurance. Shares, replication destinations and documented account trust boundaries still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the network/security owner and inspect approved shares, replication destinations and documented account trust boundaries; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Review each selected cross-account, cloud or region boundary with approved recipients, shared objects and contractual/data-owner restrictions; retain unknown onward copies.",
      "future_acceptance": "Owners approve each sampled external boundary, recipient and data scope. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required shares, replication destinations and documented account trust boundaries is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://www.snowflake.com/en/developers/guides/well-architected-framework-security-and-governance/"
      ],
      "check_implementations": [
        {
          "check_id": "AP34",
          "sql": "sql/checks/AP34_outbound_share_boundaries.sql",
          "direct_sql": "sql/direct-live/AP34_outbound_share_boundaries.sql",
          "sources": [
            "SHARES"
          ],
          "method_kind": "native_metadata",
          "remediation": "Approve each recipient and share data scope; verify cloud region and replication destinations separately.",
          "limitations": "AU recipient list is used because SHOW SHARES truncates displayed recipients to three. Listing and replication boundaries need additional review. Native execution NOT_RUN. Metadata cannot establish business purpose or policy effectiveness."
        }
      ],
      "baseline_record": {
        "id": "NETWORK-05",
        "domain": "NETWORK",
        "practice": "Review cross-account/cloud/region sharing boundaries",
        "evidence": "Shares, replication destinations and documented account trust boundaries",
        "method": "artifact",
        "owner_role": "Network/security owner",
        "source_ids": [
          "WAF-SEC"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned control example: Owners approve each sampled external boundary, recipient and data scope.",
        "remediation_case": "Planned adverse example: review cross-account/cloud/region sharing boundaries is contradicted by the required evidence; validate business consequence before a finding.",
        "unknown_case": "Required shares, replication destinations and documented account trust boundaries is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Owners approve each sampled external boundary, recipient and data scope. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W3",
        "manual_alternative": "Interview the network/security owner and inspect approved shares, replication destinations and documented account trust boundaries; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "native_metadata"
      ]
    },
    {
      "id": "WAREHOUSE-01",
      "domain": "WAREHOUSE",
      "title": "Evaluate oversized warehouse candidates against useful work",
      "expected_behavior": "Separately approved right-size tests preserve correctness and agreed latency/cost targets.",
      "evidence": "Warehouse size/configuration, query profiles, load and comparable service targets",
      "method": "artifact",
      "owner": "Platform and workload owner",
      "check_ids": [
        "AP05",
        "AP45"
      ],
      "implementation_coverage": "METADATA_OR_PROFILE_SIGNALS",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP05: Database-scoped load is unsupported and UNKNOWN; absent history intervals are not zero; observed sizes are not interval-matched; no savings estimate.",
        "AP45: Short queries on any size are only benchmark leads; no universal oversized size threshold or savings estimate."
      ],
      "manual_gap": "Metadata/profile SQL provides evidence, not complete control assurance. Warehouse size/configuration, query profiles, load and comparable service targets still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the platform and workload owner and inspect approved warehouse size/configuration, query profiles, load and comparable service targets; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Prioritize low-load warehouses for owner review, then benchmark a smaller approved configuration against representative useful work, correctness and peak service targets.",
      "future_acceptance": "Separately approved right-size tests preserve correctness and agreed latency/cost targets. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required warehouse size/configuration, query profiles, load and comparable service targets is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://docs.snowflake.com/en/user-guide/warehouses-considerations",
        "https://docs.snowflake.com/en/sql-reference/account-usage/query_history",
        "https://docs.snowflake.com/en/sql-reference/account-usage/warehouse_load_history",
        "https://docs.snowflake.com/en/user-guide/warehouses-load-monitoring"
      ],
      "check_implementations": [
        {
          "check_id": "AP05",
          "sql": "sql/checks/AP05_load_sizing.sql",
          "direct_sql": "sql/direct-live/AP05_load_sizing.sql",
          "sources": [
            "QUERY_HISTORY",
            "WAREHOUSE_LOAD_HISTORY"
          ],
          "method_kind": "native_metadata",
          "remediation": "Review representative peaks and workload SLO; benchmark any approved change including cache impact.",
          "limitations": "Database-scoped load is unsupported and UNKNOWN; absent history intervals are not zero; observed sizes are not interval-matched; no savings estimate."
        },
        {
          "check_id": "AP45",
          "sql": "sql/checks/AP45_sizing_slice.sql",
          "direct_sql": "sql/direct-live/AP45_sizing_slice.sql",
          "sources": [
            "QUERY_HISTORY"
          ],
          "method_kind": "native_metadata",
          "remediation": "Use short-query samples with load and metering to design an approved smaller-size benchmark.",
          "limitations": "Short queries on any size are only benchmark leads; no universal oversized size threshold or savings estimate."
        }
      ],
      "baseline_record": {
        "id": "WAREHOUSE-01",
        "domain": "WAREHOUSE",
        "practice": "Evaluate oversized warehouse candidates against useful work",
        "evidence": "Warehouse size/configuration, query profiles, load and comparable service targets",
        "method": "artifact",
        "owner_role": "Platform and workload owner",
        "source_ids": [
          "WAREHOUSE"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned fixture brief: Comparable queries meet SLO on a small warehouse with declared cache/concurrency.",
        "remediation_case": "Planned fixture brief: Large warehouse has short low-concurrency work and high idle credits; smaller-size benefit still needs a controlled test.",
        "unknown_case": "Required warehouse size/configuration, query profiles, load and comparable service targets is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Separately approved right-size tests preserve correctness and agreed latency/cost targets. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W1",
        "manual_alternative": "Interview the platform and workload owner and inspect approved warehouse size/configuration, query profiles, load and comparable service targets; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "native_metadata"
      ]
    },
    {
      "id": "WAREHOUSE-02",
      "domain": "WAREHOUSE",
      "title": "Evaluate undersized warehouse candidates and saturation",
      "expected_behavior": "Approved tests distinguish capacity constraints from SQL and concurrency problems.",
      "evidence": "Warehouse configuration, concurrency, overload queue and representative profiles",
      "method": "mixed",
      "owner": "Platform and workload owner",
      "check_ids": [
        "AP02",
        "AP05",
        "AP46"
      ],
      "implementation_coverage": "METADATA_OR_PROFILE_SIGNALS",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP02: Summed query times overlap; ratio is not a wall-clock warehouse utilization measure.",
        "AP05: Database-scoped load is unsupported and UNKNOWN; absent history intervals are not zero; observed sizes are not interval-matched; no savings estimate.",
        "AP46: Remote spill may reflect QAS. Queueing or spill alone does not establish undersizing."
      ],
      "manual_gap": "Metadata/profile SQL provides evidence, not complete control assurance. Warehouse configuration, concurrency, overload queue and representative profiles still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the platform and workload owner and inspect approved warehouse configuration, concurrency, overload queue and representative profiles; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Separate SQL design, overload, provisioning and capacity causes before testing a larger warehouse; compare equivalent workload conditions and incremental credits.",
      "future_acceptance": "Approved tests distinguish capacity constraints from SQL and concurrency problems. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required warehouse configuration, concurrency, overload queue and representative profiles is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://docs.snowflake.com/en/user-guide/warehouses-considerations",
        "https://docs.snowflake.com/en/sql-reference/account-usage/query_history",
        "https://docs.snowflake.com/en/user-guide/warehouses-load-monitoring",
        "https://docs.snowflake.com/en/sql-reference/account-usage/warehouse_load_history"
      ],
      "check_implementations": [
        {
          "check_id": "AP02",
          "sql": "sql/checks/AP02_queueing.sql",
          "direct_sql": "sql/direct-live/AP02_queueing.sql",
          "sources": [
            "QUERY_HISTORY"
          ],
          "method_kind": "native_metadata",
          "remediation": "Review peak concurrency and workload separation; test capacity changes against service targets.",
          "limitations": "Summed query times overlap; ratio is not a wall-clock warehouse utilization measure."
        },
        {
          "check_id": "AP05",
          "sql": "sql/checks/AP05_load_sizing.sql",
          "direct_sql": "sql/direct-live/AP05_load_sizing.sql",
          "sources": [
            "QUERY_HISTORY",
            "WAREHOUSE_LOAD_HISTORY"
          ],
          "method_kind": "native_metadata",
          "remediation": "Review representative peaks and workload SLO; benchmark any approved change including cache impact.",
          "limitations": "Database-scoped load is unsupported and UNKNOWN; absent history intervals are not zero; observed sizes are not interval-matched; no savings estimate."
        },
        {
          "check_id": "AP46",
          "sql": "sql/checks/AP46_pressure_slice.sql",
          "direct_sql": "sql/direct-live/AP46_pressure_slice.sql",
          "sources": [
            "QUERY_HISTORY"
          ],
          "method_kind": "native_metadata",
          "remediation": "Distinguish SQL design, concurrency and memory constraints using profile and representative workload tests.",
          "limitations": "Remote spill may reflect QAS. Queueing or spill alone does not establish undersizing."
        }
      ],
      "baseline_record": {
        "id": "WAREHOUSE-02",
        "domain": "WAREHOUSE",
        "practice": "Evaluate undersized warehouse candidates and saturation",
        "evidence": "Warehouse configuration, concurrency, overload queue and representative profiles",
        "method": "mixed",
        "owner_role": "Platform and workload owner",
        "source_ids": [
          "WAREHOUSE"
        ],
        "query_ids": [
          "META_PERFORMANCE"
        ],
        "story_ids": [
          "bi-contention"
        ],
        "tile_ids": [
          "PERFORMANCE"
        ],
        "sql_coverage": "partial",
        "story_coverage": "partial",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "Existing references expose narrow observations only; warehouse configuration, concurrency, overload queue and representative profiles still need owner-validated evidence. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned fixture brief: Efficient query families meet targets at agreed concurrency.",
        "remediation_case": "Planned fixture brief: Concurrent peak queries overload-queue on a small warehouse after profile review rules out avoidable scan/join issues.",
        "unknown_case": "Required warehouse configuration, concurrency, overload queue and representative profiles is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Approved tests distinguish capacity constraints from SQL and concurrency problems. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W1",
        "manual_alternative": "Interview the platform and workload owner and inspect approved warehouse configuration, concurrency, overload queue and representative profiles; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "existing_partial_observation"
      },
      "method_kinds": [
        "native_metadata"
      ]
    },
    {
      "id": "WAREHOUSE-03",
      "domain": "WAREHOUSE",
      "title": "Separate mixed workload contention before changing size",
      "expected_behavior": "Owners validate contention population and justified isolation options with cost tradeoffs.",
      "evidence": "Warehouse/workload mapping, comparable peak/off-peak query families",
      "method": "mixed",
      "owner": "Platform and workload owner",
      "check_ids": [
        "AP02",
        "AP05",
        "AP42",
        "AP46"
      ],
      "implementation_coverage": "METADATA_OR_PROFILE_SIGNALS",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP02: Summed query times overlap; ratio is not a wall-clock warehouse utilization measure.",
        "AP05: Database-scoped load is unsupported and UNKNOWN; absent history intervals are not zero; observed sizes are not interval-matched; no savings estimate.",
        "AP42: Minimum above one is review context for persistent capacity cost, never universally oversized.",
        "AP46: Remote spill may reflect QAS. Queueing or spill alone does not establish undersizing."
      ],
      "manual_gap": "Metadata/profile SQL provides evidence, not complete control assurance. Warehouse/workload mapping, comparable peak/off-peak query families still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the platform and workload owner and inspect approved warehouse/workload mapping, comparable peak/off-peak query families; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Identify peak BI/ELT contention and isolate or schedule workloads where justified; compare service improvements with additional operating cost.",
      "future_acceptance": "Owners validate contention population and justified isolation options with cost tradeoffs. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required warehouse/workload mapping, comparable peak/off-peak query families is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://docs.snowflake.com/en/user-guide/warehouses-considerations",
        "https://docs.snowflake.com/en/sql-reference/account-usage/query_history",
        "https://docs.snowflake.com/en/user-guide/warehouses-load-monitoring",
        "https://docs.snowflake.com/en/sql-reference/account-usage/warehouse_load_history"
      ],
      "check_implementations": [
        {
          "check_id": "AP02",
          "sql": "sql/checks/AP02_queueing.sql",
          "direct_sql": "sql/direct-live/AP02_queueing.sql",
          "sources": [
            "QUERY_HISTORY"
          ],
          "method_kind": "native_metadata",
          "remediation": "Review peak concurrency and workload separation; test capacity changes against service targets.",
          "limitations": "Summed query times overlap; ratio is not a wall-clock warehouse utilization measure."
        },
        {
          "check_id": "AP05",
          "sql": "sql/checks/AP05_load_sizing.sql",
          "direct_sql": "sql/direct-live/AP05_load_sizing.sql",
          "sources": [
            "QUERY_HISTORY",
            "WAREHOUSE_LOAD_HISTORY"
          ],
          "method_kind": "native_metadata",
          "remediation": "Review representative peaks and workload SLO; benchmark any approved change including cache impact.",
          "limitations": "Database-scoped load is unsupported and UNKNOWN; absent history intervals are not zero; observed sizes are not interval-matched; no savings estimate."
        },
        {
          "check_id": "AP42",
          "sql": "sql/checks/AP42_clusters.sql",
          "direct_sql": "sql/direct-live/AP42_clusters.sql",
          "sources": [
            "WAREHOUSES_SNAPSHOT"
          ],
          "method_kind": "metadata_capture",
          "remediation": "Compare fixed minimum clusters and scaling policy with peak queueing, edition and service targets.",
          "limitations": "Minimum above one is review context for persistent capacity cost, never universally oversized."
        },
        {
          "check_id": "AP46",
          "sql": "sql/checks/AP46_pressure_slice.sql",
          "direct_sql": "sql/direct-live/AP46_pressure_slice.sql",
          "sources": [
            "QUERY_HISTORY"
          ],
          "method_kind": "native_metadata",
          "remediation": "Distinguish SQL design, concurrency and memory constraints using profile and representative workload tests.",
          "limitations": "Remote spill may reflect QAS. Queueing or spill alone does not establish undersizing."
        }
      ],
      "baseline_record": {
        "id": "WAREHOUSE-03",
        "domain": "WAREHOUSE",
        "practice": "Separate mixed workload contention before changing size",
        "evidence": "Warehouse/workload mapping, comparable peak/off-peak query families",
        "method": "mixed",
        "owner_role": "Platform and workload owner",
        "source_ids": [
          "WAREHOUSE"
        ],
        "query_ids": [
          "META_PERFORMANCE"
        ],
        "story_ids": [
          "bi-contention"
        ],
        "tile_ids": [
          "PERFORMANCE"
        ],
        "sql_coverage": "partial",
        "story_coverage": "partial",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "Existing references expose narrow observations only; warehouse/workload mapping, comparable peak/off-peak query families still need owner-validated evidence. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned fixture brief: Separate or scheduled BI/ELT workloads meet respective targets.",
        "remediation_case": "Planned fixture brief: Peak BI and batch work overlap on one warehouse; BI queues while off-peak controls remain normal.",
        "unknown_case": "Required warehouse/workload mapping, comparable peak/off-peak query families is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Owners validate contention population and justified isolation options with cost tradeoffs. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W1",
        "manual_alternative": "Interview the platform and workload owner and inspect approved warehouse/workload mapping, comparable peak/off-peak query families; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "existing_partial_observation"
      },
      "method_kinds": [
        "metadata_capture",
        "native_metadata"
      ]
    },
    {
      "id": "WAREHOUSE-04",
      "domain": "WAREHOUSE",
      "title": "Review suspend/resume settings against workload schedules",
      "expected_behavior": "Owners approve availability/suspension tradeoffs and verify cold-start service targets.",
      "evidence": "Warehouse configuration, start/stop history and demand windows",
      "method": "artifact",
      "owner": "Platform and workload owner",
      "check_ids": [
        "AP40",
        "AP41"
      ],
      "implementation_coverage": "METADATA_OR_PROFILE_SIGNALS",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP40: NULL auto_suspend means disabled, not missing; snapshot never proves idle waste. Database-specific warehouse configuration is unsupported.",
        "AP41: Disabled auto-resume can be intentional; current state only."
      ],
      "manual_gap": "Metadata/profile SQL provides evidence, not complete control assurance. Warehouse configuration, start/stop history and demand windows still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the platform and workload owner and inspect approved warehouse configuration, start/stop history and demand windows; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Compare suspend/resume settings with demand schedules, cache effects and cold-start tolerances; agree availability tradeoffs before changing settings.",
      "future_acceptance": "Owners approve availability/suspension tradeoffs and verify cold-start service targets. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required warehouse configuration, start/stop history and demand windows is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://docs.snowflake.com/en/user-guide/warehouses-considerations"
      ],
      "check_implementations": [
        {
          "check_id": "AP40",
          "sql": "sql/checks/AP40_suspend.sql",
          "direct_sql": "sql/direct-live/AP40_suspend.sql",
          "sources": [
            "WAREHOUSES_SNAPSHOT"
          ],
          "method_kind": "metadata_capture",
          "remediation": "Review disabled suspend against workload schedule and cache/resume costs; approve any change separately.",
          "limitations": "NULL auto_suspend means disabled, not missing; snapshot never proves idle waste. Database-specific warehouse configuration is unsupported."
        },
        {
          "check_id": "AP41",
          "sql": "sql/checks/AP41_resume.sql",
          "direct_sql": "sql/direct-live/AP41_resume.sql",
          "sources": [
            "WAREHOUSES_SNAPSHOT"
          ],
          "method_kind": "metadata_capture",
          "remediation": "Confirm whether orchestrated resume or automatic resume matches workload availability requirements.",
          "limitations": "Disabled auto-resume can be intentional; current state only."
        }
      ],
      "baseline_record": {
        "id": "WAREHOUSE-04",
        "domain": "WAREHOUSE",
        "practice": "Review suspend/resume settings against workload schedules",
        "evidence": "Warehouse configuration, start/stop history and demand windows",
        "method": "artifact",
        "owner_role": "Platform and workload owner",
        "source_ids": [
          "WAREHOUSE"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned fixture brief: Suspend/resume follows demand and acceptable cold-start latency.",
        "remediation_case": "Planned fixture brief: Warehouse remains running through demand-free periods, or suspends so aggressively that critical cold starts miss targets.",
        "unknown_case": "Required warehouse configuration, start/stop history and demand windows is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Owners approve availability/suspension tradeoffs and verify cold-start service targets. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W1",
        "manual_alternative": "Interview the platform and workload owner and inspect approved warehouse configuration, start/stop history and demand windows; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "metadata_capture"
      ]
    },
    {
      "id": "WAREHOUSE-05",
      "domain": "WAREHOUSE",
      "title": "Review concurrency scaling and bounded cluster configuration",
      "expected_behavior": "Configuration matches approved concurrency needs and recurring-cost guardrails.",
      "evidence": "Cluster limits, scaling policy, load history and workload targets",
      "method": "artifact",
      "owner": "Platform and workload owner",
      "check_ids": [
        "AP02",
        "AP42",
        "AP44"
      ],
      "implementation_coverage": "METADATA_OR_PROFILE_SIGNALS",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP02: Summed query times overlap; ratio is not a wall-clock warehouse utilization measure.",
        "AP42: Minimum above one is review context for persistent capacity cost, never universally oversized.",
        "AP44: One warehouse capture per run. Statement timeout zero enforces Snowflake maximum rather than unlimited; effective session precedence requires separate review. The captured source has no validated warehouse/database identity binding; any configured warehouse or database filter returns only UNKNOWN with NULL measurement."
      ],
      "manual_gap": "Metadata/profile SQL provides evidence, not complete control assurance. Cluster limits, scaling policy, load history and workload targets still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the platform and workload owner and inspect approved cluster limits, scaling policy, load history and workload targets; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Evaluate bounded scaling against measured concurrent demand and spend guardrails; additional clusters address concurrency and need feature/edition and cost validation.",
      "future_acceptance": "Configuration matches approved concurrency needs and recurring-cost guardrails. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required cluster limits, scaling policy, load history and workload targets is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://docs.snowflake.com/en/user-guide/warehouses-considerations",
        "https://docs.snowflake.com/en/sql-reference/account-usage/query_history",
        "https://docs.snowflake.com/en/user-guide/warehouses-load-monitoring"
      ],
      "check_implementations": [
        {
          "check_id": "AP02",
          "sql": "sql/checks/AP02_queueing.sql",
          "direct_sql": "sql/direct-live/AP02_queueing.sql",
          "sources": [
            "QUERY_HISTORY"
          ],
          "method_kind": "native_metadata",
          "remediation": "Review peak concurrency and workload separation; test capacity changes against service targets.",
          "limitations": "Summed query times overlap; ratio is not a wall-clock warehouse utilization measure."
        },
        {
          "check_id": "AP42",
          "sql": "sql/checks/AP42_clusters.sql",
          "direct_sql": "sql/direct-live/AP42_clusters.sql",
          "sources": [
            "WAREHOUSES_SNAPSHOT"
          ],
          "method_kind": "metadata_capture",
          "remediation": "Compare fixed minimum clusters and scaling policy with peak queueing, edition and service targets.",
          "limitations": "Minimum above one is review context for persistent capacity cost, never universally oversized."
        },
        {
          "check_id": "AP44",
          "sql": "sql/checks/AP44_warehouse_parameters.sql",
          "direct_sql": "sql/direct-live/AP44_warehouse_parameters.sql",
          "sources": [
            "WAREHOUSE_PARAMETERS_SNAPSHOT"
          ],
          "method_kind": "metadata_capture",
          "remediation": "Compare effective warehouse and session statement limits with SLO; zero queued timeout disables that queue limit.",
          "limitations": "One warehouse capture per run. Statement timeout zero enforces Snowflake maximum rather than unlimited; effective session precedence requires separate review. The captured source has no validated warehouse/database identity binding; any configured warehouse or database filter returns only UNKNOWN with NULL measurement."
        }
      ],
      "baseline_record": {
        "id": "WAREHOUSE-05",
        "domain": "WAREHOUSE",
        "practice": "Review concurrency scaling and bounded cluster configuration",
        "evidence": "Cluster limits, scaling policy, load history and workload targets",
        "method": "artifact",
        "owner_role": "Platform and workload owner",
        "source_ids": [
          "WAREHOUSE"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned fixture brief: Bounded cluster policy serves measured concurrency within spend guardrails.",
        "remediation_case": "Planned fixture brief: Cluster maximum exceeds approved budget assumptions or minimum prevents serving documented concurrent demand.",
        "unknown_case": "Required cluster limits, scaling policy, load history and workload targets is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Configuration matches approved concurrency needs and recurring-cost guardrails. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W1",
        "manual_alternative": "Interview the platform and workload owner and inspect approved cluster limits, scaling policy, load history and workload targets; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "metadata_capture",
        "native_metadata"
      ]
    },
    {
      "id": "WAREHOUSE-06",
      "domain": "WAREHOUSE",
      "title": "Review warehouse ownership, statement limits and runaway control",
      "expected_behavior": "Owners accept bounded execution, alert response and recovery responsibilities.",
      "evidence": "Warehouse owners, timeouts, monitors and incident response evidence",
      "method": "artifact",
      "owner": "Platform and workload owner",
      "check_ids": [
        "AP43",
        "AP44"
      ],
      "implementation_coverage": "METADATA_OR_PROFILE_SIGNALS",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP43: Missing direct assignment is a candidate only; account monitor may cover it. Resource monitors do not cap all services.",
        "AP44: One warehouse capture per run. Statement timeout zero enforces Snowflake maximum rather than unlimited; effective session precedence requires separate review. The captured source has no validated warehouse/database identity binding; any configured warehouse or database filter returns only UNKNOWN with NULL measurement."
      ],
      "manual_gap": "Metadata/profile SQL provides evidence, not complete control assurance. Warehouse owners, timeouts, monitors and incident response evidence still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the platform and workload owner and inspect approved warehouse owners, timeouts, monitors and incident response evidence; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Assign warehouse ownership, bounded statement execution and alert response; verify approved timeout/recovery behavior without assuming every alert is a hard cap.",
      "future_acceptance": "Owners accept bounded execution, alert response and recovery responsibilities. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required warehouse owners, timeouts, monitors and incident response evidence is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://docs.snowflake.com/en/user-guide/warehouses-considerations"
      ],
      "check_implementations": [
        {
          "check_id": "AP43",
          "sql": "sql/checks/AP43_warehouse_controls.sql",
          "direct_sql": "sql/direct-live/AP43_warehouse_controls.sql",
          "sources": [
            "WAREHOUSES_SNAPSHOT"
          ],
          "method_kind": "metadata_capture",
          "remediation": "Validate accountable owner and account-level or warehouse-level spending controls plus alert routing.",
          "limitations": "Missing direct assignment is a candidate only; account monitor may cover it. Resource monitors do not cap all services."
        },
        {
          "check_id": "AP44",
          "sql": "sql/checks/AP44_warehouse_parameters.sql",
          "direct_sql": "sql/direct-live/AP44_warehouse_parameters.sql",
          "sources": [
            "WAREHOUSE_PARAMETERS_SNAPSHOT"
          ],
          "method_kind": "metadata_capture",
          "remediation": "Compare effective warehouse and session statement limits with SLO; zero queued timeout disables that queue limit.",
          "limitations": "One warehouse capture per run. Statement timeout zero enforces Snowflake maximum rather than unlimited; effective session precedence requires separate review. The captured source has no validated warehouse/database identity binding; any configured warehouse or database filter returns only UNKNOWN with NULL measurement."
        }
      ],
      "baseline_record": {
        "id": "WAREHOUSE-06",
        "domain": "WAREHOUSE",
        "practice": "Review warehouse ownership, statement limits and runaway control",
        "evidence": "Warehouse owners, timeouts, monitors and incident response evidence",
        "method": "artifact",
        "owner_role": "Platform and workload owner",
        "source_ids": [
          "WAREHOUSE"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned fixture brief: Named owner receives alerts and bounded statements terminate safely.",
        "remediation_case": "Planned fixture brief: Runaway statements lack timeout/response ownership, while alert destinations have no responder.",
        "unknown_case": "Required warehouse owners, timeouts, monitors and incident response evidence is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Owners accept bounded execution, alert response and recovery responsibilities. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W1",
        "manual_alternative": "Interview the platform and workload owner and inspect approved warehouse owners, timeouts, monitors and incident response evidence; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "metadata_capture"
      ]
    },
    {
      "id": "SQL-01",
      "domain": "SQL",
      "title": "Assess partition pruning for selective query families",
      "expected_behavior": "Proposed changes preserve results and improve an owner-agreed selective-workload measure.",
      "evidence": "Comparable query profiles, partitions scanned/total and filter semantics",
      "method": "artifact",
      "owner": "Analytics engineering owner",
      "check_ids": [
        "AP04",
        "AP50"
      ],
      "implementation_coverage": "METADATA_OR_PROFILE_SIGNALS",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP04: Full scans can be correct; thresholds are heuristic; query history provides compilation database context only.",
        "AP50: Result versus scan bytes is a fanout/projection review heuristic, never proof of SELECT star or excessive columns."
      ],
      "manual_gap": "Metadata/profile SQL provides evidence, not complete control assurance. Comparable query profiles, partitions scanned/total and filter semantics still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the analytics engineering owner and inspect approved comparable query profiles, partitions scanned/total and filter semantics; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Inspect selective query-family scan operators and predicates before recommending clustering or search services; preserve results and benchmark table-specific pruning.",
      "future_acceptance": "Proposed changes preserve results and improve an owner-agreed selective-workload measure. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required comparable query profiles, partitions scanned/total and filter semantics is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://docs.snowflake.com/en/user-guide/performance-query-exploring",
        "https://docs.snowflake.com/en/sql-reference/account-usage/query_history",
        "https://docs.snowflake.com/en/user-guide/tables-clustering-micropartitions"
      ],
      "check_implementations": [
        {
          "check_id": "AP04",
          "sql": "sql/checks/AP04_pruning.sql",
          "direct_sql": "sql/direct-live/AP04_pruning.sql",
          "sources": [
            "QUERY_HISTORY"
          ],
          "method_kind": "native_metadata",
          "remediation": "Validate predicate intent and scan operators; test pruning improvements before storage services.",
          "limitations": "Full scans can be correct; thresholds are heuristic; query history provides compilation database context only."
        },
        {
          "check_id": "AP50",
          "sql": "sql/checks/AP50_projection_slice.sql",
          "direct_sql": "sql/direct-live/AP50_projection_slice.sql",
          "sources": [
            "QUERY_HISTORY"
          ],
          "method_kind": "native_metadata",
          "remediation": "Inspect approved profile and required output columns; validate application needs before reducing projection.",
          "limitations": "Result versus scan bytes is a fanout/projection review heuristic, never proof of SELECT star or excessive columns."
        }
      ],
      "baseline_record": {
        "id": "SQL-01",
        "domain": "SQL",
        "practice": "Assess partition pruning for selective query families",
        "evidence": "Comparable query profiles, partitions scanned/total and filter semantics",
        "method": "artifact",
        "owner_role": "Analytics engineering owner",
        "source_ids": [
          "QUERY-TIME"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned fixture brief: Selective family prunes expected partitions under comparable filters.",
        "remediation_case": "Planned fixture brief: Selective predicate scans nearly all partitions because its filter expression prevents pruning; justified full-scan control stays separate.",
        "unknown_case": "Required comparable query profiles, partitions scanned/total and filter semantics is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Proposed changes preserve results and improve an owner-agreed selective-workload measure. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W1",
        "manual_alternative": "Interview the analytics engineering owner and inspect approved comparable query profiles, partitions scanned/total and filter semantics; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "native_metadata"
      ]
    },
    {
      "id": "SQL-02",
      "domain": "SQL",
      "title": "Review avoidable broad scans and excessive data projection",
      "expected_behavior": "Owner-approved future test removes unnecessary reads without changing meaning.",
      "evidence": "Query profiles, approved SQL/code review and required consumer columns",
      "method": "artifact",
      "owner": "Analytics engineering owner",
      "check_ids": [
        "AP04",
        "AP50"
      ],
      "implementation_coverage": "METADATA_OR_PROFILE_SIGNALS",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP04: Full scans can be correct; thresholds are heuristic; query history provides compilation database context only.",
        "AP50: Result versus scan bytes is a fanout/projection review heuristic, never proof of SELECT star or excessive columns."
      ],
      "manual_gap": "Metadata/profile SQL provides evidence, not complete control assurance. Query profiles, approved SQL/code review and required consumer columns still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the analytics engineering owner and inspect approved query profiles, approved sql/code review and required consumer columns; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Validate required output columns and business population, remove avoidable projection or reads in a proposed change, and prove equivalent results under approved comparison.",
      "future_acceptance": "Owner-approved future test removes unnecessary reads without changing meaning. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required query profiles, approved sql/code review and required consumer columns is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://docs.snowflake.com/en/user-guide/performance-query-exploring",
        "https://docs.snowflake.com/en/sql-reference/account-usage/query_history",
        "https://docs.snowflake.com/en/user-guide/tables-clustering-micropartitions"
      ],
      "check_implementations": [
        {
          "check_id": "AP04",
          "sql": "sql/checks/AP04_pruning.sql",
          "direct_sql": "sql/direct-live/AP04_pruning.sql",
          "sources": [
            "QUERY_HISTORY"
          ],
          "method_kind": "native_metadata",
          "remediation": "Validate predicate intent and scan operators; test pruning improvements before storage services.",
          "limitations": "Full scans can be correct; thresholds are heuristic; query history provides compilation database context only."
        },
        {
          "check_id": "AP50",
          "sql": "sql/checks/AP50_projection_slice.sql",
          "direct_sql": "sql/direct-live/AP50_projection_slice.sql",
          "sources": [
            "QUERY_HISTORY"
          ],
          "method_kind": "native_metadata",
          "remediation": "Inspect approved profile and required output columns; validate application needs before reducing projection.",
          "limitations": "Result versus scan bytes is a fanout/projection review heuristic, never proof of SELECT star or excessive columns."
        }
      ],
      "baseline_record": {
        "id": "SQL-02",
        "domain": "SQL",
        "practice": "Review avoidable broad scans and excessive data projection",
        "evidence": "Query profiles, approved SQL/code review and required consumer columns",
        "method": "artifact",
        "owner_role": "Analytics engineering owner",
        "source_ids": [
          "QUERY-TIME"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned fixture brief: Projection and scanned population match the required business output.",
        "remediation_case": "Planned fixture brief: Repeated report selects unused wide columns and broad historical rows while publishing a small approved summary.",
        "unknown_case": "Required query profiles, approved sql/code review and required consumer columns is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Owner-approved future test removes unnecessary reads without changing meaning. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W1",
        "manual_alternative": "Interview the analytics engineering owner and inspect approved query profiles, approved sql/code review and required consumer columns; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "native_metadata"
      ]
    },
    {
      "id": "SQL-03",
      "domain": "SQL",
      "title": "Review join fanout, cardinality and Cartesian candidates",
      "expected_behavior": "Correctness checks and measured profiles validate any join rewrite.",
      "evidence": "Operator profiles, join keys/grain and before/after aggregate reconciliation",
      "method": "artifact",
      "owner": "Analytics engineering owner",
      "check_ids": [
        "AP49"
      ],
      "implementation_coverage": "METADATA_OR_PROFILE_SIGNALS",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP49: Read-only table-function capture supplied separately, at most 10000 join operators. No query text, predicates or operator attributes exported; function retention/privileges can deny capture. The captured source has no validated warehouse/database identity binding; any configured warehouse or database filter returns only UNKNOWN with NULL measurement."
      ],
      "manual_gap": "Metadata/profile SQL provides evidence, not complete control assurance. Operator profiles, join keys/grain and before/after aggregate reconciliation still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the analytics engineering owner and inspect approved operator profiles, join keys/grain and before/after aggregate reconciliation; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Reconcile join keys, input grain and expected multiplicity; test aggregate correctness and operator fanout before adopting any join rewrite.",
      "future_acceptance": "Correctness checks and measured profiles validate any join rewrite. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required operator profiles, join keys/grain and before/after aggregate reconciliation is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://docs.snowflake.com/en/user-guide/performance-query-exploring"
      ],
      "check_implementations": [
        {
          "check_id": "AP49",
          "sql": "sql/checks/AP49_join_fanout.sql",
          "direct_sql": "sql/direct-live/AP49_join_fanout.sql",
          "sources": [
            "APPROVED_QUERY_OPERATOR_STATS"
          ],
          "method_kind": "query_profile",
          "remediation": "Validate join keys, expected cardinality and intended many-to-many semantics with the query owner.",
          "limitations": "Read-only table-function capture supplied separately, at most 10000 join operators. No query text, predicates or operator attributes exported; function retention/privileges can deny capture. The captured source has no validated warehouse/database identity binding; any configured warehouse or database filter returns only UNKNOWN with NULL measurement."
        }
      ],
      "baseline_record": {
        "id": "SQL-03",
        "domain": "SQL",
        "practice": "Review join fanout, cardinality and Cartesian candidates",
        "evidence": "Operator profiles, join keys/grain and before/after aggregate reconciliation",
        "method": "artifact",
        "owner_role": "Analytics engineering owner",
        "source_ids": [
          "QUERY-TIME"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned fixture brief: Join keys match grain and approved aggregate totals.",
        "remediation_case": "Planned fixture brief: Missing join predicate multiplies rows and charges; a legitimate many-to-many control must not be flagged by count alone.",
        "unknown_case": "Required operator profiles, join keys/grain and before/after aggregate reconciliation is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Correctness checks and measured profiles validate any join rewrite. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W1",
        "manual_alternative": "Interview the analytics engineering owner and inspect approved operator profiles, join keys/grain and before/after aggregate reconciliation; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "query_profile"
      ]
    },
    {
      "id": "SQL-04",
      "domain": "SQL",
      "title": "Review local/remote spill and memory pressure in context",
      "expected_behavior": "Approved comparison separates query-design and capacity causes before sizing decisions.",
      "evidence": "Spill bytes, operators, data volume and warehouse execution profiles",
      "method": "mixed",
      "owner": "Analytics engineering owner",
      "check_ids": [
        "AP01",
        "AP46"
      ],
      "implementation_coverage": "METADATA_OR_PROFILE_SIGNALS",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP01: Nonzero spill is not automatically harmful; history cannot establish QAS configuration.",
        "AP46: Remote spill may reflect QAS. Queueing or spill alone does not establish undersizing."
      ],
      "manual_gap": "Metadata/profile SQL provides evidence, not complete control assurance. Spill bytes, operators, data volume and warehouse execution profiles still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the analytics engineering owner and inspect approved spill bytes, operators, data volume and warehouse execution profiles; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Inspect operator spill and intermediate work, distinguish local spill from QAS-related remote writes, then compare query redesign, batching or capacity under approved conditions.",
      "future_acceptance": "Approved comparison separates query-design and capacity causes before sizing decisions. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required spill bytes, operators, data volume and warehouse execution profiles is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://docs.snowflake.com/en/user-guide/performance-query-exploring",
        "https://docs.snowflake.com/en/sql-reference/account-usage/query_history",
        "https://docs.snowflake.com/en/user-guide/performance-query-warehouse-memory",
        "https://docs.snowflake.com/en/user-guide/query-acceleration-service"
      ],
      "check_implementations": [
        {
          "check_id": "AP01",
          "sql": "sql/checks/AP01_spill.sql",
          "direct_sql": "sql/direct-live/AP01_spill.sql",
          "sources": [
            "QUERY_HISTORY"
          ],
          "method_kind": "native_metadata",
          "remediation": "Profile operation nodes, reduce intermediate work or batch size; benchmark any approved warehouse change.",
          "limitations": "Nonzero spill is not automatically harmful; history cannot establish QAS configuration."
        },
        {
          "check_id": "AP46",
          "sql": "sql/checks/AP46_pressure_slice.sql",
          "direct_sql": "sql/direct-live/AP46_pressure_slice.sql",
          "sources": [
            "QUERY_HISTORY"
          ],
          "method_kind": "native_metadata",
          "remediation": "Distinguish SQL design, concurrency and memory constraints using profile and representative workload tests.",
          "limitations": "Remote spill may reflect QAS. Queueing or spill alone does not establish undersizing."
        }
      ],
      "baseline_record": {
        "id": "SQL-04",
        "domain": "SQL",
        "practice": "Review local/remote spill and memory pressure in context",
        "evidence": "Spill bytes, operators, data volume and warehouse execution profiles",
        "method": "mixed",
        "owner_role": "Analytics engineering owner",
        "source_ids": [
          "QUERY-TIME"
        ],
        "query_ids": [
          "META_PERFORMANCE"
        ],
        "story_ids": [
          "bi-contention"
        ],
        "tile_ids": [
          "PERFORMANCE"
        ],
        "sql_coverage": "partial",
        "story_coverage": "partial",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "Existing references expose narrow observations only; spill bytes, operators, data volume and warehouse execution profiles still need owner-validated evidence. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned fixture brief: Comparable operator profile avoids harmful spill at agreed workload size.",
        "remediation_case": "Planned fixture brief: Large join or sort spills remotely during a slow family; cause may be query design or capacity and needs profile confirmation.",
        "unknown_case": "Required spill bytes, operators, data volume and warehouse execution profiles is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Approved comparison separates query-design and capacity causes before sizing decisions. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W1",
        "manual_alternative": "Interview the analytics engineering owner and inspect approved spill bytes, operators, data volume and warehouse execution profiles; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "existing_partial_observation"
      },
      "method_kinds": [
        "native_metadata"
      ]
    },
    {
      "id": "SQL-05",
      "domain": "SQL",
      "title": "Control result/local cache effects in performance comparisons",
      "expected_behavior": "Reported tests declare cache conditions and separate cold/warm populations.",
      "evidence": "Cache metadata, comparable run order, dataset change and warehouse state",
      "method": "artifact",
      "owner": "Analytics engineering owner",
      "check_ids": [
        "AP03",
        "AP47"
      ],
      "implementation_coverage": "METADATA_OR_PROFILE_SIGNALS",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP03: Parameterized hashes do not normalize every difference; only successful completed query rows are included; singleton percentile is context.",
        "AP47: Result reads are evidence, not proof of full persisted-result reuse; no query execution or cache changes."
      ],
      "manual_gap": "Metadata/profile SQL provides evidence, not complete control assurance. Cache metadata, comparable run order, dataset change and warehouse state still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the analytics engineering owner and inspect approved cache metadata, comparable run order, dataset change and warehouse state; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Declare cold/warm result and warehouse cache conditions, data volumes, query hash versions and concurrency; keep comparisons separate when inputs differ.",
      "future_acceptance": "Reported tests declare cache conditions and separate cold/warm populations. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required cache metadata, comparable run order, dataset change and warehouse state is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://docs.snowflake.com/en/user-guide/performance-query-exploring",
        "https://docs.snowflake.com/en/sql-reference/account-usage/query_history",
        "https://docs.snowflake.com/en/user-guide/query-hash"
      ],
      "check_implementations": [
        {
          "check_id": "AP03",
          "sql": "sql/checks/AP03_slow_families.sql",
          "direct_sql": "sql/direct-live/AP03_slow_families.sql",
          "sources": [
            "QUERY_HISTORY"
          ],
          "method_kind": "native_metadata",
          "remediation": "Profile recurring expensive families and compare controlled trials.",
          "limitations": "Parameterized hashes do not normalize every difference; only successful completed query rows are included; singleton percentile is context."
        },
        {
          "check_id": "AP47",
          "sql": "sql/checks/AP47_cache_effects.sql",
          "direct_sql": "sql/direct-live/AP47_cache_effects.sql",
          "sources": [
            "QUERY_HISTORY"
          ],
          "method_kind": "native_metadata",
          "remediation": "Separate observed cache conditions in comparable trials; record USE_CACHED_RESULT and local cache state externally.",
          "limitations": "Result reads are evidence, not proof of full persisted-result reuse; no query execution or cache changes."
        }
      ],
      "baseline_record": {
        "id": "SQL-05",
        "domain": "SQL",
        "practice": "Control result/local cache effects in performance comparisons",
        "evidence": "Cache metadata, comparable run order, dataset change and warehouse state",
        "method": "artifact",
        "owner_role": "Analytics engineering owner",
        "source_ids": [
          "QUERY-TIME"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned fixture brief: Cold/warm comparisons declare cache state and consistent data volume.",
        "remediation_case": "Planned fixture brief: A proposed optimization compares a warm cached tiny run with a cold large baseline, manufacturing an apparent improvement.",
        "unknown_case": "Required cache metadata, comparable run order, dataset change and warehouse state is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Reported tests declare cache conditions and separate cold/warm populations. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W1",
        "manual_alternative": "Interview the analytics engineering owner and inspect approved cache metadata, comparable run order, dataset change and warehouse state; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "native_metadata"
      ]
    },
    {
      "id": "SQL-06",
      "domain": "SQL",
      "title": "Assess repeated transformations and materialization choices",
      "expected_behavior": "Options compare recurring maintenance cost, latency and correctness before feature adoption.",
      "evidence": "Repeated query families, transformation graph and freshness requirements",
      "method": "artifact",
      "owner": "Analytics engineering owner",
      "check_ids": [
        "AP48"
      ],
      "implementation_coverage": "METADATA_OR_PROFILE_SIGNALS",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP48: Parameterized families can differ in parameters; repeated scans may be correct and materialization may cost more."
      ],
      "manual_gap": "Metadata/profile SQL provides evidence, not complete control assurance. Repeated query families, transformation graph and freshness requirements still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the analytics engineering owner and inspect approved repeated query families, transformation graph and freshness requirements; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Compare repeated transformation work with materialization freshness, maintenance, storage and service cost; adopt optional features only when measured benefit justifies recurring cost.",
      "future_acceptance": "Options compare recurring maintenance cost, latency and correctness before feature adoption. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required repeated query families, transformation graph and freshness requirements is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://docs.snowflake.com/en/user-guide/performance-query-exploring"
      ],
      "check_implementations": [
        {
          "check_id": "AP48",
          "sql": "sql/checks/AP48_repeated_work.sql",
          "direct_sql": "sql/direct-live/AP48_repeated_work.sql",
          "sources": [
            "QUERY_HISTORY"
          ],
          "method_kind": "native_metadata",
          "remediation": "Inspect authorized family profiles for repeated transformations; compare materialization maintenance, freshness and cost.",
          "limitations": "Parameterized families can differ in parameters; repeated scans may be correct and materialization may cost more."
        }
      ],
      "baseline_record": {
        "id": "SQL-06",
        "domain": "SQL",
        "practice": "Assess repeated transformations and materialization choices",
        "evidence": "Repeated query families, transformation graph and freshness requirements",
        "method": "artifact",
        "owner_role": "Analytics engineering owner",
        "source_ids": [
          "QUERY-TIME"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned fixture brief: Repeated transformations are justified by freshness and operating cost.",
        "remediation_case": "Planned fixture brief: Many consumers repeatedly recompute an expensive shared transform; materialization might help but refresh/storage costs remain untested.",
        "unknown_case": "Required repeated query families, transformation graph and freshness requirements is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Options compare recurring maintenance cost, latency and correctness before feature adoption. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W1",
        "manual_alternative": "Interview the analytics engineering owner and inspect approved repeated query families, transformation graph and freshness requirements; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "native_metadata"
      ]
    },
    {
      "id": "COST-01",
      "domain": "COST",
      "title": "Reconcile warehouse and full service charges for completed periods",
      "expected_behavior": "Finance explains period-aligned differences and excluded service components.",
      "evidence": "Warehouse, serverless/AI, storage/transfer and authoritative billing evidence",
      "method": "mixed",
      "owner": "Finance and platform owner",
      "check_ids": [
        "AP51",
        "AP52",
        "AP55",
        "AP56"
      ],
      "implementation_coverage": "METADATA_OR_PROFILE_SIGNALS",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP51: Credits only: excludes currency rates, storage and transfer charges; service totals are not the full bill. Requires account scope. Requires strictly positive whole UTC-day window; partial-day endpoints return only UNKNOWN with NULL measurement. UTC conversion is explicit before date selection.",
        "AP52: Nonwarehouse charges are not anomalies; this candidate identifies control coverage review. No dollar estimate. Requires strictly positive whole UTC-day window; partial-day endpoints return only UNKNOWN with NULL measurement. UTC conversion is explicit before date selection.",
        "AP55: Current storage state only; billed ownership avoids double counting clones but snapshots cannot estimate invoice savings. Table versions distinguished by ID.",
        "AP56: Current storage state only; billed ownership avoids double counting clones but snapshots cannot estimate invoice savings. Table versions distinguished by ID."
      ],
      "manual_gap": "Metadata/profile SQL provides evidence, not complete control assurance. Warehouse, serverless/AI, storage/transfer and authoritative billing evidence still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the finance and platform owner and inspect approved warehouse, serverless/ai, storage/transfer and authoritative billing evidence; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Reconcile completed periods with finance using nonoverlapping charge components and documented exclusions; do not present warehouse compute as the complete invoice.",
      "future_acceptance": "Finance explains period-aligned differences and excluded service components. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required warehouse, serverless/ai, storage/transfer and authoritative billing evidence is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://www.snowflake.com/en/developers/guides/well-architected-framework-cost-optimization-and-finops/"
      ],
      "check_implementations": [
        {
          "check_id": "AP51",
          "sql": "sql/checks/AP51_credit_reconciliation.sql",
          "direct_sql": "sql/direct-live/AP51_credit_reconciliation.sql",
          "sources": [
            "METERING_DAILY_HISTORY"
          ],
          "method_kind": "native_metadata",
          "remediation": "Reconcile completed UTC periods and cloud-services adjustments with finance billing evidence.",
          "limitations": "Credits only: excludes currency rates, storage and transfer charges; service totals are not the full bill. Requires account scope. Requires strictly positive whole UTC-day window; partial-day endpoints return only UNKNOWN with NULL measurement. UTC conversion is explicit before date selection."
        },
        {
          "check_id": "AP52",
          "sql": "sql/checks/AP52_service_breakdown.sql",
          "direct_sql": "sql/direct-live/AP52_service_breakdown.sql",
          "sources": [
            "METERING_DAILY_HISTORY"
          ],
          "method_kind": "native_metadata",
          "remediation": "Assign service cost owners and validate service-specific budgets or controls beyond warehouse monitors.",
          "limitations": "Nonwarehouse charges are not anomalies; this candidate identifies control coverage review. No dollar estimate. Requires strictly positive whole UTC-day window; partial-day endpoints return only UNKNOWN with NULL measurement. UTC conversion is explicit before date selection."
        },
        {
          "check_id": "AP55",
          "sql": "sql/checks/AP55_storage_components.sql",
          "direct_sql": "sql/direct-live/AP55_storage_components.sql",
          "sources": [
            "TABLE_STORAGE_METRICS"
          ],
          "method_kind": "native_metadata",
          "remediation": "Validate recovery requirements, clone lifecycle and storage rates before retention changes; snapshot bytes are not period charges.",
          "limitations": "Current storage state only; billed ownership avoids double counting clones but snapshots cannot estimate invoice savings. Table versions distinguished by ID."
        },
        {
          "check_id": "AP56",
          "sql": "sql/checks/AP56_time_travel_cost.sql",
          "direct_sql": "sql/direct-live/AP56_time_travel_cost.sql",
          "sources": [
            "TABLE_STORAGE_METRICS"
          ],
          "method_kind": "native_metadata",
          "remediation": "Validate recovery requirements, clone lifecycle and storage rates before retention changes; snapshot bytes are not period charges.",
          "limitations": "Current storage state only; billed ownership avoids double counting clones but snapshots cannot estimate invoice savings. Table versions distinguished by ID."
        }
      ],
      "baseline_record": {
        "id": "COST-01",
        "domain": "COST",
        "practice": "Reconcile warehouse and full service charges for completed periods",
        "evidence": "Warehouse, serverless/AI, storage/transfer and authoritative billing evidence",
        "method": "mixed",
        "owner_role": "Finance and platform owner",
        "source_ids": [
          "WAF-COST"
        ],
        "query_ids": [
          "META_COST_SUMMARY",
          "META_COST_TREND"
        ],
        "story_ids": [
          "idle-cost"
        ],
        "tile_ids": [
          "COST_SUMMARY",
          "COST_TREND"
        ],
        "sql_coverage": "partial",
        "story_coverage": "partial",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "Existing references expose narrow observations only; warehouse, serverless/ai, storage/transfer and authoritative billing evidence still need owner-validated evidence. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned control example: Finance explains period-aligned differences and excluded service components.",
        "remediation_case": "Planned adverse example: reconcile warehouse and full service charges for completed periods is contradicted by the required evidence; validate business consequence before a finding.",
        "unknown_case": "Required warehouse, serverless/ai, storage/transfer and authoritative billing evidence is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Finance explains period-aligned differences and excluded service components. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W2",
        "manual_alternative": "Interview the finance and platform owner and inspect approved warehouse, serverless/ai, storage/transfer and authoritative billing evidence; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "existing_partial_observation"
      },
      "method_kinds": [
        "native_metadata"
      ]
    },
    {
      "id": "COST-02",
      "domain": "COST",
      "title": "Measure ownership and workload attribution coverage",
      "expected_behavior": "Unallocated usage remains visible and owners validate count/credit-weighted attribution.",
      "evidence": "Query counts/credits, trusted tags and validated cost-owner mappings",
      "method": "mixed",
      "owner": "Finance and platform owner",
      "check_ids": [
        "AP53",
        "AP54",
        "AP58"
      ],
      "implementation_coverage": "METADATA_OR_PROFILE_SIGNALS",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP53: Missing attribution is not zero compute; successful completed history population only. Count coverage does not measure metered credit coverage.",
        "AP54: Never prints or groups by raw tags, which may be sensitive. Credit coverage is within attributed query credits, not total bill; missing attribution makes it UNKNOWN.",
        "AP58: Database-scoped attribution reconciliation unsupported; attributed credits exclude idle and other services, not equivalent to invoice."
      ],
      "manual_gap": "Metadata/profile SQL provides evidence, not complete control assurance. Query counts/credits, trusted tags and validated cost-owner mappings still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the finance and platform owner and inspect approved query counts/credits, trusted tags and validated cost-owner mappings; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Map query/warehouse ownership to approved workload dimensions and retain unallocated credits; validate count-weighted and credit-weighted attribution separately.",
      "future_acceptance": "Unallocated usage remains visible and owners validate count/credit-weighted attribution. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required query counts/credits, trusted tags and validated cost-owner mappings is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://www.snowflake.com/en/developers/guides/well-architected-framework-cost-optimization-and-finops/"
      ],
      "check_implementations": [
        {
          "check_id": "AP53",
          "sql": "sql/checks/AP53_attribution_counts.sql",
          "direct_sql": "sql/direct-live/AP53_attribution_counts.sql",
          "sources": [
            "QUERY_HISTORY",
            "QUERY_ATTRIBUTION_HISTORY"
          ],
          "method_kind": "native_metadata",
          "remediation": "Explain missing attribution using short-query exclusions, eight-hour latency, adaptive warehouses and boundaries.",
          "limitations": "Missing attribution is not zero compute; successful completed history population only. Count coverage does not measure metered credit coverage."
        },
        {
          "check_id": "AP54",
          "sql": "sql/checks/AP54_tag_allocation.sql",
          "direct_sql": "sql/direct-live/AP54_tag_allocation.sql",
          "sources": [
            "QUERY_HISTORY",
            "QUERY_ATTRIBUTION_HISTORY"
          ],
          "method_kind": "native_metadata",
          "remediation": "Validate tags against approved owner mappings; retain unallocated credits and report both denominators.",
          "limitations": "Never prints or groups by raw tags, which may be sensitive. Credit coverage is within attributed query credits, not total bill; missing attribution makes it UNKNOWN."
        },
        {
          "check_id": "AP58",
          "sql": "sql/checks/AP58_attribution_population.sql",
          "direct_sql": "sql/direct-live/AP58_attribution_population.sql",
          "sources": [
            "QUERY_HISTORY",
            "QUERY_ATTRIBUTION_HISTORY"
          ],
          "method_kind": "native_metadata",
          "remediation": "Explain unmatched credits from history eligibility, latency, boundaries and visibility before interpreting metered gaps.",
          "limitations": "Database-scoped attribution reconciliation unsupported; attributed credits exclude idle and other services, not equivalent to invoice."
        }
      ],
      "baseline_record": {
        "id": "COST-02",
        "domain": "COST",
        "practice": "Measure ownership and workload attribution coverage",
        "evidence": "Query counts/credits, trusted tags and validated cost-owner mappings",
        "method": "mixed",
        "owner_role": "Finance and platform owner",
        "source_ids": [
          "WAF-COST"
        ],
        "query_ids": [
          "META_COST_SUMMARY"
        ],
        "story_ids": [],
        "tile_ids": [
          "COST_SUMMARY"
        ],
        "sql_coverage": "partial",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "Existing references expose narrow observations only; query counts/credits, trusted tags and validated cost-owner mappings still need owner-validated evidence. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned control example: Unallocated usage remains visible and owners validate count/credit-weighted attribution.",
        "remediation_case": "Planned adverse example: measure ownership and workload attribution coverage is contradicted by the required evidence; validate business consequence before a finding.",
        "unknown_case": "Required query counts/credits, trusted tags and validated cost-owner mappings is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Unallocated usage remains visible and owners validate count/credit-weighted attribution. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W2",
        "manual_alternative": "Interview the finance and platform owner and inspect approved query counts/credits, trusted tags and validated cost-owner mappings; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "existing_partial_observation"
      },
      "method_kinds": [
        "native_metadata"
      ]
    },
    {
      "id": "COST-03",
      "domain": "COST",
      "title": "Investigate metered-minus-attributed compute differences",
      "expected_behavior": "Owner review distinguishes idle candidates, attribution exclusions and timing differences.",
      "evidence": "Aligned metering/attribution periods, configuration and query populations",
      "method": "mixed",
      "owner": "Finance and platform owner",
      "check_ids": [
        "AP12",
        "AP53",
        "AP58"
      ],
      "implementation_coverage": "METADATA_OR_PROFILE_SIGNALS",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP12: Not the total bill or guaranteed avoidable spend. Adaptive Warehouses need dedicated metering; restrict this comparison to compatible standard warehouse evidence. Different time bases and long/cross-window queries can explain differences.",
        "AP53: Missing attribution is not zero compute; successful completed history population only. Count coverage does not measure metered credit coverage.",
        "AP58: Database-scoped attribution reconciliation unsupported; attributed credits exclude idle and other services, not equivalent to invoice."
      ],
      "manual_gap": "Metadata/profile SQL provides evidence, not complete control assurance. Aligned metering/attribution periods, configuration and query populations still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the finance and platform owner and inspect approved aligned metering/attribution periods, configuration and query populations; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Investigate metered compute minus attributed query compute using aligned windows, latency and exclusions; identify idle candidates without labeling the entire gap waste or savings.",
      "future_acceptance": "Owner review distinguishes idle candidates, attribution exclusions and timing differences. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required aligned metering/attribution periods, configuration and query populations is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://www.snowflake.com/en/developers/guides/well-architected-framework-cost-optimization-and-finops/",
        "https://docs.snowflake.com/en/sql-reference/account-usage/warehouse_metering_history",
        "https://docs.snowflake.com/en/sql-reference/account-usage/query_attribution_history"
      ],
      "check_implementations": [
        {
          "check_id": "AP12",
          "sql": "sql/checks/AP12_compute_attribution_gap.sql",
          "direct_sql": "sql/direct-live/AP12_compute_attribution_gap.sql",
          "sources": [
            "WAREHOUSE_METERING_HISTORY",
            "QUERY_ATTRIBUTION_HISTORY"
          ],
          "method_kind": "native_metadata",
          "remediation": "Validate billing/source latency and attribution exclusions; review auto-suspend/workload schedules and test feasible options separately.",
          "limitations": "Not the total bill or guaranteed avoidable spend. Adaptive Warehouses need dedicated metering; restrict this comparison to compatible standard warehouse evidence. Different time bases and long/cross-window queries can explain differences."
        },
        {
          "check_id": "AP53",
          "sql": "sql/checks/AP53_attribution_counts.sql",
          "direct_sql": "sql/direct-live/AP53_attribution_counts.sql",
          "sources": [
            "QUERY_HISTORY",
            "QUERY_ATTRIBUTION_HISTORY"
          ],
          "method_kind": "native_metadata",
          "remediation": "Explain missing attribution using short-query exclusions, eight-hour latency, adaptive warehouses and boundaries.",
          "limitations": "Missing attribution is not zero compute; successful completed history population only. Count coverage does not measure metered credit coverage."
        },
        {
          "check_id": "AP58",
          "sql": "sql/checks/AP58_attribution_population.sql",
          "direct_sql": "sql/direct-live/AP58_attribution_population.sql",
          "sources": [
            "QUERY_HISTORY",
            "QUERY_ATTRIBUTION_HISTORY"
          ],
          "method_kind": "native_metadata",
          "remediation": "Explain unmatched credits from history eligibility, latency, boundaries and visibility before interpreting metered gaps.",
          "limitations": "Database-scoped attribution reconciliation unsupported; attributed credits exclude idle and other services, not equivalent to invoice."
        }
      ],
      "baseline_record": {
        "id": "COST-03",
        "domain": "COST",
        "practice": "Investigate metered-minus-attributed compute differences",
        "evidence": "Aligned metering/attribution periods, configuration and query populations",
        "method": "mixed",
        "owner_role": "Finance and platform owner",
        "source_ids": [
          "WAF-COST"
        ],
        "query_ids": [
          "META_COST_SUMMARY",
          "META_COST_TREND"
        ],
        "story_ids": [
          "idle-cost"
        ],
        "tile_ids": [
          "COST_SUMMARY",
          "COST_TREND"
        ],
        "sql_coverage": "partial",
        "story_coverage": "partial",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "Existing references expose narrow observations only; aligned metering/attribution periods, configuration and query populations still need owner-validated evidence. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned control example: Owner review distinguishes idle candidates, attribution exclusions and timing differences.",
        "remediation_case": "Planned adverse example: investigate metered-minus-attributed compute differences is contradicted by the required evidence; validate business consequence before a finding.",
        "unknown_case": "Required aligned metering/attribution periods, configuration and query populations is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Owner review distinguishes idle candidates, attribution exclusions and timing differences. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W2",
        "manual_alternative": "Interview the finance and platform owner and inspect approved aligned metering/attribution periods, configuration and query populations; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "existing_partial_observation"
      },
      "method_kinds": [
        "native_metadata"
      ]
    },
    {
      "id": "COST-04",
      "domain": "COST",
      "title": "Assign alert and spending-control response ownership",
      "expected_behavior": "Owners confirm service coverage, escalation and response without treating alerts as universal caps.",
      "evidence": "Resource monitors, budgets, limits and alert-routing evidence",
      "method": "artifact",
      "owner": "Finance and platform owner",
      "check_ids": [
        "AP43",
        "AP52",
        "AP57"
      ],
      "implementation_coverage": "METADATA_OR_PROFILE_SIGNALS",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP43: Missing direct assignment is a candidate only; account monitor may cover it. Resource monitors do not cap all services.",
        "AP52: Nonwarehouse charges are not anomalies; this candidate identifies control coverage review. No dollar estimate. Requires strictly positive whole UTC-day window; partial-day endpoints return only UNKNOWN with NULL measurement. UTC conversion is explicit before date selection.",
        "AP57: Direct warehouse coverage only; inherited account controls and serverless/AI services require separate evidence."
      ],
      "manual_gap": "Metadata/profile SQL provides evidence, not complete control assurance. Resource monitors, budgets, limits and alert-routing evidence still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the finance and platform owner and inspect approved resource monitors, budgets, limits and alert-routing evidence; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Assign alert recipients, response thresholds and service coverage; distinguish resource-monitor controls from budgets and services they do not govern.",
      "future_acceptance": "Owners confirm service coverage, escalation and response without treating alerts as universal caps. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required resource monitors, budgets, limits and alert-routing evidence is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://www.snowflake.com/en/developers/guides/well-architected-framework-cost-optimization-and-finops/"
      ],
      "check_implementations": [
        {
          "check_id": "AP43",
          "sql": "sql/checks/AP43_warehouse_controls.sql",
          "direct_sql": "sql/direct-live/AP43_warehouse_controls.sql",
          "sources": [
            "WAREHOUSES_SNAPSHOT"
          ],
          "method_kind": "metadata_capture",
          "remediation": "Validate accountable owner and account-level or warehouse-level spending controls plus alert routing.",
          "limitations": "Missing direct assignment is a candidate only; account monitor may cover it. Resource monitors do not cap all services."
        },
        {
          "check_id": "AP52",
          "sql": "sql/checks/AP52_service_breakdown.sql",
          "direct_sql": "sql/direct-live/AP52_service_breakdown.sql",
          "sources": [
            "METERING_DAILY_HISTORY"
          ],
          "method_kind": "native_metadata",
          "remediation": "Assign service cost owners and validate service-specific budgets or controls beyond warehouse monitors.",
          "limitations": "Nonwarehouse charges are not anomalies; this candidate identifies control coverage review. No dollar estimate. Requires strictly positive whole UTC-day window; partial-day endpoints return only UNKNOWN with NULL measurement. UTC conversion is explicit before date selection."
        },
        {
          "check_id": "AP57",
          "sql": "sql/checks/AP57_monitor_coverage.sql",
          "direct_sql": "sql/direct-live/AP57_monitor_coverage.sql",
          "sources": [
            "WAREHOUSES_SNAPSHOT"
          ],
          "method_kind": "metadata_capture",
          "remediation": "Reconcile uncovered direct assignments with account monitor and service-specific budgets; verify alert recipients.",
          "limitations": "Direct warehouse coverage only; inherited account controls and serverless/AI services require separate evidence."
        }
      ],
      "baseline_record": {
        "id": "COST-04",
        "domain": "COST",
        "practice": "Assign alert and spending-control response ownership",
        "evidence": "Resource monitors, budgets, limits and alert-routing evidence",
        "method": "artifact",
        "owner_role": "Finance and platform owner",
        "source_ids": [
          "WAF-COST"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned control example: Owners confirm service coverage, escalation and response without treating alerts as universal caps.",
        "remediation_case": "Planned adverse example: assign alert and spending-control response ownership is contradicted by the required evidence; validate business consequence before a finding.",
        "unknown_case": "Required resource monitors, budgets, limits and alert-routing evidence is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Owners confirm service coverage, escalation and response without treating alerts as universal caps. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W2",
        "manual_alternative": "Interview the finance and platform owner and inspect approved resource monitors, budgets, limits and alert-routing evidence; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "metadata_capture",
        "native_metadata"
      ]
    },
    {
      "id": "COST-05",
      "domain": "COST",
      "title": "Model nonoverlapping benefit and incremental costs",
      "expected_behavior": "Finance accepts conditional low/base/high estimates without default rates or duplicate benefits.",
      "evidence": "Eligible baseline, approved test results, adoption and implementation cost",
      "method": "artifact",
      "owner": "Finance and platform owner",
      "check_ids": [
        "AP55",
        "AP56",
        "AP59"
      ],
      "implementation_coverage": "METADATA_OR_PROFILE_SIGNALS",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP55: Current storage state only; billed ownership avoids double counting clones but snapshots cannot estimate invoice savings. Table versions distinguished by ID.",
        "AP56: Current storage state only; billed ownership avoids double counting clones but snapshots cannot estimate invoice savings. Table versions distinguished by ID.",
        "AP59: Client context source, not Snowflake-native metadata. One selected opportunity per exclusive group; model outputs are conditional and must never be summed across overlapping groups. The captured source has no validated warehouse/database identity binding; any configured warehouse or database filter returns only UNKNOWN with NULL measurement."
      ],
      "manual_gap": "Metadata/profile SQL provides evidence, not complete control assurance. Eligible baseline, approved test results, adoption and implementation cost still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the finance and platform owner and inspect approved eligible baseline, approved test results, adoption and implementation cost; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Model low/base/high benefits using client-approved rates and mutually exclusive opportunities, subtract implementation and recurring costs, and avoid guaranteed savings claims.",
      "future_acceptance": "Finance accepts conditional low/base/high estimates without default rates or duplicate benefits. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required eligible baseline, approved test results, adoption and implementation cost is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://www.snowflake.com/en/developers/guides/well-architected-framework-cost-optimization-and-finops/"
      ],
      "check_implementations": [
        {
          "check_id": "AP55",
          "sql": "sql/checks/AP55_storage_components.sql",
          "direct_sql": "sql/direct-live/AP55_storage_components.sql",
          "sources": [
            "TABLE_STORAGE_METRICS"
          ],
          "method_kind": "native_metadata",
          "remediation": "Validate recovery requirements, clone lifecycle and storage rates before retention changes; snapshot bytes are not period charges.",
          "limitations": "Current storage state only; billed ownership avoids double counting clones but snapshots cannot estimate invoice savings. Table versions distinguished by ID."
        },
        {
          "check_id": "AP56",
          "sql": "sql/checks/AP56_time_travel_cost.sql",
          "direct_sql": "sql/direct-live/AP56_time_travel_cost.sql",
          "sources": [
            "TABLE_STORAGE_METRICS"
          ],
          "method_kind": "native_metadata",
          "remediation": "Validate recovery requirements, clone lifecycle and storage rates before retention changes; snapshot bytes are not period charges.",
          "limitations": "Current storage state only; billed ownership avoids double counting clones but snapshots cannot estimate invoice savings. Table versions distinguished by ID."
        },
        {
          "check_id": "AP59",
          "sql": "sql/checks/AP59_conditional_benefit.sql",
          "direct_sql": "sql/direct-live/AP59_conditional_benefit.sql",
          "sources": [
            "APPROVED_BENEFIT_CONTEXT"
          ],
          "method_kind": "approved_input",
          "remediation": "Finance must approve rates, disjoint opportunity groups, common period, adoption and separately evidenced reduction scenarios.",
          "limitations": "Client context source, not Snowflake-native metadata. One selected opportunity per exclusive group; model outputs are conditional and must never be summed across overlapping groups. The captured source has no validated warehouse/database identity binding; any configured warehouse or database filter returns only UNKNOWN with NULL measurement."
        }
      ],
      "baseline_record": {
        "id": "COST-05",
        "domain": "COST",
        "practice": "Model nonoverlapping benefit and incremental costs",
        "evidence": "Eligible baseline, approved test results, adoption and implementation cost",
        "method": "artifact",
        "owner_role": "Finance and platform owner",
        "source_ids": [
          "WAF-COST"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned control example: Finance accepts conditional low/base/high estimates without default rates or duplicate benefits.",
        "remediation_case": "Planned adverse example: model nonoverlapping benefit and incremental costs is contradicted by the required evidence; validate business consequence before a finding.",
        "unknown_case": "Required eligible baseline, approved test results, adoption and implementation cost is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Finance accepts conditional low/base/high estimates without default rates or duplicate benefits. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W2",
        "manual_alternative": "Interview the finance and platform owner and inspect approved eligible baseline, approved test results, adoption and implementation cost; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "approved_input",
        "native_metadata"
      ]
    },
    {
      "id": "INGESTION-01",
      "domain": "INGESTION",
      "title": "Reconcile source batches with loaded and rejected rows",
      "expected_behavior": "Owners define completeness and reconcile selected source-to-target populations.",
      "evidence": "Batch manifests, source totals, COPY outcomes and error/reject counts",
      "method": "mixed",
      "owner": "Ingestion/source owner",
      "check_ids": [
        "AP13",
        "AP60"
      ],
      "implementation_coverage": "METADATA_OR_PROFILE_SIGNALS",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP13: COPY_HISTORY is delayed and visibility limited; it is not the source-system expected population. No source filenames, messages or patient rows selected.",
        "AP60: Counts must represent the same batch and grain; matching totals can hide duplicates and missing records. Empty input means NOT ASSESSED; no result must be reported UNKNOWN. Evidence completeness and approval are owner assertions. Timestamp must be within selected window."
      ],
      "manual_gap": "Metadata/profile SQL provides evidence, not complete control assurance. Batch manifests, source totals, COPY outcomes and error/reject counts still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the ingestion/source owner and inspect approved batch manifests, source totals, copy outcomes and error/reject counts; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Reconcile expected source batches and rows with loaded, rejected and partial outcomes; use approved completeness and business-window definitions rather than COPY status alone.",
      "future_acceptance": "Owners define completeness and reconcile selected source-to-target populations. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required batch manifests, source totals, copy outcomes and error/reject counts is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://www.snowflake.com/en/developers/guides/well-architected-framework-reliability/",
        "https://docs.snowflake.com/en/sql-reference/account-usage/copy_history"
      ],
      "check_implementations": [
        {
          "check_id": "AP13",
          "sql": "sql/checks/AP13_load_failures.sql",
          "direct_sql": "sql/direct-live/AP13_load_failures.sql",
          "sources": [
            "COPY_HISTORY"
          ],
          "method_kind": "native_metadata",
          "remediation": "Inspect source manifests and retry/deduplication policy; recommend monitored replay and reconciliation against approved aggregates.",
          "limitations": "COPY_HISTORY is delayed and visibility limited; it is not the source-system expected population. No source filenames, messages or patient rows selected."
        },
        {
          "check_id": "AP60",
          "sql": "sql/checks/AP60_exp_operations.sql",
          "direct_sql": "sql/direct-live/AP60_exp_operations.sql",
          "sources": [
            "EXP_AP60_INPUT"
          ],
          "method_kind": "approved_input",
          "remediation": "Reconcile expected source batches and rows with loaded, rejected and partial outcomes; use approved completeness and business-window definitions rather than COPY status alone.",
          "limitations": "Counts must represent the same batch and grain; matching totals can hide duplicates and missing records. Empty input means NOT ASSESSED; no result must be reported UNKNOWN. Evidence completeness and approval are owner assertions. Timestamp must be within selected window."
        }
      ],
      "baseline_record": {
        "id": "INGESTION-01",
        "domain": "INGESTION",
        "practice": "Reconcile source batches with loaded and rejected rows",
        "evidence": "Batch manifests, source totals, COPY outcomes and error/reject counts",
        "method": "mixed",
        "owner_role": "Ingestion/source owner",
        "source_ids": [
          "WAF-REL"
        ],
        "query_ids": [
          "META_INGESTION"
        ],
        "story_ids": [
          "claims-publish",
          "rx-partial"
        ],
        "tile_ids": [
          "INGESTION"
        ],
        "sql_coverage": "partial",
        "story_coverage": "partial",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "Existing references expose narrow observations only; batch manifests, source totals, copy outcomes and error/reject counts still need owner-validated evidence. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned control example: Owners define completeness and reconcile selected source-to-target populations.",
        "remediation_case": "Planned adverse example: reconcile source batches with loaded and rejected rows is contradicted by the required evidence; validate business consequence before a finding.",
        "unknown_case": "Required batch manifests, source totals, copy outcomes and error/reject counts is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Owners define completeness and reconcile selected source-to-target populations. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W2",
        "manual_alternative": "Interview the ingestion/source owner and inspect approved batch manifests, source totals, copy outcomes and error/reject counts; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "existing_partial_observation"
      },
      "method_kinds": [
        "approved_input",
        "native_metadata"
      ]
    },
    {
      "id": "INGESTION-02",
      "domain": "INGESTION",
      "title": "Review task/orchestrator failure detection and escalation",
      "expected_behavior": "Failed/unknown outcomes remain separate and accountable responders validate alerts.",
      "evidence": "Task histories, external orchestration logs and responder runbooks",
      "method": "mixed",
      "owner": "Ingestion/source owner",
      "check_ids": [
        "AP14",
        "AP61"
      ],
      "implementation_coverage": "METADATA_OR_PROFILE_SIGNALS",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP14: Account Usage includes completed task runs, not all scheduled/running work; external orchestrators need separate evidence.",
        "AP61: Visible metadata is partial; validate source privileges, latency, population and business impact. Zero rows is not a pass."
      ],
      "manual_gap": "Metadata/profile SQL provides evidence, not complete control assurance. Task histories, external orchestration logs and responder runbooks still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the ingestion/source owner and inspect approved task histories, external orchestration logs and responder runbooks; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Separate failed, canceled, skipped and unknown task outcomes; confirm retry policy, responder ownership and business impact before altering orchestration.",
      "future_acceptance": "Failed/unknown outcomes remain separate and accountable responders validate alerts. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required task histories, external orchestration logs and responder runbooks is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://www.snowflake.com/en/developers/guides/well-architected-framework-reliability/",
        "https://docs.snowflake.com/en/sql-reference/account-usage/task_history"
      ],
      "check_implementations": [
        {
          "check_id": "AP14",
          "sql": "sql/checks/AP14_task_failures.sql",
          "direct_sql": "sql/direct-live/AP14_task_failures.sql",
          "sources": [
            "TASK_HISTORY"
          ],
          "method_kind": "native_metadata",
          "remediation": "Review retry strategy, escalation and dependent consumers; propose ownership and replay tests where evidence is missing.",
          "limitations": "Account Usage includes completed task runs, not all scheduled/running work; external orchestrators need separate evidence."
        },
        {
          "check_id": "AP61",
          "sql": "sql/checks/AP61_exp_operations.sql",
          "direct_sql": "sql/direct-live/AP61_exp_operations.sql",
          "sources": [
            "EXP_TASKS"
          ],
          "method_kind": "metadata_capture",
          "remediation": "Separate failed, canceled, skipped and unknown task outcomes; confirm retry policy, responder ownership and business impact before altering orchestration.",
          "limitations": "Visible metadata is partial; validate source privileges, latency, population and business impact. Zero rows is not a pass."
        }
      ],
      "baseline_record": {
        "id": "INGESTION-02",
        "domain": "INGESTION",
        "practice": "Review task/orchestrator failure detection and escalation",
        "evidence": "Task histories, external orchestration logs and responder runbooks",
        "method": "mixed",
        "owner_role": "Ingestion/source owner",
        "source_ids": [
          "WAF-REL"
        ],
        "query_ids": [
          "META_TASKS"
        ],
        "story_ids": [
          "claims-publish",
          "rx-partial"
        ],
        "tile_ids": [
          "TASKS"
        ],
        "sql_coverage": "partial",
        "story_coverage": "partial",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "Existing references expose narrow observations only; task histories, external orchestration logs and responder runbooks still need owner-validated evidence. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned control example: Failed/unknown outcomes remain separate and accountable responders validate alerts.",
        "remediation_case": "Planned adverse example: review task/orchestrator failure detection and escalation is contradicted by the required evidence; validate business consequence before a finding.",
        "unknown_case": "Required task histories, external orchestration logs and responder runbooks is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Failed/unknown outcomes remain separate and accountable responders validate alerts. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W2",
        "manual_alternative": "Interview the ingestion/source owner and inspect approved task histories, external orchestration logs and responder runbooks; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "existing_partial_observation"
      },
      "method_kinds": [
        "metadata_capture",
        "native_metadata"
      ]
    },
    {
      "id": "INGESTION-03",
      "domain": "INGESTION",
      "title": "Assess retry, replay and duplicate handling",
      "expected_behavior": "A separately approved future replay test demonstrates completeness and idempotency.",
      "evidence": "Replay contracts, batch/event identifiers and previous failure/replay evidence",
      "method": "artifact",
      "owner": "Ingestion/source owner",
      "check_ids": [
        "AP62"
      ],
      "implementation_coverage": "APPROVED_INPUT_VALIDATION_ONLY",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP62: Replay correctness needs batch identifiers and source retention; metadata does not prove exactly-once delivery. Empty input means NOT ASSESSED; no result must be reported UNKNOWN. Evidence completeness and approval are owner assertions. Timestamp must be within selected window."
      ],
      "manual_gap": "These queries validate explicitly supplied owner records; they do not independently discover or prove external business/process assertions. Replay contracts, batch/event identifiers and previous failure/replay evidence still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the ingestion/source owner and inspect approved replay contracts, batch/event identifiers and previous failure/replay evidence; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Design a separately approved replay test with duplicate detection, idempotency and source completeness criteria; preserve source recovery options and failure evidence.",
      "future_acceptance": "A separately approved future replay test demonstrates completeness and idempotency. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required replay contracts, batch/event identifiers and previous failure/replay evidence is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://www.snowflake.com/en/developers/guides/well-architected-framework-reliability/"
      ],
      "check_implementations": [
        {
          "check_id": "AP62",
          "sql": "sql/checks/AP62_exp_operations.sql",
          "direct_sql": "sql/direct-live/AP62_exp_operations.sql",
          "sources": [
            "EXP_AP62_INPUT"
          ],
          "method_kind": "approved_input",
          "remediation": "Design a separately approved replay test with duplicate detection, idempotency and source completeness criteria; preserve source recovery options and failure evidence.",
          "limitations": "Replay correctness needs batch identifiers and source retention; metadata does not prove exactly-once delivery. Empty input means NOT ASSESSED; no result must be reported UNKNOWN. Evidence completeness and approval are owner assertions. Timestamp must be within selected window."
        }
      ],
      "baseline_record": {
        "id": "INGESTION-03",
        "domain": "INGESTION",
        "practice": "Assess retry, replay and duplicate handling",
        "evidence": "Replay contracts, batch/event identifiers and previous failure/replay evidence",
        "method": "artifact",
        "owner_role": "Ingestion/source owner",
        "source_ids": [
          "WAF-REL"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned control example: A separately approved future replay test demonstrates completeness and idempotency.",
        "remediation_case": "Planned adverse example: assess retry, replay and duplicate handling is contradicted by the required evidence; validate business consequence before a finding.",
        "unknown_case": "Required replay contracts, batch/event identifiers and previous failure/replay evidence is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "A separately approved future replay test demonstrates completeness and idempotency. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W2",
        "manual_alternative": "Interview the ingestion/source owner and inspect approved replay contracts, batch/event identifiers and previous failure/replay evidence; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "approved_input"
      ]
    },
    {
      "id": "INGESTION-04",
      "domain": "INGESTION",
      "title": "Review stream/task/dynamic-table dependency health if deployed",
      "expected_behavior": "Applicable owners assess lag/dependency exceptions; unsupported sources remain unassessed.",
      "evidence": "Object inventory, stream staleness, task graph and refresh history",
      "method": "artifact",
      "owner": "Ingestion/source owner",
      "check_ids": [
        "AP61",
        "AP63",
        "AP64"
      ],
      "implementation_coverage": "METADATA_OR_PROFILE_SIGNALS",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP61: Visible metadata is partial; validate source privileges, latency, population and business impact. Zero rows is not a pass.",
        "AP63: Visible metadata is partial; validate source privileges, latency, population and business impact. Zero rows is not a pass. CAPTURED_AT is collection-time adapter metadata persisted with SHOW rows; age is evaluated at capture, not at report rerun.",
        "AP64: Visible metadata is partial; validate source privileges, latency, population and business impact. Zero rows is not a pass. CAPTURED_AT is collection-time adapter metadata persisted with SHOW rows; age is evaluated at capture, not at report rerun."
      ],
      "manual_gap": "Metadata/profile SQL provides evidence, not complete control assurance. Object inventory, stream staleness, task graph and refresh history still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the ingestion/source owner and inspect approved object inventory, stream staleness, task graph and refresh history; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Inventory deployed streams, tasks and dynamic tables, then reconcile lag and dependency exceptions; leave unsupported mechanisms explicitly unassessed.",
      "future_acceptance": "Applicable owners assess lag/dependency exceptions; unsupported sources remain unassessed. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required object inventory, stream staleness, task graph and refresh history is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://www.snowflake.com/en/developers/guides/well-architected-framework-reliability/"
      ],
      "check_implementations": [
        {
          "check_id": "AP61",
          "sql": "sql/checks/AP61_exp_operations.sql",
          "direct_sql": "sql/direct-live/AP61_exp_operations.sql",
          "sources": [
            "EXP_TASKS"
          ],
          "method_kind": "metadata_capture",
          "remediation": "Separate failed, canceled, skipped and unknown task outcomes; confirm retry policy, responder ownership and business impact before altering orchestration.",
          "limitations": "Visible metadata is partial; validate source privileges, latency, population and business impact. Zero rows is not a pass."
        },
        {
          "check_id": "AP63",
          "sql": "sql/checks/AP63_exp_operations.sql",
          "direct_sql": "sql/direct-live/AP63_exp_operations.sql",
          "sources": [
            "EXP_STREAMS"
          ],
          "method_kind": "metadata_capture",
          "remediation": "Inventory deployed streams, tasks and dynamic tables, then reconcile lag and dependency exceptions; leave unsupported mechanisms explicitly unassessed.",
          "limitations": "Visible metadata is partial; validate source privileges, latency, population and business impact. Zero rows is not a pass. CAPTURED_AT is collection-time adapter metadata persisted with SHOW rows; age is evaluated at capture, not at report rerun."
        },
        {
          "check_id": "AP64",
          "sql": "sql/checks/AP64_exp_operations.sql",
          "direct_sql": "sql/direct-live/AP64_exp_operations.sql",
          "sources": [
            "EXP_DYNAMIC_TABLES"
          ],
          "method_kind": "metadata_capture",
          "remediation": "Measure business timestamps from source through consumer cutoff, separating processing completion from actual data freshness and missing business populations.",
          "limitations": "Visible metadata is partial; validate source privileges, latency, population and business impact. Zero rows is not a pass. CAPTURED_AT is collection-time adapter metadata persisted with SHOW rows; age is evaluated at capture, not at report rerun."
        }
      ],
      "baseline_record": {
        "id": "INGESTION-04",
        "domain": "INGESTION",
        "practice": "Review stream/task/dynamic-table dependency health if deployed",
        "evidence": "Object inventory, stream staleness, task graph and refresh history",
        "method": "artifact",
        "owner_role": "Ingestion/source owner",
        "source_ids": [
          "WAF-REL"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned control example: Applicable owners assess lag/dependency exceptions; unsupported sources remain unassessed.",
        "remediation_case": "Planned adverse example: review stream/task/dynamic-table dependency health if deployed is contradicted by the required evidence; validate business consequence before a finding.",
        "unknown_case": "Required object inventory, stream staleness, task graph and refresh history is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Applicable owners assess lag/dependency exceptions; unsupported sources remain unassessed. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W2",
        "manual_alternative": "Interview the ingestion/source owner and inspect approved object inventory, stream staleness, task graph and refresh history; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "metadata_capture"
      ]
    },
    {
      "id": "INGESTION-05",
      "domain": "INGESTION",
      "title": "Validate end-to-end freshness using business timestamps",
      "expected_behavior": "Owners measure source-to-consumer freshness rather than job completion alone.",
      "evidence": "Source event/extract/load/publish/consumer checkpoints and agreed targets",
      "method": "artifact",
      "owner": "Ingestion/source owner",
      "check_ids": [
        "AP64"
      ],
      "implementation_coverage": "METADATA_OR_PROFILE_SIGNALS",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP64: Visible metadata is partial; validate source privileges, latency, population and business impact. Zero rows is not a pass. CAPTURED_AT is collection-time adapter metadata persisted with SHOW rows; age is evaluated at capture, not at report rerun."
      ],
      "manual_gap": "Metadata/profile SQL provides evidence, not complete control assurance. Source event/extract/load/publish/consumer checkpoints and agreed targets still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the ingestion/source owner and inspect approved source event/extract/load/publish/consumer checkpoints and agreed targets; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Measure business timestamps from source through consumer cutoff, separating processing completion from actual data freshness and missing business populations.",
      "future_acceptance": "Owners measure source-to-consumer freshness rather than job completion alone. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required source event/extract/load/publish/consumer checkpoints and agreed targets is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://www.snowflake.com/en/developers/guides/well-architected-framework-reliability/"
      ],
      "check_implementations": [
        {
          "check_id": "AP64",
          "sql": "sql/checks/AP64_exp_operations.sql",
          "direct_sql": "sql/direct-live/AP64_exp_operations.sql",
          "sources": [
            "EXP_DYNAMIC_TABLES"
          ],
          "method_kind": "metadata_capture",
          "remediation": "Measure business timestamps from source through consumer cutoff, separating processing completion from actual data freshness and missing business populations.",
          "limitations": "Visible metadata is partial; validate source privileges, latency, population and business impact. Zero rows is not a pass. CAPTURED_AT is collection-time adapter metadata persisted with SHOW rows; age is evaluated at capture, not at report rerun."
        }
      ],
      "baseline_record": {
        "id": "INGESTION-05",
        "domain": "INGESTION",
        "practice": "Validate end-to-end freshness using business timestamps",
        "evidence": "Source event/extract/load/publish/consumer checkpoints and agreed targets",
        "method": "artifact",
        "owner_role": "Ingestion/source owner",
        "source_ids": [
          "WAF-REL"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned control example: Owners measure source-to-consumer freshness rather than job completion alone.",
        "remediation_case": "Planned adverse example: validate end-to-end freshness using business timestamps is contradicted by the required evidence; validate business consequence before a finding.",
        "unknown_case": "Required source event/extract/load/publish/consumer checkpoints and agreed targets is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Owners measure source-to-consumer freshness rather than job completion alone. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W2",
        "manual_alternative": "Interview the ingestion/source owner and inspect approved source event/extract/load/publish/consumer checkpoints and agreed targets; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "metadata_capture"
      ]
    },
    {
      "id": "DATA-01",
      "domain": "DATA",
      "title": "Validate model grain, keys and duplication semantics",
      "expected_behavior": "Domain owners agree grain and key/version rules before any deduplication recommendation.",
      "evidence": "Selected DDL/code, business keys and approved aggregate exceptions",
      "method": "mixed",
      "owner": "Data product/model owner",
      "check_ids": [
        "AP65"
      ],
      "implementation_coverage": "APPROVED_INPUT_VALIDATION_ONLY",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP65: Aggregate profile must use approved business keys and grain; business table scans require separate authorization. Empty input means NOT ASSESSED; no result must be reported UNKNOWN. Evidence completeness and approval are owner assertions. Timestamp must be within selected window."
      ],
      "manual_gap": "These queries validate explicitly supplied owner records; they do not independently discover or prove external business/process assertions. Selected DDL/code, business keys and approved aggregate exceptions still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the data product/model owner and inspect approved selected ddl/code, business keys and approved aggregate exceptions; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Agree entity grain, business keys, version and legitimate duplication rules with domain owners before proposing deduplication or constraints.",
      "future_acceptance": "Domain owners agree grain and key/version rules before any deduplication recommendation. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required selected ddl/code, business keys and approved aggregate exceptions is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://www.snowflake.com/en/developers/guides/well-architected-framework-operational-excellence/"
      ],
      "check_implementations": [
        {
          "check_id": "AP65",
          "sql": "sql/checks/AP65_exp_operations.sql",
          "direct_sql": "sql/direct-live/AP65_exp_operations.sql",
          "sources": [
            "EXP_AP65_INPUT"
          ],
          "method_kind": "approved_input",
          "remediation": "Agree entity grain, business keys, version and legitimate duplication rules with domain owners before proposing deduplication or constraints.",
          "limitations": "Aggregate profile must use approved business keys and grain; business table scans require separate authorization. Empty input means NOT ASSESSED; no result must be reported UNKNOWN. Evidence completeness and approval are owner assertions. Timestamp must be within selected window."
        }
      ],
      "baseline_record": {
        "id": "DATA-01",
        "domain": "DATA",
        "practice": "Validate model grain, keys and duplication semantics",
        "evidence": "Selected DDL/code, business keys and approved aggregate exceptions",
        "method": "mixed",
        "owner_role": "Data product/model owner",
        "source_ids": [
          "WAF-OPS"
        ],
        "query_ids": [
          "DQ001"
        ],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "partial",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "Existing references expose narrow observations only; selected ddl/code, business keys and approved aggregate exceptions still need owner-validated evidence. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned control example: Domain owners agree grain and key/version rules before any deduplication recommendation.",
        "remediation_case": "Planned adverse example: validate model grain, keys and duplication semantics is contradicted by the required evidence; validate business consequence before a finding.",
        "unknown_case": "Required selected ddl/code, business keys and approved aggregate exceptions is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Domain owners agree grain and key/version rules before any deduplication recommendation. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W2",
        "manual_alternative": "Interview the data product/model owner and inspect approved selected ddl/code, business keys and approved aggregate exceptions; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "existing_partial_observation"
      },
      "method_kinds": [
        "approved_input"
      ]
    },
    {
      "id": "DATA-02",
      "domain": "DATA",
      "title": "Assess referential integrity and reconciliation gaps",
      "expected_behavior": "Owners define legitimate exceptions and measurable referential/reconciliation criteria.",
      "evidence": "Approved relationship checks and source/target aggregate comparisons",
      "method": "mixed",
      "owner": "Data product/model owner",
      "check_ids": [
        "AP66"
      ],
      "implementation_coverage": "APPROVED_INPUT_VALIDATION_ONLY",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP66: Relationships, null handling, effective dates and late arrivals must be approved before interpreting orphan counts. Empty input means NOT ASSESSED; no result must be reported UNKNOWN. Evidence completeness and approval are owner assertions. Timestamp must be within selected window."
      ],
      "manual_gap": "These queries validate explicitly supplied owner records; they do not independently discover or prove external business/process assertions. Approved relationship checks and source/target aggregate comparisons still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the data product/model owner and inspect approved approved relationship checks and source/target aggregate comparisons; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Define referential and reconciliation populations, timing tolerances and legitimate exceptions; investigate material unexplained differences with accountable data owners.",
      "future_acceptance": "Owners define legitimate exceptions and measurable referential/reconciliation criteria. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required approved relationship checks and source/target aggregate comparisons is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://www.snowflake.com/en/developers/guides/well-architected-framework-operational-excellence/"
      ],
      "check_implementations": [
        {
          "check_id": "AP66",
          "sql": "sql/checks/AP66_exp_operations.sql",
          "direct_sql": "sql/direct-live/AP66_exp_operations.sql",
          "sources": [
            "EXP_AP66_INPUT"
          ],
          "method_kind": "approved_input",
          "remediation": "Define referential and reconciliation populations, timing tolerances and legitimate exceptions; investigate material unexplained differences with accountable data owners.",
          "limitations": "Relationships, null handling, effective dates and late arrivals must be approved before interpreting orphan counts. Empty input means NOT ASSESSED; no result must be reported UNKNOWN. Evidence completeness and approval are owner assertions. Timestamp must be within selected window."
        }
      ],
      "baseline_record": {
        "id": "DATA-02",
        "domain": "DATA",
        "practice": "Assess referential integrity and reconciliation gaps",
        "evidence": "Approved relationship checks and source/target aggregate comparisons",
        "method": "mixed",
        "owner_role": "Data product/model owner",
        "source_ids": [
          "WAF-OPS"
        ],
        "query_ids": [
          "DQ002"
        ],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "partial",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "Existing references expose narrow observations only; approved relationship checks and source/target aggregate comparisons still need owner-validated evidence. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned control example: Owners define legitimate exceptions and measurable referential/reconciliation criteria.",
        "remediation_case": "Planned adverse example: assess referential integrity and reconciliation gaps is contradicted by the required evidence; validate business consequence before a finding.",
        "unknown_case": "Required approved relationship checks and source/target aggregate comparisons is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Owners define legitimate exceptions and measurable referential/reconciliation criteria. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W2",
        "manual_alternative": "Interview the data product/model owner and inspect approved approved relationship checks and source/target aggregate comparisons; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "existing_partial_observation"
      },
      "method_kinds": [
        "approved_input"
      ]
    },
    {
      "id": "DATA-03",
      "domain": "DATA",
      "title": "Validate business measures and domain quality rules",
      "expected_behavior": "Business-approved rules and thresholds replace generic synthetic assumptions.",
      "evidence": "Metric dictionary, owners and authorized quality-test populations",
      "method": "mixed",
      "owner": "Data product/model owner",
      "check_ids": [
        "AP67"
      ],
      "implementation_coverage": "APPROVED_INPUT_VALIDATION_ONLY",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP67: Each aggregate represents one owner-approved rule and population; counts cannot establish measure semantics. Empty input means NOT ASSESSED; no result must be reported UNKNOWN. Evidence completeness and approval are owner assertions. Timestamp must be within selected window."
      ],
      "manual_gap": "These queries validate explicitly supplied owner records; they do not independently discover or prove external business/process assertions. Metric dictionary, owners and authorized quality-test populations still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the data product/model owner and inspect approved metric dictionary, owners and authorized quality-test populations; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Translate approved business definitions into measurable domain rules and representative samples; obtain owner thresholds before labeling data invalid.",
      "future_acceptance": "Business-approved rules and thresholds replace generic synthetic assumptions. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required metric dictionary, owners and authorized quality-test populations is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://www.snowflake.com/en/developers/guides/well-architected-framework-operational-excellence/"
      ],
      "check_implementations": [
        {
          "check_id": "AP67",
          "sql": "sql/checks/AP67_exp_operations.sql",
          "direct_sql": "sql/direct-live/AP67_exp_operations.sql",
          "sources": [
            "EXP_AP67_INPUT"
          ],
          "method_kind": "approved_input",
          "remediation": "Translate approved business definitions into measurable domain rules and representative samples; obtain owner thresholds before labeling data invalid.",
          "limitations": "Each aggregate represents one owner-approved rule and population; counts cannot establish measure semantics. Empty input means NOT ASSESSED; no result must be reported UNKNOWN. Evidence completeness and approval are owner assertions. Timestamp must be within selected window."
        }
      ],
      "baseline_record": {
        "id": "DATA-03",
        "domain": "DATA",
        "practice": "Validate business measures and domain quality rules",
        "evidence": "Metric dictionary, owners and authorized quality-test populations",
        "method": "mixed",
        "owner_role": "Data product/model owner",
        "source_ids": [
          "WAF-OPS"
        ],
        "query_ids": [
          "DQ003",
          "DQ004"
        ],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "partial",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "Existing references expose narrow observations only; metric dictionary, owners and authorized quality-test populations still need owner-validated evidence. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned control example: Business-approved rules and thresholds replace generic synthetic assumptions.",
        "remediation_case": "Planned adverse example: validate business measures and domain quality rules is contradicted by the required evidence; validate business consequence before a finding.",
        "unknown_case": "Required metric dictionary, owners and authorized quality-test populations is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Business-approved rules and thresholds replace generic synthetic assumptions. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W2",
        "manual_alternative": "Interview the data product/model owner and inspect approved metric dictionary, owners and authorized quality-test populations; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "existing_partial_observation"
      },
      "method_kinds": [
        "approved_input"
      ]
    },
    {
      "id": "DATA-04",
      "domain": "DATA",
      "title": "Review schema contracts and change propagation",
      "expected_behavior": "Selected changes show ownership, compatibility checks and consumer notification.",
      "evidence": "Source contracts, schema-change records and downstream compatibility evidence",
      "method": "artifact",
      "owner": "Data product/model owner",
      "check_ids": [
        "AP68"
      ],
      "implementation_coverage": "APPROVED_INPUT_VALIDATION_ONLY",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP68: Requires schema-diff and compatibility-test records; current columns cannot independently prove historical propagation. Empty input means NOT ASSESSED; no result must be reported UNKNOWN. Evidence completeness and approval are owner assertions. Timestamp must be within selected window."
      ],
      "manual_gap": "These queries validate explicitly supplied owner records; they do not independently discover or prove external business/process assertions. Source contracts, schema-change records and downstream compatibility evidence still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the data product/model owner and inspect approved source contracts, schema-change records and downstream compatibility evidence; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Trace selected schema changes through compatibility checks, consumer notification and ownership; propose versioned contracts where downstream breakage is demonstrated.",
      "future_acceptance": "Selected changes show ownership, compatibility checks and consumer notification. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required source contracts, schema-change records and downstream compatibility evidence is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://www.snowflake.com/en/developers/guides/well-architected-framework-operational-excellence/"
      ],
      "check_implementations": [
        {
          "check_id": "AP68",
          "sql": "sql/checks/AP68_exp_operations.sql",
          "direct_sql": "sql/direct-live/AP68_exp_operations.sql",
          "sources": [
            "EXP_AP68_INPUT"
          ],
          "method_kind": "approved_input",
          "remediation": "Trace selected schema changes through compatibility checks, consumer notification and ownership; propose versioned contracts where downstream breakage is demonstrated.",
          "limitations": "Requires schema-diff and compatibility-test records; current columns cannot independently prove historical propagation. Empty input means NOT ASSESSED; no result must be reported UNKNOWN. Evidence completeness and approval are owner assertions. Timestamp must be within selected window."
        }
      ],
      "baseline_record": {
        "id": "DATA-04",
        "domain": "DATA",
        "practice": "Review schema contracts and change propagation",
        "evidence": "Source contracts, schema-change records and downstream compatibility evidence",
        "method": "artifact",
        "owner_role": "Data product/model owner",
        "source_ids": [
          "WAF-OPS"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned control example: Selected changes show ownership, compatibility checks and consumer notification.",
        "remediation_case": "Planned adverse example: review schema contracts and change propagation is contradicted by the required evidence; validate business consequence before a finding.",
        "unknown_case": "Required source contracts, schema-change records and downstream compatibility evidence is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Selected changes show ownership, compatibility checks and consumer notification. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W2",
        "manual_alternative": "Interview the data product/model owner and inspect approved source contracts, schema-change records and downstream compatibility evidence; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "approved_input"
      ]
    },
    {
      "id": "DATA-05",
      "domain": "DATA",
      "title": "Reconcile declared and observed data dependencies",
      "expected_behavior": "Owners reconcile sampled lineage conflicts and explicitly retain unknown edges.",
      "evidence": "Static metadata, transformation code and runtime/external evidence",
      "method": "mixed",
      "owner": "Data product/model owner",
      "check_ids": [
        "AP16",
        "AP69"
      ],
      "implementation_coverage": "METADATA_OR_PROFILE_SIGNALS",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP16: No absence/unused-object inference. Runtime dynamic SQL, external pipelines, exports and BI/AI copies need other evidence.",
        "AP69: Enterprise feature and latency apply. Observed co-access does not establish directed lineage. Static OBJECT_DEPENDENCIES remains complementary; neither covers external BI or unexecuted paths."
      ],
      "manual_gap": "Metadata/profile SQL provides evidence, not complete control assurance. Static metadata, transformation code and runtime/external evidence still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the data product/model owner and inspect approved static metadata, transformation code and runtime/external evidence; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Reconcile declared dependencies with owner journey evidence and runtime/external paths; preserve unknown edges and do not infer unused objects from absence.",
      "future_acceptance": "Owners reconcile sampled lineage conflicts and explicitly retain unknown edges. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required static metadata, transformation code and runtime/external evidence is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://www.snowflake.com/en/developers/guides/well-architected-framework-operational-excellence/",
        "https://docs.snowflake.com/en/sql-reference/account-usage/object_dependencies"
      ],
      "check_implementations": [
        {
          "check_id": "AP16",
          "sql": "sql/checks/AP16_declared_dependencies.sql",
          "direct_sql": "sql/direct-live/AP16_declared_dependencies.sql",
          "sources": [
            "OBJECT_DEPENDENCIES"
          ],
          "method_kind": "native_metadata",
          "remediation": "Validate edges with source/platform/consumer owners, investigate unknown links and update architecture/work packages.",
          "limitations": "No absence/unused-object inference. Runtime dynamic SQL, external pipelines, exports and BI/AI copies need other evidence."
        },
        {
          "check_id": "AP69",
          "sql": "sql/checks/AP69_exp_operations.sql",
          "direct_sql": "sql/direct-live/AP69_exp_operations.sql",
          "sources": [
            "ACCESS_HISTORY"
          ],
          "method_kind": "native_metadata",
          "remediation": "Reconcile declared dependencies with owner journey evidence and runtime/external paths; preserve unknown edges and do not infer unused objects from absence.",
          "limitations": "Enterprise feature and latency apply. Observed co-access does not establish directed lineage. Static OBJECT_DEPENDENCIES remains complementary; neither covers external BI or unexecuted paths."
        }
      ],
      "baseline_record": {
        "id": "DATA-05",
        "domain": "DATA",
        "practice": "Reconcile declared and observed data dependencies",
        "evidence": "Static metadata, transformation code and runtime/external evidence",
        "method": "mixed",
        "owner_role": "Data product/model owner",
        "source_ids": [
          "WAF-OPS"
        ],
        "query_ids": [
          "META_LINEAGE"
        ],
        "story_ids": [],
        "tile_ids": [
          "LINEAGE"
        ],
        "sql_coverage": "partial",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "Existing references expose narrow observations only; static metadata, transformation code and runtime/external evidence still need owner-validated evidence. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned control example: Owners reconcile sampled lineage conflicts and explicitly retain unknown edges.",
        "remediation_case": "Planned adverse example: reconcile declared and observed data dependencies is contradicted by the required evidence; validate business consequence before a finding.",
        "unknown_case": "Required static metadata, transformation code and runtime/external evidence is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Owners reconcile sampled lineage conflicts and explicitly retain unknown edges. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W2",
        "manual_alternative": "Interview the data product/model owner and inspect approved static metadata, transformation code and runtime/external evidence; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "existing_partial_observation"
      },
      "method_kinds": [
        "native_metadata"
      ]
    },
    {
      "id": "RECOVERY-01",
      "domain": "RECOVERY",
      "title": "Compare retention and table types with recovery needs",
      "expected_behavior": "Owners approve retention choices with replay options and known recovery limitations.",
      "evidence": "Time Travel settings, transient/temporary use and business RPO/RTO",
      "method": "mixed",
      "owner": "Operations and service owner",
      "check_ids": [
        "AP15",
        "AP70"
      ],
      "implementation_coverage": "METADATA_OR_PROFILE_SIGNALS",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP15: Default one-day review floor is illustrative. Temporary/transient/edition limits and source replay can justify different settings; Fail-safe is not normal backup.",
        "AP70: Visible metadata is partial; validate source privileges, latency, population and business impact. Zero rows is not a pass."
      ],
      "manual_gap": "Metadata/profile SQL provides evidence, not complete control assurance. Time Travel settings, transient/temporary use and business RPO/RTO still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the operations and service owner and inspect approved time travel settings, transient/temporary use and business rpo/rto; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Compare selected table retention and type with business recovery needs, replay alternatives and edition limits; a heuristic retention floor alone is not a violation.",
      "future_acceptance": "Owners approve retention choices with replay options and known recovery limitations. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required time travel settings, transient/temporary use and business rpo/rto is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://www.snowflake.com/en/developers/guides/well-architected-framework-reliability/",
        "https://docs.snowflake.com/en/sql-reference/account-usage/tables",
        "https://docs.snowflake.com/en/user-guide/data-time-travel"
      ],
      "check_implementations": [
        {
          "check_id": "AP15",
          "sql": "sql/checks/AP15_retention_review.sql",
          "direct_sql": "sql/direct-live/AP15_retention_review.sql",
          "sources": [
            "TABLES"
          ],
          "method_kind": "native_metadata",
          "remediation": "Agree RPO/RTO and table-type exceptions; evaluate retention/replay options and separately authorized service recovery exercises.",
          "limitations": "Default one-day review floor is illustrative. Temporary/transient/edition limits and source replay can justify different settings; Fail-safe is not normal backup."
        },
        {
          "check_id": "AP70",
          "sql": "sql/checks/AP70_exp_operations.sql",
          "direct_sql": "sql/direct-live/AP70_exp_operations.sql",
          "sources": [
            "TABLE_STORAGE_METRICS"
          ],
          "method_kind": "native_metadata",
          "remediation": "Compare selected table retention and type with business recovery needs, replay alternatives and edition limits; a heuristic retention floor alone is not a violation.",
          "limitations": "Visible metadata is partial; validate source privileges, latency, population and business impact. Zero rows is not a pass."
        }
      ],
      "baseline_record": {
        "id": "RECOVERY-01",
        "domain": "RECOVERY",
        "practice": "Compare retention and table types with recovery needs",
        "evidence": "Time Travel settings, transient/temporary use and business RPO/RTO",
        "method": "mixed",
        "owner_role": "Operations and service owner",
        "source_ids": [
          "WAF-REL"
        ],
        "query_ids": [
          "META_RETENTION"
        ],
        "story_ids": [
          "rx-recovery"
        ],
        "tile_ids": [
          "RETENTION"
        ],
        "sql_coverage": "partial",
        "story_coverage": "partial",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "Existing references expose narrow observations only; time travel settings, transient/temporary use and business rpo/rto still need owner-validated evidence. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned control example: Owners approve retention choices with replay options and known recovery limitations.",
        "remediation_case": "Planned adverse example: compare retention and table types with recovery needs is contradicted by the required evidence; validate business consequence before a finding.",
        "unknown_case": "Required time travel settings, transient/temporary use and business rpo/rto is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Owners approve retention choices with replay options and known recovery limitations. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W2",
        "manual_alternative": "Interview the operations and service owner and inspect approved time travel settings, transient/temporary use and business rpo/rto; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "existing_partial_observation"
      },
      "method_kinds": [
        "native_metadata"
      ]
    },
    {
      "id": "RECOVERY-02",
      "domain": "RECOVERY",
      "title": "Assess source replay and essential recovery runbooks",
      "expected_behavior": "Recovery design covers source gaps, identity and external dependencies.",
      "evidence": "Source retention/replay contracts and service recovery procedures",
      "method": "artifact",
      "owner": "Operations and service owner",
      "check_ids": [
        "AP71"
      ],
      "implementation_coverage": "APPROVED_INPUT_VALIDATION_ONLY",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP71: Source retention and runbook availability must be verified externally; duration overlap alone cannot prove replay works. Empty input means NOT ASSESSED; no result must be reported UNKNOWN. Evidence completeness and approval are owner assertions. Timestamp must be within selected window."
      ],
      "manual_gap": "These queries validate explicitly supplied owner records; they do not independently discover or prove external business/process assertions. Source retention/replay contracts and service recovery procedures still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the operations and service owner and inspect approved source retention/replay contracts and service recovery procedures; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Map source replay availability and identity/external dependencies into essential recovery runbooks; identify gaps beyond table retention.",
      "future_acceptance": "Recovery design covers source gaps, identity and external dependencies. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required source retention/replay contracts and service recovery procedures is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://www.snowflake.com/en/developers/guides/well-architected-framework-reliability/"
      ],
      "check_implementations": [
        {
          "check_id": "AP71",
          "sql": "sql/checks/AP71_exp_operations.sql",
          "direct_sql": "sql/direct-live/AP71_exp_operations.sql",
          "sources": [
            "EXP_AP71_INPUT"
          ],
          "method_kind": "approved_input",
          "remediation": "Map source replay availability and identity/external dependencies into essential recovery runbooks; identify gaps beyond table retention.",
          "limitations": "Source retention and runbook availability must be verified externally; duration overlap alone cannot prove replay works. Empty input means NOT ASSESSED; no result must be reported UNKNOWN. Evidence completeness and approval are owner assertions. Timestamp must be within selected window."
        }
      ],
      "baseline_record": {
        "id": "RECOVERY-02",
        "domain": "RECOVERY",
        "practice": "Assess source replay and essential recovery runbooks",
        "evidence": "Source retention/replay contracts and service recovery procedures",
        "method": "artifact",
        "owner_role": "Operations and service owner",
        "source_ids": [
          "WAF-REL"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned control example: Recovery design covers source gaps, identity and external dependencies.",
        "remediation_case": "Planned adverse example: assess source replay and essential recovery runbooks is contradicted by the required evidence; validate business consequence before a finding.",
        "unknown_case": "Required source retention/replay contracts and service recovery procedures is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Recovery design covers source gaps, identity and external dependencies. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W2",
        "manual_alternative": "Interview the operations and service owner and inspect approved source retention/replay contracts and service recovery procedures; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "approved_input"
      ]
    },
    {
      "id": "RECOVERY-03",
      "domain": "RECOVERY",
      "title": "Review backup/replication/failover design where required",
      "expected_behavior": "Owners justify available recovery mechanisms by service needs and cost.",
      "evidence": "Business-continuity requirements, topology and recovery configuration",
      "method": "artifact",
      "owner": "Operations and service owner",
      "check_ids": [
        "AP72"
      ],
      "implementation_coverage": "METADATA_OR_PROFILE_SIGNALS",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP72: Visible metadata is partial; validate source privileges, latency, population and business impact. Zero rows is not a pass."
      ],
      "manual_gap": "Metadata/profile SQL provides evidence, not complete control assurance. Business-continuity requirements, topology and recovery configuration still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the operations and service owner and inspect approved business-continuity requirements, topology and recovery configuration; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Compare available backup, replication and failover mechanisms against approved service requirements and cost; optional paid features are conditional choices.",
      "future_acceptance": "Owners justify available recovery mechanisms by service needs and cost. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required business-continuity requirements, topology and recovery configuration is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://www.snowflake.com/en/developers/guides/well-architected-framework-reliability/"
      ],
      "check_implementations": [
        {
          "check_id": "AP72",
          "sql": "sql/checks/AP72_exp_operations.sql",
          "direct_sql": "sql/direct-live/AP72_exp_operations.sql",
          "sources": [
            "EXP_REPLICATION_GROUPS"
          ],
          "method_kind": "metadata_capture",
          "remediation": "Compare available backup, replication and failover mechanisms against approved service requirements and cost; optional paid features are conditional choices.",
          "limitations": "Visible metadata is partial; validate source privileges, latency, population and business impact. Zero rows is not a pass."
        }
      ],
      "baseline_record": {
        "id": "RECOVERY-03",
        "domain": "RECOVERY",
        "practice": "Review backup/replication/failover design where required",
        "evidence": "Business-continuity requirements, topology and recovery configuration",
        "method": "artifact",
        "owner_role": "Operations and service owner",
        "source_ids": [
          "WAF-REL"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned control example: Owners justify available recovery mechanisms by service needs and cost.",
        "remediation_case": "Planned adverse example: review backup/replication/failover design where required is contradicted by the required evidence; validate business consequence before a finding.",
        "unknown_case": "Required business-continuity requirements, topology and recovery configuration is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Owners justify available recovery mechanisms by service needs and cost. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W2",
        "manual_alternative": "Interview the operations and service owner and inspect approved business-continuity requirements, topology and recovery configuration; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "metadata_capture"
      ]
    },
    {
      "id": "RECOVERY-04",
      "domain": "RECOVERY",
      "title": "Assess prior recovery exercise evidence",
      "expected_behavior": "Separately approved future end-to-end exercise meets agreed RPO/RTO and correctness.",
      "evidence": "Timed exercise records, validation totals and exception follow-up",
      "method": "artifact",
      "owner": "Operations and service owner",
      "check_ids": [
        "AP73"
      ],
      "implementation_coverage": "APPROVED_INPUT_VALIDATION_ONLY",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP73: Use timed completed exercise records and validation totals; assessment does not execute a restore or failover. Empty input means NOT ASSESSED; no result must be reported UNKNOWN. Evidence completeness and approval are owner assertions. Timestamp must be within selected window."
      ],
      "manual_gap": "These queries validate explicitly supplied owner records; they do not independently discover or prove external business/process assertions. Timed exercise records, validation totals and exception follow-up still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the operations and service owner and inspect approved timed exercise records, validation totals and exception follow-up; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Plan a separately authorized end-to-end recovery exercise with owner-agreed RPO, RTO and correctness evidence; a successful configuration check is not recovery proof.",
      "future_acceptance": "Separately approved future end-to-end exercise meets agreed RPO/RTO and correctness. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required timed exercise records, validation totals and exception follow-up is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://www.snowflake.com/en/developers/guides/well-architected-framework-reliability/"
      ],
      "check_implementations": [
        {
          "check_id": "AP73",
          "sql": "sql/checks/AP73_exp_operations.sql",
          "direct_sql": "sql/direct-live/AP73_exp_operations.sql",
          "sources": [
            "EXP_AP73_INPUT"
          ],
          "method_kind": "approved_input",
          "remediation": "Plan a separately authorized end-to-end recovery exercise with owner-agreed RPO, RTO and correctness evidence; a successful configuration check is not recovery proof.",
          "limitations": "Use timed completed exercise records and validation totals; assessment does not execute a restore or failover. Empty input means NOT ASSESSED; no result must be reported UNKNOWN. Evidence completeness and approval are owner assertions. Timestamp must be within selected window."
        }
      ],
      "baseline_record": {
        "id": "RECOVERY-04",
        "domain": "RECOVERY",
        "practice": "Assess prior recovery exercise evidence",
        "evidence": "Timed exercise records, validation totals and exception follow-up",
        "method": "artifact",
        "owner_role": "Operations and service owner",
        "source_ids": [
          "WAF-REL"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned control example: Separately approved future end-to-end exercise meets agreed RPO/RTO and correctness.",
        "remediation_case": "Planned adverse example: assess prior recovery exercise evidence is contradicted by the required evidence; validate business consequence before a finding.",
        "unknown_case": "Required timed exercise records, validation totals and exception follow-up is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Separately approved future end-to-end exercise meets agreed RPO/RTO and correctness. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W2",
        "manual_alternative": "Interview the operations and service owner and inspect approved timed exercise records, validation totals and exception follow-up; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "approved_input"
      ]
    },
    {
      "id": "RECOVERY-05",
      "domain": "RECOVERY",
      "title": "Review service dependency restoration order",
      "expected_behavior": "Runbook restores the complete selected service in owner-approved dependency order.",
      "evidence": "Identity, integrations, orchestration, BI and upstream dependency maps",
      "method": "artifact",
      "owner": "Operations and service owner",
      "check_ids": [
        "AP74"
      ],
      "implementation_coverage": "APPROVED_INPUT_VALIDATION_ONLY",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP74: Declared topology and exercise order must include identity, integrations, upstream and BI dependencies beyond Snowflake metadata. Empty input means NOT ASSESSED; no result must be reported UNKNOWN. Evidence completeness and approval are owner assertions. Timestamp must be within selected window."
      ],
      "manual_gap": "These queries validate explicitly supplied owner records; they do not independently discover or prove external business/process assertions. Identity, integrations, orchestration, BI and upstream dependency maps still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the operations and service owner and inspect approved identity, integrations, orchestration, bi and upstream dependency maps; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Document dependency order for restoring identity, ingestion, data, orchestration and consumers; validate the complete selected service in an approved future exercise.",
      "future_acceptance": "Runbook restores the complete selected service in owner-approved dependency order. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required identity, integrations, orchestration, bi and upstream dependency maps is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://www.snowflake.com/en/developers/guides/well-architected-framework-reliability/"
      ],
      "check_implementations": [
        {
          "check_id": "AP74",
          "sql": "sql/checks/AP74_exp_operations.sql",
          "direct_sql": "sql/direct-live/AP74_exp_operations.sql",
          "sources": [
            "EXP_AP74_INPUT"
          ],
          "method_kind": "approved_input",
          "remediation": "Document dependency order for restoring identity, ingestion, data, orchestration and consumers; validate the complete selected service in an approved future exercise.",
          "limitations": "Declared topology and exercise order must include identity, integrations, upstream and BI dependencies beyond Snowflake metadata. Empty input means NOT ASSESSED; no result must be reported UNKNOWN. Evidence completeness and approval are owner assertions. Timestamp must be within selected window."
        }
      ],
      "baseline_record": {
        "id": "RECOVERY-05",
        "domain": "RECOVERY",
        "practice": "Review service dependency restoration order",
        "evidence": "Identity, integrations, orchestration, BI and upstream dependency maps",
        "method": "artifact",
        "owner_role": "Operations and service owner",
        "source_ids": [
          "WAF-REL"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned control example: Runbook restores the complete selected service in owner-approved dependency order.",
        "remediation_case": "Planned adverse example: review service dependency restoration order is contradicted by the required evidence; validate business consequence before a finding.",
        "unknown_case": "Required identity, integrations, orchestration, bi and upstream dependency maps is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Runbook restores the complete selected service in owner-approved dependency order. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W2",
        "manual_alternative": "Interview the operations and service owner and inspect approved identity, integrations, orchestration, bi and upstream dependency maps; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "approved_input"
      ]
    },
    {
      "id": "OPERATIONS-01",
      "domain": "OPERATIONS",
      "title": "Review version control and reproducible environment definitions",
      "expected_behavior": "Selected environments have reviewed versioned definitions and accountable owners.",
      "evidence": "Repositories, infrastructure/SQL configuration and dependency versions",
      "method": "artifact",
      "owner": "Platform operations owner",
      "check_ids": [
        "AP75",
        "AP92"
      ],
      "implementation_coverage": "METADATA_OR_PROFILE_SIGNALS",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP75: No SQL text collected. Identity-to-service mapping requires owner approval; query family and operation categories do not prove repository coverage, release approval, BI semantics or end-viewer authorization.",
        "AP92: Owner-supplied aggregate/context input only; no live metadata conclusion, production action or automatic approval. Empty input is UNKNOWN."
      ],
      "manual_gap": "Metadata/profile SQL provides evidence, not complete control assurance. Repositories, infrastructure/SQL configuration and dependency versions still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the platform operations owner and inspect approved repositories, infrastructure/sql configuration and dependency versions; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Place selected environment and object definitions under reviewed version control with accountable owners; reconcile important live differences before proposing deployment changes.",
      "future_acceptance": "Selected environments have reviewed versioned definitions and accountable owners. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required repositories, infrastructure/sql configuration and dependency versions is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://www.snowflake.com/en/developers/guides/well-architected-framework-operational-excellence/"
      ],
      "check_implementations": [
        {
          "check_id": "AP75",
          "sql": "sql/checks/AP75_exp_operations.sql",
          "direct_sql": "sql/direct-live/AP75_exp_operations.sql",
          "sources": [
            "QUERY_HISTORY"
          ],
          "method_kind": "native_metadata",
          "remediation": "Place selected environment and object definitions under reviewed version control with accountable owners; reconcile important live differences before proposing deployment changes.",
          "limitations": "No SQL text collected. Identity-to-service mapping requires owner approval; query family and operation categories do not prove repository coverage, release approval, BI semantics or end-viewer authorization."
        },
        {
          "check_id": "AP92",
          "sql": "sql/checks/AP92_evidence_artifacts.sql",
          "direct_sql": "sql/direct-live/AP92_evidence_artifacts.sql",
          "sources": [
            "EVIDENCE_ARTIFACTS"
          ],
          "method_kind": "approved_input",
          "remediation": "Resolve missing provenance or handling approvals with the security owner; link immutable release and collection evidence without exporting sensitive payloads.",
          "limitations": "Owner-supplied aggregate/context input only; no live metadata conclusion, production action or automatic approval. Empty input is UNKNOWN."
        }
      ],
      "baseline_record": {
        "id": "OPERATIONS-01",
        "domain": "OPERATIONS",
        "practice": "Review version control and reproducible environment definitions",
        "evidence": "Repositories, infrastructure/SQL configuration and dependency versions",
        "method": "artifact",
        "owner_role": "Platform operations owner",
        "source_ids": [
          "WAF-OPS"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned control example: Selected environments have reviewed versioned definitions and accountable owners.",
        "remediation_case": "Planned adverse example: review version control and reproducible environment definitions is contradicted by the required evidence; validate business consequence before a finding.",
        "unknown_case": "Required repositories, infrastructure/sql configuration and dependency versions is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Selected environments have reviewed versioned definitions and accountable owners. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W3",
        "manual_alternative": "Interview the platform operations owner and inspect approved repositories, infrastructure/sql configuration and dependency versions; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "approved_input",
        "native_metadata"
      ]
    },
    {
      "id": "OPERATIONS-02",
      "domain": "OPERATIONS",
      "title": "Assess deployment approval, testing and separation",
      "expected_behavior": "A selected release shows required tests, review and authorized promotion.",
      "evidence": "Actual selected release records, CI checks and approval evidence",
      "method": "artifact",
      "owner": "Platform operations owner",
      "check_ids": [
        "AP76",
        "AP92"
      ],
      "implementation_coverage": "APPROVED_INPUT_VALIDATION_ONLY",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP76: Actual CI and approval evidence are external; Snowflake query success is not deployment test success. Empty input means NOT ASSESSED; no result must be reported UNKNOWN. Evidence completeness and approval are owner assertions. Timestamp must be within selected window.",
        "AP92: Owner-supplied aggregate/context input only; no live metadata conclusion, production action or automatic approval. Empty input is UNKNOWN."
      ],
      "manual_gap": "These queries validate explicitly supplied owner records; they do not independently discover or prove external business/process assertions. Actual selected release records, CI checks and approval evidence still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the platform operations owner and inspect approved actual selected release records, ci checks and approval evidence; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Inspect a selected release for required review, tests, promotion authorization and role separation; remedy evidenced gaps through the deployment owner.",
      "future_acceptance": "A selected release shows required tests, review and authorized promotion. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required actual selected release records, ci checks and approval evidence is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://www.snowflake.com/en/developers/guides/well-architected-framework-operational-excellence/"
      ],
      "check_implementations": [
        {
          "check_id": "AP76",
          "sql": "sql/checks/AP76_exp_operations.sql",
          "direct_sql": "sql/direct-live/AP76_exp_operations.sql",
          "sources": [
            "EXP_AP76_INPUT"
          ],
          "method_kind": "approved_input",
          "remediation": "Inspect a selected release for required review, tests, promotion authorization and role separation; remedy evidenced gaps through the deployment owner.",
          "limitations": "Actual CI and approval evidence are external; Snowflake query success is not deployment test success. Empty input means NOT ASSESSED; no result must be reported UNKNOWN. Evidence completeness and approval are owner assertions. Timestamp must be within selected window."
        },
        {
          "check_id": "AP92",
          "sql": "sql/checks/AP92_evidence_artifacts.sql",
          "direct_sql": "sql/direct-live/AP92_evidence_artifacts.sql",
          "sources": [
            "EVIDENCE_ARTIFACTS"
          ],
          "method_kind": "approved_input",
          "remediation": "Resolve missing provenance or handling approvals with the security owner; link immutable release and collection evidence without exporting sensitive payloads.",
          "limitations": "Owner-supplied aggregate/context input only; no live metadata conclusion, production action or automatic approval. Empty input is UNKNOWN."
        }
      ],
      "baseline_record": {
        "id": "OPERATIONS-02",
        "domain": "OPERATIONS",
        "practice": "Assess deployment approval, testing and separation",
        "evidence": "Actual selected release records, CI checks and approval evidence",
        "method": "artifact",
        "owner_role": "Platform operations owner",
        "source_ids": [
          "WAF-OPS"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned control example: A selected release shows required tests, review and authorized promotion.",
        "remediation_case": "Planned adverse example: assess deployment approval, testing and separation is contradicted by the required evidence; validate business consequence before a finding.",
        "unknown_case": "Required actual selected release records, ci checks and approval evidence is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "A selected release shows required tests, review and authorized promotion. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W3",
        "manual_alternative": "Interview the platform operations owner and inspect approved actual selected release records, ci checks and approval evidence; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "approved_input"
      ]
    },
    {
      "id": "OPERATIONS-03",
      "domain": "OPERATIONS",
      "title": "Review rollback and configuration drift handling",
      "expected_behavior": "Owners define drift triage and separately approved rollback acceptance.",
      "evidence": "Rollback procedures, configuration comparisons and drift incident records",
      "method": "artifact",
      "owner": "Platform operations owner",
      "check_ids": [
        "AP77"
      ],
      "implementation_coverage": "APPROVED_INPUT_VALIDATION_ONLY",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP77: Needs approved desired-state diff and prior rollback test records; no rollback or configuration mutation runs here. Empty input means NOT ASSESSED; no result must be reported UNKNOWN. Evidence completeness and approval are owner assertions. Timestamp must be within selected window."
      ],
      "manual_gap": "These queries validate explicitly supplied owner records; they do not independently discover or prove external business/process assertions. Rollback procedures, configuration comparisons and drift incident records still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the platform operations owner and inspect approved rollback procedures, configuration comparisons and drift incident records; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Identify material configuration drift, accountable triage and rollback prerequisites; propose separately approved rollback tests with acceptance evidence.",
      "future_acceptance": "Owners define drift triage and separately approved rollback acceptance. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required rollback procedures, configuration comparisons and drift incident records is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://www.snowflake.com/en/developers/guides/well-architected-framework-operational-excellence/"
      ],
      "check_implementations": [
        {
          "check_id": "AP77",
          "sql": "sql/checks/AP77_exp_operations.sql",
          "direct_sql": "sql/direct-live/AP77_exp_operations.sql",
          "sources": [
            "EXP_AP77_INPUT"
          ],
          "method_kind": "approved_input",
          "remediation": "Identify material configuration drift, accountable triage and rollback prerequisites; propose separately approved rollback tests with acceptance evidence.",
          "limitations": "Needs approved desired-state diff and prior rollback test records; no rollback or configuration mutation runs here. Empty input means NOT ASSESSED; no result must be reported UNKNOWN. Evidence completeness and approval are owner assertions. Timestamp must be within selected window."
        }
      ],
      "baseline_record": {
        "id": "OPERATIONS-03",
        "domain": "OPERATIONS",
        "practice": "Review rollback and configuration drift handling",
        "evidence": "Rollback procedures, configuration comparisons and drift incident records",
        "method": "artifact",
        "owner_role": "Platform operations owner",
        "source_ids": [
          "WAF-OPS"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned control example: Owners define drift triage and separately approved rollback acceptance.",
        "remediation_case": "Planned adverse example: review rollback and configuration drift handling is contradicted by the required evidence; validate business consequence before a finding.",
        "unknown_case": "Required rollback procedures, configuration comparisons and drift incident records is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Owners define drift triage and separately approved rollback acceptance. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W3",
        "manual_alternative": "Interview the platform operations owner and inspect approved rollback procedures, configuration comparisons and drift incident records; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "approved_input"
      ]
    },
    {
      "id": "OPERATIONS-04",
      "domain": "OPERATIONS",
      "title": "Assess monitoring signal quality and accountable response",
      "expected_behavior": "Owner-approved alert scenarios identify responders and actionable service impact.",
      "evidence": "Alert inventory, response records, support coverage and escalation",
      "method": "artifact",
      "owner": "Platform operations owner",
      "check_ids": [
        "AP06",
        "AP78"
      ],
      "implementation_coverage": "METADATA_OR_PROFILE_SIGNALS",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP06: This check does not assess suspend settings. Cancellations are not independently classified because that requires error-message inspection.",
        "AP78: Visible metadata is partial; validate source privileges, latency, population and business impact. Zero rows is not a pass."
      ],
      "manual_gap": "Metadata/profile SQL provides evidence, not complete control assurance. Alert inventory, response records, support coverage and escalation still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the platform operations owner and inspect approved alert inventory, response records, support coverage and escalation; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Tie native query failures/retries and other operational signals to business impact, alert ownership and actionable response; query success is not business-job completion.",
      "future_acceptance": "Owner-approved alert scenarios identify responders and actionable service impact. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required alert inventory, response records, support coverage and escalation is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://www.snowflake.com/en/developers/guides/well-architected-framework-operational-excellence/",
        "https://docs.snowflake.com/en/sql-reference/account-usage/query_history",
        "https://docs.snowflake.com/en/sql-reference/sql/show-warehouses",
        "https://docs.snowflake.com/en/user-guide/cost-controlling-controls"
      ],
      "check_implementations": [
        {
          "check_id": "AP06",
          "sql": "sql/checks/AP06_query_failures.sql",
          "direct_sql": "sql/direct-live/AP06_query_failures.sql",
          "sources": [
            "QUERY_HISTORY"
          ],
          "method_kind": "native_metadata",
          "remediation": "Investigate authorized profiles without exporting SQL or error text; validate alert owner and response.",
          "limitations": "This check does not assess suspend settings. Cancellations are not independently classified because that requires error-message inspection."
        },
        {
          "check_id": "AP78",
          "sql": "sql/checks/AP78_exp_operations.sql",
          "direct_sql": "sql/direct-live/AP78_exp_operations.sql",
          "sources": [
            "EXP_ALERTS"
          ],
          "method_kind": "metadata_capture",
          "remediation": "Tie native query failures/retries and other operational signals to business impact, alert ownership and actionable response; query success is not business-job completion.",
          "limitations": "Visible metadata is partial; validate source privileges, latency, population and business impact. Zero rows is not a pass."
        }
      ],
      "baseline_record": {
        "id": "OPERATIONS-04",
        "domain": "OPERATIONS",
        "practice": "Assess monitoring signal quality and accountable response",
        "evidence": "Alert inventory, response records, support coverage and escalation",
        "method": "artifact",
        "owner_role": "Platform operations owner",
        "source_ids": [
          "WAF-OPS"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned control example: Owner-approved alert scenarios identify responders and actionable service impact.",
        "remediation_case": "Planned adverse example: assess monitoring signal quality and accountable response is contradicted by the required evidence; validate business consequence before a finding.",
        "unknown_case": "Required alert inventory, response records, support coverage and escalation is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Owner-approved alert scenarios identify responders and actionable service impact. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W3",
        "manual_alternative": "Interview the platform operations owner and inspect approved alert inventory, response records, support coverage and escalation; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "metadata_capture",
        "native_metadata"
      ]
    },
    {
      "id": "OPERATIONS-05",
      "domain": "OPERATIONS",
      "title": "Review incident learning and operating cadence",
      "expected_behavior": "Owners prioritize measurable follow-up and keep support responsibilities current.",
      "evidence": "Incident reviews, action follow-up, capacity reviews and handover records",
      "method": "artifact",
      "owner": "Platform operations owner",
      "check_ids": [
        "AP79"
      ],
      "implementation_coverage": "APPROVED_INPUT_VALIDATION_ONLY",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP79: Incident and operating-cadence records must be reviewed externally; metadata cannot prove learning or staffed support. Empty input means NOT ASSESSED; no result must be reported UNKNOWN. Evidence completeness and approval are owner assertions. Timestamp must be within selected window."
      ],
      "manual_gap": "These queries validate explicitly supplied owner records; they do not independently discover or prove external business/process assertions. Incident reviews, action follow-up, capacity reviews and handover records still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the platform operations owner and inspect approved incident reviews, action follow-up, capacity reviews and handover records; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Turn incident evidence into prioritized owner follow-up, current runbooks and measurable learning; verify previous actions rather than counting incident reports.",
      "future_acceptance": "Owners prioritize measurable follow-up and keep support responsibilities current. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required incident reviews, action follow-up, capacity reviews and handover records is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://www.snowflake.com/en/developers/guides/well-architected-framework-operational-excellence/"
      ],
      "check_implementations": [
        {
          "check_id": "AP79",
          "sql": "sql/checks/AP79_exp_operations.sql",
          "direct_sql": "sql/direct-live/AP79_exp_operations.sql",
          "sources": [
            "EXP_AP79_INPUT"
          ],
          "method_kind": "approved_input",
          "remediation": "Turn incident evidence into prioritized owner follow-up, current runbooks and measurable learning; verify previous actions rather than counting incident reports.",
          "limitations": "Incident and operating-cadence records must be reviewed externally; metadata cannot prove learning or staffed support. Empty input means NOT ASSESSED; no result must be reported UNKNOWN. Evidence completeness and approval are owner assertions. Timestamp must be within selected window."
        }
      ],
      "baseline_record": {
        "id": "OPERATIONS-05",
        "domain": "OPERATIONS",
        "practice": "Review incident learning and operating cadence",
        "evidence": "Incident reviews, action follow-up, capacity reviews and handover records",
        "method": "artifact",
        "owner_role": "Platform operations owner",
        "source_ids": [
          "WAF-OPS"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned control example: Owners prioritize measurable follow-up and keep support responsibilities current.",
        "remediation_case": "Planned adverse example: review incident learning and operating cadence is contradicted by the required evidence; validate business consequence before a finding.",
        "unknown_case": "Required incident reviews, action follow-up, capacity reviews and handover records is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Owners prioritize measurable follow-up and keep support responsibilities current. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W3",
        "manual_alternative": "Interview the platform operations owner and inspect approved incident reviews, action follow-up, capacity reviews and handover records; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "approved_input"
      ]
    },
    {
      "id": "BI-01",
      "domain": "BI",
      "title": "Reconcile semantic definitions across critical reports",
      "expected_behavior": "Selected reports agree business meaning, grain, filters and population.",
      "evidence": "Semantic models, measure definitions and owner-approved totals",
      "method": "artifact",
      "owner": "BI and product owner",
      "check_ids": [
        "AP80"
      ],
      "implementation_coverage": "APPROVED_INPUT_VALIDATION_ONLY",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP80: Same filters, grain, business time and units required; matching totals do not prove all semantic definitions. Nonnegative measures only. Empty input means NOT ASSESSED; no result must be reported UNKNOWN. Evidence completeness and approval are owner assertions. Timestamp must be within selected window."
      ],
      "manual_gap": "These queries validate explicitly supplied owner records; they do not independently discover or prove external business/process assertions. Semantic models, measure definitions and owner-approved totals still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the bi and product owner and inspect approved semantic models, measure definitions and owner-approved totals; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Reconcile selected reports against agreed metric definitions, grain, filters and populations before proposing semantic-model changes.",
      "future_acceptance": "Selected reports agree business meaning, grain, filters and population. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required semantic models, measure definitions and owner-approved totals is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://www.snowflake.com/en/developers/guides/well-architected-framework-operational-excellence/"
      ],
      "check_implementations": [
        {
          "check_id": "AP80",
          "sql": "sql/checks/AP80_exp_operations.sql",
          "direct_sql": "sql/direct-live/AP80_exp_operations.sql",
          "sources": [
            "EXP_AP80_INPUT"
          ],
          "method_kind": "approved_input",
          "remediation": "Reconcile selected reports against agreed metric definitions, grain, filters and populations before proposing semantic-model changes.",
          "limitations": "Same filters, grain, business time and units required; matching totals do not prove all semantic definitions. Nonnegative measures only. Empty input means NOT ASSESSED; no result must be reported UNKNOWN. Evidence completeness and approval are owner assertions. Timestamp must be within selected window."
        }
      ],
      "baseline_record": {
        "id": "BI-01",
        "domain": "BI",
        "practice": "Reconcile semantic definitions across critical reports",
        "evidence": "Semantic models, measure definitions and owner-approved totals",
        "method": "artifact",
        "owner_role": "BI and product owner",
        "source_ids": [
          "WAF-OPS"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned control example: Selected reports agree business meaning, grain, filters and population.",
        "remediation_case": "Planned adverse example: reconcile semantic definitions across critical reports is contradicted by the required evidence; validate business consequence before a finding.",
        "unknown_case": "Required semantic models, measure definitions and owner-approved totals is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Selected reports agree business meaning, grain, filters and population. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W3",
        "manual_alternative": "Interview the bi and product owner and inspect approved semantic models, measure definitions and owner-approved totals; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "approved_input"
      ]
    },
    {
      "id": "BI-02",
      "domain": "BI",
      "title": "Assess BI freshness across extracts, caches and live paths",
      "expected_behavior": "Consumer owner validates freshness/correctness against an agreed business cutoff.",
      "evidence": "Refresh/extract/cache configuration and business availability checkpoints",
      "method": "artifact",
      "owner": "BI and product owner",
      "check_ids": [
        "AP81"
      ],
      "implementation_coverage": "APPROVED_INPUT_VALIDATION_ONLY",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP81: Owner supplies aligned business source, publish and consumer checkpoints including extracts and caches; platform timestamps are insufficient. Empty input means NOT ASSESSED; no result must be reported UNKNOWN. Evidence completeness and approval are owner assertions. Timestamp must be within selected window."
      ],
      "manual_gap": "These queries validate explicitly supplied owner records; they do not independently discover or prove external business/process assertions. Refresh/extract/cache configuration and business availability checkpoints still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the bi and product owner and inspect approved refresh/extract/cache configuration and business availability checkpoints; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Trace freshness through source, extract/cache and consumer timestamps, then validate correctness against an approved business cutoff.",
      "future_acceptance": "Consumer owner validates freshness/correctness against an agreed business cutoff. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required refresh/extract/cache configuration and business availability checkpoints is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://www.snowflake.com/en/developers/guides/well-architected-framework-operational-excellence/"
      ],
      "check_implementations": [
        {
          "check_id": "AP81",
          "sql": "sql/checks/AP81_exp_operations.sql",
          "direct_sql": "sql/direct-live/AP81_exp_operations.sql",
          "sources": [
            "EXP_AP81_INPUT"
          ],
          "method_kind": "approved_input",
          "remediation": "Trace freshness through source, extract/cache and consumer timestamps, then validate correctness against an approved business cutoff.",
          "limitations": "Owner supplies aligned business source, publish and consumer checkpoints including extracts and caches; platform timestamps are insufficient. Empty input means NOT ASSESSED; no result must be reported UNKNOWN. Evidence completeness and approval are owner assertions. Timestamp must be within selected window."
        }
      ],
      "baseline_record": {
        "id": "BI-02",
        "domain": "BI",
        "practice": "Assess BI freshness across extracts, caches and live paths",
        "evidence": "Refresh/extract/cache configuration and business availability checkpoints",
        "method": "artifact",
        "owner_role": "BI and product owner",
        "source_ids": [
          "WAF-OPS"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned control example: Consumer owner validates freshness/correctness against an agreed business cutoff.",
        "remediation_case": "Planned adverse example: assess bi freshness across extracts, caches and live paths is contradicted by the required evidence; validate business consequence before a finding.",
        "unknown_case": "Required refresh/extract/cache configuration and business availability checkpoints is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Consumer owner validates freshness/correctness against an agreed business cutoff. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W3",
        "manual_alternative": "Interview the bi and product owner and inspect approved refresh/extract/cache configuration and business availability checkpoints; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "approved_input"
      ]
    },
    {
      "id": "BI-03",
      "domain": "BI",
      "title": "Review consumer identity mapping and data access",
      "expected_behavior": "Authorized future persona review checks both service and viewer boundaries.",
      "evidence": "BI service identities, Snowflake roles and viewer filtering evidence",
      "method": "artifact",
      "owner": "BI and product owner",
      "check_ids": [
        "AP82"
      ],
      "implementation_coverage": "METADATA_OR_PROFILE_SIGNALS",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP82: No SQL text collected. Identity-to-service mapping requires owner approval; query family and operation categories do not prove repository coverage, release approval, BI semantics or end-viewer authorization."
      ],
      "manual_gap": "Metadata/profile SQL provides evidence, not complete control assurance. BI service identities, Snowflake roles and viewer filtering evidence still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the bi and product owner and inspect approved bi service identities, snowflake roles and viewer filtering evidence; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Map service and viewer identities to role and policy boundaries; plan authorized persona tests across both layers without assuming service-role access proves viewer isolation.",
      "future_acceptance": "Authorized future persona review checks both service and viewer boundaries. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required bi service identities, snowflake roles and viewer filtering evidence is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://www.snowflake.com/en/developers/guides/well-architected-framework-operational-excellence/"
      ],
      "check_implementations": [
        {
          "check_id": "AP82",
          "sql": "sql/checks/AP82_exp_operations.sql",
          "direct_sql": "sql/direct-live/AP82_exp_operations.sql",
          "sources": [
            "QUERY_HISTORY"
          ],
          "method_kind": "native_metadata",
          "remediation": "Map service and viewer identities to role and policy boundaries; plan authorized persona tests across both layers without assuming service-role access proves viewer isolation.",
          "limitations": "No SQL text collected. Identity-to-service mapping requires owner approval; query family and operation categories do not prove repository coverage, release approval, BI semantics or end-viewer authorization."
        }
      ],
      "baseline_record": {
        "id": "BI-03",
        "domain": "BI",
        "practice": "Review consumer identity mapping and data access",
        "evidence": "BI service identities, Snowflake roles and viewer filtering evidence",
        "method": "artifact",
        "owner_role": "BI and product owner",
        "source_ids": [
          "WAF-OPS"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned control example: Authorized future persona review checks both service and viewer boundaries.",
        "remediation_case": "Planned adverse example: review consumer identity mapping and data access is contradicted by the required evidence; validate business consequence before a finding.",
        "unknown_case": "Required bi service identities, snowflake roles and viewer filtering evidence is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Authorized future persona review checks both service and viewer boundaries. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W3",
        "manual_alternative": "Interview the bi and product owner and inspect approved bi service identities, snowflake roles and viewer filtering evidence; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "native_metadata"
      ]
    },
    {
      "id": "BI-04",
      "domain": "BI",
      "title": "Trace BI exports and persisted copies",
      "expected_behavior": "Owner-approved flow identifies access and retention for sampled downstream copies.",
      "evidence": "BI extracts, downloads, distribution lists and retention approvals",
      "method": "artifact",
      "owner": "BI and product owner",
      "check_ids": [
        "AP83"
      ],
      "implementation_coverage": "APPROVED_INPUT_VALIDATION_ONLY",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP83: Exports outside Snowflake require BI distribution and retention inventories; no data content or recipient addresses collected. Empty input means NOT ASSESSED; no result must be reported UNKNOWN. Evidence completeness and approval are owner assertions. Timestamp must be within selected window."
      ],
      "manual_gap": "These queries validate explicitly supplied owner records; they do not independently discover or prove external business/process assertions. BI extracts, downloads, distribution lists and retention approvals still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the bi and product owner and inspect approved bi extracts, downloads, distribution lists and retention approvals; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Inventory selected downloads, extracts and persisted copies with recipient, access and retention ownership; include downstream copies missing from Snowflake dependency metadata.",
      "future_acceptance": "Owner-approved flow identifies access and retention for sampled downstream copies. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required bi extracts, downloads, distribution lists and retention approvals is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://www.snowflake.com/en/developers/guides/well-architected-framework-operational-excellence/"
      ],
      "check_implementations": [
        {
          "check_id": "AP83",
          "sql": "sql/checks/AP83_exp_operations.sql",
          "direct_sql": "sql/direct-live/AP83_exp_operations.sql",
          "sources": [
            "EXP_AP83_INPUT"
          ],
          "method_kind": "approved_input",
          "remediation": "Inventory selected downloads, extracts and persisted copies with recipient, access and retention ownership; include downstream copies missing from Snowflake dependency metadata.",
          "limitations": "Exports outside Snowflake require BI distribution and retention inventories; no data content or recipient addresses collected. Empty input means NOT ASSESSED; no result must be reported UNKNOWN. Evidence completeness and approval are owner assertions. Timestamp must be within selected window."
        }
      ],
      "baseline_record": {
        "id": "BI-04",
        "domain": "BI",
        "practice": "Trace BI exports and persisted copies",
        "evidence": "BI extracts, downloads, distribution lists and retention approvals",
        "method": "artifact",
        "owner_role": "BI and product owner",
        "source_ids": [
          "WAF-OPS"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned control example: Owner-approved flow identifies access and retention for sampled downstream copies.",
        "remediation_case": "Planned adverse example: trace bi exports and persisted copies is contradicted by the required evidence; validate business consequence before a finding.",
        "unknown_case": "Required bi extracts, downloads, distribution lists and retention approvals is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Owner-approved flow identifies access and retention for sampled downstream copies. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W3",
        "manual_alternative": "Interview the bi and product owner and inspect approved bi extracts, downloads, distribution lists and retention approvals; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "approved_input"
      ]
    },
    {
      "id": "BI-05",
      "domain": "BI",
      "title": "Validate peak report service targets and operating ownership",
      "expected_behavior": "Consumer and platform owners agree meaningful service tests and response ownership.",
      "evidence": "BI concurrency/latency evidence, critical schedules and support contacts",
      "method": "artifact",
      "owner": "BI and product owner",
      "check_ids": [
        "AP84"
      ],
      "implementation_coverage": "METADATA_OR_PROFILE_SIGNALS",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP84: No SQL text collected. Identity-to-service mapping requires owner approval; query family and operation categories do not prove repository coverage, release approval, BI semantics or end-viewer authorization."
      ],
      "manual_gap": "Metadata/profile SQL provides evidence, not complete control assurance. BI concurrency/latency evidence, critical schedules and support contacts still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the bi and product owner and inspect approved bi concurrency/latency evidence, critical schedules and support contacts; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Agree meaningful peak report response targets and representative concurrency; assign consumer/platform response ownership before proposed tuning.",
      "future_acceptance": "Consumer and platform owners agree meaningful service tests and response ownership. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required bi concurrency/latency evidence, critical schedules and support contacts is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://www.snowflake.com/en/developers/guides/well-architected-framework-operational-excellence/"
      ],
      "check_implementations": [
        {
          "check_id": "AP84",
          "sql": "sql/checks/AP84_exp_operations.sql",
          "direct_sql": "sql/direct-live/AP84_exp_operations.sql",
          "sources": [
            "QUERY_HISTORY"
          ],
          "method_kind": "native_metadata",
          "remediation": "Agree meaningful peak report response targets and representative concurrency; assign consumer/platform response ownership before proposed tuning.",
          "limitations": "No SQL text collected. Identity-to-service mapping requires owner approval; query family and operation categories do not prove repository coverage, release approval, BI semantics or end-viewer authorization."
        }
      ],
      "baseline_record": {
        "id": "BI-05",
        "domain": "BI",
        "practice": "Validate peak report service targets and operating ownership",
        "evidence": "BI concurrency/latency evidence, critical schedules and support contacts",
        "method": "artifact",
        "owner_role": "BI and product owner",
        "source_ids": [
          "WAF-OPS"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned control example: Consumer and platform owners agree meaningful service tests and response ownership.",
        "remediation_case": "Planned adverse example: validate peak report service targets and operating ownership is contradicted by the required evidence; validate business consequence before a finding.",
        "unknown_case": "Required bi concurrency/latency evidence, critical schedules and support contacts is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Consumer and platform owners agree meaningful service tests and response ownership. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W3",
        "manual_alternative": "Interview the bi and product owner and inspect approved bi concurrency/latency evidence, critical schedules and support contacts; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "native_metadata"
      ]
    },
    {
      "id": "AI-01",
      "domain": "AI",
      "title": "Inventory deployed AI uses separately from proposals",
      "expected_behavior": "Owners identify deployed uses, approved purpose and accountable decision makers.",
      "evidence": "Use-case register, approval records and actual runtime/service inventory",
      "method": "artifact",
      "owner": "AI product/security owner",
      "check_ids": [
        "AP85"
      ],
      "implementation_coverage": "METADATA_OR_PROFILE_SIGNALS",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP85: Usage view service coverage and latency apply; cannot infer use-case approval, quality, fallback, all AI services or external endpoint spend. No prompts or outputs collected. Uses hourly billing completion USAGE_TIME, not query start. Does not cover all AI functions; AI_PARSE_DOCUMENT requires CORTEX_AI_FUNCTIONS_USAGE_HISTORY. Old CORTEX_FUNCTIONS_USAGE_HISTORY is no longer updated and is not used."
      ],
      "manual_gap": "Metadata/profile SQL provides evidence, not complete control assurance. Use-case register, approval records and actual runtime/service inventory still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the ai product/security owner and inspect approved use-case register, approval records and actual runtime/service inventory; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Inventory deployed AI use cases separately from proposals, with approved purpose, data boundaries and accountable decision makers.",
      "future_acceptance": "Owners identify deployed uses, approved purpose and accountable decision makers. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required use-case register, approval records and actual runtime/service inventory is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://www.snowflake.com/en/developers/guides/well-architected-framework-security-and-governance/"
      ],
      "check_implementations": [
        {
          "check_id": "AP85",
          "sql": "sql/checks/AP85_exp_operations.sql",
          "direct_sql": "sql/direct-live/AP85_exp_operations.sql",
          "sources": [
            "CORTEX_AISQL_USAGE_HISTORY"
          ],
          "method_kind": "native_metadata",
          "remediation": "Inventory deployed AI use cases separately from proposals, with approved purpose, data boundaries and accountable decision makers.",
          "limitations": "Usage view service coverage and latency apply; cannot infer use-case approval, quality, fallback, all AI services or external endpoint spend. No prompts or outputs collected. Uses hourly billing completion USAGE_TIME, not query start. Does not cover all AI functions; AI_PARSE_DOCUMENT requires CORTEX_AI_FUNCTIONS_USAGE_HISTORY. Old CORTEX_FUNCTIONS_USAGE_HISTORY is no longer updated and is not used."
        }
      ],
      "baseline_record": {
        "id": "AI-01",
        "domain": "AI",
        "practice": "Inventory deployed AI uses separately from proposals",
        "evidence": "Use-case register, approval records and actual runtime/service inventory",
        "method": "artifact",
        "owner_role": "AI product/security owner",
        "source_ids": [
          "WAF-SEC"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned control example: Owners identify deployed uses, approved purpose and accountable decision makers.",
        "remediation_case": "Planned adverse example: inventory deployed ai uses separately from proposals is contradicted by the required evidence; validate business consequence before a finding.",
        "unknown_case": "Required use-case register, approval records and actual runtime/service inventory is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Owners identify deployed uses, approved purpose and accountable decision makers. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W3",
        "manual_alternative": "Interview the ai product/security owner and inspect approved use-case register, approval records and actual runtime/service inventory; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "native_metadata"
      ]
    },
    {
      "id": "AI-02",
      "domain": "AI",
      "title": "Review AI retrieval/export/materialization data boundaries",
      "expected_behavior": "Privacy/security approve each selected input/copy/destination boundary.",
      "evidence": "Approved fields, retrieval paths, persistence and data lineage",
      "method": "artifact",
      "owner": "AI product/security owner",
      "check_ids": [
        "AP86"
      ],
      "implementation_coverage": "APPROVED_INPUT_VALIDATION_ONLY",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP86: Owner-approved data boundary and retrieval/export/materialization review required; no prompts, retrieved records or sensitive outputs collected. Empty input means NOT ASSESSED; no result must be reported UNKNOWN. Evidence completeness and approval are owner assertions. Timestamp must be within selected window."
      ],
      "manual_gap": "These queries validate explicitly supplied owner records; they do not independently discover or prove external business/process assertions. Approved fields, retrieval paths, persistence and data lineage still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the ai product/security owner and inspect approved approved fields, retrieval paths, persistence and data lineage; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Trace approved retrieval inputs, exported fields and persisted outputs through selected AI journeys; obtain privacy/security approval for each data boundary.",
      "future_acceptance": "Privacy/security approve each selected input/copy/destination boundary. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required approved fields, retrieval paths, persistence and data lineage is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://www.snowflake.com/en/developers/guides/well-architected-framework-security-and-governance/"
      ],
      "check_implementations": [
        {
          "check_id": "AP86",
          "sql": "sql/checks/AP86_exp_operations.sql",
          "direct_sql": "sql/direct-live/AP86_exp_operations.sql",
          "sources": [
            "EXP_AP86_INPUT"
          ],
          "method_kind": "approved_input",
          "remediation": "Trace approved retrieval inputs, exported fields and persisted outputs through selected AI journeys; obtain privacy/security approval for each data boundary.",
          "limitations": "Owner-approved data boundary and retrieval/export/materialization review required; no prompts, retrieved records or sensitive outputs collected. Empty input means NOT ASSESSED; no result must be reported UNKNOWN. Evidence completeness and approval are owner assertions. Timestamp must be within selected window."
        }
      ],
      "baseline_record": {
        "id": "AI-02",
        "domain": "AI",
        "practice": "Review AI retrieval/export/materialization data boundaries",
        "evidence": "Approved fields, retrieval paths, persistence and data lineage",
        "method": "artifact",
        "owner_role": "AI product/security owner",
        "source_ids": [
          "WAF-SEC"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned control example: Privacy/security approve each selected input/copy/destination boundary.",
        "remediation_case": "Planned adverse example: review ai retrieval/export/materialization data boundaries is contradicted by the required evidence; validate business consequence before a finding.",
        "unknown_case": "Required approved fields, retrieval paths, persistence and data lineage is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Privacy/security approve each selected input/copy/destination boundary. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W3",
        "manual_alternative": "Interview the ai product/security owner and inspect approved approved fields, retrieval paths, persistence and data lineage; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "approved_input"
      ]
    },
    {
      "id": "AI-03",
      "domain": "AI",
      "title": "Assess AI service identity, model access and endpoint controls",
      "expected_behavior": "Owners validate authorized identities and destinations without patient prompts.",
      "evidence": "Service roles, integrations, model/endpoint permissions and allowlists",
      "method": "artifact",
      "owner": "AI product/security owner",
      "check_ids": [
        "AP87"
      ],
      "implementation_coverage": "METADATA_OR_PROFILE_SIGNALS",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP87: Visible metadata is partial; validate source privileges, latency, population and business impact. Zero rows is not a pass."
      ],
      "manual_gap": "Metadata/profile SQL provides evidence, not complete control assurance. Service roles, integrations, model/endpoint permissions and allowlists still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the ai product/security owner and inspect approved service roles, integrations, model/endpoint permissions and allowlists; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Review service identities, integrations, model/endpoint grants and destination allowlists; validate intended permissions without using patient prompts or data.",
      "future_acceptance": "Owners validate authorized identities and destinations without patient prompts. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required service roles, integrations, model/endpoint permissions and allowlists is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://www.snowflake.com/en/developers/guides/well-architected-framework-security-and-governance/"
      ],
      "check_implementations": [
        {
          "check_id": "AP87",
          "sql": "sql/checks/AP87_exp_operations.sql",
          "direct_sql": "sql/direct-live/AP87_exp_operations.sql",
          "sources": [
            "EXP_CORTEX_BOOTSTRAP_GRANTS"
          ],
          "method_kind": "metadata_capture",
          "remediation": "Review service identities, integrations, model/endpoint grants and destination allowlists; validate intended permissions without using patient prompts or data.",
          "limitations": "Visible metadata is partial; validate source privileges, latency, population and business impact. Zero rows is not a pass."
        }
      ],
      "baseline_record": {
        "id": "AI-03",
        "domain": "AI",
        "practice": "Assess AI service identity, model access and endpoint controls",
        "evidence": "Service roles, integrations, model/endpoint permissions and allowlists",
        "method": "artifact",
        "owner_role": "AI product/security owner",
        "source_ids": [
          "WAF-SEC"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned control example: Owners validate authorized identities and destinations without patient prompts.",
        "remediation_case": "Planned adverse example: assess ai service identity, model access and endpoint controls is contradicted by the required evidence; validate business consequence before a finding.",
        "unknown_case": "Required service roles, integrations, model/endpoint permissions and allowlists is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Owners validate authorized identities and destinations without patient prompts. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W3",
        "manual_alternative": "Interview the ai product/security owner and inspect approved service roles, integrations, model/endpoint permissions and allowlists; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "metadata_capture"
      ]
    },
    {
      "id": "AI-04",
      "domain": "AI",
      "title": "Review AI logging, retention and sensitive-output handling",
      "expected_behavior": "Approved operating rules minimize sensitive content and define review/escalation.",
      "evidence": "Configured logs, retention, recipients and human review workflow",
      "method": "artifact",
      "owner": "AI product/security owner",
      "check_ids": [
        "AP88"
      ],
      "implementation_coverage": "APPROVED_INPUT_VALIDATION_ONLY",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP88: Approved configuration and human-review aggregates only; no prompt, log body, recipient address or AI output is collected. Empty input means NOT ASSESSED; no result must be reported UNKNOWN. Evidence completeness and approval are owner assertions. Timestamp must be within selected window."
      ],
      "manual_gap": "These queries validate explicitly supplied owner records; they do not independently discover or prove external business/process assertions. Configured logs, retention, recipients and human review workflow still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the ai product/security owner and inspect approved configured logs, retention, recipients and human review workflow; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Inspect approved log content, retention, recipients and review workflows; minimize sensitive outputs and define accountable escalation.",
      "future_acceptance": "Approved operating rules minimize sensitive content and define review/escalation. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required configured logs, retention, recipients and human review workflow is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://www.snowflake.com/en/developers/guides/well-architected-framework-security-and-governance/"
      ],
      "check_implementations": [
        {
          "check_id": "AP88",
          "sql": "sql/checks/AP88_exp_operations.sql",
          "direct_sql": "sql/direct-live/AP88_exp_operations.sql",
          "sources": [
            "EXP_AP88_INPUT"
          ],
          "method_kind": "approved_input",
          "remediation": "Inspect approved log content, retention, recipients and review workflows; minimize sensitive outputs and define accountable escalation.",
          "limitations": "Approved configuration and human-review aggregates only; no prompt, log body, recipient address or AI output is collected. Empty input means NOT ASSESSED; no result must be reported UNKNOWN. Evidence completeness and approval are owner assertions. Timestamp must be within selected window."
        }
      ],
      "baseline_record": {
        "id": "AI-04",
        "domain": "AI",
        "practice": "Review AI logging, retention and sensitive-output handling",
        "evidence": "Configured logs, retention, recipients and human review workflow",
        "method": "artifact",
        "owner_role": "AI product/security owner",
        "source_ids": [
          "WAF-SEC"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned control example: Approved operating rules minimize sensitive content and define review/escalation.",
        "remediation_case": "Planned adverse example: review ai logging, retention and sensitive-output handling is contradicted by the required evidence; validate business consequence before a finding.",
        "unknown_case": "Required configured logs, retention, recipients and human review workflow is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Approved operating rules minimize sensitive content and define review/escalation. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W3",
        "manual_alternative": "Interview the ai product/security owner and inspect approved configured logs, retention, recipients and human review workflow; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "approved_input"
      ]
    },
    {
      "id": "AI-05",
      "domain": "AI",
      "title": "Assess AI quality, operational limits and use-case acceptance",
      "expected_behavior": "Owners define authorized future quality/safety/cost tests and accountable human oversight.",
      "evidence": "Existing evaluation evidence, business tolerances, token/service costs and fallback procedures",
      "method": "artifact",
      "owner": "AI product/security owner",
      "check_ids": [
        "AP89"
      ],
      "implementation_coverage": "METADATA_OR_PROFILE_SIGNALS",
      "client_status": "NOT_ASSESSED",
      "native_status": "NOT_RUN",
      "limits": [
        "AP89: Usage view service coverage and latency apply; cannot infer use-case approval, quality, fallback, all AI services or external endpoint spend. No prompts or outputs collected. Uses hourly billing completion USAGE_TIME, not query start. Does not cover all AI functions; AI_PARSE_DOCUMENT requires CORTEX_AI_FUNCTIONS_USAGE_HISTORY. Old CORTEX_FUNCTIONS_USAGE_HISTORY is no longer updated and is not used."
      ],
      "manual_gap": "Metadata/profile SQL provides evidence, not complete control assurance. Existing evaluation evidence, business tolerances, token/service costs and fallback procedures still requires approved population, provenance and owner challenge.",
      "manual_method": "Interview the ai product/security owner and inspect approved existing evaluation evidence, business tolerances, token/service costs and fallback procedures; record evidence IDs, population, window, exceptions and unresolved questions.",
      "remediation_direction": "Define owner-approved quality, safety, cost and fallback criteria for deployed AI uses; plan separate bounded evaluations and human oversight before any expansion.",
      "future_acceptance": "Owners define authorized future quality/safety/cost tests and accountable human oversight. Tests/changes are separately authorized future implementation work.",
      "unknown_condition": "Required existing evaluation evidence, business tolerances, token/service costs and fallback procedures is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
      "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
      "official_sources": [
        "https://www.snowflake.com/en/developers/guides/well-architected-framework-security-and-governance/"
      ],
      "check_implementations": [
        {
          "check_id": "AP89",
          "sql": "sql/checks/AP89_exp_operations.sql",
          "direct_sql": "sql/direct-live/AP89_exp_operations.sql",
          "sources": [
            "CORTEX_AISQL_USAGE_HISTORY"
          ],
          "method_kind": "native_metadata",
          "remediation": "Define owner-approved quality, safety, cost and fallback criteria for deployed AI uses; plan separate bounded evaluations and human oversight before any expansion.",
          "limitations": "Usage view service coverage and latency apply; cannot infer use-case approval, quality, fallback, all AI services or external endpoint spend. No prompts or outputs collected. Uses hourly billing completion USAGE_TIME, not query start. Does not cover all AI functions; AI_PARSE_DOCUMENT requires CORTEX_AI_FUNCTIONS_USAGE_HISTORY. Old CORTEX_FUNCTIONS_USAGE_HISTORY is no longer updated and is not used."
        }
      ],
      "baseline_record": {
        "id": "AI-05",
        "domain": "AI",
        "practice": "Assess AI quality, operational limits and use-case acceptance",
        "evidence": "Existing evaluation evidence, business tolerances, token/service costs and fallback procedures",
        "method": "artifact",
        "owner_role": "AI product/security owner",
        "source_ids": [
          "WAF-SEC"
        ],
        "query_ids": [],
        "story_ids": [],
        "tile_ids": [],
        "sql_coverage": "none",
        "story_coverage": "none",
        "native_status": "not_run",
        "client_status": "not_assessed",
        "gap": "No implemented SQL or story currently tests this practice. Manual assessment is available; new automation/scenarios are planned, not delivered.",
        "healthy_case": "Planned control example: Owners define authorized future quality/safety/cost tests and accountable human oversight.",
        "remediation_case": "Planned adverse example: assess ai quality, operational limits and use-case acceptance is contradicted by the required evidence; validate business consequence before a finding.",
        "unknown_case": "Required existing evaluation evidence, business tolerances, token/service costs and fallback procedures is missing, denied, delayed or outside sample; retain unknown rather than pass/fail.",
        "future_acceptance": "Owners define authorized future quality/safety/cost tests and accountable human oversight. Tests/changes are separately authorized future implementation work.",
        "build_wave": "W3",
        "manual_alternative": "Interview the ai product/security owner and inspect approved existing evaluation evidence, business tolerances, token/service costs and fallback procedures; record evidence IDs, population, window, exceptions and unresolved questions.",
        "applicability": "Confirm deployed features, edition, privileges, client requirements and representative population; optional paid features are not universal mandates.",
        "implementation_status": "manual_only_automation_gap"
      },
      "method_kinds": [
        "native_metadata"
      ]
    }
  ]
}
