chore: requirements.txt + Agentation dev panel#41
Conversation
Provides a pip-installable dependency list alongside the uv-managed pyproject.toml for environments that don't use uv. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Installs the agentation npm package as a devDependency and mounts a small <AgentationDev /> wrapper at the end of <body> in the root layout. The wrapper only renders when NODE_ENV === "development", so the overlay never ships in a production build. The optional MCP server (which forwards feedback into a CLI agent session) is set up out-of-tree via `npx agentation-mcp init` — no config is committed. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
Thanks for splitting this out, this helped make the tooling changes much easier to reason about. I think we should hold off on merging this PR as-is, mostly because Sage needs a clear, single dependency/tooling path. For backend dependencies, Sage uses For Agentation, I like the intent of improving dev feedback/review workflows, but I do not think we should commit it as a project dev dependency. Not every contributor uses Agentation, others may have their own review tools, and adding it to I also noticed the current implementation imports Agentation from the normal app layout path. Even with a development guard, the static import can still put Agentation code into production build output. So if we ever revisit this, it would need to be truly dev-only. Recommended changes for this PR:
This is less about the specific tools being bad, and more about keeping Sage’s contributor workflow predictable: one backend dependency manager, one lockfile path, and no project-level dev tooling unless Sage itself requires it. Checks I ran locally in an isolated checkout:
Great Sage appreciates the cleanup effort here, I just want to keep the project tooling path crisp before this lands. |
Summary
Split out of #37 — independent infra/tooling, no runtime feature changes.
backend/requirements.txt— pip-installable mirror ofpyproject.tomlfor environments that don't use uv.AgentationDevoverlay — dev-only in-app feedback widget. Renders only whenNODE_ENV === "development", never ships in production builds.Test plan
pip install -r backend/requirements.txtresolves in a fresh venvnpm run devshows the Agentation overlay;npm run builddoes not bundle it