Skip to content

feat: materialize persona runtime workspaces#48

Merged
mostlydev merged 5 commits intomasterfrom
codex/materialize-persona-runtime
Mar 8, 2026
Merged

feat: materialize persona runtime workspaces#48
mostlydev merged 5 commits intomasterfrom
codex/materialize-persona-runtime

Conversation

@mostlydev
Copy link
Copy Markdown
Owner

Summary

  • resolve persona refs during claw up and materialize writable persona workspaces into service runtime dirs
  • mount persona workspaces into managed runners and expose the mount via CLAW_PERSONA_DIR
  • document persona mounts in generated CLAWDAPUS context and add regression coverage

Testing

  • go test ./...

Closes #46

Drivers previously unconditionally set CLAW_PERSONA_DIR even when no
persona ref was present. Now the env var is only injected when
PersonaHostPath is non-empty, avoiding misleading config.
- Check dst.Close() error in copyFile instead of deferring (data loss)
- Run go mod tidy to mark oras-go as direct dependency
- Add test verifying CLAW_PERSONA_DIR is omitted without persona
@mostlydev mostlydev merged commit 8b95b9b into master Mar 8, 2026
1 check passed
@mostlydev mostlydev deleted the codex/materialize-persona-runtime branch March 8, 2026 03:52
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.

PERSONA is parsed and inspected but not materialized at runtime

1 participant