一键导入
knowledge-mesh-bar
Read a BAR's CALM model + threats + ADRs + app.yaml from the mesh by BAR id.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Read a BAR's CALM model + threats + ADRs + app.yaml from the mesh by BAR id.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | knowledge-mesh-bar |
| description | Read a BAR's CALM model + threats + ADRs + app.yaml from the mesh by BAR id. |
| version | 0.1.0 |
| purity | pure-data |
| runtime | research-runner |
| command | npx @maintainabilityai/research-runner@~0.1.64 skill-knowledge-mesh-bar |
Returns everything the parent agent needs to reason about ONE BAR. Per §5.5.2 the agent calls this once per affectedBarIds[] entry.
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
barId | string | yes | — | e.g. APP-IMDB-002. |
| Field | Type | Description |
|---|---|---|
ok | boolean | |
bar | { id, name, platformId, calmModel, appYaml, repos, adrs, threats, controls, fitnessFunctions, qualityAttributes } | Structured snapshot. |
reason? | string | On ok: false. |
echo '{"barId":"APP-IMDB-002"}' \
| npx @maintainabilityai/research-runner@~0.1.64 skill-knowledge-mesh-bar
Walks platforms/<p>/bars/<id>/** via MeshReader.findBarById. CLI subcommand backend lands in B-PR1a.
{ok: false, reason: 'bar-not-found'} when the id doesn't resolve. Agent stops per §5.5.3.
Append one hash-chained audit event to okrs/<id>/audit/events/<run-id>.jsonl. Returns the new chain head.
Replay the hash chain over an existing audit JSONL; returns the chain head on success, the first integrity failure reason on failure.
Query the mesh's threat library for entries matching a concern (e.g. "identity", "data-licensing").
Academic paper search via arXiv. Returns ranked paper results per query envelope.
Aggregated architecture context for a scope — CALM nodes + ADRs + fitness functions + quality attributes. PURE data; the Architect persona is in the parent agent's prompt.
Aggregated quality context for a scope — quality attribute definitions + performance SLOs + reliability targets per BAR.