Repository navigation
feat: read the legacy task comment feed (#182) - #224
Merged
Merged
Conversation
Add task:legacy:comment:list for the old task card comment feed that did not move to the task chat. It reads REST 1.0 task.commentitem.getlist with an ID cursor and a finite budget, reports source, completeness and partial reasons, never prints attachment URLs (they carry an auth token), and turns a missing method or inaccessible task into legacy-comments-unavailable instead of an empty feed. The legacy status is visible in the name, the [legacy] list description, help, meta.legacy and the output header. task:chat:list now declares meta.legacyComments=not-checked so chat completeness is not read as the completeness of the whole discussion. OpenSpec change: openspec/changes/add-task-legacy-comments/ Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Что сделано
Closes #182.
task:legacy:comment:list TASK_IDчитает ленту комментариев старой карточки задачи, которая не попала в новый чат. Источник — устаревший REST 1.0task.commentitem.getlist(scopetask).task:legacy:), в описании[legacy]вb24cli list task, в первой строке help, вmeta.legacyи в заголовке human-вывода. В--plainпометка уходит в stderr.startпортал игнорирует) с--limit,--all,--before,--after,--max-comments. Неполное чтение —complete=falseсcomment-budget-exhausted,pagination-no-progressилиpage-error, exit 3.ERROR_METHOD_NOT_FOUNDиERROR_COREна первой странице →legacy-comments-unavailable(exit 1), а не пустая лента.DOWNLOAD_URL/VIEW_URLвложений отбрасываются в адаптере: в ответе портала они содержат токенauth[ap].task:chat:listдобавляетmeta.legacyComments = {status: not-checked, command}и подсказку в stderr, без дополнительных запросов.docs/task-usage.md,docs/cli-command-map.md(76 команд),docs/task-jtbd.md(PM-06, AM-06, EMP-07),docs/development.md,CHANGELOG.md.OpenSpec
Change
add-task-legacy-comments:openspec/changes/add-task-legacy-comments/— proposal, research (MCP документации и проверка портала), design, дельтыtask-legacy-commentsиtask-console-runtime, tasks (16/16), evidence.Проверки
make unit— 1391 тест OK;make check,make lint-all,make cli-reference-check,git diff --check— OK.openspec validate add-task-legacy-comments --strict— valid.strict-rest3; токен ни в одном выводе не встречается. Интеграционные группыcommand:task:legacy:comment:listиcommand:task:chat:list— OK.Не проверено
Перед архивированием
add-weekly-task-reportнужно архивировать раньше: обе дельты меняютExact MVP command registration.🤖 Generated with Claude Code