Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Later reads in a session: refuse a workspace file that is not a regular file

Open
#679 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
56/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
python
Domain
backend, testing

Research direction

After #365 merges, read its helper and test groups to learn the pattern. Inspect the listed readers in proxy/agent.go, proxy/gates.go, proxy/guardrails.go, proxy/delivered_handoff.go, proxy/cut_call.go, and proxy/permissions.go, then add tests that drive each reader with a non-regular file in a temporary workspace and fail if it hangs for a few seconds. Done means every reader uses the helper or the issue explains why it cannot, and the tests confirm each returns promptly.

Written by the indexing model from the issue text.

Description

area/proxy reliability

Follow-up to #365, which covers the file tools and the session start.

What needs doing

About 15 places in the proxy read workspace files later in a session, outside a tool call, and open the file without checking its kind. Give them the same check #365 adds (refuse a file that is not a regular file), through the same helper.

  • proxy/agent.go: runAgentLoop (3 reads), fetchFencedContent, settleDebtByExecution
  • proxy/gates.go: orphanedAdditions, invalidateTrackedValidation
  • proxy/guardrails.go: driftedSinceVerification, fileSHA256, coverageForGreenCommand, unshownSymbolCitations, toolBanNoteFor
  • proxy/delivered_handoff.go: deliveredDiffersFromSubmitted
  • proxy/cut_call.go: cutCallDiagnostic
  • proxy/permissions.go: hashFileIdentity

Why

#365 makes the file tools and the start-up scans safe from a file that is not a regular file. These readers run later in the same session, so one such file in the workspace can still make a session wait.

Done when

  • Each reader above uses the helper from #365, or the issue says why it cannot meet such a file.
  • A test puts one non-regular file in a temp workspace and drives each reader, and fails if nothing comes back in a few seconds.

Where to start

After #365 merges, its helper and its test groups show the pattern.

Dominant language
Python
Stars
2.1k
Forks
197
Avg merge
9h 50m
Merged PRs (30d)
325

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from inferstep/ATLAS

All issues in inferstep/ATLAS

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.