feat(dashboard): session workflow dashboard MVP (POS-92) - #8
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c30b89fa3e
ℹ️ 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".
|
|
||
| Claude Code replaces each of ``: \\ / _ .`` with ``-``. | ||
| """ | ||
| return re.sub(r"[:\\/_.]", "-", str(project_path)) |
There was a problem hiding this comment.
Normalize all non-alphanumeric chars in session slug
slug_for() only replaces :, \, /, _, and ., but Claude session directories are encoded from cwd by replacing every non-alphanumeric character with -. For project paths containing other characters (for example spaces or parentheses), the computed slug does not match the on-disk folder, so resolve_jsonl_dir() misses transcripts and the dashboard can incorrectly show zero sessions/conflicts.
Useful? React with 👍 / 👎.
Summary
.claude/coordination/claude-*.md(slots),~/.claude/projects/<slug>/*.jsonl(sessions), andgit(branch/uncommitted/unpushed/commits-24h/worktrees).slot_collision(red),branch_divergence(warn),duplicate_work(warn),stale_slot(yellow),uncommitted_drift(yellow).Design departures (intentional, documented in README)
claude-Nand jsonlsessionIdshare no key).duplicate_workuses "2+ in-progress slots" heuristic (per-sessionfiles_toucheddeferred to Phase 2).file://.Test Plan
pytest tests/test_workflow_*.py-> 30 passedruff check workflow_dashboard/-> cleanRefs: Linear POS-92