Skip to content

BACK-686 - Watch task lists with the existing JSON output - #1015

Merged
MrLesk merged 4 commits into
mainfrom
tasks/back-686-json-list-watch
Sep 12, 2026
Merged

BACK-686 - Watch task lists with the existing JSON output#1015
MrLesk merged 4 commits into
mainfrom
tasks/back-686-json-list-watch

Conversation

@MrLesk

@MrLesk MrLesk commented Sep 12, 2026

Copy link
Copy Markdown
Owner

Summary

Add backlog task list --json --watch so subscribers receive the full matching list immediately and changed full replacements afterwards. Each response uses the exact existing JSON fields, envelope, indentation, and trailing newline.

Both modes reuse the existing task-list operation, including filters, sorting, limits, and local scope. File notifications and periodic reconciliation trigger refreshes; writes are serialized and unchanged responses are suppressed. Includes shutdown and slow-consumer handling, CLI help, and public instructions.

Related Issue or Task

Closes #1014. Task: BACK-686.

Task Checklist

  • Corresponding task in backlog/tasks/
  • Clear acceptance criteria
  • Implementation plan recorded
  • Acceptance criteria verified and completed

Testing

  • 71 tests pass across JSON output/watch, watch lifecycle, task lists, ordinal sorting, and agent instructions.
  • bunx tsc --noEmit, bun run check ., and bun run build pass.
  • Compiled binary verified for byte-identical initial JSON, documented help, and termination.
  • Watch tests cover startup changes, missed notifications, atomic edits, removals, filters, readiness, duplicate identities, slow consumers, broken pipes, and termination with an unread 2 MB response.

@MrLesk

MrLesk commented Sep 12, 2026

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 12, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-12T11:40:04.966225Z ee00aa8 New commits
🔒 Security Review Completed 2026-09-12T11:39:47.196390Z acb237e PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@MrLesk

MrLesk commented Sep 12, 2026

Copy link
Copy Markdown
Owner Author

@codex review the latest commit. The follow-up adds the watch tests to platform CI and makes the termination test account for Windows signal behavior.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🎉

Reviewed commit: 9a1367509d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@MrLesk
MrLesk merged commit 39912b8 into main Sep 12, 2026
10 checks passed
@MrLesk
MrLesk deleted the tasks/back-686-json-list-watch branch September 12, 2026 11:45
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.

Support live task lists with the existing JSON output

1 participant