From 27e434578ac4ec94eb0a74d36ff586b1e558673e Mon Sep 17 00:00:00 2001 From: YeonGyu-Kim Date: Thu, 21 May 2026 11:10:53 +0900 Subject: [PATCH] =?UTF-8?q?docs:=20update=20rules-core=20=E2=86=92=20rules?= =?UTF-8?q?-engine=20references?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus --- CHANGELOG.md | 2 +- docs/reference/rules-injection-cross-module-comparison.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 194d218e9..f1dd416db 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,7 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - `packages/ast-grep-mcp`: native `src/tools/ast-grep` removed and replaced with a package-backed MCP server. User-facing tool names `ast_grep_search` / `ast_grep_replace` are preserved via MCP namespacing (server `ast_grep` + tools `search`/`replace`). `disabled_tools` continues to honor the legacy names. - Rules-injector transcript hydration: dedup cache is now seeded from the session transcript on context-recovery, preventing duplicate rule injections after compaction. - Comment-checker now parses `apply_patch` tool payloads, detecting AI slop comments in patch-style edits (not just plain file writes). -- `setSisyphusRuleDeprecationLogger` export from `@oh-my-opencode/rules-core` lets the host inject its logger so the core package stays free of harness-source imports. +- `setSisyphusRuleDeprecationLogger` export from `@oh-my-opencode/rules-engine` lets the host inject its logger so the core package stays free of harness-source imports. - `ROADMAP.md` documents the multi-harness package layering refactor and contribution flow (`ROADMAP` label). ### Changed diff --git a/docs/reference/rules-injection-cross-module-comparison.md b/docs/reference/rules-injection-cross-module-comparison.md index 149f00be2..de5ee6851 100644 --- a/docs/reference/rules-injection-cross-module-comparison.md +++ b/docs/reference/rules-injection-cross-module-comparison.md @@ -49,7 +49,7 @@ modules were validated via their existing unit and integration suites | Post-compact strategy | Independent static / dynamic pending channels | `engine.resetSession(cwd)` (full reset) | `clearSessionState(sessionID)` (full reset) | | Multiple injection hooks | SessionStart, UserPromptSubmit, PostToolUse, PostCompact | session_start, session_compact, before_agent_start, tool_result | tool.execute.after only | | Rule discovery cache | per-call discovery cache + parsed content cache | per-call discovery cache + parsed content cache + match cache | parsed-rule LRU + match decision LRU + scan cache | -| Rule sources implementation | own finder (matches pi-rules layout) | own finder | shared `@oh-my-opencode/rules-core` workspace package | +| Rule sources implementation | own finder (matches pi-rules layout) | own finder | shared `@oh-my-opencode/rules-engine` workspace package | ## 3. Performance gap matrix (pre-porting)