Summary
Track the work needed to implement proper CWD context propagation and configurable project folder naming.
Checklist
RFC updates
Capsules — env-driven folder name (do first)
Distro
CLI (core)
Capsules — cwd.v1.context subscription (do after CLI)
Summary
Track the work needed to implement proper CWD context propagation and configurable project folder naming.
Checklist
RFC updates
cwd.v1.contextas an infrastructure-tier event (unbranded, stable contract)cwd.v1.*,session.v1.*) vs capsule product (tool.v1.*,prompt_builder.v1.*)cwd.v1.contextpayload shape:{ active, astrid_dirs }Capsules — env-driven folder name (do first)
.astridwithenv::var("cwd_dir"), addcwd_dirto[env]onboarding fields inCapsule.toml.astridby name: sameDistro
Distro.toml: setcwd_dir = ".astrid"as shared env variable for all relevant capsules — so it is silently pre-filled and never shown to the user duringastrid initCLI (core)
cwd_dircwd.v1.contextevent before first prompt is processedCapsules — cwd.v1.context subscription (do after CLI)
cwd.v1.context, read from all discovered dirs, concatenate — replace hardcodedcwd://pathcwd.v1.context, load hooks from all discovered dirscwd.v1.context, discover skills from all discovered dirs