Describe the bug
When a dev branch is set as the active branch, the storage tables command returns no results despite branched storage being active and tables existing in the project.
Steps to reproduce
- Create a dev branch and set it as active (e.g. via branch commands)
- Run:
kbagent storage tables --project <project-name>
Observe output:
Info: Using active branch (ID: 15931) for project '<project-name>'
No tables found.
- Run kbagent branch reset --project
- Run storage tables again — tables are now listed correctly
Expected behavior
When a dev branch is active, storage tables should correctly reflect the state of branched storage — or at minimum, fall back to the main branch data. The user should not need to reset the branch to retrieve table listings.
Actual behavior
With an active dev branch, storage command return empty results. The workaround is resetting the branch (branch reset), which defeats the purpose of working on a dev branch from the start.
Describe the bug
When a dev branch is set as the active branch, the storage tables command returns no results despite branched storage being active and tables existing in the project.
Steps to reproduce
Observe output:
Expected behavior
When a dev branch is active, storage tables should correctly reflect the state of branched storage — or at minimum, fall back to the main branch data. The user should not need to reset the branch to retrieve table listings.
Actual behavior
With an active dev branch, storage command return empty results. The workaround is resetting the branch (branch reset), which defeats the purpose of working on a dev branch from the start.