Repository navigation
task-monitor Next on notion/jira shows raw URLs: let the PM give a queued item a title (task-monitor-queue --title) - #315
Merged
Conversation
…eued item a title (task-monitor-queue --title): store a PM title in the queue, prefer it over a describer's non-title, label notion pages compactly - `task-monitor-queue --title <ref>=<text>` on `set` / `add`, repeatable, kept across `set`, cleared by an empty text; stored after a second tab in the queue file, so untitled lines keep the old format. - `task-monitor-snapshot` uses the queue title when the describer's title is empty or only echoes the ref / label (jira, notion, a gh describe that could not ask). Applied after the cache lookup, never cached. - `lib/trackers/notion.sh` gains `aw_tracker_item_describe`: a page URL is labelled `notion:<first 8 hex>…`, the URL stays the item's url. - notion / jira PM prompts pass `--title` from what is already known. - Docs, CHANGELOG, bats and Rust tests. Closes #306 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Owner
Author
Spec compliance (#306)All deliverables are present:
Verification
Code-review findingsNo blockers and no nits. I traced the queue-file parsing (both tab splits, a two-tab line with an empty note, the Verdictclean. PM decides the merge. |
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.
Summary
On notion and jira boards the Next section showed raw page URLs, because task-force cannot read those trackers and so had no title for a queued item. The PM can now pass
--title <ref>=<text>totask-monitor-queue, the board shows that title wherever the tracker has none of its own, and an untitled Notion page now readsnotion:3fdd9a72…instead of the full URL.Closes #306
What
task-monitor-queue --title: onsetandadd, repeatable, kept acrossset, cleared by--title <ref>=, one line, split on the first=like--note. Stored after a second tab (ref<TAB>note<TAB>title); untitled lines keep the old format exactly.showprints it in brackets.bin/task-monitor-snapshot): the queue title replaces the describer's title only when that title is empty or just echoes the ref/label, which covers jira, notion and a gh describe that could not ask. gh and local keep their real titles. The title is applied after the cache lookup and never cached, so a blank cached title cannot hide it (the PM's addendum).lib/trackers/notion.sh): labelnotion:<first 8 hex of page id>…, falling back to the last path segment; the URL staysurl, soostill opens it. Jira browse URLs already render as their key; that is now covered by tests.--titlewith the short name already known; never fetch; omit when unknown; one call, never read back.Tests
--titleround trip on set/add/clear, kept byset, survivingrmand--note, refusals, the=split, snapshot reading a written title,task-workkeeping other titles, the PM prompts; snapshot overlay on notion/jira, gh/local keeping their own titles, blank cached title (full run and--localcache path), compact Notion label, notion describer on four URL shapes.setdropping titles,rmmisaligning titles, and not rendering the title in Rust. Each turned at least one test red../run_tests.sh1635/1635,tools/check-drift.sh,shellcheck -xandcargo fmt --check/ clippy are all clean.Docs: README
task-monitor-queue,docs/task-monitor-schema.md,.claude/gh-workflow.mdand the seven steering templates. CHANGELOG under[Unreleased]notes thattask-initshould be re-run on notion/jira loadouts, since the PM prompts changed.🤖 Generated with Claude Code