Files
beige/.gitignore
yangqianqian e3fb6f2655 feat(D1): 改稿进飞轮 - 最强真实信号 text_edit +5
倩倩姐2026-06-16拍板:改稿=用户真改了字=最在乎这条方向=最强真实信号。
先激进入飞轮跑一周,北哥用后按真实数据校准是否加"过审才入"闸门。

改动:
- enums.py: SignalType.TEXT_EDIT + SIGNAL_WEIGHTS权重5(≥选择类)
- task.py: TextCandidate.edited 布尔字段
- 013迁移: text_candidates加edited列 + preference_events.signal_type
  ENUM补text_edit(端到端实测抓出:不补会Data truncated)
- task_actions.py: POST /{task_id}/text-candidates/{cid}/edit 端点
  回写content+edited=True+record_signal写text_edit,走task_actions不碰review.py

端到端实测:edited False→True,飞轮信号真落库type=text_edit weight=5。
顺手: tsconfig.tsbuildinfo 移出版本控制(构建产物)。

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-16 12:20:54 +08:00

31 lines
359 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 密钥 / 环境变量(绝不入库 — CLAUDE.md 红线key 收口环境变量)
.env
.env.*
!.env.example
*.key
*.pem
# Python
__pycache__/
*.py[cod]
.venv/
venv/
*.egg-info/
# Node / 前端
node_modules/
.next/
dist/
build/
# 本地数据 / 日志
logs/
*.log
.DS_Store
# Celery / Redis 本地
celerybeat-schedule
dump.rdb
.env.bak
*.tsbuildinfo