Skip to content

Cron frontmatter overwritten #1

@danmpp

Description

@danmpp

Hey, running into a recurring issue where the YAML frontmatter gets wiped from job files in .claude/claudeclaw/jobs/. The file body stays intact but the frontmatter block ends up empty (---\n\n---), which causes the job to lose its schedule and stop being properly re-queued by the daemon.

This has happened more than once to the same job file. The job itself runs fine from cached state for a bit, but eventually falls out of the scheduler entirely.

My suspicion is that Claude is reading the job file during execution for context, then writing it back out somewhere in the process and stripping the frontmatter. The warning in the job prompt ("NEVER modify files in .claude/claudeclaw/jobs/") suggests this might be a known failure mode.

Love this project!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions