Skip to content

treaty rc18: cleanup fix, reports and snapshots kept as output - #13

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

romamo merged 1 commit into
mainfrom
treaty-rc18

Conversation

@romamo

@romamo romamo commented Oct 2, 2026

Copy link
Copy Markdown
Collaborator

Bumps treaty from 1.0.0rc14 to 1.0.0rc18.

Why now

rc18 fixes treaty #227: on rc17 and earlier, cleanup --confirm-destructive could delete paths it should keep, including a declared path spelled in another case on macOS, and in one case the whole project. Cloudfall has declared side effects under {project_root}/tmp/ since rc13, so cloudfall cleanup was exposed.

Changes

  • dashboard build (tmp/dashboard/), services inspect (tmp/observed-services/) and observe (tmp/observed/) declare those directories as SideEffect(..., "output") (rc17): cleanup never removes them. The snapshots matter most, since audit reads them. observe's inventory overlay (tmp/cloudfall/) stays cache
  • rc15 to rc18 have no breaking changes for Cloudfall (rc15 lists formats per command, rc16 a secret-redaction fix under App.call, rc18 idempotent=True on any danger level)

Checks

  • uv run pytest: 458 passed; ruff, mypy clean
  • treaty audit --strict on both apps: no warnings
  • cloudfall cleanup preview on a copy of the example project with snapshots, a dashboard and an overlay: only tmp/cloudfall would be removed, from the normal path and from a differently cased one (/users/roman/pycharmprojects/...)

🤖 Generated with Claude Code

https://claude.ai/code/session_015MJdwagp7FxuuxminHgv2V

rc18 fixes treaty #227, where cleanup --confirm-destructive could delete
paths it should keep, such as a declared path spelled in another case on
macOS. Cloudfall declares side effects under {project_root}/tmp/ since
rc13, so its cleanup was exposed.

The dashboard, the domain observations and observe's server snapshots are
now SideEffect "output" (rc17): cleanup never removes them, which matters
for the snapshots audit reads. Only the regenerated inventory overlay
stays "cache".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015MJdwagp7FxuuxminHgv2V
@romamo
romamo merged commit 8775aed into main Oct 2, 2026
1 check passed
@romamo
romamo deleted the treaty-rc18 branch October 2, 2026 14:37
@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