Skip to content

Scrub proposal/spec refs from example walk-throughs#121

Merged
chris-colinsky merged 1 commit into
mainfrom
refactor/scrub-proposal-refs-from-walk-throughs
Jun 2, 2026
Merged

Scrub proposal/spec refs from example walk-throughs#121
chris-colinsky merged 1 commit into
mainfrom
refactor/scrub-proposal-refs-from-walk-throughs

Conversation

@chris-colinsky

Copy link
Copy Markdown
Member

Summary

Extends the existing feedback_examples_no_spec_refs.md rule (which targets examples/*/main.py source comments) to the docs/examples/ walk-through pages. Drops every proposal NNNN, spec §N.N.N, and spec v0.NN.0 reference from four affected files. Concept-link targets stay intact; only the parenthetical citation labels and explanatory phrases pointing at spec sections come out.

Replacement link text uses descriptive user-facing language:

Before After
[proposal 0031 + the no-double-export claim] [no double-export between them]
[proposal 0043, observability §8.4.1] [deriving domain dicts from State]
[proposal 0034 + 0041 reserved keys] [caller metadata and reserved keys]
ships with proposal 0034's caller-metadata work is part of the caller-metadata API

Where the spec reference was structurally redundant (the next sentence had a concept link doing the same job), the citation phrase comes out entirely without a replacement (fan-out-with-retry.md).

Same spirit as the rename PR's "drop the NN- prefix from link text" pass: spec-process artifacts don't belong in user-facing docs; the underlying concept pages do.

Files changed

  • docs/examples/chat-with-multimodal.md
  • docs/examples/fan-out-with-retry.md
  • docs/examples/langfuse-observability.md
  • docs/examples/production-observability.md

Test plan

  • git grep -nE 'proposal [0-9]{4}|spec v[0-9]|§[0-9]\.|spec §' docs/examples/ returns zero matches
  • uv run mkdocs build --strict clean (no broken intra-docs links)
  • Each rewritten link target manually verified to still point at a useful concept page

Extends feedback_examples_no_spec_refs.md (which targets example
source files) to the docs/examples/ walk-throughs. Drops every
``proposal NNNN``, ``spec §N.N.N``, and ``spec v0.NN.0`` reference
from four files; concept-link targets stay intact, only the
parenthetical citation labels and explanatory phrases pointing at
spec sections come out. Replacement link text uses descriptive
user-facing language ("no double-export between them", "deriving
domain dicts from State", "caller metadata and reserved keys",
"the caller-metadata API").

Affected files:

- docs/examples/chat-with-multimodal.md
- docs/examples/fan-out-with-retry.md
- docs/examples/langfuse-observability.md
- docs/examples/production-observability.md

Same spirit as the rename PR's "drop the NN- prefix from link
text" pass: spec-process artifacts don't belong in user-facing
docs; the underlying concept pages do. Future example walk-
throughs should follow the same rule from the start.
Copilot AI review requested due to automatic review settings June 2, 2026 16:43

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Extends the project’s “no spec/proposal references in examples” documentation policy to the docs/examples/ walkthrough pages by removing parenthetical citations (proposal/spec section/version references) while keeping the underlying concept links intact.

Changes:

  • Removes proposal NNNN, spec §…, and spec v… references from four walkthrough pages.
  • Replaces citation-style link text with user-facing descriptive phrasing (or drops the phrase when redundant).
  • Reflows a few sentences/line wraps to keep the prose readable after citation removal.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
docs/examples/production-observability.md Removes proposal/spec citations and replaces link text with descriptive concept phrasing.
docs/examples/langfuse-observability.md Rewords a sentence to remove proposal attribution while preserving meaning.
docs/examples/fan-out-with-retry.md Drops a spec-resume citation clause, leaving the explanation supported by concept links below.
docs/examples/chat-with-multimodal.md Removes proposal/spec version parenthetical from the “What it teaches” bullet and reflows text.

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

@chris-colinsky chris-colinsky merged commit dfd71e0 into main Jun 2, 2026
7 checks passed
@chris-colinsky chris-colinsky deleted the refactor/scrub-proposal-refs-from-walk-throughs branch June 2, 2026 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants