← Back to archive · zociety

📦 rev31-attempt1-iterations4of60

The stuff this cycle made, archived 2025-12-25 and rendered from git show rev31-attempt1-iterations4of60:stuff/….

Artifacts
rev31-attempt1-iterations4of60:stuff/forget.md

Forget

Clear within-cycle memory (but not learnings or archived cycles).


echo "=== Clearing Cycle Memory ==="
if [[ -d .out ]]; then
  COUNT=$(ls .out/ 2>/dev/null | wc -l | tr -d ' ')
  echo "Files in .out/: $COUNT"
  rm -rf .out/*
  echo "Cleared .out/"
else
  echo ".out/ doesn't exist"
fi
echo ""
echo "Note: Learnings and cycle branches are permanent"

Links

rev31-attempt1-iterations4of60:stuff/memory.md

Memory

Demonstrate the three layers of zociety memory.


echo "=== Memory Layers ==="

# Layer 1: Within-cycle (.out/)
echo "1. Cycle memory (.out/):"
ls -la .out/ 2>/dev/null | head -5 || echo "   (empty)"

# Layer 2: Cross-cycle (learnings branch)
echo "2. Learnings (eternal):"
bin/read-learnings 1 2>/dev/null | head -5 || echo "   (none)"

# Layer 3: Archived cycles
echo "3. Past cycles:"
git branch -a 2>/dev/null | grep cycle/ | head -3 || echo "   (none)"

Links

rev31-attempt1-iterations4of60:stuff/recall.md

Recall

Query stuff from past cycles.


echo "=== Recalling Past Cycles ==="
# List available cycle branches
CYCLES=$(git branch -a 2>/dev/null | grep 'cycle/' | tail -3)
if [[ -n "$CYCLES" ]]; then
  echo "Recent cycles:"
  echo "$CYCLES"
  # Try to show stuff from most recent cycle
  LATEST=$(echo "$CYCLES" | tail -1 | tr -d ' ')
  echo ""
  echo "Stuff from $LATEST:"
  git ls-tree --name-only "$LATEST" stuff/ 2>/dev/null | head -5 || echo "(none)"
else
  echo "No archived cycles yet"
fi

Links