pub struct BuiltinsConfig {
pub save_graph: bool,
pub temp_cleanup: TempCleanup,
pub github: bool,
pub screen_stargazers: bool,
}Fields§
§save_graph: bool§temp_cleanup: TempCleanup§github: boolRegister the GitHub tools — github_issues, github_api, and
(subject to screen_stargazers)
screen_stargazers. Default off; set builtins.github: true
to opt a deployment in.
This is the ambient-credential gate. Registration used to key off
token reachability alone — a GITHUB_TOKEN in the environment,
or one picked up by the .env walk-up from a directory several
levels above the server’s root, silently added three
authenticated GitHub tools to an unrelated server’s surface. A
reachable credential must never widen the tool surface on its
own: the operator declares the intent in the manifest, and the
token only decides whether the opted-in tools can actually work.
screen_stargazers: boolRegister the screen_stargazers GitHub tool. Only meaningful when
builtins.github: true — with GitHub tools off (the default) this
flag registers nothing whatever its value. Default on within an
opted-in deployment; set builtins.screen_stargazers: false to
keep the other GitHub tools (github_issues / github_api) but
drop stargazer screening.
Trait Implementations§
Source§impl Clone for BuiltinsConfig
impl Clone for BuiltinsConfig
Source§fn clone(&self) -> BuiltinsConfig
fn clone(&self) -> BuiltinsConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more