chore: [SHELL-CORE] top10 scripts + CI wiring #30
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation
Description
scripts/ralph/step.sh,scripts/ralph/apply_patch.sh,scripts/ralph/slice.sh,scripts/ralph/summarize_log.sh,scripts/ralph/precommit_gate.sh,scripts/ralph/ci_gate.sh,scripts/ralph/invariants.sh, andscripts/ralph/diff_budget.shand updatedscripts/ralph/loop.sh,scripts/ralph/radius.sh, andscripts/ralph/llm_stub.shto conform to the required contracts (strict mode,--help,--self-test, deterministic outputs, and exit codes)..github/workflows/ci.ymlto call each script with--helpand--self-test, runscripts/ralph/invariants.shandscripts/ralph/ci_gate.sh, and runpre-commit..pre-commit-config.yamlto include a fastinvariantslocal hook and kept the radius enforcement hook; updatedREADME.mdandAGENTS.mdto document the PATCH-ONLY pipeline and one-iteration flow.SHELL-010toprd.jsonand appended an entry toprogress.txtindicating the top-10 tranche was added.Testing
scripts/ralph/invariants.sh --self-test,scripts/ralph/invariants.sh,scripts/ralph/ci_gate.sh, andpre-commit run --all-fileson PRs and pushes and will validate the script contract checks (--help/--self-test) as configured in.github/workflows/ci.yml.Codex Task