Repository navigation
Conversation
…perceptible effect, so no preview files are needed. Summary I removed the obsolete in-guest Hosted reset protocol from PR #3112 (merge `f3de8e277a`), per issue #3153 and the Fleet-ownership decision in `integry/propr-fleet#114`. Deleted outright (reset-only): - `packages/core/src/fleet/`: `resetFence.ts`, `resetProof.ts`, `nativeReset.ts`, `resetAdapters.ts`, `configuredReset.ts` — only `contract.ts`, `dataPlane.ts`, `files.ts` remain - `packages/api/fleetResetRecovery.ts` (dedicated recovery entry point) and `packages/shared/src/fleetReset.ts` (reset contract/schemas, un-exported from the shared index) - `packages/core/test/fleetNativeReset.test.ts`, `packages/core/test/fleetResetProof.test.ts`, `scripts/generate-fleet-reset-fixtures.mjs`, `docs/contracts/fleet-reset-v1/` (whole contract dir), and `.github/workflows/fleet-reset-mounts.yml` Surgically cleaned (reset hooks removed, independently useful behavior preserved): - `packages/api/fleetDataListener.ts`: dropped the `/reset/v1/invoke` route, `FleetResetProofPlane` wiring, the recovery listener, and the `nativeReset` plumbing in `startConfiguredFleetData`; the fleet-data plane, Unix-socket hygiene, and public refusal of `/v1/invoke` are unchanged - `packages/api/server.ts`: removed the per-request generation-fence middleware and `configuredNativeReset` startup block; the listener now starts directly. Browser-session shutdown (`socketAuthMiddleware.close`) stays — it was already independently wired into server shutdown - `packages/api/auth.ts`, `core/src/utils/logger.ts`, `core/src/db/connection.ts`, `core/src/storage/lifecycle.ts`: removed `assertConfiguredResetGeneration`/`configuredResetFence` guards, restoring the pre-reset query path and the original SQLITE_BUSY retry comment - `src/daemon.ts`, `src/worker.ts`: unwrapped `watchResetGeneration` back to plain graceful-shutdown closures (the native `--reset` queue-clearing flags are untouched) - `authSession.ts` (BrowserSessionLifecycle), `socketService.ts`, `taskWatcher.ts` and their tests were left entirely alone, as the issue requires Regressions added (`packages/core/test/fleetDataPlane.test.ts`): a new test proves `/reset/v1/invoke` is refused (403, `fleet_data_unavailable`) on the private listener while ordinary signed data-plane work still succeeds, that only the three data-plane modules remain in `core/src/fleet`, the contract dir is gone, and no reset symbol survives in the listener, server, shared index, daemon, or worker. The configured-startup test was rewritten to execute the simplified production startup expression (including demo-mode gating) and now asserts `server.ts` contains no reset wiring at all. Validation: shared/core/API builds, root typecheck, `git diff --check`, and zero-warning lint on all changed files all pass. Tests: 49/49 fleet data-plane, 77/77 API (instance authorization, browser-session shutdown, socket ordering, task watcher), 84 pass/0 fail storage-lifecycle/sqlite-retry/logger suites. The two remaining core lint warnings are pre-existing in files this change never touched. All Hosted/reset/public gates remain false; native data controls, billing, backups, and deployment paths were not touched.
|
/review gpt-6-astra |
|
✅ AI Code Review Complete requested by @integry Posted 1 review: |
🔍 AI Code Review — gpt-6-astraOverall EvaluationThe PR cleanly retires the in-guest reset protocol and leaves infrastructure replacement to Fleet. It is merge-ready within the reviewed scope, conditional on the pending checks completing successfully. ✅ Complete protocol removal — Removes the reset contracts, private listener actions, recovery entry point, native erasure implementation, proof generation, fixtures, documentation, and dedicated workflow. ✅ General safety preserved — Storage claims and nested-work tracking, SQLite retries, browser-session lifecycle controls, and ordinary authentication checks remain intact. ✅ Retained transport coverage — The new regression test checks that the private listener refuses This assessment is based on static tracing of the supplied diff and surrounding context; no commands or tests were run. The supplied current-head status reports no failures and six pending checks. Merge blockersNo merge blockers. SuggestionsThese are optional follow-ups and are not sent to S1: 🟢 Narrow structural test assertionsIn ScoreThe changes match the removal objective, preserve the relevant independent safety mechanisms, and add focused refusal coverage. No merge-blocking regression was identified; final CI results remain pending. Score: 9/10 🤖 Review Details
Copy and edit to choose records from this review: 🤖 Review by ProPR |
|
Please apply Astra S1 as a tightly scoped Fable cleanup on exact head
Do not restore or replace any in-guest Hosted reset behavior and do not touch Fleet hard replacement, native database export/repository controls, MCP/skills, billing, backup, rollout, deployment, credentials, or live instances. Run the focused Fleet data-plane/API/storage/session tests, lint/typecheck/build, and |
|
✅ Applied the requested follow-up changes in commit ef879c0 Summary of ChangesAstra S1 is applied as a tightly scoped cleanup on head
Spacing artifacts cleaned: Verification
This is a backend/test-only change with no visually perceptible effect, so no preview files were created. 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
…bf7d8f0`, touching exactly three files. Astra S1 is applied as a tightly scoped cleanup on head `83bf7d8f0`, touching exactly three files. **`packages/core/test/fleetDataPlane.test.ts` — targeted absence assertions** - The behavioral core is unchanged: the private listener still refuses `/reset/v1/invoke` with 403 `fleet_data_unavailable`, and an ordinary signed `repositories.list` succeeds on the same socket within the same test. - The exact three-file `readdir` enumeration of `packages/core/src/fleet` is gone. In its place, each retired reset-only artifact is asserted ENOENT individually: the five reset modules (`resetFence`, `resetProof`, `nativeReset`, `resetAdapters`, `configuredReset`), the recovery entry point `packages/api/fleetResetRecovery.ts`, the shared contract `packages/shared/src/fleetReset.ts`, `docs/contracts/fleet-reset-v1`, the fixture generator script, and the retired workflow. The retired exports (`FLEET_RESET_CONTRACT`, `FLEET_RESET_PATH`, schemas, etc.) are asserted absent from the live `@propr/shared` surface. - The broad per-file regex was replaced with a per-file list of exact retired symbol/import/registration strings (e.g. `FleetResetProofPlane` and `fleet_reset_unavailable` in the listener, `configuredNativeReset`/`assertConfiguredResetGeneration` in `server.ts`, `./fleetReset.js` in the shared index, `watchResetGeneration` in daemon/worker). The configured-startup test's whole-file `assert.doesNotMatch(source, /reset/i)` was likewise replaced with the specific startup-registration symbols. **Spacing artifacts cleaned:** `const PORT = Number(...)` in `packages/api/server.ts:189` and `const redacted = /.../ ` in `packages/core/src/utils/logger.ts:19`. Nothing else was reformatted, and no reset behavior, Fleet replacement, native controls, or other subsystems were touched. **Verification** - Mutation probes confirm the new assertions are neither too loose nor too tight: appending a `configuredNativeReset` reference to `server.ts` fails the test; adding a brand-new `packages/core/src/fleet/futureModule.ts` passes; adding benign "resets the connection pool" wording to `server.ts` passes the startup test (all probe edits reverted). - Tests: fleet data-plane 49/49, focused API suites (instance authorization, browser-session shutdown, socket ordering, task watcher) 77/77, storage/sqlite-retry/logger suites 84 pass / 0 fail (6 pre-existing skips) — matching the head commit's baselines. - Zero-warning lint passes on `server.ts` and `logger.ts` (the test file is outside the core lint config scope, as previously established), shared/core/API builds and the root typecheck pass, and `git diff --check` is clean. This is a backend/test-only change with no visually perceptible effect, so no preview files were created. PR: #3159 Comment by: @integry (ID: 6205615215) Model: Claude Fable 5
|
/review gpt-6-astra |
|
✅ AI Code Review Complete requested by @integry Posted 1 review: |
🔍 AI Code Review — gpt-6-astraOverall EvaluationThe PR cleanly retires the in-guest reset protocol and its startup wiring, contracts, recovery entry point, destructive implementation, documentation, and dedicated tests. It is merge-ready within the reviewed scope, conditional on pending checks completing successfully. ✅ Scoped removal — Reset-specific fencing is removed while ordinary authentication, browser-session lifecycle handling, storage read claims, queue protection, and SQLite retries remain intact. ✅ Private listener behavior preserved — The listener now accepts only ✅ Focused regression assertions — Targeted retired-file and symbol assertions allow future Fleet modules and unrelated reset wording. The requested spacing cleanup is also present. This assessment is based on static review of the supplied diff and context; no commands or tests were run. The authoritative check summary reports no failures and 15 pending checks. Merge blockersNo merge blockers. SuggestionsThese are optional follow-ups and are not sent to No suggestions. ScoreThe changes satisfy the retirement objective without a demonstrated regression in surviving behavior, and the revised tests address the earlier maintainability concern. Final CI results remain pending. Score: 9/10 🤖 Review Details
🤖 Review by ProPR |
|
CI failed: Full Test Suite Shard 4/4 Please investigate and fix this CI failure.
Failure evidence
|
|
🔄 Starting work on follow-up changes requested by @propr-dev[bot] I'll analyze the 1 request and implement the necessary changes. Processing comment ID: 6205895225✓ |
|
⌛ Processing Delayed: Claude's usage limit was reached while processing requests from @propr-dev[bot]. The job has been automatically rescheduled and will restart 01:50 AM UTC on 10/16/2026. Job ID: pr-comments-batch-integry-propr-3159-claude-fable-3153-claude-fable-5-remove-obs-ratelimit-retry-c170035c4573d7dc will run again after delay. |
AI Implementation Summary
Closes #3153
Branch:
3153/claude-fable-5-remove-obsolete-in-guest--20261016-0041-ty1Commits: ✅ Changes committed (83bf7d8)
AI Processing Completed
Execution Details:
Summary:
Everything is verified. This change is backend-only with no visually perceptible effect, so no preview files are needed.
Summary
I removed the obsolete in-guest Hosted reset protocol from PR #3112 (merge
f3de8e277a), per issue #3153 and the Fleet-ownership decision inintegry/propr-fleet#114.Deleted outright (reset-only):
packages/core/src/fleet/:resetFence.ts,resetProof.ts,nativeReset.ts,resetAdapters.ts,configuredReset.ts— onlycontract.ts,dataPlane.ts,files.tsremainpackages/api/fleetResetRecovery.ts(dedicated recovery entry point) andpackages/shared/src/fleetReset.ts(reset contract/schemas, un-exported from the shared index)packages/core/test/fleetNativeReset.test.ts,packages/core/test/fleetResetProof.test.ts,scripts/generate-fleet-reset-fixtures.mjs,docs/contracts/fleet-reset-v1/(whole contract dir), and.github/workflows/fleet-reset-mounts.ymlSurgically cleaned (reset hooks removed, independently useful behavior preserved):
packages/api/fleetDataListener.ts: dropped the/reset/v1/invokeroute,FleetResetProofPlanewiring, the recovery listener, and thenativeResetplumbing instartConfiguredFleetData; the fleet-data plane, Unix-socket hygiene, and public refusal of/v1/invokeare unchangedpackages/api/server.ts: removed the per-request generation-fence middleware andconfiguredNativeResetstartup block; the listener now starts directly. Browser-session shutdown (socketAuthMiddleware.close) stays — it was already independently wired into server shutdownpackages/api/auth.ts,core/src/utils/logger.ts,core/src/db/connection.ts,core/src/storage/lifecycle.ts: removedassertConfiguredResetGeneration/configuredResetFenceguards, restoring the pre-reset query path and the original SQLITE_BUSY retry commentsrc/daemon.ts,src/worker.ts: unwrappedwatchResetGenerationback to plain graceful-shutdown closures (the native--resetqueue-clearing flags are untouched)authSession.ts(BrowserSessionLifecycle),socketService.ts,taskWatcher.tsand their tests were left entirely alone, as the issue requiresRegressions added (
packages/core/test/fleetDataPlane.test.ts): a new test proves/reset/v1/invokeis refused (403,fleet_data_unavailable) on the private listener while ordinary signed data-plane work still succeeds, that only the three data-plane modules remain incore/src/fleet, the contract dir is gone, and no reset symbol survives in the listener, server, shared index, daemon, or worker. The configured-startup test was rewritten to execute the simplified production startup expression (including demo-mode gating) and now assertsserver.tscontains no reset wiring at all.Validation: shared/core/API builds, root typecheck,
git diff --check, and zero-warning lint on all changed files all pass. Tests: 49/49 fleet data-plane, 77/77 API (instance authorization, browser-session shutdown, socket ordering, task watcher), 84 pass/0 fail storage-lifecycle/sqlite-retry/logger suites. The two remaining core lint warnings are pre-existing in files this change never touched. All Hosted/reset/public gates remain false; native data controls, billing, backups, and deployment paths were not touched.Detailed Logs:
265c7e34-1c8a-400b-a9b0-2696462e9665Log files stored at:
/usr/src/app/logs/executions/issue-3153-2026-10-16T00-54-03-231Z-conversation.json/usr/src/app/logs/executions/issue-3153-2026-10-16T00-54-03-231Z-output.txtLatest Conversation Messages
This PR was created automatically by ProPR after processing issue #3153.
💡 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!