Skip to content

refactor(pstack): drop unused delivery re-export barrels - #18

Open
shishiv wants to merge 1 commit into
feat/robust-port-orphan-workflowsfrom
feat/robust-port-delivery-barrels
Open

refactor(pstack): drop unused delivery re-export barrels#18
shishiv wants to merge 1 commit into
feat/robust-port-orphan-workflowsfrom
feat/robust-port-delivery-barrels

Conversation

@shishiv

@shishiv shishiv commented Aug 26, 2026

Copy link
Copy Markdown
Owner

Why

The public delivery API is src/delivery/index.ts. Three extra re-export files had no importers.

Scope

Deleted src/delivery/backend.ts, src/delivery/gh-stack.ts, and src/delivery/graphite.ts.

src/delivery/index.ts is unchanged. GhStackBackend and GraphiteBackend stay in adapters.ts. Dual-name aliases stay.

ls src/delivery is adapters.ts, authorization.ts, evidence.ts, index.ts, and types.ts.

rg "delivery/backend|delivery/gh-stack|delivery/graphite" is empty.

Out of scope: making FeatureMap the only verification map.

Blast Radius

Callers that import ./delivery do not change. Readers looking for the public API have one barrel.

Verification

npm run verify:deterministic passed before and after the deletes (format, lint, typecheck, 73 tests, manifest).

Made with Cursor

index.ts is already the public barrel. Callers never imported backend.ts, gh-stack.ts, or graphite.ts. Adapters stay in adapters.ts.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant