Pack: instance-health
Watches the instance itself (doctor, source freshness, failed ingests, automation error rates, eval trends) and keeps one issue per problem in the instance repository.
| Field | Value |
|---|---|
| Kind | automation |
| Version | 0.1.0 |
| Needs a credential to publish | no |
| Okg modules it needs | none |
| Packs it needs | ops-record |
In which bundles
- Default in: none
- Optional in: none
Add it to an instance with archi add instance-health.
Sources
This pack has no sources.
Questions
This pack asks no questions.
Credentials
The manifest names no credential variable.
Freshness limits
The pack declares no freshness limit.
Invariants
The pack declares no invariant.
Playbooks
health.md
Live tools
archi.tools.instance_health:sync_forge_issues(idempotent)
Automation
| Field | Value |
|---|---|
| Trigger | type = schedule, cron = 7 * * * * |
| Context gate | published = True |
| Playbook | health.md |
| Budget | cost_per_run = 0.01, cost_per_day = 1, runs_per_hour = 2 |
| Level it starts at | L1 |
| Highest level the pack allows | L2 |
The instance sets the level in archi.yaml. A bundle can lower the upper bound but not raise it. Every automation starts in shadow mode.
Action classes
| Id | Mediator | Reversible | Highest level | Blast radius |
|---|---|---|---|---|
draft_issue |
draft_issue |
yes | L1 |
Files under .archi/issues/ in the instance repository and one commit there; nothing outside it. |
sync_forge_issues |
archi.tools.instance_health:sync_forge_issues |
yes | L2 |
Issues labelled archi-health on one GitLab or GitHub project; each is found by its key and can be closed again. |