oh-my-customcode 0.169.0 → 0.170.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/README.md CHANGED
@@ -213,7 +213,7 @@ All commands are invoked inside the Claude Code conversation.
213
213
  | Priority | Count | Purpose |
214
214
  |----------|-------|---------|
215
215
  | **MUST** | 14 | Safety, permissions, agent design, identification, orchestration, verification, completion, enforcement |
216
- | **SHOULD** | 6 | Interaction, error handling, memory, HUD, ecomode, ontology routing |
216
+ | **SHOULD** | 8 | Interaction, error handling, memory, HUD, ecomode, ontology routing, wiki sync, verification ladder |
217
217
  | **MAY** | 1 | Optimization |
218
218
 
219
219
  Key rules: R010 (orchestrator never writes files), R009 (parallel execution mandatory), R017 (sauron verification before push), R020 (completion verification before declaring done), R021 (advisory-first enforcement model).
@@ -271,7 +271,7 @@ your-project/
271
271
  ├── .claude/
272
272
  │ ├── agents/ # 49 agent definitions
273
273
  │ ├── skills/ # 116 skill modules
274
- │ ├── rules/ # 22 governance rules (R000-R021)
274
+ │ ├── rules/ # 23 governance rules (R000-R023)
275
275
  │ ├── hooks/ # 15 lifecycle hook scripts
276
276
  │ ├── schemas/ # Tool input validation schemas
277
277
  │ ├── specs/ # Extracted canonical specs
package/dist/cli/index.js CHANGED
@@ -241,7 +241,7 @@ var init_package = __esm(() => {
241
241
  workspaces: [
242
242
  "packages/*"
243
243
  ],
244
- version: "0.169.0",
244
+ version: "0.170.0",
245
245
  description: "Batteries-included agent harness for Claude Code",
246
246
  type: "module",
247
247
  bin: {
package/dist/index.js CHANGED
@@ -2031,7 +2031,7 @@ var package_default = {
2031
2031
  workspaces: [
2032
2032
  "packages/*"
2033
2033
  ],
2034
- version: "0.169.0",
2034
+ version: "0.170.0",
2035
2035
  description: "Batteries-included agent harness for Claude Code",
2036
2036
  type: "module",
2037
2037
  bin: {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "workspaces": [
4
4
  "packages/*"
5
5
  ],
6
- "version": "0.169.0",
6
+ "version": "0.170.0",
7
7
  "description": "Batteries-included agent harness for Claude Code",
8
8
  "type": "module",
9
9
  "bin": {
@@ -90,7 +90,7 @@
90
90
  "command": "bash .claude/hooks/scripts/rtk-intercept.sh"
91
91
  }
92
92
  ],
93
- "description": "RTK auto-intercept — transparently rewrites CLI commands through RTK proxy when available (R015 advisory)"
93
+ "description": "RTK auto-intercept — transparently rewrites CLI commands through RTK proxy when available (R013 advisory)"
94
94
  },
95
95
  {
96
96
  "matcher": "tool == \"Bash\" && tool_input.command matches \"git (reset|clean|checkout|restore|switch|rebase|merge)\"",
@@ -356,6 +356,8 @@ description: Brief desc # One-line summary
356
356
 
357
357
  Key optional fields: `scope`, `context`, `version`, `effort`, `model`, `agent`, `hooks`, `paths`, `shell`, `allowed-tools`, `keep-coding-instructions`. Skill `effort` takes precedence over agent `effort` when both specified. See full optional fields via Read tool.
358
358
 
359
+ > **v2.1.163+**: In skill `command` bodies, use `\$` to emit a literal `$` before a number (e.g., `\$1`) — previously ambiguous with shell variable expansion. Relevant when authoring skills with `shell:` or inline command steps that include dollar signs not intended as variables.
360
+
359
361
  <!-- DETAIL: Skill Optional Fields (full yaml block)
360
362
  ```yaml
361
363
  scope: core # core | harness | package (default: core)
@@ -17,6 +17,8 @@ oh-my-customcode uses an **advisory-first enforcement model**. Most rules are en
17
17
  | Advisory (proactive) | UserPromptSubmit hook | R007, R008 (`r007-r008-drift-advisor.sh`, #1229) | Reads last assistant turn; emits stderr advisory before next response if header/prefix absent. Complements retroactive Stop-hook (`session-reflection.sh`, #1190). |
18
18
  | Prompt-based | CLAUDE.md + rules/ + PostCompact | All MUST rules | Behavioral guidance in context |
19
19
 
20
+ > **v2.1.163+**: Stop and SubagentStop hooks can return `hookSpecificOutput.additionalContext` (JSON) to feed structured feedback back into Claude's context without triggering a hook error label. This enables advisory-style enforcement via Stop/SubagentStop hooks (e.g., `session-reflection.sh`, omcustom-loop SubagentStop) to pass richer context — replacing plain stderr text — without disrupting the turn continuation behavior that advisory-first enforcement relies on.
21
+
20
22
  ## Why Advisory-First
21
23
 
22
24
  1. **Agent flexibility**: Hard blocks can trap agents in unrecoverable states
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.169.0",
2
+ "version": "0.170.0",
3
3
  "lastUpdated": "2026-05-20T00:00:00.000Z",
4
4
  "omcustomMinClaudeCode": "2.1.121",
5
5
  "omcustomMinClaudeCodeReason": "Sensitive-path direct Write/Edit on .claude/** under bypassPermissions (R010 deprecation, #1101)",