Architecture refresh
| Name | architecture-refresh |
| Enabled by default | No |
| Steps | 1 |
| Runs at once | up to 1 |
| Catalog | v0.51.0 |
What it does
Keeps each Product's architecture model current (infrared-docs-internal ADR 0072): once a day the architect sweeps every view that is drifted or missing, so a day of pushes costs one run, not one a push. The views are LikeC4 files under docs/architecture/ in the Product's first repo, in a pull request a person reviews and merges. The facts the model starts from need no run: Infrared computes them on request. The workflow ships disabled with a weekly budget of its own: every run spends model tokens, so an org enables it when it wants its models kept.
When it runs
- On a schedule,
0 6 * * *. Daily at 06:00 in the org's time zone, a sweep of every drifted or missing view.
Steps
Rounded steps are human gates, slanted steps are promotions, and double-edged steps run automatically.
| # | Step | Type | Runs | Required | On failure | Attempts |
|---|---|---|---|---|---|---|
| 1 | refresh | AgentRole | Architecture model refresh | No | Dead-letter to a human | 1 |
1. refresh
Rewrites the drifted or missing views under docs/architecture/, each element cited by commit, and opens the pull request.
Skipped when its AgentRole is switched off.
When it hands off to a human
Work an agent cannot finish is dead-lettered to @platform/architects. The AgentWorkflowRun shows the step as DeadLettered until a human picks it up.