Skip to content

Feature my updates#163

Open
john-merrick wants to merge 2 commits into
snarktank:mainfrom
john-merrick:feature-my-updates
Open

Feature my updates#163
john-merrick wants to merge 2 commits into
snarktank:mainfrom
john-merrick:feature-my-updates

Conversation

@john-merrick

Copy link
Copy Markdown

No description provided.

john-merrick and others added 2 commits June 11, 2026 15:20
Trust-and-control layer that attaches beside the inherited loop without
modifying ralph.sh (verified byte-identical to pinned upstream 928225b).

Data model + skip-then-block (B, C):
- ralph_prd.py: {meta, items} loader; attempts/blocked/blockReason default
  to 0/false/"" when absent; partition() never selects blocked while an
  eligible item remains; backstop_violations() catches stragglers over K.
- CLAUDE.md: increment attempts, self-block at K=meta.maxAttempts, schema
  note, test-before-implementation discipline, completion accounts for blocked.
- prd.json.example: migrated to {meta, items}, demonstrates the new fields.

Audit / morning rundown (D):
- project_audit.py: no-arg full rundown — progress bars (blocked shown
  distinctly), Up Next (active only), Blocked/Skipped with reasons, C.4
  backstop, recent progress, one-line cost summary.

Cost capture + analysis (F, G):
- cost_hook.py: SessionEnd hook, atomic O_APPEND per session, authoritative
  total_cost_usd, RALPH_RUN_ID tagging; .claude/settings.json wires it.
- ralph_cost.py: cumulative/burn/cost-per-green over run_id-tagged lines
  (--all incl. untagged); loops- and cost-remaining forecasts labelled
  cold-prior vs warm-empirical, rendered as ranges.

/add-feature + scheduling + skills (E, H, I):
- skills/add-feature/SKILL.md: append items + features.md, no approval step.
- ralph_schedule.py + ralph-run.sh: cron-only schedule, fresh RALPH_RUN_ID,
  dated rundown; --off removes only the tagged line.
- skills/prd/SKILL.md: aggressive MVP-scoping hardening.
- ralph: dispatcher (audit|cost|schedule|run|add-feature).

tests/test_control_layer.py: 19 tests incl. concurrent-write integrity.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Add a command-first Control Layer section (run/audit/cost/schedule/
add-feature), list the new files in Key Files, and update the Debugging
jq + intro to the {meta, items} schema.

Co-Authored-By: Claude Opus 4.8 (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