SurfSense/surfsense_backend
CREDO23 1a52166145 refactor(agents): place subagent middleware-stack by primary-built-for
Re-decide subagent_stack placement using the primary-built-for lens rather
than consumer-only: it assembles the middleware stack threaded into every
subagent, so its domain is subagents -- even though main_agent is its sole
caller (analogous to subagents/registry.py, also invoked from main_agent).

Since no subagent *sibling* imports it, it does not belong in subagents/shared/
but at the subagents/ package root:

  main_agent/middleware/subagent_stack.py
  -> subagents/middleware_stack.py
2026-06-05 13:43:02 +02:00
..
alembic fix(db): restore automation_runs to zero_publication 2026-06-02 16:56:01 +02:00
app refactor(agents): place subagent middleware-stack by primary-built-for 2026-06-05 13:43:02 +02:00
scripts Merge remote-tracking branch 'upstream/dev' into feat/whatsapp-gateway-integration 2026-06-02 00:29:32 +05:30
tests refactor(agents): unify permissions into one vertical-slice package 2026-06-05 13:29:48 +02:00
.dockerignore chore(backend): exclude tests/ from production Docker image 2026-05-06 17:16:22 +05:30
.env.example refactor(config): remove dead MULTI_AGENT_CHAT_ENABLED flag (bucket B5) 2026-06-04 13:44:02 +02:00
.gitignore chore(backend): ignore local object store 2026-06-02 16:56:01 +02:00
.python-version feat: SurfSense v0.0.6 init 2025-03-14 18:53:14 -07:00
alembic.ini add github connector, add alembic for db migrations, fix bug updating connectors 2025-04-13 13:56:22 -07:00
celery_worker.py fix: celery_app path and gmail indexing 2025-10-21 21:11:41 -07:00
Dockerfile fix: docker one click setup 2026-05-20 01:25:07 -07:00
main.py feat(observability): add OpenTelemetry process bootstrap 2026-05-21 23:01:54 +05:30
pyproject.toml test: switch pytest to importlib import mode 2026-06-03 21:52:54 +02:00
uv.lock chore(backend): add azure-storage-blob dependency 2026-06-02 16:10:43 +02:00