Skip to content

feat: add secure execution server - #8

Merged
jmgilman merged 1 commit into
masterfrom
feat/increment-3-server-core
Aug 23, 2026
Merged

jmgilman merged 1 commit into
masterfrom
feat/increment-3-server-core

Conversation

@jmgilman

Copy link
Copy Markdown
Contributor

Summary

  • add a one-shot generic capability builder and immutable concurrency-safe server
  • execute fresh restricted Starlark programs with cached frozen namespaces and bounded source, steps, time, native calls, depth, and results
  • enforce bind-before-authorize-before-dispatch ordering, cancellation gates, panic recovery, and safe public error projection
  • generate the Authorizer mock with Mockery and cover builder, execution, cancellation, limits, and concurrency behavior

Verification

  • go test ./internal/execution ./... -run 'Cancellation|Cancels|Fresh|Limits|Authorization|Denied|FinalResult' -count=1
  • go test ./... -count=1
  • go test -race ./... -count=1
  • moon run root:lint
  • go build ./...
  • git diff --check
  • independent code review: PASS
  • implementation-plan conformance review: PASS

Build immutable filtered capability servers with one-shot registration, cached Starlark namespaces, fail-closed authorization, and per-execution limits.
@jmgilman
jmgilman merged commit 0f3044e into master Aug 23, 2026
4 checks passed
This was referenced Sep 11, 2026
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.

1 participant