You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
— full rationale, trust model, failure modes, and memory-path implications.
26
+
The canonical text lives in `standard-tooling`; this section is the local
27
+
on-ramp.
28
+
29
+
### Structure
30
+
31
+
```text
32
+
~/dev/github/mq-rest-admin-python/ ← sessions ALWAYS start here
33
+
.git/
34
+
CLAUDE.md, src/, tests/, … ← main worktree (usually `develop`)
35
+
.worktrees/ ← container for parallel worktrees
36
+
issue-454-adopt-worktree-convention/ ← worktree on feature/454-...
37
+
…
38
+
```
39
+
40
+
### Rules
41
+
42
+
1.**Sessions always start at the project root.**
43
+
`cd ~/dev/github/mq-rest-admin-python && claude` — never from inside
44
+
`.worktrees/<name>/`. This keeps the memory-path slug stable and shared.
45
+
2.**Each parallel agent is assigned exactly one worktree.** The session
46
+
prompt names the worktree (see Agent prompt contract below).
47
+
- For Read / Edit / Write tools: use the worktree's absolute path.
48
+
- For Bash commands that touch files: `cd` into the worktree first,
49
+
or use absolute paths.
50
+
3.**The main worktree is read-only.** All edits flow through a worktree
51
+
on a feature branch — the logical endpoint of the standing
52
+
"no direct commits to `develop`" policy.
53
+
4.**One worktree per issue.** Don't stack in-flight issues. When a
54
+
branch lands, remove the worktree before starting the next.
55
+
5.**Naming: `issue-<N>-<short-slug>`.**`<N>` is the GitHub issue
56
+
number; `<short-slug>` is 2–4 kebab-case tokens.
57
+
58
+
### Agent prompt contract
59
+
60
+
When launching a parallel-agent session, use this template (fill in the
61
+
placeholders):
62
+
63
+
```text
64
+
You are working on issue #<N>: <issue title>.
65
+
66
+
Your worktree is: /Users/pmoore/dev/github/mq-rest-admin-python/.worktrees/issue-<N>-<slug>/
67
+
Your branch is: feature/<N>-<slug>
68
+
69
+
Rules for this session:
70
+
- Do all git operations from inside your worktree:
71
+
cd <absolute-worktree-path> && git <command>
72
+
- For Read / Edit / Write tools, use the absolute worktree path.
73
+
- For Bash commands that touch files, cd into the worktree first
74
+
or use absolute paths.
75
+
- Do not edit files at the project root. The main worktree is
76
+
read-only — all changes flow through your worktree on your
77
+
feature branch.
78
+
```
79
+
80
+
All fields are required.
81
+
8
82
## Project Overview
9
83
10
84
`pymqrest` is a Python wrapper for the IBM MQ administrative REST API. The project provides a Python mapping layer for MQ REST API attribute translations and command metadata experiments. The current focus is on attribute mapping and metadata modeling.
@@ -18,24 +92,26 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
18
92
### Standard Tooling
19
93
20
94
```bash
21
-
cd ../standard-tooling && uv sync # Install standard-tooling
22
-
export PATH="../standard-tooling/.venv/bin:../standard-tooling/scripts/bin:$PATH"# Put tools on PATH
0 commit comments