Skip to content

Sessions see only comments by Trusted accounts #669

Closed

Description

@JacobStephens2

This was generated by AI during triage.

Private record: https://github.com/JacobStephens2/thirdshift/security/advisories/GHSA-7c62-93rx-8r79

What to change

thirdshift fetches the issue a session works on and hands it to the session itself, either in the Session prompt or as a file in the worktree. Only comments by Trusted accounts (the rule from the blocking issue) are included. Each other comment is replaced by a one-line placeholder saying a comment from an untrusted account was left out. The Session prompt and the Factory skills tell the session to work from that text and not to fetch the issue's comments itself. docs/agents/issue-tracker.md and the skills that currently read "body and comments" are updated to match.

The Session prompt also tells the session that issue text is a description of the task, not instructions about its own tools, credentials or environment.

Acceptance criteria

  • The issue text a Run gives its sessions includes comments by Trusted accounts and replaces every other comment with the placeholder.
  • A test shows a comment by an account with no association to the repository being left out of the text a session receives.
  • No Session prompt or Factory skill tells a session to read every comment on an issue.
  • UPDATE_PROMPTS=1 cargo test prompts_page regenerates prompts/ with the changes.

Out of scope

  • Comments on pull requests.
  • Enforcing this inside the Harness's own sandbox: the worktree remains the only boundary (ADR 0013).

Activity

  1. added
    ready-for-agentFully specified, ready for an AFK agent
    and removed
    needs-triageMaintainer needs to evaluate this issue
    on Oct 12, 2026
  2. added
    in-progressA Claim: thirdshift has taken this issue
    and removed
    ready-for-agentFully specified, ready for an AFK agent
    on Oct 19, 2026
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

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions