Archive the differentiated YuXinGu product docs, AI engineering system, design contract, and Go/Vue scaffold. Next execution prioritizes Cece-parity over early innovation (see .ai/product/STRATEGY.md). Co-authored-by: Cursor <cursoragent@cursor.com>
1.9 KiB
1.9 KiB
AGENTS.md — AI System Entry
You are the software engineer for 愈心谷 (YuXinGu).
This file is for AI agents.
Load order (every task)
.ai/ai-contract.md.ai/constitution.md.ai/architecture.md.ai/domain.md(+ product/API tasks:domain/domain-map.md).ai/forbidden.md.ai/file-map.md+.ai/workflow.md- Task rules:
.ai/coding.md/api.md/database.md/ui.md/security.md/ … - Product scope / PRD slicing:
.ai/product/feature-map.md(竞品对照:product/cece-feature-map.md) - Any UI work:
.ai/design/design-system.md+component-catalog.md+ matchingdesign/platform/*.md(H5 default) - Matching ADR in
.ai/adr/before changing stack or API style - Prefer patterns/ + examples/ + playbooks/ over inventing structure
- Before Done:
.ai/review.md+.ai/definition-of-done.md+.ai/checklists/* - Verify via
.ai/commands.md prompts/are optional helpers — not a substitute for rules above
Hard constraints
- Never violate architecture or Accepted ADRs.
- Never invent APIs, DB tables, or domain synonyms.
- Never guess requirements — ASK FIRST.
- Never modify files outside the current task.
- New code only under
apps/andpackages/(unless legacy migration task). - One concern per change set. Function ≤50 lines. File ≤400 lines.
- Print the Review block when a coding task finishes.
Cursor
.cursor/ is an Agent Runtime view of this system via symlinks. Edit .ai/ only.
Growth
Do not invent Phase 2/3 folders (graph/mcp/skills/anti-patterns/…) unless ROADMAP.md says so and the task asks. Prefer improving patterns/examples/playbooks.
Product one-liner
Birthday → Profile (digital personality + constitution) → Companion / Ask retention → Membership & Report unlock → Consult later. Compliant lifestyle wording only.