mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 16:02:26 +00:00
The daily and weekly scheduler prompts included a "hard stop" rule that aborted execution if Draft PR creation failed. In restricted environments (like the agent sandbox), `GH_TOKEN` is unavailable, preventing API write access even if git operations work. This change modifies `docs/agents/prompts/daily-scheduler.md` and `docs/agents/prompts/weekly-scheduler.md` to implement a "soft fail" policy: - If PR creation fails (e.g., missing credentials), the agent logs the failure in the `_started.md` file summary and proceeds. - The pushed branch and `_started.md` log file serve as the primary distributed lock. - Updates the checklist template to accept "FAILED/SKIPPED" for the PR number. This ensures the scheduler can operate in constrained environments without sacrificing the core distributed locking mechanism. Co-authored-by: PR0M3TH3AN <[email protected]>