René's URL Explorer Experiment


Title: feat(id): record world sessions to replayable fixtures by dezren39 · Pull Request #239 · developing-today/code · GitHub

Open Graph Title: feat(id): record world sessions to replayable fixtures by dezren39 · Pull Request #239 · developing-today/code

X Title: feat(id): record world sessions to replayable fixtures by dezren39 · Pull Request #239 · developing-today/code

Description: Summary Record a world's retained event history with a capability (id world record) into a JSON Lines fixture: a header with the module hash, completeness, and the host's published records, then one line per event. Replay a fixture offline against a module (id world replay --module … --fixture … --seed …). It prints a verdict first (records match, records differ, or records not compared) and exits nonzero only on a mismatch. Strict decode: exact key sets, version 1 only, contiguous sequences, no blank lines. Design record: doc/2026-10-17T09-00-00Z_feature_world_fixtures/. Stacked on #234. Behaviour A fixture holds only what the recording capability can already read through events_after and records. It carries no seed and no authority. Replay starts at the last ProgramInstalled event. A window that spans a reinstall is refused. A history trimmed by retention is recorded as incomplete and replayed only with --allow-partial, and then the records are reported as not compared. The --module supplied at replay is the code that runs. A fixture carries inputs and expected records, not code. Known limits (see the design record) Host events are not in the event stream. Presence, capability results and ticks reach the program but are not retained in events_after, so a fixture cannot contain them. Programs that consume them (for example territory) replay to Mismatch. The records check catches this; a fixture cannot repair it. Retention is 1024 events by default, so only shorter worlds produce complete fixtures. Replay uses default sandbox limits. A world that runs with a custom resource profile may trap on replay. Security findings (not changed here) Joiners can read the install seed. events_after and the snapshot serialize ProgramInstalled { seed } to any join capability, and DownloadModule gives joiners the module. A program whose hidden state derives from init(seed) would leak that state. Pre-existing. Decision needed: redact the seed in the client projection (replication would need a separate path), or document seeds as public. Join-only participants read chat. Recorded on the roles PR (#234) in its Known gap section. Validation cargo test --lib --no-default-features --features sandbox,world world_fixture: 15 passed. cargo test --lib --no-default-features --features sandbox,world test_cli_parse_world: 10 passed. cargo test --lib (default features): 1347 passed, 4 ignored (pre-existing). Iroh round trip: recording_over_iroh_replays_to_the_live_records records a live tic-tac-toe over WorldClient and replays it to Match. cargo fmt --check: clean. Clippy via the rustup 1.97.0 cargo exits 0; plain cargo clippy fails for a toolchain mismatch (E0514) that predates this change. Not verified: id world record against a running id serve process. Summary by CodeRabbit New Features Added commands to record a world’s retained history and records to a JSON Lines fixture, then replay it offline with a chosen seed. Replay checks the recorded module and compares results when the fixture is complete and includes expected records. Partial fixtures require an explicit option and are not compared. Documentation Added guidance on fixture recording and replay, including known limitations such as excluded host events and incomplete histories.

Open Graph Description: Summary Record a world's retained event history with a capability (id world record) into a JSON Lines fixture: a header with the module hash, completeness, and the host's published records...

X Description: Summary Record a world's retained event history with a capability (id world record) into a JSON Lines fixture: a header with the module hash, completeness, and the host's published...

Opengraph URL: https://github.com/developing-today/code/pull/239

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.3

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:78397968-e49c-14c4-b672-4dbbee3a83ed
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9D76:32E0F9:A0479E:CE593E:6B0633FA
html-safe-nonce86e465dc3eacd44b0a58d4ca1a43084a16b94e7543df367da09676805c71eb49
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RDc2OjMyRTBGOTpBMDQ3OUU6Q0U1OTNFOjZCMDYzM0ZBIiwidmlzaXRvcl9pZCI6IjExMzM0OTI5MzgzNzExMTgwNzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacf40e8aae05ba8b9c1e47ddc61597fa45c293e592abcaebb669f83ff4ec4d738d
hovercard-subject-tagpull_request:4899733010
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/developing-today/code/pull/239/files
twitter:imagehttps://avatars.githubusercontent.com/u/11225574?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/11225574?s=400&v=4
og:image:altSummary Record a world's retained event history with a capability (id world record) into a JSON Lines fixture: a header with the module hash, completeness, and the host's published records...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonec3584c853cd39700ecff6e2cf8364295ffdb5313e571046c41cd2479270f7df0
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/developing-today/code git https://github.com/developing-today/code.git
octolytics-dimension-user_id26439447
octolytics-dimension-user_logindeveloping-today
octolytics-dimension-repository_id627308783
octolytics-dimension-repository_nwodeveloping-today/code
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id627308783
octolytics-dimension-repository_network_root_nwodeveloping-today/code
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9eb3bb1597d09170a5f282cd38ae376dee1a5ec1
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/developing-today/code/pull/239/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeveloping-today%2Fcode%2Fpull%2F239%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeveloping-today%2Fcode%2Fpull%2F239%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=developing-today%2Fcode
Reloadhttps://github.com/developing-today/code/pull/239/files
Reloadhttps://github.com/developing-today/code/pull/239/files
Reloadhttps://github.com/developing-today/code/pull/239/files
developing-todayhttps://github.com/developing-today
codehttps://github.com/developing-today/code
Codehttps://github.com/developing-today/code
Issues1.1k (1.1k)https://github.com/developing-today/code/issues
Pull requests151 (151)https://github.com/developing-today/code/pulls
Discussionshttps://github.com/developing-today/code/discussions
Actionshttps://github.com/developing-today/code/actions
Projectshttps://github.com/developing-today/code/projects
Wikihttps://github.com/developing-today/code/wiki
Security and qualityhttps://github.com/developing-today/code/security
Insightshttps://github.com/developing-today/code/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fdeveloping-today%2Fcode%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fdeveloping-today%2Fcode%2Fissues%2Fnew%2Fchoose
dezren39https://github.com/dezren39
mainhttps://github.com/developing-today/code/tree/main
platform-world-fixtureshttps://github.com/developing-today/code/tree/platform-world-fixtures
Conversation 4 https://github.com/developing-today/code/pull/239
Commits 5 https://github.com/developing-today/code/pull/239/commits
Checks 4 https://github.com/developing-today/code/pull/239/checks
Files changed https://github.com/developing-today/code/pull/239/files
Please reload this pagehttps://github.com/developing-today/code/pull/239/files
feat(id): record world sessions to replayable fixtures https://github.com/developing-today/code/pull/239/files#top
Show all changes 5 commits https://github.com/developing-today/code/pull/239/files
49432cc feat(id): record world sessions to replayable fixtures dezren39 Oct 17, 2026 https://github.com/developing-today/code/pull/239/commits/49432cca75b75b9f6c7c462d2ad5380a42573df3
7c16094 fix(id): keep running Nix checks after one fails dezren39 Oct 17, 2026 https://github.com/developing-today/code/pull/239/commits/7c160948a700439079e6670cfe3b719da053749a
096a051 Merge main into platform-world-fixtures dezren39 Oct 18, 2026 https://github.com/developing-today/code/pull/239/commits/096a05134dc988b70bbb69a205a685b6934a1dd4
f9b0b70 Merge main into platform-world-fixtures dezren39 Oct 18, 2026 https://github.com/developing-today/code/pull/239/commits/f9b0b700f043d742f27044940c40ebbfba9790cf
6d86197 Merge main into platform-world-fixtures dezren39 Oct 18, 2026 https://github.com/developing-today/code/pull/239/commits/6d86197768c0376161681c2c0e2e05b118e988e5
Clear filters https://github.com/developing-today/code/pull/239/files
Please reload this pagehttps://github.com/developing-today/code/pull/239/files
Please reload this pagehttps://github.com/developing-today/code/pull/239/files
phase-9-portable-platform.md https://github.com/developing-today/code/pull/239/files#diff-df61b6ffb4c8d9436134c6ffe1cf8af17d7d44f787eb5238fa3d642f9073b9db
2026-10-17T09-00-00Z_feature_world_fixtures.md https://github.com/developing-today/code/pull/239/files#diff-596251faad451eb18c5a61cdc83de573be32caa553b5ae0712e3decee9b65e8d
cli.rs https://github.com/developing-today/code/pull/239/files#diff-64af76883941ef31fdcd64c76b079c71de47525627c5fa5d17fd0090e8d82121
world.rs https://github.com/developing-today/code/pull/239/files#diff-ce8fd2d39aba22beb5571dbe19e5124eaeb25dd91ecd0d2c3d2a51e21c211483
lib.rs https://github.com/developing-today/code/pull/239/files#diff-7480c1171c29275c34a8ceed8390a55a009c6741fb2f18b529f51642b0c79772
world_fixture.rs https://github.com/developing-today/code/pull/239/files#diff-0d0472f5053316b79a97a16ed749a1e5611a347f1efef7d724261dc5096189e2
world_net.rs https://github.com/developing-today/code/pull/239/files#diff-f83254242b99538c652ad58ba97c0536dac0d25d3843a3160b108836a6497134
.opencode/plans/phase-9-portable-platform.mdhttps://github.com/developing-today/code/pull/239/files#diff-df61b6ffb4c8d9436134c6ffe1cf8af17d7d44f787eb5238fa3d642f9073b9db
View file https://github.com/developing-today/code/blob/6d86197768c0376161681c2c0e2e05b118e988e5/.opencode/plans/phase-9-portable-platform.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/developing-today/code/pull/239/{{ revealButtonHref }}
https://github.com/developing-today/code/pull/239/files#diff-df61b6ffb4c8d9436134c6ffe1cf8af17d7d44f787eb5238fa3d642f9073b9db
https://github.com/developing-today/code/pull/239/files#diff-df61b6ffb4c8d9436134c6ffe1cf8af17d7d44f787eb5238fa3d642f9073b9db
...09-00-00Z_feature_world_fixtures/2026-10-17T09-00-00Z_feature_world_fixtures.mdhttps://github.com/developing-today/code/pull/239/files#diff-596251faad451eb18c5a61cdc83de573be32caa553b5ae0712e3decee9b65e8d
View file https://github.com/developing-today/code/blob/6d86197768c0376161681c2c0e2e05b118e988e5/doc/2026-10-17T09-00-00Z_feature_world_fixtures/2026-10-17T09-00-00Z_feature_world_fixtures.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/developing-today/code/pull/239/{{ revealButtonHref }}
pkgs/id/src/cli.rshttps://github.com/developing-today/code/pull/239/files#diff-64af76883941ef31fdcd64c76b079c71de47525627c5fa5d17fd0090e8d82121
View file https://github.com/developing-today/code/blob/6d86197768c0376161681c2c0e2e05b118e988e5/pkgs/id/src/cli.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/developing-today/code/pull/239/{{ revealButtonHref }}
https://github.com/developing-today/code/pull/239/files#diff-64af76883941ef31fdcd64c76b079c71de47525627c5fa5d17fd0090e8d82121
https://github.com/developing-today/code/pull/239/files#diff-64af76883941ef31fdcd64c76b079c71de47525627c5fa5d17fd0090e8d82121
https://github.com/developing-today/code/pull/239/files#diff-64af76883941ef31fdcd64c76b079c71de47525627c5fa5d17fd0090e8d82121
https://github.com/developing-today/code/pull/239/files#diff-64af76883941ef31fdcd64c76b079c71de47525627c5fa5d17fd0090e8d82121
Please reload this pagehttps://github.com/developing-today/code/pull/239/files
Please reload this pagehttps://github.com/developing-today/code/pull/239/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.