Skip to content

AutoStory: run a story, one engine over a backend (PLZA upstream S2a) - #524

Draft
dayfine wants to merge 1 commit into
plza/upstream/s1from
plza/upstream/s2a
Draft

dayfine wants to merge 1 commit into
plza/upstream/s1from
plza/upstream/s2a

Conversation

@dayfine

@dayfine dayfine commented Nov 15, 2026

Copy link
Copy Markdown
Owner

Depends on #522

PLZA upstream chain, S2a: run a story. It adds the story engine over a backend interface (StoryBackend, StoryGame, the action registry and built-in actions, step runner, engine policy, pose concept with ZonePose), the fake backend the tests run on, segments with their save and verify policy, postcondition checks, scene judges, CommonTools/ScreenMachine, and the story-file loader. The loader keeps its dev-file span as a test seam, but the lab's dev-folder scan is left out. Everything is cut from plza/fault-sweep (24133e1) with only what PLZA AutoStory builds; console operations (run options, launch from HOME) come in S2b. Under 10k lines, so the loader stays in this PR.

Tests: StoryEngine, StoryEnginePolicy, StoryEngineRuns, StoryEngineSaveRetry, FrameCoverage, CoveredWatch, StorySegments, StorySavePolicy, SceneJudges and StoryFiles, all on the fake backend or synthetic data; the StoryStepExecutor suite gets its segment cases back. No CommandLineTests frames needed. Fork Draft CI builds and runs them.

The story engine and its backend interface, the fake backend the tests
run on, the action registry and built-in actions, segments with their
save policy, postcondition checks, scene judges, CommonTools/ScreenMachine
and the story-file loader (built-in files; the dev-file span stays as the
loader's test seam, without the lab's folder scan). From plza/fault-sweep,
with only what PLZA AutoStory builds.
@dayfine

dayfine commented Nov 15, 2026

Copy link
Copy Markdown
Owner Author

Superseded by the re-split chain #535 to #542 (S2a part, about 500-800 non-test lines each), on top of #529 to #534. The chain's last branch, plza/upstream/s2-11, has the same tree as #525's 00c6ceb. Leaving this open for reference; review the new PRs bottom-up instead.

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