Skip to content

Fail closed on conflicting shared workspace renders - #97

Merged
myobie merged 2 commits into
mainfrom
schickling-assistant/2026-07-30-shared-workspace-render
Jul 30, 2026
Merged

Fail closed on conflicting shared workspace renders#97
myobie merged 2 commits into
mainfrom
schickling-assistant/2026-07-30-shared-workspace-render

Conversation

@schickling-assistant

Copy link
Copy Markdown
Contributor

Closes #95.

What changed

  • preflight active local render claims by resolved workspace destination
  • accept byte-equivalent idempotent claims
  • reject incompatible claims before either owner writes
  • mark every selected conflicting owner launch-ineligible
  • check targeted materialization against the complete fleet
  • expose render-owner-conflict through host-scoped validation
  • document the ownership boundary in the VRS

copy and file compare their effective bytes, json-upsert compares the
expanded JSON value, and ensure-line compares the expanded ordered plan.
git-exclude remains additive/advisory.

Proof

Red before the implementation:

shared_workspace_conflicting_copy_targets_fail_before_any_write ... FAILED
assertion left == right failed: []
left: 0
right: 1

Green after:

  • cargo test --lib: 161 passed
  • cargo test --test run: 25 passed
  • cargo test --test validate: 32 passed
  • focused materialization:
    • conflicting owners fail before any write
    • a selected owner cannot bypass its sibling's claim
    • byte-identical shared claims remain idempotent
Posted on behalf of @schickling
field value
agent_name co2-bear
agent_session_id a078daee-6f98-4916-91a8-d21291407789
agent_tool Codex CLI
agent_tool_version 0.145.0
agent_runtime Codex CLI 0.145.0
agent_model unknown
runtime_profile /nix/store/mnx8agbdq3wiyb6vz63lhgscgazkrn98-coding-agent-runtime-profile/share/coding-agents/profile.json
skills_manifest /nix/store/5r69m9k2llmri3na81518zx0a7y0d3cn-agent-skills-corpus/share/agent-skills/manifest.json
worktree st2/schickling-assistant/2026-07-30-shared-workspace-render
machine dev3
tooling_profile dotfiles@0fb7e03

agent-session-id: a078daee-6f98-4916-91a8-d21291407789
agent-tool: Codex CLI
agent-tool-version: 0.145.0
agent-model: unknown
agent-runtime-profile: /nix/store/mnx8agbdq3wiyb6vz63lhgscgazkrn98-coding-agent-runtime-profile/share/coding-agents/profile.json
agent-skills-manifest: /nix/store/5r69m9k2llmri3na81518zx0a7y0d3cn-agent-skills-corpus/share/agent-skills/manifest.json
tooling-profile: dotfiles@0fb7e03
@myobie
myobie merged commit a35c44e into main Jul 30, 2026
1 check passed
@schickling schickling added area:catalog Catalog structure, declarations, transactions, and admission · Set: manual area:reconcile Supervisor run loop, lifecycle, restart, park, and teardown · Set: manual origin:agent Filed or primarily produced by an AI agent · Set: manual type:bug Something broken or a regression · Set: manual labels Aug 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:catalog Catalog structure, declarations, transactions, and admission · Set: manual area:reconcile Supervisor run loop, lifecycle, restart, park, and teardown · Set: manual origin:agent Filed or primarily produced by an AI agent · Set: manual type:bug Something broken or a regression · Set: manual

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fail closed when agents render conflicting content into a shared workspace target

3 participants