Add Command line options to manage databases in the config
add
remove
disable
enable
It must use the settings as a prime of the last added database line or a given instance name
When calling the add command it must show the last db setting and allow you to change.
Add must have a auto ask/answer onboard
Add must also have parameters for all the fields to add a database via command line
The idea is to make broker database management easy.
Add Command line options to manage databases in the config
- add
- remove
- disable
- enable
It must use the settings as a prime of the last added database line or a given instance name
When calling the add command it must show the last db setting and allow you to change.
Add must have a auto ask/answer onboard
Add must also have parameters for all the fields to add a database via command line
The idea is to make broker database management easy.
Branch: issue-3-cli-database-management; not pushed yet
PR: not created yet
Verification plan: inspect issue/docs and existing CLI/config, implement focused commands and tests, format/build/test, commit, push, create PR against main, then post exact SHA/PR/verification evidence.
Claude Code Sonnet reached max turns before committing or opening a PR. No worker process/tmux remains. Preserved partial changes in worktree /home/hermes/work/issue-agents/wdevs/pgsql-broker/issue-3-cli-database-management on branch issue-3-cli-database-management (not pushed; no PR).
Approved fallback: Hermes OpenAI/Codex surface, model gpt-5.6-luna; bounded probe returned CODEX_56_OK. A continuation worker will preserve and review existing changes, finish tests/commit/push/PR, and post exact evidence.
Worker backend update — 2026-09-19T05:02Z
Claude Code Sonnet reached max turns before committing or opening a PR. No worker process/tmux remains. Preserved partial changes in worktree /home/hermes/work/issue-agents/wdevs/pgsql-broker/issue-3-cli-database-management on branch issue-3-cli-database-management (not pushed; no PR).
Approved fallback: Hermes OpenAI/Codex surface, model gpt-5.6-luna; bounded probe returned CODEX_56_OK. A continuation worker will preserve and review existing changes, finish tests/commit/push/PR, and post exact evidence.
db add, db remove, db disable, db enable, and db list
interactive add prompts primed from the last database or a named --from instance
flags for every database field and non-interactive/confirmation controls
YAML-preserving config edits and disabled-database startup skipping
Verification:
go test ./cmd/broker ./pkg/... PASS
go vet ./cmd/broker ./pkg/... PASS
go build -o /tmp/pgsql-broker-verify ./cmd/broker PASS
CLI smoke test for add/disable/enable/remove/list PASS
git diff --check PASS
go test ./... attempted; integration tests are blocked because PostgreSQL is unavailable at 127.0.0.1:5433 (package tests pass)
golangci-lint unavailable as configured: installed v1.64.8 rejects this repository's v2 configuration
Implemented and opened PR #5: https://git.warky.dev/wdevs/pgsql-broker/pulls/5
- Branch: `issue-3-cli-database-management`
- Commit: `7fb64961e7dc6590c083ffff4795ec986e4978b8`
- PR: #5 targets `main`
Included:
- `db add`, `db remove`, `db disable`, `db enable`, and `db list`
- interactive add prompts primed from the last database or a named `--from` instance
- flags for every database field and non-interactive/confirmation controls
- YAML-preserving config edits and disabled-database startup skipping
Verification:
- `go test ./cmd/broker ./pkg/...` PASS
- `go vet ./cmd/broker ./pkg/...` PASS
- `go build -o /tmp/pgsql-broker-verify ./cmd/broker` PASS
- CLI smoke test for add/disable/enable/remove/list PASS
- `git diff --check` PASS
- `go test ./...` attempted; integration tests are blocked because PostgreSQL is unavailable at `127.0.0.1:5433` (package tests pass)
- golangci-lint unavailable as configured: installed v1.64.8 rejects this repository's v2 configuration
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Add Command line options to manage databases in the config
It must use the settings as a prime of the last added database line or a given instance name
When calling the add command it must show the last db setting and allow you to change.
Add must have a auto ask/answer onboard
Add must also have parameters for all the fields to add a database via command line
The idea is to make broker database management easy.
Dispatcher assignment — 2026-09-19T01:03:42+02:00\n\n- Forge/repository: Gitea wdevs/pgsql-broker\n- Issue: #3 — Command line options to add,remove,disable databases\n- Classification: non-simple CLI/config implementation requiring design judgment; Ornith excluded.\n- Selected backend: Claude Code CLI, claude-sonnet-4-6 (command/version/auth checks passed; bounded probe returned CLAUDE_DISPATCH_PROBE_OK).\n- Planned worker session: ia-pgsql-broker-3-claude (process pending launch)\n- Worktree: /home/hermes/work/issue-agents/wdevs/pgsql-broker/issue-3-cli-database-management\n- Branch: issue-3-cli-database-management (not pushed yet; PR not created)\n- Plan: read issue/docs and existing CLI/config, implement focused add/remove/disable/enable commands with interactive and parameterized add flows, test/format/build, commit/push, create PR against main, and post delivery evidence.\n- Required skills: cron-model-selection-policy; cron-worker-contract.\n- Taskboard card: t_72e55647 is blocked to suppress duplicate dispatch while this external worker is authoritative.
Assignment comment formatting correction.
The preceding assignment record is authoritative; this follow-up preserves the exact fields with real Markdown line breaks.
Worker backend update — 2026-09-19T05:02Z
Claude Code Sonnet reached max turns before committing or opening a PR. No worker process/tmux remains. Preserved partial changes in worktree /home/hermes/work/issue-agents/wdevs/pgsql-broker/issue-3-cli-database-management on branch issue-3-cli-database-management (not pushed; no PR).
Approved fallback: Hermes OpenAI/Codex surface, model gpt-5.6-luna; bounded probe returned CODEX_56_OK. A continuation worker will preserve and review existing changes, finish tests/commit/push/PR, and post exact evidence.
Implemented and opened PR #5: #5
issue-3-cli-database-management7fb64961e7dc6590c083ffff4795ec986e4978b8mainIncluded:
db add,db remove,db disable,db enable, anddb list--frominstanceVerification:
go test ./cmd/broker ./pkg/...PASSgo vet ./cmd/broker ./pkg/...PASSgo build -o /tmp/pgsql-broker-verify ./cmd/brokerPASSgit diff --checkPASSgo test ./...attempted; integration tests are blocked because PostgreSQL is unavailable at127.0.0.1:5433(package tests pass)Closing — PR #5 (feat(cli): manage configured databases) was merged on 2026-09-21.
Delivered:
db add,db remove,db disable,db enable,db listcommands--frominstancego test ./cmd/broker ./pkg/...PASS,go vet ./...PASS,go buildPASS7fb64961e7