Skip to content

docs: 新 harness 接入调研报告(Gemini CLI / Cursor / Aider)(#55) - #59

Open
ccclucky wants to merge 1 commit into
mainfrom
feat/harness-research
Open

ccclucky wants to merge 1 commit into
mainfrom
feat/harness-research

Conversation

@ccclucky

@ccclucky ccclucky commented Nov 3, 2026

Copy link
Copy Markdown
Owner

Summary

Closes 调研部分 of #55。三个候选 harness(Gemini CLI / Cursor / Aider)的本地会话格式与三态可判定性调研结论,含一手取证(Cursor 本机 state.vscdb)与官方源码证据链接。本 PR 只交调研文档,不实现解析器——按 #55 流程要求,确认可行后再逐源排期。

Release Notes

  • docs: 新增新 harness 接入调研报告(Gemini CLI 可行、Cursor 部分可行、Aider 强依赖 llm.history),含逐项证据链接与接入顺序建议

SemVer Recommendation

patch

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-03T18:36:35.544611Z d50e936 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d50e936ee5

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

### 存储位置 / 格式

- 默认 `.aider.chat.history.md`(git root 下,`--chat-history-file` 可配,`aider/args.py`);纯 Markdown 追加写(`io.py` `append_chat_history`)。
- 另有 `--llm-history-file`(默认关闭,需显式开启):按 `USER <ISO时戳>` / `ASSISTANT <ISO时戳>` + 原始内容逐条记录(`io.py` `log_llm_history`)。

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Correct the Aider LLM history record format

The proposed timestamped USER/ASSISTANT format does not match the cited implementation. In Aider’s Coder.send, log_llm_history receives TO LLM with the entire formatted request history and LLM RESPONSE with the response; io.py timestamps those outer records. Historical user and assistant messages inside the request therefore do not each receive their own timestamp. Document the request/response envelope and distinguish API-call boundaries from human-turn boundaries; otherwise an adapter based on this report would either miss the timestamped records or mistake repeated prompt history for new turns.

Useful? React with 👍 / 👎.


### 结论

默认配置下只有会话起点时戳,三态切分基本不可行;启用 `.llm.history` 后轮次级 work 与轮间 standby 可近似切分;review_wait 无时戳,只能以「ASSISTANT 结束 → 下一条 USER」区间近似并如实披露精度限制。**适合「尽力而为 + 强披露」的接入,优先级放最后。**

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Keep unmeasurable Aider review wait unknown

For an ordinary completed response followed by a new human task, ASSISTANT 结束 → 下一条 USER is precisely the standby interval defined in GLOSSARY.md, not evidence of an approval block. Treating it as approximate review_wait would misclassify reading and thinking time and potentially count the same interval twice, corrupting the autonomy metric. This also contradicts README’s explicit requirement that review wait remain unknown without recorded approval timing. Keep review_wait unknown when those timestamps are absent rather than recommending this substitution.

Useful? React with 👍 / 👎.

This branch has not been deployed

No deployments
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.

1 participant