docs: correct architecture docs after the platform->infrastructure rename - #5327
Conversation
Greptile code reviewThis repo uses Greptile for automated review. Before merge, aim for Confidence Score: 5/5 with zero unresolved review threads — see CONTRIBUTING.md. Run a review — add a PR comment with: Give it ~5-10 minutes (sometimes longer) for results, then fix feedback and re-trigger until you reach Confidence Score: 5/5. Optional: automate with the greploop skill. |
|
@greptile review |
Greptile SummaryThe PR updates architecture documentation after the
Confidence Score: 5/5The documentation-only PR appears safe to merge. No blocking failure remains.
|
| Filename | Overview |
|---|---|
| AGENTS.md | Corrects the architecture-document description to identify a five-tier layer table. |
| docs/ARCHITECTURE.md | Updates renamed infrastructure identifiers and documents current gateway, middleware, turn-host, and import-boundary architecture. |
Flowchart
%%{init: {'theme': 'neutral'}}%%
flowchart TD
HOSTS["Tier 1: surfaces + gateway"] --> BOOT["Tier 2: bootstrap"]
BOOT --> CAP["Tier 3: tools + integrations"]
CAP --> RUNTIME["Tier 4: core + infrastructure"]
RUNTIME --> CONFIG["Tier 5: config"]
CORE[core] <--> INFRA[infrastructure]
Reviews (2): Last reviewed commit: "docs: correct architecture docs after th..." | Re-trigger Greptile
|
🛸 Aliens watching our repo just upgraded @YauhenBichel's threat level to: do not engage — too competent. 👽 👋 Join us on Discord - OpenSRE : hang out, contribute, or hunt for features and issues. Everyone's welcome. |

What
Fixes accuracy gaps in the architecture docs that remained after the
platform->infrastructurerename (#5295) and the gateway turn-handlerunification. Documentation only — no code changes.
Why
An audit of the architecture docs against the current code found the rename was
almost fully propagated, but a few concrete defects and gaps survived: a wrong
tier count, a stale mermaid identifier, an undocumented core subpackage, and a
peer rule that no longer matches the enforced import graph.