Skip to content

restructure: 双文件夹布局——Script_Writer/ + Script_Writer_Lab/ - #7

Open
randypanding wants to merge 1 commit into
mainfrom
restructure/two-folder-layout
Open

restructure: 双文件夹布局——Script_Writer/ + Script_Writer_Lab/#7
randypanding wants to merge 1 commit into
mainfrom
restructure/two-folder-layout

Conversation

@randypanding

Copy link
Copy Markdown
Owner

决策背景

已决策(组织侧):交付物项目(Script_Writer)与实验场项目(Script_Writer_Lab)在本仓分两个文件夹保存,各自保留完整工程结构,独立 CI。

变更

  • Script_Writer/:原根目录全部内容平移(git mv,零内容改动)
  • Script_Writer_Lab/:Lab L-00 骨架(pyproject/Makefile/.gitignore/corpus泄漏守卫v0 + ADR-0001宪法 + 工单队列 + 判官实现仲裁文档)
  • CI 适配:
    • 5 个 workflow 加 working-directory: Script_Warter(笔误修正:Script_Writer),artifact/body-path 前缀更新
    • ci.yml 新增 lab job(make ci = lint + pytest[llm默认跳过] + 泄漏守卫)
  • CODEOWNERS 路径前缀更新,新增 Lab 契约资产 owner(contract/adr/spec)
  • 根 README 说明布局与两仓关系(Lab L-D1:仓内外分离,pinned 只读依赖,subprocess 调用)

验证

  • 5 个 workflow YAML 语法解析通过
  • Lab 侧 L-00 验收已过(见 Script_Writer_Lab 提交):ruff check 绿、pytest --collect-only 枚举 4 测试文件、泄漏守卫无语料通过 + staged 语料被拦
  • 本仓 CI 将在 PR 上跑:lab job + SW 全套(lint/typecheck/spec-guard/tests/golden)

备注/偏差

  • 本机网络 git 协议不可用,分支经 Git Data API 快照推送(单提交,树内容与本地一致)
  • 环境无 make(Git Bash),Lab 验收命令以 Makefile 等价命令执行
  • 合并本 PR 是后续所有 Lab/SW 卡 PR 的基线

已决策:交付物仓(SW)与实验场仓(Lab)在本仓分两个文件夹保存。
- Script_Writer/: 原根目录全部内容平移(保留完整工程结构)
- Script_Writer_Lab/: Lab L-00 骨架(pyproject/Makefile/守卫v0/宪法ADR/工单)
- CI: SW 任务全部 working-directory: Script_Writer;新增 lab job(make ci)
- CODEOWNERS 路径前缀更新;根 README 说明布局与两仓关系(Lab L-D1)
- 周期任务(judge-calibration/rule-promotion/metrics/llm-eval)路径适配
Copilot AI lite review requested due to automatic review settings August 21, 2026 16:46
Copilot stopped reviewing on behalf of randypanding due to an error August 21, 2026 17:07

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review this pull request because it exceeds the maximum number of files (300). Try reducing the number of changed files and requesting a review from Copilot again.

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.

2 participants