@neikyun/ciel 6.11.3 → 6.13.0
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/assets/.claude/agents/ciel-critic.md +71 -12
- package/assets/.claude/agents/ciel-explorer.md +59 -18
- package/assets/.claude/agents/ciel-improver.md +6 -3
- package/assets/.claude/agents/ciel-researcher.md +85 -25
- package/assets/.claude/hooks/block-destructive.sh +2 -2
- package/assets/.claude/hooks/check-test-first.sh +2 -2
- package/assets/.claude/hooks/memory-bootstrap.sh +0 -0
- package/assets/.claude/hooks/memory-engine.py +82 -15
- package/assets/.claude/hooks/post-tool-write.sh +32 -0
- package/assets/.claude/hooks/pre-agent-gate.sh +11 -6
- package/assets/.claude/hooks/pre-compact.sh +18 -0
- package/assets/.claude/hooks/pre-tool-write.sh +56 -31
- package/assets/.claude/hooks/session-start.sh +22 -1
- package/assets/.claude/hooks/session-version-check.sh +1 -1
- package/assets/.claude/hooks/stop.sh +104 -0
- package/assets/.claude/hooks/subagent-stop.sh +54 -0
- package/assets/.claude/hooks/track-file.sh +2 -2
- package/assets/.claude/hooks/user-prompt-submit.sh +11 -15
- package/assets/.claude/settings.json +18 -4
- package/assets/AGENTS.md +1 -1
- package/assets/CLAUDE.md +103 -175
- package/assets/commands/ciel-audit.md +58 -399
- package/assets/commands/ciel-create-skill.md +24 -38
- package/assets/commands/ciel-eval.md +25 -37
- package/assets/commands/ciel-init.md +36 -126
- package/assets/commands/ciel-status.md +22 -19
- package/assets/commands/ciel-update.md +20 -39
- package/assets/platforms/opencode/.opencode/agents/ciel-researcher.md +71 -895
- package/assets/platforms/opencode/.opencode/commands/ciel-audit.md +58 -296
- package/assets/platforms/opencode/.opencode/commands/ciel-create-skill.md +24 -46
- package/assets/platforms/opencode/.opencode/commands/ciel-eval.md +25 -45
- package/assets/platforms/opencode/.opencode/commands/ciel-init.md +36 -131
- package/assets/platforms/opencode/.opencode/commands/ciel-status.md +22 -24
- package/assets/platforms/opencode/.opencode/commands/ciel-update.md +20 -40
- package/assets/platforms/opencode/AGENTS.md +4 -4
- package/assets/rules/security.md +30 -0
- package/assets/rules/testing.md +23 -0
- package/assets/skills/agile/SKILL.md +42 -0
- package/assets/skills/alerting/SKILL.md +55 -0
- package/assets/skills/api-design/SKILL.md +46 -0
- package/assets/skills/appsec/SKILL.md +43 -0
- package/assets/skills/architecture/SKILL.md +74 -0
- package/assets/skills/backend/SKILL.md +41 -0
- package/assets/skills/backup-recovery/SKILL.md +42 -0
- package/assets/skills/caching/SKILL.md +44 -0
- package/assets/skills/cdn/SKILL.md +42 -0
- package/assets/skills/chaos/SKILL.md +41 -0
- package/assets/skills/cicd-pipeline/SKILL.md +56 -0
- package/assets/skills/cloud/SKILL.md +42 -0
- package/assets/skills/code-quality/SKILL.md +42 -0
- package/assets/skills/code-review/SKILL.md +41 -0
- package/assets/skills/communication/SKILL.md +42 -0
- package/assets/skills/containers/SKILL.md +42 -0
- package/assets/skills/cqrs/SKILL.md +41 -0
- package/assets/skills/crypto/SKILL.md +46 -0
- package/assets/skills/data-engineering/SKILL.md +42 -0
- package/assets/skills/database-design/SKILL.md +46 -0
- package/assets/skills/ddd/SKILL.md +45 -0
- package/assets/skills/deployment-strategies/SKILL.md +51 -0
- package/assets/skills/desktop/SKILL.md +42 -0
- package/assets/skills/devsecops/SKILL.md +43 -0
- package/assets/skills/event-driven/SKILL.md +46 -0
- package/assets/skills/frontend/SKILL.md +41 -0
- package/assets/skills/functional/SKILL.md +42 -0
- package/assets/skills/high-availability/SKILL.md +42 -0
- package/assets/skills/iac/SKILL.md +46 -0
- package/assets/skills/logging/SKILL.md +46 -0
- package/assets/skills/meta/ciel-improve/SKILL.md +127 -0
- package/assets/skills/meta/learnings-capture/SKILL.md +105 -0
- package/assets/skills/meta/patch-spec/patch-spec.md +50 -0
- package/assets/skills/meta/skill-creator/SKILL.md +115 -0
- package/assets/skills/meta/skill-freshness-auditor/SKILL.md +164 -0
- package/assets/skills/meta/skill-variant-evaluator/SKILL.md +100 -0
- package/assets/skills/meta/skills-first-design-auditor/SKILL.md +192 -0
- package/assets/skills/ml-engineering/SKILL.md +42 -0
- package/assets/skills/mobile/SKILL.md +42 -0
- package/assets/skills/monitoring/SKILL.md +54 -0
- package/assets/skills/networking/SKILL.md +42 -0
- package/assets/skills/nosql/SKILL.md +41 -0
- package/assets/skills/oop-solid/SKILL.md +42 -0
- package/assets/skills/performance/SKILL.md +41 -0
- package/assets/skills/reactive/SKILL.md +42 -0
- package/assets/skills/release-management/SKILL.md +51 -0
- package/assets/skills/research/fact-check-claims/SKILL.md +98 -0
- package/assets/skills/research/research-forums/SKILL.md +103 -0
- package/assets/skills/research/research-github-issues/SKILL.md +103 -0
- package/assets/skills/research/research-web-sources/SKILL.md +108 -0
- package/assets/skills/research/synthesize-findings/SKILL.md +112 -0
- package/assets/skills/research/validate-source-credibility/SKILL.md +103 -0
- package/assets/skills/resilience/SKILL.md +41 -0
- package/assets/skills/serverless/SKILL.md +42 -0
- package/assets/skills/servers/SKILL.md +41 -0
- package/assets/skills/sql/SKILL.md +45 -0
- package/assets/skills/supply-chain/SKILL.md +41 -0
- package/assets/skills/system-design/SKILL.md +91 -0
- package/assets/skills/tech-leadership/SKILL.md +46 -0
- package/assets/skills/testing/SKILL.md +41 -0
- package/assets/skills/tracing/SKILL.md +36 -0
- package/assets/skills/utility/branch-cleaner/SKILL.md +195 -0
- package/assets/skills/utility/branch-setup/SKILL.md +144 -0
- package/assets/skills/utility/changelog-updater/SKILL.md +125 -0
- package/assets/skills/utility/commit-writer/SKILL.md +154 -0
- package/assets/skills/utility/issue-closer/SKILL.md +106 -0
- package/assets/skills/utility/issue-creator/SKILL.md +200 -0
- package/assets/skills/utility/pr-merger/SKILL.md +189 -0
- package/assets/skills/utility/pr-opener/SKILL.md +180 -0
- package/assets/skills/utility/release-publisher/SKILL.md +224 -0
- package/assets/skills/workflow/ciel-dev-process/SKILL.md +94 -0
- package/assets/skills/workflow/faire-gatekeeper/SKILL.md +3 -1
- package/assets/skills/workflow/prouver-verifier/SKILL.md +11 -2
- package/dist/cli/check.d.ts.map +1 -1
- package/dist/cli/check.js +11 -2
- package/dist/cli/check.js.map +1 -1
- package/dist/cli/claude.d.ts.map +1 -1
- package/dist/cli/claude.js +0 -2
- package/dist/cli/claude.js.map +1 -1
- package/dist/cli/init.d.ts.map +1 -1
- package/dist/cli/init.js +11 -2
- package/dist/cli/init.js.map +1 -1
- package/dist/cli/opencode.d.ts.map +1 -1
- package/dist/cli/opencode.js +2 -1
- package/dist/cli/opencode.js.map +1 -1
- package/package.json +1 -1
- package/assets/commands/ciel-migrate.md +0 -35
- package/assets/commands/ciel-refresh.md +0 -91
|
@@ -1,50 +1,42 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: Runs the binary eval dataset for
|
|
2
|
+
description: Runs the binary eval dataset for a Ciel skill via headless Claude Code, comparing baseline scores and persisting results.
|
|
3
3
|
---
|
|
4
4
|
|
|
5
|
-
# /ciel-eval — Run eval harness
|
|
5
|
+
# /ciel-eval — Run skill eval harness
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Runs the binary eval dataset for a skill via headless Claude Code, persisting scoreboards to `~/.ciel/evals/results/`.
|
|
8
8
|
|
|
9
9
|
Usage: `/ciel-eval [skill-name]`
|
|
10
10
|
|
|
11
|
-
- No arg
|
|
12
|
-
- `skill-name`
|
|
11
|
+
- No arg — runs baseline eval for ALL skills that have a dataset
|
|
12
|
+
- `skill-name` — runs eval for that skill only
|
|
13
13
|
|
|
14
14
|
---
|
|
15
15
|
|
|
16
16
|
## What it does
|
|
17
17
|
|
|
18
|
-
1. Dispatches
|
|
19
|
-
2.
|
|
20
|
-
3. For each target skill:
|
|
18
|
+
1. Dispatches `ciel-improver` agent in MODE=EVAL
|
|
19
|
+
2. For each target skill:
|
|
21
20
|
- Loads dataset from `evals/datasets/<skill-name>.jsonl`
|
|
22
|
-
-
|
|
23
|
-
-
|
|
24
|
-
|
|
25
|
-
|
|
21
|
+
- Runs each entry via `claude --print` headless
|
|
22
|
+
- Scores against expected behaviors
|
|
23
|
+
3. Persists results to `~/.ciel/evals/results/<skill-name>-<timestamp>.json`
|
|
24
|
+
4. Returns a scoreboard
|
|
26
25
|
|
|
27
26
|
---
|
|
28
27
|
|
|
29
28
|
## Example output
|
|
30
29
|
|
|
31
30
|
```
|
|
32
|
-
# Eval results —
|
|
31
|
+
# Eval results — api-design
|
|
33
32
|
|
|
34
|
-
Dataset: evals/datasets/
|
|
35
|
-
Variants evaluated: 3
|
|
33
|
+
Dataset: evals/datasets/api-design.jsonl (12 entries)
|
|
36
34
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
| B (tightened) | 0.89 | 15.1k | 13.2s ← WINNER |
|
|
41
|
-
| C (reduced) | 0.81 | 12.8k | 11.7s |
|
|
35
|
+
Score: 0.85 (25/28 criteria passed)
|
|
36
|
+
Tokens used: 18.2k
|
|
37
|
+
Duration: 15.3s
|
|
42
38
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
Recommendation: adopt Variant B via `/ciel-improve`
|
|
46
|
-
|
|
47
|
-
Result persisted: evals/results/flux-narrator-2026-04-17-142345.json
|
|
39
|
+
Result persisted: ~/.ciel/evals/results/api-design-2026-05-23-142345.json
|
|
48
40
|
```
|
|
49
41
|
|
|
50
42
|
---
|
|
@@ -52,29 +44,25 @@ Result persisted: evals/results/flux-narrator-2026-04-17-142345.json
|
|
|
52
44
|
## Guardrails
|
|
53
45
|
|
|
54
46
|
- **Max 20 eval entries per dataset** — prevents runaway costs
|
|
55
|
-
- **
|
|
56
|
-
- **
|
|
57
|
-
- **
|
|
58
|
-
- **Graceful fallback** — if `claude --print` is unavailable, outputs manual eval prompts and waits for user input
|
|
47
|
+
- **Cost estimation** — displayed before starting; abort if > 500k tokens projected
|
|
48
|
+
- **Read-only**: `--disallowed-tools "Write Edit NotebookEdit"` to prevent side effects
|
|
49
|
+
- **Graceful fallback**: if `claude --print` unavailable, outputs manual eval prompts
|
|
59
50
|
|
|
60
51
|
---
|
|
61
52
|
|
|
62
53
|
## When to run
|
|
63
54
|
|
|
64
|
-
- Before and after
|
|
65
|
-
- On
|
|
66
|
-
- When creating a new skill — establish baseline
|
|
67
|
-
- When adding new eval criteria — re-score existing skills
|
|
55
|
+
- Before and after `/ciel-improve` — baseline vs improved
|
|
56
|
+
- On VERSION bump — regression sanity check
|
|
57
|
+
- When creating a new skill — establish baseline
|
|
68
58
|
|
|
69
59
|
---
|
|
70
60
|
|
|
71
61
|
## Eval dataset format
|
|
72
62
|
|
|
73
|
-
One JSON object per line (JSONL).
|
|
63
|
+
One JSON object per line (JSONL). Required fields:
|
|
74
64
|
|
|
75
65
|
- `id` — unique in dataset
|
|
76
66
|
- `input` — prompt / context passed to skill
|
|
77
|
-
- `expected_behavior` — object mapping criterion name
|
|
67
|
+
- `expected_behavior` — object mapping criterion name to boolean
|
|
78
68
|
- `skill` — which skill this tests
|
|
79
|
-
|
|
80
|
-
See `skills/meta/skill-variant-evaluator/reference.md` for the full schema and supported criterion evaluators.
|
|
@@ -1,22 +1,20 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: Bootstrap or repair Ciel wiring. Auto-detects platform (Claude Code
|
|
2
|
+
description: Bootstrap or repair Ciel v7 wiring. Auto-detects platform (Claude Code or OpenCode) and configures hooks, agents, and commands. Preserves existing config, creates backups.
|
|
3
3
|
---
|
|
4
4
|
|
|
5
5
|
# /ciel-init — Wire Ciel into Current Project
|
|
6
6
|
|
|
7
|
-
**Purpose:** Fix the #1
|
|
7
|
+
**Purpose:** Fix the #1 failure mode — hooks not firing because config is missing or has wrong paths.
|
|
8
8
|
|
|
9
|
-
**Usage:** `/ciel-init [--check] [--user] [--platform=
|
|
9
|
+
**Usage:** `/ciel-init [--check] [--user] [--platform=claude|opencode]`
|
|
10
10
|
|
|
11
11
|
- `--check` — Dry-run: show what would change without writing
|
|
12
12
|
- `--user` — Install to user scope (~/.claude/settings.json) instead of project
|
|
13
|
-
- `--platform=NAME` — Force platform (
|
|
14
|
-
|
|
15
|
-
---
|
|
13
|
+
- `--platform=NAME` — Force platform (default: auto-detect)
|
|
16
14
|
|
|
17
15
|
## Instructions
|
|
18
16
|
|
|
19
|
-
|
|
17
|
+
This is deterministic — NO agent dispatch, NO research, NO pipeline.
|
|
20
18
|
|
|
21
19
|
### Step 1: Detect Platform
|
|
22
20
|
|
|
@@ -25,144 +23,56 @@ Run detection in order (pick FIRST match):
|
|
|
25
23
|
1. **Project files:**
|
|
26
24
|
- `./opencode.json` or `./.opencode/` → **opencode**
|
|
27
25
|
- `./.claude/settings.json` or `./.claude/` → **claude**
|
|
28
|
-
- `./.cursor/` → **cursor**
|
|
29
|
-
- `./.windsurf/` → **windsurf**
|
|
30
|
-
- `./.codex/` → **codex**
|
|
31
|
-
- `./.kilocode/` or `./.kilo/` → **kilocode**
|
|
32
26
|
|
|
33
27
|
2. **CLI availability:**
|
|
34
28
|
- `command -v claude` → **claude**
|
|
35
29
|
- `command -v opencode` → **opencode**
|
|
36
|
-
- `command -v ollama` → **ollama**
|
|
37
30
|
|
|
38
31
|
3. **If ambiguous:** Ask user to specify with `--platform=NAME`
|
|
39
32
|
|
|
40
|
-
### Step 2: Find Ciel
|
|
33
|
+
### Step 2: Find Ciel Source
|
|
41
34
|
|
|
42
35
|
Check in order:
|
|
43
|
-
1. `$
|
|
44
|
-
2. `$HOME/.
|
|
45
|
-
3.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
If missing → Copy from nearest Ciel source or tell user to reinstall.
|
|
62
|
-
|
|
63
|
-
### Step 4: Configure Platform
|
|
64
|
-
|
|
65
|
-
#### Claude Code Branch
|
|
66
|
-
|
|
67
|
-
**Config file:** `./.claude/settings.json` (project) or `$HOME/.claude/settings.json` (user)
|
|
68
|
-
|
|
69
|
-
**Before writing:**
|
|
70
|
-
1. Check CWD sanity — warn if running Claude from different directory
|
|
71
|
-
2. Backup existing config: `cp file.json file.json.bak-TIMESTAMP`
|
|
72
|
-
|
|
73
|
-
**Write config:**
|
|
74
|
-
```json
|
|
75
|
-
{
|
|
76
|
-
"hooks": {
|
|
77
|
-
"SessionStart": { "command": "$CIEL_DIR/hooks/session-start.sh", "stdin": true },
|
|
78
|
-
"UserPromptSubmit": { "command": "$CIEL_DIR/hooks/user-prompt-submit.sh", "stdin": true },
|
|
79
|
-
"PreToolUse": { "command": "$CIEL_DIR/hooks/pre-tool-write.sh", "stdin": true, "matcher": "Write|Edit" },
|
|
80
|
-
"PostToolUse": { "command": "$CIEL_DIR/hooks/post-tool-write.sh", "stdin": true, "matcher": "Write|Edit" },
|
|
81
|
-
"PreCompact": { "command": "$CIEL_DIR/hooks/pre-compact.sh", "stdin": true },
|
|
82
|
-
"Stop": { "command": "$CIEL_DIR/hooks/stop.sh", "stdin": true }
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
```
|
|
86
|
-
|
|
87
|
-
#### OpenCode Branch
|
|
88
|
-
|
|
89
|
-
**Config file:** `./opencode.json`
|
|
90
|
-
|
|
91
|
-
**Before writing:**
|
|
92
|
-
1. Backup: `cp opencode.json opencode.json.bak-TIMESTAMP`
|
|
93
|
-
2. Merge existing config (preserve model, provider, mcp, keybinds)
|
|
94
|
-
|
|
95
|
-
**Ensure:**
|
|
36
|
+
1. `$CLAUDE_PROJECT_DIR/.claude/hooks/` — project-scoped install (v7 default)
|
|
37
|
+
2. `$HOME/.ciel/` — user-level sentinel
|
|
38
|
+
3. If not found → tell user to install:
|
|
39
|
+
```bash
|
|
40
|
+
bash <(curl -fsSL https://raw.githubusercontent.com/KaosKyun/Ciel/main/scripts/install.sh)
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### Step 3: Configure Platform
|
|
44
|
+
|
|
45
|
+
**Claude Code** — Backup then write `.claude/settings.json` with hooks registered:
|
|
46
|
+
- SessionStart, UserPromptSubmit, PreToolUse (Edit|Write + Bash rm + Agent), PostToolUse (Edit|Write), SubagentStart (ciel-*), Stop, SubagentStop, PreCompact
|
|
47
|
+
- Copy agents from source to `.claude/agents/`
|
|
48
|
+
- Copy commands from source to `.claude/commands/`
|
|
49
|
+
- Copy skills from source to `.claude/skills/`
|
|
50
|
+
- Ensure `CLAUDE.md` references Ciel pipeline
|
|
51
|
+
|
|
52
|
+
**OpenCode** — Backup then ensure `opencode.json`:
|
|
96
53
|
- `plugin` array contains `"./.opencode/plugins/ciel.ts"`
|
|
97
54
|
- `instructions` array contains `"AGENTS.md"`
|
|
55
|
+
- Copy plugin, agents, commands to `.opencode/`
|
|
98
56
|
|
|
99
|
-
|
|
100
|
-
- `.opencode/plugins/ciel.ts`
|
|
101
|
-
- `.opencode/agents/ciel-*.md` (6 files)
|
|
102
|
-
- `.opencode/commands/ciel-*.md` (9 files)
|
|
103
|
-
|
|
104
|
-
#### Other Platforms Branch
|
|
57
|
+
### Step 4: Verify
|
|
105
58
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
- **Kilocode:** `.kilocode/rules/ciel.md`, `.kilo/agents/*`
|
|
111
|
-
- **Ollama:** `Modelfile` (user runs `ollama create`)
|
|
112
|
-
- **LM Studio:** `ciel.preset.json`, `system-prompt.md`
|
|
59
|
+
1. Config file exists at expected path
|
|
60
|
+
2. Hooks are executable: `chmod +x .claude/hooks/*.sh`
|
|
61
|
+
3. Agent definitions present (4 files)
|
|
62
|
+
4. Report summary: platform, config path, hooks count, next steps
|
|
113
63
|
|
|
114
|
-
|
|
64
|
+
## What's preserved
|
|
115
65
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
3. **Plugin file syntax valid** (for OpenCode: `npx tsc --noEmit`)
|
|
121
|
-
|
|
122
|
-
### Step 6: Report
|
|
123
|
-
|
|
124
|
-
Output summary:
|
|
125
|
-
|
|
126
|
-
```
|
|
127
|
-
✓ /ciel-init completed
|
|
128
|
-
|
|
129
|
-
Platform: Claude Code
|
|
130
|
-
Config: /path/to/settings.json
|
|
131
|
-
CIEL_DIR: /path/to/ciel
|
|
132
|
-
Hooks: 8/8 present
|
|
133
|
-
|
|
134
|
-
Next steps:
|
|
135
|
-
1. Restart Claude Code
|
|
136
|
-
2. Run a test prompt — should see depth hint
|
|
137
|
-
3. Make code changes — should see RELIRE reminder
|
|
138
|
-
```
|
|
139
|
-
|
|
140
|
-
---
|
|
66
|
+
- `ciel-overlay.md` — project-specific rules
|
|
67
|
+
- `.ciel/` — state directory (map.json, memory.json, parking.md)
|
|
68
|
+
- Existing `settings.json` — merged non-destructively
|
|
69
|
+
- Existing `opencode.json` — merged non-destructively
|
|
141
70
|
|
|
142
71
|
## Error Handling
|
|
143
72
|
|
|
144
73
|
| Error | Action |
|
|
145
74
|
|-------|--------|
|
|
146
|
-
| Ciel
|
|
147
|
-
| Hooks missing | Try to copy from source, else reinstall |
|
|
75
|
+
| Ciel source not found | Tell user to run install script |
|
|
148
76
|
| Config write fails | Show manual instructions |
|
|
149
77
|
| Platform ambiguous | Ask user to specify with --platform |
|
|
150
|
-
| Permission denied |
|
|
151
|
-
|
|
152
|
-
---
|
|
153
|
-
|
|
154
|
-
## Examples
|
|
155
|
-
|
|
156
|
-
```bash
|
|
157
|
-
# Auto-detect and install to project
|
|
158
|
-
/ciel-init
|
|
159
|
-
|
|
160
|
-
# Force Claude Code, user scope
|
|
161
|
-
/ciel-init --platform=claude --user
|
|
162
|
-
|
|
163
|
-
# Check what would change (dry-run)
|
|
164
|
-
/ciel-init --check
|
|
165
|
-
|
|
166
|
-
# Force OpenCode
|
|
167
|
-
/ciel-init --platform=opencode
|
|
168
|
-
```
|
|
78
|
+
| Permission denied | Check file permissions |
|
|
@@ -1,40 +1,43 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: Displays
|
|
2
|
+
description: Displays current Ciel environment status — version, platform, hooks, skills, agents, commands, memory health. Diagnostic entry point for "is Ciel working?" questions.
|
|
3
3
|
---
|
|
4
4
|
|
|
5
5
|
# /ciel-status — Ciel Environment Health Check
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Displays the current Ciel environment status: version, platform, hooks, skills, agents, and config health.
|
|
8
8
|
|
|
9
9
|
Usage: `/ciel-status [--check]`
|
|
10
10
|
|
|
11
|
-
-
|
|
11
|
+
- No flag — summary view
|
|
12
|
+
- `--check` — run full diagnostics (verify hooks fire, skills load, config valid)
|
|
12
13
|
|
|
13
|
-
##
|
|
14
|
+
## Summary output
|
|
14
15
|
|
|
15
16
|
```
|
|
16
17
|
## CIEL STATUS
|
|
17
18
|
|
|
18
|
-
Version:
|
|
19
|
+
Version: v4.0.1
|
|
19
20
|
Platform: Claude Code
|
|
20
|
-
Config: .claude/settings.json — OK
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
Config: .claude/settings.json — OK
|
|
22
|
+
Hooks: 12 registered
|
|
23
|
+
Skills: 48 domain skills in .claude/skills/
|
|
24
|
+
Agents: 4 sub-agents (researcher, explorer, critic, improver)
|
|
25
|
+
Commands: 7 available
|
|
26
|
+
Memory: .ciel/memory/ — N episodes
|
|
24
27
|
```
|
|
25
28
|
|
|
26
29
|
## Diagnostics (--check)
|
|
27
30
|
|
|
28
|
-
-
|
|
29
|
-
-
|
|
30
|
-
-
|
|
31
|
-
-
|
|
32
|
-
-
|
|
33
|
-
-
|
|
34
|
-
-
|
|
31
|
+
- CLAUDE.md readable and includes Ciel pipeline
|
|
32
|
+
- .claude/settings.json valid JSON, all hooks registered
|
|
33
|
+
- .ciel/map.json parseable
|
|
34
|
+
- .ciel/memory/index.json present
|
|
35
|
+
- Shell hooks executable and firing
|
|
36
|
+
- Skills directory non-empty
|
|
37
|
+
- Agent definitions present (4 files)
|
|
35
38
|
|
|
36
|
-
## When
|
|
39
|
+
## When to use
|
|
37
40
|
|
|
38
|
-
-
|
|
39
|
-
-
|
|
41
|
+
- After `/ciel-init` to verify installation
|
|
42
|
+
- When "is Ciel working?" is asked
|
|
40
43
|
- Debugging hook failures or missing depth classification
|
|
@@ -1,62 +1,43 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: Check GitHub for newer Ciel release and re-install.
|
|
2
|
+
description: Check GitHub for newer Ciel release and re-install. Preserves project config — ciel-overlay.md, .ciel/, settings.json.
|
|
3
3
|
---
|
|
4
4
|
|
|
5
5
|
# /ciel-update — Update Ciel to the latest version
|
|
6
6
|
|
|
7
7
|
Checks GitHub for a newer release and re-installs if available.
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
1. **Check version**: `bash scripts/install.sh --check-update`
|
|
12
|
-
- Fetches `VERSION` from GitHub, compares with local
|
|
13
|
-
- Prints "up to date" or "update available"
|
|
14
|
-
|
|
15
|
-
2. **Apply update**: `bash scripts/install.sh --update -y`
|
|
16
|
-
- Re-installs all Ciel files (plugins, agents, commands, hooks)
|
|
17
|
-
- Preserves: `ciel-overlay.md`, `.ciel/`, existing configs
|
|
18
|
-
- Non-destructive merge on `opencode.json`
|
|
9
|
+
Usage: `/ciel-update [--check]`
|
|
19
10
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
- Skip if npm is not available or the package isn't installed globally
|
|
11
|
+
- No flag — full update (check + apply)
|
|
12
|
+
- `--check` — only check remote version, report, don't install
|
|
23
13
|
|
|
24
|
-
##
|
|
25
|
-
|
|
26
|
-
| Flag | Purpose |
|
|
27
|
-
|------|---------|
|
|
28
|
-
| `--check-update` | Check remote version, don't install |
|
|
29
|
-
| `--update` / `-u` | Force reinstall all files |
|
|
30
|
-
| `-y` | Skip confirmation (non-interactive) |
|
|
31
|
-
| `-q` | Quiet mode (summary only) |
|
|
32
|
-
|
|
33
|
-
## One-liner
|
|
14
|
+
## Steps
|
|
34
15
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
```
|
|
16
|
+
1. **Check version**: fetch `VERSION` from GitHub, compare with `.ciel/version` or `VERSION`
|
|
17
|
+
2. **Apply update**: re-install all Ciel files (hooks, agents, commands, skills, plugin)
|
|
18
|
+
3. **Verify**: confirm hooks executable, agents present, config valid
|
|
39
19
|
|
|
40
20
|
## What's preserved
|
|
41
21
|
|
|
42
22
|
- `ciel-overlay.md` — project-specific rules
|
|
43
|
-
- `.ciel
|
|
44
|
-
-
|
|
45
|
-
- `.
|
|
23
|
+
- `.ciel/` — state directory (map.json, memory/, parking.md)
|
|
24
|
+
- `.claude/settings.json` — merged non-destructively
|
|
25
|
+
- `.opencode/opencode.json` — merged non-destructively
|
|
46
26
|
|
|
47
27
|
## What's replaced
|
|
48
28
|
|
|
49
|
-
- `.opencode/plugins/ciel.ts` — fresh plugin
|
|
50
|
-
- `.opencode/agents/ciel-*.md` — agent definitions
|
|
51
|
-
- `.opencode/commands/ciel-*.md` — command files
|
|
52
|
-
- `.claude/agents/ciel-*.md` — Claude Code agents
|
|
53
29
|
- `.claude/hooks/*.sh` — shell hooks
|
|
54
|
-
-
|
|
30
|
+
- `.claude/agents/ciel-*.md` — agent definitions
|
|
31
|
+
- `.claude/commands/ciel-*.md` — command files
|
|
32
|
+
- `.claude/skills/` — domain skills
|
|
33
|
+
- `.opencode/plugins/ciel.ts` — plugin
|
|
34
|
+
- `.opencode/agents/ciel-*.md` — OpenCode agents
|
|
35
|
+
- `.opencode/commands/ciel*.md` — OpenCode commands
|
|
55
36
|
|
|
56
37
|
## Troubleshooting
|
|
57
38
|
|
|
58
39
|
| Symptom | Fix |
|
|
59
40
|
|---------|-----|
|
|
60
|
-
|
|
|
61
|
-
| Plugin not loaded after update | Restart
|
|
62
|
-
|
|
|
41
|
+
| Could not fetch remote version | Check internet or proxy: `https_proxy=...` |
|
|
42
|
+
| Plugin not loaded after update | Restart editor (plugin loaded at session start) |
|
|
43
|
+
| Hook permissions after update | `chmod +x .claude/hooks/*.sh` |
|