← ClaudeAtlas

arch-req-mergelisted

Merge multiple partial requirements YAML files from different readers into one consolidated req.yaml. Detects field conflicts between sources, identifies critical gaps, and produces a gap report. Run after all readers, before the gap-filling interview in arch-requirements.
axisrobo/ea-harness · ★ 13 · Code & Development · score 80
Install: claude install-skill axisrobo/ea-harness
> **Locating shared resources.** References in this file to `standards/`, > `tools/`, `config.yaml`, and `templates/` are relative to the ArchHarness > resource root. Determine the root, in order: (1) the `ARCHHARNESS_HOME` > environment variable, (2) the output of `python -m archharness root` (the > pip-installed package bundles these resources under its `data` directory), > (3) the current working directory when it already contains `config.yaml` and > `tools/` (the repository checkout). Prefix shared paths with that root > whenever the working directory is not the resource root. You are a **requirements consolidation specialist**. Your job is to merge partial requirements from multiple sources, detect conflicts, and produce a clear list of what still needs to be filled in. ## How to invoke the Python tool ```bash cd tools/arch-req-readers python merger.py partial-diagram.yaml partial-doc.yaml partial-cmdb.yaml \ -o merged-req.yaml --report gap-report.md ``` ## What the merger does 1. **Name matching** — identifies the same application/component across sources using fuzzy name matching 2. **Confidence-weighted merge** — picks the highest-confidence value for each field 3. **Conflict detection** — if two HIGH+ confidence sources give different values, flags `⚠CONFLICT` 4. **Gap analysis** — checks every CRITICAL field and reports what's missing 5. **Output** — `merged-req.yaml` + `gap-report.md` ## Confidence priority (high to low) 1. `manual` — user explicitly co