Skill: Review an ADR
Use when a PR adds or amends a file under docs/host-capability-substrate/adr/, or when a human asks "review ADR N".
Inputs
- Path to the ADR being reviewed (e.g.,
docs/host-capability-substrate/adr/0005-process-model-launchd.md)
- The PR branch or commit range containing the change
Procedure
- Read the implementation charter (
docs/host-capability-substrate/implementation-charter.md). Check current version.
- Read the ADR under review.
- Read
DECISIONS.md. Check whether the ADR's decision is already in the Accepted ledger, Pending, or Reversed.
- Read neighboring ADRs in
docs/host-capability-substrate/adr/ for any that depend on or conflict with this one.
- Check the ADR's "Options Considered" section contains at least two real alternatives with explicit pros/cons.
- Check the "Consequences" section lists both accepts and rejects, and notes any future-amendment paths.
- Check the "References" section cites at least the charter, the research plan, and any applicable external docs (MCP spec, Claude Code docs, Codex docs, etc.).
- Confirm the ADR's status is appropriate (
proposed, accepted, superseded) and that the date is ISO-8601.
Checks
- Does the decision respect the four-ring architecture?
- Does the decision respect the 15 charter invariants?
- Does the decision stay inside the substrate's owns list (not domain-server territory)?
- Is the decision narrow enough to be implementable in one PR, or does it imply multiple PRs?
- Does the ADR cite the charter version it was written against?
- If the ADR changes a previously-accepted decision, is there a corresponding entry in
DECISIONS.md Reversed?
Output format
Return:
- Blocking issues (must fix before ADR accepted): missing options, missing consequences, charter invariant conflict, stale charter version citation.
- Non-blocking concerns: clarity, wording, scope ambiguity.
- Suggested follow-ups: additional ADRs the decision implies, regression traps to add, policy updates needed in system-config.
- Charter compliance statement: explicit confirmation.
Escalation
If the ADR involves schema/ontology, request hcs-ontology-reviewer.
If it involves policy, request hcs-policy-reviewer.
If it involves security-sensitive changes, request hcs-security-reviewer.
Reference
- Charter:
docs/host-capability-substrate/implementation-charter.md
- Decision ledger:
DECISIONS.md
- ADR template:
docs/host-capability-substrate/adr/0000-template.md
1---
2name: hcs-adr-review
3description: Review an Architecture Decision Record (ADR) in this repo for boundary discipline, charter compliance, and decision-ledger consistency.
4allowed-tools: Read, Grep, Glob
5metadata:
6 source: https://skillmd.com/skills/aibot88/hcs-adr-review
7---
8
9# Skill: Review an ADR
10
11Use when a PR adds or amends a file under `docs/host-capability-substrate/adr/`, or when a human asks "review ADR N".
12
13## Inputs
14
15- Path to the ADR being reviewed (e.g., `docs/host-capability-substrate/adr/0005-process-model-launchd.md`)
16- The PR branch or commit range containing the change
17
18## Procedure
19
201. Read the implementation charter (`docs/host-capability-substrate/implementation-charter.md`). Check current version.
212. Read the ADR under review.
223. Read `DECISIONS.md`. Check whether the ADR's decision is already in the Accepted ledger, Pending, or Reversed.
234. Read neighboring ADRs in `docs/host-capability-substrate/adr/` for any that depend on or conflict with this one.
245. Check the ADR's "Options Considered" section contains at least two real alternatives with explicit pros/cons.
256. Check the "Consequences" section lists both accepts and rejects, and notes any future-amendment paths.
267. Check the "References" section cites at least the charter, the research plan, and any applicable external docs (MCP spec, Claude Code docs, Codex docs, etc.).
278. Confirm the ADR's status is appropriate (`proposed`, `accepted`, `superseded`) and that the date is ISO-8601.
28
29## Checks
30
31- Does the decision respect the four-ring architecture?
32- Does the decision respect the 15 charter invariants?
33- Does the decision stay inside the substrate's owns list (not domain-server territory)?
34- Is the decision narrow enough to be implementable in one PR, or does it imply multiple PRs?
35- Does the ADR cite the charter version it was written against?
36- If the ADR changes a previously-accepted decision, is there a corresponding entry in `DECISIONS.md` Reversed?
37
38## Output format
39
40Return:
41
421. **Blocking issues** (must fix before ADR accepted): missing options, missing consequences, charter invariant conflict, stale charter version citation.
432. **Non-blocking concerns**: clarity, wording, scope ambiguity.
443. **Suggested follow-ups**: additional ADRs the decision implies, regression traps to add, policy updates needed in system-config.
454. **Charter compliance statement**: explicit confirmation.
46
47## Escalation
48
49If the ADR involves schema/ontology, request `hcs-ontology-reviewer`.
50If it involves policy, request `hcs-policy-reviewer`.
51If it involves security-sensitive changes, request `hcs-security-reviewer`.
52
53## Reference
54
55- Charter: `docs/host-capability-substrate/implementation-charter.md`
56- Decision ledger: `DECISIONS.md`
57- ADR template: `docs/host-capability-substrate/adr/0000-template.md`