Skip to content

WS-D: expose scenario prompt profiles via CLI + gallery docs - #13

Merged
duanyiqun merged 1 commit into
mainfrom
pr/ws-d-prompts
Jun 18, 2026
Merged

WS-D: expose scenario prompt profiles via CLI + gallery docs#13
duanyiqun merged 1 commit into
mainfrom
pr/ws-d-prompts

Conversation

@duanyiqun

Copy link
Copy Markdown
Contributor

Exposes the EXISTING scenario-prompt capability to end users. Prompt text unchanged; no algorithm changes.

  • cognifold --list-profiles; run/query gain --profile (alias of existing --prompt-profile) with fail-fast validation. Reuses prompt_profile.load_prompt_profiles + profile.to_agent_config.
  • docs/PROMPTS.md: scenario gallery + CLI usage + custom-profile authoring.
  • Caveat: query --profile validates the name but does not change retrieval (read-only MemoryQueryAgent); stated in --help + docs.

ruff clean; pytest 3 passed; --list-profiles verified.

🤖 Generated with Claude Code

https://claude.ai/code/session_018Cafgnpw3v7U3f2Lt1ASxs

- cli: top-level --list-profiles; `run`/`query` gain --profile (alias of
  existing --prompt-profile) with fail-fast validation. Reuses
  prompt_profile.load_prompt_profiles / profile.to_agent_config — no new
  mechanism, prompt text unchanged.
- docs/PROMPTS.md: "Scenario Profiles (Gallery)" table + CLI usage + custom
  profile authoring.

Note: `query` validates --profile but it does not affect retrieval (query
builds a read-only MemoryQueryAgent); documented in --help and docs.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018Cafgnpw3v7U3f2Lt1ASxs
@duanyiqun duanyiqun added the claude-review Trigger on-demand Claude code review label Jun 18, 2026
@duanyiqun
duanyiqun merged commit 8af2781 into main Jun 18, 2026
2 of 3 checks passed
@duanyiqun
duanyiqun deleted the pr/ws-d-prompts branch June 18, 2026 07:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

claude-review Trigger on-demand Claude code review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant