humanize icon indicating copy to clipboard operation
humanize copied to clipboard

Improve RLCR convergence with waiting states, invariant sweeps, and budget gates

Open Harold-Finchwxx opened this issue 3 months ago • 1 comments

Summary

An extended RLCR session ultimately met all acceptance criteria and passed independent review, but the number of rounds was disproportionate to mainline progress. Review quality was generally high and found meaningful correctness and recovery issues; the main opportunity is to improve convergence without lowering the quality bar.

Observed methodology patterns

1. External-decision waits generated repeated rounds

When the only blocker was external input, several rounds repeated re-anchoring, evidence checks, and status reporting with no acceptance-criterion change.

Suggestion: add an explicit waiting_for_external_input state. After two consecutive rounds with the same external blocker and zero net progress, pause automatic rounds and retain only scheduled reporting or low-frequency monitoring. Resume when new input arrives.

2. Round status did not represent net progress

Implementation, decision recording, pure waiting, and repeated verification could all appear as progress even when deliverables and acceptance criteria were unchanged.

Suggestion: require four machine-readable deltas per round:

  • acceptance-criterion delta;
  • blocker delta;
  • risks closed;
  • deliverable delta.

Classify rounds as implementation progress, verification only, waiting, or rework. A zero-delta round should not be classified as implementation progress.

3. Similar invariant failures were discovered serially

Once one recovery, concurrency, publication, error-boundary, identity-binding, command-entry, or persistence issue was found, adjacent surfaces were often reviewed only in later rounds.

Suggestion: introduce an invariant-family sweep. The first material finding in a risk family should trigger a horizontal review of sibling paths, recovery paths, command entry points, persisted formats, and equivalent producers. The implementation summary should include an applicability matrix for those surfaces.

4. Blocking defects and non-blocking hardening shared an exit gate

Some defense-in-depth, documentation, diagnostics, compatibility, and coverage findings continued the loop even when current correctness and safety remained protected.

Suggestion: use a two-tier exit policy:

  • Tier 1 blocks exit for reproducible safety, correctness, acceptance, or regression issues.
  • Tier 2 records low-risk hardening and coverage improvements without blocking completion.

Promoting a Tier 2 item should require a reproducible path, current impact, and a reason it cannot be queued.

5. Severity calibration varied between rounds

Findings with different evidence strength sometimes shared the same priority and exit semantics.

Suggestion: use a standard scorecard covering reachability, state/data impact, recoverability, boundary bypass, likelihood, and equivalent existing protection. Label findings separately as reproduced defect, inferred risk, coverage gap, or documentation mismatch.

6. Convergence reviews happened too late

Diff-focused reviews were effective locally but could miss interactions between older surfaces and newer constraints.

Suggestion: schedule invariant-oriented convergence reviews after a major feature, after the first high-severity fix, and after several consecutive repair rounds. Freeze the reviewed checklist afterward; only regressions from new changes or newly demonstrated high-risk omissions should block exit.

7. Persisted artifacts drifted from tightened validators

Stricter validation rules can make previously published evidence unreadable even when unit fixtures use only the newest schema.

Suggestion: make persisted-artifact compatibility an explicit acceptance dimension. Format or recovery-rule changes should run:

  • new writer to new reader;
  • old writer to new reader;
  • frozen real-world fixture to new reader.

If compatibility is intentionally dropped, require an explicit migration path.

8. Full validation was repeated too frequently

Running every quality gate after each local repair provided diminishing returns.

Suggestion: use layered validation. Run direct regressions and affected-surface tests for each repair; run full gates after grouped invariant fixes, shared-core changes, convergence checkpoints, and final exit. Permit cached results for unchanged inputs with recorded digest evidence.

9. Summaries were clear but repetitive

Structured evidence helped auditability, but repeated stable counts, prohibitions, and tool results obscured the actual round delta.

Suggestion: adopt a delta-first summary:

  1. net change;
  2. blockers closed;
  3. new risks;
  4. validation delta;
  5. remaining exit conditions.

Move stable evidence to an automatically generated appendix referenced by the summary.

10. Round contracts and lesson selection created mechanical overhead

Rewriting an unchanged contract and repeatedly rereading an unchanged lesson catalog added ceremony during waiting and small repair rounds.

Suggestion: represent the contract as persistent state with change records, rewriting it only when objective, authorization, risk boundary, or acceptance criteria change. Add risk-category indexing and session-level caching for lesson selection.

11. The round budget did not force convergence

The loop exceeded its configured round budget without an earlier methodology-level escalation.

Suggestion: trigger a convergence audit at budget thresholds. Near the limit, require one of:

  • a batched horizontal review;
  • moving non-blocking items to follow-up;
  • external adjudication.

Exceed the budget only for unresolved high-risk defects with explicit justification.

Proposed compact workflow

  1. Build a plan-to-acceptance mapping before implementation and flag unauthorized scope reductions or new gates.
  2. Deliver the mainline; on the first high-risk finding, scan the full invariant family.
  3. Pause when external input is the sole blocker.
  4. Classify review findings by evidence type and score blocking severity consistently.
  5. Use focused validation for local repairs and full validation at convergence points.
  6. Run periodic convergence reviews, then freeze the reviewed checklist.
  7. Test persisted-format compatibility with both historical and current fixtures.
  8. Use net-progress metrics and round-budget thresholds to trigger pause, batching, or adjudication.

Expected benefit

These changes should preserve the strong independent-review quality while reducing zero-progress rounds, serial discovery of adjacent issues, repeated validation cost, and time-to-delivery.

Harold-Finchwxx avatar Aug 26 '26 01:08 Harold-Finchwxx

This methodology feedback was intended for the maintainer's personal repository and has been moved to https://github.com/Harold-Finchwxx/humanize/issues/1. Closing this duplicate; apologies for the repository mix-up.

Harold-Finchwxx avatar Aug 26 '26 01:08 Harold-Finchwxx