Reorganize .smallclaw/databases/ around a single entry point with
subcommands (add-terms / add-images / verify / reassign / stats),
absorb pmc_reassign.py into reassign, and route every image source
through inline vision-model verification before commit.
Layout
config.py paths, endpoints, API-key locations (no more
hard-coded absolute paths in source files)
manage.py argparse dispatcher
workflow_terms.py seed-JSON import (JSONC supported, dedupes on
korean/english)
workflow_images.py renamed from dental_image_workflow.py; main()
converted to run(verify=True, ...)
workflow_verify.py validate_image() / verify_db() + verify_updates()
gate used by every add-images source
seeds/ recovered seed_all.json, seed_periodontics.json
scratch/ ad-hoc work area replacing the /tmp habit
(only README.md is tracked)
docs/howto.md moved + expanded
docs/archive_image_rounds/ one-off round scripts + their results
docs/archive_validation/ model-comparison + validation history
Verification
- VERIFY_MODEL defaults to qwen3.5:397b-cloud (50-image test on
procedure-heavy sample: 9.8s/img avg, zero timeouts, Kimi-level
rigor — see archive_validation/).
- Prompt strengthened: in-image text/captions are not valid grounds
for "적합"; technique terms require visible procedure steps, not
generic device/anatomy photos.
- All 9 add-images sources gated through verify_updates() before
commit; --no-verify escape hatch for bulk runs.
.gitignore: API key files, dental_images/, __pycache__/, scratch/*
(README.md kept).
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
103 lines
2.2 KiB
Plaintext
103 lines
2.2 KiB
Plaintext
# ============================================================
|
|
# LocalClaw - .gitignore
|
|
# ============================================================
|
|
|
|
# --- DOCKER / ENV ---
|
|
.env
|
|
|
|
# --- SECRETS & CONFIG (NEVER COMMIT) ---
|
|
.localclaw/config.json
|
|
.localclaw/credentials/
|
|
.localclaw/vault/
|
|
.smallclaw/config.json
|
|
.smallclaw/credentials/
|
|
.smallclaw/vault/
|
|
.smallclaw/*_api_key.txt
|
|
.smallclaw/*_api_token.txt
|
|
|
|
# --- DENTAL DICT PROJECT (.smallclaw/databases/) ---
|
|
.smallclaw/databases/dental_images/
|
|
.smallclaw/databases/__pycache__/
|
|
.smallclaw/databases/scratch/*
|
|
!.smallclaw/databases/scratch/README.md
|
|
|
|
# --- RUNTIME DATA ---
|
|
.localclaw/sessions/
|
|
.localclaw/logs/
|
|
.localclaw/memory/
|
|
.localclaw/facts.json
|
|
.localclaw/self_learning.json
|
|
.localclaw/jobs.db
|
|
.localclaw/update_state.json
|
|
.localclaw/tasks/
|
|
.localclaw/jobs/
|
|
.localclaw/ocr-cache/
|
|
.localclaw/heartbeat/
|
|
.localclaw/task-heartbeat.json
|
|
.localclaw/cron/runs/
|
|
.smallclaw/sessions/
|
|
.smallclaw/logs/
|
|
.smallclaw/memory/
|
|
.smallclaw/facts.json
|
|
.smallclaw/self_learning.json
|
|
.smallclaw/jobs.db
|
|
.smallclaw/update_state.json
|
|
.smallclaw/tasks/
|
|
.smallclaw/jobs/
|
|
.smallclaw/ocr-cache/
|
|
.smallclaw/heartbeat/
|
|
.smallclaw/task-heartbeat.json
|
|
.smallclaw/cron/runs/
|
|
.smallclaw/skills/
|
|
.smallclaw/skills_state.json
|
|
.smallclaw/workspace_state.json
|
|
.smallclaw/.migrated-from-localclaw
|
|
|
|
# --- WORKSPACE RUNTIME FILES ---
|
|
# Keep: SOUL.md, SELF.md, IDENTITY.md, USER.md, MEMORY.md, AGENTS.md, TOOLS.md, BOOT.md, README.md
|
|
# These are default templates that ship with SmallClaw — new users need them.
|
|
# Ignore: daily memory logs, tool audit log, heartbeat, and any AI-generated scratch files.
|
|
workspace/memory/
|
|
workspace/tool_audit.log
|
|
workspace/HEARTBEAT.md
|
|
workspace/note.txt
|
|
workspace/*.html
|
|
workspace/*.js
|
|
workspace/*.css
|
|
workspace/*.py
|
|
workspace/*.sh
|
|
workspace/*.bat
|
|
workspace/*.txt
|
|
|
|
# --- DASHBOARD RUNTIME STATE ---
|
|
ai-dashboard/dashboard-state.json
|
|
ai-dashboard/dashboard-requests.json
|
|
|
|
# --- LOGS ---
|
|
gateway.log
|
|
gateway.err.log
|
|
*.log
|
|
|
|
# --- TEMP FILES ---
|
|
tmp_payload.json
|
|
mnt/
|
|
.tmp_*
|
|
.tmp_*/
|
|
.tmp_openclaw_*/
|
|
.tmp_codex_*
|
|
|
|
# --- NODE ---
|
|
node_modules/
|
|
dist/
|
|
*.js.map
|
|
package/
|
|
*.tgz
|
|
|
|
# --- TEST ARTIFACTS ---
|
|
tests/.golden-progress.log
|
|
|
|
# --- OS ---
|
|
.DS_Store
|
|
Thumbs.db
|
|
desktop.ini
|