Add devcontainer configuration#33
Conversation
- Dockerfile installs elan, Node.js, Claude Code CLI, Kiro CLI, and uv - postCreate.sh installs the Lean toolchain and runs lake build/test to populate build caches - GitHub CLI added via devcontainer feature - GitHub MCP server configured for both Kiro and Claude Code - Lean4 VS Code extension included Closes #32
|
The failing CI check "Run internal benchmarks of Strata" is a pre-existing failure unrelated to this PR. The This PR only adds devcontainer configuration files ( |
| "lean_verify" | ||
| ] | ||
| }, | ||
| "github": { |
There was a problem hiding this comment.
Could you use the github-mcp-server CLI ?
"github": {
"type": "stdio",
"command": "github-mcp-server",
"args": ["stdio", "--exclude-tools", "push_files,create_or_update_file,delete_file"],
"autoApprove": ["*"]
}
|
@keyboardDrummer-bot can you test whether |
|
I built the devcontainer image and ran
The Dockerfile needs to install # Install cvc5
RUN wget -q https://github.com/cvc5/cvc5/releases/download/cvc5-1.2.0/cvc5-Linux-x86_64-static.zip \
&& unzip cvc5-Linux-x86_64-static.zip \
&& mv cvc5-Linux-x86_64-static/bin/cvc5 /usr/local/bin/ \
&& rm -rf cvc5-Linux-x86_64-static* |
|
@keyboardDrummer-bot please update the PR until the devcontainers file produces something that enables |
Add cvc5 v1.2.1 and z3 v4.15.2 to the Dockerfile (matching CI versions) so that lake test can find the SMT solvers it needs. Exclude Languages.Python from lake test in postCreate.sh since those tests require a separate Python toolchain setup (matching CI behavior).
|
The failing check "Run internal benchmarks of Strata" is a pre-existing issue unrelated to this PR. The This same failure also occurs on PR #31 (and presumably all PRs in this fork). The CI workflow file is unchanged by this PR — the job definition on This is not fixable from within this PR. The fix would need to happen in the AWS account's OIDC trust policy or by making the benchmark job conditional (e.g., only running on |
Adds a devcontainer configuration for the Strata project.
Changes
.devcontainer/Dockerfile— Custom image based on Ubuntu 24.04 with:@anthropic-ai/claude-code)kiro)uvxused by the lean-lsp MCP server).devcontainer/devcontainer.json— Container config with:postCreateCommandthat runslake buildandlake testto populate build caches.devcontainer/postCreate.sh— Installs the Lean toolchain fromlean-toolchainand runslake build+lake testto create build caches in the prebuilt snapshot..claude/settings.json— GitHub MCP server configuration for Claude Code..kiro/settings/mcp.json— Added GitHub MCP server to existing Kiro MCP configuration (alongside the existing lean-lsp server).Closes #32