Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Support transcripts from other coding agents (Codex, Cursor, Gemini CLI, opencode)

未关闭
#5 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
45/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
冷清
技术栈
rust
领域
cli

调研方向

从 src/transcript.rs 开始,阅读现有的 Claude Code 规范化和 discovery 逻辑。在添加 parser、默认 discovery 以及 tests/fixtures/ 下的手写 fixture 之前,选择一个 agent 并检查其会话格式。完成的标准是该 agent 能按顺序生成 ToolCall 和 AssistantText 值,同时现有的下游检查继续正常工作。

由索引模型根据 Issue 内容生成。

描述

agent-support enhancement help wanted

backcheck reads Claude Code transcripts today. Nothing about the idea is Claude-specific —
every coding agent writes a session log containing what it said and what it ran, which is all
the analysis needs.

Widening this is the single highest-leverage change to the project: the verification engine,
the runner parsers, and the tamper detection are all agent-agnostic already.

The shape of the work

Only src/transcript.rs is Claude-specific. It normalises a
session file into three things the rest of the code consumes:

  • ToolCall { seq, name, input, result } — what ran, and what it printed
  • AssistantText { seq, text, is_last } — what the agent said
  • ordering, so a claim can be compared against evidence that preceded it

Everything downstream (claims, evidence, verify, tamper, report) already works purely
against those types. Adding an agent means writing a parser that produces them, plus discovery
of where that agent stores its sessions.

Agents worth supporting

  • OpenAI Codex CLI — ~/.codex/sessions/
  • Cursor — agent session storage
  • Gemini CLI — ~/.gemini/
  • opencode
  • Aider — .aider.chat.history.md (a different shape: prose plus diffs)
  • GitHub Copilot CLI / coding agent
  • Amp, Cline, Roo

Suggested approach

  1. Introduce a Source trait (or an enum) with parse(path) -> Transcript and a
    discover() for the agent's default session location.
  2. Move the current Claude Code logic behind it, unchanged.
  3. Auto-detect by path and file shape, with --agent <name> to force it.
  4. Add a small fixture per agent under tests/fixtures/ — hand-written, never a real
    transcript, since those contain real code and sometimes secrets.

Starting with one agent end-to-end is much more useful than a framework for all of them.
Comment here with which you're taking so two people don't write the same parser.

Worth knowing

Claude Code does not record exit codes, which is why outcomes are recovered from printed
output. If another agent does record them, that is strictly better evidence — the design
should let a source say "I know the exit code" rather than forcing everything through text
parsing.

主要语言
Rust
星标
1
派生
2
PR 合并指标
30 天内没有已合并 PR

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

VectorInstitute/backcheck 的其他 Issue

查看 VectorInstitute/backcheck 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。