File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Global Agent Rules
2+
3+ ## Commit messages
4+
5+ - Follow explicit repository-local commit-message requirements first.
6+ - When the repository does not specify a requirement, use Conventional
7+ Commits in the form ` type: description ` .
8+ - Omit the scope by default. Use ` type(scope): description ` only when
9+ repository-local rules explicitly require a scope.
10+ - Do not infer a scope solely from directory names or isolated historical commits.
Original file line number Diff line number Diff line change 1919 enable = true ;
2020 package = null ;
2121 inherit configDir ;
22+ context = ../agent-rules.md ;
2223
2324 outputStyles . "Global Rules" = ./global-rules.md ;
2425
Original file line number Diff line number Diff line change 3838 programs . codex = {
3939 enable = true ;
4040 package = null ;
41+ context = ../agent-rules.md ;
4142 } ;
4243
4344 home . file . "${ codexHomeRelative } /hooks.json" . source =
Original file line number Diff line number Diff line change 11_ :
22
33{
4- programs . opencode . enable = true ;
4+ programs . opencode = {
5+ enable = true ;
6+ context = ../agent-rules.md ;
7+ } ;
58
69 xdg . configFile . "opencode/plugins/wezterm-notify.ts" . source =
710 ./wezterm-notify.ts ;
You can’t perform that action at this time.
0 commit comments