use root Writer in completion subcommand and add write error test
use root Writer in completion subcommand and add write error test: a task in repo2rlenv-commit-runtime-test: repo2rlenv-commit-runtime (Harbor dataset). Title: use root Writer in completion subcommand and add write error test
The task
**Title:** use root Writer in completion subcommand and add write error test