Add multi-language codec support via Docker#12
Open
jakedgy wants to merge 13 commits intoagavra:mainfrom
Open
Conversation
Defines Docker-based ABI for non-Rust submissions:
- Containers implement encode/decode via stdin/stdout
- Convention-based discovery (src/{name}-{lang}/Dockerfile)
- Integrated into existing harness with --docker flag
- Same round-trip verification as Rust codecs
Co-Authored-By: Claude Opus 4.5 <[email protected]>
Prevents worktree contents from being accidentally tracked. Co-Authored-By: Claude Opus 4.5 <[email protected]>
11 tasks covering: - CLI flag and codec discovery - Docker build/encode/decode functions - Main loop integration - Example Python codec for testing - CI workflow updates - README documentation Co-Authored-By: Claude Opus 4.5 <[email protected]>
Co-Authored-By: Claude Opus 4.5 <[email protected]>
Co-Authored-By: Claude Opus 4.5 <[email protected]>
Co-Authored-By: Claude Opus 4.5 <[email protected]>
Co-Authored-By: Claude Opus 4.5 <[email protected]>
Co-Authored-By: Claude Opus 4.5 <[email protected]>
Co-Authored-By: Claude Opus 4.5 <[email protected]>
Co-Authored-By: Claude Opus 4.5 <[email protected]>
Owner
|
Thanks @jakedgy - since this is a pretty big change I want to have time to review it properly. I probably won't get to it until next week since I'm out this weekend. |
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.
Summary
Adds support for non-Rust codec submissions via Docker containers:
--dockerCLI flag enables external codec discovery and executionsrc/*/Dockerfile--codec example-python)Resolves #3
How This Was Built
This PR was developed as an educational experiment using Claude Code with the superpowers plugin. The workflow:
The entire conversation and development happened in a single Claude Code session. This is experimental - feedback welcome!
Test Plan
cargo run --release -- --codec example-pythonshows example-python resultscargo run --release -- --codec naiveworks without Docker (existing behavior preserved)cargo fmt --checkpassesExample Output
🤖 Generated with Claude Code + superpowers plugin