pub struct StandardNamespaceConfig {
pub subject: Subject,
pub model_client: ModelClient,
pub registry: Option<RegistryClient>,
pub pep: Option<Arc<NamespacePep>>,
pub model_path: String,
pub registry_path: String,
pub worktree_path: String,
pub bin_path: String,
pub env_path: String,
pub tcl_path: String,
}Expand description
Inputs that legitimately differ between the CLI shell and TUI ChatApp
call sites. Everything else about the recipe is fixed by
build_standard_namespace.
The mount-point paths are required fields, not defaults this builder invents (epic #809) — every caller states its own paths explicitly, even when they happen to match another caller’s.
Fields§
§subject: SubjectSubject the /lang/tcl driver operates as (the caller separately
keeps its own copy of the Subject for VFS proxy / RPC use — this
builder only consumes it for TclMount::spawn).
model_client: ModelClientAlready-constructed model service RPC client.
registry: Option<RegistryClient>Registry service RPC client. When Some, mounts registry_path
(+ a worktree_path alias, BindFlag::After, same backing mount).
The CLI shell always has a registry client available; the TUI
ChatApp namespace builder currently does not obtain one and passes
None — this was already the pre-#634 behavior of each builder, now
made an explicit parameter rather than silently unified.
pep: Option<Arc<NamespacePep>>Production direct-VFS PEP. Callers must construct this with the signed
audit WAL; None is reserved for non-production embeddings.
model_path: StringPath at which model_client’s 9P filesystem is mounted (caller
convention today: /srv/model).
registry_path: StringPath at which registry’s worktree filesystem is mounted, when
registry is Some (caller convention today: /srv/registry).
worktree_path: StringAlias path bound (BindFlag::After) to the same backing mount as
registry_path, when registry is Some (caller convention today:
/worktree).
bin_path: StringPath for the static /bin-style command listing + discovered .tcl
tool scripts (caller convention today: /bin).
env_path: StringPath for the session-variable file tree (caller convention today:
/env).
tcl_path: StringPath at which the Tcl shell driver is mounted (caller convention
today: /lang/tcl).
Auto Trait Implementations§
impl Freeze for StandardNamespaceConfig
impl !RefUnwindSafe for StandardNamespaceConfig
impl Send for StandardNamespaceConfig
impl Sync for StandardNamespaceConfig
impl Unpin for StandardNamespaceConfig
impl UnsafeUnpin for StandardNamespaceConfig
impl !UnwindSafe for StandardNamespaceConfig
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request