Repository navigation
Conversation
Same-machine HTTP(S) origins only; localhost resolutions re-checked at connect; redirects, credentials-in-URL, queries and unexpected paths refused; deadline, byte cap and cancellation; fixed error text. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Profiles live in app/local-connections.json without secrets; optional tokens use the existing SecretStore under local_connection:<id>. The renderer view carries presence only. Revisions move when runtime, address or token change; a token never follows a changed address; stale edits are refused; deletion leaves a non-resolving tombstone. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Ollama (tags/ps/capped show), LM Studio (/api/v0/models, /v1 fallback) and Responses-compatible (/v1/models) metadata reads only. Exact IDs, installed/loaded/kind/advertised states or unknown, cloud-routed and embedding models unselectable, manual IDs kept on failure. Size, count and time bounds; superseded, edited or deleted reads return stale. The resolver test seam is always wrapped by the loopback check. Co-Authored-By: Claude Opus 5.5 <[email protected]>
local-models:command validates request shape strictly and is registered localOnly; edits and deletes invalidate in-flight discovery. Store desktop's offline demo refuses it. Adds a production-IPC Electron spec, the dated review receipt and the status entry; completion stays blocked on #377. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…/reflected-xss) (#378) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…al (#378) Each saved token now gets its own versioned secret entry, and the profile names the entry it uses. Edits write any new token first, then the profile, and remove the superseded entry only after the profile is durable; a failed write drops the new entry instead. Failure-injection tests cover rotation, clear, endpoint moves, create and delete. Co-Authored-By: Claude Opus 5.5 <[email protected]>
A local server that echoes its bearer token into a model ID no longer gets it into IPC: the listing is rejected whole as `reflected-credential`, never redacted into a different model identity, and manual IDs holding the token are left out. Exact and embedded fixtures cover Responses, LM Studio and Ollama listings. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
4 tasks
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Code coverage overviewLanguages: TypeScript TypeScript / code-coverage-agent
View coverage of the 8 most impacted files.
ℹ️ Calculations represent line coverage. Results may change as calculations are updated. |
This was referenced Oct 24, 2026
BunsDev
added a commit
that referenced
this pull request
Oct 24, 2026
…378) Val accepted Gate A narrowly on 2026-10-24 for main at bb0e1a4: the LM-1 contract (#397, #400) and the recorded Strata combination only (see the acceptance comment on #377). local-models.md, both status bullets and the LM-2 receipt now say so instead of "not accepted", and list what remains open: native Ollama/LM Studio metadata reads, the AGENTS.md network wording, the #386/#398 choice and the landing order. Co-Authored-By: Claude Opus 5.5 <[email protected]>
BunsDev
added a commit
that referenced
this pull request
Oct 24, 2026
Co-Authored-By: Claude Opus 5.5 <[email protected]>
BunsDev
added a commit
that referenced
this pull request
Oct 24, 2026
#405 recorded Val's Gate A acceptance and approval of the AGENTS.md metadata boundary, plus a CLI inventory with no local generative model. Resolutions: - docs/local-models.md keeps main's status line. The adoption paragraph now says #403 adopted the contract and that #386 and #398 are superseded. - docs/status.md keeps main's LM-1 entry, which now says LM-2 consumes it through #403. The LM-2 entry records the approved boundary and says LM-2's discovery has not yet run against a real runtime. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
Author
This branch was successfully deployed
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.
LM-2 for #378 under #376, with the two defects from the independent review of draft #386 fixed.
This branch replays #386's six commits (
3654053) ontomainunchanged and adds a fix commit and a docs commit. #386's branch is still claimed by another session, so this is a separate PR rather than a push to it. Close whichever one you don't keep.Fixes (each began with a failing regression)
local_connection:<id>:<uuid>, and the profile names the entry it uses. An edit writes the new token, then the profile, and removes the superseded entry only after the profile is durable. A failed write removes the new entry instead. The tests inject EIO on the profiles-file rename for rotation, clear, endpoint move with and without a token, delete and create. Revision 1 keeps its token and address, the view doesn't change and no orphaned entry is left.reflected-credential. It is never redacted into a different identity. Manual IDs holding the token are left out, and other manual IDs survive. Fixtures cover Responses, LM Studio and Ollama listings. IDs that only resemble the token are kept exactly.Known trade-off: a very short token rejects any listing that contains it. That fails closed and shows as
reflected-credential. Profiles saved by the unmerged draft read as tokenless, which also fails closed.Unchanged: reconciling with LM-1's contract (schema 1 and the shared
ConnectionRef) waits for #397. No UI or execution binding. Evidence is fixture-only; real Ollama and LM Studio metadata is still a gate.Checks (on
954cd5b, base203a350; merges cleanly with70123b9and with #397)local-model-*tests: 25/25.pnpm build && pnpm test: exit 0. Worktree 117/117, core 16/16, desktop 1861 passed with 16 skipped, native 21/21, site 10/10, Store 16/16.pnpm typecheck: exit 0.e2e/local-models-ipc.spec.ts: 1/1.Every commit is SSH-signed. Details are in
docs/reviews/2026-10-22-lm2-connections-discovery.md#review-fixes-2026-10-23.🤖 Generated with Claude Code