Skip to content

Releases: Hugin-Z/tender-writer-v3

v3.0.2 - CLI 提示文案对齐

Choose a tag to compare

@Hugin-Z Hugin-Z released this 08 May 13:33

V3.0.2 修复 (2026-05-08)

V3.0.1 发布后 Codex 二次审视抓到 2 项必修代码问题, 全脚本 doc-code-consistency 扩展扫描另外抓到 1 项, 三处都是 user-facing print 文案与代码实际控制流不符, 对齐 R10 (诚实化, 不夸大)。

# 问题 修复
#1 parse_tender.py L803 `--force` 警告误指 hash 漂移 显式说明 ensure_reviewed 只检查文件存在性,下游会放行空骨架,需手动删 .reviewed
#2 v45_merge.py L364 C-reference 统计是声明数 改为 `{written}/{declared}` 对比格式,缺失立即识别
#3 demo_reset.py L131 警告误指 .reviewed 闸门归属 显式列出哪些下游脚本被拦,parse_tender 不在其中

扩展扫描:覆盖 33 个 scripts/*.py(非测试),逐条核对 print/raise/sys.stderr 文案 vs 实际控制流,32 个对齐 + 1 个真问题已含本版本。

实测验证:./run_script.bat tests/run_all.py 12 文件全 PASS,无回归。

对比 V3.0.1:V3.0.1 (5 项) + V3.0.2 (3 项) 都是 V3.0.0 封板后发现的 user-facing 文案/防御性缺口对齐,不引入新功能,不动主代码逻辑。详见 docs/changelog.md

v3.0.1 — patch release based on external audit

Choose a tag to compare

@Hugin-Z Hugin-Z released this 08 May 13:01

v3.0.1 - patch release based on external audit

Fixes:

  • requirements.txt missing openpyxl (clean install reproducibility)
  • export_deliverables path traversal vulnerability
  • v45_merge hardcoded statistics

Doc alignment (R10 honesty):

  • .reviewed gate hash check limitation explicitly noted
  • B mode current implementation extracts text only (format preservation deferred to V4)

Source: external code audit by Codex (2026-05-08)

v3.0.0 — 14 improvements over v2.0.1

Choose a tag to compare

@Hugin-Z Hugin-Z released this 08 May 02:43

v3.0.0 — 14 improvements over v2.0.1

Highlights:

  • B mode real assets assembly (V3-1): CuratedLocalAssetsProvider scans
    assets/<category>/<company_id>/_raw/ for real files (replaces pure placeholder)
  • Test coverage 1 → 12 files (V3-2): parse_tender, generate_outline,
    b_mode, c_mode, compliance_check, check_chapter, check_cross_consistency
  • Compliance checks expanded (V3-2/4/5/8/9): font safety (paragraph + fontTable
    XML level), content keyword stitching detection, --section-only flag,
    cross-chapter field/resume/section-ref consistency
  • Scanned PDF detection + --ocr-text fallback (V3-6): no OCR integration,
    3 user paths
  • Tooling reproducibility (V3-13): scripts/demo_reset.py for clean re-runs
  • Timing instrumentation (V3-3): _timing_hook + 7 stages
  • Word passthrough integration (V3-7): c_mode_run auto-routing
  • Documentation alignment (V3-10/11/12): five-stage wording unified,
    B mode README honesty, SKILL description trimmed 25 → 10 keywords
  • Open-source readiness audit (V3-14): 4-layer (machine scan + behavior
    validation + semantic consistency + new files: CONTRIBUTING.md +
    README sys-deps/project-status sections)

See plans/v3-*.md and docs/v3_planning.md for per-item plan + completion criteria.