Skip to content

refactor(hosts): declare scheduler backends - #627

Merged
evan-ak merged 2 commits into
NevaMind-AI:mainfrom
XnneHangLab-Mirror:feat/issue-624-native-scheduler
Aug 12, 2026
Merged

refactor(hosts): declare scheduler backends#627
evan-ak merged 2 commits into
NevaMind-AI:mainfrom
XnneHangLab-Mirror:feat/issue-624-native-scheduler

Conversation

@xnne-bot

@xnne-bot xnne-bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

📝 Pull Request Summary

HostSpec 中显式声明每个 host 当前使用的 scheduler backend。


✅ What does this PR do?

  • 新增仅供描述的 schedule_backend metadata:osnativeexternal
  • 为全部已支持 host 标注其现有调度方式,不改变 scheduler 实现或 CLI 行为。
  • 保持 schedule_command 仍是现有 Windows schedule helper 的唯一 capability gate。
  • 添加完整映射与 command surface 不变的回归测试。

🤔 Why is this change needed?

此前需要通过 schedule_command 是否存在来推测 host 的 scheduler arrangement,但该字段本身只描述 OS task 启动 headless agent 的 invocation template。显式 backend label 降低了理解每个 host 调度方式的认知门槛,也避免把“调度方式”与“OS invocation command”混为一谈。

不涉及任何 scheduler 的迁移、注册、权限或运行行为变更。

Closes #624.


🔍 Type of Change

  • Bug fix
  • New feature
  • Documentation update
  • Refactor / cleanup
  • Other (please explain)

✅ PR Quality Checklist

  • PR title follows an allowed format (for example feat:, fix:, docs:, memory base:)
  • Changes are limited in scope and easy to review
  • Documentation updated where applicable
  • No breaking changes (or clearly documented)
  • Related issues or discussions linked

MrXnneHang and others added 2 commits August 7, 2026 16:50
Make each host's existing scheduling arrangement explicit so callers do not
need to infer scheduler ownership from the OS invocation template.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Keep the scheduler metadata tests aligned with the repository formatter so CI
can validate the behavior without rewriting the working tree.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@xnne-bot xnne-bot changed the title feat(hosts): declare scheduler backends refactor(hosts): declare scheduler backends Aug 12, 2026
@evan-ak
evan-ak merged commit da4f35d into NevaMind-AI:main Aug 12, 2026
6 checks passed
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.

[REFACTOR] Add schedule backend identity to HostSpec

3 participants