Skip to content
Back to skills

Spgr Log Decision

ASecurity

Append a structured decision entry to an artifact's decision log, capturing the decision, rationale, alternatives considered, and downstream impact. Use whenever an agent makes a consequential choice while producing or revising an artifact, so the reasoning stays traceable without re-litigating settled decisions.

  • 2 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 11, 2026
ai-agents

Security analysis

A100/100

Scanned November 11, 2026

npx -y skills add z4gunn/springer --skill spgr-log-decision --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Spgr Log Decision?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Spgr Log Decision
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/z4gunn-spgr-log-decision/badge)](https://www.skillsdirectory.com/skills/z4gunn-spgr-log-decision)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: spgr-log-decision
description: Append a structured decision entry to an artifact's decision log, capturing the decision, rationale, alternatives considered, and downstream impact. Use whenever an agent makes a consequential choice while producing or revising an artifact, so the reasoning stays traceable without re-litigating settled decisions.
disable-model-invocation: true
---

# log-decision

## Purpose

Prevent decision amnesia. The decision log records not just what was chosen but why, which alternatives were rejected, and what the choice constrains downstream. The log is kept separate from the artifact body so the content stays clean and the audit trail stays append-only.

## Inputs

| Field | Description |
|-------|-------------|
| `artifact_ref` | ID or path of the artifact the decision belongs to |
| `decision` | The choice made, stated clearly |
| `rationale` | Why this choice over the alternatives |
| `alternatives_considered` | List of `{option, reason_rejected}` |
| `decision_maker` | Agent slug or human identifier |
| `artifact_section` | The section the decision affects |
| `confidence` | `confirmed`, `proposed`, or `needs-human-input` |
| `downstream_impact` | List of agents or artifacts the decision constrains |

## Outputs

| Artifact | Description |
|----------|-------------|
| `decision_entry` | The appended entry: `entry_id`, `timestamp`, `decision`, `rationale`, `alternatives_considered`, `decision_maker`, `artifact_ref`, `artifact_section`, `confidence`, `downstream_impact` |

## Procedure

1. Read the target artifact with `spgr-read-artifact` to get its current `decision_log`.
2. Build the entry. Assign `entry_id` as `DEC-{artifact_id}-{seq}` where seq is the next index in the log.
3. Append the entry to the `decision_log` array. Do not modify any body field to embed the decision inline.
4. Write the updated artifact through `spgr-write-artifact` so it re-validates against the registry before the new log is persisted.

## Notes

- The decision-entry shape is defined in the shared envelope at `schemas/_envelope-v1.json` under `$defs.decision_entry`. Validation against it happens through `spgr-validate-artifact`.
- An entry with only upside and no rejected alternatives is a red flag. Record the real tradeoff.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.