8 Commits
Author SHA1 Message Date
qiuruiandClaude Opus 4.6 22ab6a529c feat: update KVM submodule with WebRTC fix, FrameHub, and Privacy API migration
Update deps/KVM to 4da8090 which includes:
- WebRTC PLI: shorten GOP to FPS/4 for 0.25s keyframe recovery
- FrameHub: in-memory frame distribution replacing multifilesink disk I/O
- Privacy watermark: overlay "PRIVACY MODE" banner when enabled
- Privacy API: migrate from Python (port 8889) to native Go handlers
- Control semantics: unify WebSocket (ws:user) and REST (api:user) client IDs
- Default config: add privacy and framehub_enabled settings
- Debian package: bump to 1.0.0-2

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 08:24:58 +00:00
qiuruiandClaude Opus 4.6 5b50a6b1d3 feat: enhance testing discipline, security model, and multi-UI state support
- Add testing methodology and mouse-first architecture docs to CLAUDE.md
- Harden safety.py with Unicode NFKC normalization, newline injection
  detection, and 10K character length limit
- Create screen_state.py for detecting BIOS, lock screen, desktop, sleep
  states via screenshot hash analysis and OCR keyword matching
- Integrate ScreenStateDetector into agent.py run_task() loop
- Centralize desktop/app keyword constants in screen_state.py
- Add 47 new unit tests (test_screen_state, test_mouse_ops, test_safety
  edge cases)
- Migrate test_integration.py cleanup code from combo keys to mouse_ops
- Fix pre-existing test_shortcut_action test to match blocked behavior
- Add project evaluation table to CLAUDE.md known limitations

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 02:54:10 +00:00
qiuruiandClaude Opus 4.6 0a957b5a24 chore: add .worktrees/ to .gitignore
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 02:19:05 +00:00
qiuruiandClaude Sonnet 4.6 d32b4df709 docs: add README/DEVELOP/RELEASE and fix systemd service paths
- Add README.md: 架构概览、端口规划、快速部署
- Add DEVELOP.md: 开发环境、目录结构、部署流程、API 说明
- Add RELEASE.md: v0.1.0 发版记录
- Fix info-privacy.service: Python uvicorn → Rust info-privacy-rs binary
- Fix mem-bridge-*.service: WorkingDirectory /data/rockchip/embedding → /home/pi/Desktop/embed-db

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-28 19:11:38 +08:00
qiuruiandClaude Sonnet 4.6 47fc0dd22e refactor: replace info-privacy(Python) with info-privacy-rs(Rust)
Switch submodule from Python info-privacy to the Rust rewrite
info-privacy-rs which provides:
- RKNN-accelerated OCR and face detection on RK3588
- REST API: /api/v1/analyze, /api/v1/redact (DOCX/PDF/XLSX)
- Better performance: regex + NER + image pipeline in a single binary

Rust service runs on port 8001 (already deployed on device).
Python service (port 8000) is no longer needed.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-28 19:01:48 +08:00
qiuruiandClaude Sonnet 4.6 1441d9ba01 fix: update upload_scanner to use Rust info-privacy-rs service
- Change target URL to port 8001 (RKNN-accelerated Rust service)
- Fix redact API call: pass config as JSON field instead of form data
  Rust API requires: -F 'config={"redact_types":["id_card",...]}'
- Discovery: info-privacy-rs already running on device with full
  PDF/DOCX/XLSX support and RKNN face detection

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-28 18:24:33 +08:00
qiuruiandClaude Sonnet 4.6 d12c52bff8 feat: add git submodules for all dependency projects
- deps/info-privacy: PII detection and document redaction service
- deps/embedding: mem_bridge AI routing + embed_db vector database
- deps/KVM: Go+React KVM server with privacy masking extensions

All submodule URLs point to Gitea at edge-stack.synology.me:3000.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-28 18:03:30 +08:00
qiurui 78775868d6 feat: KVM-Privacy Hub initial commit
Phase 0: infra fixes (OCR dir, port conflict, systemd services)
Phase 1: video PII masking (frame_redactor, privacy API)
Phase 2: AI privacy gateway (mitmproxy addon, audit logger)
Phase 3: AI routing (Ollama backend, memory admin endpoints)
Phase 4: deployment scripts and Makefile
2026-02-28 17:33:28 +08:00