feat(flutter-cursor-templates): introduce MCP integration and conventions in project brief
- Added optional MCP integration settings in project-brief.yaml, allowing for environment-based server configurations. - Introduced conventions for strict package imports to enhance code organization and maintainability. - Updated brief schema to validate new MCP properties and ensure correct usage. - Implemented MCP JSON builder to generate .cursor/mcp.json based on project brief settings. - Enhanced resolver to include MCP configuration in generated files when enabled. This update improves integration capabilities and enforces coding standards across the project.
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
---
|
||||
description: "Policy for optional local AI usage logs under .cursor/telemetry/"
|
||||
globs: [".cursor/telemetry/**"]
|
||||
alwaysApply: false
|
||||
---
|
||||
|
||||
# Telemetry — {{PROJECT_NAME}}
|
||||
|
||||
## Context
|
||||
When `telemetry_opt_in: true`, this repo may record **local-only** generation or usage notes under `.cursor/telemetry/`. This is **not** production analytics.
|
||||
|
||||
## Constraints
|
||||
- **Never** commit secrets, tokens, or PII into JSONL or shell history
|
||||
- Prefer redacted summaries over raw prompts
|
||||
- Add `.cursor/telemetry/*.jsonl` to `.gitignore` unless your team explicitly version-controls sanitized samples
|
||||
|
||||
## Patterns
|
||||
- Append one JSON object per line (JSONL) with ISO timestamps and event type
|
||||
- Rotate or truncate files if they grow beyond a few MB
|
||||
Reference in New Issue
Block a user