# xuyaoyang/isolation-bearing-drawing-review architecture

> Architecture diagram of the GitHub repository xuyaoyang/isolation-bearing-drawing-review, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-30). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/xuyaoyang/isolation-bearing-drawing-review
- Repository: https://github.com/xuyaoyang/isolation-bearing-drawing-review

## Overview

This repository provides a read-only review workflow for isolation-bearing DWG/DXF drawings: a reviewer runs the PowerShell review entry point, which uses AutoCAD Core Console and AutoLISP to extract entity evidence, then produces summaries and review outputs. The graph follows relationships documented in the README; source excerpts were unavailable, so implementation-level calls and any unverified orchestration are omitted.

Main entry points: [`scripts/review-isolation-bearing.ps1`](https://github.com/xuyaoyang/isolation-bearing-drawing-review/blob/main/scripts/review-isolation-bearing.ps1) (Review runner), [`scripts/extract-isolation-entities.lsp`](https://github.com/xuyaoyang/isolation-bearing-drawing-review/blob/main/scripts/extract-isolation-entities.lsp) (Entity extractor), [`scripts/summarize-isolation-entities.ps1`](https://github.com/xuyaoyang/isolation-bearing-drawing-review/blob/main/scripts/summarize-isolation-entities.ps1) (Entity summarizer), [`scripts/check-lrb-keq.ps1`](https://github.com/xuyaoyang/isolation-bearing-drawing-review/blob/main/scripts/check-lrb-keq.ps1) (LRB Keq check)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_workflow["Review workflow"]
  node_review["Review runner"]
  node_logs["Command logs"]
end

subgraph group_extraction["Drawing extraction"]
  node_console["AutoCAD Core Console"]
  node_lisp["Entity extractor"]
  node_drawing["DWG/DXF drawing"]
  node_tsv["Entity TSV"]
end

subgraph group_analysis["Evidence analysis"]
  node_summarizer["Entity summarizer"]
  node_reviewevidence["Review evidence"]
  node_keq["LRB Keq check<br/>[check-lrb-keq.ps1]"]
end

node_reviewer(("Reviewer"))

node_reviewer -->|"runs"| node_review
node_review -->|"discovers"| node_console
node_console -->|"runs extraction"| node_lisp
node_lisp -->|"extracts entities"| node_drawing
node_lisp -->|"produces"| node_tsv
node_review -->|"requires artifact"| node_tsv
node_tsv -->|"summarizes"| node_summarizer
node_summarizer -->|"produces clues"| node_reviewevidence
node_review -.->|"optionally checks"| node_keq
node_review -->|"preserves on failure"| node_logs

click node_review "https://github.com/xuyaoyang/isolation-bearing-drawing-review/blob/main/scripts/review-isolation-bearing.ps1"
click node_lisp "https://github.com/xuyaoyang/isolation-bearing-drawing-review/blob/main/scripts/extract-isolation-entities.lsp"
click node_summarizer "https://github.com/xuyaoyang/isolation-bearing-drawing-review/blob/main/scripts/summarize-isolation-entities.ps1"
click node_keq "https://github.com/xuyaoyang/isolation-bearing-drawing-review/blob/main/scripts/check-lrb-keq.ps1"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_review,node_logs,node_reviewer toneBlue
class node_console,node_lisp,node_drawing,node_tsv toneAmber
class node_summarizer,node_reviewevidence,node_keq toneMint
```

## Components

### Review workflow

- [Review runner](https://github.com/xuyaoyang/isolation-bearing-drawing-review/blob/main/scripts/review-isolation-bearing.ps1): `scripts/review-isolation-bearing.ps1`
- **Command logs**

### Drawing extraction

- **AutoCAD Core Console**
- [Entity extractor](https://github.com/xuyaoyang/isolation-bearing-drawing-review/blob/main/scripts/extract-isolation-entities.lsp): `scripts/extract-isolation-entities.lsp`
- **DWG/DXF drawing**
- **Entity TSV**

### Evidence analysis

- [Entity summarizer](https://github.com/xuyaoyang/isolation-bearing-drawing-review/blob/main/scripts/summarize-isolation-entities.ps1): `scripts/summarize-isolation-entities.ps1`
- **Review evidence**
- [LRB Keq check](https://github.com/xuyaoyang/isolation-bearing-drawing-review/blob/main/scripts/check-lrb-keq.ps1): `scripts/check-lrb-keq.ps1`

### Other components

- **Reviewer**

## Connections

- Reviewer → Review runner: runs (evidence: `README.md`)
- Review runner → AutoCAD Core Console: discovers (evidence: `README.md`)
- AutoCAD Core Console → Entity extractor: runs extraction (evidence: `README.md`)
- Entity extractor → DWG/DXF drawing: extracts entities (evidence: `README.md`)
- Entity extractor → Entity TSV: produces (evidence: `README.md`)
- Review runner → Entity TSV: requires artifact (evidence: `README.md`)
- Entity TSV → Entity summarizer: summarizes (evidence: `README.md`)
- Entity summarizer → Review evidence: produces clues (evidence: `README.md`)
- Review runner → LRB Keq check: optionally checks
- Review runner → Command logs: preserves on failure (evidence: `README.md`)
