English · 简体中文
building: AOCI-CODE # AI-Oriented Cognition Infrastructure
mission: AI coding → AI software engineering
problem: agents re-read the repo on every task and still miss the system
approach: one model-written line per file and table, versioned by Git
runtime: local Go CLI + MCP server — no Internet, no stored credentials
hosts: [Claude Code, Codex, Cursor, OpenCode]
schemas: [PostgreSQL, MySQL, openGauss, SQLite]
principle: the index gives the whole; the source gives the factsA real entry from AOCI-CODE's own index:
atomic.go[CG9L]: F:Provides durable replace CAS, create CAS, atomic writes, and no-clobber recovery moves | R:code:internal/fs/atomic_exchange_linux.go,code:internal/fs/atomic_exchange_windows.go,code:internal/fs/lock.go | A:AtomicWrite,AtomicWriteCAS,AtomicCreateCAS,AtomicMoveCAS | S:Native publication never degrades to an overwriting rename; on a race, unsafe type, or unverifiable bytes, preserve third-party state
F responsibility · R read-along · A what callers depend on · S what the code won't tell you but you must not get wrong
A few hundred lines like this cover a whole system. The agent reads them in one pass, then works from source.



