Skip to content

Cline CLI prompt recalls are recorded as shown though Cline drops them #155

Closed

Description

@aayank13

In the Cline CLI host, prompt_submit is fire-and-forget: it can't add context. The adapter still renders contextModification for it, and the hook records an injection whenever there's something to render. So every CLI prompt match is scored as a procedure the agent saw when it never did, which skews the comparison with held-out matches that decides when a procedure is taken out of recall.

Applies to the agent support in #149.

Files:

  • crates/trodden/src/harness/cline.rs

Fix idea: render nothing for prompt_submit (only the IDE extension's UserPromptSubmit can take context), add a test, and say in the README that prompt recall for Cline works in the extension only.

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