Skip to content

feat: v1.4.0 — Impeccable 排版规范 + 合规反低创检测#19

Open
xiaojohn-eng wants to merge 2 commits into
oaker-io:mainfrom
xiaojohn-eng:main
Open

feat: v1.4.0 — Impeccable 排版规范 + 合规反低创检测#19
xiaojohn-eng wants to merge 2 commits into
oaker-io:mainfrom
xiaojohn-eng:main

Conversation

@xiaojohn-eng
Copy link
Copy Markdown

Summary

  • 新增 impeccable 主题:衬线正文(思源宋体) + 无衬线标题(PingFang SC),深青 #1a6b5a + 琥珀 #c4820e,反 AI 味设计
  • converter 增强:::highlight / :::summary 容器、AIGC 声明自动追加、CSS 随机扰动反低创指纹
  • 新增参考文档:合规红线 + SEO 规范 + 低创作度四维检测对策 + Seedream 5.0 封面图 Prompt 模板
  • 版本升级 1.3.5 → 1.4.0,同步更新 OpenClaw 分发

改动明细

模块 改动
toolkit/themes/impeccable.yaml 新主题:228 行完整 CSS + 暗黑模式 + aigc_footer/css_randomize 开关
toolkit/converter.py +131 行:2 个容器 + AIGC footer + CSS randomize
toolkit/theme.py _raw_data 挂载支持扩展字段
references/compliance-seo.md 合规 + SEO + 低创检测 + 反检测策略
references/cover-prompts.md 5 类文章封面 Prompt 模板

Test plan

  • load_theme('impeccable') 加载成功,24 条 CSS 规则
  • 端到端转换测试:AIGC footer ✅、highlight box ✅、summary box ✅、serif font ✅
  • build_openclaw.py 构建成功
  • 微信编辑器实际粘贴测试

🤖 Generated with Claude Code

root and others added 2 commits April 9, 2026 17:23
- 新增 impeccable 主题:衬线正文(思源宋体) + 无衬线标题(PingFang SC),深青#1a6b5a + 琥珀#c4820e 双色系
- converter 新增 :::highlight / :::summary 容器语法
- converter 新增 AIGC 声明自动追加(主题级开关)
- converter 新增 CSS 随机扰动反低创指纹检测
- 新增合规红线 + SEO 规范 + 低创作度四维检测对策参考文档
- 新增 Seedream 5.0 封面图 Prompt 模板(5类文章)
- theme.py 支持 aigc_footer / css_randomize 扩展字段
- 同步更新 OpenClaw 分发

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
P0 修复:
- 新增 tests/test_converter.py (55 pytest,覆盖容器/CJK/脚注/暗黑模式/AIGC/随机化)
- requirements.txt 锁定精确版本 (== 替代 >=)

P1 修复:
- cli.py 路径校验:Path.resolve() + _SAFE_BASES 防路径遍历
- image_gen.py 日志脱敏:_sanitize_for_log() 屏蔽 Bearer/API key
- fetch_hotspots.py 3次指数退避重试 + (10s,15s) 超时元组

P2 改进:
- 新增 tech-coder 人格(务实工程师,代码优先)
- 新增 humor-storyteller 人格(段子手,反转驱动)

P3 改进:
- humanness_score.py 校准基准:--calibrate 对比已知分布,PASS/WARNING 判定

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant