Skip to content

docs: calibrate drafting for sufficient teaching - #1119

Open
rachaelrenk wants to merge 3 commits into
mainfrom
rrenk/drafting-teaching-calibration
Open

rachaelrenk wants to merge 3 commits into
mainfrom
rrenk/drafting-teaching-calibration

Conversation

@rachaelrenk

@rachaelrenk rachaelrenk commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Refine docs drafting and review guidance using the editing lessons from PR #1099: teach enough to make a decision or complete a task, without adding repetitive examples or unnecessary procedural detail.

This is a separate governance change based on current main. It does not include PR #1099's public documentation edits.

Changes

  • Refine AGENTS.md so examples resolve an uncertainty rather than appear automatically after every definition. Existing commands, configuration, or procedures can serve as the example.
  • Make the final edit check both excess and omission, preserving actors, actions, decisive context, and expected results where needed.
  • Align draft_docs and review-docs-pr with that balanced edit instead of adding another checklist.
  • Add four before-and-after pairs to writing-examples.md, with verbatim excerpts pinned to immutable commits. Distinguish the initial teaching draft from the later revision HYC reviewed.
  • Extend the authoring evaluation set from six to eleven cases. Preserve cases 1–6 unchanged; add the three HYC cases, a startup-skill clarification case, and an unfamiliar synthetic transfer case.
  • Add a calibration protocol that separates writer inputs from expected answers, records guidance hashes and evidence limits, and preserves original trials when a fixture needs correction.

No templates, CI, signal thresholds, model selection, Scorers, or live factory configuration change.

Calibration evidence

The case manifest and protocol define the reproducible inputs and grading criteria. The linked conversation below contains the run handoff and inspected outputs.

Two writers received identical task packets under baseline and revised guidance. A separate grader evaluated anonymized pairs:

  • Cases 7–9, the three known HYC examples: the grader preferred revised guidance for removing repetition, narrowing the example, and combining related actions without losing them.
  • Case 11, the unfamiliar synthetic task: the grader preferred revised guidance for keeping lookup content focused while retaining task-local permission and lifecycle context.
  • Case 10 initially exposed an underspecified test task and a readiness assertion mismatched to the skill-author audience. Preserve that initial trial; do not reinterpret it as passing.
  • A separate revised-input follow-up supplied the small test task and corrected the readiness assertion. Both versions passed the revised required-understanding assertions. The grader slightly preferred the baseline's explanation of why the fix belongs in the skill.

These are smoke-test observations, not proof of factory-wide improvement. There was one trial per version, a shared writer context per version, and shared grader context. Cases 7–10 are taught examples, not held-out evidence. Concrete model resolution was not exposed by the launch tool, so same-model execution was not independently established. The startup follow-up resumed existing contexts and is not an independent replication. Human review of the paired outputs remains pending. Local raw packets, outputs, hashes, and grades are retained outside Git; they are not a portable committed benchmark bundle.

Validation

  • JSON parses; all eleven case IDs are unique; the original six cases are unchanged.
  • All four historical draft inputs and eight reference quotations match their pinned Git blobs.
  • YAML frontmatter parses for both changed skills.
  • Both local links between the example reference and calibration protocol resolve.
  • git diff --check passes.
  • Retained governance suites pass: editorial guidance 23/23, usability guidance 14/14, manifest 2/2, and compression contract 12/12.
  • PR-body integrity and documentation-risk contract checks pass.
  • Trunk is unavailable locally.
  • Public-site build and product execution are not rerun for this governance-only diff; no public page or product behavior changes.

Usability validation

Reduced scope: internal governance-only workflow validation, not a public-product walkthrough. The authoring smoke test exercises deleting redundant examples, narrowing examples, preserving workflow actions, supplying causal context, and transferring the guidance to an unfamiliar task. Known-case success is kept separate from transfer evidence and mechanical word counts. Independent governance review is complete; this PR does not claim universal improvement or completed human calibration review.

Independent review

Read-only review at 690bb15c found that the calibration paragraph removed explicit "less-coached" wording required by an existing editorial invariant. Restored the wording without changing the test in 3af13dd189176a8d8bca32cfae518d9de04694fe. Independent retest at that head passed all 51 governance tests and found no remaining issues. This is agent-generated review evidence, not a human approval.

The writer calibration remains the smoke test of the original guidance package at 690bb15c; the subsequent commit only restores explicit safeguard wording. No additional writer trial is implied.

Unverified claims

No new public product, availability, UI, CLI, permission, or billing claim is introduced. Historical product excerpts illustrate editorial choices rather than establish shipped behavior. The effectiveness limits of the proposed guidance are recorded above.

Agent context

Conversation, editing decisions, and calibration handoff.

Documentation risk

Risk: engineering-review-required
Rationale: Changes agent drafting and review behavior; conservatively requires review despite no new public product claims.
Source files consulted: AGENTS.md, .agents/skills/draft_docs/SKILL.md, .agents/skills/review-docs-pr/SKILL.md, .agents/references/writing-examples.md, PR1099@69ac9e62, PR1099@fdb19ec7
Engineering review status: pending
Docs override: none

No single engineering owner was resolved for this Docs-team governance change; no reviewer is automatically requested.

Co-Authored-By: Warp agent@warp.dev

Clarify purposeful examples and balanced compression review. Add source-pinned before-and-after examples and authoring calibration cases from PR #1099.

Co-Authored-By: Warp <agent@warp.dev>
@vercel

vercel Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
docs Ready Ready Preview Nov 30, 2026 11:46pm UTC

Request Review

@cla-bot cla-bot Bot added the cla-signed label Nov 30, 2026
@rachaelrenk rachaelrenk added warpy-factory Opened by the Warp factory agents and removed cla-signed labels Nov 30, 2026
Restore explicit transfer-task wording required by the existing editorial guidance tests without changing those tests.

Co-Authored-By: Warp <agent@warp.dev>
@cla-bot cla-bot Bot added the cla-signed label Nov 30, 2026
@rachaelrenk
rachaelrenk marked this pull request as ready for review November 30, 2026 23:40
@rachaelrenk rachaelrenk self-assigned this Nov 30, 2026

@rachaelrenk rachaelrenk left a comment

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.

Agent-generated independent review

Read-only governance review of 3af13dd189176a8d8bca32cfae518d9de04694fe. Found: 0 critical, 0 important, 0 suggestions, 0 nits. Recommendation: Approve. This COMMENT records agent review evidence, not human approval.

The initial review at 690bb15c found a retained editorial invariant failure: the example reference removed explicit less-coached transfer-task wording. The follow-up restores that wording without changing the tests. Independent retest passed editorial guidance 23/23, usability guidance 14/14, manifest 2/2, compression contract 12/12, and git diff --check.

Usability validation

Reduced scope for six internal governance/reference/calibration files. Verified coherent example-selection and compression guidance, immutable quotation provenance, preservation of cases 1–6 and signal safeguards, separation of writer inputs from grading answers, and separately versioned fixture corrections. No public-product walkthrough or availability verification applies. The existing authoring calibration remains a bounded smoke test of the earlier guidance package; no new writer trial or factory-wide effectiveness claim is implied. Human calibration review remains pending.

@warp-agent-staging warp-agent-staging Bot added the factory:docs-factory Label associated to the "docs-factory" factory label Nov 30, 2026

@warp-agent-staging warp-agent-staging Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Reviewed the six-file governance and calibration diff at 7e98769. All 51 governance tests, quotation/fixture provenance checks, and 11/11 CI checks pass with no findings.

Responding as Docs Factory (V2): Open session · View in factory

This branch was successfully deployed

1 active deployment
Preview — 7e987698 Deployed Nov 30, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed factory:docs-factory Label associated to the "docs-factory" factory warpy-factory Opened by the Warp factory agents

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant