Skip to content

chore(sync): dotfiles sync 2026-05-11 @ Hans-Air-M4#94

Merged
tieubao merged 1 commit into
mainfrom
chore/sync-local-ocr-skill
May 11, 2026
Merged

chore(sync): dotfiles sync 2026-05-11 @ Hans-Air-M4#94
tieubao merged 1 commit into
mainfrom
chore/sync-local-ocr-skill

Conversation

@tieubao
Copy link
Copy Markdown
Member

@tieubao tieubao commented May 11, 2026

Summary

  • Add local-ocr skill (267 lines) under home/dot_claude/skills/local-ocr/. Wraps the local-ocr CLI in ops-toolkit; covers SPEC-004 Mode B auto-absorb and the new SPEC-006 Mode D blind-absorb path.
  • Absorb pre-existing drift on annas-fetch/SKILL.md (--sort downloads doc, stats API endpoint, intent-split table for picking the right sort).
  • Sync-log entry for 2026-05-11 @ Hans-Air-M4.

Mode D additions in local-ocr/SKILL.md

  • Trigger phrase: blind-absorb <path> for <person> (alternates: blind-process, absorb ... --blind)
  • Workflow: extract on Mini → Qwen3.6 absorb reasoning on Mini → redacted stdout → user reviews git diff in their terminal → commit or local-ocr rollback.
  • Hard rules: never Read the .values.json file (defeats blind mode); never auto-invoke audit show --full; push back on inline-image uploads.
  • Pointer to ops-toolkit/tools/local-ocr/USAGE-blind-absorb.md for deeper reference.

Test plan

  • chezmoi apply runs cleanly; secret-guard self-test passes (1 PASS / 0 FAIL).
  • chezmoi managed | grep local-ocr shows the new skill tracked.
  • Trigger phrase invokes the CLI correctly (verified next absorb session).

🤖 Generated with Claude Code

Claude skills (core):
  - add: `local-ocr` (267 lines) — wraps the local-ocr CLI in ops-toolkit.
    Covers SPEC-004 Mode B auto-absorb and the new SPEC-006 Mode D
    blind-absorb path. Mode D trigger phrases ("blind-absorb <path> for
    <person>"), workflow (extract on Mini → Qwen3.6 absorb reasoning on
    Mini → redacted stdout → user reviews `git diff` → commit or
    rollback), hard rules (no Reading `.values.json`; never invoke
    `audit show --full`; inline-image upload pushback), and a pointer
    to `ops-toolkit/tools/local-ocr/USAGE-blind-absorb.md` for deeper
    reference.

Claude skills (re-add drift, pre-existing):
  - `annas-fetch/SKILL.md` — added `--sort downloads` doc, stats API
    endpoint, intent-split table for picking the right sort. Drift from
    earlier sessions; absorbed now.

Scripts (applied):
  - `run_onchange_after_secret-guard-test.sh` self-test passed against
    the deployed hook.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@tieubao tieubao merged commit 6d981f8 into main May 11, 2026
2 checks passed
@tieubao tieubao deleted the chore/sync-local-ocr-skill branch May 11, 2026 02:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant