# runtimeconditions/sdk-authorship-discovery architecture

> Architecture diagram of the GitHub repository runtimeconditions/sdk-authorship-discovery, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-02). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/runtimeconditions/sdk-authorship-discovery
- Repository: https://github.com/runtimeconditions/sdk-authorship-discovery

## Overview

This is a research corpus for Runtime Conditions SDK mappings, not a single deployable service. Its intended flow is to explicitly resolve SDK mappings and generate profiles without implicit network access; the repository also contains unchanged applications that exercise real SDK behavior and owner-aligned authoring/maintenance experiments. README statements establish those broad relationships, while sampled source confirms selected S3 upload, Kubernetes observation, NATS messaging, and MongoDB transaction behavior. Many unsampled tools and application internals are represented only at their existing directory paths, so their internal calls are not inferred.

Main entry points: [`authorship/aws-python`](https://github.com/runtimeconditions/sdk-authorship-discovery/tree/main/authorship/aws-python) (AWS mapping proof), [`s3/python/session-client/src/s3_session_client/storage.py`](https://github.com/runtimeconditions/sdk-authorship-discovery/blob/main/s3/python/session-client/src/s3_session_client/storage.py) (Session upload), [`kubernetes/python`](https://github.com/runtimeconditions/sdk-authorship-discovery/tree/main/kubernetes/python) (Kubernetes applications), [`mongodb`](https://github.com/runtimeconditions/sdk-authorship-discovery/tree/main/mongodb) (MongoDB examples)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_apps["SDK application corpus"]
  node_s3_examples["S3 applications"]
  node_session_settings["Session settings<br/>[settings.py]"]
  node_session_upload["Session upload<br/>[storage.py]"]
  node_injected_upload["Injected S3 writer<br/>[storage.py]"]
  node_dynamic_upload["Dynamic service upload<br/>[storage.py]"]
  node_kubernetes_apps["Kubernetes applications"]
  node_mongodb_apps["MongoDB examples"]
  node_mongo_transaction["Transactional transfer<br/>[app.py]"]
  node_nats_apps["NATS applications"]
  node_nats_complete_go["NATS complete service<br/>[main.go]"]
  node_nats_complete_python["NATS complete service<br/>[app.py]"]
end

subgraph group_authoring["Mapping authorship"]
  node_aws_authorship["AWS mapping proof"]
  node_k8s_python_authorship["Kubernetes Python proof"]
  node_k8s_go_generator["Kubernetes Go generator"]
  node_k8s_go_observer["Kubernetes Go observer<br/>[main.go]"]
  node_k8s_go_runner["Go verification runner"]
  node_nats_authorship["NATS mapping proofs"]
  node_boto3_checkpoint["Boto3 checkpoint"]
  node_mongo_review["MongoDB study"]
end

subgraph group_maintenance["Mapping maintenance"]
  node_release_maintenance["AWS release maintenance"]
end

subgraph group_workflow["Mapping workflow"]
  node_mapping_experience["Explicit mapping resolution"]
  node_profile_generation["Profile generation"]
end

node_owners(("Service owners"))
node_sdk_authors(("SDK authors"))
node_nats_service[("NATS service")]
node_kubernetes_api[("Kubernetes API")]
node_mongodb_server[("MongoDB server")]
node_aws_s3[("Amazon S3")]

node_owners -->|"resolve mappings"| node_mapping_experience
node_sdk_authors -->|"author mappings"| node_aws_authorship
node_sdk_authors -->|"author mappings"| node_k8s_python_authorship
node_mapping_experience -->|"generates profiles"| node_profile_generation
node_s3_examples -->|"provide fixtures"| node_aws_authorship
node_kubernetes_apps -->|"profile unchanged apps"| node_k8s_python_authorship
node_kubernetes_apps -->|"use SDK"| node_kubernetes_api
node_k8s_go_generator -->|"joins OpenAPI"| node_kubernetes_api
node_k8s_go_observer -->|"observes requests"| node_kubernetes_api
node_k8s_go_runner -.->|"verifies or discovers"| node_k8s_go_generator
node_mongodb_apps -->|"includes paired cases"| node_mongo_transaction
node_mongo_transaction -.->|"executes transaction"| node_mongodb_server
node_mongo_review -->|"studies patterns"| node_mongodb_apps
node_nats_apps -.->|"connect SDK clients"| node_nats_service
node_nats_complete_go -.->|"publishes and manages"| node_nats_service
node_nats_complete_python -.->|"publishes and manages"| node_nats_service
node_nats_authorship -->|"maps SDK patterns"| node_nats_apps
node_session_upload -->|"reads service name"| node_session_settings
node_session_upload -.->|"uploads object"| node_aws_s3
node_injected_upload -.->|"writes object"| node_aws_s3
node_dynamic_upload -.->|"writes object"| node_aws_s3
node_aws_authorship -->|"supports upkeep"| node_release_maintenance
node_boto3_checkpoint -->|"records ownership flaw"| node_aws_authorship

click node_mapping_experience "https://github.com/runtimeconditions/sdk-authorship-discovery/blob/main/docs/planned-mapping-user-experience.md"
click node_profile_generation "https://github.com/runtimeconditions/sdk-authorship-discovery/blob/main/docs/planned-mapping-user-experience.md"
click node_s3_examples "https://github.com/runtimeconditions/sdk-authorship-discovery/tree/main/s3/python"
click node_session_settings "https://github.com/runtimeconditions/sdk-authorship-discovery/blob/main/s3/python/session-client/src/s3_session_client/settings.py"
click node_session_upload "https://github.com/runtimeconditions/sdk-authorship-discovery/blob/main/s3/python/session-client/src/s3_session_client/storage.py"
click node_injected_upload "https://github.com/runtimeconditions/sdk-authorship-discovery/blob/main/s3/python/dependency-injection/src/s3_dependency_injection/storage.py"
click node_dynamic_upload "https://github.com/runtimeconditions/sdk-authorship-discovery/blob/main/s3/python/dynamic-service/src/s3_dynamic_service/storage.py"
click node_kubernetes_apps "https://github.com/runtimeconditions/sdk-authorship-discovery/tree/main/kubernetes/python"
click node_mongodb_apps "https://github.com/runtimeconditions/sdk-authorship-discovery/tree/main/mongodb"
click node_mongo_transaction "https://github.com/runtimeconditions/sdk-authorship-discovery/blob/main/mongodb/python/transaction/app.py"
click node_nats_apps "https://github.com/runtimeconditions/sdk-authorship-discovery/tree/main/nats"
click node_nats_complete_go "https://github.com/runtimeconditions/sdk-authorship-discovery/blob/main/nats/go/complete-service/main.go"
click node_nats_complete_python "https://github.com/runtimeconditions/sdk-authorship-discovery/blob/main/nats/python/complete-service/app.py"
click node_aws_authorship "https://github.com/runtimeconditions/sdk-authorship-discovery/tree/main/authorship/aws-python"
click node_k8s_python_authorship "https://github.com/runtimeconditions/sdk-authorship-discovery/tree/main/authorship/kubernetes-python"
click node_k8s_go_generator "https://github.com/runtimeconditions/sdk-authorship-discovery/tree/main/authorship/kubernetes-go-mapping-generator"
click node_k8s_go_observer "https://github.com/runtimeconditions/sdk-authorship-discovery/blob/main/authorship/kubernetes-go-envtest-demo/main.go"
click node_k8s_go_runner "https://github.com/runtimeconditions/sdk-authorship-discovery/tree/main/authorship/kubernetes-go-verification-runner"
click node_nats_authorship "https://github.com/runtimeconditions/sdk-authorship-discovery/tree/main/authorship/nats-go"
click node_boto3_checkpoint "https://github.com/runtimeconditions/sdk-authorship-discovery/tree/main/authorship/boto3"
click node_mongo_review "https://github.com/runtimeconditions/sdk-authorship-discovery/tree/main/authorship/mongodb"
click node_release_maintenance "https://github.com/runtimeconditions/sdk-authorship-discovery/tree/main/maintenance/aws-python-s3"

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_s3_examples,node_session_settings,node_session_upload,node_injected_upload,node_dynamic_upload,node_kubernetes_apps,node_mongodb_apps,node_mongo_transaction,node_nats_apps,node_nats_complete_go,node_nats_complete_python toneBlue
class node_aws_authorship,node_k8s_python_authorship,node_k8s_go_generator,node_k8s_go_observer,node_k8s_go_runner,node_nats_authorship,node_boto3_checkpoint,node_mongo_review,node_nats_service,node_kubernetes_api,node_mongodb_server,node_aws_s3 toneAmber
class node_release_maintenance toneMint
class node_mapping_experience,node_profile_generation toneRose
class node_owners,node_sdk_authors toneIndigo
```

## Components

### SDK application corpus

- [S3 applications](https://github.com/runtimeconditions/sdk-authorship-discovery/tree/main/s3/python): `s3/python`
- [Session settings](https://github.com/runtimeconditions/sdk-authorship-discovery/blob/main/s3/python/session-client/src/s3_session_client/settings.py): `s3/python/session-client/src/s3_session_client/settings.py`
- [Session upload](https://github.com/runtimeconditions/sdk-authorship-discovery/blob/main/s3/python/session-client/src/s3_session_client/storage.py): `s3/python/session-client/src/s3_session_client/storage.py`
- [Injected S3 writer](https://github.com/runtimeconditions/sdk-authorship-discovery/blob/main/s3/python/dependency-injection/src/s3_dependency_injection/storage.py): `s3/python/dependency-injection/src/s3_dependency_injection/storage.py`
- [Dynamic service upload](https://github.com/runtimeconditions/sdk-authorship-discovery/blob/main/s3/python/dynamic-service/src/s3_dynamic_service/storage.py): `s3/python/dynamic-service/src/s3_dynamic_service/storage.py`
- [Kubernetes applications](https://github.com/runtimeconditions/sdk-authorship-discovery/tree/main/kubernetes/python): `kubernetes/python`
- [MongoDB examples](https://github.com/runtimeconditions/sdk-authorship-discovery/tree/main/mongodb): `mongodb`
- [Transactional transfer](https://github.com/runtimeconditions/sdk-authorship-discovery/blob/main/mongodb/python/transaction/app.py): `mongodb/python/transaction/app.py`
- [NATS applications](https://github.com/runtimeconditions/sdk-authorship-discovery/tree/main/nats): `nats`
- [NATS complete service](https://github.com/runtimeconditions/sdk-authorship-discovery/blob/main/nats/go/complete-service/main.go): `nats/go/complete-service/main.go`
- [NATS complete service](https://github.com/runtimeconditions/sdk-authorship-discovery/blob/main/nats/python/complete-service/app.py): `nats/python/complete-service/app.py`

### Mapping authorship

- [AWS mapping proof](https://github.com/runtimeconditions/sdk-authorship-discovery/tree/main/authorship/aws-python): `authorship/aws-python`
- [Kubernetes Python proof](https://github.com/runtimeconditions/sdk-authorship-discovery/tree/main/authorship/kubernetes-python): `authorship/kubernetes-python`
- [Kubernetes Go generator](https://github.com/runtimeconditions/sdk-authorship-discovery/tree/main/authorship/kubernetes-go-mapping-generator): `authorship/kubernetes-go-mapping-generator`
- [Kubernetes Go observer](https://github.com/runtimeconditions/sdk-authorship-discovery/blob/main/authorship/kubernetes-go-envtest-demo/main.go): `authorship/kubernetes-go-envtest-demo/main.go`
- [Go verification runner](https://github.com/runtimeconditions/sdk-authorship-discovery/tree/main/authorship/kubernetes-go-verification-runner): `authorship/kubernetes-go-verification-runner`
- [NATS mapping proofs](https://github.com/runtimeconditions/sdk-authorship-discovery/tree/main/authorship/nats-go): `authorship/nats-go`
- [Boto3 checkpoint](https://github.com/runtimeconditions/sdk-authorship-discovery/tree/main/authorship/boto3): `authorship/boto3`
- [MongoDB study](https://github.com/runtimeconditions/sdk-authorship-discovery/tree/main/authorship/mongodb): `authorship/mongodb`

### Mapping maintenance

- [AWS release maintenance](https://github.com/runtimeconditions/sdk-authorship-discovery/tree/main/maintenance/aws-python-s3): `maintenance/aws-python-s3`

### Mapping workflow

- [Explicit mapping resolution](https://github.com/runtimeconditions/sdk-authorship-discovery/blob/main/docs/planned-mapping-user-experience.md): `docs/planned-mapping-user-experience.md`
- [Profile generation](https://github.com/runtimeconditions/sdk-authorship-discovery/blob/main/docs/planned-mapping-user-experience.md): `docs/planned-mapping-user-experience.md`

### Other components

- **Service owners**
- **SDK authors**
- **NATS service**
- **Kubernetes API**
- **MongoDB server**
- **Amazon S3**

## Connections

- Service owners → Explicit mapping resolution: resolve mappings (evidence: `README.md`)
- SDK authors → AWS mapping proof: author mappings (evidence: `README.md`)
- SDK authors → Kubernetes Python proof: author mappings (evidence: `README.md`)
- Explicit mapping resolution → Profile generation: generates profiles (evidence: `README.md`)
- S3 applications → AWS mapping proof: provide fixtures (evidence: `README.md`)
- Kubernetes applications → Kubernetes Python proof: profile unchanged apps (evidence: `README.md`)
- Kubernetes applications → Kubernetes API: use SDK (evidence: `README.md`)
- Kubernetes Go generator → Kubernetes API: joins OpenAPI (evidence: `authorship/kubernetes-go-mapping-generator/main.go`)
- Kubernetes Go observer → Kubernetes API: observes requests (evidence: `authorship/kubernetes-go-envtest-demo/main.go`)
- Go verification runner → Kubernetes Go generator: verifies or discovers
- MongoDB examples → Transactional transfer: includes paired cases (evidence: `README.md`)
- Transactional transfer → MongoDB server: executes transaction
- MongoDB study → MongoDB examples: studies patterns (evidence: `README.md`)
- NATS applications → NATS service: connect SDK clients
- NATS complete service → NATS service: publishes and manages
- NATS complete service → NATS service: publishes and manages
- NATS mapping proofs → NATS applications: maps SDK patterns (evidence: `README.md`)
- Session upload → Session settings: reads service name (evidence: `s3/python/session-client/src/s3_session_client/storage.py`)
- Session upload → Amazon S3: uploads object
- Injected S3 writer → Amazon S3: writes object
- Dynamic service upload → Amazon S3: writes object
- AWS mapping proof → AWS release maintenance: supports upkeep (evidence: `README.md`)
- Boto3 checkpoint → AWS mapping proof: records ownership flaw (evidence: `README.md`)
