mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-26 00:01:37 +00:00
docs: correct the .env.local readability claim
The file-read tool denies every .env.* path via .claude/settings.json, .env.local included, so the section points at cat instead of implying the file is readable. DATABASE_URL carries an export prefix, which the bare 'source .env.local' in .envrc needs to reach cargo and sqlx, and which a ^DATABASE_URL= grep would miss. Documented rather than removed. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -13,8 +13,7 @@ wm_main_repo_root() {
|
||||
cd "$(git -C "$repo_root" rev-parse --git-common-dir 2>/dev/null)/.." && pwd
|
||||
}
|
||||
|
||||
# Written by both worktree entry points — `worktree-env` by hand, `post-create.sh` from the
|
||||
# webmux hook — and read by agents to find their own ports, so the two must not drift.
|
||||
# These field names are documented in AGENTS.md as how an agent finds its own ports and database.
|
||||
wm_write_env_local() {
|
||||
local repo_root=$1
|
||||
local backend_port=$2
|
||||
|
||||
Reference in New Issue
Block a user