# weekly-time-blocks

Turn a task list with estimates and deadlines into a week of calendar time blocks around existing meetings

- **Space:** personal-productivity-public (https://github.com/Tech-Realm/space-personal-productivity-public/tree/main/weekly-time-blocks)
- **Level:** L2 (as the registry reports it)
- **Keys it needs (names only):** none
- **Tools:** python3
- **Routes:** local-python; checks: 2
- **Uses:** new (no recorded use yet)
- **Install:** `logicpacks pack use personal-productivity-public/weekly-time-blocks` or MCP `get_pack personal-productivity-public/weekly-time-blocks`
- **Files:** CHANGELOG.md, code/plan.py, outcome/EVIDENCE.md, outcome/checks.yaml, outcome/fixtures/busy.csv, outcome/fixtures/tasks.csv, outcome/results.json, pack.yaml, spec/SPEC.md, spec/source.md

## Purpose (spec/SPEC.md)

## Goal

A week plan (.ics + text) that places tasks into free working hours by deadline then priority, splits long tasks into blocks, keeps a daily buffer, and lists what does not fit.

Verified by: Synthetic week: the deadline-Tuesday task is fully placed by Tuesday, blocks avoid the busy meeting, an oversized task reports leftover hours.

## Steps

1. List tasks with honest hour estimates.
2. Export busy times (or type meetings into busy.csv).
3. Run `python3 code/plan.py tasks.csv busy.csv 2026-12-07 --hours 9-17 --buffer 1 --ics out/week.ics`.
4. Import the .ics; re-plan mid-week if things slip.

## Edge cases

- Blocks are at least 30 minutes; tiny leftovers merge into the previous block.
- Weekends are skipped unless --days 7.

## Don'ts

- Don't fill 100% of the day; keep the buffer.
- Don't push the .ics into a shared calendar without checking.



---

Canonical URL: https://logicpacks.io/packs/personal-productivity-public/weekly-time-blocks

Developed by TechRealm (techrealm.online), the software team. Operated by Al Jash Trading (Establishment), Abu Dhabi, since 1994, the legal entity that hosts and is responsible for the service. Economic licence CN-1030597, Abu Dhabi Registration Authority. Address: Office 5, Bani Yas West 4, Bani Yas, Abu Dhabi, UAE. Website: https://aljashtrading.com. Contact: hello@logicpacks.io, security@logicpacks.io, WhatsApp +1 713 632 2262 (https://wa.me/17136322262).

Machine-readable index: [/llms.txt](/llms.txt). Plain facts: [/about.md](/about.md). Safety: [/safety.md](/safety.md).
