create-claude-workspace 1.1.113 → 1.1.115

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.
@@ -107,12 +107,23 @@ At the beginning of EVERY session (including every Ralph Loop iteration):
107
107
  ### 1b. Detect resumed development on completed project
108
108
  If MEMORY.md indicates "Project complete" (Current Phase contains "PROJECT COMPLETE" or Next says "project complete"):
109
109
 
110
- **Check for new work from two sources:**
110
+ **Check for new work from THREE sources (all three are mandatory, in this order):**
111
111
 
112
- 1. **TODO.md** — check for unchecked tasks (`- [ ]`). User may have added new phases/tasks directly.
113
- 2. **External issues** (if git integration active) — delegate to `devops-integrator`: "Run external issue intake — check for new issues on GitHub/GitLab/ClickUp that are not yet in TODO.md. Ingest bugs and feature requests." This catches issues created by the user or team members on the platform while the project was "complete".
112
+ 1. **Working tree** — run this FIRST, before anything else:
113
+ ```bash
114
+ git status --short | grep -v -E '^\?\? (\.env|node_modules/|\.claude/autonomous-state\.json)'
115
+ ```
116
+ If this produces ANY output (untracked `??`, modified `M`, added `A`, deleted `D`, etc.):
117
+ - **The project is NOT complete.** These are source files that were never committed.
118
+ - Create a task in TODO.md: `- [ ] **Review and commit uncommitted files** — [count] uncommitted files found in working tree (Complexity: S, Type: fullstack)`
119
+ - Reset MEMORY.md to active state (clear "PROJECT COMPLETE", set the new task as Next)
120
+ - Continue with normal health check (step 2+). **Do NOT check sources 2 or 3. Do NOT end session.**
121
+
122
+ 2. **TODO.md** — check for unchecked tasks (`- [ ]`). User may have added new phases/tasks directly.
123
+
124
+ 3. **External issues** (if git integration active) — delegate to `devops-integrator`: "Run external issue intake — check for new issues on GitHub/GitLab/ClickUp that are not yet in TODO.md. Ingest bugs and feature requests." This catches issues created by the user or team members on the platform while the project was "complete".
114
125
 
115
- **If new tasks are found** (from either source):
126
+ **If new work found from ANY source** (uncommitted files, unchecked tasks, or external issues):
116
127
  - Reset MEMORY.md for the new phase:
117
128
  1. Find the first unchecked task's phase heading in TODO.md (e.g., `## Phase 9 — ...`)
118
129
  2. Update MEMORY.md `Current Phase` to that phase name
@@ -123,9 +134,11 @@ If MEMORY.md indicates "Project complete" (Current Phase contains "PROJECT COMPL
123
134
  7. **Do NOT delete** the `Done` section or `Release History` — previous work is preserved
124
135
  - Then continue with the normal health check (step 2+). The new tasks will be picked up in STEP 1.
125
136
 
126
- **If no new tasks found** (TODO.md has no `[ ]` and no external issues ingested):
127
- - Run `git status --short` if there are uncommitted/untracked source files (excluding `.env`, `node_modules/`, `.claude/autonomous-state.json`), the project is NOT complete. These files need to be reviewed and committed. Create a task: `- [ ] **Review uncommitted files** — [count] uncommitted files found after completion, review and commit or discard (Complexity: S, Type: fullstack)` and continue development.
128
- - If working tree is clean → project is truly complete, end session.
137
+ **Project is truly complete ONLY when ALL THREE sources return nothing:**
138
+ - `git status --short` is clean (no uncommitted/untracked source files)
139
+ - TODO.md has no `[ ]` tasks
140
+ - No new external issues ingested
141
+ → End session.
129
142
 
130
143
  ### 2. Resolve app names and package manager
131
144
  - Read CLAUDE.md — find app name(s) and package manager from the Architecture/Tech Stack section
@@ -0,0 +1 @@
1
+ .claude/
@@ -295,7 +295,7 @@ Page-level VRT using Playwright `toHaveScreenshot()` at 3 viewports (375px, 768p
295
295
 
296
296
  Config templates are in `.claude/templates/` — copy to project root during Phase 0 scaffolding:
297
297
  - **ESLint**: `.claude/templates/eslint.config.js` → `eslint.config.js` (flat config, `@typescript-eslint/strict-type-checked` + `@nx/eslint-plugin` + `eslint-plugin-simple-import-sort` + `eslint-plugin-prefer-arrow-functions`). Add framework-specific rules from `.claude/profiles/frontend.md`.
298
- - **Prettier**: `.claude/templates/.prettierrc` → `.prettierrc`
298
+ - **Prettier**: `.claude/templates/.prettierrc` → `.prettierrc`, `.claude/templates/.prettierignore` → `.prettierignore`
299
299
  - **Stylelint**: `.claude/templates/.stylelintrc.json` → `.stylelintrc.json` (SCSS only, forces theme tokens over hardcoded colors)
300
300
  - **Pre-commit hooks**: `.claude/templates/.lefthook.yml` → `.lefthook.yml`
301
301
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-claude-workspace",
3
- "version": "1.1.113",
3
+ "version": "1.1.115",
4
4
  "author": "",
5
5
  "repository": {
6
6
  "type": "git",