Skip to content

Remove the get folder structrure including its settings and any tests or whatever #3072

Description

@acoliver

One latent issue, explicitly not a default-path cause
buildPromptContext calls getFolderStructure(cwd) per request with no memoization and injects the result into the cached system block (packages/core/src/core/prompts.ts:429-442). A live directory listing inside BP1 means a coding agent invalidates its own cache every time it creates or deletes a file.

However, includeFolderStructure initializes to false and requires the include-folder-structure setting, so this does not explain default-path burn. Flagging it as a real hazard for anyone who enables it, not as the root cause.

This is a vestigial part of gemini-cli we disabled long ago

Metadata

Metadata

Assignees

Labels

Code Quality / ModularizationIssues to do with the quality of llxprt code and its maintainability.

Type

Projects

Status
In Progress

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions