Skip to content

Refresh docs and LLM prompts; add game-analysis skill#415

Merged
ejfn merged 2 commits into
mainfrom
ejfn/add-simulation-log
Jun 1, 2026
Merged

Refresh docs and LLM prompts; add game-analysis skill#415
ejfn merged 2 commits into
mainfrom
ejfn/add-simulation-log

Conversation

@ejfn
Copy link
Copy Markdown
Owner

@ejfn ejfn commented Jun 1, 2026

Summary

  • LLM prompt fixes — fewer invalid first attempts (pair counts shown in the hand; de-echoed JSON example; general follow-suit rule) and sharper point play (contribute biggest spare points on a locked teammate win; ruff for an opponent's points instead of sluffing them).
  • Docs overhaul — stop docs from mirroring code (the main drift source) and fix real errors: README (stale versions, optional LLM players, trimmed fluff), AI_SYSTEM (LLM layer added; false DuckDB claim, invented metrics, 2025 changelog, mermaid diagrams, duplicated hierarchy, exact pseudocode all removed), GAME_RULES (kitty multiplier 2^(pairs+1), shutout +3 ranks), MULTI_COMBO (stale signatures → concept map), VERSIONING (broken path, de-mirrored jq values).
  • game-analysis skill — relocates the log-event schema into a new skill that wraps the repo-root analysis/ pipeline (analysis/ left in place). Removes the standalone schema doc and the stale LLM_AI_INTEGRATION proposal; adds the LLM_GAME_STATE_SIGNALS future-work note.
  • Housekeeping — remove the throwaway analysis log; gitignore .vscode/.

Guiding principle: docs hold concepts/rules/"why"; code stays the source of truth for signatures, constants, and field schemas.

🤖 Generated with Claude Code

ejfn and others added 2 commits June 1, 2026 18:05
LLM prompt fixes (fewer invalid first attempts, sharper point play):
- Hand display shows pair counts; the JSON example no longer seeds a
  hallucinated pair; a pair is only valid when the card shows a count.
- Add the general follow-suit obligation to the fixed rules.
- Contribute biggest spare points (incl. K) on a locked teammate win,
  keeping only a live boss; align the seat-guidance bullet.
- Ruff for an opponent's points; never sluff a 5/10/K into a lost trick.

Docs overhaul (stop mirroring code, the main drift source, and fix errors):
- README: drop stale versions, surface optional LLM players, trim
  grandiosity/redundancy, remove Future Enhancements.
- AI_SYSTEM: add the LLM trick-play layer; remove the false DuckDB claim,
  invented metrics, the 2025 changelog, mermaid diagrams, the duplicated
  hierarchy, and exact scoring pseudocode; fix constants/overclaims.
- GAME_RULES: correct the kitty multiplier (2^(pairs+1)) and shutout (+3).
- MULTI_COMBO: replace stale code signatures with a concept map + pointers.
- VERSIONING: fix the broken path; de-mirror the dev-client jq values.

Housekeeping:
- Move the log-event schema into a new game-analysis skill (wraps the
  repo-root analysis/ pipeline); remove the standalone doc and the stale
  LLM_AI_INTEGRATION proposal; add the LLM_GAME_STATE_SIGNALS future-work note.
- Remove the throwaway analysis log; gitignore .vscode/.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@ejfn ejfn merged commit 1ad04fd into main Jun 1, 2026
1 check passed
@ejfn ejfn deleted the ejfn/add-simulation-log branch June 1, 2026 11:12
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