Skip to content

exec: codeaf exec leaves its turn trace untracked in the person's repository (.codeaf/trace) - #2892

Closed
ZeroPoint95 wants to merge 1 commit into
devfrom
zeropoint95/1758-exec-codeaf-exec-leaves-its-turn-trace-u-2
Closed

ZeroPoint95 wants to merge 1 commit into
devfrom
zeropoint95/1758-exec-codeaf-exec-leaves-its-turn-trace-u-2

Conversation

@ZeroPoint95

Copy link
Copy Markdown
Collaborator

Changes

  • Standalone exec retains harness scratch in a private per-invocation directory under the codeaf state root, reports its location on stderr and stops on scratch setup failure without falling back to the workspace.
  • Real-binary regressions cover repeated clean no-op runs, exactly one intended file edit, external observation-spill readback and startup failure without worker completion requests.
  • Headless and shipped terminal documentation describe retained external scratch, trace discovery and CODEAF_HOME relocation for CI.
  • Final change: 5 files, +248/−7.

Closes #1758.

Validation

  • test: accepted by the owner as it stands, with these unresolved:
    • go test -json -count=1 -timeout 15m ./cmd/codeaf -run ^TestExec · failed
    • go test -json -count=1 -timeout 15m ./cmd/codeaf · failed
    • go test -json -count=1 ./internal/lane -run ^(TestAHomeATestChoseIsNotTheHomeItInherited|TestTheWholeInheritedRootIsRefusedAndNothingBeside|TestTheProfileRootIsNotThisPackagesBusiness)$ · failed
  • proof: accepted by the owner as it stands, with these unresolved:
    • proof is not proven after 3 rounds: 5 of 6 claims shown
  • Proof · 8 of 10 claims shown locally. GitHub CI is checked after publishing.
  • ✓ No-op standalone exec leaves Git clean while retaining separate recorder homes on repeated invocations.
  • ✓ An editing exec leaves exactly its intended file change and can read back an external observation spill.
  • ✓ Scratch setup failure prevents worker completion requests.

by codeaf factory

Factory-Approval: evt_9a34cc1c factory b3dd7ca

…ository (.codeaf/trace)

Assisted-by: CodeAF
Co-Authored-By: CodeAF <267109073+agentfield-bot@users.noreply.github.com>
@ZeroPoint95

Copy link
Copy Markdown
Collaborator Author

closing test PR

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.

exec: codeaf exec leaves its turn trace untracked in the person's repository (.codeaf/trace)

1 participant