tlc-claude-code 1.2.13 → 1.2.14

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/claim.md CHANGED
@@ -10,6 +10,22 @@ Reserve a task so teammates know you're working on it.
10
10
 
11
11
  ## Process
12
12
 
13
+ ### Step 0: Check Team Mode
14
+
15
+ Verify team coordination is enabled:
16
+
17
+ ```bash
18
+ teamEnabled=$(jq -r '.team.enabled // false' .tlc.json 2>/dev/null)
19
+
20
+ if [ "$teamEnabled" != "true" ]; then
21
+ echo "Team coordination not enabled."
22
+ echo ""
23
+ echo "Enable it with: /tlc:deploy setup"
24
+ echo "Or add to .tlc.json: { \"team\": { \"enabled\": true } }"
25
+ exit 1
26
+ fi
27
+ ```
28
+
13
29
  ### Step 1: Identify User
14
30
 
15
31
  Get current user identity:
package/deploy.md CHANGED
@@ -122,13 +122,79 @@ Enter your server domain: _
122
122
 
123
123
  The setup continues with the same flow - generates config, shows server command, DNS instructions, webhook config.
124
124
 
125
+ ### Enable Team Coordination
126
+
127
+ After domain setup, ask about team coordination model:
128
+
129
+ ```
130
+ ───────────────────────────────────────────────────────────────
131
+ Team Coordination
132
+ ───────────────────────────────────────────────────────────────
133
+
134
+ Enable task claiming and multi-user coordination?
135
+
136
+ This adds:
137
+ • Task markers: [ ], [>@alice], [x@bob]
138
+ • /tlc:claim - reserve a task before working
139
+ • /tlc:release - release a task if blocked
140
+ • /tlc:who - see who's working on what
141
+ • Git-based sync (push/pull shares claims)
142
+
143
+ Enable team coordination? [Y/n]: _
144
+ ```
145
+
146
+ **If Yes:**
147
+
148
+ 1. Add team config to `.tlc.json`
149
+ 2. Migrate existing PLAN.md files to add `[ ]` markers
150
+ 3. Show coordination workflow
151
+
152
+ ```
153
+ ✓ Team coordination enabled
154
+
155
+ Existing plans updated:
156
+ .planning/phases/1-PLAN.md - 3 tasks marked as available
157
+ .planning/phases/2-PLAN.md - 4 tasks marked as available
158
+
159
+ Team Workflow:
160
+ ───────────────────────────────────────────────────────────────
161
+ 1. git pull ← Get latest claims
162
+ 2. /tlc:claim ← Reserve your task
163
+ 3. git push ← Share your claim
164
+ 4. ... work on task ...
165
+ 5. git commit & push ← Task auto-marked complete
166
+ ───────────────────────────────────────────────────────────────
167
+ ```
168
+
169
+ ### Plan Migration
170
+
171
+ Existing task headings are updated:
172
+
173
+ **Before:**
174
+ ```markdown
175
+ ### Task 1: Create user schema
176
+ ### Task 2: Add validation
177
+ ```
178
+
179
+ **After:**
180
+ ```markdown
181
+ ### Task 1: Create user schema [ ]
182
+ ### Task 2: Add validation [ ]
183
+ ```
184
+
185
+ This makes tasks claimable without changing any other content.
186
+
125
187
  **What gets added to .tlc.json:**
126
188
 
127
189
  ```json
128
190
  {
129
191
  "project": "my-awesome-app",
130
192
  "testFrameworks": { ... }, // existing config preserved
131
- "deploy": { // NEW: added by setup
193
+ "team": { // NEW: team coordination
194
+ "enabled": true,
195
+ "model": "git-based"
196
+ },
197
+ "deploy": { // NEW: dev server
132
198
  "domain": "myapp.example.com",
133
199
  "webhookSecret": "x7k9m2p4q8r1s5t3",
134
200
  "dashboardUrl": "https://dashboard.myapp.example.com",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tlc-claude-code",
3
- "version": "1.2.13",
3
+ "version": "1.2.14",
4
4
  "description": "TLC - Test Led Coding for Claude Code",
5
5
  "bin": {
6
6
  "tlc": "./bin/tlc.js",
package/release.md CHANGED
@@ -17,6 +17,18 @@ Release a task you claimed so others can work on it.
17
17
 
18
18
  ## Process
19
19
 
20
+ ### Step 0: Check Team Mode
21
+
22
+ ```bash
23
+ teamEnabled=$(jq -r '.team.enabled // false' .tlc.json 2>/dev/null)
24
+
25
+ if [ "$teamEnabled" != "true" ]; then
26
+ echo "Team coordination not enabled."
27
+ echo "Enable it with: /tlc:deploy setup"
28
+ exit 1
29
+ fi
30
+ ```
31
+
20
32
  ### Step 1: Identify User
21
33
 
22
34
  Get current user identity (same as `/tlc:claim`):
package/tlc.md CHANGED
@@ -119,7 +119,7 @@ Phase 2: User Dashboard
119
119
  [2] Go back and fix skipped steps
120
120
  [3] Show all commands (/tlc:help)
121
121
  [4] Full project checklist (/tlc:checklist)
122
- [5] Set up team dev server (/tlc:deploy setup)
122
+ [5] Enable team collaboration (/tlc:deploy setup)
123
123
 
124
124
  Choice [1/2/3/4/5]: _
125
125
  ```
package/who.md CHANGED
@@ -10,6 +10,18 @@ See who's working on what in the current phase.
10
10
 
11
11
  ## Process
12
12
 
13
+ ### Step 0: Check Team Mode
14
+
15
+ ```bash
16
+ teamEnabled=$(jq -r '.team.enabled // false' .tlc.json 2>/dev/null)
17
+
18
+ if [ "$teamEnabled" != "true" ]; then
19
+ echo "Team coordination not enabled."
20
+ echo "Enable it with: /tlc:deploy setup"
21
+ exit 1
22
+ fi
23
+ ```
24
+
13
25
  ### Step 1: Find Current Phase
14
26
 
15
27
  1. Read `.planning/ROADMAP.md`