Skip to content

Add CodeBoarding architecture analysis - #1

Open
rfranr wants to merge 1 commit into
mainfrom
codeboarding/setup-action
Open

rfranr wants to merge 1 commit into
mainfrom
codeboarding/setup-action

Conversation

@rfranr

@rfranr rfranr commented Nov 9, 2026 •

Copy link
Copy Markdown
Owner

Preview first, merge when ready

View your map · Configure & merge

The preview runs on this pull request. Merge the workflow to keep maps updated. Settings can be changed in this same pull request before merging.

This PR adds CodeBoarding in one workflow file, codeboarding.yml, with two jobs:

  • review keeps an architecture-diff comment current on pull requests and publishes their diagrams for the viewer.
  • sync saves the diagram of main on pushes and manual runs.

Sync delivery

Sync saves the generated diagram on its own codeboarding/baseline branch in this repository; main never changes and there is nothing to merge.

Protect codeboarding/baseline

Sync and review load a Python pickle from that branch, and loading a pickle runs code, so anyone
who can push to it can run code in these workflows. Import a ruleset under Settings, Rules,
Rulesets, New ruleset, Import a ruleset, before the first sync:

  • baseline-branch-ruleset-actions.json fits this workflow
    as generated, which pushes with the default github.token. It stops people pushing by hand,
    but any workflow with contents: write can still write the branch.
  • baseline-branch-ruleset.json lets only the CodeBoarding Review app
    write it. Use it when sync pushes with the app's token as github_token.

More in the baseline branch. Rulesets on a private
repository need a paid GitHub plan.

Works out of the box

Just merge it: the Action runs on the free tier, with no secret to add. The
id-token: write permission lets it identify your repo to CodeBoarding’s hosted LLM,
metered against a weekly limit for the repository owner.

Want more, or unmetered, usage?

Switching is a change to this workflow file rather than a secret you add, because the
file names which credentials a run uses. Use Configure & merge in the viewer to pick:

  • a CodeBoarding plan (unmetered, and raises the analysis-depth ceiling from 3 to 10), or
  • your own provider key: OpenRouter, Anthropic, OpenAI, Google, AWS Bedrock and
    others.

Before merging, this updates the same setup pull request and tells you which secret to
add under Settings → Secrets and variables → Actions.
After merging, use repository settings in the dashboard to open an update PR.

Opened for you by CodeBoarding.

@github-actions

github-actions Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

CodeBoarding review

Status: 0 changed components (no analysed file changed)

See the full change in CodeBoarding.

graph LR
    n_Application_Use_Cases["Application Use Cases"]
    n_Storage_and_Embedding_Infrastructure["Storage and Embedding Infrastructure"]
    n_Shared_Processing_Utilities["Shared Processing Utilities"]
    n_CLI_and_Application_Orchestration["CLI and Application Orchestration"]
    n_Domain_Models_and_Ports["Domain Models and Ports"]
    n_Application_Use_Cases -- "queries stores and embeddings" --> n_Storage_and_Embedding_Infrastructure
    n_Application_Use_Cases -- "chunks text and tracks progress" --> n_Shared_Processing_Utilities
    n_Application_Use_Cases -- "depends on domain ports" --> n_Domain_Models_and_Ports
    n_Storage_and_Embedding_Infrastructure -- "calculates similarity and validates metadata" --> n_Shared_Processing_Utilities
    n_CLI_and_Application_Orchestration -- "orchestrates application use cases" --> n_Application_Use_Cases
    n_CLI_and_Application_Orchestration -- "initializes and manages infrastructure" --> n_Storage_and_Embedding_Infrastructure
    n_CLI_and_Application_Orchestration -- "creates progress reporters" --> n_Shared_Processing_Utilities
    classDef added fill:#1f883d,stroke:#0b5d23,color:#ffffff;
    classDef modified fill:#bf8700,stroke:#7d4e00,color:#ffffff;
    classDef deleted fill:#cf222e,stroke:#82071e,color:#ffffff,stroke-dasharray:5 3;
Loading

download artifacts · run 42577543870

@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown

@rfranr your CodeBoarding map of main is ready.

Open it in CodeBoarding

This is a preview. Merge this PR to keep the map up to date and review every pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant