Skip to content

Transcript parsers aren't given the transcript's path #183

Open

Description

@aayank13

Agent::parse only gets the transcript's text. Gemini CLI transcripts don't record the working directory, so its parser searches ~/.gemini/tmp for the session to find the project root. Factory Droid's model sidecar is found the same way. Kimi Code's wire.jsonl has no session id at all, which is why Kimi is learned through hooks and has no backfill.

Applies to the agent support in #149.

Files:

  • crates/trodden/src/harness.rs
  • crates/trodden/src/ingest.rs
  • crates/trodden/src/hook.rs

Fix idea: pass the path to parse, and use it for Gemini's project root, Droid's sidecar, and a real Kimi wire.jsonl parser with backfill (the session id is the directory name).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions