@event4u/agent-config 1.19.0 → 1.20.0

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.
Files changed (88) hide show
  1. package/.agent-src/commands/agent-handoff.md +14 -10
  2. package/.agent-src/commands/chat-history/import.md +170 -0
  3. package/.agent-src/commands/chat-history/learn.md +178 -0
  4. package/.agent-src/commands/chat-history/show.md +17 -18
  5. package/.agent-src/commands/chat-history.md +26 -25
  6. package/.agent-src/commands/council/default.md +4 -7
  7. package/.agent-src/commands/create-pr.md +28 -8
  8. package/.agent-src/commands/sync-gitignore.md +1 -1
  9. package/.agent-src/contexts/communication/rules-auto/skill-quality-mechanics.md +76 -0
  10. package/.agent-src/contexts/communication/rules-auto/slash-command-routing-policy-mechanics.md +3 -3
  11. package/.agent-src/contexts/communication/rules-auto/user-interaction-mechanics.md +5 -12
  12. package/.agent-src/rules/direct-answers.md +10 -2
  13. package/.agent-src/rules/language-and-tone.md +37 -6
  14. package/.agent-src/rules/no-attribution-footers.md +48 -0
  15. package/.agent-src/rules/no-roadmap-references.md +1 -1
  16. package/.agent-src/rules/skill-quality.md +49 -0
  17. package/.agent-src/rules/user-interaction.md +21 -5
  18. package/.agent-src/skills/ai-council/SKILL.md +4 -5
  19. package/.agent-src/skills/dcf-modeling/SKILL.md +89 -0
  20. package/.agent-src/skills/funnel-analysis/SKILL.md +100 -0
  21. package/.agent-src/skills/md-language-check/SKILL.md +1 -1
  22. package/.agent-src/skills/okr-tree-modeling/SKILL.md +93 -0
  23. package/.agent-src/skills/rice-prioritization/SKILL.md +100 -0
  24. package/.agent-src/skills/subagent-orchestration/SKILL.md +34 -2
  25. package/.agent-src/skills/unit-economics-modeling/SKILL.md +104 -0
  26. package/.agent-src/skills/using-git-worktrees/SKILL.md +1 -0
  27. package/.agent-src/templates/agent-settings.md +5 -26
  28. package/.agent-src/templates/scripts/work_engine/hook_bootstrap.py +7 -5
  29. package/.agent-src/templates/scripts/work_engine/hooks/__init__.py +0 -4
  30. package/.agent-src/templates/scripts/work_engine/hooks/builtin/__init__.py +0 -4
  31. package/.agent-src/templates/scripts/work_engine/hooks/builtin/_chat_history_base.py +7 -51
  32. package/.agent-src/templates/scripts/work_engine/hooks/builtin/chat_history_append.py +1 -2
  33. package/.agent-src/templates/scripts/work_engine/hooks/builtin/chat_history_halt_append.py +1 -2
  34. package/.agent-src/templates/scripts/work_engine/hooks/builtin/memory_visibility.py +2 -3
  35. package/.agent-src/templates/skill.md +30 -1
  36. package/.claude-plugin/marketplace.json +8 -4
  37. package/AGENTS.md +44 -3
  38. package/CHANGELOG.md +111 -0
  39. package/README.md +6 -6
  40. package/config/agent-settings.template.yml +19 -13
  41. package/config/gitignore-block.txt +4 -4
  42. package/docs/architecture.md +3 -3
  43. package/docs/catalog.md +14 -12
  44. package/docs/contracts/adr-chat-history-split.md +10 -1
  45. package/docs/contracts/command-clusters.md +1 -1
  46. package/docs/contracts/cross-wing-handoff.md +133 -0
  47. package/docs/contracts/file-ownership-matrix.json +341 -126
  48. package/docs/contracts/hook-architecture-v1.md +8 -1
  49. package/docs/contracts/memory-visibility-v1.md +8 -24
  50. package/docs/customization.md +1 -1
  51. package/docs/getting-started.md +21 -29
  52. package/docs/guidelines/agent-infra/ask-when-uncertain-demos.md +1 -1
  53. package/docs/hook-payload-capture.md +221 -0
  54. package/docs/migrations/commands-1.15.0.md +17 -12
  55. package/docs/skills-catalog.md +5 -4
  56. package/llms.txt +4 -3
  57. package/package.json +1 -1
  58. package/scripts/agent-config +1 -1
  59. package/scripts/ai_council/_default_prices.py +4 -4
  60. package/scripts/ai_council/clients.py +1 -1
  61. package/scripts/ai_council/modes.py +3 -4
  62. package/scripts/ai_council/pricing.py +10 -9
  63. package/scripts/build_rule_trigger_matrix.py +1 -9
  64. package/scripts/chat_history.py +952 -596
  65. package/scripts/check_references.py +12 -2
  66. package/scripts/council_cli.py +54 -4
  67. package/scripts/hook_manifest.yaml +33 -0
  68. package/scripts/hooks/augment-chat-history.sh +10 -0
  69. package/scripts/hooks/cowork-dispatcher.sh +98 -0
  70. package/scripts/hooks/dispatch_hook.py +35 -0
  71. package/scripts/hooks_status.py +12 -1
  72. package/scripts/install-hooks.sh +2 -2
  73. package/scripts/install.sh +37 -0
  74. package/scripts/lint_handoffs.py +214 -0
  75. package/scripts/lint_hook_manifest.py +2 -1
  76. package/scripts/redact_hook_capture.py +148 -0
  77. package/scripts/schemas/skill.schema.json +5 -0
  78. package/scripts/skill_linter.py +163 -1
  79. package/scripts/update_prices.py +3 -3
  80. package/.agent-src/commands/chat-history/checkpoint.md +0 -126
  81. package/.agent-src/commands/chat-history/clear.md +0 -103
  82. package/.agent-src/commands/chat-history/resume.md +0 -183
  83. package/.agent-src/rules/chat-history-cadence.md +0 -143
  84. package/.agent-src/rules/chat-history-ownership.md +0 -124
  85. package/.agent-src/rules/chat-history-visibility.md +0 -97
  86. package/.agent-src/templates/scripts/work_engine/hooks/builtin/chat_history_heartbeat.py +0 -50
  87. package/.agent-src/templates/scripts/work_engine/hooks/builtin/chat_history_turn_check.py +0 -49
  88. package/scripts/check_phase_coupling.py +0 -148
