Skip to content

Native authority-proof contract for managed extension operations #3121

Closed

Description

@integry

Goal

Publish a separately pinned, independently authenticated native authority-proof contract for managed extension operations. A remote Connect/Fleet consumer must be able to prove that the exact actor still has current durable local-admin authority and instance.manage_settings at request, dispatch, status, and completion without trusting a relay assertion.

The existing qualified propr.fleet-extensions.v1 contract and its fourteen actions are immutable. Keep their bytes, behavior, and compatibility unchanged.

Required contract

  • Add an additive versioned authority-proof contract on the existing authenticated private Unix extension boundary. Do not expose an HTTP, TCP, browser, tunnel, or public endpoint.
  • Use a separate fixed request/response schema and bounded path. Do not add an action to or silently replace the qualified fourteen-action extension contract.
  • Bind every request to the exact qualified extension tuple and contract pin; full opaque original-work digest; phase (request, dispatch, status, or completion); fresh independent challenge; extension operation ID; acquisition operation ID when applicable; exact request digest and action; short issued/expiry interval; actor ID; hosted/storage/runtime/placement identity and every native generation used by the qualified contract.
  • Do not accept profile bodies, plaintext credentials, ciphertext, recipient exchanges, generic commands, paths, or caller-supplied role/permission claims in this proof contract.
  • Derive the actor's current admin role, local source, and instance.manage_settings permission from uncached durable Core state. Independently re-observe current extension instance, storage, runtime, and placement identity/generations for every proof.
  • Add a durable monotonic native authority epoch. It must advance for grant, revoke, deletion, re-grant, and role/source/permission changes, including revoke-and-regrant of the same actor (ABA). It must survive membership-row deletion and restart and be observed transactionally with the authority decision.
  • Bind the response to Core's observations, the complete request commitment, phase, challenge, authority epoch, and expiry. Core must not claim that it verified Connect account, subscription, installation, or passkey authority; those remain independent Connect evidence.
  • Authenticate every response with Core-owned asymmetric verification material that can be pinned through an independent native/operator channel. A shared Fleet/transport secret, caller-supplied key, or relay-delivered replacement pin is not sufficient. Never return private key material or the internal extension transport secret.
  • Re-check authority and native generations after every awaited boundary. Completion proof must be impossible after authority loss or generation substitution. Preserve existing operation tombstone/status semantics so ambiguous mutations cannot be redispatched.
  • Return only a generic refusal for malformed, unauthorized, stale, replayed, expired, substituted, or unavailable requests. Use no-store responses and never log proof bodies, challenges, private material, credentials, or customer content.

Published evidence

  • Add strict schemas, canonical fixtures, capability metadata, exact source/contract pin, SHA256SUMS, and a standalone reference verifier suitable for reciprocal pinning by Routing and Fleet.
  • Keep downstream/public readiness false until the external consumers have independently pinned and qualified the additive tuple.
  • Document independent provisioning and rotation of the Core public verification-key pin and the fail-closed behavior when it is absent or changes.

Tests

Cover at least:

  • valid durable local admin with instance.manage_settings;
  • Connect-only/native-only, managed-source, member, unrelated, deleted, and revoked actors;
  • grant, revoke, role/source/permission changes, deletion/re-grant ABA, concurrent mutation, transaction rollback, restart, and epoch durability;
  • every native identity/generation substitution;
  • work/action/operation/acquisition/request-digest substitution;
  • phase/challenge replay, cross-phase replay, duplicate challenge, expiry before and during awaited checks, and clock-boundary behavior;
  • authority or generation loss between pre-check and response/completion;
  • response-signature verification, wrong independently pinned key, key rotation, malformed inputs, generic errors, and sentinel scans proving secrets/customer data do not escape;
  • the real private Unix listener plus reciprocal fixtures/verifier, while proving the public/tunnel listener still refuses the path.

Run the relevant full Core extension, authorization, listener, restart, and contract suites. Keep public ProPR CI on GitHub-hosted runners: do not add/configure gitfix or change runner/workflow policy. Do not deploy, publish a release, or enable a hosted capability.

Activity

  1. propr-dev commented on Oct 15, 2026

    @propr-dev
    Contributor

    🤖 AI processing has started for this issue using codex agent with gpt-6-astra model.

    I'll analyze the problem and work on a solution. This may take a few minutes.

    Processing Details:

    • Agent: codex
    • Model: gpt-6-astra
    • Branch: 3121/gpt-6-astra-native-authority-proof-co-20261015-0656-hke
    • Base Branch: main
    • Worktree: issue-3121-20261015-0656-gpt-6-astra-hke

    🔍 Track Task Execution

  2. added a commit that references this issue on Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions