TaskBelay
开发工具 活跃维护

TaskBelay

Innocent-children/TaskBelay

为AI编码代理提供持久化任务状态,显式划定作用域、执行有界验证;任务中断后可从安全检查点恢复。适配Codex、Claude Code等多款主流代理,多轮编码不再因会话丢失而返工。

13
Stars 标星
0
Forks 分支
13
Watchers 关注
0
Open Issues
JavaScript
主要语言
Apache-2.0
开源协议
143.8 MB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:Innocent-children/TaskBelay
git clone https://github.com/Innocent-children/TaskBelay.git
git clone git@github.com:Innocent-children/TaskBelay.git
README.md main

TaskBelay

English · 简体中文 · 繁體中文 · 日本語 · 한국어 · Español · Français · Deutsch · Português

Engineering control for real AI coding tasks.

TaskBelay works alongside Codex, DeepSeek Harness, Claude Code and ZCode. It keeps the authorized outcome, actual code changes and verification evidence together so an agent can continue across sessions with fewer repeated decisions. The agent remains responsible for coding and technical judgment.

What you can do

  • Keep goals, explicit non-goals and interface, data, dependency and design constraints active while developing. Inspect changes within files, not just their paths. Correct scope drift within existing authority; ask the user only when authority or an important choice must change.
  • Execute approved local checks and retain actual exit codes, inputs, environment conditions and results. Claims, process execution and acceptance conclusions remain distinct. Relevant changes expire evidence; justified independent checks can remain valid. Replanning never resets cumulative cost.
  • Alternate implementation and verification, revise requirements and resume from current work, failed attempts and unresolved executions. Recent history is bounded while live results and cumulative costs remain.

Command checks run through the Host native process tool using taskbelay check run, with its permissions and environment. The WebUI supports task search, Host/status filters, language selection, user decisions and execution recovery. Every goal needs a passed acceptance check; accepting an existing regression failure does not replace it. Saved-state reads do not write metering data.

Engineering questions keep their original identities until resolved; omitted text does not erase them. Delivery limitations come from those saved decisions. Host usage distinguishes unreported, partial and reported totals, and unavailable values remain unknown. Method help includes input/output examples and recovery rules without requiring source access. New task branches do not implicitly inherit an upstream.

Start

Use Node.js >=24 and an installed coding Host. Source development additionally needs Go >=1.26 and pnpm >=11 <12. This checkout contains a breaking engineering upgrade; published package versions and stable support records are unchanged. Build this source to use the new contract. Preserve old data and select a separate explicit data directory; no migration or automatic reset is provided.

Public installation:

npm install -g taskbelay@latest
taskbelay

Run taskbelay for an operation-first menu: upgrade, install into Agents, check and repair, Control Center, desktop pet, installation information, and uninstall/data deletion. Use arrows to move, Enter to confirm, Space to select multiple items, A to select all, and Esc to go back without losing selections. Upgrade shows actual current and target versions for the launcher and installed plugins; local development installations keep their channel. When everything is current, the upgrade page offers Home and Check again. Use V to choose a version for one component; local distribution selection appears only for local installations. Cancelling confirmation runs nothing. Healthy installations with unchanged desktop files leave the pet running.

Uninstall keeps data. delete-data removes task records, configuration and pet preferences while retaining plugins and registrations, then prepares empty data directories at the original paths. delete-all removes all managed plugins and confirmed data. Both keep the launcher and desktop application, project code and Agent conversation history. Shared data is confirmed by directory; recoverable deletion is the default and permanent removal needs separate confirmation. Resolve running or uncertain executions first; explicitly confirm all ZCode windows and sessions are closed. See the command reference. These menu changes describe current source, not a newly published package.

Build and install the current source locally:

pnpm install --frozen-lockfile --ignore-scripts
node scripts/taskbelay-local.mjs install --host codex --yes

Enable the adapter using its Host guide, then request a bounded outcome in the agent:

Use TaskBelay to add login failure throttling. Preserve the public authentication API and stored user data; do not redesign account management. Run the relevant existing tests and report actual results.

State the outcome and necessary restrictions. The agent explains its approach and proceeds under your existing authorization. Routine implementation and check changes do not require another approval; changed outcomes or explicit restrictions need your actual decision. Relevant passing results are reused. Usage is recorded continuously, with limits only when you set them. The WebUI uses a compact task list beside Overview, Check records, and Requirements & usage tabs. Output expands below its check; answers, recovery and archiving remain available. Update records reads saved content, while Check current code re-observes actual conditions. Resume with the saved Task ID in its original workspace.

The agent shows the directory, branch and existing changes and uses the workspace you selected or made clear in context. It asks only for ambiguity, conflicts or a needed new workspace operation. Branch/worktree preparation and upstream integration are optional and follow actual authorization.

taskbelay webui start

Boundaries

Structured hooks cover supported write paths; shell and external edits are observed at checkpoints. Only checks actually run by Core have Core execution provenance. Declared inputs and environment conditions do not automatically include ignored dependencies, databases or remote services. Semantic reasoning is explicit but does not prove correctness. TaskBelay is not a sandbox or another coding agent.

Core overhead is measured; Host analysis, waiting and tokens are reported and may be incomplete. Small mechanical tasks are often simpler with the native agent alone. The source tests demonstrate capabilities, not a measured reduction in defects or human supervision. Completion retains files and grants no Git, publication or deletion authority.

Further help

Product · Commands · Support and verification · Codex · DeepSeek · Claude Code · ZCode