Skip to content

feat: package custom agent environments - #695

Draft
motatoes wants to merge 1 commit into
mainfrom
feat/custom-agent-environments
Draft

feat: package custom agent environments#695
motatoes wants to merge 1 commit into
mainfrom
feat/custom-agent-environments

Conversation

@motatoes

Copy link
Copy Markdown
Contributor

Summary

  • discover and deterministically package per-agent Dockerfile plus sandbox/
  • require the final stage to inherit from a versioned OpenComputer Serverless Agent runtime
  • upload environment source independently and include its digest in project identity
  • reject invalid runtime ancestry, mutable tags, FROM arguments, custom frontends, symlinks, and secret-looking context files
  • bump @opencomputer/cli to 0.6.6

Safety

The public API reparses the exact uploaded environment bytes. This PR depends on the private builder PR and must remain draft until the asynchronous build and last-ready promotion path is complete.

Verification

  • cd cli && npm test (51 passing)
  • cd cloudflare-workers/api-edge && npx tsc --noEmit
  • cd cloudflare-workers/api-edge && npm test -- --run (142 passing)

Remaining gate

Remote Depot build, resolved-base digest policy, provenance verification, MicroVM snapshot validation, and atomic alias promotion are not included in this PR yet.

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