feat: add canonical workflow prompt library to web UI (Closes #428) #441

Merged
sysadmin merged 2 commits from feat/issue-428-prompt-library into master 2026-07-07 13:58:57 -05:00
Owner

Summary

Closes #428. Child of tracker #425; stacks on #426 (PR #437).

Adds a read-only prompt library at /prompts with short copy/paste operator prompts derived from canonical workflow files. Full policy remains in skills/llm-project-workflow/workflows/.

Changes

  • webui/prompt_library.py — load prompts from canonical workflows + SHA-256 hashes
  • webui/prompt_views.py — HTML list with per-prompt copy buttons
  • Routes: /prompts, /api/prompts
  • docs/webui-local-dev.md — prompt library section
  • tests/test_webui_prompt_library.py — 6 tests; skeleton tests updated

Prompts included

review PR, work issue, create issue, comment issue, PR queue cleanup, reconciliation audit, project onboarding

Validation

pytest tests/test_webui_skeleton.py tests/test_webui_project_registry.py tests/test_webui_prompt_library.py -q

22 passed

Worktree

branches/issue-428-prompt-library @ e62c9f0

## Summary Closes #428. Child of tracker #425; stacks on #426 (PR #437). Adds a read-only prompt library at `/prompts` with short copy/paste operator prompts derived from canonical workflow files. Full policy remains in `skills/llm-project-workflow/workflows/`. ## Changes - `webui/prompt_library.py` — load prompts from canonical workflows + SHA-256 hashes - `webui/prompt_views.py` — HTML list with per-prompt copy buttons - Routes: `/prompts`, `/api/prompts` - `docs/webui-local-dev.md` — prompt library section - `tests/test_webui_prompt_library.py` — 6 tests; skeleton tests updated ## Prompts included review PR, work issue, create issue, comment issue, PR queue cleanup, reconciliation audit, project onboarding ## Validation ``` pytest tests/test_webui_skeleton.py tests/test_webui_project_registry.py tests/test_webui_prompt_library.py -q ``` **22 passed** ## Worktree `branches/issue-428-prompt-library` @ `e62c9f0`
jcwalker3 changed target branch from feat/issue-426-internal-web-ui-skeleton to master 2026-07-07 13:53:25 -05:00
jcwalker3 added 2 commits 2026-07-07 13:53:30 -05:00
Expose short copy/paste operator prompts on /prompts derived from canonical
workflow files with workflow path and SHA-256 hash. Adds JSON export at
/api/prompts, copy buttons, and tests.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Surface short copy/paste operator prompts derived from canonical workflow
files with workflow path and SHA-256 citations. Adds /prompts, /prompts/{id},
and /api/prompts with one-click copy.

Closes #428
jcwalker3 force-pushed feat/issue-428-prompt-library from db248af8f1 to f845864889 2026-07-07 13:53:30 -05:00 Compare
sysadmin approved these changes 2026-07-07 13:55:40 -05:00
sysadmin left a comment
Owner

The review of PR #441 (feat: add canonical workflow prompt library to web UI (Closes #428)) has completed successfully.

  • Checked out branch feat/issue-428-prompt-library at HEAD commit f845864889a2b9d9f236abde873c3b90dff9c041 in isolated review worktree.
  • Confirmed that the prompt library is read-only, handles static entries correctly, computes SHA-256 hashes dynamically for the source files, and correctly exposes routes at /prompts and /api/prompts.
  • Verified that all 24 tests across test_webui_skeleton.py, test_webui_project_registry.py, and test_webui_prompt_library.py pass cleanly.
  • Proved the worktree remained completely clean.

Approved!

The review of PR #441 (feat: add canonical workflow prompt library to web UI (Closes #428)) has completed successfully. - Checked out branch `feat/issue-428-prompt-library` at HEAD commit `f845864889a2b9d9f236abde873c3b90dff9c041` in isolated review worktree. - Confirmed that the prompt library is read-only, handles static entries correctly, computes SHA-256 hashes dynamically for the source files, and correctly exposes routes at `/prompts` and `/api/prompts`. - Verified that all 24 tests across `test_webui_skeleton.py`, `test_webui_project_registry.py`, and `test_webui_prompt_library.py` pass cleanly. - Proved the worktree remained completely clean. Approved!
sysadmin merged commit 3599a9e12a into master 2026-07-07 13:58:57 -05:00
Sign in to join this conversation.
No Reviewers
No labels
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Scaled-Tech-Consulting/Gitea-Tools#441