docs: update outdated oh-my-opencode references to oh-my-openagent

This commit is contained in:
YeonGyu-Kim
2026-03-16 19:15:44 +09:00
parent 4759dfb654
commit bed98988b3
36 changed files with 220 additions and 226 deletions
@@ -51,7 +51,7 @@ Since the regex lives in the Go binary and this repo wraps it, the fix is two-pr
- Relax `(?i)^[\s#/*-]*note:\s*\w` to only match AI-style memo patterns like `Note: this was changed...`, `Note: implementation details...`
- Add `--exclude-pattern` CLI flag for user-configurable exclusions
**B. This repo (oh-my-opencode)** - the PR scope:
**B. This repo (oh-my-openagent)** - the PR scope:
1. Add `exclude_patterns` config field to `CommentCheckerConfigSchema`
2. Pass `--exclude-pattern` flags to the CLI binary
3. Add integration tests with mock binaries for false positive scenarios
@@ -20,7 +20,7 @@ Additionally, the binary flags ALL non-filtered comments (not just agent memos),
## Architecture Understanding
```
TypeScript (oh-my-opencode) Go Binary (go-claude-code-comment-checker)
TypeScript (oh-my-openagent) Go Binary (go-claude-code-comment-checker)
───────────────────────────── ──────────────────────────────────────────
hook.ts main.go
├─ tool.execute.before ├─ Read JSON from stdin
@@ -33,7 +33,7 @@ hook.ts main.go
└─ append to output
```
Key files in oh-my-opencode:
Key files in oh-my-openagent:
- `src/hooks/comment-checker/hook.ts` - Hook factory, registers before/after handlers
- `src/hooks/comment-checker/cli-runner.ts` - Orchestrates CLI invocation, semaphore
- `src/hooks/comment-checker/cli.ts` - Binary resolution, process spawning, timeout handling