Commit Graph

111 Commits

Author SHA1 Message Date
cfdaily a89a70a983 feat: Gitea 协作规范落地 — 标题前缀+Label+模板+L2注入
CI / lint (pull_request) Successful in 7s
CI / test (pull_request) Successful in 30s
CI / notify-on-failure (pull_request) Successful in 0s
2026-06-14 11:51:57 +08:00
cfdaily 976d9ce7c8 fix: M1 git rm 误提交的安装目录文件 + S1 docstring 修正 + S2 去掉 CHECK 约束(司马懿 Review #111)
CI / lint (pull_request) Successful in 6s
CI / test (pull_request) Successful in 23s
CI / notify-on-failure (pull_request) Successful in 0s
2026-06-14 00:22:13 +08:00
cfdaily c89863a288 feat: §17 ToolchainHandler 强约束实现(Step 1-4)
CI / lint (pull_request) Failing after 7s
CI / test (pull_request) Has been skipped
CI / notify-on-failure (pull_request) Successful in 1s
Step 1: 基础设施
- prompt_composer.py: PromptContext 新增 action_type + action_steps 字段
- spawner.py: handler 路径提取 action_type/action_steps 传入 PromptContext
- db.py: comments CHECK 约束加入 action_report

Step 2: ToolchainHandler 强化
- ToolchainContextSection: 加 steps 渲染 + action_hint(按 action_type)
- ToolchainApiSection: 改为 action_report 提交指引 + Gitea 协作指引
- ToolchainConstraintsSection: 5 条强约束 + Red Flags 防self-rationalization
- verify_completion: action_report → output → comment 三层 fallback
  - review_merged 始终通过(纯通知)
  - infrastructure_failure 始终通过(防递归)
  - 修复 LENGTH(content) → LENGTH(body) bug
- on_failure 三分路: 业务→Gitea PR comment / 系统→Gitea Issue / 基础设施→toolchain task

Step 3: toolchain_routes 改造
- 新增 _toolchain_db_path() + _send_toolchain_task()
- 所有 8 个 handler 改为 _send_toolchain_task
- _send_mail 保留但不再被 toolchain handler 调用
- _send_deploy_failure_mail → _send_deploy_failure_task

Step 4: 测试
- 29 个单元测试全部通过
- 全量 456 passed, 3 skipped, 0 failures
2026-06-13 23:36:44 +08:00
cfdaily d58e38d58f fix(lint): 修复 PR #14 引入的 lint 回退 (119→0)
CI / lint (pull_request) Successful in 6s
CI / test (pull_request) Successful in 9s
CI / notify-on-failure (pull_request) Successful in 0s
PR #14 从旧分支复制文件导致回退了 PR #10 的 lint 修复。
修复内容:
- autoflake 移除未使用导入/变量
- autopep8 修复缩进/空格
- 手动修复 F821(pathlib→Path), F541(f-string), F841(未使用变量)
- 所有修复均通过 flake8 --max-line-length=120 --extend-ignore=E501 检查 (0 errors)
2026-06-09 23:53:29 +08:00
cfdaily f7fbdac89c chore: simayi-approved changes - lint fixes, toolchain improvements, healthz
All changes reviewed and APPROVED in PR #12 (Review ID: 40):
- toolchain_routes: webhook repo/org format compat, content dedup (sha256), closed issue filter
- dispatcher: inform mail crash 误标 done 修复
- ticker: cleanup and improvements
- healthz endpoint
- conftest: integration/e2e deselect markers
- docs: design docs, test-guide updates
- various lint/whitespace fixes across 30 files
2026-06-09 23:41:53 +08:00
cfdaily 09a0928bbc fix: resolve all flake8 lint errors (118 → 0)
CI / lint (push) Successful in 8s
CI / lint (pull_request) Successful in 5s
CI / test (push) Failing after 8s
CI / test (pull_request) Failing after 8s
CI / notify-on-failure (push) Successful in 1s
CI / notify-on-failure (pull_request) Successful in 3s
2026-06-09 16:43:41 +08:00
cfdaily ea89d568d0 auto-sync: 2026-06-06 11:26:44 2026-06-06 11:26:44 +08:00
cfdaily d7228dd004 auto-sync: 2026-06-05 11:59:23 2026-06-05 11:59:23 +08:00
cfdaily b54e6704c9 auto-sync: 2026-05-31 11:33:54 2026-05-31 11:33:54 +08:00
cfdaily 110b947cc6 auto-sync: 2026-05-31 09:05:10 2026-05-31 09:05:10 +08:00
cfdaily 955a2d5f83 auto-sync: 2026-05-30 21:02:44 2026-05-30 21:02:44 +08:00
cfdaily 1abc7a38a7 auto-sync: 2026-05-30 21:02:28 2026-05-30 21:02:28 +08:00
cfdaily 86e13c6bbe auto-sync: 2026-05-30 21:02:02 2026-05-30 21:02:02 +08:00
cfdaily c887a530da auto-sync: 2026-05-29 13:34:39 2026-05-29 13:34:39 +08:00
cfdaily 57aaca3fab auto-sync: 2026-05-29 13:34:22 2026-05-29 13:34:22 +08:00
cfdaily 384a291875 auto-sync: 2026-05-29 13:31:31 2026-05-29 13:31:31 +08:00
cfdaily a2ef0d8294 auto-sync: 2026-05-29 08:31:09 2026-05-29 08:31:09 +08:00
cfdaily 1b737518bd auto-sync: 2026-05-29 07:56:05 2026-05-29 07:56:05 +08:00
cfdaily c4cc70b0fc auto-sync: 2026-05-29 01:11:42 2026-05-29 01:11:42 +08:00
cfdaily 2343f44ff3 auto-sync: 2026-05-29 01:10:52 2026-05-29 01:10:52 +08:00
cfdaily b1d118b4a7 auto-sync: 2026-05-29 01:10:40 2026-05-29 01:10:40 +08:00
cfdaily d2212c4771 auto-sync: 2026-05-28 13:16:08 2026-05-28 13:16:08 +08:00
cfdaily a74aafc972 auto-sync: 2026-05-28 12:47:28 2026-05-28 12:47:28 +08:00
cfdaily f8e4343d0b auto-sync: 2026-05-25 12:37:55 2026-05-25 12:37:55 +08:00
cfdaily 9330f1999b auto-sync: 2026-05-23 23:36:17 2026-05-23 23:36:17 +08:00
cfdaily c94634cbc9 auto-sync: 2026-05-23 07:27:00 2026-05-23 07:27:00 +08:00
cfdaily c2a0a7a3d7 auto-sync: 2026-05-23 01:02:35 2026-05-23 01:02:35 +08:00
cfdaily 5c65230352 auto-sync: 2026-05-23 00:37:46 2026-05-23 00:37:46 +08:00
cfdaily 596777a4ad auto-sync: 2026-05-22 22:57:27 2026-05-22 22:57:27 +08:00
cfdaily 9425b30451 auto-sync: 2026-05-21 23:05:05 2026-05-21 23:05:05 +08:00
cfdaily 5b4995c1cf auto-sync: 2026-05-21 20:48:55 2026-05-21 20:48:55 +08:00
cfdaily 5494b7f0dd auto-sync: 2026-05-21 20:48:25 2026-05-21 20:48:25 +08:00
cfdaily ba4ac17ffa auto-sync: 2026-05-21 20:46:08 2026-05-21 20:46:08 +08:00
cfdaily 18426c820d auto-sync: 2026-05-21 20:44:46 2026-05-21 20:44:46 +08:00
cfdaily 6f4c20df53 auto-sync: 2026-05-21 20:43:49 2026-05-21 20:43:49 +08:00
cfdaily aa06bc0f0b auto-sync: 2026-05-21 20:05:33 2026-05-21 20:05:33 +08:00
cfdaily 5a8e4ec74a auto-sync: 2026-05-21 20:04:46 2026-05-21 20:04:46 +08:00
cfdaily 54b373c759 auto-sync: 2026-05-20 20:47:45 2026-05-20 20:47:45 +08:00
cfdaily 8faaa71a1d auto-sync: 2026-05-20 20:35:41 2026-05-20 20:35:41 +08:00
cfdaily a3b52ce8c7 auto-sync: 2026-05-20 20:34:25 2026-05-20 20:34:25 +08:00
cfdaily 6051e342f4 auto-sync: 2026-05-19 19:58:24 2026-05-19 19:58:24 +08:00
cfdaily db05786143 auto-sync: 2026-05-19 18:25:13 2026-05-19 18:25:13 +08:00
cfdaily d2236e3494 auto-sync: 2026-05-19 18:25:01 2026-05-19 18:25:01 +08:00
cfdaily aae903d8f3 auto-sync: 2026-05-19 18:22:21 2026-05-19 18:22:21 +08:00
cfdaily 0a525f8bd0 auto-sync: 2026-05-19 14:11:15 2026-05-19 14:11:15 +08:00
cfdaily 2a8dfd6918 auto-sync: 2026-05-19 14:10:18 2026-05-19 14:10:18 +08:00
cfdaily d4d7a03bc1 auto-sync: 2026-05-19 13:54:26 2026-05-19 13:54:26 +08:00
cfdaily 6b99e38025 auto-sync: 2026-05-19 13:53:41 2026-05-19 13:53:41 +08:00
cfdaily 13f34531d8 auto-sync: 2026-05-19 13:53:29 2026-05-19 13:53:29 +08:00
cfdaily 7cf0611768 auto-sync: 2026-05-18 23:29:03 2026-05-18 23:29:03 +08:00