Commit Graph

5 Commits

Author SHA1 Message Date
Hermes Agent
a015f6780a docs(cleanup): finalize 417-file review inventory
Some checks failed
CI / pytest (Python 3.10) (push) Has been cancelled
CI / pytest (Python 3.11) (push) Has been cancelled
CI / pytest (Python 3.12) (push) Has been cancelled
2026-06-18 10:46:40 +08:00
Hermes Agent
246f21c7f2 feat(review): land unified remediation and rules evidence closure
Some checks failed
CI / pytest (Python 3.10) (push) Has been cancelled
CI / pytest (Python 3.11) (push) Has been cancelled
CI / pytest (Python 3.12) (push) Has been cancelled
2026-06-18 10:21:38 +08:00
Hermes
56cf2c3ee2 feat(rules): land hunan 2026 evidence layer (phase 4)
Some checks failed
CI / pytest (Python 3.10) (push) Has been cancelled
CI / pytest (Python 3.11) (push) Has been cancelled
CI / pytest (Python 3.12) (push) Has been cancelled
Landing the first province sample of the rules/_evidence/ tree.
Locks down the hunan-2026 本科批 院校专业组 rule set so audit
output and downstream consumers can cite the source摘录 instead
of just 'trust me, the loader says so'.

What's in the box:
- rules/_evidence/README.md: directory contract, evidence-file
  template (4 required sections), coverage table, and a note on
  RuleLoader's future strict_evidence toggle.
- rules/_evidence/hunan/<11 rule keys>.md: one Markdown
  摘录 per source_evidence_id declared in hunan.yaml
  (mode / batch / max_volunteers / max_majors_per_group /
   has_adjustment / adjustment_scope / retrieval_rule /
   collection_count / subject_mode / official_url /
   exam_subject_total). Each file carries the official quote,
  the machine-readable YAML form, key edge cases, and the
  next-review date.
- tests/test_rules_evidence_layer.py: 4 invariants
  * README exists and documents the contract
  * every active hunan.yaml source_evidence_id has a matching
    .md file
  * 11 evidence files contain the keywords that prove they
    actually carry the rule (parameterised, one test per file)
  * every evidence file has all 4 required template sections
  * no orphan evidence files (file exists but no rule
    references it)

Verification:
- focused: 27 passed (15 evidence-layer + 12 cli doctor)
- dev-verify full gate: all checks passed (ruff / mypy /
  coverage / pytest / benchmark)

Follow-up (not in this commit):
- Wire RuleLoader.from_truth_root(strict_evidence=True) so
  callers can opt in to fail-loud on missing evidence
- Extend the same pattern to national.yaml + 2-3 more
  provinces
- Add a 'last_verified_at' field to each rule and surface
  >90-day-old evidence via 'gaokao-cli rules status'
2026-06-17 22:39:56 +08:00
Hermes Agent
ae4835eeab feat(rules): add phase1 truth source loader and rules cli
Some checks failed
CI / pytest (Python 3.10) (push) Has been cancelled
CI / pytest (Python 3.11) (push) Has been cancelled
CI / pytest (Python 3.12) (push) Has been cancelled
2026-06-16 18:14:41 +08:00
Hermes Agent
6b067d9c24 v2.0: 初始化项目,建立完整目录结构
- 创建项目目录 /home/long/projects/gaokao-volunteer-system/
- 迁移3个Skills(gaokao-college-advisor, gaokao-spec-checker, zhangxuefeng-skillset)
- 迁移独立脚本(5个当前版本+4个legacy版本)
- 复制所有文档和示例
- 创建规则库(rules/)
  - provinces/ 省份规则
  - errors/ 错误模式库(15种)
- 创建文档体系(docs/)
  - case-studies/ 真实案例
  - optimization-log/ 优化日志
  - future-plan.md 未来规划
- 添加 .gitignore 排除临时文件
- 添加 README.md 和 CHANGELOG.md
- 已支持27个省份自动适配
- 已识别15种错误模式
2026-06-11 16:06:34 +08:00