Skip to content

Fix workspace baseline branch safety#1531

Merged
christso merged 4 commits into
mainfrom
fix/workspace-baseline-branch-safety
Jun 26, 2026
Merged

Fix workspace baseline branch safety#1531
christso merged 4 commits into
mainfrom
fix/workspace-baseline-branch-safety

Conversation

@christso

Copy link
Copy Markdown
Collaborator

Summary

  • Use private shadow refs for dirty existing Git workspace baselines instead of committing to user branch.
  • Keep clean existing workspaces returning existing HEAD as baseline.
  • Capture file changes with temporary indices to avoid user index mutation.
  • Preserve nested git repo diffs while restoring nested index state after capture.

Verification

  • bun test packages/core/test/evaluation/workspace/file-changes.test.ts
  • bun --filter @agentv/core typecheck (fails in this environment: tsc not available in PATH)
  • Dogfood evidence: /home/entity/projects/EntityProcess/agentv-private/dogfood-av-cuf-2026-06-26.txt

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jun 26, 2026

Copy link
Copy Markdown

Deploying agentv with  Cloudflare Pages  Cloudflare Pages

Latest commit: 6cf9f2b
Status:🚫  Build failed.

View logs

@christso christso merged commit 1904016 into main Jun 26, 2026
7 of 8 checks passed
@christso christso deleted the fix/workspace-baseline-branch-safety branch June 26, 2026 13:37
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.

2 participants