feat: gated project experience & prompt intelligence #45

Merged
michal merged 1 commits from feat/gated-prompt-intelligence into main 2026-02-25 23:23:09 +00:00
Owner

Summary

  • Session gate state machine (gated → begin_session → ungated) with LLM-powered tool selection
  • Tag matcher for intelligent prompt-to-tool matching
  • Link resolver for cross-project MCP resource references
  • Prompt summary service with LLM-generated summaries and chapters
  • Structural link health checks (enrichWithLinkStatus) on prompt endpoints
  • CLI: create prompt --priority/--link, create project --gated/--no-gated, describe project prompts section
  • Prisma migration: gated, priority, summary, chapters, linkTarget fields
  • 1,253 tests passing across all packages (CLI 352, mcpd 546, mcplocal 355)

Test plan

  • All unit tests passing
  • Integration tests for link status enrichment
  • CLI create/get/describe command tests
  • Shell completions updated

🤖 Generated with Claude Code

## Summary - Session gate state machine (gated → begin_session → ungated) with LLM-powered tool selection - Tag matcher for intelligent prompt-to-tool matching - Link resolver for cross-project MCP resource references - Prompt summary service with LLM-generated summaries and chapters - Structural link health checks (enrichWithLinkStatus) on prompt endpoints - CLI: create prompt --priority/--link, create project --gated/--no-gated, describe project prompts section - Prisma migration: gated, priority, summary, chapters, linkTarget fields - 1,253 tests passing across all packages (CLI 352, mcpd 546, mcplocal 355) ## Test plan - [x] All unit tests passing - [x] Integration tests for link status enrichment - [x] CLI create/get/describe command tests - [x] Shell completions updated 🤖 Generated with [Claude Code](https://claude.com/claude-code)
michal added 1 commit 2026-02-25 23:23:03 +00:00
feat: gated project experience & prompt intelligence
Some checks failed
CI / lint (pull_request) Has been cancelled
CI / typecheck (pull_request) Has been cancelled
CI / test (pull_request) Has been cancelled
CI / build (pull_request) Has been cancelled
CI / package (pull_request) Has been cancelled
705df06996
Implements the full gated session flow and prompt intelligence system:

- Prisma schema: add gated, priority, summary, chapters, linkTarget fields
- Session gate: state machine (gated → begin_session → ungated) with LLM-powered
  tool selection based on prompt index
- Tag matcher: intelligent prompt-to-tool matching with project/server/action tags
- LLM selector: tiered provider selection (fast for gating, heavy for complex tasks)
- Link resolver: cross-project MCP resource references (project/server:uri format)
- Prompt summary service: LLM-generated summaries and chapter extraction
- System project bootstrap: ensures default project exists on startup
- Structural link health checks: enrichWithLinkStatus on prompt GET endpoints
- CLI: create prompt --priority/--link, create project --gated/--no-gated,
  describe project shows prompts section, get prompts shows PRI/LINK/STATUS
- Apply/edit: priority, linkTarget, gated fields supported
- Shell completions: fish updated with new flags
- 1,253 tests passing across all packages

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
michal merged commit 987a6d0d9a into main 2026-02-25 23:23:09 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: michal/mcpctl#45