Skip to content

docs: compose & theme-scaling graphics + README sections (0.23.2)#5

Merged
sligara7 merged 1 commit into
mainfrom
docs/compose-and-theme-scaling-graphics
Jun 6, 2026
Merged

docs: compose & theme-scaling graphics + README sections (0.23.2)#5
sligara7 merged 1 commit into
mainfrom
docs/compose-and-theme-scaling-graphics

Conversation

@sligara7

@sligara7 sligara7 commented Jun 6, 2026

Copy link
Copy Markdown
Owner

Summary

Adds two new diagrams to the GitHub/PyPI page and surfaces both concepts in the README. Docs-only patch release (0.23.2) — needed because the PyPI page only re-reads the README when a new version is published.

New graphics (assets/, same dark style as existing assets)

  • compose.svg — lego-style components snapping onto the ruleset via typed set/add/union contributions; because each contribution keeps its target node's id, one snap-in recomputes the whole downstream subtree.
  • theme-scaling.svg — one computation graph re-skinned per setting via ThemeScalingLayer: the same plate node emerges as AC 18 (traditional/modern, re-flavored) or AC 19 (sci-fi/steampunk) through input_overrides, lookup_overrides, and display-only flavor_renames.

All numbers in both diagrams were verified against the live engine (armor_base_ac, PREDEFINED_THEME_SCALING).

README

  • New "Composable — snap mini-graphs onto the ruleset" section.
  • New "Re-skin for any setting — theme scaling" section — theme scaling was previously undocumented in the README.
  • Both sections include a runnable, verified snippet; plus an apply_theme_scaling / ThemeScalingLayer row in the feature table.

Release bookkeeping

  • Version bumped to 0.23.2 in pyproject.toml + __init__.py; CHANGELOG [0.23.2] section + compare links.
  • No code changes. 1575 tests pass, ruff clean, build + twine check green.

🤖 Generated with Claude Code

….23.2)

Two new diagrams for the GitHub/PyPI page, matching the existing dark asset
style (all values verified against the engine):
- assets/compose.svg — lego-style components snapping onto the ruleset via
  typed set/add/union contributions; one snap-in cascades downstream.
- assets/theme-scaling.svg — one computation graph re-skinned per setting via
  ThemeScalingLayer (input_overrides, lookup_overrides, display-only
  flavor_renames); same plate node -> AC 18/18/19/19 across themes.

README gains a "Composable" section and a "Re-skin for any setting — theme
scaling" section (theme scaling was previously undocumented in the README),
each with a verified runnable snippet, plus a feature-table row. Docs-only
patch release so the graphics reach the (per-version-frozen) PyPI page.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@sligara7
sligara7 merged commit 7896d37 into main Jun 6, 2026
4 checks passed
@sligara7
sligara7 deleted the docs/compose-and-theme-scaling-graphics branch June 6, 2026 11:22
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