Skip to content

Commit 2e437a7

Browse files
committed
chore: add Claude jj workspace bridge
1 parent f154ad1 commit 2e437a7

3 files changed

Lines changed: 38 additions & 4 deletions

File tree

.claude/settings.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"hooks": {
3+
"WorktreeCreate": [
4+
{
5+
"hooks": [
6+
{
7+
"type": "command",
8+
"command": "python3 \"$HOME/.local/bin/codealive-jj-claude-worktree\"",
9+
"timeout": 120
10+
}
11+
]
12+
}
13+
],
14+
"WorktreeRemove": [
15+
{
16+
"hooks": [
17+
{
18+
"type": "command",
19+
"command": "python3 \"$HOME/.local/bin/codealive-jj-claude-worktree\"",
20+
"timeout": 120
21+
}
22+
]
23+
}
24+
]
25+
},
26+
"permissions": {
27+
"deny": [
28+
"EnterWorktree",
29+
"Bash(git worktree *)"
30+
]
31+
}
32+
}

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,9 @@ cython_debug/
173173
# PyPI configuration file
174174
.pypirc
175175

176-
# Claude Code local settings (contains API keys)
177-
.claude/
176+
# Claude Code local settings may contain API keys; track only shared policy.
177+
.claude/*
178+
!.claude/settings.json
178179

179180
# JetBrains IDE
180181
.idea/

AGENTS.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ This file provides guidance to coding agents working in this repository.
66

77
## Version Control
88

9-
- This repository uses jj. Before changing files, load `working-with-jj`, stay in the current or
10-
assigned root, and use jj—not raw Git—for VCS mutations.
9+
- This repository uses jj. Before changing files, load `working-with-jj` and
10+
`codealive-jj-development`, stay in the current or assigned root, and use jj—not raw Git—for
11+
VCS mutations.
1112

1213
## Development Commands
1314

0 commit comments

Comments
 (0)