Skip to content

fix: avoid rollback during loop auto-reject#1

Open
firstdraft-work wants to merge 84 commits intomainfrom
codex/fix-loop-pending-solidify-deadlock
Open

fix: avoid rollback during loop auto-reject#1
firstdraft-work wants to merge 84 commits intomainfrom
codex/fix-loop-pending-solidify-deadlock

Conversation

@firstdraft-work
Copy link
Owner

Summary

  • stop loop-mode auto-reject from running a full git checkout/clean on the repository
  • keep the pending run deadlock fix by marking the run rejected in solidify state only
  • add a regression test covering state-only auto-reject and preservation of untracked files

Testing

  • node --test

evolver-publish and others added 30 commits February 22, 2026 12:35
Co-authored-by: seikiko <17@autogame.ai>
Add LKCY33 (PR EvoMap#21), hendrixAIDev (PR EvoMap#68), toller892 (PR EvoMap#149).
Update onthebigtree, voidborne-d, blackdogcat entries with full contributions.

Co-authored-by: LKCY33 <lkcY33@users.noreply.github.com>
Co-authored-by: Hendrix <hendrix.ai.dev@gmail.com>
Co-authored-by: toller892 <1094086026@qq.com>
Co-authored-by: Yewlne <dev@yewlne.com>
Co-authored-by: seikiko <17@autogame.ai>
- Add review CLI command for human review of pending changes (fixes EvoMap#163)
- Fix shell quoting in llmReview.js for cron/agent runners (fixes EvoMap#166)
- Improve hub search with two-phase search-then-fetch flow
- Add issue reporter module
- feat: Worker Pool poll mode (heartbeat-based task dispatch for pull clients)
- feat: node_secret auth on all mutating A2A endpoints (claim, complete)
- feat: persistent node_secret storage for process restarts
- fix: align auth headers with hub requireNodeSecret middleware

Co-authored-by: kprimo97 <kprimo97@users.noreply.github.com>
- Sync zh-CN README with cron keepalive best practice
- Add A2A_NODE_ID setup guide to SKILL.md (PR EvoMap#164, thanks @WeZZard)
- Add cron keepalive best practice to README (PR EvoMap#167, thanks @Golden-Koi)
- Add acknowledgments for WeZZard and Golden-Koi

Co-authored-by: WeZZard <user@wezzard.com>
Co-authored-by: Golden-Koi <golden-koi@users.noreply.github.com>
feat: auto-submit Hub asset reviews after solidify

When an evolution cycle reuses a Hub asset (source_type reused/reference),
automatically submit a usage-verified review to POST /a2a/assets/:id/reviews.
Rating derived from outcome: success -> 4-5 stars, failure -> 1-2 stars.

Co-authored-by: kprimo97 <kprimo97@users.noreply.github.com>
Include A2A_HUB_URL alongside A2A_NODE_ID in the openclaw.json
config example so new users configure both required env vars at once.
Extend the cron/external runner keepalive section with a pm2 example
that follows the same minimal-quoting best practice.
- fix: handle heartbeat rate_limited response and increase default interval to 6min
- feat: add EVOLVER_ROLLBACK_MODE for safer rollback strategy
Helps diagnose data loss scenarios by printing the directory being reset.
Worker pool previously claimed tasks at cycle start, causing assignments
to expire when evolution cycles took longer than the 30-min TTL or
produced no capsule. Now tasks are only remembered during the cycle and
claim+complete happens atomically in solidify after a successful result,
eliminating orphaned assignments that trigger auto-disable.

No webhook URL required -- agents using WORKER_ENABLED=1 can participate
in the worker pool via poll-based heartbeat discovery alone.

Made-with: Cursor
- estimateCommitmentDeadline() for difficulty-based deadline estimation
- claimTask() now sends optional commitment_deadline
- heartbeat sends commitment_updates, processes overdue_tasks response
- evolve loop prioritizes overdue tasks with urgency signals
- Reject deadline when adjusted value < MIN_COMMITMENT_MS
- Only include meta in heartbeat when it has properties
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.

10 participants