Skip to content

refactor: package code organization wave 20 (self-healing workspace peels) - #3424

Open
gsxdsm wants to merge 3 commits into
mainfrom
feature/code-organization-wave20
Open

refactor: package code organization wave 20 (self-healing workspace peels)#3424
gsxdsm wants to merge 3 commits into
mainfrom
feature/code-organization-wave20

Conversation

@gsxdsm

@gsxdsm gsxdsm commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator

Summary

Continues U5 after wave 19 (#3403) landed.

Peels the workspace reconcile cluster and the shared backward-move triple-proof helpers out of self-healing.ts. SelfHealingManager keeps thin wrappers so public methods and sweep wiring stay on the stable class path.

Peels

Module Contents
self-healing/workspace-liveness.ts isWorkspaceTaskLive, isWorkspaceOwnerLive
self-healing/backward-move-proof.ts triple-proof + no-action emit
self-healing/workspace-reconcile.ts partial-land, phantom land-lease, pre-exec worktrees, orphaned per-repo worktrees
self-healing/sweep-constants.ts starvation / idle / phantom-age budgets

Line count

  • self-healing.ts: 16024 → 15367 (baseline ratcheted to post-peel live)

Test plan

  • engine typecheck
  • self-healing-workspace.test.ts
  • self-healing-trait-rekey.test.ts
  • self-healing-reclaim-paused-review.test.ts
  • self-healing-reclaim-live-zero-commits.test.ts
  • self-healing-paused-abort-recovery.test.ts
  • CI gate

Follow-ups

U5 Slice C: startup / in-review / merge-status / dependency reconcile clusters.

Summary by CodeRabbit

  • Bug Fixes

    • Improved automatic recovery for stalled workspace tasks, stale leases, idle worktrees, and orphaned worktrees.
    • Added safeguards to prevent unsafe task movement and better identify when operator action is needed.
    • Preserved correct recommendation behavior when completed columns are provided.
    • Standardized archived mailbox tab handling across loading, refreshing, styling, and task actions.
  • Tests

    • Added coverage for archived mailbox lifecycle classification.

@coderabbitai

coderabbitai Bot commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 3cb2d2f8-c4fa-4efe-9c97-fc277caee277

📥 Commits

Reviewing files that changed from the base of the PR and between 9f61472 and a7fe8c6.

📒 Files selected for processing (4)
  • packages/dashboard/app/components/MailboxModal.tsx
  • packages/dashboard/app/components/MailboxView.tsx
  • scripts/__tests__/lifecycle-census-mailbox-tab.test.mjs
  • scripts/lib/lifecycle-column-census-baseline.json

📝 Walkthrough

Walkthrough

The change extracts self-healing workspace logic into shared modules and delegates existing methods through a reconciliation host. It also centralizes archived mailbox-tab checks, updates lifecycle census coverage, forwards completeColumns, and refreshes the line-count baseline.

Changes

Workspace self-healing

Layer / File(s) Summary
Shared sweep constants and liveness helpers
packages/engine/src/self-healing/*
Shared thresholds and workspace task and owner liveness predicates are added and used by self-healing logic.
Backward-move proof and no-action handling
packages/engine/src/self-healing/backward-move-proof.ts, packages/engine/src/self-healing.ts
Backward-move safety checks, incomplete-worktree detection, audit mutations, and bounded notifications are extracted and delegated.
Workspace reconciliation sweeps
packages/engine/src/self-healing/workspace-reconcile.ts
Partial-land recovery, phantom lease reclamation, pre-execution cleanup, and orphaned worktree cleanup are implemented with pause, liveness, retry, and audit handling.
Self-healing delegation and baseline update
packages/engine/src/self-healing.ts, scripts/line-count-baseline.json
Self-healing provides reconciliation dependencies, delegates public reconciliation methods, removes obsolete local wiring, and updates the line-count baseline.

Lifecycle census classification

Layer / File(s) Summary
Mailbox archived-tab classification
packages/dashboard/app/components/MailboxModal.tsx, packages/dashboard/app/components/MailboxView.tsx, scripts/__tests__/lifecycle-census-mailbox-tab.test.mjs, scripts/lib/lifecycle-column-census-baseline.json
Mailbox components use isMailboxArchivedTab for archived-tab behavior. Tests and baseline entries classify deliberate helper usage separately from bare comparisons.

Task recommendation options

Layer / File(s) Summary
Complete-column option forwarding
packages/core/src/store.ts
listTaskRecommendations forwards a copied options object with an explicit completeColumns property.

Estimated code review effort: 4 (Complex) | ~45 minutes

Mergeability Score: 🔵 Low · up to a7fe8

This refactor moves workspace reconciliation and proof helpers behind the existing manager wrappers, but sweep counts and summary logs still treat dropped or non-wired enqueue attempts as recoveries. That can misstate self-healing effectiveness and hinder diagnosis, so the PR is mergeable with explicit owner follow-up.

Possibly related PRs

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly identifies the refactor and the extraction of self-healing workspace logic, which matches the main changes.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/code-organization-wave20

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 4

🧹 Nitpick comments (2)
packages/engine/src/self-healing/workspace-reconcile.ts (1)

140-157: 🚀 Performance & Scalability | 🔵 Trivial | ⚡ Quick win

Bound the per-task workflow IR resolution.

The loop calls resolveWorkflowIrForTaskWithProvenance once per review-lane task, sequentially, before any candidate filter runs. On projects with many review-lane tasks this serializes one resolver round trip per task on every sweep. Two cheaper options exist: apply the store-free parts of the candidate predicate (isWorkspaceTask, mergeConfirmed, ACTIVE_MERGE_STATUSES) first and resolve only survivors, or resolve in a bounded concurrent window as TriageProcessor.discoverReadyPlanningTasks does.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@packages/engine/src/self-healing/workspace-reconcile.ts` around lines 140 -
157, Bound the per-task calls to resolveWorkflowIrForTaskWithProvenance in the
workspace reconciliation loop: filter tasks using the store-free candidate
checks (isWorkspaceTask, mergeConfirmed, and ACTIVE_MERGE_STATUSES) before
resolving, and process remaining resolutions with bounded concurrency rather
than sequentially. Preserve the existing wsPartialLanes fallback behavior for
resolver failures.
packages/engine/src/self-healing.ts (1)

994-999: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Rename the private wrappers to avoid shadowing the imported predicates.

isWorkspaceTaskLive and isWorkspaceOwnerLive are both method names and imported function names. The bodies resolve to the module imports because the methods need this., so behavior is correct today. A future edit that adds this. inside either body creates infinite recursion. Import the functions under ...Impl aliases, as the file already does for the other extracted helpers.

♻️ Proposed refactor
-import { isWorkspaceTaskLive, isWorkspaceOwnerLive } from "./self-healing/workspace-liveness.js";
+import {
+  isWorkspaceTaskLive as isWorkspaceTaskLiveImpl,
+  isWorkspaceOwnerLive as isWorkspaceOwnerLiveImpl,
+} from "./self-healing/workspace-liveness.js";
   private isWorkspaceTaskLive(task: Task): { live: boolean; livePaths: string[] } {
-    return isWorkspaceTaskLive(task, this.options.isTaskActive);
+    return isWorkspaceTaskLiveImpl(task, this.options.isTaskActive);
   }
 
   private isWorkspaceOwnerLive(owner: Task | null | undefined, completeColumns: ReadonlySet<string>): boolean {
-    return isWorkspaceOwnerLive(owner, completeColumns);
+    return isWorkspaceOwnerLiveImpl(owner, completeColumns);
   }
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@packages/engine/src/self-healing.ts` around lines 994 - 999, Alias the
imported isWorkspaceTaskLive and isWorkspaceOwnerLive predicates with Impl-style
names, matching the existing helper import convention, and update both private
wrapper methods to call those aliases. Keep the wrapper method names and
behavior unchanged.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@packages/engine/src/self-healing.ts`:
- Around line 266-270: Remove the unused PRE_EXECUTION_WORKTREE_MAX_IDLE_MS
import from the self-healing.ts import list, leaving
PHANTOM_EXECUTOR_BINDING_AGE_MULTIPLIER and MAX_STARVATION_DROPS unchanged.

In `@packages/engine/src/self-healing/workspace-reconcile.ts`:
- Around line 187-190: Update the active-merge-task guard in the workspace
reconciliation flow to pass the `"merge-pending"` reason to
emitWorkspacePartialLandNoAction instead of `"live-worktree"`, while preserving
the existing host, task, and livePaths arguments.
- Around line 418-432: Replace the raw Git error text stored in reason within
the orphaned-workspace reconciliation catch block with a bounded outcome code,
while preserving the existing success/failure audit metadata structure. Keep the
full error detail in a separate failureDetail value and use it only in the
log.warn call associated with this reconciliation flow; do not include
failureDetail or error prose in createRunAuditor metadata.
- Around line 255-271: Update enqueueWorkspaceMergeBounded to return true only
for re-enqueue and park-failed outcomes, and false for re-enqueue-noop and
re-enqueue-dropped. In both call sites shown, capture the helper result and
increment recovered only when it is true so the returned count and summary log
exclude no-op and dropped tasks.

---

Nitpick comments:
In `@packages/engine/src/self-healing.ts`:
- Around line 994-999: Alias the imported isWorkspaceTaskLive and
isWorkspaceOwnerLive predicates with Impl-style names, matching the existing
helper import convention, and update both private wrapper methods to call those
aliases. Keep the wrapper method names and behavior unchanged.

In `@packages/engine/src/self-healing/workspace-reconcile.ts`:
- Around line 140-157: Bound the per-task calls to
resolveWorkflowIrForTaskWithProvenance in the workspace reconciliation loop:
filter tasks using the store-free candidate checks (isWorkspaceTask,
mergeConfirmed, and ACTIVE_MERGE_STATUSES) before resolving, and process
remaining resolutions with bounded concurrency rather than sequentially.
Preserve the existing wsPartialLanes fallback behavior for resolver failures.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: dc2df962-d38f-4438-9b62-1d6753712e24

📥 Commits

Reviewing files that changed from the base of the PR and between 6e04b31 and ac801c2.

📒 Files selected for processing (6)
  • packages/engine/src/self-healing.ts
  • packages/engine/src/self-healing/backward-move-proof.ts
  • packages/engine/src/self-healing/sweep-constants.ts
  • packages/engine/src/self-healing/workspace-liveness.ts
  • packages/engine/src/self-healing/workspace-reconcile.ts
  • scripts/line-count-baseline.json

Comment thread packages/engine/src/self-healing.ts
Comment thread packages/engine/src/self-healing/workspace-reconcile.ts
Comment thread packages/engine/src/self-healing/workspace-reconcile.ts
Comment thread packages/engine/src/self-healing/workspace-reconcile.ts Outdated
gsxdsm added a commit that referenced this pull request Aug 13, 2026
Drop unused peel leftovers so Lint is green, alias workspace liveness
helpers to avoid wrapper shadowing, and persist closed git-remove
outcomes in run-audit instead of error prose.
@gsxdsm

gsxdsm commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator Author

Bound the per-task workflow IR resolution.

Rename the private wrappers to avoid shadowing the imported predicates.

Nitpick follow-up from the review body:

  • Shadowing: addressed in 1132723. The wrappers now call isWorkspaceTaskLiveImpl / isWorkspaceOwnerLiveImpl, matching the other peel aliases.
  • IR bounding: declined for this organize wave. Filtering or adding a concurrent resolver window would change sweep structure and timing; the peel keeps the original sequential resolve-then-filter order.

The two other inline items that would change recovery audit/metrics (activeMergeTaskId"merge-pending", and gating recovered++ on enqueueWorkspaceMergeBounded) are also declined as pre-peel contracts. Lint leftovers and the git-error run-audit hygiene are fixed in the same commit.

gsxdsm added a commit that referenced this pull request Aug 13, 2026
Drop unused peel leftovers so Lint is green, alias workspace liveness
helpers to avoid wrapper shadowing, and persist closed git-remove
outcomes in run-audit instead of error prose.
@gsxdsm
gsxdsm force-pushed the feature/code-organization-wave20 branch from 1132723 to c90b75d Compare August 13, 2026 21:52
@gsxdsm

gsxdsm commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator Author

Rebased onto current main (22 commits, no conflicts).

Lint was still red after the unused-import fix because FN-9014's mailbox folder tab activeTab === "archived" was counted as a lifecycle-column guard. That is a folder name, not a board column. c90b75d903 classifies activeTab as a non-column receiver so --strict stays at the recorded zero backlog.

Recovery contracts from the last review pass are unchanged (live-worktree vs merge-pending, recovered counting, sequential IR resolve).

@coderabbitai

coderabbitai Bot commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Note

GitHub couldn't provide a complete incremental comparison for this pull request, so CodeRabbit is performing a full review instead. This review may take a little longer.

@greptile-apps

greptile-apps Bot commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR reorganizes workspace self-healing logic into focused modules while retaining thin SelfHealingManager wrappers.

  • Extracts workspace liveness and backward-move proof helpers.
  • Moves workspace partial-land and pre-execution reconciliation into a dedicated module.
  • Centralizes shared sweep constants and updates repository baselines.

Confidence Score: 5/5

The PR appears safe to merge within the scope permitted for this follow-up review.

No blocking failure remains from the previously reported lifecycle-census issue.

Important Files Changed

Filename Overview
packages/engine/src/self-healing.ts Replaces inline workspace recovery logic with host-backed calls into extracted modules.
packages/engine/src/self-healing/backward-move-proof.ts Houses the extracted triple-proof gate, recent-activity check, and no-action notification behavior.
packages/engine/src/self-healing/workspace-liveness.ts Centralizes workspace task and owner liveness classification.
packages/engine/src/self-healing/workspace-reconcile.ts Contains the extracted workspace reconcilers.
packages/engine/src/self-healing/sweep-constants.ts Centralizes starvation, idle, phantom-binding, and teardown timing budgets.
scripts/lib/lane-wiring-baseline.json Moves the lane-wiring allowance from the original class file to the extracted reconciler.
scripts/line-count-baseline.json Updates the self-healing source line-count baseline.

Reviews (12): Last reviewed commit: "Merge origin/main into feature/code-orga..." | Re-trigger Greptile

Comment thread scripts/lib/lifecycle-column-census-ast.mjs Outdated
gsxdsm added a commit that referenced this pull request Aug 14, 2026
Drop unused peel leftovers so Lint is green, alias workspace liveness
helpers to avoid wrapper shadowing, and persist closed git-remove
outcomes in run-audit instead of error prose.
@gsxdsm
gsxdsm force-pushed the feature/code-organization-wave20 branch from a7fe8c6 to d3c68da Compare August 14, 2026 20:02
@gsxdsm

gsxdsm commented Aug 14, 2026

Copy link
Copy Markdown
Collaborator Author

Rebased onto current main (17 more commits, no conflicts).

Dropped our listTaskRecommendations rewire — main already recorded that facade in the lane-wiring baseline (9c83812351). store.ts is now identical to main.

Mailbox archived tabs stay as DELIBERATE-LITERAL helpers. Recovery peel contracts are unchanged.

gsxdsm added a commit that referenced this pull request Aug 15, 2026
Drop unused peel leftovers so Lint is green, alias workspace liveness
helpers to avoid wrapper shadowing, and persist closed git-remove
outcomes in run-audit instead of error prose.
@gsxdsm
gsxdsm force-pushed the feature/code-organization-wave20 branch from d3c68da to 37e68e7 Compare August 15, 2026 22:55
gsxdsm added a commit that referenced this pull request Aug 23, 2026
Drop unused peel leftovers so Lint is green (basename/dirname and the
base-branch imports that moved with the reconcilers). Move the
skipColumnIdentityCheck lane-wiring allowance with getTaskMergeBlocker,
and ratchet the self-healing.ts line-count baseline to the post-peel live
count.
@gsxdsm
gsxdsm force-pushed the feature/code-organization-wave20 branch from 23c4fc2 to 55c44de Compare August 23, 2026 22:51
@github-actions

github-actions Bot commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

ThreatCrush Security Scan

4610 finding(s)

HIGH/CRITICAL: 42 | MEDIUM: 4071 | LOW: 497

Severity Rule Location
HIGH secret-database-url .github/workflows/full-suite.yml:55
HIGH secret-generic-credential .github/workflows/full-suite.yml:56
HIGH secret-database-url .github/workflows/full-suite.yml:241
HIGH secret-generic-credential .github/workflows/full-suite.yml:242
HIGH secret-database-url .github/workflows/full-suite.yml:281
HIGH secret-generic-credential .github/workflows/full-suite.yml:282
HIGH secret-database-url .github/workflows/pr-checks.yml:214
HIGH secret-generic-credential .github/workflows/pr-checks.yml:215
HIGH secret-generic-credential .github/workflows/release.yml:522
HIGH secret-generic-credential .github/workflows/release.yml:524
HIGH secret-generic-credential .github/workflows/test-release.yml:445
HIGH secret-generic-credential .github/workflows/test-release.yml:447
HIGH secret-generic-credential docs/signals-connectors.md:34
HIGH secret-generic-credential docs/signals-connectors.md:77
HIGH secret-generic-credential docs/signals-connectors.md:94
HIGH secret-generic-credential docs/signals-connectors.md:117
HIGH secret-generic-credential docs/signals-connectors.md:159
HIGH secret-generic-credential packages/cli/STANDALONE.md:71
HIGH secret-database-url packages/core/src/postgres/credential-redact.ts:12
HIGH secret-database-url packages/core/src/postgres/credential-redact.ts:30
HIGH secret-database-url packages/core/src/postgres/credential-redact.ts:31
HIGH secret-database-url packages/core/src/postgres/credential-redact.ts:102
HIGH secret-database-url packages/core/src/postgres/credential-redact.ts:103
HIGH secret-generic-credential packages/core/src/postgres/embedded-lifecycle.ts:843
HIGH secret-database-url packages/core/src/postgres/embedded-lifecycle.ts:1574
HIGH secret-database-url packages/core/src/postgres/pg-backup.ts:756
HIGH js-ssrf-outbound-request packages/dashboard/app/public/sw.js:651
HIGH js-ssrf-outbound-request packages/dashboard/app/public/sw.js:727
HIGH js-host-header-trust packages/dashboard/src/cli-session-ws.ts:81
HIGH js-host-header-trust packages/dashboard/src/cli-session-ws.ts:115
HIGH js-ssrf-outbound-request packages/dashboard/src/routes.ts:1862
HIGH js-host-header-trust packages/dashboard/src/server.ts:2607
HIGH js-host-header-trust packages/dashboard/src/server.ts:2632
HIGH js-host-header-trust packages/dashboard/src/server.ts:2943
HIGH js-host-header-trust packages/dashboard/src/server.ts:3096
HIGH secret-slack-webhook plugins/examples/fusion-plugin-notification/README.md:46
HIGH secret-database-url scripts/pg-test-server.mjs:200
HIGH secret-database-url scripts/pg-test-server.mjs:231
HIGH secret-database-url scripts/pg-test-server.mjs:241
HIGH secret-generic-credential scripts/sync-fusion-skill-tools.mjs:550
HIGH secret-generic-credential scripts/verify-windows-elevated-restricted.mjs:81
HIGH secret-generic-credential scripts/verify-windows-encoding-recovery.mjs:41
MEDIUM redos-nested-quantifier docs/agents.md:1710
MEDIUM insecure-temp-file packages/cli/src/__tests__/bin.test.ts:141
MEDIUM insecure-temp-file packages/cli/src/__tests__/dev-with-memory-lib.test.ts:33
MEDIUM insecure-temp-file packages/cli/src/__tests__/dev-with-memory-lib.test.ts:34
MEDIUM insecure-temp-file packages/cli/src/__tests__/dev-with-memory-lib.test.ts:35
MEDIUM insecure-temp-file packages/cli/src/__tests__/dev-with-memory-lib.test.ts:43
MEDIUM insecure-temp-file packages/cli/src/__tests__/dev-with-memory-lib.test.ts:46
MEDIUM insecure-temp-file packages/cli/src/__tests__/dev-with-memory-lib.test.ts:391

…and 4560 more. Full results in the Security tab.

Snippets are redacted; ThreatCrush never prints matched credential material.

…eels)

U5 Slice B on latest main: peel workspace reconcilers and the backward-move
triple-proof gate out of SelfHealingManager. Public class methods stay on
the stable path as thin wrappers.

- workspace-liveness.ts
- backward-move-proof.ts
- workspace-reconcile.ts (partial-land, phantom lease, pre-exec, orphan worktrees)
- sweep-constants.ts
- self-healing.ts 16983 → 16118

Fold post-peel main invariants (workspaceMode triple-proof, confirmed-scope
recovery, recorded base-branch resolution, mergeTransientRetryCount, and
isFusionDeletableBranch teardown) into the extracted modules.
Drop unused peel leftovers so Lint is green (basename/dirname and the
base-branch imports that moved with the reconcilers). Move the
skipColumnIdentityCheck lane-wiring allowance with getTaskMergeBlocker,
and ratchet the self-healing.ts line-count baseline to the post-peel live
count.
@gsxdsm
gsxdsm force-pushed the feature/code-organization-wave20 branch from bec9200 to e7754d2 Compare September 4, 2026 04:48
@gsxdsm

gsxdsm commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator Author

Automated fix: resolved merge conflicts and rebased onto current main.

Resolve 7 conflicts in packages/engine/src/self-healing.ts:
- Imports: union main's newer symbols (basename/dirname retained for
  inline reconcilers; isStaleContentApprovalBlocker, cleanup helpers).
- Drop obsolete classifyAutoArchiveFailure (auto-archive retired);
  keep TERMINAL_WORKSPACE_WORKTREE_TEARDOWN_MIN_IDLE_MS.
- workspaceOwnerTerminalReason/isWorkspaceOwnerLive: take main's
  2-arg archive-free versions.
- reclaimPhantomWorkspaceLandLeases / reconcileOrphanedWorkspaceWorktrees:
  take main's newer inline implementations (acquire-lease sweep,
  failed-lane-only teardown floor); remove stale extracted duplicates
  from workspace-reconcile.ts and unused imports/host callbacks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant