Skip to content

docs(CLAUDE.md): three lessons — pygments fix landed, LLM hallucination shapes, stash pop silent-skip#356

Merged
silversurfer562 merged 1 commit into
mainfrom
docs/claude-md-lessons-2026-05-14
May 15, 2026
Merged

docs(CLAUDE.md): three lessons — pygments fix landed, LLM hallucination shapes, stash pop silent-skip#356
silversurfer562 merged 1 commit into
mainfrom
docs/claude-md-lessons-2026-05-14

Conversation

@silversurfer562
Copy link
Copy Markdown
Member

Summary

Three lessons captured from this session's work:

  1. Updated existing pygments / pymdown-extensions lesson — fix landed in #346 (bump pymdown-extensions>=10.21,<11.0 in docs extra). Companion finding: CI was never broken — only stale local venvs locked to 10.20.x via `uv.lock` hit the crash. Diagnostic note added for future troubleshooting.

  2. New: attune-author polish-pass hallucinations have six distinct shapes — empirical regression fixture from a single feature regen (ops-dashboard, 2026-05-14 via #351). Lists each shape with the concrete example, root-cause analysis (LLM filling surrounding scaffolding from priors rather than being constrained to source), and the four-intervention ladder (spec(docs): polish-fact-check — umbrella spec to reduce LLM polish-pass hallucinations attune-author#27 umbrella spec). Pattern generalizes beyond attune-author to any LLM content-generation pipeline.

  3. New: `git stash pop` silently skips overwriting tracked files — when the destination branch tracks files the stash treated as untracked. No conflict marker, no warning. Hit this session during ops-dashboard regen — 3 of 11 regenerated files silently dropped. Includes diagnostic and mitigation.

Test plan

  • No conflict markers in CLAUDE.md
  • pre-commit hooks pass
  • Pygments lesson update preserved alongside upstream additions (resolved 3-way conflict during rebase)

🤖 Generated with Claude Code

@vercel
Copy link
Copy Markdown

vercel Bot commented May 14, 2026

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

Project Deployment Actions Updated (UTC)
attune-ai Error Error May 15, 2026 0:11am
website Ready Ready Preview, Comment May 15, 2026 0:11am

@codecov
Copy link
Copy Markdown

codecov Bot commented May 14, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

…on shapes, stash pop silent-skip

- Updated the mkdocs/pygments lesson to note the fix landed in PR
  #346: pymdown-extensions>=10.21,<11.0 in the docs extra. 10.21.0
  is the upstream fix; CI was never broken, only stale local venvs
  locked to 10.20.x via uv.lock hit the crash.

- New lesson: attune-author polish-pass hallucinations have six
  distinct shapes (CLI flag with inverted semantics, private-module
  imports, See-also cross-refs, numeric counts, route paths, missing
  security callouts). Three of six actively break readers. Root
  cause: LLM filling in surrounding scaffolding from priors rather
  than being constrained to source. Four-intervention ladder lives
  in attune-author#27 umbrella spec.

- New lesson: 'git stash pop' silently skips overwriting tracked
  files when the destination branch tracks files the stash treated
  as untracked. No conflict marker, no warning. Hit this session
  during ops-dashboard regen — 3 of 11 regenerated files silently
  dropped onto a fresh branch. Diagnostic: 'git diff stash@{0} --
  <path>' after pop catches the silent skip.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@silversurfer562 silversurfer562 force-pushed the docs/claude-md-lessons-2026-05-14 branch from 02a0e7d to 3758d38 Compare May 15, 2026 00:10
@silversurfer562 silversurfer562 merged commit e8baab7 into main May 15, 2026
33 checks passed
@silversurfer562 silversurfer562 deleted the docs/claude-md-lessons-2026-05-14 branch May 15, 2026 00:37
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.

1 participant