stage-snapshot-writer

Official

Persist stage outputs for reliable next steps

AuthorArcanada-one
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It prevents lost context by reliably writing each stage’s final, operator-visible snapshot so later commands can resume with consistent state.

Core Features & Use Cases

  • Deterministic stage snapshotting: Records the Summary + Gate Results + CTA block emitted by each /dr-* command into a task-scoped snapshot file.
  • Overwrite semantics for replays: Replaces an existing snapshot for the same task/stage to keep results current.
  • Safe, bounded outputs: Enforces an 8 KB total size cap with a truncation marker to avoid runaway context growth.
  • Concurrency control: Uses a per-task lock to prevent concurrent writers from corrupting snapshot contents.
  • Kill switch: Can disable writing entirely via DATARIM_DISABLE_SNAPSHOT=1.

Quick Start

Use stage-snapshot-writer to write the snapshot for task TASK-ID after you generate the final CTA block in stage plan using the /dr-plan command.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: stage-snapshot-writer
Download link: https://github.com/Arcanada-one/datarim/archive/main.zip#stage-snapshot-writer

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.