Skip to content

feat: strengthen chatloop continuation flow#179

Merged
RexWzh merged 3 commits intomasterfrom
rex/update-apis
Apr 19, 2026
Merged

feat: strengthen chatloop continuation flow#179
RexWzh merged 3 commits intomasterfrom
rex/update-apis

Conversation

@RexWzh
Copy link
Copy Markdown
Member

@RexWzh RexWzh commented Apr 19, 2026

Summary

  • strengthen chatloop into a PRD-aware continuation loop: bootstrap always injects the PRD contract, continuation reuses an auto-loop style state machine, and completion now requires structured progress plus a validated STATUS: COMPLETE / <complete>DONE</complete> pair
  • improve ChatLoop observability and UX with .opencode/chatloop.events.log, stronger status/debug output, toast feedback for activation / continuation / rejected completion / max-iterations / pause, and cleanup of the legacy file-plugin config entry
  • install ChatLoop as a full global local plugin package under OpenCode home, add the chatloop-from-auto-loop design write-up, update setup/workspace docs, bump ChatTool to 6.6.2, and extend setup workspace to generate reference/, docs/themes/, and a workspace-maintenance skill for periodic workspace cleanup

Testing

  • pytest tests/code-tests/test_setup_nodejs.py tests/mock-cli-tests/opencode/test_chattool_setup_opencode_basic.py tests/mock-cli-tests/setup/test_chattool_setup_workspace_mock_basic.py tests/cli-tests/setup/test_chattool_setup_workspace_real_basic.py
  • pytest tests/mock-cli-tests/opencode/test_chattool_setup_opencode_basic.py tests/mock-cli-tests/opencode/test_chattool_setup_opencode_install_only.py tests/mock-cli-tests/setup/test_chattool_setup_workspace_mock_basic.py tests/cli-tests/setup/test_chattool_setup_workspace_real_basic.py tests/code-tests/test_setup_nodejs.py
  • real OpenCode verification with a temporary PRD project confirmed bootstrap prompt injection, state/event logging, one successful continuation cycle, and valid completion cleanup in a long-lived session

Notes

  • opencode run is still not a reliable environment for validating multi-iteration continuation or max-iteration behavior because the instance disposes immediately after the first idle; TUI or attach-style sessions remain the correct validation path for those behaviors
  • the generated workspace scaffold now distinguishes active projects/, cross-project reusable reference/, and long-lived conventions under docs/themes/ so periodic cleanup can happen without overloading active project directories

@github-actions
Copy link
Copy Markdown
Contributor

Preview available at: https://chattool.wzhecnu.cn/dev/

@RexWzh RexWzh merged commit 37d13f0 into master Apr 19, 2026
3 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.

1 participant