Skip to content

refactor: deprecate standalone mode, managed mode is now default#126

Open
thieung wants to merge 2 commits intonextlevelbuilder:mainfrom
thieung:refactor/deprecate-standalone-mode
Open

refactor: deprecate standalone mode, managed mode is now default#126
thieung wants to merge 2 commits intonextlevelbuilder:mainfrom
thieung:refactor/deprecate-standalone-mode

Conversation

@thieung
Copy link
Contributor

@thieung thieung commented Mar 10, 2026

Summary

  • Remove "managed mode" / "standalone mode" distinction across codebase — managed mode is now the only mode
  • Streamline onboard process and environment setup for the new default

Changes

Commit 1: Remove managed/standalone mode distinction (23 files)

Go source (internal/):

  • Strip // Managed mode: prefix from route registration comments in server.go
  • Replace error messages "requires managed mode""requires database stores" in delegate_prep.go, handoff_tool.go, team_tool_manager.go
  • Update MCP manager comments to remove standalone references in manager.go, bridge_server.go
  • Simplify // --- Managed mode: X ---// --- DB-backed: X --- in all agent method handlers

Documentation (docs/, api-reference.md):

  • Remove redundant (managed mode) qualifiers from section headers and inline text
  • Rename sections: Managed Mode WiringDatabase Wiring, Managed Mode -- Providers from DatabaseProviders from Database, etc.
  • Replace "In managed mode, ..." phrasing with direct descriptions
  • Mark standalone mode references as deprecated or remove them

Commit 2: Streamline onboard process (9 files)

Backend (cmd/, internal/i18n/):

  • Simplify onboard wizard for default managed mode flow
  • Extract helpers to cmd/onboard_helpers.go
  • Update i18n catalogs (en/vi/zh)

Infrastructure (.env.example, docker-entrypoint.sh, prepare-env.sh):

  • Update env example and entrypoint for managed mode as default
  • Clean up prepare-env script

Test plan

  • go build ./... passes
  • go vet ./... passes
  • Verify onboard wizard works end-to-end
  • Verify Docker entrypoint starts correctly

thieung added 2 commits March 11, 2026 01:24
Standalone mode is deprecated; managed mode is now the only mode.
Remove redundant "managed mode" qualifiers from comments, docs,
and error messages. Error strings now reference "database stores"
instead of "managed mode" for clarity.
Simplify onboard wizard, extract helpers to dedicated file,
update env example and entrypoint for default managed mode,
clean up prepare-env script, update i18n catalogs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant