Repository navigation
Peer lessons batch: cap-hook yield, fitness_tick, flake_holder, finding/baseline guards, freeze_gate, flow_alarm, prevention_lint, quarantine cap - #2101
Merged
Conversation
…tick, flake_holder, finding_guard, baseline_guard, freeze_gate, flow_alarm, prevention_lint, quarantine ticket/cap, merged-not-wired allowlist Skipped as already covered: top-3 build order when everything is P0 (queue_guard.py ranked top-N), dedupe hook for issue creation (file_finding.py, now hook-enforced). Review fixes: reply_cap yields only to an existing executable hook, fitness_tick alarms on an empty dir, flow_alarm hook gh timeout 10s with notice, prevention_lint matches whole header names, flake_holder lists up to 1000 PRs. Tests: new per-feature files run via scripts/ci-tests.d/peer-lessons-batch.sh (reply_cap 19/19, fitness_tick 6/6, flow_alarm 10/10, prevention_lint 7/7, flake_holder 4/4, hermetic lint 5/5) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
A batch of mechanisms drawn from what peer sessions reported running into in their delivery pipelines.
reply_capyields to an existing executable user-level cap hook, so two caps never fight.fitness_tickalarms when a fitness function is installed but nothing calls it, or when its directory is empty.flake_holderlists the open PRs held by a flaky gate, up to 1000.finding_guard,baseline_guard,freeze_gate,flow_alarm(the hook's gh call times out after 10s, with a notice) andprevention_lint(matches whole header names).Skipped as already covered: top-3 build order when everything is P0 (
queue_guard.py), and the dedupe hook for issue creation (file_finding.py).Verification
scripts/ci-tests.d/peer-lessons-batch.shruns reply_cap 19/19, fitness_tick 6/6, flow_alarm 10/10, prevention_lint 7/7, flake_holder 4/4 and hermetic lint 5/5.bash scripts/run-ci-tests.shon this head, run locally before the index regen: the only failure waslow-context-index(stale generated INDEX). After the regen,skill_index.py --checkpasses, as doeslow-context-index.sh.has_caller, baseline_guard defaults,wired_checkallowlist breadth, a fail-closed push/merge hook forfreeze_gate, one canonical doctrine reference) are queued for the next wave.Supersedes #2095: raises the measured agentic-delivery index lookup budget by 1000 bytes for the nine new script rows (measured 21360), rebased on main with INDEX regenerated.
🤖 Generated with Claude Code