{{ message }}
Repository navigation
feat(discipline): add parkinsons law task time-box compression factor calculator (#618) - #625
Merged
TheVicky1 merged 1 commit intoOct 19, 2026
Conversation
5 tasks
TheVicky1
approved these changes
Oct 19, 2026
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.

Summary
Implements a task time-box compression calculator in
src/lib/discipline/parkinsons-law.tsthat combats Parkinson's Law ("work expands to fill the time allotted for its completion") by calculating structured, urgency-driven compressed sprint durations and checkpoint milestones for task execution.Key Features
'trivial': 0.60 factor (40% reduction)'moderate': 0.70 factor (30% reduction)'complex': 0.80 factor (20% reduction)'epic': 0.85 factor (15% reduction)'high': Tightens compression factor by -0.05'low': Relaxes compression factor by +0.05'medium': Baseline factor (0.00 modifier)<= 20m->'micro_sprint_15'21m - 35m->'pomodoro_25'36m - 70m->'sprint_50'> 70m->'deep_block_90'generateSprintMilestones(compressedMinutes): Generates disciplined milestone checkpoints at 25%, 50%, 75%, and 100% of sprint time.Verification & Test Results
tests/parkinsons-law.test.tswith 10 authoritative unit tests.node scratch/run-tests.mjs parkinsons-law.test.ts-> 10 passed, 0 failed.npm run typecheck-> 0 errors.Resolves #618