Skip to main content

Parallel analysis lane

[← Source sessions](/audits/fable/key-sessions) · [Transcript archive](/audits/fable/transcripts) · [Executive summary](/audits/fable/findings-summary)
# Parallel analysis lane | Field | Value | | --- | --- | | Session ID | `6378d195-6f3f-427d-9d26-dcf6fff8ae10` | | Lead session | `2f3a0cb7-adbc-43d2-8e13-85fb0072fbf3` | | Record type | Parallel workstream export | :::note[Appendix record] Readable export of a supplementary review session. Tool outputs and system context are omitted; download the [JSONL archive](/audits/fable-chats-4626-2026-06.zip) for the complete log. ::: ## Engagement brief

You are doing a repo cleanup analysis in /home/akitav2/projects/4626. Goal: identify high-confidence old/unneeded files safe to delete NOW.

Method:

  1. Find files marked deprecated/legacy/retired/wrapper/archived.
  2. Check whether each candidate is referenced anywhere in repo (imports, scripts, docs links, package scripts, workflow references).
  3. Return only candidates with strong evidence of being unneeded (zero references or explicit replacement path).
  4. Separate into: A) Safe-to-delete now (high confidence) B) Needs confirmation (possible but uncertain)

Output format:

  • Bullet list with file path + evidence (reference search summary).
  • Keep it concise; prioritize <=15 highest-confidence candidates.

Do not suggest deleting active config files, lockfiles, migrations, or AGENTS/rules files.

Analysis

Searching the repo for deprecated, legacy, retired, wrapper, and archived markers, then checking references for each candidate.

[REDACTED]

Tools invoked: UpdateCurrentStep, Glob, Glob, Glob, Glob, Grep

Analysis

[REDACTED]

Tools invoked: Glob, Grep, Glob, Glob, Glob

Analysis

[REDACTED]

Tools invoked: Grep, Grep, Grep, Grep, Grep, Grep

Analysis

[REDACTED]

Tools invoked: Grep, Grep, Grep, Grep, Grep, Glob

Analysis

[REDACTED]

Tools invoked: Glob, Grep, Grep, Grep, Read, Read

Analysis

[REDACTED]

Tools invoked: Grep, Grep, Grep, Grep, Glob, Grep

Analysis

[REDACTED]

Tools invoked: Grep, Grep, Read, Grep, Glob, Grep

Analysis

[REDACTED]

Tools invoked: Read, Grep, Grep, Glob, Grep, Read

Analysis

[REDACTED]

Tools invoked: Read, Read, Grep, Grep, Grep, Grep

Analysis

[REDACTED]

Tools invoked: Grep, Glob, Grep, Grep, Read, Grep

Analysis

[REDACTED]

Tools invoked: Glob, Grep, Grep, Glob, Grep, Grep

Analysis

[REDACTED]

Tools invoked: Grep, Grep, Grep, Glob, Grep

Analysis

[REDACTED]

Tools invoked: Glob, Glob, Glob, Grep, Grep, Grep

Analysis

[REDACTED]

Tools invoked: Glob, Grep, Grep, Glob, Glob, Grep

Analysis

[REDACTED]

Tools invoked: Glob, Grep, Grep, Grep, Glob, Grep

Analysis

[REDACTED]

Tools invoked: Glob, Grep, Glob, Read, Grep

Analysis

[REDACTED]

Tools invoked: Grep, Grep, Grep, Read, Grep, Grep

Analysis

[REDACTED]

Tools invoked: Glob, Grep, Grep, Grep, Glob, Grep

Analysis

[REDACTED]

Tools invoked: Glob, Grep, Grep, Read, Grep

Analysis

[REDACTED]

Tools invoked: Read, Grep, Grep, Grep, Glob, Grep

Analysis

[REDACTED]

Tools invoked: Glob, Grep, Read, Grep, Grep

Analysis

[REDACTED]

Tools invoked: Grep, Glob, Grep, Glob, Grep, Grep

Analysis

[REDACTED]

Tools invoked: Grep, Grep, Glob, Grep, Read, Read

Analysis

[REDACTED]

Tools invoked: Grep, Read, Grep, Grep, Glob

Analysis

[REDACTED]

Tools invoked: Grep, Grep, Shell, Grep, Grep

Analysis

[REDACTED]

Tools invoked: Read, Grep, Grep, Grep, Grep

Analysis

[REDACTED]

