mirror of
https://github.com/openprose/prose.git
synced 2026-09-19 05:55:05 +08:00
9248d949e7
The open-prose skill ships as a plain folder, so everything under skills/open-prose/examples/ reaches every install. Each runtime example shipped a committed replay/ state-dir (around 480 binary world-model files), a generator, and a test suite wired to the workspace through a dist alias with no local package.json. That machinery is internal validation, not the template a user lifts: it cannot run from a copied folder, and it shipped generated artifacts nobody should copy. Keep the shipped examples to what a user actually adapts, and move the validation into the repo's test tree: - Move each example's tests, generator, and committed replay/ into tests/open-prose/examples/<name>/. The shipped example is now its .prose contracts under src/, a README, and a .gitignore. - Re-point the vitest include and the test scripts; the byte-deterministic offline coverage runs unchanged, just rooted under tests/. - Rewrite the example READMEs to point at the reactor CLI for producing and replaying a run, and drop the stale committed-fixture sections. - Update the examples-gate workflow description to match the new layout. No language, CLI, or runtime behavior changes, and the example contracts are untouched. Verified with the offline gate (REACTOR_OFFLINE=1): the conformance suite, the relocated example tests, and the eval harness all pass.