@neat.is/types 0.9.9 → 0.9.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -1615,6 +1615,9 @@ declare const NodeContextSchema: z.ZodObject<{
1615
1615
  lastObservedAgeMs: z.ZodOptional<z.ZodNumber>;
1616
1616
  latencyP95Ms: z.ZodOptional<z.ZodNumber>;
1617
1617
  stale: z.ZodBoolean;
1618
+ boundaryTimeout: z.ZodOptional<z.ZodBoolean>;
1619
+ observedErroringDownstream: z.ZodOptional<z.ZodBoolean>;
1620
+ hasOutboundDeps: z.ZodOptional<z.ZodBoolean>;
1618
1621
  }, "strip", z.ZodTypeAny, {
1619
1622
  callCount: number;
1620
1623
  errorsEmittedHere: number;
@@ -1623,6 +1626,9 @@ declare const NodeContextSchema: z.ZodObject<{
1623
1626
  stale: boolean;
1624
1627
  lastObservedAgeMs?: number | undefined;
1625
1628
  latencyP95Ms?: number | undefined;
1629
+ boundaryTimeout?: boolean | undefined;
1630
+ observedErroringDownstream?: boolean | undefined;
1631
+ hasOutboundDeps?: boolean | undefined;
1626
1632
  }, {
1627
1633
  callCount: number;
1628
1634
  errorsEmittedHere: number;
@@ -1631,6 +1637,9 @@ declare const NodeContextSchema: z.ZodObject<{
1631
1637
  stale: boolean;
1632
1638
  lastObservedAgeMs?: number | undefined;
1633
1639
  latencyP95Ms?: number | undefined;
1640
+ boundaryTimeout?: boolean | undefined;
1641
+ observedErroringDownstream?: boolean | undefined;
1642
+ hasOutboundDeps?: boolean | undefined;
1634
1643
  }>;
1635
1644
  type NodeContext = z.infer<typeof NodeContextSchema>;
1636
1645
  declare const NodeClassificationSchema: z.ZodEnum<["primary-failure", "symptom-only", "unrelated"]>;
@@ -1647,6 +1656,9 @@ declare const RootCauseCandidateSchema: z.ZodObject<{
1647
1656
  lastObservedAgeMs: z.ZodOptional<z.ZodNumber>;
1648
1657
  latencyP95Ms: z.ZodOptional<z.ZodNumber>;
1649
1658
  stale: z.ZodBoolean;
1659
+ boundaryTimeout: z.ZodOptional<z.ZodBoolean>;
1660
+ observedErroringDownstream: z.ZodOptional<z.ZodBoolean>;
1661
+ hasOutboundDeps: z.ZodOptional<z.ZodBoolean>;
1650
1662
  }, "strip", z.ZodTypeAny, {
1651
1663
  callCount: number;
1652
1664
  errorsEmittedHere: number;
@@ -1655,6 +1667,9 @@ declare const RootCauseCandidateSchema: z.ZodObject<{
1655
1667
  stale: boolean;
1656
1668
  lastObservedAgeMs?: number | undefined;
1657
1669
  latencyP95Ms?: number | undefined;
1670
+ boundaryTimeout?: boolean | undefined;
1671
+ observedErroringDownstream?: boolean | undefined;
1672
+ hasOutboundDeps?: boolean | undefined;
1658
1673
  }, {
1659
1674
  callCount: number;
1660
1675
  errorsEmittedHere: number;
@@ -1663,6 +1678,9 @@ declare const RootCauseCandidateSchema: z.ZodObject<{
1663
1678
  stale: boolean;
1664
1679
  lastObservedAgeMs?: number | undefined;
1665
1680
  latencyP95Ms?: number | undefined;
1681
+ boundaryTimeout?: boolean | undefined;
1682
+ observedErroringDownstream?: boolean | undefined;
1683
+ hasOutboundDeps?: boolean | undefined;
1666
1684
  }>;
1667
1685
  confidence: z.ZodNumber;
1668
1686
  provenance: z.ZodOptional<z.ZodEnum<["EXTRACTED", "INFERRED", "OBSERVED", "STALE"]>>;
@@ -1679,6 +1697,9 @@ declare const RootCauseCandidateSchema: z.ZodObject<{
1679
1697
  stale: boolean;
1680
1698
  lastObservedAgeMs?: number | undefined;
1681
1699
  latencyP95Ms?: number | undefined;
1700
+ boundaryTimeout?: boolean | undefined;
1701
+ observedErroringDownstream?: boolean | undefined;
1702
+ hasOutboundDeps?: boolean | undefined;
1682
1703
  };
1683
1704
  provenance?: "EXTRACTED" | "INFERRED" | "OBSERVED" | "STALE" | undefined;
1684
1705
  }, {
@@ -1694,6 +1715,9 @@ declare const RootCauseCandidateSchema: z.ZodObject<{
1694
1715
  stale: boolean;
1695
1716
  lastObservedAgeMs?: number | undefined;
1696
1717
  latencyP95Ms?: number | undefined;
1718
+ boundaryTimeout?: boolean | undefined;
1719
+ observedErroringDownstream?: boolean | undefined;
1720
+ hasOutboundDeps?: boolean | undefined;
1697
1721
  };
1698
1722
  provenance?: "EXTRACTED" | "INFERRED" | "OBSERVED" | "STALE" | undefined;
1699
1723
  }>;
@@ -1717,6 +1741,9 @@ declare const RootCauseResultSchema: z.ZodObject<{
1717
1741
  lastObservedAgeMs: z.ZodOptional<z.ZodNumber>;
1718
1742
  latencyP95Ms: z.ZodOptional<z.ZodNumber>;
1719
1743
  stale: z.ZodBoolean;
1744
+ boundaryTimeout: z.ZodOptional<z.ZodBoolean>;
1745
+ observedErroringDownstream: z.ZodOptional<z.ZodBoolean>;
1746
+ hasOutboundDeps: z.ZodOptional<z.ZodBoolean>;
1720
1747
  }, "strip", z.ZodTypeAny, {
1721
1748
  callCount: number;
1722
1749
  errorsEmittedHere: number;
@@ -1725,6 +1752,9 @@ declare const RootCauseResultSchema: z.ZodObject<{
1725
1752
  stale: boolean;
1726
1753
  lastObservedAgeMs?: number | undefined;
1727
1754
  latencyP95Ms?: number | undefined;
1755
+ boundaryTimeout?: boolean | undefined;
1756
+ observedErroringDownstream?: boolean | undefined;
1757
+ hasOutboundDeps?: boolean | undefined;
1728
1758
  }, {
1729
1759
  callCount: number;
1730
1760
  errorsEmittedHere: number;
@@ -1733,6 +1763,9 @@ declare const RootCauseResultSchema: z.ZodObject<{
1733
1763
  stale: boolean;
1734
1764
  lastObservedAgeMs?: number | undefined;
1735
1765
  latencyP95Ms?: number | undefined;
1766
+ boundaryTimeout?: boolean | undefined;
1767
+ observedErroringDownstream?: boolean | undefined;
1768
+ hasOutboundDeps?: boolean | undefined;
1736
1769
  }>;
1737
1770
  confidence: z.ZodNumber;
1738
1771
  provenance: z.ZodOptional<z.ZodEnum<["EXTRACTED", "INFERRED", "OBSERVED", "STALE"]>>;
@@ -1749,6 +1782,9 @@ declare const RootCauseResultSchema: z.ZodObject<{
1749
1782
  stale: boolean;
1750
1783
  lastObservedAgeMs?: number | undefined;
1751
1784
  latencyP95Ms?: number | undefined;
1785
+ boundaryTimeout?: boolean | undefined;
1786
+ observedErroringDownstream?: boolean | undefined;
1787
+ hasOutboundDeps?: boolean | undefined;
1752
1788
  };
1753
1789
  provenance?: "EXTRACTED" | "INFERRED" | "OBSERVED" | "STALE" | undefined;
1754
1790
  }, {
@@ -1764,6 +1800,9 @@ declare const RootCauseResultSchema: z.ZodObject<{
1764
1800
  stale: boolean;
1765
1801
  lastObservedAgeMs?: number | undefined;
1766
1802
  latencyP95Ms?: number | undefined;
1803
+ boundaryTimeout?: boolean | undefined;
1804
+ observedErroringDownstream?: boolean | undefined;
1805
+ hasOutboundDeps?: boolean | undefined;
1767
1806
  };
1768
1807
  provenance?: "EXTRACTED" | "INFERRED" | "OBSERVED" | "STALE" | undefined;
1769
1808
  }>, "many">>;
@@ -1787,6 +1826,9 @@ declare const RootCauseResultSchema: z.ZodObject<{
1787
1826
  stale: boolean;
1788
1827
  lastObservedAgeMs?: number | undefined;
1789
1828
  latencyP95Ms?: number | undefined;
1829
+ boundaryTimeout?: boolean | undefined;
1830
+ observedErroringDownstream?: boolean | undefined;
1831
+ hasOutboundDeps?: boolean | undefined;
1790
1832
  };
1791
1833
  provenance?: "EXTRACTED" | "INFERRED" | "OBSERVED" | "STALE" | undefined;
1792
1834
  }[] | undefined;
@@ -1810,6 +1852,9 @@ declare const RootCauseResultSchema: z.ZodObject<{
1810
1852
  stale: boolean;
1811
1853
  lastObservedAgeMs?: number | undefined;
1812
1854
  latencyP95Ms?: number | undefined;
1855
+ boundaryTimeout?: boolean | undefined;
1856
+ observedErroringDownstream?: boolean | undefined;
1857
+ hasOutboundDeps?: boolean | undefined;
1813
1858
  };
1814
1859
  provenance?: "EXTRACTED" | "INFERRED" | "OBSERVED" | "STALE" | undefined;
1815
1860
  }[] | undefined;
@@ -1904,6 +1949,9 @@ declare const ExpandNeighbourSchema: z.ZodObject<{
1904
1949
  lastObservedAgeMs: z.ZodOptional<z.ZodNumber>;
1905
1950
  latencyP95Ms: z.ZodOptional<z.ZodNumber>;
1906
1951
  stale: z.ZodBoolean;
1952
+ boundaryTimeout: z.ZodOptional<z.ZodBoolean>;
1953
+ observedErroringDownstream: z.ZodOptional<z.ZodBoolean>;
1954
+ hasOutboundDeps: z.ZodOptional<z.ZodBoolean>;
1907
1955
  }, "strip", z.ZodTypeAny, {
1908
1956
  callCount: number;
1909
1957
  errorsEmittedHere: number;
@@ -1912,6 +1960,9 @@ declare const ExpandNeighbourSchema: z.ZodObject<{
1912
1960
  stale: boolean;
1913
1961
  lastObservedAgeMs?: number | undefined;
1914
1962
  latencyP95Ms?: number | undefined;
1963
+ boundaryTimeout?: boolean | undefined;
1964
+ observedErroringDownstream?: boolean | undefined;
1965
+ hasOutboundDeps?: boolean | undefined;
1915
1966
  }, {
1916
1967
  callCount: number;
1917
1968
  errorsEmittedHere: number;
@@ -1920,6 +1971,9 @@ declare const ExpandNeighbourSchema: z.ZodObject<{
1920
1971
  stale: boolean;
1921
1972
  lastObservedAgeMs?: number | undefined;
1922
1973
  latencyP95Ms?: number | undefined;
1974
+ boundaryTimeout?: boolean | undefined;
1975
+ observedErroringDownstream?: boolean | undefined;
1976
+ hasOutboundDeps?: boolean | undefined;
1923
1977
  }>;
1924
1978
  }, "strip", z.ZodTypeAny, {
1925
1979
  provenance: "EXTRACTED" | "INFERRED" | "OBSERVED" | "STALE";
@@ -1934,6 +1988,9 @@ declare const ExpandNeighbourSchema: z.ZodObject<{
1934
1988
  stale: boolean;
1935
1989
  lastObservedAgeMs?: number | undefined;
1936
1990
  latencyP95Ms?: number | undefined;
1991
+ boundaryTimeout?: boolean | undefined;
1992
+ observedErroringDownstream?: boolean | undefined;
1993
+ hasOutboundDeps?: boolean | undefined;
1937
1994
  };
1938
1995
  }, {
1939
1996
  provenance: "EXTRACTED" | "INFERRED" | "OBSERVED" | "STALE";
@@ -1948,6 +2005,9 @@ declare const ExpandNeighbourSchema: z.ZodObject<{
1948
2005
  stale: boolean;
1949
2006
  lastObservedAgeMs?: number | undefined;
1950
2007
  latencyP95Ms?: number | undefined;
2008
+ boundaryTimeout?: boolean | undefined;
2009
+ observedErroringDownstream?: boolean | undefined;
2010
+ hasOutboundDeps?: boolean | undefined;
1951
2011
  };
1952
2012
  }>;
1953
2013
  type ExpandNeighbour = z.infer<typeof ExpandNeighbourSchema>;
@@ -1965,6 +2025,9 @@ declare const ExpandResultSchema: z.ZodObject<{
1965
2025
  lastObservedAgeMs: z.ZodOptional<z.ZodNumber>;
1966
2026
  latencyP95Ms: z.ZodOptional<z.ZodNumber>;
1967
2027
  stale: z.ZodBoolean;
2028
+ boundaryTimeout: z.ZodOptional<z.ZodBoolean>;
2029
+ observedErroringDownstream: z.ZodOptional<z.ZodBoolean>;
2030
+ hasOutboundDeps: z.ZodOptional<z.ZodBoolean>;
1968
2031
  }, "strip", z.ZodTypeAny, {
1969
2032
  callCount: number;
1970
2033
  errorsEmittedHere: number;
@@ -1973,6 +2036,9 @@ declare const ExpandResultSchema: z.ZodObject<{
1973
2036
  stale: boolean;
1974
2037
  lastObservedAgeMs?: number | undefined;
1975
2038
  latencyP95Ms?: number | undefined;
2039
+ boundaryTimeout?: boolean | undefined;
2040
+ observedErroringDownstream?: boolean | undefined;
2041
+ hasOutboundDeps?: boolean | undefined;
1976
2042
  }, {
1977
2043
  callCount: number;
1978
2044
  errorsEmittedHere: number;
@@ -1981,6 +2047,9 @@ declare const ExpandResultSchema: z.ZodObject<{
1981
2047
  stale: boolean;
1982
2048
  lastObservedAgeMs?: number | undefined;
1983
2049
  latencyP95Ms?: number | undefined;
2050
+ boundaryTimeout?: boolean | undefined;
2051
+ observedErroringDownstream?: boolean | undefined;
2052
+ hasOutboundDeps?: boolean | undefined;
1984
2053
  }>;
1985
2054
  }, "strip", z.ZodTypeAny, {
1986
2055
  id: string;
@@ -1993,6 +2062,9 @@ declare const ExpandResultSchema: z.ZodObject<{
1993
2062
  stale: boolean;
1994
2063
  lastObservedAgeMs?: number | undefined;
1995
2064
  latencyP95Ms?: number | undefined;
2065
+ boundaryTimeout?: boolean | undefined;
2066
+ observedErroringDownstream?: boolean | undefined;
2067
+ hasOutboundDeps?: boolean | undefined;
1996
2068
  };
1997
2069
  }, {
1998
2070
  id: string;
@@ -2005,6 +2077,9 @@ declare const ExpandResultSchema: z.ZodObject<{
2005
2077
  stale: boolean;
2006
2078
  lastObservedAgeMs?: number | undefined;
2007
2079
  latencyP95Ms?: number | undefined;
2080
+ boundaryTimeout?: boolean | undefined;
2081
+ observedErroringDownstream?: boolean | undefined;
2082
+ hasOutboundDeps?: boolean | undefined;
2008
2083
  };
2009
2084
  }>;
2010
2085
  neighbours: z.ZodArray<z.ZodObject<{
@@ -2020,6 +2095,9 @@ declare const ExpandResultSchema: z.ZodObject<{
2020
2095
  lastObservedAgeMs: z.ZodOptional<z.ZodNumber>;
2021
2096
  latencyP95Ms: z.ZodOptional<z.ZodNumber>;
2022
2097
  stale: z.ZodBoolean;
2098
+ boundaryTimeout: z.ZodOptional<z.ZodBoolean>;
2099
+ observedErroringDownstream: z.ZodOptional<z.ZodBoolean>;
2100
+ hasOutboundDeps: z.ZodOptional<z.ZodBoolean>;
2023
2101
  }, "strip", z.ZodTypeAny, {
2024
2102
  callCount: number;
2025
2103
  errorsEmittedHere: number;
@@ -2028,6 +2106,9 @@ declare const ExpandResultSchema: z.ZodObject<{
2028
2106
  stale: boolean;
2029
2107
  lastObservedAgeMs?: number | undefined;
2030
2108
  latencyP95Ms?: number | undefined;
2109
+ boundaryTimeout?: boolean | undefined;
2110
+ observedErroringDownstream?: boolean | undefined;
2111
+ hasOutboundDeps?: boolean | undefined;
2031
2112
  }, {
2032
2113
  callCount: number;
2033
2114
  errorsEmittedHere: number;
@@ -2036,6 +2117,9 @@ declare const ExpandResultSchema: z.ZodObject<{
2036
2117
  stale: boolean;
2037
2118
  lastObservedAgeMs?: number | undefined;
2038
2119
  latencyP95Ms?: number | undefined;
2120
+ boundaryTimeout?: boolean | undefined;
2121
+ observedErroringDownstream?: boolean | undefined;
2122
+ hasOutboundDeps?: boolean | undefined;
2039
2123
  }>;
2040
2124
  }, "strip", z.ZodTypeAny, {
2041
2125
  provenance: "EXTRACTED" | "INFERRED" | "OBSERVED" | "STALE";
@@ -2050,6 +2134,9 @@ declare const ExpandResultSchema: z.ZodObject<{
2050
2134
  stale: boolean;
2051
2135
  lastObservedAgeMs?: number | undefined;
2052
2136
  latencyP95Ms?: number | undefined;
2137
+ boundaryTimeout?: boolean | undefined;
2138
+ observedErroringDownstream?: boolean | undefined;
2139
+ hasOutboundDeps?: boolean | undefined;
2053
2140
  };
2054
2141
  }, {
2055
2142
  provenance: "EXTRACTED" | "INFERRED" | "OBSERVED" | "STALE";
@@ -2064,6 +2151,9 @@ declare const ExpandResultSchema: z.ZodObject<{
2064
2151
  stale: boolean;
2065
2152
  lastObservedAgeMs?: number | undefined;
2066
2153
  latencyP95Ms?: number | undefined;
2154
+ boundaryTimeout?: boolean | undefined;
2155
+ observedErroringDownstream?: boolean | undefined;
2156
+ hasOutboundDeps?: boolean | undefined;
2067
2157
  };
2068
2158
  }>, "many">;
2069
2159
  }, "strip", z.ZodTypeAny, {
@@ -2078,6 +2168,9 @@ declare const ExpandResultSchema: z.ZodObject<{
2078
2168
  stale: boolean;
2079
2169
  lastObservedAgeMs?: number | undefined;
2080
2170
  latencyP95Ms?: number | undefined;
2171
+ boundaryTimeout?: boolean | undefined;
2172
+ observedErroringDownstream?: boolean | undefined;
2173
+ hasOutboundDeps?: boolean | undefined;
2081
2174
  };
2082
2175
  };
2083
2176
  direction: "up" | "down";
@@ -2095,6 +2188,9 @@ declare const ExpandResultSchema: z.ZodObject<{
2095
2188
  stale: boolean;
2096
2189
  lastObservedAgeMs?: number | undefined;
2097
2190
  latencyP95Ms?: number | undefined;
2191
+ boundaryTimeout?: boolean | undefined;
2192
+ observedErroringDownstream?: boolean | undefined;
2193
+ hasOutboundDeps?: boolean | undefined;
2098
2194
  };
2099
2195
  }[];
2100
2196
  }, {
@@ -2109,6 +2205,9 @@ declare const ExpandResultSchema: z.ZodObject<{
2109
2205
  stale: boolean;
2110
2206
  lastObservedAgeMs?: number | undefined;
2111
2207
  latencyP95Ms?: number | undefined;
2208
+ boundaryTimeout?: boolean | undefined;
2209
+ observedErroringDownstream?: boolean | undefined;
2210
+ hasOutboundDeps?: boolean | undefined;
2112
2211
  };
2113
2212
  };
2114
2213
  direction: "up" | "down";
@@ -2126,6 +2225,9 @@ declare const ExpandResultSchema: z.ZodObject<{
2126
2225
  stale: boolean;
2127
2226
  lastObservedAgeMs?: number | undefined;
2128
2227
  latencyP95Ms?: number | undefined;
2228
+ boundaryTimeout?: boolean | undefined;
2229
+ observedErroringDownstream?: boolean | undefined;
2230
+ hasOutboundDeps?: boolean | undefined;
2129
2231
  };
2130
2232
  }[];
2131
2233
  }>;
package/dist/index.d.ts CHANGED
@@ -1615,6 +1615,9 @@ declare const NodeContextSchema: z.ZodObject<{
1615
1615
  lastObservedAgeMs: z.ZodOptional<z.ZodNumber>;
1616
1616
  latencyP95Ms: z.ZodOptional<z.ZodNumber>;
1617
1617
  stale: z.ZodBoolean;
1618
+ boundaryTimeout: z.ZodOptional<z.ZodBoolean>;
1619
+ observedErroringDownstream: z.ZodOptional<z.ZodBoolean>;
1620
+ hasOutboundDeps: z.ZodOptional<z.ZodBoolean>;
1618
1621
  }, "strip", z.ZodTypeAny, {
1619
1622
  callCount: number;
1620
1623
  errorsEmittedHere: number;
@@ -1623,6 +1626,9 @@ declare const NodeContextSchema: z.ZodObject<{
1623
1626
  stale: boolean;
1624
1627
  lastObservedAgeMs?: number | undefined;
1625
1628
  latencyP95Ms?: number | undefined;
1629
+ boundaryTimeout?: boolean | undefined;
1630
+ observedErroringDownstream?: boolean | undefined;
1631
+ hasOutboundDeps?: boolean | undefined;
1626
1632
  }, {
1627
1633
  callCount: number;
1628
1634
  errorsEmittedHere: number;
@@ -1631,6 +1637,9 @@ declare const NodeContextSchema: z.ZodObject<{
1631
1637
  stale: boolean;
1632
1638
  lastObservedAgeMs?: number | undefined;
1633
1639
  latencyP95Ms?: number | undefined;
1640
+ boundaryTimeout?: boolean | undefined;
1641
+ observedErroringDownstream?: boolean | undefined;
1642
+ hasOutboundDeps?: boolean | undefined;
1634
1643
  }>;
1635
1644
  type NodeContext = z.infer<typeof NodeContextSchema>;
1636
1645
  declare const NodeClassificationSchema: z.ZodEnum<["primary-failure", "symptom-only", "unrelated"]>;
@@ -1647,6 +1656,9 @@ declare const RootCauseCandidateSchema: z.ZodObject<{
1647
1656
  lastObservedAgeMs: z.ZodOptional<z.ZodNumber>;
1648
1657
  latencyP95Ms: z.ZodOptional<z.ZodNumber>;
1649
1658
  stale: z.ZodBoolean;
1659
+ boundaryTimeout: z.ZodOptional<z.ZodBoolean>;
1660
+ observedErroringDownstream: z.ZodOptional<z.ZodBoolean>;
1661
+ hasOutboundDeps: z.ZodOptional<z.ZodBoolean>;
1650
1662
  }, "strip", z.ZodTypeAny, {
1651
1663
  callCount: number;
1652
1664
  errorsEmittedHere: number;
@@ -1655,6 +1667,9 @@ declare const RootCauseCandidateSchema: z.ZodObject<{
1655
1667
  stale: boolean;
1656
1668
  lastObservedAgeMs?: number | undefined;
1657
1669
  latencyP95Ms?: number | undefined;
1670
+ boundaryTimeout?: boolean | undefined;
1671
+ observedErroringDownstream?: boolean | undefined;
1672
+ hasOutboundDeps?: boolean | undefined;
1658
1673
  }, {
1659
1674
  callCount: number;
1660
1675
  errorsEmittedHere: number;
@@ -1663,6 +1678,9 @@ declare const RootCauseCandidateSchema: z.ZodObject<{
1663
1678
  stale: boolean;
1664
1679
  lastObservedAgeMs?: number | undefined;
1665
1680
  latencyP95Ms?: number | undefined;
1681
+ boundaryTimeout?: boolean | undefined;
1682
+ observedErroringDownstream?: boolean | undefined;
1683
+ hasOutboundDeps?: boolean | undefined;
1666
1684
  }>;
1667
1685
  confidence: z.ZodNumber;
1668
1686
  provenance: z.ZodOptional<z.ZodEnum<["EXTRACTED", "INFERRED", "OBSERVED", "STALE"]>>;
@@ -1679,6 +1697,9 @@ declare const RootCauseCandidateSchema: z.ZodObject<{
1679
1697
  stale: boolean;
1680
1698
  lastObservedAgeMs?: number | undefined;
1681
1699
  latencyP95Ms?: number | undefined;
1700
+ boundaryTimeout?: boolean | undefined;
1701
+ observedErroringDownstream?: boolean | undefined;
1702
+ hasOutboundDeps?: boolean | undefined;
1682
1703
  };
1683
1704
  provenance?: "EXTRACTED" | "INFERRED" | "OBSERVED" | "STALE" | undefined;
1684
1705
  }, {
@@ -1694,6 +1715,9 @@ declare const RootCauseCandidateSchema: z.ZodObject<{
1694
1715
  stale: boolean;
1695
1716
  lastObservedAgeMs?: number | undefined;
1696
1717
  latencyP95Ms?: number | undefined;
1718
+ boundaryTimeout?: boolean | undefined;
1719
+ observedErroringDownstream?: boolean | undefined;
1720
+ hasOutboundDeps?: boolean | undefined;
1697
1721
  };
1698
1722
  provenance?: "EXTRACTED" | "INFERRED" | "OBSERVED" | "STALE" | undefined;
1699
1723
  }>;
@@ -1717,6 +1741,9 @@ declare const RootCauseResultSchema: z.ZodObject<{
1717
1741
  lastObservedAgeMs: z.ZodOptional<z.ZodNumber>;
1718
1742
  latencyP95Ms: z.ZodOptional<z.ZodNumber>;
1719
1743
  stale: z.ZodBoolean;
1744
+ boundaryTimeout: z.ZodOptional<z.ZodBoolean>;
1745
+ observedErroringDownstream: z.ZodOptional<z.ZodBoolean>;
1746
+ hasOutboundDeps: z.ZodOptional<z.ZodBoolean>;
1720
1747
  }, "strip", z.ZodTypeAny, {
1721
1748
  callCount: number;
1722
1749
  errorsEmittedHere: number;
@@ -1725,6 +1752,9 @@ declare const RootCauseResultSchema: z.ZodObject<{
1725
1752
  stale: boolean;
1726
1753
  lastObservedAgeMs?: number | undefined;
1727
1754
  latencyP95Ms?: number | undefined;
1755
+ boundaryTimeout?: boolean | undefined;
1756
+ observedErroringDownstream?: boolean | undefined;
1757
+ hasOutboundDeps?: boolean | undefined;
1728
1758
  }, {
1729
1759
  callCount: number;
1730
1760
  errorsEmittedHere: number;
@@ -1733,6 +1763,9 @@ declare const RootCauseResultSchema: z.ZodObject<{
1733
1763
  stale: boolean;
1734
1764
  lastObservedAgeMs?: number | undefined;
1735
1765
  latencyP95Ms?: number | undefined;
1766
+ boundaryTimeout?: boolean | undefined;
1767
+ observedErroringDownstream?: boolean | undefined;
1768
+ hasOutboundDeps?: boolean | undefined;
1736
1769
  }>;
1737
1770
  confidence: z.ZodNumber;
1738
1771
  provenance: z.ZodOptional<z.ZodEnum<["EXTRACTED", "INFERRED", "OBSERVED", "STALE"]>>;
@@ -1749,6 +1782,9 @@ declare const RootCauseResultSchema: z.ZodObject<{
1749
1782
  stale: boolean;
1750
1783
  lastObservedAgeMs?: number | undefined;
1751
1784
  latencyP95Ms?: number | undefined;
1785
+ boundaryTimeout?: boolean | undefined;
1786
+ observedErroringDownstream?: boolean | undefined;
1787
+ hasOutboundDeps?: boolean | undefined;
1752
1788
  };
1753
1789
  provenance?: "EXTRACTED" | "INFERRED" | "OBSERVED" | "STALE" | undefined;
1754
1790
  }, {
@@ -1764,6 +1800,9 @@ declare const RootCauseResultSchema: z.ZodObject<{
1764
1800
  stale: boolean;
1765
1801
  lastObservedAgeMs?: number | undefined;
1766
1802
  latencyP95Ms?: number | undefined;
1803
+ boundaryTimeout?: boolean | undefined;
1804
+ observedErroringDownstream?: boolean | undefined;
1805
+ hasOutboundDeps?: boolean | undefined;
1767
1806
  };
1768
1807
  provenance?: "EXTRACTED" | "INFERRED" | "OBSERVED" | "STALE" | undefined;
1769
1808
  }>, "many">>;
@@ -1787,6 +1826,9 @@ declare const RootCauseResultSchema: z.ZodObject<{
1787
1826
  stale: boolean;
1788
1827
  lastObservedAgeMs?: number | undefined;
1789
1828
  latencyP95Ms?: number | undefined;
1829
+ boundaryTimeout?: boolean | undefined;
1830
+ observedErroringDownstream?: boolean | undefined;
1831
+ hasOutboundDeps?: boolean | undefined;
1790
1832
  };
1791
1833
  provenance?: "EXTRACTED" | "INFERRED" | "OBSERVED" | "STALE" | undefined;
1792
1834
  }[] | undefined;
@@ -1810,6 +1852,9 @@ declare const RootCauseResultSchema: z.ZodObject<{
1810
1852
  stale: boolean;
1811
1853
  lastObservedAgeMs?: number | undefined;
1812
1854
  latencyP95Ms?: number | undefined;
1855
+ boundaryTimeout?: boolean | undefined;
1856
+ observedErroringDownstream?: boolean | undefined;
1857
+ hasOutboundDeps?: boolean | undefined;
1813
1858
  };
1814
1859
  provenance?: "EXTRACTED" | "INFERRED" | "OBSERVED" | "STALE" | undefined;
1815
1860
  }[] | undefined;
@@ -1904,6 +1949,9 @@ declare const ExpandNeighbourSchema: z.ZodObject<{
1904
1949
  lastObservedAgeMs: z.ZodOptional<z.ZodNumber>;
1905
1950
  latencyP95Ms: z.ZodOptional<z.ZodNumber>;
1906
1951
  stale: z.ZodBoolean;
1952
+ boundaryTimeout: z.ZodOptional<z.ZodBoolean>;
1953
+ observedErroringDownstream: z.ZodOptional<z.ZodBoolean>;
1954
+ hasOutboundDeps: z.ZodOptional<z.ZodBoolean>;
1907
1955
  }, "strip", z.ZodTypeAny, {
1908
1956
  callCount: number;
1909
1957
  errorsEmittedHere: number;
@@ -1912,6 +1960,9 @@ declare const ExpandNeighbourSchema: z.ZodObject<{
1912
1960
  stale: boolean;
1913
1961
  lastObservedAgeMs?: number | undefined;
1914
1962
  latencyP95Ms?: number | undefined;
1963
+ boundaryTimeout?: boolean | undefined;
1964
+ observedErroringDownstream?: boolean | undefined;
1965
+ hasOutboundDeps?: boolean | undefined;
1915
1966
  }, {
1916
1967
  callCount: number;
1917
1968
  errorsEmittedHere: number;
@@ -1920,6 +1971,9 @@ declare const ExpandNeighbourSchema: z.ZodObject<{
1920
1971
  stale: boolean;
1921
1972
  lastObservedAgeMs?: number | undefined;
1922
1973
  latencyP95Ms?: number | undefined;
1974
+ boundaryTimeout?: boolean | undefined;
1975
+ observedErroringDownstream?: boolean | undefined;
1976
+ hasOutboundDeps?: boolean | undefined;
1923
1977
  }>;
1924
1978
  }, "strip", z.ZodTypeAny, {
1925
1979
  provenance: "EXTRACTED" | "INFERRED" | "OBSERVED" | "STALE";
@@ -1934,6 +1988,9 @@ declare const ExpandNeighbourSchema: z.ZodObject<{
1934
1988
  stale: boolean;
1935
1989
  lastObservedAgeMs?: number | undefined;
1936
1990
  latencyP95Ms?: number | undefined;
1991
+ boundaryTimeout?: boolean | undefined;
1992
+ observedErroringDownstream?: boolean | undefined;
1993
+ hasOutboundDeps?: boolean | undefined;
1937
1994
  };
1938
1995
  }, {
1939
1996
  provenance: "EXTRACTED" | "INFERRED" | "OBSERVED" | "STALE";
@@ -1948,6 +2005,9 @@ declare const ExpandNeighbourSchema: z.ZodObject<{
1948
2005
  stale: boolean;
1949
2006
  lastObservedAgeMs?: number | undefined;
1950
2007
  latencyP95Ms?: number | undefined;
2008
+ boundaryTimeout?: boolean | undefined;
2009
+ observedErroringDownstream?: boolean | undefined;
2010
+ hasOutboundDeps?: boolean | undefined;
1951
2011
  };
1952
2012
  }>;
1953
2013
  type ExpandNeighbour = z.infer<typeof ExpandNeighbourSchema>;
@@ -1965,6 +2025,9 @@ declare const ExpandResultSchema: z.ZodObject<{
1965
2025
  lastObservedAgeMs: z.ZodOptional<z.ZodNumber>;
1966
2026
  latencyP95Ms: z.ZodOptional<z.ZodNumber>;
1967
2027
  stale: z.ZodBoolean;
2028
+ boundaryTimeout: z.ZodOptional<z.ZodBoolean>;
2029
+ observedErroringDownstream: z.ZodOptional<z.ZodBoolean>;
2030
+ hasOutboundDeps: z.ZodOptional<z.ZodBoolean>;
1968
2031
  }, "strip", z.ZodTypeAny, {
1969
2032
  callCount: number;
1970
2033
  errorsEmittedHere: number;
@@ -1973,6 +2036,9 @@ declare const ExpandResultSchema: z.ZodObject<{
1973
2036
  stale: boolean;
1974
2037
  lastObservedAgeMs?: number | undefined;
1975
2038
  latencyP95Ms?: number | undefined;
2039
+ boundaryTimeout?: boolean | undefined;
2040
+ observedErroringDownstream?: boolean | undefined;
2041
+ hasOutboundDeps?: boolean | undefined;
1976
2042
  }, {
1977
2043
  callCount: number;
1978
2044
  errorsEmittedHere: number;
@@ -1981,6 +2047,9 @@ declare const ExpandResultSchema: z.ZodObject<{
1981
2047
  stale: boolean;
1982
2048
  lastObservedAgeMs?: number | undefined;
1983
2049
  latencyP95Ms?: number | undefined;
2050
+ boundaryTimeout?: boolean | undefined;
2051
+ observedErroringDownstream?: boolean | undefined;
2052
+ hasOutboundDeps?: boolean | undefined;
1984
2053
  }>;
1985
2054
  }, "strip", z.ZodTypeAny, {
1986
2055
  id: string;
@@ -1993,6 +2062,9 @@ declare const ExpandResultSchema: z.ZodObject<{
1993
2062
  stale: boolean;
1994
2063
  lastObservedAgeMs?: number | undefined;
1995
2064
  latencyP95Ms?: number | undefined;
2065
+ boundaryTimeout?: boolean | undefined;
2066
+ observedErroringDownstream?: boolean | undefined;
2067
+ hasOutboundDeps?: boolean | undefined;
1996
2068
  };
1997
2069
  }, {
1998
2070
  id: string;
@@ -2005,6 +2077,9 @@ declare const ExpandResultSchema: z.ZodObject<{
2005
2077
  stale: boolean;
2006
2078
  lastObservedAgeMs?: number | undefined;
2007
2079
  latencyP95Ms?: number | undefined;
2080
+ boundaryTimeout?: boolean | undefined;
2081
+ observedErroringDownstream?: boolean | undefined;
2082
+ hasOutboundDeps?: boolean | undefined;
2008
2083
  };
2009
2084
  }>;
2010
2085
  neighbours: z.ZodArray<z.ZodObject<{
@@ -2020,6 +2095,9 @@ declare const ExpandResultSchema: z.ZodObject<{
2020
2095
  lastObservedAgeMs: z.ZodOptional<z.ZodNumber>;
2021
2096
  latencyP95Ms: z.ZodOptional<z.ZodNumber>;
2022
2097
  stale: z.ZodBoolean;
2098
+ boundaryTimeout: z.ZodOptional<z.ZodBoolean>;
2099
+ observedErroringDownstream: z.ZodOptional<z.ZodBoolean>;
2100
+ hasOutboundDeps: z.ZodOptional<z.ZodBoolean>;
2023
2101
  }, "strip", z.ZodTypeAny, {
2024
2102
  callCount: number;
2025
2103
  errorsEmittedHere: number;
@@ -2028,6 +2106,9 @@ declare const ExpandResultSchema: z.ZodObject<{
2028
2106
  stale: boolean;
2029
2107
  lastObservedAgeMs?: number | undefined;
2030
2108
  latencyP95Ms?: number | undefined;
2109
+ boundaryTimeout?: boolean | undefined;
2110
+ observedErroringDownstream?: boolean | undefined;
2111
+ hasOutboundDeps?: boolean | undefined;
2031
2112
  }, {
2032
2113
  callCount: number;
2033
2114
  errorsEmittedHere: number;
@@ -2036,6 +2117,9 @@ declare const ExpandResultSchema: z.ZodObject<{
2036
2117
  stale: boolean;
2037
2118
  lastObservedAgeMs?: number | undefined;
2038
2119
  latencyP95Ms?: number | undefined;
2120
+ boundaryTimeout?: boolean | undefined;
2121
+ observedErroringDownstream?: boolean | undefined;
2122
+ hasOutboundDeps?: boolean | undefined;
2039
2123
  }>;
2040
2124
  }, "strip", z.ZodTypeAny, {
2041
2125
  provenance: "EXTRACTED" | "INFERRED" | "OBSERVED" | "STALE";
@@ -2050,6 +2134,9 @@ declare const ExpandResultSchema: z.ZodObject<{
2050
2134
  stale: boolean;
2051
2135
  lastObservedAgeMs?: number | undefined;
2052
2136
  latencyP95Ms?: number | undefined;
2137
+ boundaryTimeout?: boolean | undefined;
2138
+ observedErroringDownstream?: boolean | undefined;
2139
+ hasOutboundDeps?: boolean | undefined;
2053
2140
  };
2054
2141
  }, {
2055
2142
  provenance: "EXTRACTED" | "INFERRED" | "OBSERVED" | "STALE";
@@ -2064,6 +2151,9 @@ declare const ExpandResultSchema: z.ZodObject<{
2064
2151
  stale: boolean;
2065
2152
  lastObservedAgeMs?: number | undefined;
2066
2153
  latencyP95Ms?: number | undefined;
2154
+ boundaryTimeout?: boolean | undefined;
2155
+ observedErroringDownstream?: boolean | undefined;
2156
+ hasOutboundDeps?: boolean | undefined;
2067
2157
  };
2068
2158
  }>, "many">;
2069
2159
  }, "strip", z.ZodTypeAny, {
@@ -2078,6 +2168,9 @@ declare const ExpandResultSchema: z.ZodObject<{
2078
2168
  stale: boolean;
2079
2169
  lastObservedAgeMs?: number | undefined;
2080
2170
  latencyP95Ms?: number | undefined;
2171
+ boundaryTimeout?: boolean | undefined;
2172
+ observedErroringDownstream?: boolean | undefined;
2173
+ hasOutboundDeps?: boolean | undefined;
2081
2174
  };
2082
2175
  };
2083
2176
  direction: "up" | "down";
@@ -2095,6 +2188,9 @@ declare const ExpandResultSchema: z.ZodObject<{
2095
2188
  stale: boolean;
2096
2189
  lastObservedAgeMs?: number | undefined;
2097
2190
  latencyP95Ms?: number | undefined;
2191
+ boundaryTimeout?: boolean | undefined;
2192
+ observedErroringDownstream?: boolean | undefined;
2193
+ hasOutboundDeps?: boolean | undefined;
2098
2194
  };
2099
2195
  }[];
2100
2196
  }, {
@@ -2109,6 +2205,9 @@ declare const ExpandResultSchema: z.ZodObject<{
2109
2205
  stale: boolean;
2110
2206
  lastObservedAgeMs?: number | undefined;
2111
2207
  latencyP95Ms?: number | undefined;
2208
+ boundaryTimeout?: boolean | undefined;
2209
+ observedErroringDownstream?: boolean | undefined;
2210
+ hasOutboundDeps?: boolean | undefined;
2112
2211
  };
2113
2212
  };
2114
2213
  direction: "up" | "down";
@@ -2126,6 +2225,9 @@ declare const ExpandResultSchema: z.ZodObject<{
2126
2225
  stale: boolean;
2127
2226
  lastObservedAgeMs?: number | undefined;
2128
2227
  latencyP95Ms?: number | undefined;
2228
+ boundaryTimeout?: boolean | undefined;
2229
+ observedErroringDownstream?: boolean | undefined;
2230
+ hasOutboundDeps?: boolean | undefined;
2129
2231
  };
2130
2232
  }[];
2131
2233
  }>;
package/dist/index.js CHANGED
@@ -585,7 +585,19 @@ var NodeContextSchema = z5.object({
585
585
  // latency with low error emission reads as saturated.
586
586
  latencyP95Ms: z5.number().nonnegative().optional(),
587
587
  // Is the node fed by STALE edges — did it stop responding?
588
- stale: z5.boolean()
588
+ stale: z5.boolean(),
589
+ // #1114 — the node's own error is a gateway/timeout-class failure (a 504 /
590
+ // DEADLINE_EXCEEDED / timeout), the observable shadow of a downstream that hung
591
+ // and exported nothing. Distinct from a fast-fail (UNAVAILABLE / ECONNREFUSED),
592
+ // which exports an erroring edge NEAT can root-cause directly.
593
+ boundaryTimeout: z5.boolean().optional(),
594
+ // Does any observed outbound dependency edge carry errors? A fast-fail exports
595
+ // an erroring edge; a hang exports none. The signal that keeps the boundary-
596
+ // timeout reclassification off the cases NEAT can already see and root-cause.
597
+ observedErroringDownstream: z5.boolean().optional(),
598
+ // Does the node front any outbound dependency (declared or observed)? A leaf
599
+ // that times out on its own logic has nothing downstream to blame.
600
+ hasOutboundDeps: z5.boolean().optional()
589
601
  });
590
602
  var NodeClassificationSchema = z5.enum([
591
603
  "primary-failure",