Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[P2] 让生成任务可恢复,并以测试断言决定版本可发布性

Open
#9 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
28/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript

Research direction

Start by reviewing dependency H1 (#3) and the existing generation and publish paths exposed through the CLI/API, keeping the Hosta control plane and Hoya engine boundary in scope. Done means the acceptance checklist is met: resumable generation, schema and assertion validation, failure-driven needs_revision status, explicit trial-run publishing, and provider failure/restart coverage.

Written by the indexing model from the issue text.

Description

priority:P2 type:feature

用户问题与代码依据

generated tests 只执行,不比较 expected output,也未用失败结果改变 ready;生成无持久任务或进度,未生成 inputSchema;UI 必须经过 AI 创建。

评估基线:2026-09-06,Hosta 666eca9 / Hoya 2234baa。此项记录待实现目标,不表示已完成。

验收标准

  • AI 是可顺延的可选增强,不阻塞无 AI 的 CLI 发布闭环;通过 API/CLI 暴露持久 generationId、状态、幂等提交、取消/有限重试和按原应用修订。
  • 严格校验模型结构、inputSchema、至少正常/边界测试及期望值,逐用例执行断言;任何失败标 needs_revision。
  • 生成版本发布必须满足生成测试断言和该版本显式试运行(CLI/API 均可);已有代码/模板按其测试与显式试运行规则发布,无需经过 AI。schema 用于运行和 Webhook 输入校验。
  • provider mock 覆盖超时、限流、非法 JSON、断言失败、刷新/重启恢复;记录 token/耗时,不伪造成本。

归属与范围

归属:worktools/hosta。阶段:A2 · 开源预览交付。维护者已确认:CLI/API 优先,前期全命令行验收,UI 先只读展示,网页交互后续评估。沿用独立 Hoya 引擎与 Hosta 控制面边界;本项不扩展到多租户、计费、DAG 或全球调度。

依赖

Dominant language
TypeScript
Stars
0
Forks
0
Avg merge
1h 18m
Merged PRs (30d)
7

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from worktools/hosta

All issues in worktools/hosta

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.