Skip to content

fix: reconcile task progress after each item - #7

Merged
tt-a1i merged 1 commit into
mainfrom
fix/task-progress-reconciliation
Aug 12, 2026
Merged

fix: reconcile task progress after each item#7
tt-a1i merged 1 commit into
mainfrom
fix/task-progress-reconciliation

Conversation

@tt-a1i

@tt-a1i tt-a1i commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator

Summary

Fix session tasks that stay visually stale when a model completes several user-supplied items without reconciling each status.

  • teach the model to mark each tracked item in_progress before work and reconcile its real outcome immediately
  • require a final reconciliation of tasks touched by the current request
  • return the complete bounded current snapshot after every add/update, so the next item remains explicit
  • preserve task-scoped evidence semantics: commit/test/authorization signals never infer completion
  • add a four-task regression proving every explicit transition rewrites the widget and advances the persisted revision

This supersedes the heuristic signal-reminder direction in #6 without merging regex-based completion inference.

Verification

  • bun install --frozen-lockfile
  • bun run check
  • bun run test — 593 Node tests + 29 Vitest tests
  • focused task suite — 41 tests
  • real Pi/model E2E — exact sequence tasks_add, then in_progress/done for T1–T4; revisions 1–9; final batch reset
  • npm pack — 121 files, no tests/specs/tsconfig; only the three task runtime files shipped
  • clean packed Pi load — PACKED_PI_TASKS_LOAD_OK
  • git diff --check
  • read-only reviewer — no findings

@tt-a1i
tt-a1i merged commit 0756a0e into main Aug 12, 2026
4 checks passed
@tt-a1i
tt-a1i deleted the fix/task-progress-reconciliation branch August 12, 2026 08:55
agnitum2009 pushed a commit to agnitum2009/openpi that referenced this pull request Aug 13, 2026
agnitum2009 pushed a commit to agnitum2009/openpi that referenced this pull request Aug 13, 2026
…liation

fix: reconcile task progress after each item
agnitum2009 pushed a commit to agnitum2009/openpi that referenced this pull request Aug 14, 2026
两条不相交历史(lazyload 开发库独立根)。分支 296 提交为演化主线,
内容取代 origin/main 的 PR openpi-dev#3/openpi-dev#5/openpi-dev#7/openpi-dev#9(Redis 可选依赖、Biome/Bun
对齐、任务对账、批量通知——分支已含演化版:shared/task-reconcile、
result-delivery、biome/bun 工具链)。

- 冲突与内容一律取分支侧;合并树 == 分支树(read-tree 落地后
  diff 为空校验通过;merge 自动解析曾引入 main 侧旧位置
  subagents/src/agent-types.ts 残留,已随精确落地清除——该模块
  在分支 c7017af DDD 收敛时迁至 shared/)
- 本地 main 未推送的 2 个提交(commit-task-sync v2 + obsidian KB)
  存档于 archive/local-main-unpushed;vault 内容按 d0e64d4 决策不并入
- 分支关键内容:工具载荷 40.6k→~36.0k tok(端到端 -10.5%)、加载组
  预设、B 方案第三方描述补丁、显示残留根治(model-info tok/s、
  session-liveness busy 闸门 + 子会话守卫)、总线漂移守卫、
  agent-types 诊断分级
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