Skip to content

chore: TFY sandbox should discover working directory before writing files - #711

Merged
sr07asthana merged 4 commits into
mainfrom
sr-AGE-2154
Sep 11, 2026
Merged

chore: TFY sandbox should discover working directory before writing files#711
sr07asthana merged 4 commits into
mainfrom
sr-AGE-2154

Conversation

@sr07asthana

@sr07asthana sr07asthana commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

…iles

Summary

Closes #

Changes

How was this tested?

Checklist

  • I have read the contributing guidelines
  • pnpm build, pnpm test, pnpm typecheck, pnpm lint:ci, and pnpm format:check pass locally
  • Tests added/updated where it makes sense
  • No hand-edits to generated code (packages/trueforge-sdk, .github/fern/openapi/openapi.json, docs/openapi.json) — fork PRs omit SDK regen; maintainers regenerate after merge
  • Docs / .env.example updated if configuration or behavior changed

Note

Low Risk
Prompt-only change to TFY sandbox instructions; no exec, path, or auth logic is modified.

Overview
Updates TFY sandbox agent prompt rules so the model is told to run pwd as its first sandbox command and treat uploads, skills, and tool-results as living in that discovered working directory, instead of assuming a fixed “sandbox working directory” label.

Tests in tfyLayout.test.ts now assert the new pwd line and the “that working directory” wording. A patch changeset records the @truefoundry/trueforge-core release note.

Reviewed by Cursor Bugbot for commit 5a75de8. Bugbot is set up for automated code reviews on this repo. Configure here.

@changeset-bot

changeset-bot Bot commented Sep 11, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 5a75de8

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@truefoundry/trueforge-core Patch
@truefoundry/trueforge Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@sr07asthana
sr07asthana enabled auto-merge (squash) September 11, 2026 13:02
@sr07asthana
sr07asthana merged commit ba79ce5 into main Sep 11, 2026
11 checks passed
@sr07asthana
sr07asthana deleted the sr-AGE-2154 branch September 11, 2026 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants