@trohde/earos 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +156 -0
- package/assets/init/.agents/skills/earos-artifact-gen/SKILL.md +106 -0
- package/assets/init/.agents/skills/earos-artifact-gen/references/interview-guide.md +313 -0
- package/assets/init/.agents/skills/earos-artifact-gen/references/output-guide.md +367 -0
- package/assets/init/.agents/skills/earos-assess/SKILL.md +212 -0
- package/assets/init/.agents/skills/earos-assess/references/calibration-benchmarks.md +160 -0
- package/assets/init/.agents/skills/earos-assess/references/output-templates.md +311 -0
- package/assets/init/.agents/skills/earos-assess/references/scoring-protocol.md +281 -0
- package/assets/init/.agents/skills/earos-calibrate/SKILL.md +153 -0
- package/assets/init/.agents/skills/earos-calibrate/references/agreement-metrics.md +188 -0
- package/assets/init/.agents/skills/earos-calibrate/references/calibration-protocol.md +263 -0
- package/assets/init/.agents/skills/earos-create/SKILL.md +257 -0
- package/assets/init/.agents/skills/earos-create/references/criterion-writing-guide.md +268 -0
- package/assets/init/.agents/skills/earos-create/references/dependency-rules.md +193 -0
- package/assets/init/.agents/skills/earos-create/references/rubric-interview-guide.md +123 -0
- package/assets/init/.agents/skills/earos-create/references/validation-checklist.md +238 -0
- package/assets/init/.agents/skills/earos-profile-author/SKILL.md +251 -0
- package/assets/init/.agents/skills/earos-profile-author/references/criterion-writing-guide.md +280 -0
- package/assets/init/.agents/skills/earos-profile-author/references/design-methods.md +158 -0
- package/assets/init/.agents/skills/earos-profile-author/references/profile-checklist.md +173 -0
- package/assets/init/.agents/skills/earos-remediate/SKILL.md +118 -0
- package/assets/init/.agents/skills/earos-remediate/references/output-template.md +199 -0
- package/assets/init/.agents/skills/earos-remediate/references/remediation-patterns.md +330 -0
- package/assets/init/.agents/skills/earos-report/SKILL.md +85 -0
- package/assets/init/.agents/skills/earos-report/references/portfolio-template.md +181 -0
- package/assets/init/.agents/skills/earos-report/references/single-artifact-template.md +168 -0
- package/assets/init/.agents/skills/earos-review/SKILL.md +130 -0
- package/assets/init/.agents/skills/earos-review/references/challenge-patterns.md +163 -0
- package/assets/init/.agents/skills/earos-review/references/output-template.md +180 -0
- package/assets/init/.agents/skills/earos-template-fill/SKILL.md +177 -0
- package/assets/init/.agents/skills/earos-template-fill/references/evidence-writing-guide.md +186 -0
- package/assets/init/.agents/skills/earos-template-fill/references/section-rubric-mapping.md +200 -0
- package/assets/init/.agents/skills/earos-validate/SKILL.md +113 -0
- package/assets/init/.agents/skills/earos-validate/references/fix-patterns.md +281 -0
- package/assets/init/.agents/skills/earos-validate/references/validation-checks.md +287 -0
- package/assets/init/.claude/CLAUDE.md +4 -0
- package/assets/init/AGENTS.md +293 -0
- package/assets/init/CLAUDE.md +635 -0
- package/assets/init/README.md +507 -0
- package/assets/init/calibration/gold-set/.gitkeep +0 -0
- package/assets/init/calibration/results/.gitkeep +0 -0
- package/assets/init/core/core-meta-rubric.yaml +643 -0
- package/assets/init/docs/consistency-report.md +325 -0
- package/assets/init/docs/getting-started.md +194 -0
- package/assets/init/docs/profile-authoring-guide.md +51 -0
- package/assets/init/docs/terminology.md +126 -0
- package/assets/init/earos.manifest.yaml +104 -0
- package/assets/init/evaluations/.gitkeep +0 -0
- package/assets/init/examples/aws-event-driven-order-processing/artifact.yaml +2056 -0
- package/assets/init/examples/aws-event-driven-order-processing/evaluation.yaml +973 -0
- package/assets/init/examples/aws-event-driven-order-processing/report.md +244 -0
- package/assets/init/examples/example-solution-architecture.evaluation.yaml +136 -0
- package/assets/init/examples/multi-cloud-data-analytics/artifact.yaml +715 -0
- package/assets/init/overlays/data-governance.yaml +94 -0
- package/assets/init/overlays/regulatory.yaml +154 -0
- package/assets/init/overlays/security.yaml +92 -0
- package/assets/init/profiles/adr.yaml +225 -0
- package/assets/init/profiles/capability-map.yaml +223 -0
- package/assets/init/profiles/reference-architecture.yaml +426 -0
- package/assets/init/profiles/roadmap.yaml +205 -0
- package/assets/init/profiles/solution-architecture.yaml +227 -0
- package/assets/init/research/architecture-assessment-rubrics-research.docx +0 -0
- package/assets/init/research/architecture-assessment-rubrics-research.md +566 -0
- package/assets/init/research/reference-architecture-research.md +751 -0
- package/assets/init/standard/EAROS.md +1426 -0
- package/assets/init/standard/schemas/artifact.schema.json +1295 -0
- package/assets/init/standard/schemas/artifact.uischema.json +65 -0
- package/assets/init/standard/schemas/evaluation.schema.json +284 -0
- package/assets/init/standard/schemas/rubric.schema.json +383 -0
- package/assets/init/templates/evaluation-record.template.yaml +58 -0
- package/assets/init/templates/new-profile.template.yaml +65 -0
- package/bin.js +188 -0
- package/dist/assets/_basePickBy-BVu6YmSW.js +1 -0
- package/dist/assets/_baseUniq-CWRzQDz_.js +1 -0
- package/dist/assets/arc-CyDBhtDM.js +1 -0
- package/dist/assets/architectureDiagram-2XIMDMQ5-BH6O4dvN.js +36 -0
- package/dist/assets/blockDiagram-WCTKOSBZ-2xmwdjpg.js +132 -0
- package/dist/assets/c4Diagram-IC4MRINW-BNmPRFJF.js +10 -0
- package/dist/assets/channel-CiySTNoJ.js +1 -0
- package/dist/assets/chunk-4BX2VUAB-DGQTvirp.js +1 -0
- package/dist/assets/chunk-55IACEB6-DNMAQAC_.js +1 -0
- package/dist/assets/chunk-FMBD7UC4-BJbVTQ5o.js +15 -0
- package/dist/assets/chunk-JSJVCQXG-BCxUL74A.js +1 -0
- package/dist/assets/chunk-KX2RTZJC-H7wWZOfz.js +1 -0
- package/dist/assets/chunk-NQ4KR5QH-BK4RlTQF.js +220 -0
- package/dist/assets/chunk-QZHKN3VN-0chxDV5g.js +1 -0
- package/dist/assets/chunk-WL4C6EOR-DexfQ-AV.js +189 -0
- package/dist/assets/classDiagram-VBA2DB6C-D7luWJQn.js +1 -0
- package/dist/assets/classDiagram-v2-RAHNMMFH-D7luWJQn.js +1 -0
- package/dist/assets/clone-ylgRbd3D.js +1 -0
- package/dist/assets/cose-bilkent-S5V4N54A-DS2IOCfZ.js +1 -0
- package/dist/assets/cytoscape.esm-CyJtwmzi.js +331 -0
- package/dist/assets/dagre-KLK3FWXG-BbSoTTa3.js +4 -0
- package/dist/assets/defaultLocale-DX6XiGOO.js +1 -0
- package/dist/assets/diagram-E7M64L7V-C9TvYgv0.js +24 -0
- package/dist/assets/diagram-IFDJBPK2-DowUMWrg.js +43 -0
- package/dist/assets/diagram-P4PSJMXO-BL6nrnQF.js +24 -0
- package/dist/assets/erDiagram-INFDFZHY-rXPRl8VM.js +70 -0
- package/dist/assets/flowDiagram-PKNHOUZH-DBRM99-W.js +162 -0
- package/dist/assets/ganttDiagram-A5KZAMGK-INcWFsBT.js +292 -0
- package/dist/assets/gitGraphDiagram-K3NZZRJ6-DMwpfE91.js +65 -0
- package/dist/assets/graph-DLQn37b-.js +1 -0
- package/dist/assets/index-BFFITMT8.js +650 -0
- package/dist/assets/index-H7f6VTz1.css +1 -0
- package/dist/assets/infoDiagram-LFFYTUFH-B0f4TWRM.js +2 -0
- package/dist/assets/init-Gi6I4Gst.js +1 -0
- package/dist/assets/ishikawaDiagram-PHBUUO56-CsU6XimZ.js +70 -0
- package/dist/assets/journeyDiagram-4ABVD52K-CQ7ibNib.js +139 -0
- package/dist/assets/kanban-definition-K7BYSVSG-DzEN7THt.js +89 -0
- package/dist/assets/katex-B1X10hvy.js +261 -0
- package/dist/assets/layout-C0dvb42R.js +1 -0
- package/dist/assets/linear-j4a8mGj7.js +1 -0
- package/dist/assets/mindmap-definition-YRQLILUH-DP8iEuCf.js +68 -0
- package/dist/assets/ordinal-Cboi1Yqb.js +1 -0
- package/dist/assets/pieDiagram-SKSYHLDU-BpIAXgAm.js +30 -0
- package/dist/assets/quadrantDiagram-337W2JSQ-DrpXn5Eg.js +7 -0
- package/dist/assets/requirementDiagram-Z7DCOOCP-Bg7EwHlG.js +73 -0
- package/dist/assets/sankeyDiagram-WA2Y5GQK-BWagRs1F.js +10 -0
- package/dist/assets/sequenceDiagram-2WXFIKYE-q5jwhivG.js +145 -0
- package/dist/assets/stateDiagram-RAJIS63D-B_J9pE-2.js +1 -0
- package/dist/assets/stateDiagram-v2-FVOUBMTO-Q_1GcybB.js +1 -0
- package/dist/assets/timeline-definition-YZTLITO2-dv0jgQ0z.js +61 -0
- package/dist/assets/treemap-KZPCXAKY-Dt1dkIE7.js +162 -0
- package/dist/assets/vennDiagram-LZ73GAT5-BdO5RgRZ.js +34 -0
- package/dist/assets/xychartDiagram-JWTSCODW-CpDVe-8v.js +7 -0
- package/dist/index.html +23 -0
- package/export-docx.js +1583 -0
- package/init.js +353 -0
- package/manifest-cli.mjs +207 -0
- package/package.json +83 -0
- package/schemas/artifact.schema.json +1295 -0
- package/schemas/artifact.uischema.json +65 -0
- package/schemas/evaluation.schema.json +284 -0
- package/schemas/rubric.schema.json +383 -0
- package/serve.js +238 -0
|
@@ -0,0 +1,293 @@
|
|
|
1
|
+
# AGENTS.md — EAROS Project Guide
|
|
2
|
+
|
|
3
|
+
**Enterprise Architecture Rubric Operational Standard · Version 2.0**
|
|
4
|
+
|
|
5
|
+
This file tells AI coding agents how to work effectively in this project.
|
|
6
|
+
|
|
7
|
+
> **Greenfield project.** There are no published prior versions. Do not worry about backward compatibility — optimize for clarity and consistency over preserving legacy conventions.
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## 1. Project Overview
|
|
12
|
+
|
|
13
|
+
EAROS is a structured, extensible framework for evaluating enterprise architecture artifacts. It makes architecture review consistent, explainable, and automatable — for both human reviewers and AI agents.
|
|
14
|
+
|
|
15
|
+
**The core problem it solves:** Architecture artifacts (solution designs, ADRs, capability maps, reference architectures, roadmaps) are evaluated constantly but rarely consistently. Different reviewers apply different mental models; AI assessments hallucinate quality. EAROS codifies evaluation criteria into governed, machine-readable rubrics with precise level descriptors, mandatory evidence requirements, and unambiguous pass/fail gates.
|
|
16
|
+
|
|
17
|
+
**Analogy:** EAROS is to architecture review what a marking rubric is to an exam — criteria explicit, scoring reproducible, feedback actionable.
|
|
18
|
+
|
|
19
|
+
### The Three-Layer Model
|
|
20
|
+
|
|
21
|
+
```
|
|
22
|
+
┌──────────────────────────────────────────────────────────┐
|
|
23
|
+
│ OVERLAYS (cross-cutting concerns) │
|
|
24
|
+
│ security · data-governance · regulatory │
|
|
25
|
+
├──────────────────────────────────────────────────────────┤
|
|
26
|
+
│ PROFILES (artifact-specific extensions) │
|
|
27
|
+
│ solution-architecture · reference-architecture · adr │
|
|
28
|
+
│ capability-map · roadmap │
|
|
29
|
+
├──────────────────────────────────────────────────────────┤
|
|
30
|
+
│ CORE (universal foundation — all artifacts) │
|
|
31
|
+
│ core-meta-rubric.yaml (EAROS-CORE-002) │
|
|
32
|
+
│ 9 dimensions · 0–4 ordinal scale · gate model │
|
|
33
|
+
└──────────────────────────────────────────────────────────┘
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
- **Core** (`core/core-meta-rubric.yaml`, `rubric_id: EAROS-CORE-002`) defines 9 universal dimensions with 10 criteria that apply to every architecture artifact. Always evaluated.
|
|
37
|
+
- **Profiles** (`profiles/`) extend the core for specific artifact types. Each profile `inherits: [EAROS-CORE-002]`.
|
|
38
|
+
- **Overlays** (`overlays/`) inject cross-cutting concerns (security, data governance, regulatory) on top of any core+profile combination. Applied by context, not by artifact type.
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
## 2. Key Concepts
|
|
43
|
+
|
|
44
|
+
### 2.1 Scoring Model — 0–4 Ordinal + N/A
|
|
45
|
+
|
|
46
|
+
| Score | Label | Meaning |
|
|
47
|
+
|-------|-------|---------|
|
|
48
|
+
| 4 | Strong | Fully addressed, well evidenced, internally consistent, decision-ready |
|
|
49
|
+
| 3 | Good | Clearly addressed with adequate evidence and only minor gaps |
|
|
50
|
+
| 2 | Partial | Explicitly addressed but coverage incomplete, inconsistent, or weakly evidenced |
|
|
51
|
+
| 1 | Weak | Acknowledged or implied, but inadequate for decision support |
|
|
52
|
+
| 0 | Absent | No meaningful evidence, or evidence directly contradicts the criterion |
|
|
53
|
+
| N/A | Not applicable | Criterion genuinely does not apply in this scope/context |
|
|
54
|
+
|
|
55
|
+
**N/A policy:** Exclude N/A criteria from the denominator. Every N/A must be justified in the narrative.
|
|
56
|
+
|
|
57
|
+
**Confidence policy:** Confidence (`high` / `medium` / `low`) is reported separately from the score. It must NOT mathematically modify the score.
|
|
58
|
+
|
|
59
|
+
### 2.2 Gate Types
|
|
60
|
+
|
|
61
|
+
| Gate Type | Effect |
|
|
62
|
+
|-----------|--------|
|
|
63
|
+
| `none` | Contributes to score only; no gate logic |
|
|
64
|
+
| `advisory` | Weak performance triggers a recommendation |
|
|
65
|
+
| `major` | Significant weakness may cap the status |
|
|
66
|
+
| `critical` | Failure blocks pass status entirely; triggers `reject` |
|
|
67
|
+
|
|
68
|
+
### 2.3 Status Model
|
|
69
|
+
|
|
70
|
+
Evaluate gates first, then compute the weighted average.
|
|
71
|
+
|
|
72
|
+
| Status | Threshold |
|
|
73
|
+
|--------|-----------|
|
|
74
|
+
| **Pass** | No critical gate failure + overall ≥ 3.2 + no dimension < 2.0 |
|
|
75
|
+
| **Conditional Pass** | No critical gate failure + overall 2.4–3.19 |
|
|
76
|
+
| **Rework Required** | Overall < 2.4, or repeated weak dimensions, or insufficient evidence |
|
|
77
|
+
| **Reject** | Any critical gate failure, or mandatory control breach |
|
|
78
|
+
| **Not Reviewable** | Evidence too incomplete to score responsibly |
|
|
79
|
+
|
|
80
|
+
### 2.4 Evidence Classes
|
|
81
|
+
|
|
82
|
+
| Class | Meaning |
|
|
83
|
+
|-------|---------|
|
|
84
|
+
| `observed` | Directly supported by a quote or excerpt from the artifact |
|
|
85
|
+
| `inferred` | Reasonable interpretation not directly stated |
|
|
86
|
+
| `external` | Judgment based on a standard, policy, or source outside the artifact |
|
|
87
|
+
|
|
88
|
+
### 2.5 The Three Evaluation Types (Never Collapse)
|
|
89
|
+
|
|
90
|
+
1. **Artifact quality** — Is the artifact complete, coherent, clear, traceable, and fit for its stated purpose?
|
|
91
|
+
2. **Architectural fitness** — Does the described architecture appear sound relative to business drivers, quality attributes, risks, and tradeoffs?
|
|
92
|
+
3. **Governance fit** — Does the artifact/design comply with mandatory principles, standards, controls, and review expectations?
|
|
93
|
+
|
|
94
|
+
### 2.6 DAG Evaluation Flow (Agent Mode)
|
|
95
|
+
|
|
96
|
+
```
|
|
97
|
+
structural_validation
|
|
98
|
+
→ content_extraction
|
|
99
|
+
→ criterion_scoring
|
|
100
|
+
→ cross_reference_validation
|
|
101
|
+
→ dimension_aggregation
|
|
102
|
+
→ challenge_pass
|
|
103
|
+
→ calibration
|
|
104
|
+
→ status_determination
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
**RULERS protocol** (evidence-anchored scoring): For each criterion, extract a direct quote or reference from the artifact before assigning a score. If no evidence can be found, record N/A and explain — never score from impression alone.
|
|
108
|
+
|
|
109
|
+
---
|
|
110
|
+
|
|
111
|
+
## 3. Project Structure
|
|
112
|
+
|
|
113
|
+
```
|
|
114
|
+
<workspace>/
|
|
115
|
+
├── CLAUDE.md Full project guide (Claude Code reads this)
|
|
116
|
+
├── AGENTS.md Agent-agnostic project guide (this file)
|
|
117
|
+
├── README.md
|
|
118
|
+
├── earos.manifest.yaml Inventory of all EAROS rubric files
|
|
119
|
+
├── core/
|
|
120
|
+
│ └── core-meta-rubric.yaml Universal foundation (EAROS-CORE-002)
|
|
121
|
+
├── profiles/ Artifact-type extensions
|
|
122
|
+
│ ├── solution-architecture.yaml
|
|
123
|
+
│ ├── reference-architecture.yaml
|
|
124
|
+
│ ├── adr.yaml
|
|
125
|
+
│ ├── capability-map.yaml
|
|
126
|
+
│ └── roadmap.yaml
|
|
127
|
+
├── overlays/ Cross-cutting injectors
|
|
128
|
+
│ ├── security.yaml
|
|
129
|
+
│ ├── data-governance.yaml
|
|
130
|
+
│ └── regulatory.yaml
|
|
131
|
+
├── standard/
|
|
132
|
+
│ ├── EAROS.md The full EAROS standard document
|
|
133
|
+
│ └── schemas/ JSON Schemas for validation
|
|
134
|
+
│ ├── rubric.schema.json
|
|
135
|
+
│ ├── evaluation.schema.json
|
|
136
|
+
│ └── artifact.schema.json
|
|
137
|
+
├── templates/ Blank templates
|
|
138
|
+
├── examples/ Worked evaluation examples
|
|
139
|
+
├── docs/ Documentation (getting-started, profile guide)
|
|
140
|
+
├── research/ Research underpinning the standard
|
|
141
|
+
├── evaluations/ Your evaluation records go here
|
|
142
|
+
├── calibration/ Calibration artifacts and results
|
|
143
|
+
│ ├── gold-set/
|
|
144
|
+
│ └── results/
|
|
145
|
+
└── .agents/skills/ Agent skills for EAROS workflows
|
|
146
|
+
├── earos-assess/
|
|
147
|
+
├── earos-review/
|
|
148
|
+
├── earos-template-fill/
|
|
149
|
+
├── earos-artifact-gen/
|
|
150
|
+
├── earos-create/
|
|
151
|
+
├── earos-profile-author/
|
|
152
|
+
├── earos-calibrate/
|
|
153
|
+
├── earos-report/
|
|
154
|
+
├── earos-validate/
|
|
155
|
+
└── earos-remediate/
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
---
|
|
159
|
+
|
|
160
|
+
## 4. EAROS CLI Usage
|
|
161
|
+
|
|
162
|
+
```bash
|
|
163
|
+
earos # Open the web editor
|
|
164
|
+
earos validate <file> # Validate a rubric/evaluation/artifact YAML
|
|
165
|
+
earos manifest # Regenerate the manifest
|
|
166
|
+
earos manifest add <path> # Add a single file to the manifest
|
|
167
|
+
earos manifest check # Verify manifest matches filesystem
|
|
168
|
+
earos init <dir> # Scaffold a new EAROS workspace
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
After creating a new rubric, always run `earos manifest add <path>` to register it in `earos.manifest.yaml`.
|
|
172
|
+
|
|
173
|
+
---
|
|
174
|
+
|
|
175
|
+
## 5. Agent Skills in `.agents/skills/`
|
|
176
|
+
|
|
177
|
+
Each skill is a self-contained directory with a `SKILL.md` that provides instructions for AI agents. Skills read the actual YAML rubric files at runtime — they do not embed rubric content — so they always use the latest rubric version.
|
|
178
|
+
|
|
179
|
+
| Skill | Purpose |
|
|
180
|
+
|-------|---------|
|
|
181
|
+
| `earos-assess` | Run a full EAROS evaluation on any architecture artifact (8-step DAG, RULERS protocol) |
|
|
182
|
+
| `earos-review` | Challenge an existing evaluation record — check for over-scoring and unsupported claims |
|
|
183
|
+
| `earos-template-fill` | Guide an artifact author through writing an assessment-ready document |
|
|
184
|
+
| `earos-artifact-gen` | Guided interview → produces a schema-compliant artifact YAML document |
|
|
185
|
+
| `earos-create` | Create a new rubric from scratch — profile, overlay, or core rubric |
|
|
186
|
+
| `earos-profile-author` | Technical YAML authoring guide — v2 field structure, schema compliance |
|
|
187
|
+
| `earos-calibrate` | Run calibration exercises and compute inter-rater reliability metrics |
|
|
188
|
+
| `earos-report` | Generate executive reports and portfolio dashboards from evaluation records |
|
|
189
|
+
| `earos-validate` | Health-check the repository — schema validation, ID uniqueness, cross-reference checks |
|
|
190
|
+
| `earos-remediate` | Generate a prioritized improvement plan from an EAROS evaluation record |
|
|
191
|
+
|
|
192
|
+
### When to use which skill
|
|
193
|
+
|
|
194
|
+
| Task | Skill |
|
|
195
|
+
|------|-------|
|
|
196
|
+
| Assess an architecture artifact | `earos-assess` |
|
|
197
|
+
| Challenge or audit an existing evaluation | `earos-review` |
|
|
198
|
+
| Help write an artifact that will pass EAROS | `earos-template-fill` |
|
|
199
|
+
| Create a new architecture artifact through guided interview | `earos-artifact-gen` |
|
|
200
|
+
| Create a new rubric from scratch | `earos-create` |
|
|
201
|
+
| Get YAML structure help for an existing rubric design | `earos-profile-author` |
|
|
202
|
+
| Calibrate a rubric against gold-standard examples | `earos-calibrate` |
|
|
203
|
+
| Generate an executive report from evaluations | `earos-report` |
|
|
204
|
+
| Check the repo for schema errors and inconsistencies | `earos-validate` |
|
|
205
|
+
| Get a prioritized fix list from an evaluation record | `earos-remediate` |
|
|
206
|
+
|
|
207
|
+
---
|
|
208
|
+
|
|
209
|
+
## 6. How to Perform an Assessment
|
|
210
|
+
|
|
211
|
+
### Human Mode
|
|
212
|
+
|
|
213
|
+
1. Identify artifact type → select core + matching profile + applicable overlays
|
|
214
|
+
2. Score each criterion 0–4 using the `scoring_guide` level descriptors
|
|
215
|
+
3. Record the evidence: quote or reference for each score (observed / inferred / external)
|
|
216
|
+
4. Check gates — any critical gate failure → Reject immediately; do not compute average
|
|
217
|
+
5. Compute weighted dimension average → apply status thresholds
|
|
218
|
+
6. Record the evaluation in an output file conforming to `evaluation.schema.json`
|
|
219
|
+
|
|
220
|
+
### Agent Mode
|
|
221
|
+
|
|
222
|
+
Minimal prompt pattern:
|
|
223
|
+
```
|
|
224
|
+
You are an architecture quality assessor. Apply the EAROS rubric defined in
|
|
225
|
+
[rubric YAML] to the artifact below. For each criterion:
|
|
226
|
+
1. Extract the relevant evidence (direct quote or reference) — RULERS protocol
|
|
227
|
+
2. Score 0–4 against the level descriptors in scoring_guide
|
|
228
|
+
3. If you cannot find evidence, score N/A and explain why
|
|
229
|
+
4. Flag any gate criteria that fail
|
|
230
|
+
5. Classify evidence as observed / inferred / external
|
|
231
|
+
6. Report confidence (high/medium/low) separately from the score
|
|
232
|
+
Produce output conforming to evaluation.schema.json.
|
|
233
|
+
|
|
234
|
+
<artifact>
|
|
235
|
+
[artifact content]
|
|
236
|
+
</artifact>
|
|
237
|
+
```
|
|
238
|
+
|
|
239
|
+
Follow the DAG exactly:
|
|
240
|
+
`structural_validation → content_extraction → criterion_scoring → cross_reference_validation → dimension_aggregation → challenge_pass → calibration → status_determination`
|
|
241
|
+
|
|
242
|
+
Do not skip `challenge_pass` — this step has a second agent challenge the primary evaluator's scores.
|
|
243
|
+
|
|
244
|
+
---
|
|
245
|
+
|
|
246
|
+
## 7. File Naming Conventions
|
|
247
|
+
|
|
248
|
+
| File type | Pattern | Example |
|
|
249
|
+
|-----------|---------|---------|
|
|
250
|
+
| Rubric definitions (core, profiles, overlays) | `<name>.yaml` | `reference-architecture.yaml` |
|
|
251
|
+
| Evaluation records | `<name>.evaluation.yaml` | `payments-api.evaluation.yaml` |
|
|
252
|
+
| Templates | `<name>.template.yaml` | `evaluation-record.template.yaml` |
|
|
253
|
+
| JSON schemas | `<name>.schema.json` | `rubric.schema.json` |
|
|
254
|
+
|
|
255
|
+
- Kebab-case throughout; no spaces in filenames
|
|
256
|
+
- Version tracked inside the file (`version: 2.0.0`), never in the filename
|
|
257
|
+
|
|
258
|
+
---
|
|
259
|
+
|
|
260
|
+
## 8. Important Rules
|
|
261
|
+
|
|
262
|
+
1. **Never collapse the three evaluation types.** Artifact quality, architectural fitness, and governance fit are distinct judgments. Never merge them into a single opaque score.
|
|
263
|
+
|
|
264
|
+
2. **Gates before averages.** Always check gates before computing a weighted average. A single critical gate failure = Reject, no matter how high the average.
|
|
265
|
+
|
|
266
|
+
3. **Evidence first.** Every score requires a cited excerpt or reference. "Evidence: section 3 states X" is valid. "The artifact seems to address this" is not. Use RULERS anchoring.
|
|
267
|
+
|
|
268
|
+
4. **Confidence separate from score.** Reporting low confidence does not lower the score. Confidence informs how much weight a human reviewer places on the agent's output; it does not modify the numerical score.
|
|
269
|
+
|
|
270
|
+
5. **N/A requires justification.** You cannot use N/A to avoid a hard criterion. The narrative must explain why the criterion genuinely does not apply.
|
|
271
|
+
|
|
272
|
+
6. **Machine-readable formats preferred.** Artifacts in structured formats (YAML frontmatter, ArchiMate exchange, diagram-as-code) are assessed more reliably.
|
|
273
|
+
|
|
274
|
+
7. **Rubrics are governed assets.** Do not modify a rubric YAML's scoring model or gate structure without a version bump and owner approval. The rubric is locked during evaluation.
|
|
275
|
+
|
|
276
|
+
8. **Calibrate before production.** Any new profile or overlay must be calibrated against at least 3 representative artifacts with 2+ reviewers before use in a live governance process.
|
|
277
|
+
|
|
278
|
+
9. **Do not average across dimensions prematurely.** A dimension score of 0 is not neutralized by a dimension score of 4. No dimension < 2.0 is required for a Pass status.
|
|
279
|
+
|
|
280
|
+
10. **Agentic evaluations must be auditable.** The evaluation record must capture evidence anchors, evidence classes, and confidence so a human can inspect and override any agent judgment.
|
|
281
|
+
|
|
282
|
+
---
|
|
283
|
+
|
|
284
|
+
## Quick Reference
|
|
285
|
+
|
|
286
|
+
| Task | Where to start |
|
|
287
|
+
|------|---------------|
|
|
288
|
+
| Understand the full standard | `standard/EAROS.md` |
|
|
289
|
+
| Score any artifact | `.agents/skills/earos-assess/SKILL.md` |
|
|
290
|
+
| Create a new rubric | `.agents/skills/earos-create/SKILL.md` |
|
|
291
|
+
| Validate a rubric YAML | `earos validate <file>` |
|
|
292
|
+
| Regenerate the manifest | `earos manifest` |
|
|
293
|
+
| Check manifest consistency | `earos manifest check` |
|