Skip to content

Tier 1 cleanup: delete dead surfaces, relocate shared sandbox utils #57

Description

@nojibe

Cleanup items from the July architecture review ("say no to things, delete old paths"). Every deletion candidate was adversarially verified for inbound links, imports, tests, and external consumers before being condemned.

Scope

  • Delete /v2 — duplicate homepage prototype; zero inbound links; its NavBarV2 is imported only by the v2 layout; SearchAutocomplete has zero importers anywhere.
  • Delete src/app/pilot/india-multilingual/_archive_v1/ — explicitly archived v1 implementation, unreferenced (underscore prefix already excluded it from routing).
  • Remove four dangling package.json scriptstest:personality, compare:personality, test:preference, test:self-preference point at CLI files that no longer exist on disk.
  • Relocate shared modules out of src/app/sandbox/utils/yaml-generator.ts and utils/json-response-parser.ts (imported by the live analysis viewer, the story API routes, and sandbox auto-create/extend/wiki) move to src/lib/; hooks/useMobile.ts (imported by the shared ui/textarea primitive) moves to src/hooks/. This removes cross-surface dependencies on the sandbox route so the upcoming kill-or-keep sandbox decision is a clean folder-level choice.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Fields

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions