Skip to main content

How it works

Teach, rank, inject, and optionally check. Cloud is not on the agent hot path.
1 min read

Teach#

You write taste in the dashboard, with stacktaste learn, or by correcting Cursor. Stop-hook harvests “do not use X” into a proposed item.

Rank#

@stacktaste/core ranks locally. No embeddings. Blocking policies always go first, then a character budget by authority, confidence, recency, and path match.

Inject#

Three paths, same ranking:

PathWhen
Cursor hookssessionStart, beforeSubmitPrompt, afterFileEdit
MCP taste_contextAgent calls the tool
.cursor/rules/stacktaste.mdcRegenerated on pull, sync, and review

preToolUse denies a tool call when the payload matches a blocking policy needle.

Check#

stacktaste check pulls if local files are behind, then scans changed files against blocking policies.

Cloud is not required for inject if .stacktaste/ exists.