Skip to content

docs(rules): capture session-learning rules (PAL mechanics, never-fabricate ids)#331

Merged
laurigates merged 2 commits into
mainfrom
docs/rules-session-learnings
Jul 17, 2026
Merged

docs(rules): capture session-learning rules (PAL mechanics, never-fabricate ids)#331
laurigates merged 2 commits into
mainfrom
docs/rules-session-learnings

Conversation

@laurigates

Copy link
Copy Markdown
Owner

Summary

Two session-learning rules for ~/.claude/rules/:

  • multi-model-delegation.md — two new PAL mechanics: model_used in chat response metadata can mislabel the model (verify independence via provider_used; pal-mcp-server#68), and registry models can be retired upstream while still listed by listmodels (gemini-3-pro-preview 404) — pick a same-provider fallback before dispatching and re-send the identical brief.
  • never-fabricate-test-identifiers.md (new) — obtain identifiers from the system before probing (list before get); a fabricated Reddit thread URL returned 403 and was misread as an IP block when the resource never existed. Always run a known-good control before concluding access is denied.

Both land under exact_dot_claude/ (chezmoi source for ~/.claude/); chezmoi apply -v ~/.claude syncs them.

Testing

Pre-commit (trailing-whitespace, doc-reference check, gitleaks, conventional-commit) passed locally.

🤖 Generated with Claude Code

https://claude.ai/code/session_015ARaC2rDebsKVACxYBVDv8

laurigates and others added 2 commits July 17, 2026 20:16
From the softmax-rung consults (2026-07): model_used in chat response
metadata can mislabel the model (verify independence via provider_used;
pal-mcp-server#68), and registry models can be retired upstream while
still listed (gemini-3-pro-preview 404) - pick a same-provider fallback
before dispatching and re-send the identical brief.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QKLFNBBLRGSmx6z3B9EDzR
Capture the 2026-07 Reddit .json probe failure: a fabricated thread URL
returned 403 and was misread as an IP block when the resource never
existed. Rule: obtain identifiers from the system (list before get) and
always run a known-good control before concluding access is denied.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015ARaC2rDebsKVACxYBVDv8
@github-actions github-actions Bot added documentation Improvements or additions to documentation claude size/s labels Jul 17, 2026
@github-actions

Copy link
Copy Markdown
Contributor

⚠️ Broken Links Detected

Summary

Status Count
🔍 Total 170
✅ Successful 160
⏳ Timeouts 0
🔀 Redirected 0
👻 Excluded 9
❓ Unknown 0
🚫 Errors 1

Errors per input

Errors in exact_dot_claude/docs/prds/daily-catchup.PRD.md


Please fix the broken links before merging.

@laurigates
laurigates merged commit e93f6ad into main Jul 17, 2026
7 of 8 checks passed
@laurigates
laurigates deleted the docs/rules-session-learnings branch July 17, 2026 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

claude documentation Improvements or additions to documentation size/s

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant