Skip to content

[docs] docs: unbloat correction-ops.md#33375

Merged
pelikhan merged 1 commit into
mainfrom
docs/unbloat-correction-ops-6f660631c68e8ed6
May 19, 2026
Merged

[docs] docs: unbloat correction-ops.md#33375
pelikhan merged 1 commit into
mainfrom
docs/unbloat-correction-ops-6f660631c68e8ed6

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented May 19, 2026

Summary

Documentation refactoring that condenses and streamlines the CorrectionOps experimental pattern guide by consolidating verbose explanations into tighter prose, removing redundant examples, and shortening workflow descriptions while preserving all technical content.

Change Classification

Type: Documentation
Scope: Experimental patterns guide
Impact: Low
Breaking Changes: None

Files Changed

Modified

  • docs/src/content/docs/experimental/correction-ops.md
    • Condensed introduction from two paragraphs to one
    • Consolidated "When to Use" section from multiple paragraphs and bullet lists into two compact paragraphs
    • Shortened "How It Works" explanations from multiple paragraphs to one-liners
    • Streamlined example workflow descriptions, removing verbose prose
    • Converted descriptive paragraphs to brief imperative summaries for workflow pieces
    • All technical information, code examples, and diagrams remain unchanged

Technical Details

This is a documentation quality improvement with no functional changes:

  • Preserved: All technical content, code examples, diagrams, API surfaces, and configuration contracts
  • Improved: Readability and conciseness by eliminating redundant explanations
  • Maintained: Complete technical accuracy and all necessary information for users

Testing & Validation

Documentation-only change. No code, tests, or runtime behavior affected.

Commit Reference

  • 5da6491d3 - docs: unbloat correction-ops.md

Generated by PR Description Updater for issue #33375 · ● 2.8M ·

Consolidate duplicate statements about "production stays authoritative",
collapse repetitive intro/how-it-works paragraphs into tighter prose,
convert a 4-bullet rollout list to prose, and tighten verbose subsection
descriptions while preserving all code examples, the mermaid diagram,
the stable-contracts list, and all reference links.

Reduction: ~17% words, ~25% bullet points.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@github-actions github-actions Bot added automation doc-unbloat documentation Improvements or additions to documentation labels May 19, 2026
@pelikhan pelikhan marked this pull request as ready for review May 19, 2026 18:17
Copilot AI review requested due to automatic review settings May 19, 2026 18:17
@pelikhan pelikhan merged commit 8bfcc25 into main May 19, 2026
25 checks passed
@pelikhan pelikhan deleted the docs/unbloat-correction-ops-6f660631c68e8ed6 branch May 19, 2026 18:18
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR trims and consolidates the experimental CorrectionOps documentation to reduce repetition while keeping the core workflow description, examples, and reference links intact.

Changes:

  • Consolidates the intro and “When to Use” sections into tighter prose while preserving the 3-step loop and usage guidance.
  • Streamlines “How It Works” and the post-diagram explanation, removing repeated statements and tightening phrasing.
  • Shortens the “Full Workflow Pieces” subsection lead-ins while keeping the four-part breakdown and code examples.
Show a summary per file
File Description
docs/src/content/docs/experimental/correction-ops.md Reduces repetition/verbosity across the CorrectionOps explainer while preserving examples, diagram, stable contracts, and related links.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comments suppressed due to low confidence (1)

docs/src/content/docs/experimental/correction-ops.md:90

  • “Forwards stable facts…” is a sentence fragment and also uses “ops” lowercase. Consider rewriting as a full sentence (e.g., starting with “The relay forwards…”) and capitalizing “Ops” if you mean the Ops surface defined above.
Forwards stable facts and provenance into ops only — no diffs, no human-intent inference, no correctness decisions.
  • Files reviewed: 1/1 changed files
  • Comments generated: 1

That means the workflows usually stay in Ops. Early on they report, compare, and adapt from Ops without writing back to production. After promotion they can write directly to production.
A clean CorrectionOps setup has two long-lived surfaces. Production stays authoritative. Ops hosts prediction, correction intake, reporting, instruction updates, and rollout control — early on without writing back to production, later with direct writes once promoted.

Most implementations reduce to three workflow classes: a thin relay that forwards stable facts into ops, a prediction workflow that persists snapshots and writes safely, and a compare/report/decide workflow that checks later human truth and updates the system when the evidence is strong enough.
@github-actions github-actions Bot mentioned this pull request May 19, 2026
Copy link
Copy Markdown
Contributor Author

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Skills-Based Review 🧠

Applied /grill-with-docs and /zoom-out based on this documentation refactoring.

Summary

This is a well-executed compression pass that removes genuine bloat — duplicate statements, verbose subsection intros, and low-value bullet lists — while preserving all technical content (code examples, mermaid diagram, stable contracts, links). The -17% word reduction makes the document easier to scan without sacrificing accuracy.

Two inline comments flag places where the compression may have removed slightly too much scaffolding for first-time readers: the "healthy loop" characteristics and concrete use-case examples. Both are minor and optional.

Key Themes

  • Domain language preserved: CorrectionOps terminology (Production, Ops, staged, predictions, corrections) remains consistent throughout
  • Architectural clarity maintained: Two-surface model and three-workflow-class breakdown still clear
  • Pedagogical trade-off: Tighter prose assumes faster reader comprehension; some helpful repetition removed

Positive Highlights

  • Excellent duplicate removal — "Production stays authoritative" consolidated from 3× to 1×
  • Bullet-to-prose conversions — Rollout path now reads more fluidly inline
  • Complete preservation — All code, diagrams, and contracts intact
  • Consistent technical accuracy — No errors introduced during compression
  • Professional PR description — Clear bloat-type taxonomy and reduction metrics

Verdict

The compression is sound. The two inline comments are suggestions, not blockers — the doc is already improved. Approving with optional refinements noted.

🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · ● 2.6M

In a healthy CorrectionOps loop, production truth stays authoritative, predictions are saved explicitly, corrections include provenance, and diffs are built deterministically before the agent is asked to reason about them.

CorrectionOps does not require a separate evaluation repository. The normal progression is to start with `staged: true`, then use ops-managed adaptation and gated review, then enable direct production writes once the evidence is strong enough.
Unlike Reinforcement Learning from Human Feedback (RLHF), which updates model weights, CorrectionOps changes instruction files, routing rules, deterministic checks, thresholds, or rollout decisions — no separate evaluation repository required.
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[/grill-with-docs] The compressed post-mermaid sentence loses important operational characteristics that help readers understand what makes a CorrectionOps loop "healthy".

The original listed specific practices:

  • Production truth stays authoritative
  • Predictions are saved explicitly
  • Corrections include provenance
  • Diffs are built deterministically before agent reasoning

Consider restoring at least a condensed version:

In a healthy CorrectionOps loop, production truth stays authoritative, predictions are saved explicitly, corrections include provenance, and diffs are built deterministically before the agent reasons about them.

These aren't just nice-to-haves — they're the implementation checklist for the pattern.

4. rollout gate contract: what evidence or approvals are required before direct production writes are enabled

Discussion labeling, routing, moderation, prioritization, approvals, and summaries can all reuse this shape. The production object changes, but the CorrectionOps setup does not.
The production object changes across use cases, but the CorrectionOps shape does not.
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[/zoom-out] The abstraction here is cleaner but loses concrete anchoring examples that help readers connect the pattern to their own use cases.

The original explicitly listed:

  • Discussion labeling
  • Routing
  • Moderation
  • Prioritization
  • Approvals
  • Summaries

While these were mentioned earlier in the doc, repeating them here reinforces the pattern's generality with tangible scenarios. Consider keeping at least 2-3 examples inline:

The production object changes across use cases (discussion labeling, routing, moderation, prioritization), but the CorrectionOps shape does not.

This maintains the tight prose while giving readers concrete footholds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automation doc-unbloat documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants