Skip to main content
Version: 0.2 (next)

Architecture refresh

Namearchitecture-refresh
Enabled by defaultNo
Steps1
Runs at onceup to 1
Catalogv0.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.

#StepTypeRunsRequiredOn failureAttempts
1refreshAgentRoleArchitecture model refreshNoDead-letter to a human1

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.