Skip to content

feat(apps): add authenticated IPC and scoped platform services #451

Closed

Description

@RentnerKev

Phase: 3 | Priority: P0

Give app backends a stable platform boundary with installation identity, constrained data access and fresh authorization.

Scope

  • Implement private per-installation HTTP/JSON IPC, bootstrap descriptor, version negotiation and revocable generation-scoped credentials.
  • Provision separate app OS/data/database identities with restricted runtime and migration roles.
  • Expose verified context/authorization, owned-host access, diagnostics, secret references, typed audit/notification and operation services.
  • Provide durable permission-filtered events with resumable cursors; retain ephemeral Valkey only as an acceleration channel.

Dependencies

These are implementation prerequisites; app-to-app delivery gates do not create runtime dependencies.

Acceptance criteria

  • Spoofed app identity, arbitrary user headers, expired/stale credentials and cross-app database/filesystem/secret access are rejected.
  • User operations enforce installation grant, current actor permissions and resource scope; jobs cannot silently escalate user authority.
  • Own-app permissions are dynamically namespaced and registrations need no fixed six-app branches.
  • Mutation idempotency and revision conflicts, stable errors, bounded pagination/payload/deadlines and async operation semantics match v1.
  • Event duplication/reconnect/retention expiry and full authorized resynchronization are verified from durable authority.
  • Existing local login, proxy validation, audit/notifications and base runtime health remain functional with no apps installed.

Planning baseline: Beta 4.
This issue schedules future work; backlog creation does not implement or deploy it.
Use focused project checks and short integration/recovery tests. Endurance runs belong to release preparation. Normal PRs need no additional documentation files or screenshot commits unless requested.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: runtimeenhancementsecurity

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions