Repository navigation
Conversation
This was referenced Aug 24, 2026
Connect the existing PostgreSQL/UDS worker path to the development Firecracker executor using one bounded deployment-configured C artifact. Match source digest, size, media type, and runtime digest before boot; compile and run fixed argv inside the guest; and let the host accept only the configured output digest. Reuse the validated algorithm-c kernel command line and 256 MiB machine shape, retain idempotent teardown, and add a real-process KVM test that verifies the persisted Firecracker provenance and run evidence. Refs: FR-ARTIFACT-001, FR-EVAL-001, FR-JUDGE-001, FR-JUDGE-002, FR-RUNTIME-001, FR-RESULT-001, ACC-P0-001, ACC-P0-005, ACC-P0-008, ACC-P0-009, ACC-P0-010, ACC-P0-016, ADR-0005, RISK-EXEC-001 Tests: PostgreSQL 18.6-backed OPENOJ_REQUIRE_KVM=1 cargo test --workspace --all-targets --locked (149 passed); cargo fmt --all -- --check; cargo check --workspace --all-targets --locked; cargo clippy --workspace --all-targets --locked -- -D warnings; cargo deny --locked check advisories bans sources; python3 scripts/check-workspace.py; bash scripts/check-docs.sh; runtime and four applicable Skill validators Unverified: production isolation, object-storage Artifact delivery, HTTP/API ingress, arbitrary user artifacts, adversarial resource matrix, cancellation during real guest stages, and release performance Security: The Evaluation request cannot select a host path or command; guest networking and credentials remain absent; source and runtime mismatches fail before VMM boot; production remains fail closed. Compatibility: Reuses the existing canonical and guest v0alpha1 messages without schema, persistence, migration, or public API changes. The local Artifact bridge is development-only and removable when the formal Artifact backend lands.
Record the target KVM environment, immutable source/runtime/output digests, RED-to-GREEN boot assembly diagnosis, PostgreSQL-backed real-process result assertions, complete workspace gates, and remaining production and Artifact-backend gaps for commit c492288. Refs: FR-ARTIFACT-001, FR-EVAL-001, FR-JUDGE-001, FR-JUDGE-002, FR-RUNTIME-001, FR-RESULT-001, ACC-P0-001, ACC-P0-005, ACC-P0-008, ACC-P0-009, ACC-P0-010, ACC-P0-016, ADR-0005, RISK-EXEC-001 Tests: bash scripts/check-docs.sh; evidence SHA-256 check; implementation validation recorded as PostgreSQL 18.6-backed OPENOJ_REQUIRE_KVM=1 cargo test --workspace --all-targets --locked (149 passed) plus fmt/check/Clippy/cargo-deny/workspace/runtime/Skill gates Unverified: production isolation, formal object-storage Artifact delivery, HTTP/API ingress, arbitrary user artifacts, adversarial resource and cancellation matrix, reproducible rootfs, licensing review, and release performance Security: Evidence is limited to the exact development host and digests; production remains fail closed and no network, credential, request-selected host path, or request-selected command was introduced. Compatibility: Evidence-only follow-up; no protocol, schema, migration, public API, or production compatibility change.
CN059
force-pushed
the
agent/real-microvm-judge-e2e
branch
from
August 31, 2026 00:51
d6445af to
adb5943
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stack
This PR is stacked on #10. Its base is
codex/algorithm-c-runtime-smokeso the runtime-image work remains isolated. After #10 merges, retarget this PR todev.Summary
text/x-csrc, and runtime manifest digest before bootmain.cthrough the existing bounded guest v0alpha1 message and compile/run fixed argv inside the guestAcceptedScope and alternatives
This is a development-only bridge for one fixed Artifact. The preferred production design remains content-addressed object storage with scoped delivery. Implementing that backend in this PR would mix storage authorization and lifecycle work into the execution-chain proof. Embedding source bytes or host paths in the Judge Control request was rejected because it would weaken bounded-message and trust-boundary constraints.
No ADR is required: ADR-0005 already accepts this minimal vertical slice and the change does not alter its component, protocol or trust decisions.
Security and compatibility
OPENOJ_FC_PRODUCTION=1remains fail closedRollback is to disable the development
firecrackerexecutor and use explicitdevelopment_mockor the standalone KVM smoke; no data migration is involved.Validation
Target environment: Linux 7.1.8 x86_64, AMD-V exposed by VMware, KVM API 12, Firecracker 1.16.1, PostgreSQL 18.6 on disposable tmpfs.
Passed:
OPENOJ_REQUIRE_KVM=1 cargo test --workspace --all-targets --lockedwith disposable PostgreSQL: 149 passed, 0 failedExact input/runtime/output digests and raw summary are in
docs/validation/2026-08-25-algorithm-c-process-e2e.md.Unverified
Refs: FR-ARTIFACT-001, FR-EVAL-001, FR-JUDGE-001, FR-JUDGE-002, FR-RUNTIME-001, FR-RESULT-001, ACC-P0-001, ACC-P0-005, ACC-P0-008, ACC-P0-009, ACC-P0-010, ACC-P0-016, ADR-0005, RISK-EXEC-001