chore: enforce folder module discipline in @uncaged/workflow #106

Closed
opened 2026-05-08 01:30:26 +00:00 by xiaoju · 0 comments
Owner

Apply the 4 folder module discipline rules from CLAUDE.md to packages/workflow/src/.

Folders: cas/, registry/, bundle/, extract/, engine/, util/

For each folder:

  1. Create index.ts with pure re-exports
  2. Create types.ts — move type definitions from other files into it
  3. Update cross-module imports to go through index.ts (not direct file imports)
  4. Ensure index.ts contains only re-exports, no implementations

Then update src/index.ts to re-export from folder index.ts files instead of individual files.

All tests must pass, no logic changes.

Apply the 4 folder module discipline rules from CLAUDE.md to `packages/workflow/src/`. Folders: cas/, registry/, bundle/, extract/, engine/, util/ For each folder: 1. Create `index.ts` with pure re-exports 2. Create `types.ts` — move type definitions from other files into it 3. Update cross-module imports to go through `index.ts` (not direct file imports) 4. Ensure `index.ts` contains only re-exports, no implementations Then update `src/index.ts` to re-export from folder `index.ts` files instead of individual files. All tests must pass, no logic changes.
This repo is archived. You cannot comment on issues.
No Label
1 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: uncaged/workflow#106