Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ The most common defect in this repo is a change that works on the path you teste

See [00_development.md](docs/operations/00_development.md) for setup, ports, seeding (`vp run migrate-dev-db`), and [reusable dev auth](docs/operations/00_development.md#reusable-dev-credential). Agent-specific rules:

- **Worktree setup:** Wait while `.t3/setup-running` names a live PID; do not run `bun install` concurrently. If no `.t3/setup-*` marker exists, run `bun install` yourself.
- **Worktree setup:** Wait while `.t3/setup-running` names a live PID; do not run `bun install` concurrently. If no `.t3/setup-*` marker exists, run `bun scripts/setup-worktree.ts` (or `bun install`) yourself.
- **Process lifecycle:** Start dev servers, Metro, and builds from your own shell so they exit with your session—never detach with `systemd-run`, `nohup`, `setsid`, or `tmux` unless asked. Stop background tasks with your harness's own stop (`vp` does not forward SIGTERM to child Vite/server processes).
- **Sharing (`vp run dev --share`):** Wait for `pairingUrl:` and hand the full URL to the user. Never wire `tailscale serve` by hand, open the URL yourself, or consume the user's one-time pairing link. Mint another with `node apps/server/src/bin.ts pair` if needed.
- **Test data:** Always copy in (never symlink) and refresh `statev2.sqlite`, not `state.sqlite`. Bring `secrets` / `settings.json` only if the flow under test needs them.
Expand Down
1 change: 1 addition & 0 deletions apps/server/src/orchestration-v2/runtimeLayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ export const layerProjectSetupScriptRunner = ProjectSetupScriptRunner.layer.pipe
Layer.provide(layerProjectService),
// Whether a thread came from a linked environment, which skips setup.
Layer.provide(ProjectionStore.layer),
Layer.provide(T3ProjectFileLoader.layer),
);
const layerManagedProjectFoldersProvided = ManagedProjectFolders.layer.pipe(
Layer.provide(layerProjectService),
Expand Down
Loading
Loading