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
Out of scope
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 checkpasses;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
npm packcontents include all and only the prompt/runtime assets expected by the final architecture.Out of scope