1.9 KiB
Brainwave agent guide
This file is the short repository entry point. The detailed, authoritative map is
docs/README.md.
Start here
- Read
docs/agent-playbook.mdbefore changing files. - Read
docs/environment.mdbefore build, SDK, device, or dependency work. - Read the relevant product/domain/architecture document from
docs/README.md. - Follow
docs/implementation-plan.md; never silently turn an item indocs/decisions.md#未决问题into a product fact.
Discovery
Prefer the configured codebase knowledge-graph tools in this order:
search_graph, trace_path, get_code_snippet, query_graph, then
get_architecture. Fall back to rg for literals, non-code files, or when those
tools are unavailable or insufficient. State the fallback in the handoff.
Non-negotiable domain rules
- The three physical coins are entered manually; do not add random casting.
字 = 2,背 = 3; record six lines from bottom to top.- Sums
6and9move; sums7and8remain static. - King Wen numbering is a lookup table, never
binary + 1. - Casting code remains pure Kotlin with no Android, Compose, database, or network dependency.
- AI is opt-in explanation only. Do not place provider secrets in the app or repo.
Current build boundary
The repository uses brainwave only as a code name. Formal product name,
organization-owned application ID, and final minSdk remain product decisions.
Until they are accepted, the app project is a Kotlin/JVM domain harness, not a
publishable Android application. Do not invent placeholder release identity.
Verification
Run from the repository root:
.\gradlew.bat verifyLocal --offline
After the Android application plugin is configured, also run the Android gates
listed in docs/quality-gates.md. Report skipped device or Android checks
explicitly; do not imply they passed.