cc-workspace 4.0.3 → 4.0.4

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.
Files changed (2) hide show
  1. package/README.md +8 -13
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -224,7 +224,7 @@ All hooks are **non-blocking** (exit 0 + warning). No hook blocks the session.
224
224
  | Template | Usage |
225
225
  |----------|-------|
226
226
  | `workspace.template.md` | Structure for workspace.md (project, service map, relationships, rules, onboarding) |
227
- | `constitution.template.md` | Structure for constitution.md (project rules 13+) |
227
+ | `constitution.template.md` | Structure for constitution.md (your engineering principles) |
228
228
  | `claude-md.template.md` | Standardized structure for repo CLAUDE.md files (stack, arch, rules, tests, anti-patterns) |
229
229
 
230
230
  ---
@@ -251,17 +251,13 @@ The `orchestrator/` directory is portable:
251
251
 
252
252
  ## The constitution
253
253
 
254
- ### Global (scoped to workspace)
254
+ `constitution.md` in orchestrator/. You define **all** your engineering
255
+ principles here — security, UX, code quality, process, project-specific rules.
256
+ The `workspace-init` agent helps you write it interactively.
255
257
 
256
- 12 universal principles in `~/.claude/rules/constitution-en.md`.
257
- Scoped to orchestrator files (`workspace.md`, `plans/**`, etc.).
258
- **v4.0**: teammates no longer receive it automatically.
259
- The orchestrator includes it in every spawn prompt.
260
-
261
- ### Project (to customize)
262
-
263
- `constitution.md` in orchestrator/. Contains **only** project-specific
264
- rules (numbered 13+).
258
+ There is no global constitution imposed by the package. Each workspace
259
+ defines its own rules. The orchestrator includes the full constitution
260
+ in every teammate spawn prompt (teammates don't receive it automatically).
265
261
 
266
262
  ---
267
263
 
@@ -307,7 +303,6 @@ cc-workspace/
307
303
  ├── LICENSE
308
304
 
309
305
  └── global-skills/ <- components installed in ~/.claude/
310
- ├── constitution.md <- 12 principles (EN)
311
306
  ├── templates/
312
307
  │ ├── workspace.template.md
313
308
  │ ├── constitution.template.md
@@ -357,7 +352,7 @@ The setup is safe to re-run:
357
352
  | 7 | **Warning-only hooks** | No more blocking hooks (exit 2 -> exit 0). |
358
353
  | 8 | **verify-cycle-complete removed** | No more exit blocking. |
359
354
  | 9 | **Orchestrator can write** | In orchestrator/ only. Dynamic path-aware hook. |
360
- | 10 | **Scoped constitution** | `globs: ["*"]` -> orchestrator files only. |
355
+ | 10 | **Per-workspace constitution** | No global constitution each workspace defines its own rules. |
361
356
  | 11 | **30-line limit removed** | The orchestrator adapts verbosity to context. |
362
357
  | 12 | **Structured templates** | workspace.template.md + constitution.template.md + claude-md.template.md. |
363
358
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cc-workspace",
3
- "version": "4.0.3",
3
+ "version": "4.0.4",
4
4
  "description": "Claude Code multi-workspace orchestrator — skills, hooks, agents, and templates for multi-service projects",
5
5
  "bin": {
6
6
  "cc-workspace": "./bin/cli.js"