Skip to content

feat: lockkit v0.20.0, refuse unconfined agents (#158) - #160

Merged
DavidGodefroid merged 1 commit into
mainfrom
feat/158-lockkit-confined
Nov 14, 2026
Merged

DavidGodefroid merged 1 commit into
mainfrom
feat/158-lockkit-confined

Conversation

@DavidGodefroid

Copy link
Copy Markdown
Owner

Closes #158.

Summary

  • Bump lockkit to v0.20.0 (lockkit#133, lockkit#205): every client reports its confinement in hello; the console refuses an unconfined agent with CodeUnconfined (-32009). locklog dials with client.DialInstance and serves with console.Run, so client and console pick it up with no protocol code here.
  • Profile key unconfined = true → config.Base.Unconfined (in the fingerprint, a loosening through DiffBase) and console.Profile.Unconfined. A production profile with it is refused at load.
  • test/hub: the leak harness's raw socket client now says hello as a confined agent; new TestConfinedAgent (unconfined and old client refused with CodeUnconfined, no method before hello, confined served) and TestUnconfinedProfile (served, banner printed).
  • Docs: unconfined in the profile keys table, a "Confined agents" section in the security model, the own-container recipe's confinement, README note, CHANGELOG (Breaking).

Test plan

  • go test ./... green locally (unit + test/hub).
  • CI e2e jobs (the launcher's mcp and the own-container recipe run in containers, so they are expected to report confined).

🤖 Generated with Claude Code

Bump lockkit to v0.20.0 (lockkit#133): the console refuses an agent
that does not run confined with CodeUnconfined, unless a non-production
profile sets unconfined = true. The profile key maps to
config.Base.Unconfined (fingerprint, DiffBase loosening) and
console.Profile.Unconfined; a production profile with it is refused at
load. The hub leak test now says hello as a confined agent.

Closes #158

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@DavidGodefroid
DavidGodefroid merged commit 7b2aa19 into main Nov 14, 2026
26 checks passed
@DavidGodefroid
DavidGodefroid deleted the feat/158-lockkit-confined branch November 14, 2026 16:27
@DavidGodefroid DavidGodefroid mentioned this pull request Nov 14, 2026
DavidGodefroid added a commit that referenced this pull request Nov 14, 2026
Release v0.4.0: lockkit v0.20.0, unconfined agents refused by default
(#158, #160).

## What changes

- `CHANGELOG.md`: `[0.4.0] - 2026-11-14` section and compare links.
- `SECURITY.md`, `docs/install.md`, `site/index.html`,
`site/install/index.html`: current release v0.3.1 → v0.4.0.

After merge: tag `v0.4.0` on main; `release.yml` drafts with GoReleaser,
signs, publishes, then dispatches pages, the Homebrew tap and lockfamily
docs.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bump lockkit to v0.20.0: refuse unconfined agents by default (lockkit#133)

1 participant