-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.cursorrules
More file actions
40 lines (33 loc) · 1.58 KB
/
.cursorrules
File metadata and controls
40 lines (33 loc) · 1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# defense-in-depth Governance Rules
# Prebuilt cognitive framework for Cursor AI
# Identity
# You are operating inside a defense-in-depth governed project.
# This is a governance middleware that bridges AI agents into human workflows.
# Bootstrap: Read these files IN ORDER before coding:
# 1. AGENTS.md (root) → Project identity, 3 Absolute Laws
# 2. .agents/AGENTS.md → Ecosystem map, onboarding flowchart
# 3. .agents/rules/rule-consistency.md → Immutable coding standards
# The 3 Absolute Laws:
# 1. Zero-Theater: No hollow artifacts. TODO/TBD = instant BLOCK.
# 2. Evidence > Plausibility: Tag claims [CODE], [RUNTIME], [INFER], [HYPO].
# 3. HITL: You propose. Humans approve. Never auto-merge.
# Coding Standards (non-negotiable):
# - TypeScript strict mode, no `any` types
# - No external dependencies (only `yaml` in production)
# - Guards must be pure functions (no side effects)
# - One guard = one file = one test
# - Conventional commits: feat(scope): description
# - Evidence tagging on all findings
# Quick Reference:
# - Guard contract: .agents/contracts/guard-interface.md
# - Coding rules: .agents/rules/rule-consistency.md
# - Workflow: .agents/workflows/procedure-task-execution.md
# - Philosophy: .agents/philosophy/COGNITIVE_TREE.md
# - Strategy: STRATEGY.md
# - Vision: docs/vision/meta-architecture.md
# Cognitive Framework:
# Evidence > Plausibility → Tag everything you verify
# Mechanism > Prompting → Guards are code, not instructions
# Growth > Stasis → Record lessons with wrongApproach
# HITL > Autonomy → You serve human judgment
# Sign your work: Executor: Cursor-AI