Skip to content

Remove dead prompt-era workflow code and compatibility paths #66

Description

@jrpbuilds

Parent

Part of #46.

Relationships

Depends on #61, #62, #63, #64 and #65.

Goal

Perform the final implementation cleanup after the v1.7 runtime and prompt architecture has proven itself, removing dead helpers, obsolete prompt-era compatibility behaviour and comments/tests that describe the old orchestration model.

Scope

Audit for code and assets made redundant by the completed #46 work, including where applicable:

Do not remove a helper merely because it looks related to the old architecture; prove it is unused or superseded.

Package verification

The cleanup must preserve the published package contract:

  • bun run check passes;
  • prompt assets required at runtime are still included in the packed package;
  • compiled entrypoints still resolve prompt paths/includes correctly;
  • packed smoke tests exercise the final tool registry and role loading;
  • no deleted source asset is still referenced only in the packed/runtime form.

Compatibility policy

v1.7 may intentionally remove internal compatibility paths that were never public API. Public configuration/tool changes should be documented and migrated deliberately rather than disappearing accidentally during cleanup.

Acceptance criteria

  • Unused prompt-era helpers/fragments/types are removed or explicitly justified.
  • Duplicated lifecycle/projection logic is consolidated onto the final v1.7 paths.
  • Tool registry contains only the intended final public tools.
  • Comments accurately describe the new ownership boundary.
  • No behavioural tests depend on obsolete Coordinator prompt mechanics.
  • Full check/coverage/packed smoke suite passes.
  • npm pack contents include all and only the prompt/runtime assets expected by the final architecture.
  • Any public-facing compatibility change is documented for Document the v1.7 orchestration architecture #67/release notes.

Out of scope

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions