Skip to content

imMamdouhaboammar/anti-slop-engineering / skills/repo-memory-and-invariant-steward

repo-memory-and-invariant-steward

Verified

Maintains the repository's architectural memory and enforces invariant preservation across sessions. Use when syncing historical decision records into a living compact Invariant Ledger, checking PRs/branches for architectural drift, verifying Gate 0 invariant constraints, or validating formal Reassessment Triggers — even if they don't explicitly say "invariant steward". Do NOT use for routine cosmetic edits or non-consequential scripts.

references/gate0-memory-integration.md

View on GitHub
# Gate 0 Memory Integration Protocol

> Instructions for autonomous AI coding agents on how to read the Invariant Ledger in Gate 0 to ensure zero-drift implementation.

## Agent Gate 0 Discovery Steps

In every task session, during Gate 0 (Discover; do not improvise):

1. **Locate the Ledger:** Look for `.anti-slop/invariant-ledger.toon`. If missing, check `.anti-slop/invariant-ledger.json`. If neither exists, run `npx anti-slop-engineering steward sync` to generate it.
2. **Read the Compact TOON Block:** Ingest the TOON entries into context. Notice that TOON representation is optimized to consume < 300 tokens for dozens of invariants.
3. **Map Task Scope to Invariant Scopes:**
   - Identify all files intended for modification in the current task.
   - Cross-reference them with the `paths` of each entry in the ledger.
4. **Enforce Boundary Constraints in Gate 1:**
   - Add every governed invariant's assertion into the Gate 1 change contract under "Architectural Invariants".
   - Note all forbidden patterns to ensure they are never emitted during code generation.
5. **Preflight Drift Verification:**
   - If the task objective directly conflicts with an active invariant, halt immediately. Do not attempt a "silent workaround".
   - Present the conflict to the user and request an official Reassessment Trigger before proceeding.
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 196kUpdated Claude CodeCodexVerifiedInstall