Repository navigation
Closed
Description
Outcome and dependency
Publish the missing native contract that lets a remote management plane administer the instance extension profiles introduced by #3077 / PR #3079 without making that plane a source of instance authority and without exposing MCP credentials to it. This unblocks integry/propr-routing#240.
This is a Core/private-channel contract and local execution change. Connect and Routing consumption remain separate follow-ups. Preserve the existing native self-hosted UI/API behavior.
Actor-bound private contract
- Publish a new immutable, versioned, pinned contract (schema, canonical fixtures, checksums and operator documentation) for extension-profile management over the existing private Fleet execution boundary. Do not silently append incompatible requests to
propr.fleet-data.v2; use an additive new version or a separately scoped contract with an explicit migration/pin. - Bind every assertion and operation to the exact numeric GitHub actor, hosted/storage instance identities, runtime/storage/placement generations, action, request digest, nonce, acquisition/operation ID, issue/expiry time, and the extension profile ID/revision when applicable.
- Revalidate uncached durable instance administration plus
instance.manage_settingsat admission, dispatch, status, secret recipient issuance/consumption, mutation, validation and completion. A Connect account grant, repository access, bootstrap identity or stale assertion is never sufficient. - Cover the existing safe native capabilities needed by Connect: profile list/read/history/create/update/disable/delete, catalog listing, skill import/provenance/digest, validation, and exact profile-revision selection validation for later runs. Requests must remain typed and bounded: no host path, shell command, arbitrary bind mount, Docker socket, secret value, or generic filesystem operation.
- Return only public extension projections and safe secret-presence markers. Errors across the private boundary are generic unavailable/refused where detail would disclose instance state.
One-use secret recipient
- Add a browser-compatible one-use recipient/key-agreement flow for write-only MCP secret creation/replacement. Core owns every decrypting key. The browser receives only a public recipient plus algorithm/version, exact binding and expiry; Routing/Fleet may relay only bounded opaque ciphertext.
- Bind authenticated encryption to the exact instance/generations, actor, action, profile ID/revision (or create intent), MCP server/field name, recipient ID, request digest and expiry. Reject missing, expired, replayed, cross-actor, cross-instance, cross-profile/revision/server/field/action and substituted ciphertext.
- Consume the recipient atomically before applying a mutation. A lost or uncertain reply must not make the recipient reusable. Recipient private material must be short-lived, excluded from logs/API responses/exports/backups, and removed on consumption/expiry/restart according to a documented fail-closed policy.
- Core decrypts only inside the current authorized mutation and passes plaintext directly into the existing encrypted
ExtensionProfileStorecustody. Never place plaintext in operation journals, private-contract canonical fixtures, request diagnostics, process arguments, audit rows or retained workspaces. - Keep native same-origin administration usable. It may continue using the reviewed local path, but public projections and custody invariants must be identical.
Skills and transport
- Define a bounded private transport for uploaded skill archives or explicitly constrain the first remote contract to the already supported exact-Git source while truthfully advertising upload as unsupported. Routing must not persist private skill bytes. Any opaque relay is digest-, actor-, instance-, generation- and operation-bound, one-use, size-limited, and validated by Core with the existing archive/Git protections.
- Preserve immutable skill provenance/digest and read-only per-run staging. Extension skills cannot add credentials, endpoints or capabilities implicitly.
Tests and publication gates
- Contract fixtures and cross-boundary tests for every operation, exact pins and canonical bytes; old
propr.fleet-data.v2behavior remains byte-for-byte compatible. - Positive durable-admin tests and denials for non-admin, managed/bootstrap/implicit identities, unrelated actor/instance, revoked admin and every generation/ABA change at each boundary.
- Secret sentinel tests proving no plaintext/prefix/length/hash/reversible encoding appears in JSON, logs, journals, exports, backups, errors, fixtures or retained files. Include expiry, replay, concurrent consumption, lost reply, restart, field/profile/action/audience substitution and secret-rotation revision races.
- End-to-end local private-channel proof: issue recipient, browser-compatible encrypt, relay opaque ciphertext, create/rotate a profile, validate it, select the exact revision for one synthetic run, and prove another run receives no profile. Cover a synthetic HTTPS MCP server and skill source without weakening endpoint/tool/network/sandbox policy.
- Publish the exact schema/fixture/checksum bundle and a machine-readable compatibility/capability result for downstream Fleet and Routing pinning. Do not claim downstream readiness until those consumers pass their reciprocal suites.
Code, docs and tests only. Do not deploy, publish a release, modify credentials/ACLs, mutate a live instance, enable Hosted controls, change stock, or add a public endpoint.
Activity
propr-dev commentedon Oct 14, 2026
🤖 AI processing has started for this issue using codex agent with gpt-6.1-sol model.
I'll analyze the problem and work on a solution. This may take a few minutes.
Processing Details:
codexgpt-6.1-sol3096/gpt-6.1-sol-publish-encrypted-remote--20261014-0353-xjbmainissue-3096-20261014-0353-gpt-6.1-sol-xjb🔍 Track Task Execution
fix(ai): Resolve issue #3096 - Publish encrypted remote extension-man…