Correction Logger
v2.0.0记录并管理用户纠正、代理错误和改进建议,支持优先级排序、有效性反馈及全文搜索,兼容现有文件格式。
⭐ 0· 113·0 current·0 all-time
MIT-0
Download zip
LicenseMIT-0 · Free to use, modify, and redistribute. No attribution required.
Security Scan
OpenClaw
Benign
high confidencePurpose & Capability
The name/description (correction logging, priority/feedback, FTS5 search, backward-compatible Markdown storage) match the provided Python code and configs: the code creates/uses a local Markdown file and a local SQLite DB, implements logging, indexing, and migration. One minor mismatch: SKILL.md claims '自动注册到星型架构注册表' but no explicit registration mechanism is visible in the provided files (this could be implemented elsewhere or at runtime).
Instruction Scope
Runtime instructions and code operate on local paths (~/self-improving/*), write logs to /tmp, and provide CLI/Python APIs. The SKILL.md and scripts show only reading/writing the corrections file and DB and running a migration; they do not instruct the agent to read unrelated system files, environment secrets, or call external endpoints.
Install Mechanism
No install spec is provided (instruction-only plus shipped Python scripts). The code uses only Python standard library modules (sqlite3, fcntl, logging, etc.) and writes files locally — no remote downloads or third-party package installs are present in the supplied files.
Credentials
The skill does not declare or read environment variables or require credentials. It only accesses user-home paths and /tmp for logs, which is proportionate for a local correction-logging tool.
Persistence & Privilege
always:false (default) and the code stores data under user home and creates a local sqlite DB; it does not request permanent platform-wide privileges or modify other skills' configs in the visible code. The migration script will import the logger and may initialize DB directories on first run (expected behavior).
Assessment
This skill is internally consistent and implements a local correction logger using a Markdown file and a local SQLite DB (FTS5 where available). Before installing: (1) review the remainder of scripts/correction_logger.py (the provided excerpt was truncated) to confirm there are no network calls, subprocess executions, or modifications to other skills; (2) be aware it will create directories/files under ~/self-improving/ and a DB at corrections_enhanced.db and write logs to /tmp; (3) if you prefer stricter control, set allow_direct_file_access: false (already present in default config) and run the code in a sandbox or with a non-privileged user; (4) if you rely on other components for 'automatic registration', verify those integration points separately since explicit registration code was not visible in the supplied files.Like a lobster shell, security has layers — review code before you run it.
latestvk973csbdvjgc949qyg8kh4pyhs839dsb
License
MIT-0
Free to use, modify, and redistribute. No attribution required.
