create-claude-rails 0.5.7 → 0.5.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-claude-rails",
3
- "version": "0.5.7",
3
+ "version": "0.5.8",
4
4
  "description": "Claude on Rails — opinionated process scaffolding for Claude Code projects",
5
5
  "bin": {
6
6
  "create-claude-rails": "bin/create-claude-rails.js"
@@ -22,7 +22,7 @@ whole system work out of the box. Wave 6 documents how Flow extends
22
22
  and will adopt the package — see [EXTENSIONS.md](EXTENSIONS.md) for
23
23
  annotated phase file overrides, reusable patterns, and perspective
24
24
  writing examples. Wave 7 adds the lifecycle layer — onboarding,
25
- capability seeding, upgrades, and box health monitoring.
25
+ capability seeding, upgrades, and CoR health monitoring.
26
26
 
27
27
  Everything is organized to mirror the `.claude/` directory structure, so
28
28
  adoption is straightforward: copy what you need into your project's
@@ -106,7 +106,7 @@ execution, audit). Each is a named domain expert encoded in markdown.
106
106
 
107
107
  | Perspective | Domain | Activation |
108
108
  |------------|--------|-----------|
109
- | `box-health` | CoR adoption health, phase file coverage, configuration drift, anti-bloat | Always-on during audit |
109
+ | `cor-health` | CoR adoption health, phase file coverage, configuration drift, anti-bloat | Always-on during audit |
110
110
 
111
111
  **Infrastructure files (7):**
112
112
 
@@ -430,7 +430,7 @@ This package includes all 7 waves of the extraction:
430
430
  reusable patterns, perspective writing guide with 3 examples)
431
431
  7. **Lifecycle layer** — done (onboard skeleton for project adoption with
432
432
  3-mode re-runnability, seed skeleton for capability seeding from tech
433
- signals, upgrade skeleton for conversational box updates, box-health
433
+ signals, upgrade skeleton for conversational box updates, cor-health
434
434
  perspective for adoption monitoring, pib-db enhancements: status
435
435
  tracking, tags, update-action command, migration logic)
436
436
 
@@ -246,7 +246,72 @@ generalizable pattern, perspective, or convention? If so, mention
246
246
  `/extract` as an option for proposing it upstream to CoR. This is
247
247
  rarer than project-specific skills.
248
248
 
249
- ### 10. Capture Loose Ends (core)
249
+ ### 10. Perspective Check (core)
250
+
251
+ Silently reflect: is this project's expertise coverage still right
252
+ for what it's actually doing?
253
+
254
+ This is the anti-entropy mechanism for the perspective cabinet. Without
255
+ it, a project can adopt a framework, start handling sensitive data, or
256
+ grow complex enough to need architectural review — and none of the
257
+ relevant expertise ever activates because nobody ran `/seed`.
258
+
259
+ **Two checks, both silent unless they find something:**
260
+
261
+ **Check A — Uncovered technology.** Quickly scan what this session
262
+ touched. Did the work involve a framework, library, data store, or
263
+ infrastructure that isn't covered by any existing perspective? Compare
264
+ against the perspectives in `.claude/skills/perspectives/` and the
265
+ groups in `_groups.yaml`.
266
+
267
+ Examples of what to catch:
268
+ - Session used Mantine components but there's no framework-quality
269
+ perspective
270
+ - Session wrote database queries but there's no data-integrity
271
+ perspective
272
+ - Session built UI but accessibility isn't in any active group
273
+
274
+ **Check B — Dormant perspective that should be active.** Are there
275
+ perspectives installed in the project that aren't in any `_groups.yaml`
276
+ group, but based on the last few sessions, probably should be? A
277
+ perspective sitting dormant while the project does exactly the kind of
278
+ work it's designed to review is a waste.
279
+
280
+ **Most sessions: nothing.** These checks should be completely silent
281
+ when nothing is off. Don't mention perspectives if everything is fine.
282
+
283
+ **When there's a gap:** Explain it plainly — no jargon about
284
+ "perspectives" or "cabinets." Talk about what the project is missing
285
+ in terms of what it would DO for them:
286
+
287
+ > "You've been building UI for the last few sessions, but nothing is
288
+ > checking whether it works well on phones or is usable for people
289
+ > with accessibility needs. I can set that up so it gets checked
290
+ > automatically when you run quality reviews. Want me to?"
291
+
292
+ or:
293
+
294
+ > "You're using Mantine a lot now. There's a specialist review that
295
+ > checks whether you're getting the full value from it — catching
296
+ > things like hand-rolling components that Mantine already provides.
297
+ > Want me to turn that on?"
298
+
299
+ or:
300
+
301
+ > "This project has gotten complex enough that it might help to have
302
+ > something watching whether the overall architecture still makes
303
+ > sense as it grows. Want me to set that up?"
304
+
305
+ If the user says yes, either:
306
+ - Activate a dormant perspective (add it to `_groups.yaml`)
307
+ - Run `/seed` to build a new one
308
+ - Install a Tier 3 perspective that isn't in the project yet
309
+
310
+ If the user says no, move on. Don't re-suggest the same gap next
311
+ session. Track declined suggestions in system-status.md or equivalent
312
+ so you don't nag.
313
+
314
+ ### 11. Capture Loose Ends (core)
250
315
 
251
316
  Read `phases/loose-ends.md` for non-project items and environmental
252
317
  concerns to capture before closing. Sessions generate non-project
@@ -255,14 +320,14 @@ these aren't captured somewhere, they rely on human memory.
255
320
 
256
321
  **Skip (absent/empty).**
257
322
 
258
- ### 11. Discover Custom Phases
323
+ ### 12. Discover Custom Phases
259
324
 
260
325
  After running the core phases above, check for any additional phase
261
326
  files in `phases/` that the skeleton doesn't define. These are project-
262
327
  specific extensions. Each custom phase file declares its position in
263
328
  the workflow. Execute them at their declared position.
264
329
 
265
- ### 12. Present Report (presentation)
330
+ ### 13. Present Report (presentation)
266
331
 
267
332
  Read `phases/report.md` for how to present the debrief summary.
268
333
 
@@ -294,7 +359,7 @@ skip presentation phases. Core phases always run.
294
359
 
295
360
  - **Core phases** (always run): inventory, close-work, auto-maintenance,
296
361
  update-state, health-checks, record-lessons, upstream-feedback,
297
- skill-discovery, loose-ends, persist work
362
+ skill-discovery, perspective-check, loose-ends, persist work
298
363
  - **Presentation phases** (skippable): report
299
364
 
300
365
  A project that wants a quick debrief variant skips the report and
@@ -256,7 +256,7 @@ looked like before, what changed, and why.
256
256
 
257
257
  Read `phases/post-onboard-audit.md` for the configuration sanity check.
258
258
 
259
- **Default (absent/empty):** Run a lightweight audit from the box-health
259
+ **Default (absent/empty):** Run a lightweight audit from the cor-health
260
260
  perspective, scoped to what was just generated. Checks interview–config
261
261
  coherence (did mentioned technologies get wired into phase files?),
262
262
  module–phase alignment (do phase files reference skipped modules?),
@@ -279,7 +279,7 @@ pre-flight check, not a deferred finding.
279
279
  | `generate-session-loop.md` | Default: wire orient/debrief phases | How to set up the session loop |
280
280
  | `modularity-menu.md` | Default: present module hierarchy | Which modules to present and how |
281
281
  | `summary.md` | Default: present changes + next steps | How to present results |
282
- | `post-onboard-audit.md` | Default: box-health sanity check | What to verify after generation |
282
+ | `post-onboard-audit.md` | Default: cor-health sanity check | What to verify after generation |
283
283
 
284
284
  ## Conversational Stance
285
285
 
@@ -1,7 +1,7 @@
1
1
  # Post-Onboard Audit — Configuration Sanity Check
2
2
 
3
3
  After generating all files and presenting the summary, run a lightweight
4
- audit from the box-health perspective to catch configuration issues before
4
+ audit from the cor-health perspective to catch configuration issues before
5
5
  the user starts their first session.
6
6
 
7
7
  When this file is absent or empty, the default behavior is: run the audit
@@ -20,7 +20,7 @@ starts relying on the configuration.
20
20
 
21
21
  ## What to Check
22
22
 
23
- Run as the **box-health perspective** but scoped to what onboard just
23
+ Run as the **cor-health perspective** but scoped to what onboard just
24
24
  generated. This is NOT a full audit — it's a focused sanity check on
25
25
  the fresh configuration.
26
26
 
@@ -111,7 +111,7 @@ finding — it's a pre-flight check.
111
111
 
112
112
  ## What This Is NOT
113
113
 
114
- - **Not a full box-health audit.** That runs periodically via /audit and
114
+ - **Not a full cor-health audit.** That runs periodically via /audit and
115
115
  covers telemetry, usage patterns, drift over time. This only checks
116
116
  what was just generated.
117
117
  - **Not a product quality review.** Whether the _context.md is well-written
@@ -46,4 +46,4 @@ groups:
46
46
  # - process
47
47
  # - documentation
48
48
  # - meta-process
49
- # - box-health # CoR adoption health, configuration drift, anti-bloat
49
+ # - cor-health # CoR adoption health, configuration drift, anti-bloat
@@ -1,7 +1,7 @@
1
1
  ---
2
- name: perspective-box-health
2
+ name: perspective-cor-health
3
3
  description: |
4
- Box adoption and configuration health analyst. Evaluates whether Claude on Rails is
4
+ CoR adoption and configuration health analyst. Evaluates whether Claude on Rails is
5
5
  configured correctly for this project — phase file coverage, perspective
6
6
  activation patterns, skill usage, configuration drift, anti-bloat.
7
7
  Different from meta-process (skill quality) — this checks adoption fitness.
@@ -14,7 +14,7 @@ files:
14
14
  - .claude/skills/perspectives/_groups.yaml
15
15
  - .claude/hooks/*.sh
16
16
  topics:
17
- - box health
17
+ - cor health
18
18
  - adoption
19
19
  - configuration
20
20
  - phase coverage
@@ -33,7 +33,7 @@ related:
33
33
  role: "Adjacent perspective — skill quality (not adoption health)"
34
34
  ---
35
35
 
36
- # Box Health
36
+ # CoR Health
37
37
 
38
38
  See `_context.md` for shared perspective context.
39
39
 
@@ -79,7 +79,7 @@ the *current state* of the project it serves.
79
79
  - **Files:** `.claude/skills/*/SKILL.md`, `.claude/skills/*/phases/*.md`,
80
80
  `.claude/skills/perspectives/*/SKILL.md`, `.claude/skills/perspectives/_groups.yaml`,
81
81
  `.claude/hooks/*.sh`
82
- - **Topics:** box health, adoption, configuration, phase coverage, bloat,
82
+ - **Topics:** cor health, adoption, configuration, phase coverage, bloat,
83
83
  retirement, drift
84
84
 
85
85
  Also activates when: