tribunal-kit 5.8.1 → 5.8.3
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/.agent/ARCHITECTURE.md +13 -13
- package/.agent/agents/complexity-reviewer.md +53 -0
- package/.agent/agents/precedence-reviewer.md +12 -12
- package/.agent/agents/swarm-worker-registry.md +3 -3
- package/.agent/history/memory/.memory.idx +457 -1
- package/.agent/history/memory/MEMORY.md +31 -1
- package/.agent/rules/GEMINI.md +31 -28
- package/.agent/scripts/signal_detector.js +173 -0
- package/.agent/scripts/skill_evolution.js +298 -53
- package/.agent/skills/app-builder/SKILL.md +1 -1
- package/.agent/skills/lint-and-validate/SKILL.md +2 -2
- package/.agent/skills/project-idioms/SKILL.md +7 -7
- package/.agent/skills/test-result-analyzer/SKILL.md +1 -1
- package/.agent/workflows/fix.md +2 -2
- package/.agent/workflows/generate.md +1 -1
- package/.agent/workflows/preview.md +5 -5
- package/.agent/workflows/status.md +1 -1
- package/.agent/workflows/tribunal-full.md +3 -3
- package/.agent/workflows/tribunal-speed.md +1 -1
- package/CONTRIBUTING.md +134 -0
- package/SECURITY.md +52 -0
- package/bin/tribunal-kit.js +92 -46
- package/dist/commands/init.js +68 -30
- package/dist/esm/index.mjs +116 -0
- package/dist/index.d.ts +288 -0
- package/dist/utils/helpers.js +21 -9
- package/package.json +20 -8
|
@@ -1687,7 +1687,463 @@
|
|
|
1687
1687
|
"token_estimate": 18,
|
|
1688
1688
|
"source": "manual",
|
|
1689
1689
|
"session_id": null
|
|
1690
|
+
},
|
|
1691
|
+
{
|
|
1692
|
+
"id": 112,
|
|
1693
|
+
"memory_type": "semantic",
|
|
1694
|
+
"content": "❌ Overriding project idioms without explicit justification -> ✅ Idioms represent team decisions; flag deviations with reasoning",
|
|
1695
|
+
"tags": [
|
|
1696
|
+
"project-idiom",
|
|
1697
|
+
"auto-learned"
|
|
1698
|
+
],
|
|
1699
|
+
"created_at": "1783790009Z",
|
|
1700
|
+
"last_accessed": "1783790009Z",
|
|
1701
|
+
"access_count": 0,
|
|
1702
|
+
"token_estimate": 32,
|
|
1703
|
+
"source": "manual",
|
|
1704
|
+
"session_id": null
|
|
1705
|
+
},
|
|
1706
|
+
{
|
|
1707
|
+
"id": 113,
|
|
1708
|
+
"memory_type": "semantic",
|
|
1709
|
+
"content": "❌ Applying idioms from one project to a different project -> ✅ Idioms are project-specific; verify they apply to the current codebase",
|
|
1710
|
+
"tags": [
|
|
1711
|
+
"project-idiom",
|
|
1712
|
+
"auto-learned"
|
|
1713
|
+
],
|
|
1714
|
+
"created_at": "1783790009Z",
|
|
1715
|
+
"last_accessed": "1783790009Z",
|
|
1716
|
+
"access_count": 0,
|
|
1717
|
+
"token_estimate": 34,
|
|
1718
|
+
"source": "manual",
|
|
1719
|
+
"session_id": null
|
|
1720
|
+
},
|
|
1721
|
+
{
|
|
1722
|
+
"id": 114,
|
|
1723
|
+
"memory_type": "semantic",
|
|
1724
|
+
"content": "❌ **Forbidden:** Declaring a task complete because the output \"looks correct.\"",
|
|
1725
|
+
"tags": [
|
|
1726
|
+
"project-idiom",
|
|
1727
|
+
"auto-learned"
|
|
1728
|
+
],
|
|
1729
|
+
"created_at": "1783790009Z",
|
|
1730
|
+
"last_accessed": "1783790009Z",
|
|
1731
|
+
"access_count": 0,
|
|
1732
|
+
"token_estimate": 20,
|
|
1733
|
+
"source": "manual",
|
|
1734
|
+
"session_id": null
|
|
1735
|
+
},
|
|
1736
|
+
{
|
|
1737
|
+
"id": 115,
|
|
1738
|
+
"memory_type": "semantic",
|
|
1739
|
+
"content": "✅ **Required:** You are explicitly forbidden from finalizing any task without providing **concrete evidence** (terminal output, passing tests, compile success, or equivalent proof) that your output works as intended.",
|
|
1740
|
+
"tags": [
|
|
1741
|
+
"project-idiom",
|
|
1742
|
+
"auto-learned"
|
|
1743
|
+
],
|
|
1744
|
+
"created_at": "1783790009Z",
|
|
1745
|
+
"last_accessed": "1783790009Z",
|
|
1746
|
+
"access_count": 0,
|
|
1747
|
+
"token_estimate": 54,
|
|
1748
|
+
"source": "manual",
|
|
1749
|
+
"session_id": null
|
|
1750
|
+
},
|
|
1751
|
+
{
|
|
1752
|
+
"id": 116,
|
|
1753
|
+
"memory_type": "semantic",
|
|
1754
|
+
"content": "[ ] Have I reviewed the user's specific constraints and requests?",
|
|
1755
|
+
"tags": [
|
|
1756
|
+
"project-idiom",
|
|
1757
|
+
"auto-learned"
|
|
1758
|
+
],
|
|
1759
|
+
"created_at": "1783790009Z",
|
|
1760
|
+
"last_accessed": "1783790009Z",
|
|
1761
|
+
"access_count": 0,
|
|
1762
|
+
"token_estimate": 17,
|
|
1763
|
+
"source": "manual",
|
|
1764
|
+
"session_id": null
|
|
1765
|
+
},
|
|
1766
|
+
{
|
|
1767
|
+
"id": 117,
|
|
1768
|
+
"memory_type": "semantic",
|
|
1769
|
+
"content": "[ ] Have I checked the environment for relevant existing implementations?",
|
|
1770
|
+
"tags": [
|
|
1771
|
+
"project-idiom",
|
|
1772
|
+
"auto-learned"
|
|
1773
|
+
],
|
|
1774
|
+
"created_at": "1783790009Z",
|
|
1775
|
+
"last_accessed": "1783790009Z",
|
|
1776
|
+
"access_count": 0,
|
|
1777
|
+
"token_estimate": 19,
|
|
1778
|
+
"source": "manual",
|
|
1779
|
+
"session_id": null
|
|
1780
|
+
},
|
|
1781
|
+
{
|
|
1782
|
+
"id": 118,
|
|
1783
|
+
"memory_type": "semantic",
|
|
1784
|
+
"content": "❌ **Forbidden:** Declaring a task complete because the output \"looks correct.\"",
|
|
1785
|
+
"tags": [
|
|
1786
|
+
"project-idiom",
|
|
1787
|
+
"auto-learned"
|
|
1788
|
+
],
|
|
1789
|
+
"created_at": "1783790009Z",
|
|
1790
|
+
"last_accessed": "1783790009Z",
|
|
1791
|
+
"access_count": 0,
|
|
1792
|
+
"token_estimate": 20,
|
|
1793
|
+
"source": "manual",
|
|
1794
|
+
"session_id": null
|
|
1795
|
+
},
|
|
1796
|
+
{
|
|
1797
|
+
"id": 119,
|
|
1798
|
+
"memory_type": "semantic",
|
|
1799
|
+
"content": "✅ **Required:** You are explicitly forbidden from finalizing any task without providing **concrete evidence** (terminal output, passing tests, compile success, or equivalent proof) that your output works as intended.",
|
|
1800
|
+
"tags": [
|
|
1801
|
+
"project-idiom",
|
|
1802
|
+
"auto-learned"
|
|
1803
|
+
],
|
|
1804
|
+
"created_at": "1783790009Z",
|
|
1805
|
+
"last_accessed": "1783790009Z",
|
|
1806
|
+
"access_count": 0,
|
|
1807
|
+
"token_estimate": 54,
|
|
1808
|
+
"source": "manual",
|
|
1809
|
+
"session_id": null
|
|
1810
|
+
},
|
|
1811
|
+
{
|
|
1812
|
+
"id": 120,
|
|
1813
|
+
"memory_type": "procedural",
|
|
1814
|
+
"content": "Run `echo 'No build step required for this project'` to build the project",
|
|
1815
|
+
"tags": [
|
|
1816
|
+
"build-script",
|
|
1817
|
+
"build",
|
|
1818
|
+
"auto-learned"
|
|
1819
|
+
],
|
|
1820
|
+
"created_at": "1783790009Z",
|
|
1821
|
+
"last_accessed": "1783790009Z",
|
|
1822
|
+
"access_count": 0,
|
|
1823
|
+
"token_estimate": 19,
|
|
1824
|
+
"source": "manual",
|
|
1825
|
+
"session_id": null
|
|
1826
|
+
},
|
|
1827
|
+
{
|
|
1828
|
+
"id": 121,
|
|
1829
|
+
"memory_type": "procedural",
|
|
1830
|
+
"content": "Run `npm run validate-payload && jest --coverage` to test the project",
|
|
1831
|
+
"tags": [
|
|
1832
|
+
"build-script",
|
|
1833
|
+
"test",
|
|
1834
|
+
"auto-learned"
|
|
1835
|
+
],
|
|
1836
|
+
"created_at": "1783790009Z",
|
|
1837
|
+
"last_accessed": "1783790009Z",
|
|
1838
|
+
"access_count": 0,
|
|
1839
|
+
"token_estimate": 18,
|
|
1840
|
+
"source": "manual",
|
|
1841
|
+
"session_id": null
|
|
1842
|
+
},
|
|
1843
|
+
{
|
|
1844
|
+
"id": 122,
|
|
1845
|
+
"memory_type": "semantic",
|
|
1846
|
+
"content": "❌ Overriding project idioms without explicit justification -> ✅ Idioms represent team decisions; flag deviations with reasoning",
|
|
1847
|
+
"tags": [
|
|
1848
|
+
"project-idiom",
|
|
1849
|
+
"auto-learned"
|
|
1850
|
+
],
|
|
1851
|
+
"created_at": "1784187808Z",
|
|
1852
|
+
"last_accessed": "1784187808Z",
|
|
1853
|
+
"access_count": 0,
|
|
1854
|
+
"token_estimate": 32,
|
|
1855
|
+
"source": "manual",
|
|
1856
|
+
"session_id": null
|
|
1857
|
+
},
|
|
1858
|
+
{
|
|
1859
|
+
"id": 123,
|
|
1860
|
+
"memory_type": "semantic",
|
|
1861
|
+
"content": "❌ Applying idioms from one project to a different project -> ✅ Idioms are project-specific; verify they apply to the current codebase",
|
|
1862
|
+
"tags": [
|
|
1863
|
+
"project-idiom",
|
|
1864
|
+
"auto-learned"
|
|
1865
|
+
],
|
|
1866
|
+
"created_at": "1784187808Z",
|
|
1867
|
+
"last_accessed": "1784187808Z",
|
|
1868
|
+
"access_count": 0,
|
|
1869
|
+
"token_estimate": 34,
|
|
1870
|
+
"source": "manual",
|
|
1871
|
+
"session_id": null
|
|
1872
|
+
},
|
|
1873
|
+
{
|
|
1874
|
+
"id": 124,
|
|
1875
|
+
"memory_type": "semantic",
|
|
1876
|
+
"content": "❌ **Forbidden:** Declaring a task complete because the output \"looks correct.\"",
|
|
1877
|
+
"tags": [
|
|
1878
|
+
"project-idiom",
|
|
1879
|
+
"auto-learned"
|
|
1880
|
+
],
|
|
1881
|
+
"created_at": "1784187808Z",
|
|
1882
|
+
"last_accessed": "1784187808Z",
|
|
1883
|
+
"access_count": 0,
|
|
1884
|
+
"token_estimate": 20,
|
|
1885
|
+
"source": "manual",
|
|
1886
|
+
"session_id": null
|
|
1887
|
+
},
|
|
1888
|
+
{
|
|
1889
|
+
"id": 125,
|
|
1890
|
+
"memory_type": "semantic",
|
|
1891
|
+
"content": "✅ **Required:** You are explicitly forbidden from finalizing any task without providing **concrete evidence** (terminal output, passing tests, compile success, or equivalent proof) that your output works as intended.",
|
|
1892
|
+
"tags": [
|
|
1893
|
+
"project-idiom",
|
|
1894
|
+
"auto-learned"
|
|
1895
|
+
],
|
|
1896
|
+
"created_at": "1784187808Z",
|
|
1897
|
+
"last_accessed": "1784187808Z",
|
|
1898
|
+
"access_count": 0,
|
|
1899
|
+
"token_estimate": 54,
|
|
1900
|
+
"source": "manual",
|
|
1901
|
+
"session_id": null
|
|
1902
|
+
},
|
|
1903
|
+
{
|
|
1904
|
+
"id": 126,
|
|
1905
|
+
"memory_type": "semantic",
|
|
1906
|
+
"content": "[ ] Have I reviewed the user's specific constraints and requests?",
|
|
1907
|
+
"tags": [
|
|
1908
|
+
"project-idiom",
|
|
1909
|
+
"auto-learned"
|
|
1910
|
+
],
|
|
1911
|
+
"created_at": "1784187808Z",
|
|
1912
|
+
"last_accessed": "1784187808Z",
|
|
1913
|
+
"access_count": 0,
|
|
1914
|
+
"token_estimate": 17,
|
|
1915
|
+
"source": "manual",
|
|
1916
|
+
"session_id": null
|
|
1917
|
+
},
|
|
1918
|
+
{
|
|
1919
|
+
"id": 127,
|
|
1920
|
+
"memory_type": "semantic",
|
|
1921
|
+
"content": "[ ] Have I checked the environment for relevant existing implementations?",
|
|
1922
|
+
"tags": [
|
|
1923
|
+
"project-idiom",
|
|
1924
|
+
"auto-learned"
|
|
1925
|
+
],
|
|
1926
|
+
"created_at": "1784187808Z",
|
|
1927
|
+
"last_accessed": "1784187808Z",
|
|
1928
|
+
"access_count": 0,
|
|
1929
|
+
"token_estimate": 19,
|
|
1930
|
+
"source": "manual",
|
|
1931
|
+
"session_id": null
|
|
1932
|
+
},
|
|
1933
|
+
{
|
|
1934
|
+
"id": 128,
|
|
1935
|
+
"memory_type": "semantic",
|
|
1936
|
+
"content": "❌ **Forbidden:** Declaring a task complete because the output \"looks correct.\"",
|
|
1937
|
+
"tags": [
|
|
1938
|
+
"project-idiom",
|
|
1939
|
+
"auto-learned"
|
|
1940
|
+
],
|
|
1941
|
+
"created_at": "1784187808Z",
|
|
1942
|
+
"last_accessed": "1784187808Z",
|
|
1943
|
+
"access_count": 0,
|
|
1944
|
+
"token_estimate": 20,
|
|
1945
|
+
"source": "manual",
|
|
1946
|
+
"session_id": null
|
|
1947
|
+
},
|
|
1948
|
+
{
|
|
1949
|
+
"id": 129,
|
|
1950
|
+
"memory_type": "semantic",
|
|
1951
|
+
"content": "✅ **Required:** You are explicitly forbidden from finalizing any task without providing **concrete evidence** (terminal output, passing tests, compile success, or equivalent proof) that your output works as intended.",
|
|
1952
|
+
"tags": [
|
|
1953
|
+
"project-idiom",
|
|
1954
|
+
"auto-learned"
|
|
1955
|
+
],
|
|
1956
|
+
"created_at": "1784187808Z",
|
|
1957
|
+
"last_accessed": "1784187808Z",
|
|
1958
|
+
"access_count": 0,
|
|
1959
|
+
"token_estimate": 54,
|
|
1960
|
+
"source": "manual",
|
|
1961
|
+
"session_id": null
|
|
1962
|
+
},
|
|
1963
|
+
{
|
|
1964
|
+
"id": 130,
|
|
1965
|
+
"memory_type": "procedural",
|
|
1966
|
+
"content": "Run `echo 'No build step required for this project'` to build the project",
|
|
1967
|
+
"tags": [
|
|
1968
|
+
"build-script",
|
|
1969
|
+
"build",
|
|
1970
|
+
"auto-learned"
|
|
1971
|
+
],
|
|
1972
|
+
"created_at": "1784187808Z",
|
|
1973
|
+
"last_accessed": "1784187808Z",
|
|
1974
|
+
"access_count": 0,
|
|
1975
|
+
"token_estimate": 19,
|
|
1976
|
+
"source": "manual",
|
|
1977
|
+
"session_id": null
|
|
1978
|
+
},
|
|
1979
|
+
{
|
|
1980
|
+
"id": 131,
|
|
1981
|
+
"memory_type": "procedural",
|
|
1982
|
+
"content": "Run `npm run validate-payload && jest --coverage` to test the project",
|
|
1983
|
+
"tags": [
|
|
1984
|
+
"build-script",
|
|
1985
|
+
"test",
|
|
1986
|
+
"auto-learned"
|
|
1987
|
+
],
|
|
1988
|
+
"created_at": "1784187808Z",
|
|
1989
|
+
"last_accessed": "1784187808Z",
|
|
1990
|
+
"access_count": 0,
|
|
1991
|
+
"token_estimate": 18,
|
|
1992
|
+
"source": "manual",
|
|
1993
|
+
"session_id": null
|
|
1994
|
+
},
|
|
1995
|
+
{
|
|
1996
|
+
"id": 132,
|
|
1997
|
+
"memory_type": "semantic",
|
|
1998
|
+
"content": "❌ Overriding project idioms without explicit justification -> ✅ Idioms represent team decisions; flag deviations with reasoning",
|
|
1999
|
+
"tags": [
|
|
2000
|
+
"project-idiom",
|
|
2001
|
+
"auto-learned"
|
|
2002
|
+
],
|
|
2003
|
+
"created_at": "1784396209Z",
|
|
2004
|
+
"last_accessed": "1784396209Z",
|
|
2005
|
+
"access_count": 0,
|
|
2006
|
+
"token_estimate": 32,
|
|
2007
|
+
"source": "manual",
|
|
2008
|
+
"session_id": null
|
|
2009
|
+
},
|
|
2010
|
+
{
|
|
2011
|
+
"id": 133,
|
|
2012
|
+
"memory_type": "semantic",
|
|
2013
|
+
"content": "❌ Applying idioms from one project to a different project -> ✅ Idioms are project-specific; verify they apply to the current codebase",
|
|
2014
|
+
"tags": [
|
|
2015
|
+
"project-idiom",
|
|
2016
|
+
"auto-learned"
|
|
2017
|
+
],
|
|
2018
|
+
"created_at": "1784396209Z",
|
|
2019
|
+
"last_accessed": "1784396209Z",
|
|
2020
|
+
"access_count": 0,
|
|
2021
|
+
"token_estimate": 34,
|
|
2022
|
+
"source": "manual",
|
|
2023
|
+
"session_id": null
|
|
2024
|
+
},
|
|
2025
|
+
{
|
|
2026
|
+
"id": 134,
|
|
2027
|
+
"memory_type": "semantic",
|
|
2028
|
+
"content": "❌ **Forbidden:** Declaring a task complete because the output \"looks correct.\"",
|
|
2029
|
+
"tags": [
|
|
2030
|
+
"project-idiom",
|
|
2031
|
+
"auto-learned"
|
|
2032
|
+
],
|
|
2033
|
+
"created_at": "1784396209Z",
|
|
2034
|
+
"last_accessed": "1784396209Z",
|
|
2035
|
+
"access_count": 0,
|
|
2036
|
+
"token_estimate": 20,
|
|
2037
|
+
"source": "manual",
|
|
2038
|
+
"session_id": null
|
|
2039
|
+
},
|
|
2040
|
+
{
|
|
2041
|
+
"id": 135,
|
|
2042
|
+
"memory_type": "semantic",
|
|
2043
|
+
"content": "✅ **Required:** You are explicitly forbidden from finalizing any task without providing **concrete evidence** (terminal output, passing tests, compile success, or equivalent proof) that your output works as intended.",
|
|
2044
|
+
"tags": [
|
|
2045
|
+
"project-idiom",
|
|
2046
|
+
"auto-learned"
|
|
2047
|
+
],
|
|
2048
|
+
"created_at": "1784396209Z",
|
|
2049
|
+
"last_accessed": "1784396209Z",
|
|
2050
|
+
"access_count": 0,
|
|
2051
|
+
"token_estimate": 54,
|
|
2052
|
+
"source": "manual",
|
|
2053
|
+
"session_id": null
|
|
2054
|
+
},
|
|
2055
|
+
{
|
|
2056
|
+
"id": 136,
|
|
2057
|
+
"memory_type": "semantic",
|
|
2058
|
+
"content": "[ ] Have I reviewed the user's specific constraints and requests?",
|
|
2059
|
+
"tags": [
|
|
2060
|
+
"project-idiom",
|
|
2061
|
+
"auto-learned"
|
|
2062
|
+
],
|
|
2063
|
+
"created_at": "1784396209Z",
|
|
2064
|
+
"last_accessed": "1784396209Z",
|
|
2065
|
+
"access_count": 0,
|
|
2066
|
+
"token_estimate": 17,
|
|
2067
|
+
"source": "manual",
|
|
2068
|
+
"session_id": null
|
|
2069
|
+
},
|
|
2070
|
+
{
|
|
2071
|
+
"id": 137,
|
|
2072
|
+
"memory_type": "semantic",
|
|
2073
|
+
"content": "[ ] Have I checked the environment for relevant existing implementations?",
|
|
2074
|
+
"tags": [
|
|
2075
|
+
"project-idiom",
|
|
2076
|
+
"auto-learned"
|
|
2077
|
+
],
|
|
2078
|
+
"created_at": "1784396209Z",
|
|
2079
|
+
"last_accessed": "1784396209Z",
|
|
2080
|
+
"access_count": 0,
|
|
2081
|
+
"token_estimate": 19,
|
|
2082
|
+
"source": "manual",
|
|
2083
|
+
"session_id": null
|
|
2084
|
+
},
|
|
2085
|
+
{
|
|
2086
|
+
"id": 138,
|
|
2087
|
+
"memory_type": "semantic",
|
|
2088
|
+
"content": "❌ **Forbidden:** Declaring a task complete because the output \"looks correct.\"",
|
|
2089
|
+
"tags": [
|
|
2090
|
+
"project-idiom",
|
|
2091
|
+
"auto-learned"
|
|
2092
|
+
],
|
|
2093
|
+
"created_at": "1784396209Z",
|
|
2094
|
+
"last_accessed": "1784396209Z",
|
|
2095
|
+
"access_count": 0,
|
|
2096
|
+
"token_estimate": 20,
|
|
2097
|
+
"source": "manual",
|
|
2098
|
+
"session_id": null
|
|
2099
|
+
},
|
|
2100
|
+
{
|
|
2101
|
+
"id": 139,
|
|
2102
|
+
"memory_type": "semantic",
|
|
2103
|
+
"content": "✅ **Required:** You are explicitly forbidden from finalizing any task without providing **concrete evidence** (terminal output, passing tests, compile success, or equivalent proof) that your output works as intended.",
|
|
2104
|
+
"tags": [
|
|
2105
|
+
"project-idiom",
|
|
2106
|
+
"auto-learned"
|
|
2107
|
+
],
|
|
2108
|
+
"created_at": "1784396209Z",
|
|
2109
|
+
"last_accessed": "1784396209Z",
|
|
2110
|
+
"access_count": 0,
|
|
2111
|
+
"token_estimate": 54,
|
|
2112
|
+
"source": "manual",
|
|
2113
|
+
"session_id": null
|
|
2114
|
+
},
|
|
2115
|
+
{
|
|
2116
|
+
"id": 140,
|
|
2117
|
+
"memory_type": "procedural",
|
|
2118
|
+
"content": "Run `echo 'No build step required for this project'` to build the project",
|
|
2119
|
+
"tags": [
|
|
2120
|
+
"build-script",
|
|
2121
|
+
"build",
|
|
2122
|
+
"auto-learned"
|
|
2123
|
+
],
|
|
2124
|
+
"created_at": "1784396209Z",
|
|
2125
|
+
"last_accessed": "1784396209Z",
|
|
2126
|
+
"access_count": 0,
|
|
2127
|
+
"token_estimate": 19,
|
|
2128
|
+
"source": "manual",
|
|
2129
|
+
"session_id": null
|
|
2130
|
+
},
|
|
2131
|
+
{
|
|
2132
|
+
"id": 141,
|
|
2133
|
+
"memory_type": "procedural",
|
|
2134
|
+
"content": "Run `npm run validate-payload && jest --coverage` to test the project",
|
|
2135
|
+
"tags": [
|
|
2136
|
+
"build-script",
|
|
2137
|
+
"test",
|
|
2138
|
+
"auto-learned"
|
|
2139
|
+
],
|
|
2140
|
+
"created_at": "1784396209Z",
|
|
2141
|
+
"last_accessed": "1784396209Z",
|
|
2142
|
+
"access_count": 0,
|
|
2143
|
+
"token_estimate": 18,
|
|
2144
|
+
"source": "manual",
|
|
2145
|
+
"session_id": null
|
|
1690
2146
|
}
|
|
1691
2147
|
],
|
|
1692
|
-
"next_id":
|
|
2148
|
+
"next_id": 142
|
|
1693
2149
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# 🧠 Tribunal Memory Index
|
|
2
2
|
> Auto-generated by `tribunal-kit memory export`. Do not edit manually.
|
|
3
|
-
> Entries:
|
|
3
|
+
> Entries: 141 | Semantic: 113 | Procedural: 28 | Episodic: 0 | Working: 0
|
|
4
4
|
|
|
5
5
|
## SEMANTIC (Permanent Facts)
|
|
6
6
|
| ID | Content | Tags | Source | Created |
|
|
@@ -94,6 +94,30 @@
|
|
|
94
94
|
| 107 | [ ] Have I checked the environment for relevant existing implementations? | project-idiom, auto-learned | manual | 1783785670Z |
|
|
95
95
|
| 108 | ❌ **Forbidden:** Declaring a task complete because the output "looks correct." | project-idiom, auto-learned | manual | 1783785670Z |
|
|
96
96
|
| 109 | ✅ **Required:** You are explicitly forbidden from finalizing any task without providing **concrete evidence** (terminal output, passing tests, compile success, or equivalent proof) that your output works as intended. | project-idiom, auto-learned | manual | 1783785670Z |
|
|
97
|
+
| 112 | ❌ Overriding project idioms without explicit justification -> ✅ Idioms represent team decisions; flag deviations with reasoning | project-idiom, auto-learned | manual | 1783790009Z |
|
|
98
|
+
| 113 | ❌ Applying idioms from one project to a different project -> ✅ Idioms are project-specific; verify they apply to the current codebase | project-idiom, auto-learned | manual | 1783790009Z |
|
|
99
|
+
| 114 | ❌ **Forbidden:** Declaring a task complete because the output "looks correct." | project-idiom, auto-learned | manual | 1783790009Z |
|
|
100
|
+
| 115 | ✅ **Required:** You are explicitly forbidden from finalizing any task without providing **concrete evidence** (terminal output, passing tests, compile success, or equivalent proof) that your output works as intended. | project-idiom, auto-learned | manual | 1783790009Z |
|
|
101
|
+
| 116 | [ ] Have I reviewed the user's specific constraints and requests? | project-idiom, auto-learned | manual | 1783790009Z |
|
|
102
|
+
| 117 | [ ] Have I checked the environment for relevant existing implementations? | project-idiom, auto-learned | manual | 1783790009Z |
|
|
103
|
+
| 118 | ❌ **Forbidden:** Declaring a task complete because the output "looks correct." | project-idiom, auto-learned | manual | 1783790009Z |
|
|
104
|
+
| 119 | ✅ **Required:** You are explicitly forbidden from finalizing any task without providing **concrete evidence** (terminal output, passing tests, compile success, or equivalent proof) that your output works as intended. | project-idiom, auto-learned | manual | 1783790009Z |
|
|
105
|
+
| 122 | ❌ Overriding project idioms without explicit justification -> ✅ Idioms represent team decisions; flag deviations with reasoning | project-idiom, auto-learned | manual | 1784187808Z |
|
|
106
|
+
| 123 | ❌ Applying idioms from one project to a different project -> ✅ Idioms are project-specific; verify they apply to the current codebase | project-idiom, auto-learned | manual | 1784187808Z |
|
|
107
|
+
| 124 | ❌ **Forbidden:** Declaring a task complete because the output "looks correct." | project-idiom, auto-learned | manual | 1784187808Z |
|
|
108
|
+
| 125 | ✅ **Required:** You are explicitly forbidden from finalizing any task without providing **concrete evidence** (terminal output, passing tests, compile success, or equivalent proof) that your output works as intended. | project-idiom, auto-learned | manual | 1784187808Z |
|
|
109
|
+
| 126 | [ ] Have I reviewed the user's specific constraints and requests? | project-idiom, auto-learned | manual | 1784187808Z |
|
|
110
|
+
| 127 | [ ] Have I checked the environment for relevant existing implementations? | project-idiom, auto-learned | manual | 1784187808Z |
|
|
111
|
+
| 128 | ❌ **Forbidden:** Declaring a task complete because the output "looks correct." | project-idiom, auto-learned | manual | 1784187808Z |
|
|
112
|
+
| 129 | ✅ **Required:** You are explicitly forbidden from finalizing any task without providing **concrete evidence** (terminal output, passing tests, compile success, or equivalent proof) that your output works as intended. | project-idiom, auto-learned | manual | 1784187808Z |
|
|
113
|
+
| 132 | ❌ Overriding project idioms without explicit justification -> ✅ Idioms represent team decisions; flag deviations with reasoning | project-idiom, auto-learned | manual | 1784396209Z |
|
|
114
|
+
| 133 | ❌ Applying idioms from one project to a different project -> ✅ Idioms are project-specific; verify they apply to the current codebase | project-idiom, auto-learned | manual | 1784396209Z |
|
|
115
|
+
| 134 | ❌ **Forbidden:** Declaring a task complete because the output "looks correct." | project-idiom, auto-learned | manual | 1784396209Z |
|
|
116
|
+
| 135 | ✅ **Required:** You are explicitly forbidden from finalizing any task without providing **concrete evidence** (terminal output, passing tests, compile success, or equivalent proof) that your output works as intended. | project-idiom, auto-learned | manual | 1784396209Z |
|
|
117
|
+
| 136 | [ ] Have I reviewed the user's specific constraints and requests? | project-idiom, auto-learned | manual | 1784396209Z |
|
|
118
|
+
| 137 | [ ] Have I checked the environment for relevant existing implementations? | project-idiom, auto-learned | manual | 1784396209Z |
|
|
119
|
+
| 138 | ❌ **Forbidden:** Declaring a task complete because the output "looks correct." | project-idiom, auto-learned | manual | 1784396209Z |
|
|
120
|
+
| 139 | ✅ **Required:** You are explicitly forbidden from finalizing any task without providing **concrete evidence** (terminal output, passing tests, compile success, or equivalent proof) that your output works as intended. | project-idiom, auto-learned | manual | 1784396209Z |
|
|
97
121
|
|
|
98
122
|
## PROCEDURAL (How-To Recipes)
|
|
99
123
|
| ID | Content | Tags | Source | Created |
|
|
@@ -120,4 +144,10 @@
|
|
|
120
144
|
| 100 | Run `npm run validate-payload && jest --coverage` to test the project | build-script, test, auto-learned | manual | 1783782132Z |
|
|
121
145
|
| 110 | Run `echo 'No build step required for this project'` to build the project | build-script, build, auto-learned | manual | 1783785670Z |
|
|
122
146
|
| 111 | Run `npm run validate-payload && jest --coverage` to test the project | build-script, test, auto-learned | manual | 1783785670Z |
|
|
147
|
+
| 120 | Run `echo 'No build step required for this project'` to build the project | build-script, build, auto-learned | manual | 1783790009Z |
|
|
148
|
+
| 121 | Run `npm run validate-payload && jest --coverage` to test the project | build-script, test, auto-learned | manual | 1783790009Z |
|
|
149
|
+
| 130 | Run `echo 'No build step required for this project'` to build the project | build-script, build, auto-learned | manual | 1784187808Z |
|
|
150
|
+
| 131 | Run `npm run validate-payload && jest --coverage` to test the project | build-script, test, auto-learned | manual | 1784187808Z |
|
|
151
|
+
| 140 | Run `echo 'No build step required for this project'` to build the project | build-script, build, auto-learned | manual | 1784396209Z |
|
|
152
|
+
| 141 | Run `npm run validate-payload && jest --coverage` to test the project | build-script, test, auto-learned | manual | 1784396209Z |
|
|
123
153
|
|
package/.agent/rules/GEMINI.md
CHANGED
|
@@ -78,7 +78,7 @@ Every code or design request activates an agent. This is not optional.
|
|
|
78
78
|
| ------------------------------------------------------- | --------------------------- |
|
|
79
79
|
| API / server / backend | `backend-specialist` |
|
|
80
80
|
| API contract design / REST / GraphQL | `api-architect` |
|
|
81
|
-
| C# / .NET / Blazor | `
|
|
81
|
+
| C# / .NET / Blazor | `csharp-developer` |
|
|
82
82
|
| Python / FastAPI / Django | `python-pro` |
|
|
83
83
|
| Database / schema / SQL | `database-architect` |
|
|
84
84
|
| Advanced SQL queries | `sql-pro` |
|
|
@@ -114,7 +114,7 @@ Every code or design request activates an agent. This is not optional.
|
|
|
114
114
|
| System design / scale / capacity planning | `system-architect` |
|
|
115
115
|
| Cloud infrastructure / AWS / Terraform / Docker / CI-CD | `cloud-engineer` |
|
|
116
116
|
|
|
117
|
-
> **Agent vs Skill:** Some entries above (e.g., `python-pro`, `vue-expert`, `
|
|
117
|
+
> **Agent vs Skill:** Some entries above (e.g., `python-pro`, `vue-expert`, `csharp-developer`, `sql-pro`, `react-specialist`, `platform-engineer`, `devops-incident-responder`) are **skills** loaded from `skills/SKILL.md`, not full agent definitions in `agents/`. The routing and announcement protocol still applies — load the skill's rules and announce it. If an `.md` file exists in `agents/`, it takes priority (P1) over the skill (P2).
|
|
118
118
|
|
|
119
119
|
**When activated, announce the agent:**
|
|
120
120
|
|
|
@@ -215,8 +215,8 @@ The Human Gate is never skipped. No code is written to a file without explicit u
|
|
|
215
215
|
|
|
216
216
|
**Reviewer assignment by domain:**
|
|
217
217
|
|
|
218
|
-
| Code type | Reviewers
|
|
219
|
-
| --------------------- |
|
|
218
|
+
| Code type | Reviewers |
|
|
219
|
+
| --------------------- | ----------------------------------------------------------------------------- |
|
|
220
220
|
| Backend/API | logic + security + dependency + type-safety + resilience + schema + complexity-reviewer |
|
|
221
221
|
| Frontend/React | logic + security + frontend + type-safety + ui-ux-auditor + review-animations + complexity-reviewer |
|
|
222
222
|
| Database/SQL | logic + security + sql + schema + complexity-reviewer |
|
|
@@ -281,17 +281,17 @@ These scripts live in `.agent/scripts/`. Agents and skills can invoke them:
|
|
|
281
281
|
|
|
282
282
|
| Script | Purpose | When |
|
|
283
283
|
| -------------------------- | ------------------------------------------------- | --------------------------------------------- |
|
|
284
|
-
| `checklist.
|
|
285
|
-
| `verify_all.
|
|
286
|
-
| `auto_preview.
|
|
284
|
+
| `checklist.js` | Priority audit: Security→Lint→Schema→Tests→UX→SEO | Before/after any major change |
|
|
285
|
+
| `verify_all.js` | Full pre-deploy validation suite | Pre-deploy |
|
|
286
|
+
| `auto_preview.js` | Start/stop/restart local dev server | After /create or /enhance |
|
|
287
287
|
| `session_manager.js` | Track session state between conversations | Multi-session work |
|
|
288
|
-
| `lint_runner.
|
|
289
|
-
| `test_runner.
|
|
290
|
-
| `security_scan.
|
|
291
|
-
| `dependency_analyzer.
|
|
292
|
-
| `schema_validator.
|
|
293
|
-
| `bundle_analyzer.
|
|
294
|
-
| `skill_integrator.
|
|
288
|
+
| `lint_runner.js` | Standalone lint runner (ESLint, Prettier, Ruff) | Every code change |
|
|
289
|
+
| `test_runner.js` | Standalone test runner (Jest, Vitest, pytest, Go) | After logic changes |
|
|
290
|
+
| `security_scan.js` | Deep OWASP-aware source code security scan | Always on deploy, /audit |
|
|
291
|
+
| `dependency_analyzer.js` | Unused/phantom deps, npm audit | Weekly, /audit |
|
|
292
|
+
| `schema_validator.js` | Database schema validation (Prisma, SQL) | After DB changes |
|
|
293
|
+
| `bundle_analyzer.js` | JS/TS bundle size analysis | Before deploy |
|
|
294
|
+
| `skill_integrator.js` | Maps active skills to their executable scripts | Automatically when skills are invoked |
|
|
295
295
|
| `swarm_dispatcher.js` | Validate Orchestrator micro-worker JSON payloads | After /orchestrate, before dispatching agents |
|
|
296
296
|
| `test_swarm_dispatcher.js` | Unit tests for swarm_dispatcher | After modifying swarm_dispatcher.js |
|
|
297
297
|
|
|
@@ -301,12 +301,12 @@ These scripts live in `.agent/scripts/`. Agents and skills can invoke them:
|
|
|
301
301
|
node .agent/scripts/checklist.js .
|
|
302
302
|
node .agent/scripts/verify_all.js
|
|
303
303
|
node .agent/scripts/security_scan.js .
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
304
|
+
node .agent/scripts/lint_runner.js . --fix
|
|
305
|
+
node .agent/scripts/test_runner.js . --coverage
|
|
306
|
+
node .agent/scripts/dependency_analyzer.js . --audit
|
|
307
|
+
node .agent/scripts/schema_validator.js .
|
|
308
|
+
node .agent/scripts/bundle_analyzer.js . --build
|
|
309
|
+
node .agent/scripts/skill_integrator.js
|
|
310
310
|
node .agent/scripts/swarm_dispatcher.js --file payload.json
|
|
311
311
|
npx jest test/integration/swarm_dispatcher.test.js
|
|
312
312
|
```
|
|
@@ -409,18 +409,21 @@ Before modifying any file:
|
|
|
409
409
|
## Fabel-5 Cognitive Boundaries (Wellbeing, Evenhandedness, Memory)
|
|
410
410
|
|
|
411
411
|
### User Wellbeing & Safety
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
412
|
+
|
|
413
|
+
- **No Psychoanalysis / Diagnosis**: Reflect what is said without diagnosing or assigning psychological narratives (e.g. "you restrict because of trauma"). Suggest professional help without clinical labels.
|
|
414
|
+
- **Self-Harm Interruptions**: Never suggest physical substitutes (holding ice, snapping rubber bands, drawing lines) or mimic self-harm. They reinforce the self-harm loop.
|
|
415
|
+
- **No Over-reliance**: Do not thank the user for reaching out, encourage them to stay, or reiterate willingness to continue. Avoid conversational dependencies.
|
|
416
|
+
- **Positive Paths**: Acknowledge distress without reflective listening that amplifies negative spirals. Keep paths to external help open.
|
|
416
417
|
|
|
417
418
|
### Moral & Political Evenhandedness
|
|
418
|
-
|
|
419
|
-
|
|
419
|
+
|
|
420
|
+
- **Nuance Over Brevity**: Reject requests for simple yes/no or one-word answers on contested political, ethical, or policy issues. Give a fair, balanced overview of existing positions.
|
|
421
|
+
- **Opposing Perspectives**: Conclude arguments for positions by presenting opposing viewpoints or empirical disputes even if the user/AI agrees with the primary view.
|
|
420
422
|
|
|
421
423
|
### Memory & Preference Boundaries
|
|
422
|
-
|
|
423
|
-
|
|
424
|
+
|
|
425
|
+
- **Invisible Integration**: Integrate remembered user context silently without attribution or observation verbs ("I notice in your profile...", "Based on your memory...").
|
|
426
|
+
- **Expertise Tuning**: Match language and technical depth to the user's stated background without lecturing.
|
|
424
427
|
|
|
425
428
|
---
|
|
426
429
|
|