* fix: rebind target workspace for db commands
* fix: isolate rebinding from caller workspace state
* fix: restore no-db target selection semantics
* fix: honor no-db target precedence consistently
* test: restore db flag state in context rebinding tests