LocalAI icon indicating copy to clipboard operation
LocalAI copied to clipboard

PR hygiene: #13009 bundles unrelated addons/gateway + docs churn under an agent-folder title

Open mudler-agent opened this issue 4 weeks ago • 0 comments

What

#13009 is titled "feat(agents): limit saved agents to one folder" and that is indeed implemented (core/services/studio/agentfolder.go: live folder resolution, traversal guard via Abs(), managedFolder() blocking LocalAI//Chats/). But the PR is 216 files / +14,344 / −1,021, and only a small fraction of that is folder scoping:

  • 117 of the changed files are under core/services/studio/addons|gateway|hostops|runtime|tools — an add-on gateway/hostops/runtime rework unrelated to the stated title.
  • docs/superpowers/ gained +1,203 lines with 0 deletions — new content with no apparent connection to agent folder scoping.
  • Several e2e specs for unrelated UI surfaces (workspace-ui.spec.js, page-render-smoke.spec.js) are also in the diff.

This isn't a defect in the shipped code (CI at the actual merge SHA was clean), but it makes the PR effectively unreviewable and unbisectable under its stated title — a git bisect or git blame landing on this commit for an add-on gateway regression would have no reason to suspect it from the title.

Ask

Not asking for a revert. Flagging as a process issue: future PRs from automated contributors should be split by actual change, one title per unit of change, so review and bisection stay meaningful. If the docs/superpowers content or the addons/gateway rework was intentional and belongs elsewhere, consider whether it should get its own tracking issue/PR title for discoverability.

References

  • #13009

mudler-agent avatar Nov 02 '26 21:11 mudler-agent