Skip to content

feat(sandbox-web): port route learning store - #1221

Open
PurpleCHOIms wants to merge 2 commits into
feat/rust-sandbox-web-core-prfrom
feat/sandbox-web-learning
Open

PurpleCHOIms wants to merge 2 commits into
feat/rust-sandbox-web-core-prfrom
feat/sandbox-web-learning

Conversation

@PurpleCHOIms

Copy link
Copy Markdown
Member

Why

Port Decepticon OSS's local web sandbox to Rust in verified units. The route learning store is independent of HTTP transport and can be compared before the engine switches.

What changed

  • Add LearningStore with the Python JSON format, 30-day TTL, 500-entry cap, success counts and two-strike eviction.
  • Preserve source-recorded key, failure and timestamp behavior in five Rust integration tests.
  • Ignore the crate's generated target directory and document the local gate.

Scope

Stacked on #1220. The active Python sandbox engine and Docker image remain in use. No OSS package release or user data migration.

Blast Radius

Only runtime/sandbox-web, its README, the root CHAGELOG.md, and the verification record.

Verification

Local Rust 1.100 cargo test --locked --offline --all-targets: 31 library and five integration tests passed. All-targets Clippy with -D warnings, rustfmt, and git diff --check passed. Python source outputs were recorded with a fixed clock. No live fetch or Docker cutover is claimed.

This branch has not been deployed

No deployments
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