Repository navigation
fix: load dataclass command modules through the server CLI - #32
Merged
Merged
Conversation
This was referenced Oct 16, 2026
anycodes
changed the base branch from
fix/uv-workspace-sources-20261016
to
main
October 16, 2026 04:24
20 tasks
anycodes
marked this pull request as ready for review
October 16, 2026 04:38
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.
Description
The production
serve --commands FILEloader crashed before HTTP startup for valid postponed-annotation dataclasses. The canonical file module is now registered before execution, cached on success, separated from same-basename files, and removed with the original search path restored after failure. Module-name imports remain supported.Fixes #30. The dependency #29 has merged; this PR now targets main.
Type of Change
Validation
e2cb27e, built server 0.3.0 wheel: real Express base sandbox installation, productionpython3 -m agent_sandbox.server serve --commands, postponed dataclass/ClassVar load, HTTP catalog 200 and exact command result all PASS. The source wheel SHA256 and failed preliminary attempt are recorded in the new delivery evidence.126e445passed the complete nine-job normal GitHub matrix, including the same full server suite on Python 3.10/3.11/3.12. Evidence-only follow-up01f79ef75f89bc20441fff3a784150c024b09e3fpreserves both local failures and remote successes and reruns its full matrix before merge.Records and limits
New evidence:
.agents/evidence/verify/2026-10-16-server-loader-cloud-delivery.md; canonical seven-section note:.agents/notes/proposed/feature/2026-10-16-server-command-loader.md. English/Chinese server guides and CHANGELOG are included.The successor #33 separately records the corrected complete cloud harness run: 113 passed, four unavailable native-provider skips, two slow deselections, one documented KI-009 expected failure. It is not presented as a direct run of this branch. New Docker image deployment, native provider credentials and public package publication are not established by this loader fix.
Definition of Done
Actual remote state: MERGED at 2026-10-16 04:38:26 UTC, merge commit 8d22eae; Issue 30 closed.