Skip to content

dogfood: Session sandbox makes ~/.cache read-only, so helper hooks and scratch writes fail #70

Open

Description

@oxa-agent

Reported by oxa itself in the goal loop (task c925, model opencode/deepseek-v4.1-flash):

Writing a temp file under ~/.cache failed with Read-only file system; the
post-commit hook /home/oscar/.config/git/lab-hooks/post-commit then printed
line 72: /home/oscar/.cache/lab-autopush.log: Read-only file system after an
otherwise successful git commit. Expected: either the hook's cache path is
inside the session scratch or skipped when unavailable, so a commit does not
report an alarming hook error. The commit itself succeeded.

🤖 Generated with Claude Code (oxa goal loop)

Also reported as

  • oxstack/ox-llm#995: post-commit hook error lab-autopush.log: Read-only file system on commit
  • oxstack/ox-llm#1005: same hook error seen during git diff --check done flow (PR 560)

Activity

  1. added
    bug
    on Nov 17, 2026
  2. n0rpan commented on Nov 19, 2026

    @n0rpan
    Contributor

    Triage 2026-11-19: this issue is now tracked in #149 (Cluster: Sandbox standard: finish the interactive no-sandbox default and make unattended runs workable, priority P0), planned PR 2: "Unattended toolbox". It will be fixed there together with its related issues, not one by one.

  3. n0rpan commented on Nov 22, 2026

    @n0rpan
    Contributor

    Owner rules sweep 3 (2026-11-22, the model is the owner's agent): build the powerful version.

    • Why: Sandbox blocks ~/.cache writes, breaking hooks.
    • Do: Let sessions write ~/.cache and owner dirs; no read-only home.
  4. transferred this issue fromon Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions