Skip to content

feat(api): add bounded transport sessions for embedded consumers - #48

Merged
MrScripty merged 2 commits into
mainfrom
feat/public-simulation-api
Oct 14, 2026
Merged

MrScripty merged 2 commits into
mainfrom
feat/public-simulation-api

Conversation

@MrScripty

@MrScripty MrScripty commented Oct 13, 2026 •

Copy link
Copy Markdown
Owner

Embedded Rust consumers can now own a bounded full-box transport session, submit existing liquid/source/force/boundary controls, and inspect immutable constructor or accepted snapshots with source/run identity, units, capabilities, owner stamps, fields and reports. Cooperative deadlines/cancellation preserve the last accepted publication; stop is terminal, rejected steps can retry, and successful steps consume an explicit quota.

This is the transport milestone of the broader API effort. Existing dense3D bytes and fixed-case v2 accepted-controls publication remain unchanged. Includes executable headless JSONL and engine-neutral game-loop examples. Material/SPH and AI-provider composition await the other workers' accepted contracts; quantitative PR #47 at 1923d5b has been inspected, and the plan explicitly reuses its ParticleDiagnostic/accessor with separate evaluation/publication stages; the plan specifies owners and integration gates. Godot bindings and runtime support are not claimed.

Validation: 14 library tests + 5 API integration tests passed after deterministic clock testing; strict default/core Clippy, formatting, parallel session/dense3D contracts and both examples passed. Python dense3D suite: 39 tests, one environment-gated skip. Independent reviewer found no blocking issue. Broad core/default suites completed: 329/337 passed, zero failures; these began before the private clock-test refactor, which then passed final default (19) and parallel (38) focused/library checks. Full commands and limits are in the ledger.

Based on main 2209012. Standards reviewed at MrScripty/Coding-Standards 188beda1fa477d21d576c233dd8c7f4c4c267d23; source review is not claimed as Standards Engine approval. No new dependencies, network services, physics algorithms, renderer or provider implementation. GPU, desktop, Godot, target-device timing and downstream Tuldok adoption remain untested. No real-time guarantee; no merge or deploy.

@coderabbitai

coderabbitai Bot commented Oct 13, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@MrScripty
MrScripty merged commit dd6936f into main Oct 14, 2026
10 of 11 checks passed
@MrScripty
MrScripty deleted the feat/public-simulation-api branch October 16, 2026 20:13
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