@@ -63,19 +63,13 @@
63
63
  "load_context": [],
64
64
  "load_context_eager": []
65
65
  },
66
- ".agent-src.uncompressed/commands/chat-history/checkpoint.md": {
66
+ ".agent-src.uncompressed/commands/chat-history/import.md": {
67
67
  "kind": "command",
68
68
  "rule_type": null,
69
69
  "load_context": [],
70
70
  "load_context_eager": []
71
71
  },
72
- ".agent-src.uncompressed/commands/chat-history/clear.md": {
73
- "kind": "command",
74
- "rule_type": null,
75
- "load_context": [],
76
- "load_context_eager": []
77
- },
78
- ".agent-src.uncompressed/commands/chat-history/resume.md": {
72
+ ".agent-src.uncompressed/commands/chat-history/learn.md": {
79
73
  "kind": "command",
80
74
  "rule_type": null,
81
75
  "load_context": [],
@@ -865,24 +859,6 @@
865
859
  "load_context": [],
866
860
  "load_context_eager": []
867
861
  },
868
- ".agent-src.uncompressed/rules/chat-history-cadence.md": {
869
- "kind": "rule",
870
- "rule_type": "auto",
871
- "load_context": [],
872
- "load_context_eager": []
873
- },
874
- ".agent-src.uncompressed/rules/chat-history-ownership.md": {
875
- "kind": "rule",
876
- "rule_type": "auto",
877
- "load_context": [],
878
- "load_context_eager": []
879
- },
880
- ".agent-src.uncompressed/rules/chat-history-visibility.md": {
881
- "kind": "rule",
882
- "rule_type": "auto",
883
- "load_context": [],
884
- "load_context_eager": []
885
- },
886
862
  ".agent-src.uncompressed/rules/cli-output-handling.md": {
887
863
  "kind": "rule",
888
864
  "rule_type": "auto",
@@ -999,6 +975,12 @@
999
975
  "load_context": [],
1000
976
  "load_context_eager": []
1001
977
  },
978
+ ".agent-src.uncompressed/rules/no-attribution-footers.md": {
979
+ "kind": "rule",
980
+ "rule_type": "auto",
981
+ "load_context": [],
982
+ "load_context_eager": []
983
+ },
1002
984
  ".agent-src.uncompressed/rules/no-cheap-questions.md": {
1003
985
  "kind": "rule",
1004
986
  "rule_type": "always",
@@ -1343,6 +1325,12 @@
1343
1325
  "load_context": [],
1344
1326
  "load_context_eager": []
1345
1327
  },
1328
+ ".agent-src.uncompressed/skills/dcf-modeling/SKILL.md": {
1329
+ "kind": "skill",
1330
+ "rule_type": null,
1331
+ "load_context": [],
1332
+ "load_context_eager": []
1333
+ },
1346
1334
  ".agent-src.uncompressed/skills/dependency-upgrade/SKILL.md": {
1347
1335
  "kind": "skill",
1348
1336
  "rule_type": null,
@@ -1433,6 +1421,12 @@
1433
1421
  "load_context": [],
1434
1422
  "load_context_eager": []
1435
1423
  },
1424
+ ".agent-src.uncompressed/skills/funnel-analysis/SKILL.md": {
1425
+ "kind": "skill",
1426
+ "rule_type": null,
1427
+ "load_context": [],
1428
+ "load_context_eager": []
1429
+ },
1436
1430
  ".agent-src.uncompressed/skills/git-workflow/SKILL.md": {
1437
1431
  "kind": "skill",
1438
1432
  "rule_type": null,
@@ -1613,6 +1607,12 @@
1613
1607
  "load_context": [],
1614
1608
  "load_context_eager": []
1615
1609
  },
1610
+ ".agent-src.uncompressed/skills/okr-tree-modeling/SKILL.md": {
1611
+ "kind": "skill",
1612
+ "rule_type": null,
1613
+ "load_context": [],
1614
+ "load_context_eager": []
1615
+ },
1616
1616
  ".agent-src.uncompressed/skills/openapi/SKILL.md": {
1617
1617
  "kind": "skill",
1618
1618
  "rule_type": null,
@@ -1787,6 +1787,12 @@
1787
1787
  "load_context": [],
1788
1788
  "load_context_eager": []
1789
1789
  },
1790
+ ".agent-src.uncompressed/skills/rice-prioritization/SKILL.md": {
1791
+ "kind": "skill",
1792
+ "rule_type": null,
1793
+ "load_context": [],
1794
+ "load_context_eager": []
1795
+ },
1790
1796
  ".agent-src.uncompressed/skills/roadmap-management/SKILL.md": {
1791
1797
  "kind": "skill",
1792
1798
  "rule_type": null,
@@ -1913,6 +1919,12 @@
1913
1919
  "load_context": [],
1914
1920
  "load_context_eager": []
1915
1921
  },
1922
+ ".agent-src.uncompressed/skills/unit-economics-modeling/SKILL.md": {
1923
+ "kind": "skill",
1924
+ "rule_type": null,
1925
+ "load_context": [],
1926
+ "load_context_eager": []
1927
+ },
1916
1928
  ".agent-src.uncompressed/skills/universal-project-analysis/SKILL.md": {
1917
1929
  "kind": "skill",
1918
1930
  "rule_type": null,
@@ -1958,13 +1970,6 @@
1958
1970
  "via": "self",
1959
1971
  "depth": 0
1960
1972
  },
1961
- {
1962
- "source": ".agent-src.uncompressed/commands/agent-handoff.md",
1963
- "target": ".agent-src.uncompressed/rules/chat-history-ownership.md",
1964
- "type": "READ_ONLY",
1965
- "via": "body_link",
1966
- "depth": 1
1967
- },
1968
1973
  {
1969
1974
  "source": ".agent-src.uncompressed/commands/agent-status.md",
1970
1975
  "target": ".agent-src.uncompressed/commands/agent-status.md",
@@ -2029,26 +2034,82 @@
2029
2034
  "depth": 0
2030
2035
  },
2031
2036
  {
2032
- "source": ".agent-src.uncompressed/commands/chat-history/checkpoint.md",
2033
- "target": ".agent-src.uncompressed/commands/chat-history/checkpoint.md",
2037
+ "source": ".agent-src.uncompressed/commands/chat-history/import.md",
2038
+ "target": ".agent-src.uncompressed/commands/chat-history/import.md",
2034
2039
  "type": "WRITE",
2035
2040
  "via": "self",
2036
2041
  "depth": 0
2037
2042
  },
2038
2043
  {
2039
- "source": ".agent-src.uncompressed/commands/chat-history/clear.md",
2040
- "target": ".agent-src.uncompressed/commands/chat-history/clear.md",
2041
- "type": "WRITE",
2042
- "via": "self",
2043
- "depth": 0
2044
+ "source": ".agent-src.uncompressed/commands/chat-history/import.md",
2045
+ "target": ".agent-src.uncompressed/commands/chat-history/learn.md",
2046
+ "type": "READ_ONLY",
2047
+ "via": "body_link",
2048
+ "depth": 1
2049
+ },
2050
+ {
2051
+ "source": ".agent-src.uncompressed/commands/chat-history/import.md",
2052
+ "target": ".agent-src.uncompressed/commands/chat-history/show.md",
2053
+ "type": "READ_ONLY",
2054
+ "via": "body_link",
2055
+ "depth": 1
2044
2056
  },
2045
2057
  {
2046
- "source": ".agent-src.uncompressed/commands/chat-history/resume.md",
2047
- "target": ".agent-src.uncompressed/commands/chat-history/resume.md",
2058
+ "source": ".agent-src.uncompressed/commands/chat-history/import.md",
2059
+ "target": ".agent-src.uncompressed/rules/ask-when-uncertain.md",
2060
+ "type": "READ_ONLY",
2061
+ "via": "body_link",
2062
+ "depth": 1
2063
+ },
2064
+ {
2065
+ "source": ".agent-src.uncompressed/commands/chat-history/import.md",
2066
+ "target": ".agent-src.uncompressed/rules/user-interaction.md",
2067
+ "type": "READ_ONLY",
2068
+ "via": "body_link",
2069
+ "depth": 1
2070
+ },
2071
+ {
2072
+ "source": ".agent-src.uncompressed/commands/chat-history/learn.md",
2073
+ "target": ".agent-src.uncompressed/commands/chat-history/import.md",
2074
+ "type": "READ_ONLY",
2075
+ "via": "body_link",
2076
+ "depth": 1
2077
+ },
2078
+ {
2079
+ "source": ".agent-src.uncompressed/commands/chat-history/learn.md",
2080
+ "target": ".agent-src.uncompressed/commands/chat-history/learn.md",
2048
2081
  "type": "WRITE",
2049
2082
  "via": "self",
2050
2083
  "depth": 0
2051
2084
  },
2085
+ {
2086
+ "source": ".agent-src.uncompressed/commands/chat-history/learn.md",
2087
+ "target": ".agent-src.uncompressed/rules/ask-when-uncertain.md",
2088
+ "type": "READ_ONLY",
2089
+ "via": "body_link",
2090
+ "depth": 1
2091
+ },
2092
+ {
2093
+ "source": ".agent-src.uncompressed/commands/chat-history/learn.md",
2094
+ "target": ".agent-src.uncompressed/rules/user-interaction.md",
2095
+ "type": "READ_ONLY",
2096
+ "via": "body_link",
2097
+ "depth": 1
2098
+ },
2099
+ {
2100
+ "source": ".agent-src.uncompressed/commands/chat-history/learn.md",
2101
+ "target": ".agent-src.uncompressed/skills/learning-to-rule-or-skill/SKILL.md",
2102
+ "type": "READ_ONLY",
2103
+ "via": "body_link",
2104
+ "depth": 1
2105
+ },
2106
+ {
2107
+ "source": ".agent-src.uncompressed/commands/chat-history/learn.md",
2108
+ "target": ".agent-src.uncompressed/skills/upstream-contribute/SKILL.md",
2109
+ "type": "READ_ONLY",
2110
+ "via": "body_link",
2111
+ "depth": 1
2112
+ },
2052
2113
  {
2053
2114
  "source": ".agent-src.uncompressed/commands/chat-history/show.md",
2054
2115
  "target": ".agent-src.uncompressed/commands/chat-history/show.md",
@@ -2217,6 +2278,13 @@
2217
2278
  "via": "self",
2218
2279
  "depth": 0
2219
2280
  },
2281
+ {
2282
+ "source": ".agent-src.uncompressed/commands/create-pr.md",
2283
+ "target": ".agent-src.uncompressed/rules/no-attribution-footers.md",
2284
+ "type": "READ_ONLY",
2285
+ "via": "body_link",
2286
+ "depth": 1
2287
+ },
2220
2288
  {
2221
2289
  "source": ".agent-src.uncompressed/commands/create-pr/description-only.md",
2222
2290
  "target": ".agent-src.uncompressed/commands/create-pr/description-only.md",
@@ -3911,90 +3979,6 @@
3911
3979
  "via": "self",
3912
3980
  "depth": 0
3913
3981
  },
3914
- {
3915
- "source": ".agent-src.uncompressed/rules/chat-history-cadence.md",
3916
- "target": ".agent-src.uncompressed/rules/chat-history-cadence.md",
3917
- "type": "WRITE",
3918
- "via": "self",
3919
- "depth": 0
3920
- },
3921
- {
3922
- "source": ".agent-src.uncompressed/rules/chat-history-cadence.md",
3923
- "target": ".agent-src.uncompressed/rules/chat-history-ownership.md",
3924
- "type": "READ_ONLY",
3925
- "via": "body_link",
3926
- "depth": 1
3927
- },
3928
- {
3929
- "source": ".agent-src.uncompressed/rules/chat-history-cadence.md",
3930
- "target": ".agent-src.uncompressed/rules/chat-history-visibility.md",
3931
- "type": "READ_ONLY",
3932
- "via": "body_link",
3933
- "depth": 1
3934
- },
3935
- {
3936
- "source": ".agent-src.uncompressed/rules/chat-history-ownership.md",
3937
- "target": ".agent-src.uncompressed/commands/chat-history.md",
3938
- "type": "READ_ONLY",
3939
- "via": "body_link",
3940
- "depth": 1
3941
- },
3942
- {
3943
- "source": ".agent-src.uncompressed/rules/chat-history-ownership.md",
3944
- "target": ".agent-src.uncompressed/rules/chat-history-cadence.md",
3945
- "type": "READ_ONLY",
3946
- "via": "body_link",
3947
- "depth": 1
3948
- },
3949
- {
3950
- "source": ".agent-src.uncompressed/rules/chat-history-ownership.md",
3951
- "target": ".agent-src.uncompressed/rules/chat-history-ownership.md",
3952
- "type": "WRITE",
3953
- "via": "self",
3954
- "depth": 0
3955
- },
3956
- {
3957
- "source": ".agent-src.uncompressed/rules/chat-history-ownership.md",
3958
- "target": ".agent-src.uncompressed/rules/chat-history-visibility.md",
3959
- "type": "READ_ONLY",
3960
- "via": "body_link",
3961
- "depth": 1
3962
- },
3963
- {
3964
- "source": ".agent-src.uncompressed/rules/chat-history-ownership.md",
3965
- "target": ".agent-src.uncompressed/rules/rule-type-governance.md",
3966
- "type": "READ_ONLY",
3967
- "via": "body_link",
3968
- "depth": 1
3969
- },
3970
- {
3971
- "source": ".agent-src.uncompressed/rules/chat-history-visibility.md",
3972
- "target": ".agent-src.uncompressed/rules/chat-history-cadence.md",
3973
- "type": "READ_ONLY",
3974
- "via": "body_link",
3975
- "depth": 1
3976
- },
3977
- {
3978
- "source": ".agent-src.uncompressed/rules/chat-history-visibility.md",
3979
- "target": ".agent-src.uncompressed/rules/chat-history-ownership.md",
3980
- "type": "READ_ONLY",
3981
- "via": "body_link",
3982
- "depth": 1
3983
- },
3984
- {
3985
- "source": ".agent-src.uncompressed/rules/chat-history-visibility.md",
3986
- "target": ".agent-src.uncompressed/rules/chat-history-visibility.md",
3987
- "type": "WRITE",
3988
- "via": "self",
3989
- "depth": 0
3990
- },
3991
- {
3992
- "source": ".agent-src.uncompressed/rules/chat-history-visibility.md",
3993
- "target": ".agent-src.uncompressed/rules/direct-answers.md",
3994
- "type": "READ_ONLY",
3995
- "via": "body_link",
3996
- "depth": 1
3997
- },
3998
3982
  {
3999
3983
  "source": ".agent-src.uncompressed/rules/cli-output-handling.md",
4000
3984
  "target": ".agent-src.uncompressed/contexts/communication/rules-auto/cli-output-handling-mechanics.md",
@@ -4219,6 +4203,13 @@
4219
4203
  "via": "self",
4220
4204
  "depth": 0
4221
4205
  },
4206
+ {
4207
+ "source": ".agent-src.uncompressed/rules/language-and-tone.md",
4208
+ "target": ".agent-src.uncompressed/rules/user-interaction.md",
4209
+ "type": "READ_ONLY",
4210
+ "via": "body_link",
4211
+ "depth": 1
4212
+ },
4222
4213
  {
4223
4214
  "source": ".agent-src.uncompressed/rules/laravel-translations.md",
4224
4215
  "target": ".agent-src.uncompressed/rules/laravel-translations.md",
@@ -4254,6 +4245,34 @@
4254
4245
  "via": "self",
4255
4246
  "depth": 0
4256
4247
  },
4248
+ {
4249
+ "source": ".agent-src.uncompressed/rules/no-attribution-footers.md",
4250
+ "target": ".agent-src.uncompressed/commands/create-pr.md",
4251
+ "type": "READ_ONLY",
4252
+ "via": "body_link",
4253
+ "depth": 1
4254
+ },
4255
+ {
4256
+ "source": ".agent-src.uncompressed/rules/no-attribution-footers.md",
4257
+ "target": ".agent-src.uncompressed/rules/commit-conventions.md",
4258
+ "type": "READ_ONLY",
4259
+ "via": "body_link",
4260
+ "depth": 1
4261
+ },
4262
+ {
4263
+ "source": ".agent-src.uncompressed/rules/no-attribution-footers.md",
4264
+ "target": ".agent-src.uncompressed/rules/no-attribution-footers.md",
4265
+ "type": "WRITE",
4266
+ "via": "self",
4267
+ "depth": 0
4268
+ },
4269
+ {
4270
+ "source": ".agent-src.uncompressed/rules/no-attribution-footers.md",
4271
+ "target": ".agent-src.uncompressed/rules/scope-control.md",
4272
+ "type": "READ_ONLY",
4273
+ "via": "body_link",
4274
+ "depth": 1
4275
+ },
4257
4276
  {
4258
4277
  "source": ".agent-src.uncompressed/rules/no-cheap-questions.md",
4259
4278
  "target": ".agent-src.uncompressed/rules/ask-when-uncertain.md",
@@ -4688,6 +4707,13 @@
4688
4707
  "via": "load_context",
4689
4708
  "depth": 1
4690
4709
  },
4710
+ {
4711
+ "source": ".agent-src.uncompressed/rules/skill-quality.md",
4712
+ "target": ".agent-src.uncompressed/rules/direct-answers.md",
4713
+ "type": "READ_ONLY",
4714
+ "via": "body_link",
4715
+ "depth": 1
4716
+ },
4691
4717
  {
4692
4718
  "source": ".agent-src.uncompressed/rules/skill-quality.md",
4693
4719
  "target": ".agent-src.uncompressed/rules/skill-quality.md",
@@ -4695,6 +4721,13 @@
4695
4721
  "via": "self",
4696
4722
  "depth": 0
4697
4723
  },
4724
+ {
4725
+ "source": ".agent-src.uncompressed/rules/skill-quality.md",
4726
+ "target": ".agent-src.uncompressed/rules/tool-safety.md",
4727
+ "type": "READ_ONLY",
4728
+ "via": "body_link",
4729
+ "depth": 1
4730
+ },
4698
4731
  {
4699
4732
  "source": ".agent-src.uncompressed/rules/slash-command-routing-policy.md",
4700
4733
  "target": ".agent-src.uncompressed/contexts/communication/rules-auto/slash-command-routing-policy-mechanics.md",
@@ -4702,6 +4735,13 @@
4702
4735
  "via": "load_context",
4703
4736
  "depth": 1
4704
4737
  },
4738
+ {
4739
+ "source": ".agent-src.uncompressed/rules/slash-command-routing-policy.md",
4740
+ "target": ".agent-src.uncompressed/rules/ask-when-uncertain.md",
4741
+ "type": "READ_ONLY",
4742
+ "via": "body_link",
4743
+ "depth": 1
4744
+ },
4705
4745
  {
4706
4746
  "source": ".agent-src.uncompressed/rules/slash-command-routing-policy.md",
4707
4747
  "target": ".agent-src.uncompressed/rules/slash-command-routing-policy.md",
@@ -5185,6 +5225,34 @@
5185
5225
  "via": "self",
5186
5226
  "depth": 0
5187
5227
  },
5228
+ {
5229
+ "source": ".agent-src.uncompressed/skills/dcf-modeling/SKILL.md",
5230
+ "target": ".agent-src.uncompressed/skills/dcf-modeling/SKILL.md",
5231
+ "type": "WRITE",
5232
+ "via": "self",
5233
+ "depth": 0
5234
+ },
5235
+ {
5236
+ "source": ".agent-src.uncompressed/skills/dcf-modeling/SKILL.md",
5237
+ "target": ".agent-src.uncompressed/skills/okr-tree-modeling/SKILL.md",
5238
+ "type": "READ_ONLY",
5239
+ "via": "body_link",
5240
+ "depth": 1
5241
+ },
5242
+ {
5243
+ "source": ".agent-src.uncompressed/skills/dcf-modeling/SKILL.md",
5244
+ "target": ".agent-src.uncompressed/skills/rice-prioritization/SKILL.md",
5245
+ "type": "READ_ONLY",
5246
+ "via": "body_link",
5247
+ "depth": 1
5248
+ },
5249
+ {
5250
+ "source": ".agent-src.uncompressed/skills/dcf-modeling/SKILL.md",
5251
+ "target": ".agent-src.uncompressed/skills/unit-economics-modeling/SKILL.md",
5252
+ "type": "READ_ONLY",
5253
+ "via": "body_link",
5254
+ "depth": 1
5255
+ },
5188
5256
  {
5189
5257
  "source": ".agent-src.uncompressed/skills/dependency-upgrade/SKILL.md",
5190
5258
  "target": ".agent-src.uncompressed/skills/dependency-upgrade/SKILL.md",
@@ -5451,6 +5519,41 @@
5451
5519
  "via": "body_link",
5452
5520
  "depth": 1
5453
5521
  },
5522
+ {
5523
+ "source": ".agent-src.uncompressed/skills/funnel-analysis/SKILL.md",
5524
+ "target": ".agent-src.uncompressed/skills/dcf-modeling/SKILL.md",
5525
+ "type": "READ_ONLY",
5526
+ "via": "body_link",
5527
+ "depth": 1
5528
+ },
5529
+ {
5530
+ "source": ".agent-src.uncompressed/skills/funnel-analysis/SKILL.md",
5531
+ "target": ".agent-src.uncompressed/skills/funnel-analysis/SKILL.md",
5532
+ "type": "WRITE",
5533
+ "via": "self",
5534
+ "depth": 0
5535
+ },
5536
+ {
5537
+ "source": ".agent-src.uncompressed/skills/funnel-analysis/SKILL.md",
5538
+ "target": ".agent-src.uncompressed/skills/okr-tree-modeling/SKILL.md",
5539
+ "type": "READ_ONLY",
5540
+ "via": "body_link",
5541
+ "depth": 1
5542
+ },
5543
+ {
5544
+ "source": ".agent-src.uncompressed/skills/funnel-analysis/SKILL.md",
5545
+ "target": ".agent-src.uncompressed/skills/rice-prioritization/SKILL.md",
5546
+ "type": "READ_ONLY",
5547
+ "via": "body_link",
5548
+ "depth": 1
5549
+ },
5550
+ {
5551
+ "source": ".agent-src.uncompressed/skills/funnel-analysis/SKILL.md",
5552
+ "target": ".agent-src.uncompressed/skills/unit-economics-modeling/SKILL.md",
5553
+ "type": "READ_ONLY",
5554
+ "via": "body_link",
5555
+ "depth": 1
5556
+ },
5454
5557
  {
5455
5558
  "source": ".agent-src.uncompressed/skills/git-workflow/SKILL.md",
5456
5559
  "target": ".agent-src.uncompressed/skills/git-workflow/SKILL.md",
@@ -5899,6 +6002,34 @@
5899
6002
  "via": "self",
5900
6003
  "depth": 0
5901
6004
  },
6005
+ {
6006
+ "source": ".agent-src.uncompressed/skills/okr-tree-modeling/SKILL.md",
6007
+ "target": ".agent-src.uncompressed/skills/dcf-modeling/SKILL.md",
6008
+ "type": "READ_ONLY",
6009
+ "via": "body_link",
6010
+ "depth": 1
6011
+ },
6012
+ {
6013
+ "source": ".agent-src.uncompressed/skills/okr-tree-modeling/SKILL.md",
6014
+ "target": ".agent-src.uncompressed/skills/funnel-analysis/SKILL.md",
6015
+ "type": "READ_ONLY",
6016
+ "via": "body_link",
6017
+ "depth": 1
6018
+ },
6019
+ {
6020
+ "source": ".agent-src.uncompressed/skills/okr-tree-modeling/SKILL.md",
6021
+ "target": ".agent-src.uncompressed/skills/okr-tree-modeling/SKILL.md",
6022
+ "type": "WRITE",
6023
+ "via": "self",
6024
+ "depth": 0
6025
+ },
6026
+ {
6027
+ "source": ".agent-src.uncompressed/skills/okr-tree-modeling/SKILL.md",
6028
+ "target": ".agent-src.uncompressed/skills/rice-prioritization/SKILL.md",
6029
+ "type": "READ_ONLY",
6030
+ "via": "body_link",
6031
+ "depth": 1
6032
+ },
5902
6033
  {
5903
6034
  "source": ".agent-src.uncompressed/skills/openapi/SKILL.md",
5904
6035
  "target": ".agent-src.uncompressed/skills/openapi/SKILL.md",
@@ -6249,6 +6380,41 @@
6249
6380
  "via": "body_link",
6250
6381
  "depth": 1
6251
6382
  },
6383
+ {
6384
+ "source": ".agent-src.uncompressed/skills/rice-prioritization/SKILL.md",
6385
+ "target": ".agent-src.uncompressed/skills/dcf-modeling/SKILL.md",
6386
+ "type": "READ_ONLY",
6387
+ "via": "body_link",
6388
+ "depth": 1
6389
+ },
6390
+ {
6391
+ "source": ".agent-src.uncompressed/skills/rice-prioritization/SKILL.md",
6392
+ "target": ".agent-src.uncompressed/skills/funnel-analysis/SKILL.md",
6393
+ "type": "READ_ONLY",
6394
+ "via": "body_link",
6395
+ "depth": 1
6396
+ },
6397
+ {
6398
+ "source": ".agent-src.uncompressed/skills/rice-prioritization/SKILL.md",
6399
+ "target": ".agent-src.uncompressed/skills/okr-tree-modeling/SKILL.md",
6400
+ "type": "READ_ONLY",
6401
+ "via": "body_link",
6402
+ "depth": 1
6403
+ },
6404
+ {
6405
+ "source": ".agent-src.uncompressed/skills/rice-prioritization/SKILL.md",
6406
+ "target": ".agent-src.uncompressed/skills/rice-prioritization/SKILL.md",
6407
+ "type": "WRITE",
6408
+ "via": "self",
6409
+ "depth": 0
6410
+ },
6411
+ {
6412
+ "source": ".agent-src.uncompressed/skills/rice-prioritization/SKILL.md",
6413
+ "target": ".agent-src.uncompressed/skills/unit-economics-modeling/SKILL.md",
6414
+ "type": "READ_ONLY",
6415
+ "via": "body_link",
6416
+ "depth": 1
6417
+ },
6252
6418
  {
6253
6419
  "source": ".agent-src.uncompressed/skills/roadmap-management/SKILL.md",
6254
6420
  "target": ".agent-src.uncompressed/commands/roadmap/create.md",
@@ -6487,6 +6653,13 @@
6487
6653
  "via": "body_link",
6488
6654
  "depth": 1
6489
6655
  },
6656
+ {
6657
+ "source": ".agent-src.uncompressed/skills/subagent-orchestration/SKILL.md",
6658
+ "target": ".agent-src.uncompressed/skills/finishing-a-development-branch/SKILL.md",
6659
+ "type": "READ_ONLY",
6660
+ "via": "body_link",
6661
+ "depth": 1
6662
+ },
6490
6663
  {
6491
6664
  "source": ".agent-src.uncompressed/skills/subagent-orchestration/SKILL.md",
6492
6665
  "target": ".agent-src.uncompressed/skills/subagent-orchestration/SKILL.md",
@@ -6494,6 +6667,13 @@
6494
6667
  "via": "self",
6495
6668
  "depth": 0
6496
6669
  },
6670
+ {
6671
+ "source": ".agent-src.uncompressed/skills/subagent-orchestration/SKILL.md",
6672
+ "target": ".agent-src.uncompressed/skills/using-git-worktrees/SKILL.md",
6673
+ "type": "READ_ONLY",
6674
+ "via": "body_link",
6675
+ "depth": 1
6676
+ },
6497
6677
  {
6498
6678
  "source": ".agent-src.uncompressed/skills/systematic-debugging/SKILL.md",
6499
6679
  "target": ".agent-src.uncompressed/skills/blast-radius-analyzer/SKILL.md",
@@ -6648,6 +6828,41 @@
6648
6828
  "via": "self",
6649
6829
  "depth": 0
6650
6830
  },
6831
+ {
6832
+ "source": ".agent-src.uncompressed/skills/unit-economics-modeling/SKILL.md",
6833
+ "target": ".agent-src.uncompressed/skills/dcf-modeling/SKILL.md",
6834
+ "type": "READ_ONLY",
6835
+ "via": "body_link",
6836
+ "depth": 1
6837
+ },
6838
+ {
6839
+ "source": ".agent-src.uncompressed/skills/unit-economics-modeling/SKILL.md",
6840
+ "target": ".agent-src.uncompressed/skills/funnel-analysis/SKILL.md",
6841
+ "type": "READ_ONLY",
6842
+ "via": "body_link",
6843
+ "depth": 1
6844
+ },
6845
+ {
6846
+ "source": ".agent-src.uncompressed/skills/unit-economics-modeling/SKILL.md",
6847
+ "target": ".agent-src.uncompressed/skills/okr-tree-modeling/SKILL.md",
6848
+ "type": "READ_ONLY",
6849
+ "via": "body_link",
6850
+ "depth": 1
6851
+ },
6852
+ {
6853
+ "source": ".agent-src.uncompressed/skills/unit-economics-modeling/SKILL.md",
6854
+ "target": ".agent-src.uncompressed/skills/rice-prioritization/SKILL.md",
6855
+ "type": "READ_ONLY",
6856
+ "via": "body_link",
6857
+ "depth": 1
6858
+ },
6859
+ {
6860
+ "source": ".agent-src.uncompressed/skills/unit-economics-modeling/SKILL.md",
6861
+ "target": ".agent-src.uncompressed/skills/unit-economics-modeling/SKILL.md",
6862
+ "type": "WRITE",
6863
+ "via": "self",
6864
+ "depth": 0
6865
+ },
6651
6866
  {
6652
6867
  "source": ".agent-src.uncompressed/skills/universal-project-analysis/SKILL.md",
6653
6868
  "target": ".agent-src.uncompressed/skills/universal-project-analysis/SKILL.md",
@@ -20,7 +20,7 @@ Last refreshed: 2026-05-04.
20
20
 
21
21
  | Term | Meaning |
22
22
  |---|---|
23
- | **Platform** | Host agent surface — one of `augment`, `claude`, `cursor`, `cline`, `windsurf`, `gemini`, `copilot`. The `claude` value covers both Claude Code (CLI) and Claude.ai Web; the canonical platform identifier is `claude` (matches `chat_history.PLATFORM_EVENT_MAP`). |
23
+ | **Platform** | Host agent surface — one of `augment`, `claude`, `cowork`, `cursor`, `cline`, `windsurf`, `gemini`, `copilot`. The `claude` value covers both Claude Code (CLI) and Claude.ai Web; `cowork` covers the Claude desktop app's local-agent-mode runtime separately so chat-history entries can attribute events to Cowork vs CLI Claude Code via the `agent` field. Cowork shares Claude Code's lifecycle vocabulary and payload shape but is upstream-blocked from reading any settings source as of writing (anthropics/claude-code#40495, #27398). The canonical platform identifier is `claude` for the CLI/IDE surface and `cowork` for the desktop sandbox (both match `chat_history.PLATFORM_EVENT_MAP`). |
24
24
  | **Concern** | A single agent-config behaviour wired to one or more lifecycle events — e.g. `chat-history`, `roadmap-progress`, `verify-before-complete`. Lives as a Python script under `scripts/hooks/concerns/<name>.py`. |
25
25
  | **Event** | The agent-config-internal event vocabulary the dispatcher exposes — `session_start`, `session_end`, `user_prompt_submit`, `pre_tool_use`, `post_tool_use`, `stop`, `pre_compact`, `agent_error`. Per-platform native names map to these. `agent_error` is synthetic — fired by the agent (or wrapper) when the host crashes outside a concern, so chat-history can checkpoint partial sessions on abnormal exit. (Added in Round 2 — 2026-05-04.) |
26
26
  | **Trampoline** | A 5–10 line per-platform shell script that reads the platform's native payload, calls the dispatcher with `--platform <name>`, and forwards the platform's exit-code semantics. |
@@ -211,3 +211,10 @@ Beta. Breaking changes between v1 and v2 are allowed in a minor
211
211
  release if the change appears in `CHANGELOG.md` under a `### Breaking`
212
212
  heading. Concerns MUST gate on `schema_version` and refuse unknown
213
213
  majors.
214
+
215
+ ## See also
216
+
217
+ - [`docs/hook-payload-capture.md`](../hook-payload-capture.md) —
218
+ operational how-to for capturing redacted live payloads to upgrade
219
+ a platform's chat-history extractor from `docs-verified` to
220
+ `payload-verified`.