Dashboard: Artifact organization by type and phase with relevance ordering #351
Labels
No labels
agent-ready
bug
contract
documentation
duplicate
enhancement
good first issue
help wanted
invalid
needs-human
needs-input
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
iterative-works/iw-cli#351
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Layer: 2 — Navigation & Document Experience
Parent: #343
Problem
Artifacts are listed in a flat, unstructured way. When a worktree has many artifacts across multiple phases (analysis, review packets, release notes, diagrams), finding the right document requires scanning the full list. Artifacts also accumulate duplicates without relevance ordering (#200).
Solution
Related
Intake: needs-input
Workflow: -
Reason: the goal is not specified — the deduplication part is done (IW-715,
771e37ba), but the issue does not choose how to group, what "relevant" means, or which view changesAnalysis: - (no branch, no worktree)
1. What must group the artifacts, and where does the group of each artifact come from?
Each artifact on the card has only a label and a path (ReviewState.scala#L15-L18). The schema permits an optional
categoryfield (review-state.schema.json), but the dashboard does not read it. The issue says:phase-02-context.md,review-packet-phase-01.md). This needs no schema change and no workflow change. A file name that does not match a rule goes into an "Other" group.category. The groups are exact. This changes the plugin skills and old cards show no groups.Recommended: a): it works on the cards that exist now, and it changes the least.
2. What does "most relevant first" mean?
The dashboard shows artifacts in the order of the array. A replaced artifact keeps its position, so the array order is not the order of recency. The card records the current
phase. Issue #200 (open) also proposes a separateattention_artifactslist that the workflow sets.phasefield that the card already has.Recommended: a): it uses data that is already on the card and it gives #200 part 2 no work to do.
3. Which view must show the grouped list?
The worktree card and the detail page use the same flat list (WorktreeCardRenderer.scala#L934-L949). The effort map puts this work after the sidebar of #350 (open). The #350 sidebar also lists "artifacts organized by type/phase".
Recommended: a): one grouping function serves all views, and nothing waits.
Answer in a comment on this issue, per number, for example "1: a", or in your own words; intake reads it on its next iteration.