Skip to content
This repository was archived by the owner on Jul 3, 2026. It is now read-only.
This repository was archived by the owner on Jul 3, 2026. It is now read-only.

Dead code: 72 unreferenced exports across packages #255

Description

@LaloLalo1999

Summary

The Codex GPT 5.4 audit (PR #253) identified 72 dead or unreferenced exports across the three main packages. These are exported symbols that are never imported anywhere in the codebase.

Top Areas to Audit

packages/core/

  • Unused type exports (interfaces defined but never consumed)
  • Helper functions that were replaced during architecture migration

packages/runtime/

  • Channel adapter utilities that were refactored
  • Legacy daemon helpers superseded by newer implementations

packages/cli/

  • Command utilities from pre-daemon era
  • Template helpers that were inlined

How to Contribute

  1. Pick a package
  2. Use your editor's "Find All References" or grep -r to verify each export is truly unused
  3. Remove confirmed dead exports
  4. Run pnpm test && pnpm typecheck to verify nothing breaks
  5. Submit a scoped PR

Important

  • Some exports may be part of the public API surface intended for external consumers — check before removing
  • Exports used only in tests should be kept
  • If unsure, mark with a // TODO: verify if public API comment instead of deleting

Acceptance Criteria

  • Each removed export verified as truly unreferenced
  • pnpm test passes
  • pnpm typecheck passes
  • No public API surface accidentally removed

Context

Found during the multi-model audit in PR #253.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions