# rx-003/g1-multiline-research architecture

> Architecture diagram of the GitHub repository rx-003/g1-multiline-research, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-03). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/rx-003/g1-multiline-research
- Repository: https://github.com/rx-003/g1-multiline-research

## Overview

This repository is a Chinese-language research and troubleshooting guide for a Google Play multi-item subscription workflow, not an application with an implemented runtime. Its documented path is environment checks and eligibility, staged subscription changes, then entitlement verification; the pitfalls guide supports troubleshooting. The README summarizes these capabilities but no source excerpts were provided, so the graph shows only documented relationships and does not infer internal behavior from the unsampled documents.

Main entry points: [`docs/AI_RUNBOOK.md`](https://github.com/rx-003/g1-multiline-research/blob/main/docs/AI_RUNBOOK.md) (Operation runbook), [`docs/PITFALLS.md`](https://github.com/rx-003/g1-multiline-research/blob/main/docs/PITFALLS.md) (Pitfalls guide), [`scripts/selfcheck.sh`](https://github.com/rx-003/g1-multiline-research/blob/main/scripts/selfcheck.sh) (Environment self-check)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_guidance["Guidance"]
  node_runbook["Operation runbook<br/>[AI_RUNBOOK.md]"]
  node_pitfalls["Pitfalls guide<br/>[PITFALLS.md]"]
end

subgraph group_workflow["Subscription workflow"]
  node_selfcheck["Environment self-check<br/>[selfcheck.sh]"]
  node_eligibility["Eligibility gate<br/>[AI_RUNBOOK.md]"]
  node_base_order["Low-cost combination<br/>[AI_RUNBOOK.md]"]
  node_item_upgrade["Item-level upgrade<br/>[AI_RUNBOOK.md]"]
  node_base_removal["Remove base item<br/>[AI_RUNBOOK.md]"]
end

subgraph group_validation["Validation"]
  node_entitlement_check["Entitlement verification<br/>[AI_RUNBOOK.md]"]
end

node_user(("User / AI"))
node_google_play["Google Play"]
node_google_one["Google One app"]

node_user -->|"follows"| node_runbook
node_user -->|"consults"| node_pitfalls
node_runbook -->|"includes checks"| node_selfcheck
node_runbook -->|"checks eligibility"| node_eligibility
node_eligibility -->|"then orders"| node_base_order
node_base_order -->|"then upgrades"| node_item_upgrade
node_item_upgrade -->|"then removes"| node_base_removal
node_base_order -->|"places subscription"| node_google_play
node_item_upgrade -->|"changes item"| node_google_play
node_base_removal -->|"removes item"| node_google_play
node_base_removal -->|"then verifies"| node_entitlement_check
node_entitlement_check -->|"checks current plan"| node_google_one

click node_runbook "https://github.com/rx-003/g1-multiline-research/blob/main/docs/AI_RUNBOOK.md"
click node_pitfalls "https://github.com/rx-003/g1-multiline-research/blob/main/docs/PITFALLS.md"
click node_selfcheck "https://github.com/rx-003/g1-multiline-research/blob/main/scripts/selfcheck.sh"
click node_eligibility "https://github.com/rx-003/g1-multiline-research/blob/main/docs/AI_RUNBOOK.md"
click node_base_order "https://github.com/rx-003/g1-multiline-research/blob/main/docs/AI_RUNBOOK.md"
click node_item_upgrade "https://github.com/rx-003/g1-multiline-research/blob/main/docs/AI_RUNBOOK.md"
click node_base_removal "https://github.com/rx-003/g1-multiline-research/blob/main/docs/AI_RUNBOOK.md"
click node_entitlement_check "https://github.com/rx-003/g1-multiline-research/blob/main/docs/AI_RUNBOOK.md"

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_runbook,node_pitfalls,node_user toneBlue
class node_selfcheck,node_eligibility,node_base_order,node_item_upgrade,node_base_removal toneAmber
class node_entitlement_check toneMint
class node_google_play,node_google_one toneIndigo
```

## Components

### Guidance

- [Operation runbook](https://github.com/rx-003/g1-multiline-research/blob/main/docs/AI_RUNBOOK.md): `docs/AI_RUNBOOK.md`
- [Pitfalls guide](https://github.com/rx-003/g1-multiline-research/blob/main/docs/PITFALLS.md): `docs/PITFALLS.md`

### Subscription workflow

- [Environment self-check](https://github.com/rx-003/g1-multiline-research/blob/main/scripts/selfcheck.sh): `scripts/selfcheck.sh`
- [Eligibility gate](https://github.com/rx-003/g1-multiline-research/blob/main/docs/AI_RUNBOOK.md): `docs/AI_RUNBOOK.md`
- [Low-cost combination](https://github.com/rx-003/g1-multiline-research/blob/main/docs/AI_RUNBOOK.md): `docs/AI_RUNBOOK.md`
- [Item-level upgrade](https://github.com/rx-003/g1-multiline-research/blob/main/docs/AI_RUNBOOK.md): `docs/AI_RUNBOOK.md`
- [Remove base item](https://github.com/rx-003/g1-multiline-research/blob/main/docs/AI_RUNBOOK.md): `docs/AI_RUNBOOK.md`

### Validation

- [Entitlement verification](https://github.com/rx-003/g1-multiline-research/blob/main/docs/AI_RUNBOOK.md): `docs/AI_RUNBOOK.md`

### Other components

- **User / AI**
- **Google Play**
- **Google One app**

## Connections

- User / AI → Operation runbook: follows (evidence: `README.md`)
- User / AI → Pitfalls guide: consults (evidence: `README.md`)
- Operation runbook → Environment self-check: includes checks (evidence: `README.md`)
- Operation runbook → Eligibility gate: checks eligibility (evidence: `README.md`)
- Eligibility gate → Low-cost combination: then orders (evidence: `README.md`)
- Low-cost combination → Item-level upgrade: then upgrades (evidence: `README.md`)
- Item-level upgrade → Remove base item: then removes (evidence: `README.md`)
- Low-cost combination → Google Play: places subscription (evidence: `README.md`)
- Item-level upgrade → Google Play: changes item (evidence: `README.md`)
- Remove base item → Google Play: removes item (evidence: `README.md`)
- Remove base item → Entitlement verification: then verifies (evidence: `README.md`)
- Entitlement verification → Google One app: checks current plan (evidence: `README.md`)
