4 Commits

Author SHA1 Message Date
Val-sss
ca55970ad8 release: v1.6.2 版本号统一 + README/CHANGELOG/STATUS更新
- 版本号统一到1.6.2(pyproject/__init__/formatters/telemetry/server)
- README: badge 1.6.2, License Apache-2.0, 更新日志加v1.6.2条目
- CHANGELOG: 完整v1.6.2变更记录
- STATUS: 当前版本更新到v1.6.2

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-07 14:42:21 +08:00
Val-sss
fa1390f8a9 release: v1.6.1 版本号统一 + README/STATUS更新 + License Apache-2.0
- pyproject.toml/formatters/telemetry/server/models/__init__ 全部统一到 1.6.1
- README: badge更新、更新日志加v1.6.0/v1.6.1条目
- STATUS: 版本号描述更新

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-07 09:23:19 +08:00
Val-sss
17b6076945 fix: unify version to 1.5.1 from single source (pyproject.toml)
- pyproject.toml: 1.4.0 → 1.5.1 (single source of truth)
- formatters.py: hardcoded 0.9.0 → importlib.metadata
- telemetry/client.py: hardcoded 1.5.0 → importlib.metadata
- server/models.py + app.py: hardcoded 1.5.0 → importlib.metadata
- All fallback to "1.5.1" if package not installed in editable mode

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-06 19:47:24 +08:00
Val-sss
53c08a4e28 feat: three flywheels + anonymous telemetry + prompt quantification
Flywheel system (all local):
- strategy_stats.py: error strategy effectiveness tracking per error_type
- user_pattern_memory.py: cross-project user error pattern warnings
- skill_drafter.py: auto-generate SKILL.md drafts from stats

Anonymous telemetry (opt-in, default off):
- telemetry/client.py: HMAC-signed fire-and-forget upload
- Only sends: error_type, retry_count, success, model
- Never sends: code, paths, descriptions, user identity
- onboarding asks opt-in, kwcode telemetry enable/disable

CLI commands:
- kwcode telemetry status/enable/disable
- kwcode skill review/accept/discard
- kwcode stats: enhanced with flywheel + telemetry status

Prompt quantification (CC-style):
- GENERATOR_BASE_SYSTEM: "only do what's asked" → "≤2 functions, ≤30 lines"
- RETRY_STRATEGIES hints: quantified line limits per error type
- CHAT_SYSTEM: "short friendly" → "≤100 chars, ≤3 sentences"

Server deployed: https://llmbbs.com (nginx → uvicorn:9753, 3 SQLite tables)

Tests: 19 new, 0 regression

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-06 19:39:17 +08:00