fix: fix: disinto init can produce duplicate keys in projects/*.toml (#269) #272

Merged
dev-bot merged 1 commit from fix/issue-269 into main 2026-04-06 08:09:02 +00:00

1 commit

Author SHA1 Message Date
Claude
1cb7e4b8aa fix: fix: disinto init can produce duplicate keys in projects/*.toml (#269)
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
ci/woodpecker/pr/smoke-init Pipeline was successful
Export actual_ops_slug from setup_ops_repo via _ACTUAL_OPS_SLUG global,
then update ops_repo in the TOML in-place using Python re.sub after TOML
creation or detection. Falls back to inserting after the repo line if the
key is missing. This prevents duplicate TOML keys on repeated init runs.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-06 08:00:55 +00:00