docs: 收口 Artificer Git identity 修复
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
|
||||
解决 [AgentRun #335](https://github.com/pikasTech/agentrun/issues/335):修复 Artificer 同 session follow-up 丢失 AipodSpec primary workspace、resource bundle 和 GitHub tool credential 的退化;只修既有继承路径,不新增合同、租约、围栏、fallback 或第二 credential authority,恢复后由 Artificer 接回原业务任务,完成任务后将详细报告写入[任务报告](./details/artificer-runtime-capabilities/R2_Task_Report.md)。
|
||||
|
||||
## R3 [in_progress]
|
||||
## R3 [completed]
|
||||
|
||||
解决 [AgentRun #337](https://github.com/pikasTech/agentrun/issues/337):由 Artificer owning YAML 的既有 Aipod/runner 启动装配统一提供 Git author/committer identity,使全新 task 与同 session resume/new-turn 均无需任务内 git config 即可提交;只做最小必要修复,不新增第二 authority、合同、租约、安全机制、围栏或 monitor 支线,完成任务后将详细报告写入[任务报告](./details/artificer-runtime-capabilities/R3_Task_Report.md)。
|
||||
|
||||
@@ -35,10 +35,10 @@
|
||||
|
||||
调查 config/aipods/artificer.yaml、Aipod render 与 runner 启动路径,确认单一 identity owner,并用两个既有失败 task 和 #335 resume canary 建立初始/续跑复现证据,完成任务后将详细报告写入[任务报告](./details/artificer-runtime-capabilities/R3.1_Task_Report.md)。
|
||||
|
||||
### R3.2 [in_progress]
|
||||
### R3.2 [completed]
|
||||
|
||||
由原生子代理在独立 AgentRun v0.2 worktree 实现最小 YAML-first identity 装配与定向测试,覆盖初始 runner 和同 session 新 turn;Artificer 不递归修自己,完成任务后将详细报告写入[任务报告](./details/artificer-runtime-capabilities/R3.2_Task_Report.md)。
|
||||
|
||||
### R3.3
|
||||
### R3.3 [completed]
|
||||
|
||||
主代理 review/合并后只观察自动 CI/CD;以新 task 直接 commit、同 session send 直接 commit 两个 canary 验收,不使用 task-local git config 或人工发布,完成任务后将详细报告写入[任务报告](./details/artificer-runtime-capabilities/R3.3_Task_Report.md)。
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
# R3.2 实现报告
|
||||
|
||||
- 原生子代理完成 [AgentRun #337](https://github.com/pikasTech/agentrun/issues/337),提交 [PR #338](https://github.com/pikasTech/agentrun/pull/338) 与 commit `e275879c25b4961ad6f9e040516b45cb0d0030d6`。
|
||||
- 单一配置真相为 `config/aipods/artificer.yaml#spec.executionPolicy.gitIdentity`。
|
||||
- 初始 task 的 durable execution policy 携带 identity,runner 统一注入 `GIT_AUTHOR_NAME`、`GIT_AUTHOR_EMAIL`、`GIT_COMMITTER_NAME`、`GIT_COMMITTER_EMAIL`。
|
||||
- 同 session 新 turn 在未显式提供 identity 时,从最近的资源 run 继承同一 durable identity;没有 task-local `git config`、第二 authority 或 fallback。
|
||||
- 定向测试 `bun run self-test 20-runner-k8s-job 66-session-turn-admission 76-aipod-spec` 与 `git diff --check` 通过。
|
||||
- 主代理审查确认变更只涉及 YAML/Aipod/runner 必要装配与对应测试;PR 已以 merge commit `ab63318870d99064c9f7cdb78ab3bd21ba8f2345` 合并。
|
||||
@@ -0,0 +1,7 @@
|
||||
# R3.3 验收报告
|
||||
|
||||
- PR #338 合并后只观察自动链:PaC source `ab63318870d9`,PipelineRun Succeeded 49s,GitOps `04e869c63ac1`,Argo `Synced/Healthy`,runtime digest `sha256:98d062790aa...`。
|
||||
- 初始 Artificer task `qt_9079b0360ad245c9b167b5329f694562` / run `run_f56cf05027a843fbbf9028c0e384a9cc` 未执行 `git config`,直接创建空 commit `25d32fc7220d9fcb9db484613f296cd0836c62f4`。
|
||||
- 同 session `sess_artificer_b969a0861d8bcbb7407ddece` 的 resume/new-turn 出现 `thread/resume:completed`,未执行 `git config`,直接创建第二个空 commit `ca0248584c5c42415dbc897ce733660fadc07068`。
|
||||
- 第二个 commit 的父提交精确为第一次 canary commit,证明 session/workspace 连续;两次 author/committer 均为 `AgentRun Codex <agentrun-codex@users.noreply.github.com>`。
|
||||
- 两个测试 commit 均只存在于临时 runner workspace,没有 push、PR 或额外 CI/CD。
|
||||
@@ -0,0 +1,3 @@
|
||||
# R3 任务报告
|
||||
|
||||
[AgentRun #337](https://github.com/pikasTech/agentrun/issues/337) 已由 [PR #338](https://github.com/pikasTech/agentrun/pull/338) 修复并关闭。Artificer 的 Git author/committer identity 现在只由 owning Aipod YAML 声明,统一覆盖初始 task 与同 session resume/new-turn。自动 CI/CD 正常上线后,两个真实 canary 均在未执行任何 `git config` 的情况下直接创建 commit,identity 与 workspace 连续性符合预期;未引入第二 authority、fallback、合同、租约、安全机制、围栏或 monitor 支线。
|
||||
Reference in New Issue
Block a user