refactor(pstack): drop unused workflow session wake and evidence modules - #17
Open
shishiv wants to merge 1 commit into
Open
refactor(pstack): drop unused workflow session wake and evidence modules#17shishiv wants to merge 1 commit into
shishiv wants to merge 1 commit into
Conversation
The package export already points at delegation.ts. Callers live in runtime session, Benny schedules, and delivery evidence. Tests that only guarded the deleted files left with them. Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
package.jsonalready exports./workflowsfromdelegation.ts. Session discovery, wake planning, and MCP evidence mapping had no callers. Disk now matches the export.Scope
Deleted
src/workflows/sessions.ts,src/workflows/wake.ts, andsrc/workflows/evidence.ts.test/workflows/workflows.test.mjskeeps the twodelegation.tstests. It dropsdiscoverSessionFiles,planLongRunWake, andmapEvidenceSources.Sticky mode still uses
src/runtime/session.ts. Benny still hardcodespolling: "schedule-wake". Receipts still usesrc/delivery/evidence.ts.ls src/workflowsis onlydelegation.ts.Out of scope: unused delivery barrels.
Blast Radius
Importers of
./workflowsare unchanged. Six tests that only guarded the deleted modules are gone. Deterministic verify now has 73 tests.Verification
rg "discoverSessionFiles|planLongRunWake|mapEvidenceSources" src testis empty.node --test test/workflows/workflows.test.mjspassed (2 tests).npm run verify:deterministicpassed (format, lint, typecheck, 73 tests, manifest).Made with Cursor