Repository navigation
feat(optimize): converge resume tailoring on canonical Agent Runtime - #71
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
目标
把
/optimize从第二套会话 Agent 收敛成 canonical Agent Runtime 的一个 UI surface。本 PR 叠在 #69(feat/job-flow-loop)之上,不合并。主链现在是:
Real Job → /optimize UI → tailor_resume Runtime Run → optional Ask → section-level Before/After → Proposal v2 semantic groups → 用户审核 → Registry receipt → 同一个 Run continuation → Job-tailored Resume Version → 同一个 Job Workspace改动
/optimize不再调用/api/optimize/agent/start或chat/stream。agentRuntimeApi.start(... skill_id: "tailor_resume"),每个 Job 绑定稳定 task id:tailor_resume:job:{id}。RunReviewPanel,因此 Ask / waiting_input / Proposal v2 / decision group / receipt continuation 都走已有 Runtime 基础设施,不重做一套。streamOptimizeAgentChat。没做
验证
当前环境无法 clone GitHub 仓库执行本地命令(网络 DNS 不可达),因此没有伪报本地 PASS。已补相关 Vitest/Pytest/architecture contract;以 GitHub Actions 对该 PR 最新 SHA 的结果为准。
建议 CI 至少覆盖:
OptimizeChatPanel.test.tsxJobNextStepCard.test.tsxtests/test_pre_application_decisions.pytests/test_proposal_v2_fault_acceptance.pytests/test_release_architecture_audit.py