Repository navigation
docs(campaign): Campaign 31 Perl Repair-Routing Usable Alpha (restructured plan, 2x adversarially reviewed) - #1412
EffortlessSteven wants to merge 1 commit into
Conversation
Restructures the Perl campaign from 'preview loop' to 'usable alpha' across 4 phases / 18 PRs, after scout verification + two adversarial review passes. Why the restructure: the original plan (PR #1393, closed) kept the Perl-local PerlStrictActionability as the actionability flip authority, which violates ADR 0019 (line 83-86 forbids parallel/mirror validators and language-local repair_packet_ready booleans). The restructure routes Perl through the shared GapRecord + validate_agent_gap_record_packet authority, mirroring the TypeScript projection pattern (typescript_gap_record_for + validator_parity_* tests). Four corrections before productionizing: (1) shared GapRecord authority; (2) concrete discriminator (the shared missing_discriminator field already exists at gap_decision_ledger.rs:149 — no contract change); (3) relation gating by reason (Perl-local, threaded into existing RelatedTestGrip); (4) typed runner commands. Adversarial-review findings addressed in this commit: - BLOCKER #13: PR 16 must decommission the pre-existing bespoke gap_record_from_perl_preview_finding (gap_decision_ledger.rs:755) + perl_preview_card renderer, or the campaign creates the exact ADR-0019 parallel-renderer drift it exists to prevent. - Major #6: PR 11 adds a lang-perl CI matrix job so the feature-gated path is exercised in CI. - Major #8: PR 16 adds a Perl must_not_emit_repair_packet corpus entry + extends the parity loop (mechanical false-actionable gate for Perl). - Major #9: PR 18 honestly scopes the 5-repo/precision gates as human-judgment (no perl-real-repo-evals corpus yet) vs the mechanical gates. - Major #14: PR 14 adds a runtime schema-version capability check mitigating cross-repo drift. - Minor: PR 3 does not hard-depend on PR 2; PR 3 parity uses synthetic fixtures; gap_state rename recorded as a blocked deferred item. Adds Campaign 31 to docs/IMPLEMENTATION_CAMPAIGNS.md and a focused tracker at .ripr/goals/perl-repair-routing.toml (lane 2, status tracker, 18 work items + 2 blocked-deferred). Ground truth scout-verified file:line before the plan was written. check-goals, check-doc-index, check-spec-format, check-static-language all pass. Supersedes PR #1393 and issues #1380-#1392. Umbrella: #1379.
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Warning Review limit reached
More reviews will be available in 50 minutes and 15 seconds. Learn how PR review limits work. Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file). ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits. 🚦 How do rate limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan refill rate. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, the refill rate gradually slows as usage increases. The highest same-day bursts are limited more strictly. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (2)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 99fa213091
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| status = "blocked" | ||
| stackable = false | ||
| branch = "perl-C9-ingestion-facts-option" | ||
| blocked_reason = "perl-A3-shared-gap-record" |
There was a problem hiding this comment.
Keep Phase C blocked on producer packet closeout
When this tracker is used for execution, C9 becomes unblocked after A3 alone even though the campaign dependency section says Phase C depends on B8's real deterministic packet; because C9 productionizes the consumer ingestion boundary, starting it before B8 exists risks baking checks around synthetic/stale packet shape and rework when the producer lands. Please add perl-B8-boundaries-commands-goldens to this blocker, or make the docs explicit that C9 is intentionally spec-only and safe before B8.
Useful? React with 👍 / 👎.
|
|
||
| | PR | Phase | Repo | Slice | | ||
| | -: | - | --- | --- | | ||
| | 1 | A | ripr-swarm | Refresh PROP-0018/SPEC-0064, record landed work, add `Perl scaffold — blocked on live fact producer` support-tier row, create active goal/plan. | |
There was a problem hiding this comment.
Do not activate Campaign 31 from PR 1
This table entry tells the first follow-up to "create active goal/plan," but the surrounding campaign text and tracker header both say Campaign 31 is tracker-only and promotion into .ripr/goals/active.toml is a maintainer decision. If an agent follows the table literally, a stackable docs PR can activate this campaign despite the stated boundary; change this to the focused tracker/plan wording or remove the active-goal instruction.
Useful? React with 👍 / 👎.
| test is not enough. | ||
|
|
||
| 3. **Relation gating by reason.** Restrict actionability by relation kind: | ||
| `direct_owner_call`/proven helper-call chain eligible; `package_reference`/ |
There was a problem hiding this comment.
Avoid prohibited static-language wording
The plan uses proven for the helper-call relation guidance even though the campaign tracker explicitly says to use "established" instead of the prohibited p-word, and AGENTS/static-language policy reserves that vocabulary from static claims. Follow-up implementers may copy this wording into output or schema labels, so keep the plan consistent by using established helper-call chain here.
Useful? React with 👍 / 👎.
|
Superseded by #1452, which reconciles the Campaign 31 tracker onto This PR (#1412) was authored 2026-06-21 against a #1452 reauthors both artifacts fresh: marks A1..D15 + C2/H1/contract-freeze/E1 as All docs gates green. Closing this in favor of #1452. |
…Routing) (#1452) The Campaign 31 tracker artifacts existed only on the unmerged planning branch #1412, never on main — even though repo docs (RIPR-PROP-0018, RIPR-SPEC-0064, SUPPORT_TIERS.md, OUTPUT_SCHEMA.md, CONFIGURATION.md, umbrella #1379) all cite docs/IMPLEMENTATION_CAMPAIGNS.md → Campaign 31 and .ripr/goals/perl-repair- routing.toml as if present. Meanwhile all 19 Campaign-31 consumer-side PRs (#1413..#1451) landed on main while the plan sat unmerged. This restores durable tracker truth, authored fresh from current main (not a wholesale merge of #1412): - docs/IMPLEMENTATION_CAMPAIGNS.md: add Campaign 31 section (objective, ADR-0019 rationale, 18-slice phase table, landed-work record, alpha fixture, release gates, blocking conditions). Marks PRs 1-13, E1, H1, H2, and the consumer-side contract freeze as landed with their PR numbers. - .ripr/goals/perl-repair-routing.toml: focused tracker with 13 done items (A1..D15 + C2/H1/contract-freeze/E1) and the genuinely-open items blocked (Phase B producer proof, D16 public projection, D17 agent packets, D18 receipts). Staleness corrected vs the stale #1412 draft: - perl.rs monolith refs → perl/mod.rs + perl/tests.rs (split landed #1417). - 4036-line / perl.rs:NNNN line refs removed (file is split). - "(proposed)" tags on SPEC-0064/PROP-0018/ADR-0018/0019 retained — all four are genuinely Status: proposed on main. Confirmed-open blockers recorded honestly (NOT fixed in this docs-only PR): - D16 ADR-0019 bespoke-renderer decommissioning: perl_preview_card.rs is STILL wired into production output on main (github.rs:99, human/sections.rs:143, gap_decision_ledger.rs:756). Recorded as open; a production-code PR must decommission it. - D14 managed producer / D15 doctor are landed but flagged as scaffolds needing hardening (real timeout/kill, atomic writes, cache key, capability handshake; recursive markers, t2/ roots, exact next-command). Gates: check-goals, check-campaign, check-doc-index, check-traceability, check-static-language, check-spec-format, markdown-links, goals next, precommit — all green. Docs-only; zero production code, zero golden drift. Supersedes and closes the stale planning PR #1412.
What this PR does
Establishes Campaign 31 (Perl Repair-Routing Usable Alpha) as a durable, scout-verified, adversarially-reviewed plan before any implementation begins. Docs + tracker only — no production code.
docs/IMPLEMENTATION_CAMPAIGNS.md(status:tracker)..ripr/goals/perl-repair-routing.toml(lane 2, statustracker, 18 work items + 2 blocked-deferred).Why a restructure (supersedes PR #1393)
PR #1393 (closed) planned a "preview loop" that kept the Perl-local
PerlStrictActionabilityas the actionability flip authority. That violates ADR 0019 (line 83-86: "An adapter MUST NOT introduce a parallel, mirror, or inline validator; a language-localrepair_packet_readyboolean; or a bespoke packet renderer"). The shared authority isvalidate_agent_gap_record_packet(agent_seam_packets.rs:880), already used by the TypeScript projection (typescript_gap_record_for+validator_parity_*tests).This PR restructures the target from "preview loop" to usable alpha and routes Perl through the shared
GapRecordvalidator, across 4 phases / 18 PRs in two repos.How the plan was built
ripr-swarmandperl-lsp-swarmbefore writing.Adversarial findings addressed in this commit
gap_record_from_perl_preview_finding(gap_decision_ledger.rs:755) +perl_preview_cardrenderer is itself an ADR-0019 parallel-renderer violation. PR 16 must decommission it or the campaign creates the exact drift surface it exists to prevent.lang-perlCI matrix job; PR 11 adds one so the feature-gated path is exercised in CI.evidence-promotion-honesty-corpus; PR 16 adds amust_not_emit_repair_packetcase + extends the parity loop (mechanical false-actionable gate).perl-real-repo-evalscorpus yet) vs the mechanical gates.gap_staterename recorded as a blocked deferred item; default-inclusion boundary clarified.Four corrections before productionizing
GapRecordauthority (ADR 0019) —perl_gap_record_for()+validate_agent_gap_record_packet.$amount == $threshold); the sharedmissing_discriminatorfield already accepts them (no contract change, no golden re-bless).prove -l/-vflags typed, not positional.Phases (18 PRs, two repos)
Phase A/C/D land in ripr-swarm; Phase B (producer) lands in perl-lsp-swarm.
Scope of this PR
Two files, docs + tracker only:
docs/IMPLEMENTATION_CAMPAIGNS.md— Campaign 31 section (verified ground truth, 4 corrections, 18-PR phased table, release gates split mechanical vs human-judgment, dependencies, blocking conditions incl. the ADR-0019 decommissioning blocker)..ripr/goals/perl-repair-routing.toml— focused tracker (18 work items + 2 blocked-deferred, each withstatus/stackable/branch/blocked_reason/acceptance/commands, promotion-safe vocabulary).Non-goals of this PR
proposed).lang-perlto default features (out of campaign scope).active.toml(maintainer decision).Verification
Risks considered
repair_packet_readyflip) is forbidden; the blocker (lsp(queue): project repair queue in Show Status #13) catches the pre-existing violation too.repair_packet_readyflips, only via the shared validator; every other authority flag staysfalse.Residual assumptions
active.tomlis out of scope; maintainer decision.Closes #1379 (planning phase). Implementation PRs reference their individual work-item issues.
Supersedes #1393 and issues #1380-#1392 (all closed with supersession comments).