Skip to content

Fix #47: command line arguments and toml syntax mismatch#52

Open
milyin wants to merge 5 commits into
mainfrom
zbobr_fix-47-remove-executor-requirement
Open

Fix #47: command line arguments and toml syntax mismatch#52
milyin wants to merge 5 commits into
mainfrom
zbobr_fix-47-remove-executor-requirement

Conversation

@milyin
Copy link
Copy Markdown
Owner

@milyin milyin commented Mar 2, 2026

No description provided.

milyin and others added 4 commits March 2, 2026 01:23
The [executor] section is now optional in TOML config files, aligning with
the CLI argument design where executor arguments use an empty prefix (e.g.,
--claude-default-model instead of --executor-claude-default-model).

The executor configuration already supports the Optional type with
unwrap_or_default() in generic_config.rs, so this is purely a documentation
and sample file update to reflect the actual usage pattern.

- Removed [executor.*] sections from zbobr.toml, zbobr-fs.toml,
  zbobr.toml.sample, and zbobr.toml.fs.sample
- Users can still provide executor config via TOML if needed
- Backward compatibility maintained: existing TOML files with [executor]
  sections will continue to parse correctly
- CLI arguments continue to work as before

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The [executor] section in TOML files is now optional. Users can configure
executor settings via environment variables or CLI flags instead of TOML.
Updated README.md to reflect that [executor.copilot] section can be omitted,
and configuration can be done via environment variables (ZBOBR_COPILOT_GITHUB_TOKEN).

This aligns with the earlier change to remove [executor] sections from
sample TOML files and matches the CLI argument design where executor
arguments lack the 'executor.' prefix.

Checklist item: readme-executor-refs

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Update README.md documentation to clarify that the [executor] TOML section
and its subsections ([executor.copilot], etc.) are entirely optional and
can be omitted. Users can configure via CLI flags or environment variables
instead.

This aligns with the actual implementation where executor config uses
Option<T> with unwrap_or_default() and matches the CLI design where
executor arguments lack the 'executor.' prefix.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Keep main's executor sections in TOML files (provides default model configs)
- Keep main's CLI enhancements (push commits after work execution)
- Keep work branch's README clarifications (executor sections are optional)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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