oh-my-customcode 0.37.2 → 0.39.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.
Files changed (34) hide show
  1. package/README.md +20 -5
  2. package/dist/cli/index.js +1189 -99
  3. package/dist/index.js +4 -1
  4. package/package.json +3 -1
  5. package/templates/.claude/hooks/hooks.json +24 -12
  6. package/templates/.claude/hooks/scripts/agent-teams-advisor.sh +3 -0
  7. package/templates/.claude/hooks/scripts/audit-log.sh +3 -0
  8. package/templates/.claude/hooks/scripts/content-hash-validator.sh +3 -0
  9. package/templates/.claude/hooks/scripts/context-budget-advisor.sh +4 -1
  10. package/templates/.claude/hooks/scripts/eval-core-batch-save.sh +23 -0
  11. package/templates/.claude/hooks/scripts/git-delegation-guard.sh +3 -0
  12. package/templates/.claude/hooks/scripts/model-escalation-advisor.sh +3 -0
  13. package/templates/.claude/hooks/scripts/schema-validator.sh +3 -0
  14. package/templates/.claude/hooks/scripts/secret-filter.sh +3 -0
  15. package/templates/.claude/hooks/scripts/session-env-check.sh +20 -0
  16. package/templates/.claude/hooks/scripts/stuck-detector.sh +4 -1
  17. package/templates/.claude/hooks/scripts/task-outcome-recorder.sh +16 -1
  18. package/templates/.claude/rules/MAY-optimization.md +12 -0
  19. package/templates/.claude/rules/MUST-agent-design.md +45 -7
  20. package/templates/.claude/rules/MUST-completion-verification.md +81 -0
  21. package/templates/.claude/rules/SHOULD-memory-integration.md +81 -0
  22. package/templates/.claude/skills/de-lead-routing/SKILL.md +8 -92
  23. package/templates/.claude/skills/deep-plan/SKILL.md +55 -4
  24. package/templates/.claude/skills/dev-lead-routing/SKILL.md +9 -21
  25. package/templates/.claude/skills/dev-refactor/SKILL.md +34 -1
  26. package/templates/.claude/skills/evaluator-optimizer/SKILL.md +53 -0
  27. package/templates/.claude/skills/qa-lead-routing/SKILL.md +7 -242
  28. package/templates/.claude/skills/research/SKILL.md +74 -7
  29. package/templates/.claude/skills/sauron-watch/SKILL.md +81 -0
  30. package/templates/.claude/skills/secretary-routing/SKILL.md +3 -18
  31. package/templates/.claude/skills/structured-dev-cycle/SKILL.md +20 -3
  32. package/templates/guides/claude-code/index.yaml +5 -0
  33. package/templates/manifest.json +3 -3
  34. package/templates/.claude/hooks/scripts/session-compliance-report.sh +0 -65
package/README.md CHANGED
@@ -21,6 +21,20 @@ npm install -g oh-my-customcode && cd your-project && omcustom init
21
21
 
22
22
  ---
23
23
 
24
+ ## What's New in v0.38.0
25
+
26
+ | Feature | Description |
27
+ |---------|-------------|
28
+ | **Interactive Init Wizard** | `omcustom init` now uses `@clack/prompts` for guided setup — language, framework, team mode |
29
+ | **PostCompact Hook** | Automatic rule reinforcement after context compaction (CC v2.1.76+) — prevents rule amnesia |
30
+ | **@omcustom/eval-core MVP** | LLM evaluation engine: session/turn/outcome collection, SQLite via Drizzle ORM, CLI interface |
31
+ | **Codex-exec Auto-delegation** | Routing skills automatically delegate to Codex when available |
32
+ | **CC v2.1.72~v2.1.76 Compatibility** | SessionEnd timeout config, HTML comment optimization, `autoMemoryDirectory`, full model ID support |
33
+ | **Template Full Sync** | All 200+ template files are byte-identical to source |
34
+ | **Hook System Hardening** | Duplicate recorder removal, context-budget field fix, orphan cleanup |
35
+
36
+ ---
37
+
24
38
  ## Philosophy
25
39
 
26
40
  oh-my-customcode is built on two ideas:
@@ -128,7 +142,7 @@ Each agent declares its tools, model, memory scope, and limitations in YAML fron
128
142
 
129
143
  | Category | Count | Includes |
130
144
  |----------|-------|----------|
131
- | Best Practices | 22 | Go, Python, TypeScript, Kotlin, Rust, React, FastAPI, Spring Boot, Django, Flutter, Docker, AWS, Postgres, Redis, Kafka, dbt, Spark, Snowflake, Airflow, and more |
145
+ | Best Practices | 23 | Go, Python, TypeScript, Kotlin, Rust, React, FastAPI, Spring Boot, Django, Flutter, Docker, AWS, Postgres, Redis, Kafka, dbt, Spark, Snowflake, Airflow, pipeline-architecture-patterns, and more |
132
146
  | Routing | 4 | secretary, dev-lead, de-lead, qa-lead |
133
147
  | Workflow | 12 | structured-dev-cycle, deep-plan, research, evaluator-optimizer, dag-orchestration, worker-reviewer-pipeline, reasoning-sandwich, and more |
134
148
  | Development | 7 | dev-review, dev-refactor, analysis, create-agent, intent-detection, web-design-guidelines, omcustom-takeover |
@@ -189,7 +203,7 @@ All commands are invoked inside the Claude Code conversation.
189
203
 
190
204
  ---
191
205
 
192
- ### Rules (19)
206
+ ### Rules (20)
193
207
 
194
208
  | Priority | Count | Purpose |
195
209
  |----------|-------|---------|
@@ -209,22 +223,23 @@ Reference documentation covering best practices, architecture decisions, and int
209
223
 
210
224
  ## Safety
211
225
 
212
- oh-my-customcode includes three security hooks that run on every tool call:
226
+ oh-my-customcode includes security and lifecycle hooks:
213
227
 
214
228
  | Hook | Trigger | Action |
215
229
  |------|---------|--------|
216
230
  | secret-filter | Bash, Read output | Detects AWS keys, API tokens, private keys, bearer tokens |
217
231
  | audit-log | Edit, Write, Bash, Agent | Append-only JSONL at `~/.claude/audit.jsonl` |
218
232
  | schema-validator | Write, Edit, Bash input | Validates tool inputs, flags dangerous patterns |
233
+ | PostCompact | Context compaction | Reinjects enforced rules (R007–R018) — prevents rule amnesia |
219
234
 
220
- All security hooks are advisory (exit 0). They warn but never block.
235
+ Security hooks are advisory (exit 0). They warn but never block.
221
236
 
222
237
  ---
223
238
 
224
239
  ## CLI
225
240
 
226
241
  ```bash
227
- omcustom init # Initialize in project
242
+ omcustom init # Interactive setup wizard (language, framework, team mode)
228
243
  omcustom init --lang ko # Initialize with Korean
229
244
  omcustom update # Update to latest
230
245
  omcustom list # List components