Skip to content

docs: add headroom learned patterns to CLAUDE.md#117

Merged
smartwatermelon merged 1 commit intomainfrom
claude/docs-headroom-patterns-3f8a7c
Apr 7, 2026
Merged

docs: add headroom learned patterns to CLAUDE.md#117
smartwatermelon merged 1 commit intomainfrom
claude/docs-headroom-patterns-3f8a7c

Conversation

@smartwatermelon
Copy link
Copy Markdown
Owner

Summary

  • Adds auto-generated headroom learned patterns section to CLAUDE.md (~17k tokens/session savings)
  • Covers: Podman/containers, SSH to TILSIT, markdown linting, git hooks, GitHub CLI, shellcheck, 1Password CLI, file edit guards, plugin syncing
  • Adds nosemgrep inline suppression for 4 pre-existing IFS-tampering false positives that were blocking the Semgrep pre-commit hook
  • Adds <!-- markdownlint-disable MD036 --> for the headroom section's *~N tokens/session saved* annotations

Test plan

  • CI passes (markdownlint, shellcheck)
  • Verify nosemgrep comments don't change script behavior (comments only)
  • Confirm headroom patterns load correctly in new Claude sessions

🤖 Generated with Claude Code

Auto-generated patterns from `headroom learn` that save ~17k tokens/session
by pre-loading common command sequences and known quirks for: Podman/containers,
SSH to TILSIT, markdown linting, git hooks, GitHub CLI, shellcheck, 1Password
CLI, file edit guards, and plugin syncing.

Also adds nosemgrep inline suppression for pre-existing IFS-tampering false
positives (safe strict-mode idiom and locally-scoped IFS) that were blocking
the Semgrep pre-commit hook.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@smartwatermelon smartwatermelon merged commit 37b12f4 into main Apr 7, 2026
23 checks passed
@smartwatermelon smartwatermelon deleted the claude/docs-headroom-patterns-3f8a7c branch April 7, 2026 19:42
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