Skip to content

Add autonomous consolidation loop and react-frontend persona - #9

Merged
ahoym merged 2 commits into
mainfrom
consolidate-loop-and-react-persona
Feb 26, 2026
Merged

Add autonomous consolidation loop and react-frontend persona#9
ahoym merged 2 commits into
mainfrom
consolidate-loop-and-react-persona

Conversation

@ahoym

@ahoym ahoym commented Feb 26, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds the ralph:consolidate skill pair (init + resume) for unattended learnings/skills/guidelines curation in a worktree
  • Adds react-frontend persona seeded with judgment-layer content distilled from 5 learning files
  • Updates setup-claude.sh to symlink the ralph/ directory
  • Documents the consolidation workflow in README.md

Key changes:

  • .claude/commands/ralph/consolidate/init/SKILL.md — worktree creation, template scaffolding, pre-flight metrics
  • .claude/commands/ralph/consolidate/resume/SKILL.md — state review, blocker handling, relaunch guidance
  • .claude/ralph/consolidate/ — runner script (wiggum.sh), security hooks (bash/web/write-scope guards), output templates, spec
  • .claude/commands/set-persona/react-frontend.md — judgment-layer persona for React/Next.js/Playwright/accessibility with conditional references to recipe-level learnings
  • .claude/learnings/ralph-loop.md — consolidation loop variant docs, stateless spec design patterns
  • .claude/learnings/skill-design.md — three-level skill routing confirmation
  • docs/plans/consolidation-loop.md — design plan for the consolidation system

Screenshots

N/A

Test plan

  • Ran /ralph:consolidate:init — worktree created, templates scaffolded, pre-flight populated
  • Launched wiggum.sh 20 — completed 12 iterations, 2 passes, converged cleanly
  • Ran /ralph:consolidate:resume — correctly reported COMPLETE state with 0 actions, 1 LOW
  • Resolved L-1 (react-frontend persona) manually during resume review
  • Verified setup-claude.sh creates the ralph symlink

Checklist

  • Unit tests — N/A (dotfiles/config repo)
  • Integration tests — N/A
  • DB migration tested — N/A
  • README or docs updated

Generated with Claude Code

ahoym and others added 2 commits February 26, 2026 09:32
Introduces the ralph:consolidate skill pair (init + resume) for unattended
learnings/skills/guidelines curation in a worktree, with security hooks,
two-pass convergence, and autonomous MEDIUM judgment. Adds the react-frontend
persona seeded with judgment-layer content distilled from 5 learning files,
with conditional references back to the recipe-level details.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ngs, session retro

- Replace type-blocked convergence (2 clean sweeps per type) with round-based
  (L→S→G per round, 2 consecutive clean rounds to converge). Halves minimum
  iterations for clean corpora (6 vs 12).
- Add compounded-learnings.md for corpus meta-insights, isolated from sweep
  corpus to prevent feedback loops. Resume surfaces for /learnings:compound.
- Add max rounds guard (5 rounds) as circuit breaker.
- Add pre-flight cadence analysis to right-size iteration suggestions.
- Fix skills glob: */SKILL.md → **/SKILL.md for nested skills.
- Preserve notes history (append with ### Iter N, don't overwrite).
- Add learnings: skill maturity progression, isolation boundaries, persona
  judgment-layer framework, round-based vs type-blocked convergence.
- Add communication guideline: calibrate challenge intensity to session phase.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ahoym
ahoym merged commit 7f6f0f8 into main Feb 26, 2026
@ahoym
ahoym deleted the consolidate-loop-and-react-persona branch February 26, 2026 18:46
ahoym added a commit that referenced this pull request May 17, 2026
Addresses team review (#9) on PR #109.

Hooks in claude/settings.json fire in every Claude Code session regardless
of CWD — adding per-prompt overhead on non-dotfiles machines (Java/frontend/
other codebases). The Rust binary already no-ops without providers.json, but
the wrapper still spawns. Add a one-line guard to both wrappers so machines
that haven't run setup-claude.sh short-circuit before any binary lookup.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
ahoym added a commit that referenced this pull request May 18, 2026
Addresses team review (#9) on PR #109.

Hooks in claude/settings.json fire in every Claude Code session regardless
of CWD — adding per-prompt overhead on non-dotfiles machines (Java/frontend/
other codebases). The Rust binary already no-ops without providers.json, but
the wrapper still spawns. Add a one-line guard to both wrappers so machines
that haven't run setup-claude.sh short-circuit before any binary lookup.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant