Skip to content

Contract PartySpec, the party an adventure is written for - #146

Merged
mmacy merged 1 commit into
mainfrom
contract-party-spec
Oct 5, 2026
Merged

mmacy merged 1 commit into
mainfrom
contract-party-spec

Conversation

@mmacy

@mmacy mmacy commented Oct 5, 2026

Copy link
Copy Markdown
Owner

This is the contract for chunk party-spec. It adds an optional Adventure.party, of type PartySpec: the character levels an adventure is written for and, when the module says, the party size. Nothing in the engine reads it. re-pod's FRUA playtest uses it to make a party that fits a module, and osr-forge will fill it from the module.

The field is additive, so SCHEMA_VERSION doesn't move. The validator is a stub. Its tests are marked xfail with raises=NotImplementedError, and so is the PartySpec docstring example in both docs-example tests.

The same field will also be released as osrlib 1.8.0, from a branch cut from the v1.7.1 tag.

https://claude.ai/code/session_01YawzxEyAff8ovZSDzNmMAK

Adds Adventure.party, an optional PartySpec of character levels and party
size. Nothing in the engine reads it. re-pod's playtest needs it to make a
party that fits a module, and osr-forge will fill it from the module.

Claude-Session: https://claude.ai/code/session_01YawzxEyAff8ovZSDzNmMAK
@mmacy
mmacy merged commit c1e74b1 into main Oct 5, 2026
5 checks passed
@mmacy
mmacy deleted the contract-party-spec branch October 5, 2026 02:02
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