Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aien-architecture-mv/blob/main/CONTRIBUTING.md # aien-architecture-mv Canonical architecture for the AIEN ecosystem: flows, boundaries, ADRs, and the map from design to implementation repositories. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aien-architecture-mv / CONTRIBUTING.md` 52 lines ยท 2442 bytes Raw Blame History Source # Contributing to AIEN Architecture Architecture changes must answer four questions: - Owner: which subsystem owns the responsibility? - Boundary: what typed protocol crosses into or out of it? - Failure: what happens if the subsystem, Machine, network, provider, or model fails? - Evidence: how can the behavior be tested and proven? ## Rules - Do not describe planned work as implemented. - Use Machine 1, Machine 2, etc. in architecture diagrams. - Hardware/vendor names belong only in capability examples. - Distinguish Tool, Skill, World, Cortex, J-Space, policy, effect, and provenance. - External irreversible effects must pass AEGIS and the Effect Broker. - Models never own raw credentials. - MCP is a compatibility transport under the Capability Graph, not the internal semantic model. - New architectural decisions require an ADR. - Changes to security boundaries require explicit negative tests. - Claims about current code should name the repository/path or PR/commit that establishes them. ## ADR workflow Create `docs/adr/NNNN-short-title.md` containing: - Context - Decision - Alternatives considered - Consequences - Security implications - Performance implications - Migration plan - Acceptance tests ## Architecture-gap workflow Open an issue when: - current code contradicts an ADR, - two repositories claim ownership of the same canonical behavior, - a required typed boundary does not exist, - a bypass exists around policy/provenance, - documentation refers to a component that no longer exists. ## Crumbs Retired from the active workflow (DRA-97, 2026-11-07). The `.crumb` files and `docs/crumbs/BACKFILL.md` stay as history; you do not need to read, compile or verify them before a change, and no gate checks them. The text below describes the protocol as it was. This repo uses the Crumb Protocol (RFC-0001). Each directory carries a `.crumb` file (what the directory is for, its rules, and a backfilled history). Agents on one machine may keep local scratch state in `.crumb.local`, which is never committed; coordination between agents goes through tracked claims and draft pull requests (see Scope in `docs/CRUMB_PROTOCOL.md`). Before editing a directory, read its `.crumb`. Rules and the `crumb` tool: https://github.com/aien-spark/aien-architecture/blob/main/docs/CRUMB_PROTOCOL.md Backfilled history (marked as such, not live whispers) is in `docs/crumbs/BACKFILL.md`.