Repository navigation
[3096 by GPT-6.1 Sol] Publish encrypted remote extension-management contract for Connect - #3097
Conversation
…agement cont Implemented by ProPR AI using gpt-6.1-sol model. Implementation completed successfully.
|
/review claude-opus |
|
✅ AI Code Review Complete requested by @integry Posted 1 review: |
🔍 AI Code Review — claude-opusOverall EvaluationThis PR adds a separately versioned, pinned contract,
Fleet data v1 and v2 are untouched. The customer and tunnel listener explicitly refuses the new path. The design is careful and well tested. However, one internal limit in the published immutable contract contradicts itself: it advertises up to 8 sealed credentials per mutation, but the 32 KiB request cap allows only about 5. Because the README says a deployed pin cannot be amended, this should be fixed before the pin is published. The PR needs a minor change before merge. CI is still pending. ✅ Synchronous recipient claiming and full re-fencing — ✅ Revocation enforced inside the mutation transaction — ✅ Exact Git provenance verification —
Merge blockersEvery finding below was introduced by this PR and must be resolved before merging. F1: 🔴 Pinned contract advertises 8 sealed fields that the request cap cannot carry
SuggestionsThese are optional follow-ups and are not sent to S1: 🟢 Status becomes unavailable after 60 seconds
S2: 🟢 Verify shared namespace accounting across restarts
S3: 🟢 Public refusal error code for extension path
S4: 🟢 Zero recipient key on issuance failure pathsIn S5: 🟢 Native verification-key provisioning
ScoreThe cryptographic and authorization design is strong and thoroughly tested. However, the pinned contract's sealed-field count contradicts its own request cap, and that must be reconciled before the immutable pin ships. CI is still pending. Score: 6/10 🤖 Review Details
Copy and edit to choose records from this review: 🤖 Review by ProPR |
|
/fix F1 S2 S3 S4 |
|
✅ Applied the requested follow-up changes in commit dd32519
Summary of ChangesApplied F1, S2, S3, and S4:
Validation: 101 tests passed; Core/API typechecks passed. Separate discovery: pre-existing Fleet data admission also leaks duplicate reservations. Left unchanged as outside scope. 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
Applied F1, S2, S3, and S4: - Raised extension requests to 64 KiB and regenerated the contract pin, fixtures, and checksums. - Verified restart accounting and fixed duplicate reservation leakage. - Corrected the public refusal error code. - Added key cleanup across issuance and completion failures. Validation: 101 tests passed; Core/API typechecks passed. Separate discovery: pre-existing Fleet data admission also leaks duplicate reservations. Left unchanged as outside scope. PR: #3097 Comment by: @integry (ID: 6160857590) Model: GPT-6.1 Sol
|
The 64 KiB adjustment does not fully resolve F1 yet. The new regression uses eight short URLs and one short tool name per server. Under the published schema, a create request with eight bearer servers, each using the allowed 2,048-character URL and 64 allowed 128-character tool names, plus the allowed maximum agent/repository scopes and eight sealed fields, is approximately 151 KiB as canonical JSON. There is a related mutation-response problem: Please make the pinned contract internally consistent before merge:
For reproducibility, constructing the existing explicit maxima (using 200-character repository names despite the current missing bound) produced 104,471 bytes for |
|
✅ Applied the requested follow-up changes in commit 86d3815 Summary of ChangesImplemented the follow-up:
Validation: 49 regression tests, pinned-artifact checks, and root/Core TypeScript checks passed. No visual preview needed. 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
Implemented the follow-up: - Shared request/response caps are now 256 KiB, with bounded remote repository scopes and a documented size proof. - Oversized mutation responses roll back before commit. - Worst-case eight-field create/update tests pass through the Unix listener. - Regenerated schema, fixtures, capability pin, and checksums. Validation: 49 regression tests, pinned-artifact checks, and root/Core TypeScript checks passed. No visual preview needed. PR: #3097 Comment by: @integry (ID: 6160955848) Model: GPT-6.1 Sol
|
/review claude-opus |
|
✅ AI Code Review Complete requested by @integry Posted 1 review: |
🔍 AI Code Review — claude-opus🤖 Review Details
🤖 Review by ProPR |
|
/review claude-opus |
|
✅ AI Code Review Complete requested by @integry Posted 1 review: |
🔍 AI Code Review — claude-opusOverall EvaluationThis PR adds a separately pinned
Every admission, dispatch step, transaction boundary and completion re-checks durable admin and The fix cycle resolves the earlier F1 concerns:
I traced the worst-case size budget in the README against the schema. It holds for JSON-Schema-conforming inputs (about 245 KiB, under 262,144 bytes), and the new listener test exercises an eight-server, maximum-field create and update end to end. I found no remaining verified blockers. Merge readiness depends on the pending test shards, CodeQL and "Validate Changes" completing green. ✅ Recipient custody and binding — ✅ Fail-closed mutation fencing — The nonce and operation tombstones are created with ✅ Bounded exact-Git import — Merge blockersNo merge blockers. SuggestionsThese are optional follow-ups and are not sent to S6: 🟢 Return the exact preflighted public projectionIn S7: 🟢 Align Zod transforms with the pinned JSON SchemaThe native
The reserved-name refinement and the duplicate checks in S8: 🟢 Bounded or paginated list and history projections
S9: 🟢 Fit profile.validate within the assertion lifetime
S10: 🟢 Operator path for the recipient verification-key pin
S11: 🟢 Simplify the published action enumFolding over ScoreThe latest cycle resolves the prior size-bound and committed-but-fenced mutation concerns, and I found no remaining PR-introduced blockers; the suggestions are hardening and usability follow-ups. Readiness is conditional on the pending CI shards, CodeQL and "Validate Changes" completing green. Score: 8/10 🤖 Review Details
Copy and edit to choose records from this review: 🤖 Review by ProPR |
|
CI failed: Validate Changes Please investigate and fix this CI failure.
Failure evidence
|
Checks FailedValidation failed during setup, tests, CLI packaging, linting, or build checks. View Logs |
|
✅ Applied the requested follow-up changes in commit ab0965c Processed 2 comments:
Summary of ChangesFixed both reported lint warnings by grouping save options and extracting mutation and validation helpers from Validation: affected files pass lint with zero warnings, Core builds, and all 49 relevant tests pass. One expiry-sensitive test failed on an intermediate run and passed on rerun. No visual changes; no preview required. 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
|
Exact-head CI failed only because the Core lint stage uses --max-warnings=0 and this PR introduces two warnings:
Please eliminate both warnings without changing the published propr.fleet-extensions.v1 contract, capability pin, request/response behavior, authorization/fencing, or tested semantics. Prefer a small, maintainable refactor where it remains clear; if the signatures/switch are intentionally cohesive at this boundary, use the narrowest documented method-level ESLint suppression rather than a broad file/rule disable. Run the affected Core lint, focused fleet-extension/profile tests, and typechecks, and keep the worktree clean. |
…and extracting mutation and validation helpers from `dispatch`. Fixed both reported lint warnings by grouping save options and extracting mutation and validation helpers from `dispatch`. Validation: affected files pass lint with zero warnings, Core builds, and all 49 relevant tests pass. One expiry-sensitive test failed on an intermediate run and passed on rerun. No visual changes; no preview required. PR: #3097 Comment by: @propr-dev[bot] (ID: 6161316812) Comment by: @github-actions[bot] (ID: 6161317239) Model: GPT-6.1 Sol
|
ℹ️ Analyzed the follow-up request by @integry Analysis SummaryBoth warnings are already resolved on this branch by grouped save options and extracted dispatch helpers. No further edits were needed. Validation passed:
Contract/pin, behavior, and authorization/fencing remain unchanged. Worktree is clean; no visual preview needed. No code changes were necessary based on the current state of the branch. 🤖 Analysis Details
💡 ProPR Slash Commands
🤖 Generated by ProPR |
|
/review claude-opus |
|
✅ AI Code Review Complete requested by @integry Posted 1 review: |
🔍 AI Code Review — claude-opusOverall EvaluationThis PR adds a separately pinned One native-API regression comes from the new ✅ Recipient claim-before-await and authenticated binding — ✅ Mutation response preflight inside the transaction — ✅ Bounded, schema-consistent envelope — Merge blockersEvery finding below was introduced by this PR and must be resolved before merging. F2: 🔴 Native
|
|
/fix F2 |
|
✅ Applied the requested follow-up changes in commit a4df959
Summary of ChangesApplied F2 only. Native Added store and HTTP regressions. All 51 focused tests, Core/API typechecks, and affected-file lint passed. Full Core lint remains blocked by unrelated warnings in 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
…d refuses malformed expectations without mutations. Remote callbacks use a separate entry point. Applied F2 only. Native `save` now treats null as create and refuses malformed expectations without mutations. Remote callbacks use a separate entry point. Added store and HTTP regressions. All 51 focused tests, Core/API typechecks, and affected-file lint passed. Full Core lint remains blocked by unrelated warnings in `dockerResultProcessor.ts` and `usageTrackingWrapper.ts`. PR: #3097 Comment by: @integry (ID: 6161467204) Model: GPT-6.1 Sol
|
/review claude-opus |
|
✅ AI Code Review Complete requested by @integry Posted 1 review: |
🔍 AI Code Review — claude-opusOverall EvaluationThis PR publishes
The latest fix cycle cleared both reported lint warnings:
The design is careful and the tests are extensive. One contract-consistency defect remains: Core verifies request and intent digests over Zod-transformed output, not the signed request as sent. It is localized but should be fixed before the immutable pin is consumed downstream. Current-head status: 0 failed, 8 pending (including Validate Changes and the full test shards). Merge readiness also depends on those completing. ✅ Boundary-wide revocation fencing — ✅ Recipient custody discipline — ✅ Native compatibility preserved — The legacy Merge blockersEvery finding below was introduced by this PR and must be resolved before merging. F3: 🔴 Request/intent digests use transformed Zod output, not signed bytes
SuggestionsThese are optional follow-ups and are not sent to S17: 🟢 Verify MAC before durable authorization
S18: 🟢 Dispatch complexity sits exactly at the limitBy static count, S19: 🟢 Status lookup expires with the original assertion
S20: 🟢 Skill import can outrun the 60-second assertion
S21: 🟢 Readiness scan failure is permanent
ScoreThe implementation is thorough and well tested, and the lint warnings appear resolved. One localized contract-consistency blocker (F1) remains, where transformed-input digests make schema-valid requests unverifiable under the immutable pin, and current-head checks are still pending. Score: 6/10 🤖 Review Details
Copy and edit to choose records from this review: 🤖 Review by ProPR |
|
/fix F3 |
|
✅ Applied the requested follow-up changes in commit 1e6f956
Summary of ChangesImplemented F3 only. Request and recipient intent digests now use raw canonical JSON, while execution retains normalized names. The pinned schema is unchanged. Added create/update whitespace regressions and rejection checks for substituted intents. Validation: 52 tests pass, Core/Shared typechecks pass, and changed-file lint passes. Full Core lint remains blocked by two existing warnings in No visual preview was needed for this protocol change. 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
…ow use raw canonical JSON, while execution retains normalized names. The pinned schema is unchanged. Implemented F3 only. Request and recipient intent digests now use raw canonical JSON, while execution retains normalized names. The pinned schema is unchanged. Added create/update whitespace regressions and rejection checks for substituted intents. Validation: 52 tests pass, Core/Shared typechecks pass, and changed-file lint passes. Full Core lint remains blocked by two existing warnings in `dockerResultProcessor.ts` and `usageTrackingWrapper.ts`. No visual preview was needed for this protocol change. PR: #3097 Comment by: @integry (ID: 6161597496) Model: GPT-6.1 Sol
|
/review claude-opus |
|
✅ AI Code Review Complete requested by @integry Posted 1 review: |
🔍 AI Code Review — claude-opusOverall EvaluationThis PR adds
Neither change alters the pinned schema, request/response shapes, authorization, or fencing. I traced the main paths and found no PR-introduced blockers:
Lint was not re-run in this read-only review. By my count, ✅ Native/remote save separation — ✅ Response preflight inside the transaction — ✅ Worst-case contract self-consistency — Merge blockersNo merge blockers. SuggestionsThese are optional follow-ups and are not sent to S22: 🟢 Handle a rejected
|
|
CI failed: Full Test Suite Shard 1/4 Please investigate and fix this CI failure.
Failure evidence
|
|
✅ Applied the requested follow-up changes in commit 85f5a6a Summary of ChangesFixed the flaky recipient-expiry test with a controlled clock, removing its sub-second issuance deadline. Production behavior is unchanged. Validation: all 15 fleet-extension tests and Core typecheck pass. Strict Core lint remains blocked by two existing warnings in unrelated agent utilities. No visual preview needed for this test-only change. 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
|
Exact-head CI shard 1 failed only in Please make this expiry regression deterministic without weakening production expiry behavior: give acquisition several seconds of valid lifetime within the 60-second assertion cap, then derive the sleep from the returned recipient binding/current clock plus a small safety margin before asserting consumption refusal. Keep the test proving that an actually issued recipient is rejected after expiry. Run the fleet-extension suite, changed-file lint, and Core/Shared typechecks. Do not change the contract schema or pin. |
…ck, removing its sub-second issuance deadline. Production behavior is unchanged. Fixed the flaky recipient-expiry test with a controlled clock, removing its sub-second issuance deadline. Production behavior is unchanged. Validation: all 15 fleet-extension tests and Core typecheck pass. Strict Core lint remains blocked by two existing warnings in unrelated agent utilities. No visual preview needed for this test-only change. PR: #3097 Comment by: @propr-dev[bot] (ID: 6161818376) Model: GPT-6.1 Sol
|
✅ Applied the requested follow-up changes in commit c74bf03 Summary of ChangesUpdated the expiry regression to allow 10 seconds for acquisition, then wait until the issued recipient’s binding expiry plus 100 ms before asserting consumption refusal. Production expiry behavior, schema, and pin are unchanged. Validation passed:
No visual preview needed for this test-only change. 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
…sition, then wait until the issued recipient’s binding expiry plus 100 ms before asserting consumption refusal. Production expiry behavior, schema, and pin are unchanged. Updated the expiry regression to allow 10 seconds for acquisition, then wait until the issued recipient’s binding expiry plus 100 ms before asserting consumption refusal. Production expiry behavior, schema, and pin are unchanged. Validation passed: - Fleet-extension suite: 15 tests. - Changed-file TypeScript lint using a temporary config because Core excludes tests. - Core and Shared typechecks. - Diff whitespace check. No visual preview needed for this test-only change. PR: #3097 Comment by: @integry (ID: 6161844463) Model: GPT-6.1 Sol
|
/review claude-opus |
|
✅ AI Code Review Complete requested by @integry Posted 1 review: |
🔍 AI Code Review — claude-opusOverall EvaluationThis PR adds the immutable, separately pinned
The Fleet data v1/v2 paths and native same-origin routes are preserved. The added tests cover the new null and malformed The most recent change, the deterministic expiry regression, is correct:
I traced admission, recipient issue and consumption, the mutation guards inside transactions, reservation and release accounting, the listener caps and shutdown. I found no PR-introduced defect with a reachable failure sequence. The PR is ready to merge once the pending current-head checks complete. ✅ One-use recipients are claimed before any await — ✅ Revocation is fenced inside the mutation transaction — ✅ Reservation accounting distinguishes proven-unused from uncertain claims — Only an Merge blockersNo merge blockers. SuggestionsThese are optional follow-ups and are not sent to S28: 🟢 Handle
|
AI Implementation Summary
Closes #3096
Branch:
3096/gpt-6.1-sol-publish-encrypted-remote--20261014-0353-xjbCommits: ✅ Changes committed (d3e8c80)
AI Processing Completed
Execution Details:
Summary:
Implemented the pinned private extension contract, durable actor/generation checks, authenticated one-use encrypted recipients, and exact-Git skill import. Added fixtures, checksums, capability metadata, and operator docs.
Validation passed: 113 regression tests, the final 9-test contract suite, and TypeScript checks.
Fleet/Routing still require reciprocal validation and native key-pin provisioning.
Detailed Logs:
01a1388d-1dac-7921-b29d-6d984df9a411Log files stored at:
/tmp/claude-logs/issue-3096-2026-10-14T04-17-58-988Z-conversation.json/tmp/claude-logs/issue-3096-2026-10-14T04-17-58-988Z-output.txtLatest Conversation Messages
This PR was created automatically by ProPR after processing issue #3096.
💡 Need changes?
Comment on this PR to request refinements — the AI agent monitors comments and will update the implementation based on your feedback. Keep iterating until you're satisfied!