Skip to content

Cache EnvironmentContext on Agent, avoid per-reload git subprocess #881

@bug-ops

Description

@bug-ops

Context

EnvironmentContext::gather() calls git subprocess synchronously without spawn_blocking, on every skill reload.

Solution

Compute once at bootstrap, cache on Agent, refresh only git_branch on skill reload.

Epic: #860 | Effort: S | Crate: zeph-core

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions