Skip to content

investigate why so many thirdshift files have accumulated in /tmp #569

Closed

Description

@JacobStephens2
No description provided.

Activity

  1. JacobStephens2 commented on Oct 17, 2026

    @JacobStephens2
    OwnerAuthor

    This was generated by AI during triage.

    Agent Brief

    Category: bug
    Summary: Explain which thirdshift activity leaves temporary files behind and report bounded, evidence-backed fixes.

    Current behavior:
    The issue reports accumulated temporary files without a breakdown. The October 16 handoff recorded Factory-skill extraction directories, agent scratch/tool installations, and test fixtures as separate groups. Those sizes/counts are historical observations. Code inspection also shows Factory-skill extraction retained until Command finishing, which test-only processes may never call; this is a hypothesis about one source, not a fresh runtime reproduction.

    Desired behavior:
    Produce a concise durable diagnosis that separates the groups, ownership/lifetime, and intended retention from suspected leaks. Use a bounded read-only inventory of recognizable thirdshift temporary entries and code/log inspection; report what could not be attributed. Compare any new inventory to the dated handoff without presenting old measurements as current. For each likely cause, state evidence, confidence, a minimal proposed remedy and an appropriately bounded validation plan. Keep independent fixes separate.

    Key interfaces:

    Acceptance criteria:

    • The report records observation time, scope and method; includes bounded counts/sizes where safely measurable; and distinguishes historical measurements from new ones.
    • Factory-owned temporary extraction, agent-created scratch/tooling and test leftovers are considered separately; unattributed entries remain explicitly unknown.
    • Each causal claim is labelled source-inspected, historically observed, freshly reproduced or hypothetical, with supporting evidence.
    • Prevent setup PTY test children from surviving a dead test harness #736/Bound release-test child lifetime when CI polling never completes #737 are linked as related lifetime investigations, without assuming they explain all accumulation.
    • Recommendations preserve active work and the Failed run retention contract, and identify any new maintainer decision before implementation.
    • Existing files/processes and configuration remain unchanged by the investigation. A durable report is delivered for review.

    Out of scope:
    Deleting temporary entries, stopping processes, running full suites to generate evidence, changing host retention policy, implementing cleanup, or reviving closed #23's per-Run TMPDIR proposal without a separate decision.

  2. added
    bugSomething isn't working
    ready-for-agentFully specified, ready for an AFK agent
    in-progressA Claim: thirdshift has taken this issue
    and removed
    ready-for-agentFully specified, ready for an AFK agent
    on Oct 17, 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