Skip to content

feat: integrate Shipyard Neo self-iterating skill loop and dashboard controls#1

Closed
w31r4 wants to merge 3 commits intomasterfrom
feat/neo-skill-self-iteration
Closed

feat: integrate Shipyard Neo self-iterating skill loop and dashboard controls#1
w31r4 wants to merge 3 commits intomasterfrom
feat/neo-skill-self-iteration

Conversation

@w31r4
Copy link
Owner

@w31r4 w31r4 commented Feb 11, 2026

Modifications / 改动点

  • 接入 shipyard_neo 运行时基线:新增 ShipyardNeoBooter,支持 python/shell/filesystem/browser 能力,并在 sandbox 配置中新增 Neo 所需字段(endpoint/token/profile/ttl),默认 booter 调整为 shipyard_neo(仍保留 shipyard 兼容分支)。

  • 新增 Neo 自迭代 Skill 闭环工具链(仅 shipyard_neo 挂载):

    • 执行与取证:astrbot_execute_browser / astrbot_execute_browser_batch / astrbot_run_browser_skill / astrbot_get_execution_history / astrbot_annotate_execution
    • 迭代生命周期:astrbot_create_skill_payload / astrbot_get_skill_payload / astrbot_create_skill_candidate / astrbot_list_skill_candidates / astrbot_evaluate_skill_candidate / astrbot_promote_skill_candidate / astrbot_list_skill_releases / astrbot_rollback_skill_release / astrbot_sync_skill_release
  • 新增 NeoSkillSyncManager

    • stable release -> 本地 data/skills/<local_skill_name>/SKILL.md 回写
    • 维护 data/skills/neo_skill_map.json
    • 回写后激活本地 skill,并最佳努力刷新活跃 sandbox 技能
    • stable promote 回写失败时自动 rollback 新 release,保证 Neo 真源与本地可用状态一致
  • Dashboard 新增 Neo 管理 API:

    • GET /api/skills/neo/candidates
    • GET /api/skills/neo/releases
    • GET /api/skills/neo/payload
    • POST /api/skills/neo/evaluate
    • POST /api/skills/neo/promote
    • POST /api/skills/neo/rollback
    • POST /api/skills/neo/sync
  • Skills 页面新增 Local / Neo 视图切换及关键动作(evaluate/promote/rollback/sync/payload 查看),并补充中英文 i18n。

  • 新增/扩展测试覆盖:Neo sync、Neo tools、Neo dashboard routes。

  • This is NOT a breaking change. / 这不是一个破坏性变更。

Screenshots or Test Results / 运行截图或测试结果

Verification Steps:

cd AstrBot
uv run pytest -q \
  tests/test_neo_skill_sync.py \
  tests/test_neo_skill_tools.py \
  tests/test_dashboard.py::test_neo_skills_routes \
  tests/test_dashboard.py::test_auth_login

Result:

.....                                                                    [100%]
5 passed, 5 warnings in 8.58s

Checklist / 检查清单

  • 😊 如果 PR 中有新加入的功能,已经通过 Issue / 邮件等方式和作者讨论过。/ If there are new features added in the PR, I have discussed it with the authors through issues/emails, etc.
  • 👀 我的更改经过了良好的测试,并已在上方提供了“验证步骤”和“运行截图”。/ My changes have been well-tested, and "Verification Steps" and "Screenshots" have been provided above.
  • 🤓 我确保没有引入新依赖库,或者引入了新依赖库的同时将其添加到了 requirements.txtpyproject.toml 文件相应位置。/ I have ensured that no new dependencies are introduced, OR if new dependencies are introduced, they have been added to the appropriate locations in requirements.txt and pyproject.toml.
  • 😮 我的更改没有引入恶意代码。/ My changes do not introduce malicious code.

@w31r4
Copy link
Owner Author

w31r4 commented Feb 11, 2026

Superseded by upstream PR AstrBotDevs#5028

@w31r4 w31r4 closed this Feb 11, 2026
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.

1 participant