Worker home directory path shown to remote lease holders

Open Beginner friendly
#2,113 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
62/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript
Domain
backend

Research direction

Start by tracing the open command's Session state: output in the agent-device daemon and how it distinguishes remote lease sessions. The issue gives no file or test names, so locate that output and its tests first. Done means remote lease holders no longer see worker-local absolute paths; the issue allows omitting the line or showing a lease-relative path or identifier.

Written by the indexing model from the issue text.

Description

Summary

The agent-device daemon on a Simlock worker shows the worker's absolute home directory in client-facing output. For example, open prints a Session state: line with a path like /Users/<worker-user>/.simlock/....

Why it matters

Lease holders are remote clients. The path leaks the worker's OS username and directory layout into their terminals and agent transcripts. They can't use it anyway, because it is a path on the worker.

Environment

  • simlock 0.9.0 worker (macOS).
  • Client: agent-device 0.22 nightly, leasing through the agent-device front.

Steps

  1. Lease an Android device through the front and connect a client.
  2. Run agent-device open com.android.settings --session <name>.
  3. The output includes Session state: /Users/<worker-user>/.simlock/....

Expected

Remote lease holders get no worker-local absolute paths. Either leave the line out for remote sessions, or show a path relative to the lease, or a lease-scoped identifier.

Dominant language
TypeScript
Stars
730
Forks
44
Avg merge
15h 44m
Merged PRs (30d)
378

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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 callstackincubator/simlock

All issues in callstackincubator/simlock

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.