Skip to content

treaty rc13: --yes previews as dry runs, declared report directories - #10

Merged
romamo merged 1 commit into
mainfrom
treaty-rc13
Oct 2, 2026
Merged

romamo merged 1 commit into
mainfrom
treaty-rc13

Conversation

@romamo

@romamo romamo commented Oct 2, 2026

Copy link
Copy Markdown
Collaborator

treaty 1.0.0rc13 and the two fixes it brings. Stacked on #9 (base treaty-rc12) → #8 → #7 → #6.

Changes

  • --yes previews are dry runs (treaty #197): yes: bool = Flag(confirm=True) on operations approve, migrate, deploy, rollback, restart and data migrate. Without --yes the run answers effect: would_update with meta.dry_run: true (was noop); the flag keeps its name, and exec --dry-run always previews
  • Reports declared, commands safe again (treaty #184): dashboard build, services inspect and observe only read the fleet; they declare what they regenerate as SideEffect("{project_root}/tmp/.../", "cache"), with the resource kind directories as project_root= markers. Their answers drop effect, and observe's retryable INCOMPLETE no longer draws the #210 audit warning
  • CHANGELOG entries for the earlier phases corrected to match

Checks

  • uv run pytest: 457 passed (FORCE_COLOR unset); ruff, mypy clean
  • treaty audit --strict cloudfall.app:app: no warnings, advice only
  • End to end on a fixture repository with real Ansible: operations propose (check 0) → operations approve without --yes (would_update, meta.dry_run: true) → with --yes (updated, decision executed)

🤖 Generated with Claude Code

rc13 lands treaty #197 and #184. --yes is Flag(confirm=True) on
operations approve, migrate, deploy, rollback, restart and data migrate,
so a run without it is treaty's dry run: would_update and meta.dry_run,
where it answered noop. dashboard build, services inspect and observe are
safe again: they only read the fleet and declare the reports they
regenerate under {project_root}/tmp/, with the resource kind directories
as project markers, so their answers drop effect and observe's retryable
INCOMPLETE no longer draws the audit warning.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@romamo
romamo changed the base branch from treaty-rc12 to main October 2, 2026 07:57
@romamo
romamo merged commit d343bd6 into main Oct 2, 2026
1 check passed
@romamo
romamo deleted the treaty-rc13 branch October 2, 2026 07:58
@shipmill-romamo shipmill-romamo Bot added this to the 0.6.0 milestone Oct 8, 2026
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