Tools invoked: Grep, Grep, Shell, Grep, Grep

Analysis

[REDACTED]

Tools invoked: Grep, Glob, Grep, Grep

Analysis

[REDACTED]

Tools invoked: Grep, Read, Grep

Analysis

[REDACTED]

Tools invoked: UpdateCurrentStep

Analysis

A) Safe-to-delete now (high confidence)

  • /home/akitav2/projects/4626/frontend/scripts/ops/patch-fork-batcher-phase3-bytecode.ts — File header says @deprecated Do not use; zero imports/scripts/docs references. Replacement is ensure-fork-phase3-helper-aligned.ts (wired in dev-deploy-dry-run.sh).

  • /home/akitav2/projects/4626/repo_path_mapping.json — Zero references anywhere in repo (repo_path_mapping, path_mapping grep empty). Orphan contract-name → path map.

  • /home/akitav2/projects/4626/akita-holo-refined.png — Zero references (akita-holo grep empty). Unreferenced root-level design mockup.

  • /home/akitav2/projects/4626/docs/animations/cursor_3d_animated_card_concept.md — ~4.8k-line Cursor chat export; only mention is a code comment in DeployChoiceCards.tsx, not a runtime/doc link. Safe if you don’t need the design-history transcript.


B) Needs confirmation (possible, uncertain)

  • /home/akitav2/projects/4626/archives/ (~90 files) — READMEs say retired 2026-05-25; zero imports from live *.ts/tsx/json/sh. Blocker: two runbooks linked from live docs exist only here:

  • /home/akitav2/projects/4626/test/v183-release-target-guard.sh — Deprecated thin wrapper → current-release-target-guard.sh, but still whitelisted in amoe/tools/ci/check_no_orphan_addresses.sh and cited in deployment docs. Delete after retargeting those references.

  • /home/akitav2/projects/4626/docs/operations/dune/queries/*.sql (4 files) — Duplicate of frontend/server/_lib/dune/queries/ (01/02 verified identical). Runtime loads the frontend copy via duneMetricSql.ts; runbook still points at docs path. Consolidate docs links, then delete mirror.

  • /home/akitav2/projects/4626/frontend/api/_handlers/vaults/_active.ts — Not registered in _routes.ts (live route uses _activeProtected.ts). Only imported by parity test kprVaultsActive.test.ts. AGENTS says keep until KPR parity migration.

  • /home/akitav2/projects/4626/frontend/db/migrations-legacy/ — Explicit read-only archive per AGENTS/schema docs; no runtime imports, but kept for bisect/history. Per your exclusion rule, treat as “don’t delete without explicit sign-off.”

  • /home/akitav2/projects/4626/frontend/package.jsontenderly:part1-matrix — Script points to missing frontend/scripts/tenderly-part1-signature-matrix.ts; only copy is under archives/owner-mutation-lane/. Remove dead script entry (or restore/move script), not a standalone file delete.

  • /home/akitav2/projects/4626/archives/add-owner/docs/operations/base-app-session-key-relay-part1-recipe.md — Live copy exists at docs/operations/base-app-session-key-relay-part1-recipe.md but differs; don’t delete until reconciled.

  • /home/akitav2/projects/4626/docs/operations/supabase-schema-duplication-report.md — Historical condensation report; only linked from supabase-schema-condensation.md. Safe only if you’re done referencing the migration narrative.

  • /home/akitav2/projects/4626/frontend/scripts/ops/alfaclub-digest-room-setup.tsdailyBrief.ts marks separate digest room as retired; script still calls live brief helpers and is referenced in alfaclub-token-rotation.md. Likely stale ops tooling.


Explicitly not safe (common false positives)

PathWhy keep
frontend/server/_lib/wallet/commandIssuerContext.ts, profileIdForPrivyUser.tsStill imported (thin re-exports + tests)
frontend/server/_lib/onchain/contracts.jsActive production import path
frontend/public/immersive/vault.jsLive ?hero=legacy fallback
frontend/db/migrations-legacy/Intentional archive (your exclusion)
amoeLedgerSnapshotStub.tsStill imported by amoeSubmitZk.ts
dgclaw-skill/references/legacy-setup.mdLinked from dgclaw-skill/SKILL.md

Highest-impact next step: move the two archive-only relay/owner-install runbooks into docs/operations/, then the entire archives/ code tree becomes a strong bulk delete (~90 files).

[REDACTED]