Skip to content

Plan content epochs — slices S129–S135 - #586

Merged
The-Running-Dev merged 1 commit into
mainfrom
plan-content-epochs
Oct 9, 2026
Merged

The-Running-Dev merged 1 commit into
mainfrom
plan-content-epochs

Conversation

@The-Running-Dev

Copy link
Copy Markdown
Owner

Appends seven slices to design/30-slices.md for content epochs (16-content-epochs.md, Revision 2, #584). This PR changes the plan only. No code changes.

Slice Delivers
S129 Every state resolves content by its own (campaignId, campaignVersion). Adds EngineHost.archive and createGame(config, version?), and deserialize now rejects a version that does not resolve (closes S125.5)
S130 LoggedEntry, Engine.adoptContent steps 0–8, formatVersion: 2, the C26 checks, and §14 harness replay across an epoch, proven on a test kind
S131 createContentArchive: validated publish, content digest, content_version_conflict, frozen copies, and the channel
S132 Story-graph adoptContent: the §8.1 additive rule, including the F2 node condition
S133 SessionHost.content: adoption at submitAction and resumeSession, and the C27 getStrings union
S134 loadGame of an archived epoch without migration, LoggedMigration, and branchSession across epochs
S135 Replay oracle: AdoptionSubmission and AdoptionDecision, the widened campaign_version_missing, and one corpus fixture that crosses an epoch

Ordering. S129 comes first because adoption needs resolve-by-state. S130 carries the riskiest assumption, that replay stays byte-identical across an epoch while v1 states are unchanged. It is proven before any shipped kind or host depends on it.

Verified: ./build/ConvertTo-HumanDocumentation.ps1 regenerated engine/TODO.md. ./build/Test-Documentation.ps1 passed, including the drift check. git diff --check is clean. The engine suite did not run because no code changed.

Seven vertical slices against the Revision 2 contract: resolve-by-state first, then logged
adoption proven on a test kind (the replay-exactness risk) before the archive, the story-graph
rule, the session store's adoption points, saves and branches, and the replay oracle.
@The-Running-Dev
The-Running-Dev merged commit 8593d1d into main Oct 9, 2026
8 checks passed
@The-Running-Dev
The-Running-Dev deleted the plan-content-epochs branch October 9, 2026 09:41
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