Skip to content

docs: critique proto/saroj-studies orchestration prompt + revised v2#2273

Open
merchako wants to merge 3 commits into
mainfrom
claude/review-ui-prompt-H22rG
Open

docs: critique proto/saroj-studies orchestration prompt + revised v2#2273
merchako wants to merge 3 commits into
mainfrom
claude/review-ui-prompt-H22rG

Conversation

@merchako
Copy link
Copy Markdown
Contributor

@merchako merchako commented May 14, 2026

Summary

Pre-flight review of the draft proto/saroj-studies orchestration prompt against the actual state of paranext-core and the PRD, plus a paste-ready revised v2 prompt that addresses every Critical-tier issue.

Adds two docs under docs/plans/:

  • saroj-studies-orchestration-critique.md — severity-tiered critique (Critical / Important / Minor) and open questions
  • saroj-studies-orchestration-prompt-v2.md — revised orchestration prompt, ready to paste into Claude Code

Critical issues flagged

  • Wrong package path (packages/platform-bible-reactlib/platform-bible-react)
  • Two Storybook instances; the prompt collapses both (root :6006 vs lib :6007)
  • Invented data shape (id, title, isDownloaded, addedBy, …) vs real DblResourceData from platform-bible-utils
  • The shared resource picker already exists on pt-3976-shared-resource-picker-ui — re-inventing it conflicts with the PRD's "consistency over novelty" guidance (Rabbit Hole Configure publishing to GH #3)
  • Made-up utility filterResourcesByUserLanguages doesn't exist; PRD never mentions user-language filtering
  • Tailwind tw- prefix not honored by the inline-style WorkspaceShell
  • Worktree node_modules + Storybook port collisions not addressed
  • Wrong sub-agent tool name (TaskAgent); cwd doesn't propagate to subagents

Test plan

  • Reviewer scans the critique sections and confirms Critical findings
  • Reviewer answers the six open questions at the bottom of the critique
  • If approved, paste the v2 prompt into a fresh session to kick off proto/saroj-studies

Generated by Claude Code


This change is Reviewable

claude added 3 commits May 14, 2026 21:27
Pre-flight review of the draft orchestration prompt against the actual
state of paranext-core and the PRD. Identifies critical inconsistencies
(wrong package path, made-up data shape, conflict with PRD's "consistency
over novelty" guidance, picker already exists on pt-3976-shared-resource-
picker-ui) and provides a paste-ready revised prompt that addresses them.

https://claude.ai/code/session_01FN5PduQzmUwiTD28mytLpN
CI's "check JS/TS formatting" step runs `prettier --check` repo-wide and
flagged the markdown file for table column alignment and `*em*` → `_em_`
normalization. No content changes.

https://claude.ai/code/session_01FN5PduQzmUwiTD28mytLpN
Per UX-designer feedback:
- C4: The PT-3976 picker is a dev's in-progress PR, not from UX. Restore
  "3 picker variants per area" in Agent A (single-select) and Agent B
  (multi-select). The "be consistent with project selection UI" guidance
  in PRD Rabbit Hole #3 applies to the later convergence step, not this
  ideation pass.
- C6: Stub utilities (like filterResourcesByUserLanguages) are fine as
  long as they ship with a sample-data-backed implementation in
  <name>.utils.ts. They communicate intent in the story; final API will
  be settled later.

Also adjust setup so the integration branch lives in its own worktree
(preserving the orchestrator's branch state) and the orchestration docs
are bundled into proto/saroj-studies so every worktree has them.

https://claude.ai/code/session_01FN5PduQzmUwiTD28mytLpN
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.

2 participants