tlc-claude-code 2.4.6 → 2.4.8

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.
@@ -1,6 +1,6 @@
1
1
  # /tlc:build - Build a Phase (Test-First)
2
2
 
3
- Write failing tests, then implement to make them pass.
3
+ Write failing tests, then implement to make them pass. **Includes auto-review with fix loop** — after implementation, build automatically reviews code (security, coverage, standards), fixes any issues found, and re-reviews until clean (max 5 iterations). You do NOT need to run `/tlc:review` separately after build.
4
4
 
5
5
  ## Routing
6
6
 
@@ -233,6 +233,7 @@ This project uses **TLC (Test-Led Coding)** for all planning and development.
233
233
  - **NO** `TaskCreate`, `TaskUpdate`, `TaskList` for project planning
234
234
  - **NO** `EnterPlanMode` - use `/tlc:plan` instead
235
235
  - **NO** creating implementation plans in responses - use `/tlc:plan` to create PLAN.md files
236
+ - **NO** writing to Claude's personal memory files — use `/tlc:remember` for decisions/notes and `/tlc:new-milestone` for feature ideas
236
237
 
237
238
  **When asked to plan or implement features:**
238
239
  1. Run `/tlc:progress` first to see current state
@@ -240,6 +241,11 @@ This project uses **TLC (Test-Led Coding)** for all planning and development.
240
241
  3. Use `/tlc:build <phase>` to implement (test-first)
241
242
  4. Plans go in `.planning/phases/` not in chat responses
242
243
 
244
+ **When asked to remember, log, or save a note:**
245
+ - Use `/tlc:remember` — saves to `.tlc/memory/team/` (visible to all team members)
246
+ - Use `/tlc:new-milestone` — adds to `.planning/ROADMAP.md` for future phases
247
+ - **NEVER** write to `~/.claude/projects/*/memory/` — that's Claude's personal memory, not the project's
248
+
243
249
  ## Git Commits
244
250
 
245
251
  **DO NOT add `Co-Authored-By` lines to commits.** The user is the author. You are a tool.
@@ -261,16 +267,19 @@ This project uses **TLC (Test-Led Coding)** for all planning and development.
261
267
  |--------|---------|
262
268
  | See status | `/tlc` or `/tlc:progress` |
263
269
  | Plan a phase | `/tlc:plan` |
264
- | Build (test-first) | `/tlc:build` |
270
+ | Build (test-first + auto-review) | `/tlc:build` |
265
271
  | Verify with human | `/tlc:verify` |
266
272
  | Log a bug | `/tlc:bug` |
273
+ | Remember/log/note | `/tlc:remember` |
274
+ | New feature idea | `/tlc:new-milestone` |
267
275
 
268
276
  ## Test-First Development
269
277
 
270
- All implementation follows **Red → Green → Refactor**:
278
+ All implementation follows **Red → Green → Refactor → Review**:
271
279
  1. **Red**: Write failing tests that define expected behavior
272
280
  2. **Green**: Write minimum code to make tests pass
273
281
  3. **Refactor**: Clean up while keeping tests green
282
+ 4. **Review**: Auto-review checks security, coverage, standards — fixes issues and re-reviews until clean (up to 5 iterations). Built into `/tlc:build`, not a separate step.
274
283
  ```
275
284
 
276
285
  ### 9b. Create Claude Settings with Permissions AND Hooks (Automatic)
@@ -57,6 +57,14 @@ if echo "$MSG_LOWER" | grep -qE '\b(refactor|clean.?up|restructure|reorganize|si
57
57
  fi
58
58
  fi
59
59
 
60
+ # Remember/log/note intent
61
+ if echo "$MSG_LOWER" | grep -qE '\b(remember|log (this|it)|save.*(note|this)|note.*(down|this)|don.t forget|keep.*(track|note))\b'; then
62
+ if ! echo "$MSG_LOWER" | grep -qE '/tlc'; then
63
+ echo "[TLC-ENFORCE] Memory/note detected. Use /tlc:remember to save decisions and notes (writes to .tlc/memory/team/). Use /tlc:new-milestone for feature ideas (writes to .planning/ROADMAP.md). Do NOT write to Claude's personal memory files. Invoke Skill(skill=\"tlc:remember\") now."
64
+ exit 0
65
+ fi
66
+ fi
67
+
60
68
  # Deploy intent
61
69
  if echo "$MSG_LOWER" | grep -qE '\b(deploy|ship|release|publish|push to prod|staging)\b'; then
62
70
  if ! echo "$MSG_LOWER" | grep -qE '/tlc'; then
package/CLAUDE.md CHANGED
@@ -55,6 +55,9 @@ When the user says X → invoke `Skill(skill="tlc:...")`:
55
55
  | "e2e", "screenshot", "visual check" | `/tlc:e2e-verify` |
56
56
  | "guard", "check process", "validate" | `/tlc:guard` |
57
57
  | "preflight", "am I done", "check gaps" | `/tlc:preflight` |
58
+ | "remember", "log this", "save note" | `/tlc:remember` |
59
+ | "new feature idea", "add milestone" | `/tlc:new-milestone` |
60
+ | "what did we decide", "recall" | `/tlc:recall` |
58
61
 
59
62
  ## TLC File System
60
63
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tlc-claude-code",
3
- "version": "2.4.6",
3
+ "version": "2.4.8",
4
4
  "description": "TLC - Test Led Coding for Claude Code",
5
5
  "bin": {
6
6
  "tlc-claude-code": "./bin/install.js",