You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a command to edit config.yml interactively, either one repository at a time or by walking through every repository in turn.
Problem
After init, the only way to change a setting is to hand-edit config.yml. add exists but only appends a repository, and it rewrites the file through YAML.stringify, which discards comments and formatting.
A real config has nine repository entries, each carrying a full label block, so the file is long and repetitive. Changing one field - auto_impl_after_plan, or adding the missing default_branch - means locating the right block by hand and getting the indentation right.
Scope
New command (for example sabori-flow edit).
Pick a single repository to edit, or walk all repositories one by one.
Edit execution.* and language as well, not only repositories.
Offer the current value as the default for every prompt so that pressing Enter is a no-op.
Allow removing a repository.
Preserve unknown keys, and preserve comments and formatting where practical.
State when a change requires reinstall (interval_minutes is the one that does).
Considerations
add should reuse the same per-repository prompt flow (src/commands/helpers/repository-prompt.ts), so the two commands stay consistent.
Summary
Add a command to edit
config.ymlinteractively, either one repository at a time or by walking through every repository in turn.Problem
After
init, the only way to change a setting is to hand-editconfig.yml.addexists but only appends a repository, and it rewrites the file throughYAML.stringify, which discards comments and formatting.A real config has nine repository entries, each carrying a full label block, so the file is long and repetitive. Changing one field -
auto_impl_after_plan, or adding the missingdefault_branch- means locating the right block by hand and getting the indentation right.Scope
sabori-flow edit).execution.*andlanguageas well, not only repositories.reinstall(interval_minutesis the one that does).Considerations
addshould reuse the same per-repository prompt flow (src/commands/helpers/repository-prompt.ts), so the two commands stay consistent.config.ymlis written back (surgical edit vs. full reformat) and introduces the schema version.