← ClaudeAtlas

writer-reconcilerlisted

Runtime reconciler for vault writer staged packets. Picks up packets from `~/.claude/state/vault-staging/`; applies mechanical-only reconciliation (winner-pick / dedup / append per R-34) keyed by per-folder `_processing-rules.json` resolution (folder > file-type-contracts > universal pillar 7 default). NO classification, NO routing decisions — those are the writers' responsibility upstream. Renamed + reshaped from inbox-processor under Plan 81 SP14 Batch B T-11 (2026-05-18) per SP13 alignment Session 4 A37. Extended SP14 Batch F T-27 (2026-05-19) with step 8.5 (daily-processing JSONL append) + step 8.6 (manifest.sqlite record-write) per writer-pipeline-layering L-102..L-104 / §A61 — both mechanical writes preserving R-34.
peter-claude-vault/claude-stem · ★ 0 · Data & Documents · score 63
Install: claude install-skill peter-claude-vault/claude-stem
# Writer Reconciler Runtime reconciler for the vault writer pipeline (Posture D — per-destination contract-driven hybrid; Session 4 L-41). Writers running under `posture: staged` emit content packets to `~/.claude/state/vault-staging/<writer-id>/<sha>.json` via `lib/staging-emit.sh`. This skill picks up packets on cron tick (15-min default per pillar 7 `reconciler_tick_minutes_default`) and writes the resolved content to the canonical destination via mechanical-only reconciliation. Reconciliation rules resolution follows three-tier precedence per Session 4 L-44: 1. **Folder-level `_processing-rules.json`** at the destination directory (or walked-up parent); honors `applies_to: this-folder-and-subfolders` inheritance. 2. **File-type-contracts** (`governance/file-type-contracts/<type>.md.json`) when the destination's `output_type` matches a known contract. 3. **Universal pillar 7 defaults** (`governance/vault-writers-rules.json :: processing_defaults`) as the floor — `dedup: content-hash`, `survivorship: newer-mtime-wins`, `merge: union-dedupe-by-key`. The reconciler is **mechanical-only** per Session 4 L-50 + R-34 self-healing boundary. Semantic merging (paraphrase, summarization, re-ordering by meaning) is OUT of scope. Operator edits are preserved via two-signal detection per Session 4 L-45. ## Invocation ```sh # Cron tick (every 15 min default; bootstrapped by install-cron.sh) ./process.sh # Explicit flush of a single destination (waits for packets, appli