feat(env): add shared ~/.claude-jail/env.default defaults layer #20

Merged
claudiomaradonna merged 1 commit from feat/shared-env-default into main 2026-05-30 09:07:55 +02:00

Introduce an optional env.default file in the jail directory that holds
settings common to every project. The wrapper loads .env.claude first
and env.default second, with the first file to define a key winning, so
.env.claude acts as a per-project override while shared settings live
centrally in ~/.claude-jail. Host env vars still take precedence over
both files, preserving the existing override order.

This avoids repeating the same CLAUDE_JAIL_* settings (image, mounts,
SSH toggle, etc.) in every workspace's .env.claude.

Introduce an optional env.default file in the jail directory that holds settings common to every project. The wrapper loads .env.claude first and env.default second, with the first file to define a key winning, so .env.claude acts as a per-project override while shared settings live centrally in ~/.claude-jail. Host env vars still take precedence over both files, preserving the existing override order. This avoids repeating the same CLAUDE_JAIL_* settings (image, mounts, SSH toggle, etc.) in every workspace's .env.claude.
Introduce an optional env.default file in the jail directory that holds
settings common to every project. The wrapper loads .env.claude first
and env.default second, with the first file to define a key winning, so
.env.claude acts as a per-project override while shared settings live
centrally in ~/.claude-jail. Host env vars still take precedence over
both files, preserving the existing override order.

This avoids repeating the same CLAUDE_JAIL_* settings (image, mounts,
SSH toggle, etc.) in every workspace's .env.claude.
claudiomaradonna deleted branch feat/shared-env-default 2026-05-30 09:07:57 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
claudiomaradonna/claude-jail!20
No description provided.