interplane.Get Omega
Read in your language

aien-architecture-mv

Canonical architecture for the AIEN ecosystem: flows, boundaries, ADRs, and the map from design to implementation repositories.

Brought by drakestapleton

branch main Branches Tags History

aien-architecture-mv / CONTRIBUTING.md

52 lines · 2442 bytes Raw Blame History Rendered
1# Contributing to AIEN Architecture
2
3Architecture changes must answer four questions:
4
51. **Owner:** which subsystem owns the responsibility?
62. **Boundary:** what typed protocol crosses into or out of it?
73. **Failure:** what happens if the subsystem, Machine, network, provider, or model fails?
84. **Evidence:** how can the behavior be tested and proven?
9
10## Rules
11
12- Do not describe planned work as implemented.
13- Use **Machine 1**, **Machine 2**, etc. in architecture diagrams.
14- Hardware/vendor names belong only in capability examples.
15- Distinguish Tool, Skill, World, Cortex, J-Space, policy, effect, and provenance.
16- External irreversible effects must pass AEGIS and the Effect Broker.
17- Models never own raw credentials.
18- MCP is a compatibility transport under the Capability Graph, not the internal semantic model.
19- New architectural decisions require an ADR.
20- Changes to security boundaries require explicit negative tests.
21- Claims about current code should name the repository/path or PR/commit that establishes them.
22
23## ADR workflow
24
25Create `docs/adr/NNNN-short-title.md` containing:
26
27- Context
28- Decision
29- Alternatives considered
30- Consequences
31- Security implications
32- Performance implications
33- Migration plan
34- Acceptance tests
35
36## Architecture-gap workflow
37
38Open an issue when:
39
40- current code contradicts an ADR,
41- two repositories claim ownership of the same canonical behavior,
42- a required typed boundary does not exist,
43- a bypass exists around policy/provenance,
44- documentation refers to a component that no longer exists.
45
46## Crumbs
47
48Retired 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.
49
50This 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`).
51Before editing a directory, read its `.crumb`. Rules and the `crumb` tool: https://github.com/aien-spark/aien-architecture/blob/main/docs/CRUMB_PROTOCOL.md
52Backfilled history (marked as such, not live whispers) is in `docs/crumbs/BACKFILL.md`.