home/productivity/artifact-reconciliation-instructions

Artifact Reconciliation.instructions

GPTClaudeDeepSeek··348 copies·updated 2026-07-14
artifact-reconciliation-instructions.prompt
<!-- Archetype: RULES -->

# Artifact Reconciliation Pass

The reconciliation pass is a mandatory workflow step that runs after `decision.md` reaches `status: approved`.

Its purpose is to verify that all existing artifacts for the feature are consistent with the approved decision before implementation planning begins.

The reconciliation pass is not optional. Implementation plan generation is blocked until it produces a clean result.

---

## When It Runs

- Immediately after `decision.md` is marked `status: approved` (Step 12 of the workflow)
- Again if `decision.md` is revised and re-approved at any later point — all prior reconciliation results are invalidated by a decision revision
- Before generating `implementation-plan.md` — always, without exception

---

## What to Check Per Artifact

### spec.md (when present)

Check every statement in Section 5 (Existing System Impact) against `decision.md`:

- Every cross-module call direction must match the dependency map in `decision.md`. If `decision.md` states "Module A has no outbound module dependencies", `spec.md` must not say "Module A calls Module B".
- No contract names that `decision.md` explicitly eliminated may remain (e.g., if `decision.md` replaced `IMaintenanceReader` with a push-based catalogue, `spec.md` must not reference `IMaintenanceReader`).
- Module ownership statements must match `decision.md`. If `decision.md` says Module X owns data Y, `spec.md` must not attribute ownership of Y to a different module.
- Draft requirements that must be confirmed before implementation must be clearly marked as draft and must not block `status: approved`.

Contradiction signal: any sentence in `spec.md` that contradicts a sentence in `decision.md`'s module boundary, dependency map, or ownership sections.

### context-map.md (when present)

- Integration arrow directions must match `decision.md`'s dependency map exactly.
- Contracts named on arrows must match contracts described in `decision.md`. No eliminated contracts.
- The "no outbound dependencies" constraint for any module `decision.md` names as self-contained must be reflected — no outbound arrows from that module.
- The OHS / Customer-Supplier pattern labels must be consistent with `decision.md`'s module relationship descriptions.

### c4.md (when present)

- Component relationships and arrows must match `decision.md`'s module boundary changes.
- No components that were eliminated or merged by `decision.md` may appear.
- No dependency arrows contradicting `decision.md`'s stated direction.

### implementation-plan.md (when present)

- No task may implement an architectural pattern that `decision.md` explicitly rejected.
- Interface names and dependency directions in task descriptions must match `decision.md`.
- No task may introduce a new module or contract that `decision.md` did not approve.

---

## Working Artifact Status Updates

These updates are part of the reconciliation pass — not optional clean-up.

| Artifact | Required action |
|---|---|
| `solution-options.md` | Change `status` to `historical`. |
| `domain-discovery.md` | Verify `source-of-truth: false`. If `true`, flag as a reconciliation error and correct. |
| `extraction-notes.md` | Verify frontmatter block exists with `source-of-truth: false`. If missing, flag as non-compliant. |

---

## Reconciliation Report

The reconciliation pass must produce a visible structured report before the workflow continues. Produce it inline in the conversation.

when to use it

Community prompt sourced from the open-source GitHub repo dczerwinskipl/ai-sdlc-from-scratch (Apache-2.0). A "Artifact Reconciliation.instructions" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

productivitycommunitydeveloper

source

dczerwinskipl/ai-sdlc-from-scratch · Apache-2.0