Repository navigation
Open
Labels
appSwiftUI app shell or app-wide behaviorbackendRuntime backend abstraction and command executionlowLow priority or backlogotherMaintenance, repo work, questions, CI, dependency updates, or anything that is not a bug or featureplannedAccepted and planned workrepoRepository process, docs, templates, governance, discussions, and tracking
Milestone
Description
Goal
Create a REST API or local control API that allows external tools and optional companion interfaces to operate Contained safely.
Relationships
Potential foundation for the web UI in #2 and AI-assisted workflows in #6. Should use backend abstractions from #36 once those boundaries are decided.
Research / design checklist
- Define the threat model for local and network access.
- Decide whether the API should be HTTP, local-only IPC, app intents, or another transport.
- Identify the smallest useful endpoint set.
- Decide which APIs should stay read-only until the security model is proven.
- Confirm how API calls flow through existing command builders and app state.
Implementation checklist
- Keep CLI command construction behind ContainerCommands and ContainerClient.
- Add Settings UI for key creation, rotation, and revocation before write actions are exposed.
- Add tests for request validation, auth checks, and command routing decisions.
- Update docs/wiki with API status, limits, and security expectations.
Acceptance criteria
- API design avoids exposing secrets or privileged actions accidentally.
- Auth keys have clear lifecycle and storage behavior.
- Read-only and write-capable endpoints are explicitly separated.
- Docs explain supported use cases and unsupported risks.
Metadata
Metadata
Assignees
Labels
appSwiftUI app shell or app-wide behaviorbackendRuntime backend abstraction and command executionlowLow priority or backlogotherMaintenance, repo work, questions, CI, dependency updates, or anything that is not a bug or featureplannedAccepted and planned workrepoRepository process, docs, templates, governance, discussions, and tracking
Activity
[-]RestAPI[/-][+]External control API and auth keys[/+]1 remaining item