Airgapped plugin - #1
Open
tgutu wants to merge 30 commits into
Open
Conversation
…ng and installing plugin.
Owner
Author
|
👋 Reviewer Guide If you only have a few minutes, here’s the recommended review path: 1️⃣ Start with
2️⃣ Then skim
3️⃣ Code Review Guidance
ℹ️ Console noise and npm warnings are documented and out-of-scope unless they affect correctness. Happy to clarify any design decisions — most trade-offs are already documented explicitly. |
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.
Purpose
This PR converts Continue into a strictly air-gapped, deterministic local-LLM deployment suitable for constrained or regulated environments.
The focus is not feature expansion, but risk reduction, operational determinism, and explicit architectural trade-offs aligned with the technical assessment.
What Changed (High-Level)
1. Enforced Air-Gap
2. Deterministic Runtime Behavior
3. Memory & Stability Controls
4. Operational Transparency
What This PR Is Not
These were consciously rejected to preserve clarity, determinism, and assessment focus.
Supporting Documentation
OPERATIONAL.md— deployment model, trade-offs, rejected approachesTEST_REPORT.md— real execution-based test cases and failure analysisBoth documents are written to be reviewable without running the system.
Anticipated Reviewer Questions
Why bake models into the image instead of seeding?
Runtime seeding introduces:
Baking models trades image size for predictability and correctness, which is appropriate for air-gapped constraints.
Why not force mmap everywhere?
On macOS Docker, mmap behavior depends on the host filesystem abstraction.
Forcing mmap can degrade stability without guarantees.
This PR documents the limitation and selects safe fallback behavior over undefined behavior.
Why are there console warnings?
Warnings originate from:
They are explicitly classified as non-defects and do not affect runtime correctness.
Why remove providers instead of feature-flagging them?
Feature flags still allow:
Complete removal provides stronger guarantees and a smaller attack surface.
Why are some tests skipped or absent?
Risk in this system is primarily:
The test report focuses on observed failures and operational risks, not synthetic unit coverage.